Author Archive

Linked

I just finished a book called Linked. It’s a book about network theory and covers a wide variety of topics very quickly. It’s not incredibly long but I found it very interesting just because of speculation I’ve done over the years.
Sometimes, I’ve wondered if the patterns I see in some subject translate (either […]

Scroll Lock Button on OSX

Here’s an esoteric fix for something I wanted to do. In WoW, right click will move the camera. For some reason, when hosting synergy on the Mac (as the server) and connecting a Windows client, the right clicking gets whacked. It works fine the other way (don’t ask me).
So I want to […]

Synergy2 mouse centering

Synergy is a great tool for sharing multiple screens (reverse KVM) but for some reason lately I’ve noticed that if I’m physically on the center screen, then the mouse recenters occasionally. It’s pretty annoying.
I turned on debug log and looked in ~/Library/Logs/synergyd.log. I found this:
2007-10-04 22:12:11.894 Synergyd[337] DEBUG: dropped bogus motion -840,-526
I searched […]

Ports being weird.

When I typed port, portmirror or anything related to darwinports (macports), I got a strange error with no google hits.
# portmirror
can’t find package macports
while executing
“package require macports”
(file “/opt/local/bin/portmirror” line 11)
stormbringer:~/phonedmg root# port
can’t find package macports
while executing
“package require macports”
(file […]

Fink OSX

I wanted lua installed on my Mac for some gamedev tests … darwinports didn’t give me a warm fuzzy. In uninstalled DarwinPorts with:
sudo rm -rf /opt/local /Applications/DarwinPorts /Library/Tcl/darwinports1.0 /Library/StartupItems/DarwinPortsStartup
And then downloaded fink (the universal binary). After installing the rather large 17mb package, fink wasn’t working. First the path /sw/bin wasn’t added to […]

Freedom Systems vs Safety Systems

Code Craft had an extremely intuitive post about Freedom Languages vs Safety Languages. He covered what is popular vs what is fringe, where the party-lines are drawn and (imo) almost made an analogy for safety within the USA.
I’ll sum it up: You’re safe or free but rarely absolutely both.
So of course, me, […]

Parabola

My goal was to create the curves above. I knew if I could draw it then I could move a box or game object along that path. It took me about two weeks of casual time and many math questions posted to yahoo answers.
The problem is, implementing a math formula in C++. […]

Macbill Intel

No credit go to me, everything goes to Macbill. I couldn’t get it to build a ubin for the Macbill source and I couldn’t find one anywhere.
So here’s Macbill for Intel.

Upgrade fest.

Following an upgrade guide on gentoo’s lovely doc site. GCC was majorly out of date (3.3 to 4.1.1) and hopefully you can still read this after all is said and done.
Right now, apache is in a weird state and I need to emerge a ton of crap:

# /etc/init.d/apache2 restart
* Apache2 has detected a […]

lstat test

Following an interview question that was extremely hard I went to `man lstat’ and tried to code up a test just based on system documentation. It was not entirely successful, however after a tip-off from an online resource I came up with this.