Archive for category Code
My PC is now a Hac Pro
Since I’ve been using my MacBook Pro so much recently I decided to go ahead and turn my custom-built desktop PC into a Hackintosh, in this case Hac Pro. While this took several attempts I finally got it working thanks to all the great work over at InsanelyMac.
I started out following this Asus P6T Deluxe V2 guide, but then ultimately opted for an iBoot + MultiBeast install giving me a more current version of Chameleon, core kexts, useful utilities, and most importantly a working ATI injector for my Radeon 5870. Then I added in by hand some of the kexts for my hardware (ethernet, audio, etc.) from the Asus P6T Deluxe guides.
So far it’s running like a champ; all the Apple software works like I’d expect and anything stressing the hardware (like games) seem at least as fast as they did in its previous life under Windows 7. Good times!






New quad boot MacBook Pro with i7 and SSD is fast
I picked up a new MacBook Pro on Black Friday, indulging in the 15″ high-res anti-glare 2.8Ghz i7 with 8GB of RAM and an OCZ Vertex 2 SSD this time around. Wow does the SSD make a difference not only for general use but especially during more dev-oriented tasks like running a complex Ant build or doing most anything in Eclipse. It’s now at the top of my list of how to make a dev environment faster! And having a Core i7 640M with HyperThreading makes CPU-intensive tasks perform quite respectably for a laptop (a much needed upgrade from the Core 2 world), though still slightly trailing my now-aging desktop’s Core i7 950. Along the way I found a great MacBook Pro quad boot guide (complete with loads of pictures) which is similar to the strategy I used to triple boot my last MacBook Pro and worked perfectly to get me running again with Windows 7, Windows XP, Mac OS X, and Ubuntu in one pass.
GXT: not even once
I haven’t posted on GXT in a long time but while discussing its pitfalls with some new teams the other day one of my colleagues came up with a great analogy. Really, GXT is like Meth: you only realize how bad it is once you’ve used it and suffered the consequences, but really we want people to take our word for it and be spared that pain! Hence anyone’s who’s found themselves in the bowels of debugging some terrible, blue GXT widget will appreciate this! Thanks to The Meth Project for helping me out.

CSS string truncation with ellipsis
Having written much string truncation logic in JavaScript, or in the case of GWT, in Java that becomes generated JavaScript, I was really excited to find this CSS truncation with ellipsis solution that works cross-browser. For bulk rendering operations like truncating every cell in a huge table (hundreds or thousands of rows) this works much better than measuring the rendered element and updating the contents which is what many of the traditional approaches come down to.
Illustrated introduction to html5 web workers
I enjoyed this fairly accurate and entertaining illustrated introduction to HTML5 web workers. Thanks Mark!
Recent Comments