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.


Topics - Joe

Pages: [1] 2 3 ... 56
1
General Discussion / What are you doing now?
« on: December 01, 2013, 03:25:22 PM »
It's been a long time since this clan was active. What's everyone up to now?

2
General Discussion / x86 Midwest Meetup
« on: June 16, 2012, 02:34:26 AM »
Discuss!
















Kidding. I'm in Madison, WI and I can travel a few hours away. I'd be cool to plan a meetup some time this summer. Anyone interested in a midwest meetup please reply here and we can make a map of everyone and find a good centroid. Also reply with any un-available blocks.

3
Gaming / Star Wars: The Old Republic
« on: May 04, 2012, 03:38:55 PM »
I've been playing SWTOR. Who else?

One thing I find super shitty (or maybe I'm just dumb) is that you can't /friend someone unless they're online. Listing our toons here is completely useless, but anyhow..

Hashrocket (26 Jedi Sentinel) @ Wound in the Force
Bashrocket (~16 Jedi Consular) @ Wound in the Force
Crashrocket (1 Sith Inquisitor) @ Wound in the Force

4
JavaOp Board / A few changes..
« on: August 21, 2011, 01:55:06 AM »
Hello!

If you follow me on twitter, you certainly know that I was at a Ruby conference these past few days. As yesterday was Whyday, I decided to remove the ant build script and replace it with rake. This means two things:
  • Install JRuby, or you can't build JavaOp anymore.
  • Builds are a lot more awesome.

The ant script ran clean,build,jar on my MacBook Pro in about 8 seconds. Rake runs clean,build,jar in just under 13. You're probably thinking, "whytf did you do that, then?". Most of the startup time for rake with JRuby is loading a JVM (and using standard rake isn't an option for building Java projects). There's a neat project called Nailgun that keeps a server JVM running in the background. By typing 'jruby --ng-server &', you'll start up a Nailgun server, and then run 'jruby --ng -S rake clean build jar'. This still takes 13 seconds. However, JVM has been optimizing the compiler. Running it again only takes 7 seconds, so the ant script is outperformed after only two runs. The next takes 5 seconds. Do you see a trend? It's unlikely that I'll sit down, fix a bug, test, commit and push in one build cycle, and if I do, it only cost me an extra 5 seconds in build time.

Equally important, and much more important to users, is that rake is awesome for testing. I was using JUnit before, mostly to fix some CheckRevision bugs I made by testing local hashing directly against BNLS. JUnit is a real pain. I need to download the JAR, put it in the correct place, figure out dependencies and classpaths, etc etc, and maybe it'll run. Check this out:

Code: [Select]
[00:52:48] [william@enterprise ~/Documents/Git/GitHub/javaop2]$ jruby --ng -S rake test
Loaded suite /Users/william/bin/jruby-1.6.3/bin/rake
Started
Testing D2DV..  local: 573e1c0c, remote: 573e1c0c
Testing D2XP..  local: 7264e3da, remote: 7264e3da
Testing STAR..  local: -5bab8e79, remote: -5bab8e79
Testing W2BN..  local: -3122f25d, remote: -3122f25d
Testing WAR3..  local: 32a227d6, remote: 32a227d6
Testing W3XP..  local: 32a227d6, remote: 32a227d6
.....
Finished in 1.061 seconds.

5 tests, 15 assertions, 0 failures, 0 errors

This is really neat because now every time I run rake tests, it makes sure I didn't break CheckRevision. Unit testing is a Ruby philosophy, and being adopted in a bunch of other communities. Now, if I break CheckRevision (through any means leading up to the absolute result that gets sent to BNET), I'll be immediately notified. I'm sure this makes rabbit very, very happy.

Happy JavaOping.

5
General Discussion / Sup?
« on: July 30, 2011, 11:02:24 PM »
So, I forgot the forums existed for a few weeks and I come back and there are three new posts. THREE!

Then I post a thread much like this one, and then iago's server </life>'d and he rolled back the DB.

