Categories
- Blog (101)
- Lua (13)
- Miscellaneous (46)
- Photos (6)
- Programming (31)
- Python (15)
- Sample (3)
- Web Design (3)
- Writing (2)
- Portfolio (40)
- Snippets (27)
- Blog (101)
Tag Archives: Programming
Pydev: The Best Python IDE
While I don’t usually advertise, I love eclipse for all of its feature rich implementations of language specific IDE’s. Among those is Pydev, a complete first class IDE for Python.
Recently, Pydev just hit version 1.6.0 (Congratulations!) with the…
Posted in Programming, Python
Tagged eclipse, editor, ide, Programming, pydev, Python
Leave a comment
Serializing Lua objects into Lua Code
The following little snippet allows you to ‘pickle’ Lua objects directly into Lua code (with the exception of functions, which are serialized as raw bytecode). Metatable support is on the way, but for now, it should be useful enough.
Example…
[Lua] MapParser (High Level API)
This is a Map parser library for CS2D’s lua engine. Benchmarked to process 6,000 tiles per second. (A 2,000% improvement over the older parser). This also demonstrates that it is possible to have object-orientation within a lua script
…
Python – Abstract Function class
Python is great. It’s dynamic, it’s flexible, and best of all, for almost all major datatypes, there’s an associated abstract class from which you can over-ride and build your own object out of.
Of course, Python doesn’t treat functions in…
Posted in Programming, Python, Snippets
Tagged abstract, abstract class, abstract function, class, datatype, equal, function, overload, Programming, py, Python, __call__, __eq__
Leave a comment
Auto-restart in (Python) and subprocess.Popen goodness
This is an auto-restart script for Orbited, but it can be modified to be used with other apps. This is presuming that there’s only one instance with that name running.
Basically, this script takes into account the fact that if…
Posted in Programming, Python, Snippets
Tagged auto, autostart, bash, code, goodness, grep, kill, linux, omg, orbited, pipes, Popen, process, Programming, ps, Python, Python 2.5, Python 3.0, restart, subprocess, task manager, unix
Leave a comment
Wordfilter in Lua
I’ve been getting bored lately so I’ve decided to create a wordfilter in Lua, it’s really basic actually, but useful. The concept goes something like this. You take a list of naughty words, and filter them out of the text.…
Posted in Lua, Programming, Snippets
Tagged dirty, filter, Lua, naughty, Programming, script, word, wordfilter, words
Leave a comment