Search found 4233 matches
- Apr 22, 2024 21:50
- Forum: Community Discussion
- Topic: Seeding PRNGs with the Time Stamp Counter
- Replies: 11
- Views: 674
Re: Seeding PRNGs with the Time Stamp Counter
It follows for me then that time existed before the Bang, although it was ticking 'slowly'. Professor Brian Cox, here , is saying the same. We use a different language, but he is effectively saying that the Big Bang was a natural singularity and not a mathematical singularity. Prof Cox theorises th...
- Apr 22, 2024 2:45
- Forum: Community Discussion
- Topic: free Basic - just curious?
- Replies: 14
- Views: 697
Re: free Basic - just curious?
@codeWrapped Develop using gas/gas64; compilations are much faster than gcc32/gcc64. If you limit the frames per second to 60 you may find there is no need for gcc. If you need to squeeze more out of your CPU, then up the ante to gcc; it can be remarkable what a C-optimizing compiler can do. With fb...
- Apr 21, 2024 19:26
- Forum: Community Discussion
- Topic: free Basic - just curious?
- Replies: 14
- Views: 697
Re: free Basic - just curious?
Also wondering if free Basic is actually being used professionally for building applications? To answer your question, which nobody has yet, I very much doubt that to be true. About twenty years ago, I wrote if ever I published an application I would charge whatever I thought that I could get away ...
- Apr 18, 2024 19:46
- Forum: Community Discussion
- Topic: Seeding PRNGs with the Time Stamp Counter
- Replies: 11
- Views: 674
Re: Seeding PRNGs with the Time Stamp Counter
That goes with the territory of being a master asm coder.SARG wrote:Maybe I'm too 'punctilious'
- Apr 18, 2024 19:05
- Forum: Community Discussion
- Topic: Seeding PRNGs with the Time Stamp Counter
- Replies: 11
- Views: 674
Re: Seeding PRNGs with the Time Stamp Counter
From opening post:SARG wrote:Why 2^32 ? as 2 32bit registers are used (EDX:EAX).
“Taking the lower 32 bits of the counter, 'spinnng' at a faster rate than the upper 32 bis, will be a good way of getting a 32-bit seed for a PRNG.”
- Apr 17, 2024 23:55
- Forum: Community Discussion
- Topic: Seeding PRNGs with the Time Stamp Counter
- Replies: 11
- Views: 674
Re: Seeding PRNGs with the Time Stamp Counter
True randomness exists in mathematics. Infinity exists in mathematics. In the natural world, I do not believe either exist. I allowed a coin to be tossed an infinite number of times, which of course is not possible. It is often written that at the centre of a black hole space is curved to such an ex...
- Apr 17, 2024 13:36
- Forum: Community Discussion
- Topic: Seeding PRNGs with the Time Stamp Counter
- Replies: 11
- Views: 674
Re: Seeding PRNGs with the Time Stamp Counter
.. and I don't know which world I am in. :P That is easy enough. If it is raining outside when you go outside, then the world that you are currently in is the one where it is raining outside and the chance of being in that world is 75%. :) We could be talking true randomness here, as the outcome is...
- Apr 16, 2024 20:12
- Forum: Community Discussion
- Topic: Seeding PRNGs with the Time Stamp Counter
- Replies: 11
- Views: 674
Re: Seeding PRNGs with the Time Stamp Counter
And I also think that randomness, compression and intelligence are linked somehow. In Star Trek 'Space-Time continuum' is mentioned several times. Being set in the 23rd century, they should have known better or, perhaps, Gene Roddenberry should have known better. There is no such thing as 'Space-Ti...
- Apr 15, 2024 21:45
- Forum: Community Discussion
- Topic: Seeding PRNGs with the Time Stamp Counter
- Replies: 11
- Views: 674
Seeding PRNGs with the Time Stamp Counter
“The uncertainty principle, also known as Heisenberg's indeterminacy principle, is a fundamental concept in quantum mechanics. It states that there is a limit to the precision with which certain pairs of physical properties, such as position and momentum, can be simultaneously known. In other words,...
- Apr 12, 2024 9:11
- Forum: Libraries & Headers
- Topic: gcc built_in functions
- Replies: 6
- Views: 486
Re: gcc built_in functions
Bit too early in the morning for you to employ a civil tongue?marcov wrote:If I can do it, why can't you?
- Apr 12, 2024 8:16
- Forum: Libraries & Headers
- Topic: gcc built_in functions
- Replies: 6
- Views: 486
Re: gcc built_in functions
ar is a GNU Binary Utility, apparently.
srvaldez knocked out some great instructions recently regarding toolchains and made no assumptions about the reader's expertise.
'ar rcs libbuilt_in.a built_in.o' without further ado is not helpful.
srvaldez knocked out some great instructions recently regarding toolchains and made no assumptions about the reader's expertise.
'ar rcs libbuilt_in.a built_in.o' without further ado is not helpful.
- Apr 12, 2024 7:20
- Forum: Libraries & Headers
- Topic: gcc built_in functions
- Replies: 6
- Views: 486
Re: gcc built_in functions
@srvaldez If you want some feedback on this thread, you'll have to 'dumb it down' a bit. > 'gcc -c -O2 built_in.c' You have obviously learnt a few undocumented shortcuts to command lines, but that will not work as a command line, and it will not produce an 'o' file expected in the next statement. > ...
- Apr 08, 2024 19:49
- Forum: General
- Topic: -gen clang
- Replies: 64
- Views: 3397
Re: -gen clang
> I am only using fbc 1.20.0 with gcc/clang work. For that, I use WinFBE plus SCS III. SCS III will build the clang command line for me. I can also use WinFBE plus SCS and that will build a gcc command line. We get the benefit of the much improved fbc 1.20.0 with gcc 11.2.0. The latter does not do m...
- Apr 08, 2024 17:58
- Forum: General
- Topic: -gen clang
- Replies: 64
- Views: 3397
Re: -gen clang
Xusinboy Bekchanov reported a serious issue with fbc 1.20.0. This was corrected in the latest build. The following uses the latest 1.20.0 build. I am only using fbc 1.20.0 with gcc/clang work. OK, with 32-bit and 64-bit; after a compilation fail on both with previous fbc 1.20.0 build. FreeBASIC-1.20...
- Apr 05, 2024 21:14
- Forum: Sources, Examples, Tips and Tricks
- Topic: Waterfall effect
- Replies: 18
- Views: 1385
Re: Waterfall effect
Trust dodicat to come up with a 'cracker'. I have two monitors. Everybody's graphics end up with half on my secondary monitor and half on my primary monitor. I should have mentioned this ages ago, but I include #include "fbgfx.bi" and ScreenControl fb.SET_WINDOW_POS, 100, 10 That way I get...