Search found 393 matches

by Provoni
Jun 07, 2020 5:37
Forum: Projects
Topic: Simple WinAPI GUI library
Replies: 67
Views: 33478

Re: Simple WinAPI GUI library

A user of my software at http://zodiackillersite.com/viewtopic.php?f=81&t=3198 which uses Lothar's library, found that under WineHQ windows were unable to be closed, he issued this fix for a function found in WinGUI.bi: Function Window_Event_Close(ByVal hWnd As HWND, ByRef msg As MSG) As Long 'R...
by Provoni
Dec 08, 2019 11:03
Forum: Projects
Topic: Iceroyds!
Replies: 48
Views: 11088

Re: Iceroyds!

Very nice Landeel. I'll add your game to my Steam wish list!

Btw, really cute Penguins. :')
by Provoni
Dec 03, 2019 12:59
Forum: Beginners
Topic: 0-255 number to byte output
Replies: 2
Views: 415

Re: 0-255 number to byte output

Great, thanks fxm.
by Provoni
Dec 03, 2019 12:25
Forum: Beginners
Topic: 0-255 number to byte output
Replies: 2
Views: 415

0-255 number to byte output

Hey all, I want to store numbers between 0 and 255 in a file such that each number is 1 byte but don't know how to do this. Thanks dim as integer i open "test.txt" for output as #1 for i=1 to 100 print #1,str(rnd*256)) 'this will output a number in text rather than it being 1 byte... next ...
by Provoni
Dec 03, 2019 12:19
Forum: Community Discussion
Topic: Sharing some good news :-)
Replies: 9
Views: 1519

Re: Sharing some good news :-)

Congratulations!
by Provoni
Dec 01, 2019 17:38
Forum: Beginners
Topic: String Processing
Replies: 10
Views: 1035

Re: String Processing

I had a similar problem and the input file was using the UTF-8-BOM encoding. You can check this with Notepad++ under Encoding. If so, put it to UTF-8.
by Provoni
Nov 16, 2019 6:38
Forum: Beginners
Topic: Need speedup
Replies: 23
Views: 2711

Re: Need speedup

@12val12newakk You may want to try to replace: Select Case Rglue with: Select Case Rgquadro and change the select case values accordingly. Removing the Rglue dependency may improve the CPU's out of order processing and speed up the code. Like so: Select Case rgquadro 'Rglue case Is >19600 df=9512/(...
by Provoni
Nov 15, 2019 20:30
Forum: Beginners
Topic: Need speedup
Replies: 23
Views: 2711

Re: Need speedup

@12val12newakk You may want to try to replace: Select Case Rglue with: Select Case Rgquadro and change the select case values accordingly. Removing the Rglue dependency may improve the CPU's out of order processing and speed up the code. - Can you use a look up table to get the Rglue value instead o...
by Provoni
Nov 05, 2019 12:04
Forum: General
Topic: count of digits in large number
Replies: 5
Views: 667

Re: count of digits in large number

Code: Select all

print len(str(n))
by Provoni
Nov 05, 2019 5:58
Forum: General
Topic: PCG32II Help file
Replies: 36
Views: 3133

Re: PCG32II Help file

Thanks for mentioning. AZdecrypt keeps its threads active, they just wait for input to arrive with a sleep statement added in.
by Provoni
Nov 04, 2019 9:17
Forum: General
Topic: Performance problems with rnd function while multi-threading
Replies: 24
Views: 2191

Re: Performance problems with rnd function while multi-threading

Indeed you are right. The problem for noting this in the documentation is that lots of keywords are not thread-safe, and that it would be a very big job to test them all, in order to have a consistent documentation on this problem. (but this is only my personal opinion) But if you don't note that R...
by Provoni
Nov 03, 2019 13:49
Forum: General
Topic: PCG32II Help file
Replies: 36
Views: 3133

Re: PCG32II Help file

Okay thanks.

From the help file:

The generator is 'warmed up' during MyRandomize.

Code: Select all

' Warm up generator
  For i As Ulong = 1 To 200
    this.rand()
  Next

Why?
by Provoni
Nov 03, 2019 11:59
Forum: General
Topic: PCG32II Help file
Replies: 36
Views: 3133

Re: PCG32II Help file

Nope, my program (AZdecrypt) can use up to 65,536 threads (current artificial limit) and the problems it solves can be parallelized by dividing the restarts over the amount of threads. Here is the project page: http://www.zodiackillersite.com/viewtopic.php?f=81&t=3198 I am currently testing whet...
by Provoni
Nov 03, 2019 11:44
Forum: General
Topic: Performance problems with rnd function while multi-threading
Replies: 24
Views: 2191

Re: Performance problems with rnd function while multi-threading

For about a year I was using RND in multi-threaded code and all I knew was that there were significant diminishing returns from using more and more threads. So I ran multiple instances of my program to overcome this. Per accident I found out it was RND causing a massive slowdown. I think there shoul...

Go to advanced search