Search found 499 matches

by voodooattack
Aug 20, 2009 8:21
Forum: General
Topic: Detect Idle Time
Replies: 3
Views: 978

#include "windows.bi" dim as LASTINPUTINFO lli lli.cbSize = sizeof(lli) locate ,,0 do if getlastinputinfo(@lli) = 0 then print "error!" end else cls print int((GetTickCount() - lli.dwTime) / 1000) & " seconds since last interactio...
by voodooattack
Aug 20, 2009 8:05
Forum: Tips and Tricks
Topic: Compressive Sensing
Replies: 3
Views: 1171

Interesting.. Although it wouldn't be of much use to a good neural network utilizing Hebbian learning (generally described as "neurons that fire together, wire together"), where the network does this naturally by rewiring itself in a way that apparently only extracts the major features of the input ...
by voodooattack
Jun 15, 2009 11:21
Forum: General
Topic: SIGSSEGV fault?
Replies: 5
Views: 955

You're welcome, and, no, unfortunately there's no standard way to reallocate a buffer while maintaining its zero-filled state. A possible work-around is to manually zero-fill the new region using memset(), as in: #include "crt.bi" function Creallocate(byval p as any ptr, byval oldsize ...
by voodooattack
Jun 15, 2009 10:02
Forum: General
Topic: SIGSSEGV fault?
Replies: 5
Views: 955

This ran with no problems on my machine, but it's error-prone, and I suspect it might fail elsewhere. As a general rule, when your UDT contains pointer fields/var-len strings, use Callocate instead: Type footype s As String End Type Function bar( s1 As String)As footype Ptr Dim As footype Pt...
by voodooattack
May 18, 2009 23:47
Forum: Tips and Tricks
Topic: Using dylibsymbol instead of import libraries (.dll.a)
Replies: 18
Views: 3982

voodooattack, Don't you still have the issue of not being able to show a informative messge when the library is not available on the target machine? James Yes, this method is more or less a transparent way to handle DLL static-linking.. but that's about it. Although that would be really easy to do ...
by voodooattack
May 17, 2009 20:56
Forum: Tips and Tricks
Topic: Using dylibsymbol instead of import libraries (.dll.a)
Replies: 18
Views: 3982

Here's a trick I added to FB long time ago, but my patch got dropped for some vague reason that I don't remember any longer, my aim at the time was to make FB behave more like VB when it comes to automatic DLL detection (although done at compile time), and perhaps add DLL delay-loading later on (whi...
by voodooattack
Apr 08, 2009 19:38
Forum: Community Discussion
Topic: "Nice, what language did you make this game in?"
Replies: 30
Views: 5731

When all else fails, I usually mention that it's a BASIC capable of compiling a kernel driver; and silence ensues.
by voodooattack
Apr 08, 2009 19:31
Forum: Community Discussion
Topic: Got an XBOX
Replies: 7
Views: 1981

ShawnLG wrote:I have downloaded Open XDK, minGW and msis and installed them. For step two, what is cvs?


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

Right now the project uses SVN.
by voodooattack
Mar 13, 2009 20:29
Forum: Community Discussion
Topic: Here is something... interesting...
Replies: 50
Views: 7916

Haha, double-posting becomes more interesting when it happens with posts of the size we often write in this thread, nevertheless triplets =D "If the doors of perception were properly cleansed, all things should appear to man as they are: infinite." - william blake ...and man would go crazy. ;) I've ...
by voodooattack
Mar 11, 2009 18:32
Forum: Projects
Topic: FBIde - still alive
Replies: 151
Views: 39347

Nice work Albert, Wonderful.. Good to see FBIde alive and well again.. :)

P.S. If you need any help, just yell on MSN, I don't see you online anymore :/
I'd love to help you with this.. maybe a new splash screen? *hint**hint*
by voodooattack
Mar 11, 2009 18:27
Forum: Community Discussion
Topic: Well what about optimizations ?
Replies: 40
Views: 7164

Good to see you back v1ctor, that's a big relief :)
by voodooattack
Mar 11, 2009 18:22
Forum: Community Discussion
Topic: Hey Guys
Replies: 7
Views: 1548

Good to see you again, I've just added you to my friends list on MSN, I hope you don't mind =P Well, what can I say, the forums don't seem all that alive at the moment, but I'm sure lots of people prefer lurking in the dark, doing their thing, like myself. About the long posts, Let's say that I'm tr...
by voodooattack
Mar 11, 2009 18:11
Forum: Community Discussion
Topic: Here is something... interesting...
Replies: 50
Views: 7916

Time for a mini-necro, it's that time of the year =P Rolliebollocks, here's something I found while seeking more knowledge of the subject, I think you'll find this really useful.. http://books.google.com/books?id=F0HJ1P5qLkAC&printsec=frontcover I'd buy the hardcover version if I could find it h...
by voodooattack
Feb 13, 2009 3:31
Forum: Community Discussion
Topic: Here is something... interesting...
Replies: 50
Views: 7916

Well it's not possible to know pleasure unless one has experienced it. So any motivation to produce pleasure must be dependent on a pre-existing memory of being pleased. It works the same way for pain. You bring up an important point there, which has puzzled me for a long time, how can organic bein...
by voodooattack
Feb 10, 2009 22:06
Forum: Community Discussion
Topic: Here is something... interesting...
Replies: 50
Views: 7916

Here's something I found today, I've been studying those equations all day long: http://jcienciascognitivas.home.sapo.pt/06-01_vieira.html I am trying to expand upon them, and count other factors in, like number of synapses, thresholds, etc. http://img136.imageshack.us/img136/6778/imagevieira002aa1....

Go to advanced search