What's everyone's excuses for not posting!? :(

6
General Discussion / WWDC 2011
« on: May 12, 2011, 05:49:53 AM »
Just got my email last night with my invitation. Booking my flight tomorrow most likely. ^_^

http://developer.apple.com/wwdc/

7
General Discussion / Madison Wisconsin protests
« on: March 12, 2011, 06:51:45 PM »
I'm sure you've all heard about them. What are your thoughts, and do you have any questions as to what the media is telling the truth or lying about? (Hint: If it's Faux News, it's lying).

I'll be back. Afk, capitol.

8
JavaOp Board / Git Repository Information
« on: February 23, 2011, 01:39:08 AM »
What?! The project isn't dead?! No you fool! At least not this week!

I'm using Git for all of my school stuff and I like the system a lot better than SVN. Therefore, if I want to work on JavaOp without SCM getting in the way (at least, as little as possible), I need to use Git. K? K.

Github is a site that offers free hosting of public repositories, or for-pay hosting of private repositories. You can find JavaOp2 here, with instructions to check it out. As usual, if you feel you should have commit rights to the project, contact me.

The SVN repository will remain available as long as Google exists.

9
iago's forum / Vegan Tofu Burgers
« on: November 26, 2010, 08:33:51 PM »
http://savvyvegetarian.org/vegetarian-recipes/tofu-burgers.php

They taste pretty good. I just made some, but instead of the basil leaves I just used a quarter cup of dried basil flakes, mostly because that's what I had laying around. Toasted bun, lettuce and ketchup. Yum!

10
General Programming / iPhone / iPad Programming
« on: June 30, 2010, 04:11:10 AM »
Since I'm apparently not the only one interested in this anymore, I figured I'd make a thread on it. I've been working with Cocoa Touch and Objective-C for a few months and have one app on the App Store, and Newby's also starting.. probably much to his father's distaste.

A few course podcasts:
Stanford University (class website)
University of California - Davis
Madison Area Technical College (advanced iPhone development)

I'll be taking the class featured in the third podcast during spring of 2011. If anyone is interested in getting started, head over to Apple's developer website, create a free account and download the SDK. Oh, and you have to have a Intel-based Mac, but if you don't suck at life, you already have one.

11
JavaOp Board / JavaOp 2.1.3 (r60) released!
« on: June 19, 2010, 11:54:33 AM »
Last release: January 19th. 5 months to the day. I push releases faster than the entire Ubuntu team!

General:
This is the "Snow Leopard" of JavaOp. Hardly any new features, but the bot is overhauled to be harder, better, faster, stronger.  Some key issues addressed are enhancements to SwingGui for OS X, and general fixes to many issues. I also removed a ton of old debugging code that was spamming the console. Also, with StayConnected, the bot should be 100% more robust. Finally, this version has timewarp powers. When I said back in February that the 2.1.3 would be released that Wednesday, I meant it. You're all just crazy.

Core:
users.Statstring: Removed debugging messages of raw statstrings, and checking for general bad data (NullPointerException's)
users.War3Statstring: Checking for bad data (NullPointerException's), changed icon resolving to using a dictionary which should highly optimize it. If that's not true in Java, blame MyndFyre for misleading me.

AutoRejoin:
Renamed from Auto-Rejoin.

ChannelProtection:
Renamed from Channel Protection.

BnetEventProcess:
Renamed from SimpleEventProcess.

BNetLogin:
versioning.Game: Removed left over CD-Key debugging output.
versioning.GameData: Allowing customization of the hash file directory. Please delete your current _GameData.txt file if you use local hashing.
cdkey.Alpha26Decode: Fixed a critical error that caused 26 character keys to not work. Also, fixed the key translation tables to fix the product value errors. (This was also fixed in a new BNetLogin for 2.1.2)
cdkey.Decode: LoginExceptions have been replaced with an IllegalArgumentException. I could say that it's because bad cdkeys are illegal arguments, but it's really so I could...
cdkey.Decode: Added a debugging method for printing key's values.
util.ServerSignature: Since the SID_AUTH_CHECK class was getting messy, all code related to server signatures has been moved to this class, so now validating the signature takes one line of code.

GlobalCommand:
Renamed from Global Command.

SwingGui:
JavaOpFrame: Now using native look-and-feel.
JavaOpPanel: Added margins to the ColorTextPane. Added customizable font. Check for it under global preferences.
JavaOpPanel: Caught exceptions won't be displayed if minimum display level is below Error.
JavaOpPanel: Font sizes should now work. Reported by sm3.
GameIcons: Fixed issues where some game icons wouldn't show up.

StayConnected:
Finally fixed the plugin. Finally!

Under the hood:
- All revisited code will conform to my personal coding standards: line maximum of 80 characters, and curly braces go on the same line as their opening statement and following catch / else statement, except where their opening statement is more than one line long.
- All revisited code will have generics removed. It leaves the code open to bad plugins, etc.
- Removed all jardesc and manifest files. The bot is built using a new Apache Ant script, which I wrote in about 15 minutes.
- All plugins now run in their own namespace. The main class no longer has to be PluginMain -- it's specified as Main-Class in the JAR's manifest. I can't believe I did all that by hand.

12
Joe's Bunker of Pie / New acquisitions
« on: May 27, 2010, 07:59:04 PM »
Today I decided to browse craigslist to see if I could find any good deals, and it just so happened I did. A drive to Madison, $65, and a few hours later, I'm the proud owner of two new (old) computers:

iMac G4
1GHz PowerPC G4
768MB DDR SDRAM
80GB Hard Disk
GeForce4 MX (32MB VRAM)
White Apple Pro Keyboard, Apple Pro Mouse (to be replaced by a two-button mouse..)

PowerMac G4 (tower)
400MHz PowerPC G4
320MB SDRAM
10GB Hard Disk
ATI Rage 128 Pro (16MB VRAM)
Graphite Apple USB Keyboard, Apple USB Mouse (hockey puck)

Time to clean my desk and set up the tower. More after the break!

The tower isn't as impressive as I'd hoped. It'll find shelter in my closet along with my iMac G3's. Time to reformat the iMac and load it with stuffs!

13
Tutorials, References, and Examples / [PHP] Organizing a JSON Array
« on: April 12, 2010, 02:46:52 AM »
This is a neat little script that'll take a series of array objects, such as coordinate pairs, [123,123] and take all the nonsense out, and format them pretty, 4 to a row, lined up with tabs. I'm using it to get all the coordinates of mining nodes off of WoW head into an array for.. purposes. :) This could pretty easily be changed to sort any kind of array, though.

Code: [Select]
<?php

    
if(!isset($_POST['array'])) {
        
printf('<form act=' $_SERVER['PHP_SELF'] . ' method="POST">');
        
printf('<textarea name="array" cols="100" rows="25"></textarea><br />');
        
printf('<input type="submit" name="submit" />');
        
printf('</form>');
    } else {
        
$data str_replace(" """$_POST['array']);
        
preg_match_all("(\[.*\],)"$data$data);
        
$data explode("],["implode(""$data[0]));
        
        
printf("<pre>");
        for (
$i 0$i count($data); $i += 4) {
            
printf("[%s],\t",  $data[$i 0]);
            
printf("[%s],\t",  $data[$i 1]);
            
printf("[%s],\t",  $data[$i 2]);
            
printf("[%s]\n"$data[$i 3]);
        }
        
printf("</pre>");
        
    }
    
?>

14
General Discussion / Official April Fools Day Thread
« on: April 01, 2010, 03:06:52 AM »
Google: [spoiler]How long does it take for your search to execute?[/spoiler]

xkcd: Command-line interface! If you want to know all the commands, I cleaned up most of the JavaScript. I especially like [spoiler]sudo make me a sandwich.[/spoiler].

YouTube: High resolution text-only videos.

x86: We're not kicking Newby out this year.

Battle.net: Matchmaking service.

Pages: [1] 2 3 ... 56