## Search found 385 matches

Aug 26, 2020 11:03
Forum: Community Discussion
Topic: Free Book: Physically Based Rendering From Theory To Implementation
Replies: 2
Views: 389

### Re: Free Book: Physically Based Rendering From Theory To Implementation

@D.J.Peters
Thank you.
Jul 12, 2020 14:53
Forum: Community Discussion
Topic: Rule 30
Replies: 3
Views: 524

### Re: Rule 30

r30(1,1,1)=0 'Rule 30 matrix
r30(1,1,0)=0 <-- r30(1,1,0) = 1
r30(1,0,1)=0
r30(1,0,0)=1
r30(0,1,1)=1
r30(0,1,0)=1 <-- r30(0,1,0) = 0
r30(0,0,1)=1
r30(0,0,0)=0

using the rule 30 spec my values differ.
Jun 18, 2020 1:52
Forum: General
Topic: Duplicates
Replies: 34
Views: 1763

### Re: Duplicates

Hey all, I have a very large text file (near 1 TB) and on each line there is some text with a minimum length of twenty bytes and a maximum length of perhaps thousands of bytes. From this file I want to remove the duplicates entries. How would one approach this in FreeBASIC? Thanks @Provoni Thank yo...
Apr 10, 2020 6:23
Forum: Game Dev
Topic: Collision detection in 3D
Replies: 10
Views: 757

### Re: Collision detection in 3D

@dodicat
Very Good.
The floor shadows are a nice bonus!
Mar 26, 2020 3:22
Forum: General
Topic: Corona virus simulator
Replies: 47
Views: 2842

### Re: Corona virus simulator

@dodicat
THUMBS UP!
Feb 05, 2020 16:08
Forum: General
Topic: Squares
Replies: 8041
Views: 511261

### Re: Squares

@Albert. Nothing can go faster than the speed of light, ... . @richard, Everyone knows that. duh! The warp-coil shortens the distance so that it appears as if it's faster that light. It shrinks the distance to the orion nebula from a few light years to a few meters. The universe's internet archives...
Jan 18, 2020 6:31
Forum: Projects
Topic: prime numbers searcher in QB
Replies: 15
Views: 5108

### Re: prime numbers searcher in QB

If you step n by 2 (as usual for primes by division), then it is slower for some strange reason, and of course misses out 2. If it steps by two, there is no call/return to the function -- it should be faster. But it is not. Over here, we have a bunch of donkeys and mules, who have no class what so ...
Jan 17, 2020 8:45
Forum: Projects
Topic: prime numbers searcher in QB
Replies: 15
Views: 5108

### Re: prime numbers searcher in QB

@D.J.Peters
@fxm
@srvaldez

So, instead of a working class race horse on my desk, I have a mule.
Your response is very much appreciated.

Thank you.
Jan 15, 2020 17:52
Forum: Projects
Topic: prime numbers searcher in QB
Replies: 15
Views: 5108

### HOW & WHY does cpp Optimize better than FreeBasic?

@admins: if the attached is too close to a copyright violation, PLEASE delete the code portion. at this website https://www.codeproject.com/Tips/5254588/Simple-Prime-Number-Calculator-Cplusplus Fabrizio Civetta stated that his cpp program can generate the primes less that 2million is about 6 second...
Jan 07, 2020 8:03
Forum: Projects
Topic: Gas64 (no more use of gcc, only gas) WDS / LNX
Replies: 381
Views: 40726

### Re: Gas64 (no more use of gcc, only gas) :-)

SARG wrote:...
New version ir-gas and fb64_gas64 : http://users.freebasic-portal.de/sarg/fbc64_gas64.zip

@sarg: Thank you.
Oct 21, 2019 11:40
Forum: Beginners
Topic: Calculating intersection points
Replies: 8
Views: 712

### Re: Calculating intersection points

seems as if the code the code was duplicated, compilation failed. removed duplicate. compiled & run. clarification: You seek to know the intersection: YellowSegment Line(x1,y1)-(x2,y2) with the whiteplane X-axis and YellowSegment Line(x1,y1)-(x2,y2) with the whiteplane Y-axis Thus: simple propor...
Aug 22, 2019 2:39
Forum: Projects
Topic: prime numbers searcher in QB
Replies: 15
Views: 5108

### Re: prime numbers searcher in QB

Welcome to the site. I do not recall seeing the double divide before: the floating point & whole number division. That is a different approach. Most would use the shorter (quicker) mod instruction. Nice attempt. Keep up the good work. If speed is what you would like to see, several members have ...
Jun 11, 2019 4:29
Forum: Community Discussion
Topic: building fbc for Windows - for beginners by a beginner
Replies: 5
Views: 4267

### Re: building fbc for Windows - for beginners by a beginner

THANK YOU
THANK YOU
THANK YOU

I'm tried many times to generate the compiler, but never success.
This will help.
Jun 11, 2019 4:21
Forum: General
Topic: Squares
Replies: 8041
Views: 511261

### Re: Squares

How would you convert the speed of sound into inches a second?? ... Divide MULTIPLY that by 5280 that would give you feet per second.. Divide MULTIPLY that by 12 that should give you inches per second... ... @Albert, that chinese pencil needs to be inverted. Pencils from India do not make that type...
May 08, 2019 22:43
Forum: Tips and Tricks
Topic: Modular (Binary) Exponentiation example
Replies: 4
Views: 4131

### Re: Modular (Binary) Exponentiation example

This is not a full (reasonable) explanation, but it is a start. positional notation: decimal: 70506 --> 7*10^4 + 0*10^3 + 5*10^2 + 0*10^1 + 6*10^0 7*10000 + 0*1000 + 8*100 + 0*10 + 6*1 == 70506 binary: 10101 --> 1*2^4 + 0*2^3 + 1*2^2 + 0*2^1 + 1*2^0 16 + 0 + 4 + 0 + 1 == 21 This is the SUM of the va...