Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Jim Bauwens

Pages: 1 ... 101 102 [103] 104 105 ... 125
1531
TI-Nspire / Re: [Lua] Bobby Carrot
« on: June 29, 2011, 05:57:51 pm »
Chockosta, if you need any help with Linux, you can ask here as there are a few Linux freaks here :)

1532
Lua / Re: Lua Q&A
« on: June 29, 2011, 04:16:52 pm »
Well, technically speaking its tables in Lua :)

Lets say you have this table:
Code: (Lua) [Select]
a={1,2,3,4,5}Then you can change the third item with this command:
Code: (Lua) [Select]
a[3] = 1337Your table will then look like this:
Code: (Lua) [Select]
{1,2,1337,4,5}

1533
But will you be able to play full sound audio (like mp3 quality) ?

1534
Humour and Jokes / Re: Funny #omnimaga quotes (NSFW)
« on: June 28, 2011, 03:13:16 pm »
Quote from: #omnimaga
<Juju> yeah that was one heck of a snowstorm
<DJ_O> yeah
* New post by ben_g in [OTZ80] Features - planning an http://omniurl.tk/9233/169122
<DJ_O> i was scared the windows would blow up
<DJ_O> I almost installed linuxes on my house instead
<DJ_O> jk

I lolled real loud at this :)

1535
Yes, but that doesn't mean it can do audio ;)

1536
Any chance of adding audio to that list? It will be real cool :)

1537
As much as I would like to apply, I can't :(
My life is totally unpredictable, which makes that I can't be active sometimes for large periods of time.

Anyway, good luck to the ones applying !

1538
Lua / Re: Third-party ports of Lua to TI calculators...
« on: June 28, 2011, 11:52:59 am »
Hmm, that 68k port looks pretty interesting! It would be also great if it landed on punix, as that might give the os a boost :)

Thanks for the info Lionel!

1539
OmnomIRC Development / Re: IRC Client Integration
« on: June 27, 2011, 04:45:47 pm »
Thanks Juju, now I could compile it :D
One thing: gcc should be c++ :)

Edit: Apparently I did something wrong:
Code: [Select]
/home/jim/xchat_omnomirc.so: undefined symbol: _ZSt12regex_searchIPKcSaISt9sub_matchIS1_EEcSt12regex_traitsIcEEbT_S7_RSt13match_resultsIS7_T0_ERKSt11basic_regexIT1_T2_ESt6bitsetILj11EE

1540
Well, thats not really a solution as it still will crash if you suspend ;)

1541
These problems are mostly laptop/pc model specific, and sometimes its hard to find the cause.
David, if you give me your model, I might find a solution.

1542
Lua / Re: Lua Routines
« on: June 26, 2011, 04:05:24 am »
I would not place it in on.paint, as it will redefine it every time it is run.
I would do this:
Code: [Select]
function setGrey(shade)
platform.gc():setColorRGB((shade*255)/16,(shade*255)/16,(shade*255)/16)
end
or
Code: [Select]
function setGrey(gc, shade)
gc:setColorRGB((shade*255)/16,(shade*255)/16,(shade*255)/16)
end

And put both of those functions OUTSIDE of on.paint.
The first one platform.gc() to get the graphical context (valid if called from on.paint), and the second one ask's gc as a parameter (might be a bit faster).

1543
Lua / Re: Loading Lua code dynamically for fun and profit
« on: June 25, 2011, 10:53:15 am »
ExtendeD, it allows loading variables in the current document, or variables in libraries (not in the local document).

In case you want to try my lua console, you can find the current version here: http://bwns.be/jim/term.lua . It has basic history support and runs everything in a coroutine, which makes that I can have functions such as pause. I have added these functions: print, pause, sleep, readinp, load and save. load("varname") will load and execute the content of varname. save("data","varname") will save data in varname. I'm currently planning an oncalc Lua programmer that utilizes some of these functions.

1544
Miscellaneous / Re: Definitely retiring from coding
« on: June 25, 2011, 10:41:15 am »
Oh, this is so horrible! I hope your father will change his mind :/

1545
Computer Usage and Setup Help / Re: you are not a sudoer!
« on: June 24, 2011, 01:10:43 pm »
Here is a part from the sudo man page:

Quote from: man sudo
If a user who is not listed in the sudoers file tries to run a command
via sudo, mail is sent to the proper authorities, as defined at
configure time or in the sudoers file (defaults to root).  Note that
the mail will not be sent if an unauthorized user tries to run sudo
with the -l or -v option.  This allows users to determine for
themselves whether or not they are allowed to use sudo.

Pages: 1 ... 101 102 [103] 104 105 ... 125