Archives for “Coding”

TextMate’s parsing for symbols and code folding is broken. It fails with many slightly-nonstandard brace arrangements, and even fails if there is a tab depth difference between closing and opening tags in XML. In addition, it’s symbol list only works correctly about half the time, although I haven’t spent the time yet to figure out [...]


I’ve been writing XML, XSLT, and PHP all night. It’s sleep time, folks.


Class: 13 hr/wk Work: 19 hr/wk Math Homework: 4 hr/wk Coding Homework: 14 hr/wk minimum Reading for Class: 6 hr/wk Transit times: 7 hr/wk minimum National Guard duty: 20 hrs Total work and trans hours per drill week: ~77 minimum Hopefully, I can fit a meet up with Josh, a meet up with my brother, and some time with my wife in there. [...]


Java is not my favorite language. Despite a fairly robust class library, and some nice constructs, it has some serious problems. This first post will be about specific language “features” (or lack thereof). The next in the series will be a bit more general. Update: my buddy JK, who commissioned this little screed, pointed me toward this guy, [...]


So here’s the rundown of what’s been, well, going down: Rewrote Bitstream and Huffman encoder/decoder in Java, now fully integrated with my image editor (download them from the code page) Slept, finally had an intense session with JK with lots of Dew, code, and good discussion cleaned the apartment some Tonight I have a study session for CS411, assuming that I manage to [...]


I’ve re-written most of my C++-based Bitstream library in Java, ostensibly to allow better integration with my image editor, but in reality because I still can’t find my bug.


I’ve spent 9 hours looking for one bug. I have literally nailed it down to 4 lines of code. The bug does not make sense. Nothing makes sense. Goodnight.


The world takes on a certain strangeness once you approach the 36 hour mark without sleep. The Huffman Coding system that I’ve been trying to implement isn’t working. The tree structure sets up properly, but an attempt to print it out (and by extension, to locate particular nodes) segfaults, a strange occurance considering my minimal use [...]


I’ve added a Code Page to the blog, which will house various completed and unfinished bits of source. More description on the page.


Why yes, I am implementing Huffman Coding at 4AM.


Somwhere in the bowels of the InterWeb, two coders converse: 2:07:12 AM qphoebusq: so 2:07:16 AM qphoebusq: i’m trying to use JNI 2:07:30 AM qphoebusq: which at first I thought was a way to call c++ functions directly from a library 2:07:43 AM joshkimdotorg: JNI? 2:07:45 AM qphoebusq: so you have a compiled native code library, a .dll on windows [...]


Tonight’s all-night CS242 coding session brought to you by Mountain Dew, the programmer’s drink of choice. Honestly, I never do the Dew, except when I am doing some hardcore coding. I don’t know why that is, but I can tell you that I owe many a subroutine or pointer hack to the amber ambrosia.


The last year or two has seen a rapid acceleration in the debut of new (or at least better-developed) toolkits for working with many languages. Most of these focus on web development, in particular “Web 2.0“. These languages (Ruby, PHP, Javascript, CSS, etc), and web development in general, are not my forte. I am a low-level [...]


Instant Messaging – Adium Video Chat – iChat (built in) Web Browser – Safari (built in) and Firefox RSS – Vienna and NewsFire Terminal/Command Line – iTerm Text/Code Editor – TextMate and BBEdit S(ecure) FTP – Fugu Regular FTP – CyberDuck Application Launcher – Spotlight (built in) and Quicksilver Cocoa Development – xCode (obviously) Visual Java Development – Eclipse with VisualEditor Hex Editor – 0xED Backup – [...]