Search found 2242 matches
- Sat Oct 25, 2025 1:55 pm
- Forum: Off Topic
- Topic: Curiosity : RandomSeed(Random(1000))
- Replies: 10
- Views: 516
Re: Curiosity : RandomSeed(Random(1000))
Pseudo random number generators (PRNGs) are state machines and the seed sets that state. You're setting the state randomly based on the previous random state. Some PRNG algorithms use the previous random number directly as state.
					- Sun Oct 12, 2025 3:13 pm
- Forum: Coding Questions
- Topic: For loops: Step 1 is not mandatory, but Step -1 is
- Replies: 10
- Views: 702
Re: For loops: Step 1 is not mandatory, but Step -1 is
If you had a changing step depending on the order of start/end values you would have to add "Step 1" for the case when your end value potentially overflows the integer space.
Hence an implicit change of behavior depending on the begin/end values would lead to the question "why is the for loop ...
					Hence an implicit change of behavior depending on the begin/end values would lead to the question "why is the for loop ...
- Sun Aug 10, 2025 11:48 am
- Forum: Coding Questions
- Topic: Accented Characters (French)
- Replies: 3
- Views: 265
Re: Accented Characters (French)
CSV has no encoding information. You need to choose the correct encoding in libreoffice, manually, too.
					- Mon Jul 28, 2025 11:21 am
- Forum: Coding Questions
- Topic: Issue with converting tiny classifier routine into a macro
- Replies: 17
- Views: 1390
Re: Issue with converting tiny classifier routine into a macro
Absolutely. It's not the first time.HeX0R wrote: Sun Jul 27, 2025 11:39 pm My Italian is very poor, but
Il tuo modo invadente di voler sempre fare battute che non sono divertenti è FASTIDIOSO
- Mon Jul 21, 2025 8:15 pm
- Forum: 3D Programming
- Topic: Texture for cliffs question
- Replies: 2
- Views: 984
Re: Texture for cliffs question
You can solve it by different UV coordinates or multitexturing & shaders, ... it's all upon you.
					- Mon May 26, 2025 10:27 am
- Forum: The PureBasic Editor
- Topic: Source language lexer
- Replies: 7
- Views: 2614
Re: Source language lexer
JFlex & GrammarKit EBNF if you prefer this.
					- Fri May 23, 2025 5:48 am
- Forum: General Discussion
- Topic: Can't access this forum outside EU
- Replies: 32
- Views: 4062
Re: Can't access this forum outside EU
What are the user agent strings of both phones?Cyllceaux wrote: Fri May 23, 2025 5:42 am I'm in Germany and I can't visit this site with my Huawei P40. My Huwai P20 has no problem.
they use the same browser, same WiFi and same DNS.
https://www.whatismybrowser.com/detect/ ... ser-agent/
- Sun Mar 30, 2025 7:05 am
- Forum: Coding Questions
- Topic: Thread parameter W/WO asterisk
- Replies: 6
- Views: 346
Re: Thread parameter W/WO asterisk
A pointer is an integer pointing to an address in memory. If you just need an integer value you can also decide to just pass an integer. If you need a memory address you would use a pointer (with asterisk).
Integer (.i) and pointers (*) have the same size.
					Integer (.i) and pointers (*) have the same size.
- Sat Mar 29, 2025 7:41 am
- Forum: General Discussion
- Topic: coordinates of text
- Replies: 4
- Views: 1631
Re: coordinates of text
Which OS? This will be highly OS specific.k3pto wrote: Sun Mar 23, 2025 10:52 pm Is there a way to get the x and y coordinates of individual lines of text within a gadget?
- Sun Mar 16, 2025 7:57 am
- Forum: Coding Questions
- Topic: Open a generated text file in Notepad++
- Replies: 9
- Views: 686
Re: Open a generated text file in Notepad++
EnableExplicit
#ASSOCSTR_EXECUTABLE = 2
#ASSOCF_VERIFY = $40
Procedure.s AssocExe(Ext$, *Act)
Protected Size, OutRes.s
AssocQueryString_(#ASSOCF_VERIFY, #ASSOCSTR_EXECUTABLE, @Ext$, *Act, 0, @Size)
OutRes = Space(Size)
If AssocQueryString_(#ASSOCF_VERIFY, #ASSOCSTR_EXECUTABLE, @Ext$, *Act ...
- Sat Mar 08, 2025 5:44 am
- Forum: General Discussion
- Topic: Linux Environment Variables
- Replies: 6
- Views: 1529
Re: Linux Environment Variables
Permanently setting environment variables:
For systemd daemons/services
https://serverfault.com/a/413408
For init.d you have a starter script reacting to start/stop commands usually which can be edited.
For login shells use .bashrc/.profile/... as usual.
					For systemd daemons/services
https://serverfault.com/a/413408
For init.d you have a starter script reacting to start/stop commands usually which can be edited.
For login shells use .bashrc/.profile/... as usual.
- Tue Feb 25, 2025 6:29 am
- Forum: Feature Requests and Wishlists
- Topic: Add MSet() function to string library
- Replies: 22
- Views: 2175
Re: Add Set() function to string library
Set() could be confused with a set data structure.
					- Tue Feb 11, 2025 5:48 am
- Forum: 3D Programming
- Topic: I hope this is some ogre3d optimization engine xD
- Replies: 10
- Views: 2471
Re: I hope this is some ogre3d optimization engine xD
Material scripts are code. Checkmate!

- Tue Feb 11, 2025 5:28 am
- Forum: 3D Programming
- Topic: I hope this is some ogre3d optimization engine xD
- Replies: 10
- Views: 2471
Re: I hope this is some ogre3d optimization engine xD
You can turn mipmapping off in the material script.
https://ogrecave.github.io/ogre/api/1.1 ... ml#texture
(numMipMaps)
However, mipmapping is used to reduce aliasing artifacts. It's not just a speed thing.
					https://ogrecave.github.io/ogre/api/1.1 ... ml#texture
(numMipMaps)
However, mipmapping is used to reduce aliasing artifacts. It's not just a speed thing.
- Sat Feb 01, 2025 5:31 am
- Forum: General Discussion
- Topic: PB on Steam
- Replies: 4
- Views: 4746
Re: PB on Steam
You don't need the dll for steam overlay. The steam overlay is on every hardware accelerated rendering context. You can even add games outside of steam and it will show the overlay.