main | nds compo site | tutorials
Language Mode: plain text | java | cpp | ruby | python | lolcode
| 1 | HAI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 2 | NEW MEME GUYZ content | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 3 | OBTW about: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| {CODE}
By Jeff Chien
September 19, 2009: School is back. Ironically, the sheer boredom of the routine
might increase my code productivity...
...as demonstrated by this client I wrote. I joined a side project that required cracking
a 7z archive, and wrote an optimized distributed cracker rather than rarcrack, which
abuses popen().
We ended up figuring that traversing billions upon billions of passwords
wasn't worth something that could be replicated in a month or two, so it's scrap code now.
The 7z/LZMA backend was taken from 7z itself, but I sloppily hacked some code in, because the
C code doesn't do encryption, and the C++ code is too damn complex. It spits out a false
positive every hundred lines or so.
You can get it here.
In other news, Greg Klein, the former president of the Java Club, has recently sent
up a weather balloon to outer space. No, it's not the MIT project (although he has
complained that they're getting more attention, and that his balloon would now seem like an
imitation of the MIT project). You can read more about it here.
The RSS feed for this site (even though it's barely updated) is being
fiddled around with because I've been reformatting recently; I installed Windows 7 RTM, then
reinstalled Windows 7 because I realized that I was using 64-bit.
--------------------------------------------------------------------------------------
July 31, 2009: Oh wow, I really haven't updated in a long time. I've been up to my neck
in work on a new project several friends and I are doing, so I haven't had the time
to update anything. We aren't ready to reveal our project, so check back here later.
l-echo, as you all may know, had been cancelled sinced March, because I realized that I was going
about it the wrong way. Instead, I probably should be making a weird physics engine that matched
the visuals, so falling and jumping would be far easier to implement.
I have to be honest, though, the reason for this update is because I put up a page for this
NDS homebrew competition I'm entering. I figured, why not enter a contest with n-echo, it's still
a pretty good homebrew despite it's discontinued state. The competition details are here
if you want to vote for me.
January 19, 2009: I realized that I can teach a lot about NDS homebrew, so
I written 2 intros into coding for Nintendo's famous handheld. I'll probably
post more soon.
January 18, 2009: Kicking off the new year with a new l-echo release (0.4.2).
And, as a late Whatever-your-holiday-is Present, I present to you j-echo, in
applet form. (Will load JOGL from other sources)
Dec 29, 2008: Two new AMES tutorial are up (actually, more like 1.5).
The OpenAL tutorial is cancelled (it was buggy anyways; OpenAL would
frequently just eat up all my buffers, and suddenly stop).
Ruby tutorials...are getting there...
Speaking of Ruby tutorials, or programming tutorials in general,
I heartily recommend anyone looking for example code to go to a new
site called LiteratePrograms. It's a programming wiki, but with
some extra features thrown in to make it really awesome, such as snippet
referencing and downloading all the code in an archive.
I already contributed a page here: 99 Beers in Ruby
On a different note, I made some improvements to the site, such as automatic
anchors, block links, and a nav bar.
Dec 12, 2008: Added an AMES intro tutorial.
Also added a genetic algorithms program, genetic3D.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 83 | TLDR | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 84 | OBTW COPYING: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 89 | TLDR | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 90 | OBTW credits: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| SyntaxHighlighter's homepage is here (it's used for code snippets,
not this website in general).
Icons and trademarks are owned by their respective owners. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 94 | TLDR | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 95 | OBTW links: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 102 | TLDR | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 103 | OBTW contact: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| BotProof Image: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 105 | TLDR | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 106 | OBTW WARNING: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| This code does not actually compile or run! | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 108 | TLDR | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 109 | NEW MEME GUYZ programs | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 110 | HOW DUZ I test7zpwd | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Code for a distributed 7z password cracker client.
It was originally intended to be a BOINC-based cracker,
but BOINC gave us more grief than benefits, so we wrote our own server backend.
I don't have the code for it, but the specs were such:
There would be a SQL DB holding the password work units. Each work unit is a
series of passwords. The columns of the database were the work unit ID, starting password
for the series, and the number of negatives. Once each unit had a sufficient
amount of negatives (because someone could be spamming false negatives), a new
DB with the next series of work unit replaces the old one.
get_work would be a php script that spits out a random work unit (to distribute
false results), in the format "[id]|[starting pwd]|[number of passwords to traverse]"
report_result is another php script to report the, um, results. Parameters:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 133 | BTW ----DOWNLOAD---- | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 134 | ANY OF BOTH SAEM your_os AN "windows" | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 135 | AN BOTH SAEM your_os AN "mac" | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 136 | AN BOTH SAEM your_os AN "linux" | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 137 | AN BOTH SAEM your_os AN "unix" | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 138 | O RLY? | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 139 | FOUND YR test7zpwd.7z | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 140 | NO WAI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 141 | BTW ----Sorry, don't have a download for your OS---- | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 142 | GTFO | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 143 | IF YOU SAY SO | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 144 | HOW DUZ I genetic3D | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Genetic algorithms have been a buzz topic recently, so
I decided to take a shot at it. genetic3D takes an image of a 3D scene
and attempts to construct a similar scene with genetic algorithms.
I ran two instances ovenight, and here are the screenshots:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 170 | BTW ----DOWNLOAD---- | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 171 | BTW ----Needs Java 6!---- | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 172 | FOUND YR genetic3D.7z | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 173 | IF YOU SAY SO | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 174 | HOW DUZ I l-portable | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 184 | BTW ----DOWNLOAD---- | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 185 | ANY OF BOTH SAEM your_os AN "linux" | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 186 | O RLY? | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 187 | FOUND YR http://download.tuxfamily.org/lportable/installer.tar.bz2 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 188 | NO WAI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 189 | BTW ----Sorry, don't have a download for your OS---- | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 190 | GTFO | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 191 | IF YOU SAY SO | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 192 | HOW DUZ I matrix | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A Java-based terminal programs that prints a Matrix background in
a virtual terminal (cmd.exe doesn't work, unfortunately). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 195 | BTW ----DOWNLOAD---- | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 196 | BTW ----Needs Java 6!---- | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 197 | FOUND YR ComplexMatrix.java | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 198 | IF YOU SAY SO | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 199 | HOW DUZ I lowfat_manager | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A little Ruby script that intergrates F-Spot (Ubuntu's default photo manager)
with Lowfat, a 3D photo display/eye-candy application. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 204 | BTW ----DOWNLOAD---- | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 205 | ANY OF BOTH SAEM your_os AN "linux" | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 206 | O RLY? | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 207 | FOUND YR lfm.rb | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 208 | NO WAI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 209 | BTW ----Sorry, don't have a download for your OS---- | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 210 | GTFO | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 211 | IF YOU SAY SO | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 212 | HOW DUZ I countdown | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A little bash script that counts down to a specific date. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 214 | BTW ----DOWNLOAD---- | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 215 | ANY OF BOTH SAEM your_os AN "linux" | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 216 | AN BOTH SAEM your_os AN "mac" | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 217 | AN BOTH SAEM your_os AN "unix" | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 218 | O RLY? | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 219 | FOUND YR countdown.sh | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 220 | NO WAI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 221 | BTW ----Sorry, don't have a download for your OS---- | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 222 | GTFO | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 223 | IF YOU SAY SO | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 224 | HOW DUZ I treebuilder | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A simple OOP-based code generator for Java. Make your classes and properties,
and export away! | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 227 | BTW ----DOWNLOAD---- | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 228 | BTW ----Needs Java 6!---- | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 229 | FOUND YR TreeBuilder.jar | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 230 | IF YOU SAY SO | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 231 | | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 234 | KTHXBAI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 235 | NEW MEME GUYZ games | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 236 | HOW DUZ I mupen64_wiimote_plugin | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Plugins for Mupen64plus (deb package here) to use a Wii remote.
It's game specific, though, and it only has schemes for Ocarina of Time
(with controls similar to Twilight Princess), Mario Kart 64 (similar to Mario
Kart Wii controls), and Star Fox 64.
To install:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 254 | BTW ----DOWNLOAD---- | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 255 | ANY OF BOTH SAEM your_os AN "linux" | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 256 | O RLY? | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 257 | FOUND YR mupen64_wiimote_plugins.tar.bz2 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 258 | NO WAI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 259 | BTW ----Sorry, don't have a download for your OS---- | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 260 | GTFO | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 261 | IF YOU SAY SO | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 262 | HOW DUZ I l-echo | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A free and open source clone of the SCEJ game Echochrome
(Mugen Kairou in Japan) (PSP/PS3). | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 268 | BTW ----DOWNLOAD---- | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 269 | ANY OF BOTH SAEM your_os AN "nds" | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 270 | AN BOTH SAEM your_os AN "windows" | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 271 | AN BOTH SAEM your_os AN "mac" | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 272 | AN BOTH SAEM your_os AN "linux" | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 273 | O RLY? | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 274 | FOUND YR http://code.google.com/p/l-echo/ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 275 | NO WAI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 276 | BTW ----Sorry, don't have a download for your OS---- | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 277 | GTFO | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 278 | IF YOU SAY SO | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 279 | HOW DUZ I joules | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A Java-based clone of the game Atomix for the Amiga. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 281 | BTW ----DOWNLOAD---- | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 282 | BTW ----Needs Java 6!---- | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 283 | FOUND YR http://sourceforge.net/projects/joules/ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 284 | IF YOU SAY SO | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 285 | | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 288 | KTHXBAI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 289 | | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 292 | KTHXBAI | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 293 | | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 294 | KTHXBAI |