Search found 332 matches

by Mentat
Jun 08, 2014 21:55
Forum: Community Discussion
Topic: are memory streams impossible? (nope!)
Replies: 18
Views: 4472

Re: are memory streams impossible? (windows solved! needs li

In linux, can't you just fork() and just stream over the pipe from parent (data producer) to child (data consumer)? If not, angros's solutions should work on Linux with a little tweaking; you can create pipes and dupe file descriptors there too.
by Mentat
Jun 02, 2014 3:28
Forum: Community Discussion
Topic: are memory streams impossible? (nope!)
Replies: 18
Views: 4472

Re: are memory streams impossible?

It's really late at night, so what I'm saying may sound incredibly fantastic, but can't you map a desired memory buffer to a file descriptor with mmap, and then write to said descriptor like a stream? I know that's not how mmap is supposed to work, and I don't even know if mmap calls are available o...
by Mentat
Jun 01, 2014 18:25
Forum: Community Discussion
Topic: New FB game making competition - interested?
Replies: 12
Views: 2630

Re: New FB game making competition - interested?

Every time I enter the competition, I end up over-engineering to the extreme and get stuck in a project that has no hopes of finishing. So if there is a new competition, I would just stick to making something very simple and dirty. Which is better than not finishing at all. :P And I'm still working ...
by Mentat
Apr 23, 2014 2:19
Forum: Community Discussion
Topic: Off Topic. Encrypting this forum
Replies: 11
Views: 3141

Re: Off Topic. Encrypting this forum

For an open source oriented community, seems awfully silly to hide perfectly innocuous discussions about code. And inconvenient to boot.
by Mentat
Feb 10, 2014 4:26
Forum: Community Discussion
Topic: forum mods
Replies: 28
Views: 6608

Re: forum mods

I just noticed, this is filed where I live. wat. Oh my goodness. Just drop it, Zippy. You're one of a few people who for some reason always have something to say about me. I have no idea why, either Just as I imagine greenllll has no idea why you are turning his complaint into a joke. Isn't ripoff r...
by Mentat
Feb 08, 2014 17:35
Forum: Community Discussion
Topic: Until the html entities in code is resolved
Replies: 5
Views: 2178

Re: Until the html entities in code is resolved

*cough*sed*cough*. :P Edit: I think I found the bug. "(" translates to "&#40;" and the old code is broken up into multiple html spans. One for "&#" with a green color, one for "40" with pink, and a standalone ";". code: <span style="colo...
by Mentat
Feb 07, 2014 2:06
Forum: Linux
Topic: freebasic.lang for gedit?
Replies: 7
Views: 4392

Re: freebasic.lang for gedit?

I made one a while ago (without checking whether one already existed), just uploaded here: https://gist.github.com/dkl/8852322 I would have sent it upstream, but I couldn't get the preprocessor directive highlighting to work even though I was 100% sure to have used the same code as done in the lang...
by Mentat
Feb 06, 2014 12:05
Forum: Linux
Topic: freebasic.lang for gedit?
Replies: 7
Views: 4392

freebasic.lang for gedit?

Has anybody attempted to send a freebasic language file upstream for GtkSourceView? I know there were some older files floating around on this board, but I don't know if anybody contacted the Gedit maintainers about it.
by Mentat
Dec 14, 2013 21:48
Forum: Linux
Topic: FB for the Mac
Replies: 8
Views: 4424

Re: FB for the Mac

I think there has been at least one experimental OS X port of fbc, but it was a long time ago. If you mean running freebasic on Linux atop Apple's hardware, yeah, it's possible just as with any normal PC. I ran Ubuntu on a macbook for a couple years, and all the normal programs (like freebasic) ran ...
by Mentat
Dec 14, 2013 9:01
Forum: Community Discussion
Topic: How many people actually use FreeBasic?
Replies: 85
Views: 22339

Re: How many people actually use FreeBasic?

I've used to use FB a lot for academics and research. I still use it for writing some server tools and back-end software. Which, given my distaste for writing UI code, is the bulk of what I do :P
by Mentat
Aug 03, 2013 16:36
Forum: Projects
Topic: Seavax (WIP game)
Replies: 0
Views: 976

Seavax (WIP game)

Hi there. I'm currently making a multiplayer strategy game inspired by aspects of Globulation 2 , minecraft, and Freeciv . Pretty much the gist is that you control individual units on a turn-based map, build improvements, discover new tech, conquer enemy nations, the whole 9 yards. The server and cl...
by Mentat
Jun 30, 2011 13:51
Forum: Community Discussion
Topic: Status on classes in fbc
Replies: 3
Views: 1242

Isn't the git repo ready? For reading at least.

I was asking about classes since that stood out the most, but I didn't realize the todo list was so old. I'm mostly looking to help and learn; it's not that I'm doing this because I want a particular feature in. :)
by Mentat
Jun 30, 2011 3:25
Forum: Community Discussion
Topic: Status on classes in fbc
Replies: 3
Views: 1242

Status on classes in fbc

Hello, I was just wondering about the current status on classes, if work has actively started on them and if they need help. I guess some background is needed. Well, background shall be supplied. Recently I've been taking a major break from coding (school related reasons), so now I've come back and ...
by Mentat
Jun 06, 2011 13:07
Forum: General
Topic: Halp, If anyone has an idea. Perlin noise, FPS.
Replies: 15
Views: 3444

Pretty. Anywho, I skimmed it and nothing looked wrong performance wise. Though the biggest processor hog seems to be just the sheer workload. Biggest problem is all the magic numbers flying about, it's very hard for me to edit and test the code when there are numbers sitting about and I have no idea...
by Mentat
Jun 06, 2011 3:20
Forum: General
Topic: Compiling FBC
Replies: 1
Views: 827

Okay, problems solved, although something happened with src/rtlib/obj/Linux/mt. Problems as in I may have accidentally sent it to the bit bucket when compiling. Though it still seems to run; I managed to get a hello world program to run fine.