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 ... 103 104 [105] 106 107 ... 125
1561
General Calculator Help / Re: ti-92 fargo help
« on: June 22, 2011, 03:11:14 am »
Fargo is the way to let Ti-92's run assembly programs, as it wasn't just putting them on your calculator and running them.
However, I never used it, so I'll first have to do some searching on how it works.

Edit:
Can you post the errors you receive?

1562
Lua / Re: Lua Q&A
« on: June 22, 2011, 03:07:01 am »
Here is a little example:

Code: (Lua) [Select]

number = 0

function on.paint(gc)

    --If number is still zero (we just started the application), start the timer (set to tick every 1 seconds)
    if number==0 then
        timer.start(1)
    end

    --Draw the number on the screen
    gc:drawString(tonumber(number),10, 10, "top")
end


--This get's now called every 1 seconds until you stop the timer
function on.timer()
    --Add one to number
    number = number + 1

    --Force the screen to be redrawn
    platform.window:invalidate()

    --If number is 10, stop the timer
    if number==10 then
        timer.stop()
    end
end


1563
Lua / Re: Lua Routines
« on: June 22, 2011, 02:59:33 am »
Pause for an exact amount of time, in milliseconds

Code: [Select]
WaitMS = function(milliseconds)
   while (stime = math.abs(timer.GetMilliSecCounter()+milliseconds))<
            math.abs(timer.getMilliSecCounter()) do end
   return true
end

Wouldn't that use extremely many resources?
I would suggest to run the code in a coroutine, and call a routine that pauses it and sets the timer to the amount of seconds you want. Then when the on.timer get called it resumes the coroutine. This is the way I do it in my oncalc Lua console, and it works good (Doesn't interrupt everything, and it will still catch user input).

1564
OmnomIRC Development / Re: Join/part/quit messages
« on: June 21, 2011, 05:38:46 pm »
The thing is that is didn't want to work properly without that line, so I don't know what happened there.

1565
TI 68K / Re: Myst 89
« on: June 21, 2011, 02:42:23 pm »
I'm proud of him, he has done a very very good job!

@Stefan, I think this deserves a new thread :)

1566
Lua / Re: Setting up Nspire Lua on Linux
« on: June 21, 2011, 07:09:49 am »
Oh, I didn't think about that :(
Thanks for noticing us about those issues Lionel.

1567
Miscellaneous / Re: I am getting a ti-89
« on: June 21, 2011, 05:07:58 am »
The 89 is a very good choice, I know that you will love it. Its just sad that there aren't many 68k programmers/users out there.

1568
News / Re: Contest Part 2 starts: TI-Nspire Game
« on: June 21, 2011, 05:05:59 am »
I started a contest entry, but I don't know if I can finish it because I've lots of work. I will try however to do as much as I can.

1569
TI-Nspire / Re: [Lua] Bobby Carrot
« on: June 21, 2011, 04:59:18 am »
Hey Chockosta, Bobby Carrot looks pretty neat, good work!

1570
Lua / Re: Setting up Nspire Lua on Linux
« on: June 21, 2011, 04:56:48 am »
No, It doesn't encrypt it, and you will need to resave it in order to use it on 3.0.2. But I think there will come a version which encrypts it soon or later, as ExtendeD has done quite some research on it (as you know).

1571
Site Feedback and Questions / Re: Apology
« on: June 21, 2011, 04:54:08 am »
Its a bit my fault, as I started it the discussion. I didn't want to start a flame war though. I'll be more careful next time :)

1572
Lua / Re: Setting up Nspire Lua on Linux
« on: June 21, 2011, 04:50:25 am »
Good job, its very clear for beginners :)
It demonstrates perfectly how much more easy it is than TI's tool which pastes the result to the clipboard.

I use this tool constantly, and you can't program something to work faster. Good job Debrouxl, Adriweb and ExtendeD! (and also David for making this vid :)

1573
OmnomIRC Development / Re: Join/part/quit messages
« on: June 21, 2011, 04:44:04 am »
Netham45, here is what fixes it for me (in the bot):

Add
Code: (PHP) [Select]
$channel = str_replace(':', '', $channel);
if (!isset($userList[$channel])) $userList[$channel] = Array();
array_push($userList[$channel], $username);
to userJoin() in the bot. That should populate the userList Array, and since you made all the other functions for quit it automagickly works :)

I must say that the code is very very clear, so good job again!

1574
OmnomIRC Development / Re: Join/part/quit messages
« on: June 20, 2011, 04:14:00 pm »
Netham, bug fix:

Change the sql query in load.php on line 57 to

Code: (SQL) [Select]
SELECT * FROM `irc_lines`
WHERE `channel` = '%s'
OR
`type` = 'quit'
ORDER BY `line_number` DESC
LIMIT %s

I added the quit line checking. Maybe you need to do some more mods though.

1575
News / Re: Juju2143 and Netham45 becomes managers
« on: June 20, 2011, 09:14:35 am »
Ouch, I guess I'll lose the game more as Juju will become more active :p

Anyway, congratulations both!

Pages: 1 ... 103 104 [105] 106 107 ... 125