Search found 347 matches

by Provoni
Nov 16, 2018 20:10
Forum: Beginners
Topic: Windows GUI
Replies: 145
Views: 17000

Re: Windows GUI

Hey jj2007, Thanks for trying to help me. Could you perhaps integrate what you are trying to do in the datagrid.bas example? Perhaps it could work if IsDialogMessage is commented out? Sub WaitEvent(ByVal hWnd As HWND, ByRef msg As MSG) 'Wait for an event. Returns a result <> 0 if a Windows message h...
by Provoni
Nov 16, 2018 9:09
Forum: Beginners
Topic: Windows GUI
Replies: 145
Views: 17000

Re: Windows GUI

Hey all, My program needs to color the background/text of an edit control after some original value has been altered by the user so that the user can easily see which edit control has been altered. Basically need to be able set the color of an edit control at any given point in time. Here is an exam...
by Provoni
Nov 07, 2018 8:18
Forum: General
Topic: Free Basic Compilers Version 1.06.0 (08-26-2018) seem broken
Replies: 106
Views: 7002

Re: Free Basic Compilers Version 1.06.0 (08-26-2018) seem broken

Thanks to everyone for their work on the FreeBASIC project.
by Provoni
Nov 04, 2018 10:12
Forum: Community Discussion
Topic: Resignation
Replies: 74
Views: 5667

Re: Resignation

Hey deltarho[1859],

I hope to be as sharp as you when I turn 71! Your work here on random numbers and everything has been prolific. Sad to see you go.
by Provoni
Nov 03, 2018 10:32
Forum: Projects
Topic: AZdecrypt 1.16
Replies: 8
Views: 4105

Re: AZdecrypt

New version 1.12: http://www.zodiackillersite.com/viewtopic.php?f=81&t=3198 - Optimized "nulls and skips" solver with the help of smokie treats. - Updated Reddit n-grams. This however increased the download to about 560 megabytes. - Much faster Solver performance mode, which can be tog...
by Provoni
Nov 01, 2018 14:54
Forum: General
Topic: Program icon larger than 48 by 48
Replies: 2
Views: 230

Re: Program icon larger than 48 by 48

I figured it out, partially at least. If you only include a 48 by 48 image in the icon file along with any larger size like 256 by 256 for example then for some reason it will not use the 256 by 256 image when you ask Windows to display large or very large icons. A workaround is then to only include...
by Provoni
Nov 01, 2018 14:34
Forum: General
Topic: Program icon larger than 48 by 48
Replies: 2
Views: 230

Re: Program icon larger than 48 by 48

Here's a person with the same problem: viewtopic.php?t=16076

He suggests to use Resedit to insert the icon manually. Will try.
by Provoni
Nov 01, 2018 10:43
Forum: General
Topic: Program icon larger than 48 by 48
Replies: 2
Views: 230

Program icon larger than 48 by 48

Hey all,

Even when using an icon that has multiple sizes up to 256 by 256 the icon never grows larger than 48 by 48 when using FbEdit and a .rc file. I really would like to have an icon that scales to at least 256 by 256. Anyone know how to do this?

Thank you.
by Provoni
Oct 20, 2018 16:04
Forum: General
Topic: Fast random integers
Replies: 49
Views: 2356

Re: Fast random integers

deltarho[1859] wrote:That's it - a simple idea that works very well. The power of CryptoRNDII is Thread Pooling which showed how expensive ThreadCreate is when threads are short-lived and creations are requested rapidly.

Very interesting. How does your Thread Pooling work? I cannot tell by looking at the code.
by Provoni
Oct 20, 2018 6:19
Forum: General
Topic: Fast random integers
Replies: 49
Views: 2356

Re: Fast random integers

deltarho[1859] wrote:What is the 'max' in '-gen GCC -O max'?

it is the same as -O 3 since that is currently the maximum optimization level.
by Provoni
Oct 20, 2018 6:17
Forum: General
Topic: Fast random integers
Replies: 49
Views: 2356

Re: Fast random integers

Thank you for the table deltarho[1859].

CryptoRNDII is bad ass, PCG32II also very good too.
by Provoni
Oct 19, 2018 18:28
Forum: General
Topic: Fast random integers
Replies: 49
Views: 2356

Re: Fast random integers

I use the official FB 1.05 64-bit with these switches: -gen GCC -O max -Wc -march=native,-funroll-loops,-ffast-math

No issues with the code. I refuse to compile with 32-bit, even for testing. Sorry :D
by Provoni
Oct 18, 2018 18:41
Forum: General
Topic: Fast random integers
Replies: 49
Views: 2356

Re: Fast random integers

Why 'x = CryptoS' seems to be faster than 'x = 0' is testing me somewhat. I cannot reproduce this, x = cryptos is always slower than x = 0 for me: screenres 640,480,32 dim as double t,x dim as ulongint i,n=10^8 Const _WIN32_WINNT = &h0602 '#define algo 2 ' For Intel RdRand #Include "Crypto...
by Provoni
Oct 18, 2018 8:27
Forum: General
Topic: Fast random integers
Replies: 49
Views: 2356

Re: Fast random integers

Instead of using "asm nop" it is better to do "x += rnd" and print x after the measurement because then the compiler can still do loop optimizations resulting in a higher and more realistic Mhz.
by Provoni
Oct 17, 2018 18:39
Forum: General
Topic: Fast random integers
Replies: 49
Views: 2356

Re: Fast random integers

Thank you deltarho[1857], it works now.

I would also like to test PCG32II but have no clue how to use it. Could you give a small example please? And possibly also a small example of how you determine the Mhz of a RNG?

Go to advanced search