me.opengroove.org
javawizard: 2009-08
http://me.opengroove.org/2009_08_01_archive.html
A test blog post. I'm posting this with a GNOME applet to see if it works. So everyone can pretty much ignore this post. UPDATE: it appears to work, except that it doesn't place the title correctly. Subscribe to: Posts (Atom). View my complete profile. A test blog post. All Hail the Crazy One.
me.opengroove.org
javawizard: 2010-01
http://me.opengroove.org/2010_01_01_archive.html
JZBot now supports BZFlag. This is about a week late, but JZBot can now connect to BZFlag. Servers. If you're a bzflag server owner and want a bot at your server for some random reason, you can download JZBot at http:/ jzbot.googlecode.com. Or join irc.freenode.net #jzbot and ask for help. Geeky to the Max. C0BALT I also use OCR from MSPaint when I’m really getting serious about coding. Limp Trizkit oh, when i’m really serious, i pull out my screwdriver and some magnets. C0BALT I never thought of that!
me.opengroove.org
javawizard: Parcon: a new parser combinator library
http://me.opengroove.org/2011/06/parcon-new-parser-combinator-library.html
Parcon: a new parser combinator library. Parcon is a Python parser combinator library I'm working on. I've released it on PyPI here. I've also released Pargen, a formatter combinator library, as a submodule of Parcon, but I'll write a separate blog post on Pargen later.). Expr = "(" ZeroOrMore(Literal("a") "b") ")". Expected ")" (at char 2), (line:1, col:3). This message omits information: "a", "b", or ")" would all be valid characters here, but only ")" is shown. The corresponding Parcon grammar:. This ...
me.opengroove.org
javawizard: PyParsing examples in Parcon
http://me.opengroove.org/2011/06/pyparsing-examples-in-parcon.html
PyParsing examples in Parcon. A lot of people at #python have encouraged me to port some of PyParsing's examples to Parcon, so I've decided to write up a blog post with some of those examples. Some of them parse the same input but produce output that's slightly different from what the corresponding PyParsing example produces; such differences are noted accordingly. Let's start with PyParsing's hello, world. From parcon import alpha word. Greet = alpha word "," alpha word "! Hello = "Hello, World! Print c...
me.opengroove.org
javawizard: 2011-01
http://me.opengroove.org/2011_01_01_archive.html
This is really short because of the time, but I just found out that Gnome's keyboard switcher uses XKB's notion of groups internally. If you have USA as your first preference and United Kingdom as your second preference, it maps UK in as Group 2. This messes stuff up if you've doctored up your own custom symbol file that uses multiple groups. I just spent a good day trying to figure out why this didn't work, and it turns out it's because of that. Threading, locks, and Tkinter's after idle. Not the most u...
me.opengroove.org
javawizard: JZBot now supports Facebook!
http://me.opengroove.org/2010/02/jzbot-now-supports-facebook.html
JZBot now supports Facebook! I finally got Facebook support for JZBot/Marlen working! If you have a facebook account, add Marlen as a friend and start chatting. Marlen's Facebook profile is here. Subscribe to: Post Comments (Atom). View my complete profile. JZBot now supports Facebook! JZBot now supports XMPP/GMail. Another awesome ThinkGeek shirt. How to date a geek guy. All Hail the Crazy One.
me.opengroove.org
javawizard: 2009-11
http://me.opengroove.org/2009_11_01_archive.html
To my web server. Anyway, the alternative is called SuperTunnel. There are three main differences between SuperTunnel and HttpTunnel:. HttpTunnel has a tendency to get packets out of order when processing high-volume traffic. This caused SSH to repeatedly crash when I would use it to forward ports over HttpTunnel. SuperTunnel does not do this; I've verified that it works when both downloading and uploading data as fast as SuperTunnel will send and receive it. Subscribe to: Posts (Atom).
me.opengroove.org
javawizard: 2010-02
http://me.opengroove.org/2010_02_01_archive.html
JZBot now supports Facebook! I finally got Facebook support for JZBot/Marlen working! If you have a facebook account, add Marlen as a friend and start chatting. Marlen's Facebook profile is here. JZBot now supports XMPP/GMail. As usual with my posts, this is probably 2 weeks late, but JZBot now supports XMPP (and therefore GMail Chat)! Another awesome ThinkGeek shirt. Is now my favorite ThinkGeek shirt ever. But yeah, that's my only real gripe against ThinkGeek, is that almost all of their foodstuff is c...
me.opengroove.org
javawizard: 2009-05
http://me.opengroove.org/2009_05_01_archive.html
Compiz and vanished animations in Jaunty. I figured I should probably mention this in case anyone has this problem and is stupid enough not to see the solution like I did. I recently upgraded my system to Ubuntu Jaunty, and noticed that a ton of window animations in compiz had disappeared. This, of course, frustrated me, as the burn animation is my personal favorite and the one I use on all normal windows. Download all four source code files, compile them, and run TrayTimer. Or you can svn export. You ca...
me.opengroove.org
javawizard: 2009-09
http://me.opengroove.org/2009_09_01_archive.html
I just got back from a party where a friend of mine told me the classic "Airplane seating problem", and the resulting answer. The answer was somewhat hard for me to believe, so, since I had brought my laptop, I pulled it out and spent 10 minutes writing this program to simulate the airplane problem. It turns out that the answer he had told me is correct. I'll be darned. Import java.util.Random;. There's a common puzzle that goes something like this: There's a plane that. Private static int seatcount;.