Search found 1334 matches

by caseih
Jan 19, 2015 4:30
Forum: Community Discussion
Topic: Bald middle-aged man joins the club...
Replies: 51
Views: 5937

Re: Bald middle-aged man joins the club...

I spend time here on the forum for nostalgia reasons I suppose. BASIC is what I learned when I was very young, and later on I did a lot of programming in Turbo, Quick, and Power BASIC. For years I wished there was a good structured BASIC on Linux. We pestered Bob Zale for a long time about PowerBASI...
by caseih
Jan 18, 2015 1:43
Forum: Community Discussion
Topic: Bald middle-aged man joins the club...
Replies: 51
Views: 5937

Re: Bald middle-aged man joins the club...

Interesting. I didn't know that. Very cool.

Sorry to the OP for taking this so far off course!
by caseih
Jan 17, 2015 22:48
Forum: Community Discussion
Topic: Bald middle-aged man joins the club...
Replies: 51
Views: 5937

Re: Bald middle-aged man joins the club...

The real problem with accessing any C++ library from any other language is you have to write a shim that instantiates and manages the C++ objects (using C++ code), and provides a bunch of C methods for interacting with those instantiated objects. Indeed any time you are trying to interface between t...
by caseih
Jan 17, 2015 16:38
Forum: Community Discussion
Topic: Bald middle-aged man joins the club...
Replies: 51
Views: 5937

Re: Bald middle-aged man joins the club...

TJF, I've been using Qt and GTK both for nearly 20 years. GTK feels a bit more comfortable to me, but Qt has much much better cross-platform support and excellent docs. GTK on Windows and Mac just doesn't get the love that the *nix version gets. Hence I would never recommend GTK for any serious comm...
by caseih
Jan 17, 2015 5:04
Forum: Community Discussion
Topic: Bald middle-aged man joins the club...
Replies: 51
Views: 5937

Re: Bald middle-aged man joins the club...

Not sure how I feel about AppleSoft BASIC, though people did some very cool things with it over the years. Something about a very limited environment teaches you to think creatively. I'll always have a soft spot in my heart for the structured BASICs that came out in the 80s and 90s during my formati...
by caseih
Jan 15, 2015 15:57
Forum: Windows
Topic: GTK No Refresh after long time activity.
Replies: 11
Views: 1589

Re: GTK No Refresh after long time activity.

@caseih 1. You need not poll anything. Events are handled in GLib, see https://developer.gnome.org/glib/stable/glib-The-Main-Event-Loop.html for details. No this is not what I'm talking about. I'm talking about g_async_queue. When things are pushed on the queue it does not trigger an event for the ...
by caseih
Jan 15, 2015 0:53
Forum: Windows
Topic: GTK No Refresh after long time activity.
Replies: 11
Views: 1589

Re: GTK No Refresh after long time activity.

The recommended thing to do is the same regardless of programming language, and really regardless of GUI toolkit. You've got two options for GTK: 1. Anytime your thread needs to update something in the GUI, post a message to an async message queue you've set up that a timer event callback in the mai...
by caseih
Jan 04, 2015 4:58
Forum: DOS
Topic: I have found the problem !! (FreeBASIC + Network)
Replies: 13
Views: 4202

Re: I have found the problem !! (FreeBASIC + Network)

Can you tell fbc to keep the .c file and compare the code it emits with the C example? Would be helpful in figuring out what FreeBASIC is doing. Frankly I'm surprise that the C code worked where the FB code didn't.
by caseih
Jan 03, 2015 16:14
Forum: DOS
Topic: I have found the problem !! (FreeBASIC + Network)
Replies: 13
Views: 4202

Re: I have found the problem !! (FreeBASIC + Network)

Why do you think this is a problem with FreeBASIC? By your own testing your compiled program works fine under DrDOS. So FreeBASIC is obviously generating a working executable. Would not the problem be in FreeDOS's networking stack?
by caseih
Jan 02, 2015 3:02
Forum: Beginners
Topic: how to stop another process after starting it
Replies: 4
Views: 791

Re: how to stop another process after starting it

By the way, apparently Windows trusts all the sysinternals utilities such that you can run them directly from the live.sysinternals.com site without downloading them:

http://technet.microsoft.com/en-us/sysinternals

Interesting.
by caseih
Jan 02, 2015 3:01
Forum: Beginners
Topic: how to stop another process after starting it
Replies: 4
Views: 791

Re: how to stop another process after starting it

Honestly the answer is to code your program to shut itself down when it receives a particular signal. Because of the way NTFS file locking works, using files as a means of inter-process communication is probably a poor idea, at least the way you are going about it by creating and deleting files. Win...
by caseih
Dec 12, 2014 16:06
Forum: Projects
Topic: Love and Letter-bots
Replies: 9
Views: 1794

Re: Love and Letter-bots

I suppose it could be of interest if this exposes a bug in the FB compiler or runtime on Linux. I'll fire up the windows version and compare it on my own computer here.
by caseih
Dec 12, 2014 1:59
Forum: Beginners
Topic: Subroutines in freebasic
Replies: 3
Views: 1614

Re: Subroutines in freebasic

So this is interesting. I had a vague notion in the back of my mind that FreeBASIC was a two-pass compiler. But from my experimenting, it appears to be single-pass. And doing a bit of experimenting, I found some interesting things. the QB64 compiler handles this code just fine: test1 sub test1() pri...
by caseih
Dec 12, 2014 1:23
Forum: Projects
Topic: Love and Letter-bots
Replies: 9
Views: 1794

Re: Love and Letter-bots

Running it on Linux. All I get is a screen full of red chr(176), with yellow X's flashing on in a random pattern, before disappearing behind red chr(176) again.

Anyway, no worries.
by caseih
Dec 11, 2014 17:05
Forum: Projects
Topic: Love and Letter-bots
Replies: 9
Views: 1794

Re: Love and Letter-bots

What is the quantum moth screen supposed to do? I don't see anything except random X's popping up.

Go to advanced search