LuaJIT + FFI

I’ve been writing a couple of utility libraries/FFI bindings for various libraries for LuaJIT, namely for OpenGL and SQLite, for use in my game, Multi. And lo and behold, someone put them up on the all-new LuaJIT wiki here: http://wiki.luajit.org/FFI%20Bindings (LuJGL + lsqlite3-ffi). I just thought that was interesting that my code is getting around. :)

In other news, I’ve been trying to set up an email server. And it sucks, because it’s like 50 programs that you have to configure independently and it is tricky to get it working.

I’m Col32 and I never update my blog

The Starfall project has been moved to its own organization here: https://github.com/GmodStarfall and is now using the git-flow branch model. Be sure to update your links, or else you’ll be pulling from my development branch.

There’s also two new devs on the team: Daranable, who has been helping me out for awhile now, and Elemecca.

FRC Results

Team 3676, the team I’m in, achieved second place in the elimination matches at the Dallas east regionals (http://www2.usfirst.org/2012comp/Events/DA/matchresults.html, ctrl+f for 3676). This is a huge step up from last year where we struggled to score our measly total of three points from last year. I’m quite proud of our team.

START_CLASSIFIED_TRANSMISSION

notch:

TITLE: dcpu specs, classified, not final
TO: redacted
DATE: 20120328
VERSION: 4

Read More

Oh my, is this a Minecraft CPU? :O

Edit: Nope.

(Reblogged from notch)

Recycling

I think it’s funny how my school is able to afford upgrades for their computers that are now capable of running 3DS Max and other such costly programs, yet the teachers tell me they are running out of paper. My physics teacher, however, is using this to his advantage, by using computerized homework, allowing for easier grading and less paper. I wish more of my teachers did this. Maybe I can write a framework for it.

(Source: castleink.com)

Robot is Done

That robot I was building is finally done. Now it’s in a giant plastic bag until game day.

(Reblogged from garrysmodcom)
Sooo freaking true.

Sooo freaking true.

(Source: maxofs2d)

(Reblogged from maxofs2d)

Gonna be making a robot to play this game for 6 weeks, so don’t expect any non-FRC related developing.

EDIT: Here’s the repo: https://github.com/ColonelThirtyTwo/FRC-Team-3676-Robot-Code

My Christmas List

  • A new LCD for my desk to replace the CRT behemoth (VGA please) Got it :D
  • (Wii) The Legend of Zelda: Skyward Sword Got it
  • (Wii) Kirby’s Return to Dream Land Sort of got it. It’s technically my bro’s but whatever
  • Cobalt (Didn’t get it :( )

That’s all I can think of.

I left my thumb drive with all of my source code and compilers at home today on my way to school. So naturally I got more accomplished by downloading Lua+LuaGL+IUP and toying with them as opposed to C++ crap. This is a screenie of a voxel engine thing I made, and messing with the colors and geometry has already giving me some ideas.

Git branching powers, activate!

Garry’s Mod: Lua coroutines are broken

Apparently coroutines in GLua are broken (EDIT: And are being removed? :/ ). I don’t really know what’s wrong with it, but coroutines can’t seem to access certain functions that the main chunk has access to. I was planning changing SF to run scripts in a coroutine, since they can have their own Lua hooks and stack, and *might* support sleeping.

Some SF News

So I haven’t posted much recently. I’ve done some work on SF, and the history can be found at the github commits page for the project. Some awesome guy named Daranable is helping me too, and has given me some ideas and patches.

I’m using the issues page as sort of a to-do list. It’s pretty far from complete though.

I’ve also tweaked the ops checking to not run as often as it was. It had been set to run every 10 instructions, and I wouldn’t be surprised if that was less than the ops counter itself. So I bumped it up to 500, and it had a fairly big performance benefit. Earlier, SF was about 2 times as fast as E2 with the ops check running every 10 instructions. Now, according to my testing, it’s about 834.5 times as fast. Yea, that’s a pretty big improvement.