Search found 1452 matches

by badidea
Aug 28, 2011 13:01
Forum: Community Discussion
Topic: Mathematics - Can't Sleep. Please help :(
Replies: 43
Views: 3038

If "infinitely thin" means zero, then 2 x zero is still zero thickness.
by badidea
Aug 26, 2011 10:07
Forum: Community Discussion
Topic: Anyone seen this or have a clue as to how it is done?
Replies: 47
Views: 7000

Yes, these kind of technology company scams happen often. The investors don't have sufficient technical knowledge to see through it. Individuals get enthusiastic and start placing pre-orders. The money flows, but the promised specified product is probably never realised. Which is also the case for t...
by badidea
Aug 25, 2011 23:16
Forum: Community Discussion
Topic: The new website
Replies: 150
Views: 20759

I like "Modern BASIC done right". It's BASIC, its modern, but leaving open what exactly is "done right".
by badidea
Aug 24, 2011 23:52
Forum: Tips and Tricks
Topic: Neural net
Replies: 77
Views: 10904

Currently BBC iPlayer TV programmes are available to play in the UK only, but all BBC iPlayer Radio programmes are available to you.
by badidea
Aug 23, 2011 14:57
Forum: Projects
Topic: Small puzzle game
Replies: 20
Views: 4452

badidea could you briefly explain the solving algorithm?, im very interested Let me have a look at my own code, already more then a year since I posted this... The main solver function is solve , this is a recursive function. - It tries to place a piece at all possible locations and at all possible...
by badidea
Aug 22, 2011 22:05
Forum: General
Topic: bug in bload ?
Replies: 25
Views: 2005

Just for fun, if you are afraid of the noisy bits, you could do this: dim as integer w = 640, h = 480 screenres w, h, 32 randomize timer declare sub removeNoisyBits(src as any ptr, dest as any ptr, xsize as integer, ysize as integer) dim as any ptr img1 = ImageCreate(640, 480, 0 ) di...
by badidea
Aug 22, 2011 21:40
Forum: General
Topic: bug in bload ?
Replies: 25
Views: 2005

A converter to gray-scale is posted here (with some memory leaks): http://www.freebasic.net/forum/viewtopic.php?t=5512&postdays=0&postorder=asc&start=8 However, this is all in 32 bit mode. Thus storing 256 gray values with 4 times as much bits as is needed in principle. I don't think (pr...
by badidea
Aug 22, 2011 20:45
Forum: General
Topic: bug in bload ?
Replies: 25
Views: 2005

Its as if sceenres x,y 16bit mode is actually 32bit mode


I don't think this is true because there are small differences between the original picture and the freebasic output screen.

My best guess is that a different rgb-bit-pattern is used for saving the bitmap then is used for displaying.
by badidea
Aug 21, 2011 23:56
Forum: General
Topic: bug in bload ?
Replies: 25
Views: 2005

BTW, I would go for 32 bit. Because, if you want your HAL 9000 running before the end of human existence, you can't spend too much time on problems like this. Optimize (memory use) later if required.
by badidea
Aug 21, 2011 23:38
Forum: General
Topic: bug in bload ?
Replies: 25
Views: 2005

I am not sure if this is your point, but I see a difference between the image freebasic shows and what is saved (and the the original).

See screenshot (zoom in 100%):

http://nr100.home.xs4all.nl/badidea/Screenshot2.png

* edit: changed to link *
by badidea
Jul 27, 2011 22:34
Forum: Projects
Topic: A Simple Cpu Benchmark with 8 Core Support...
Replies: 8
Views: 2167

If you use double for starttimer, onesecond it works for linux as well. But I get different Calculation Times each time. Cpu Speed v08.b: %100 Processor Speed: 2996 MHz --- Calculation Time: 93.189 sec. Cpu Speed v08.b: %100 Processor Speed: 2996 MHz --- Calculation Time: 164.732 sec. Cpu Speed v08....
by badidea
Jul 26, 2011 9:30
Forum: Beginners
Topic: Random and Binary
Replies: 6
Views: 871

A typical use of random access is with as address book program with fixed field lengths for "name", "phone number", "e-mail", etc. A bit like a simple database. Binary access can used for anything. Also for less structured data. But you have to write more intelligent code to interpret/format the dat...
by badidea
Jul 14, 2011 15:46
Forum: General
Topic: float bug?
Replies: 7
Views: 860

For better understanding of float, have a look at this:

http://en.wikipedia.org/wiki/Minifloat

From -122880 to +122880 with only 8 bits.
by badidea
Jul 03, 2011 23:43
Forum: Projects
Topic: Linux Net-book Zoom
Replies: 4
Views: 1245

Nice, works on my Ubuntu Samsung N210.
by badidea
Jun 30, 2011 15:00
Forum: DOS
Topic: Graphics not work on P166 machine
Replies: 15
Views: 3560

Also place and 'sleep' statement or the screen is there only for a very short time.

Go to advanced search