C#
‘Nuff said.
Detecting hardware type (MonoTouch)
5The MonoTouch wiki lists a snippet used to detect which hardware is being used at runtime – but it hasn’t been updated since iPhone 3G. This means no iPhone 3GS, iPhone 4 or iPad.
Code after the break; Kudos to the MonoTouch team!
UPDATE: Added iPhoneSimulator, iPhone4Simulator and iPadSimulator.
ANOTHER UPDATE: Fixed some identifiers. Sorry about that.
Trafico en el iPhone
15Hace varios meses publique como ver el trafico en el iPhone, usando el navegador Safari. Esto llego a ser muy molesto ya que despues de hacer varios cambios, los usuarios tenian camaras inservibles… en fin, fue un desmadre.
Ahora regreso con una aplicacion nativa para el iPhone cuyo nombre es muy creativo y original: “Trafico.” Esta aplicacion te permite ver el trafico en varias zonas del D.F. y en otras ciudades de la republica. El link del AppStore es el siguiente: http://www.tinyurl.com/traficomex. Si quieres ver screenshots, entra al AppStore.
Compiling Mono SVN on Slicehost/Rackspace Cloud
5The following should do the trick. This is an update from my old Mono script. Disclaimer: If your system explodes, your cat dies, or anything else happens because of this script, I am not to blame. If everything works though, I’m always here. Hugs.
Optimization
0I needed to optimize a function for my neural network. How hard could it be? It’s only one function, and it’s <5 lines at that…
After spawning a huge thread, I’m left to wonder: why didn’t I continue learning ML after my functional languages class? Blargh!
Benchmarks after the break… (more…)
Windows XP Registry Hacks
1I finally graduate in about 2 months. However, much to my dismay, I have to finish my social volunteer work. No, I didn’t do anything weird – it’s just a graduation requisite. I’ve been working at my university’s computer division, so I’ve had to format anywhere between 4 and 15 laptops every day. Yes. Every. Single. Day.
Unfortunately, most of the laptops are Dell C610s – in other words, 1GHz, 256MB RAM and they’re running Windows XP. You can probably tell that it’s very fun to optimize each system. (I’m proud of myself, they run pretty nicely for the low specs they’re sporting…)
With this in mind, I decided to code a .NET 3.5 application (free, of course) that does the job for me and also manages to be fully extensible through the use of a text-based hack database.
If you’re interested in downloading it, give it a go here. Read more if you’re interested in some of the example hacks, as well as the database specification.