April 2010
28 posts
4 tags
gMap: A Google Maps Plugin for jQuery →
Display a google map with one line of javascript: $("#map1").gMap({ markers: [{ latitude: 47.660937, longitude: 9.569803 }] });
Apr 28th
3 notes
1 tag
“Reading existing code is a lot like going to certain modern art exhibitions; you...”
– coderoom (paraphrased)
Apr 27th
3 notes
1 tag
7 Reasons To Hate Your Code →
Incompetence is the cause of many ills in the software world, but increasingly I’m seeing a certain kind of competence as being just as destructive. You see, there are a lot of programmers who care deeply about their code. I did, but it turns out there are good reasons we shouldn’t do that; reasons why we should hate our code… via coderoom
Apr 27th
3 tags
17 New Features in Visual Studio 2010  →
 via Vikram Lakhotia
Apr 22nd
2 notes
2 tags
Apr 22nd
2 tags
Using the StopWatch Class to Calculate the... →
Example: Stopwatch sw = Stopwatch.StartNew(); for (int i = 0; i < 1000000; i++) { string str = "string"; } sw.Stop(); Console.WriteLine("Time Spent : " +sw.Elapsed.TotalMilliseconds.ToString());
Apr 21st
6 notes
2 tags
New: Tumblr blogs now come with an optimized...
What I’d really like is to be able to define my own mobile theme. staff: Your blogs now comes with an optimized iPhone layout! And a damn nice looking one at that. This should be a huge improvement when browsing Tumblr blogs from the iPhone — and we’re building similar views for BlackBerry’s, Android, and more. Stay tuned. If your theme already looks great on mobile devices, you can...
Apr 21st
2,539 notes
3 tags
“When you declare property as virtual beware that custom attributes won’t be...”
– Denis Vuyka
Apr 20th
2 tags
Apple Proves the Gizmodo "Next iPhone" is the Real... →
It looks like gizmodo’s “Next iPhone” is genuine. Apple seems to have proven that by asking for it back. Silly Apple.
Apr 20th
2 tags
Apr 20th
43 notes
4 tags
Free Lonely Planet City Guides →
It’s a little off topic but it’s about free stuff! In response to the widespread chaos caused by the eruption of Iceland’s Eyjafjallajokull volcano, Lonely Planet is offering 13 of its European iPhone guides free. “Travellers stuck in unfamiliar places need access to practical information as well as suggestions on what to do whilst stranded”, said Tom Hall, Lonely Planet Travel...
Apr 20th
4 tags
Pure JavaScript HTML Parser →
Have you ever needed to process invalid HTML as XML? Then Pure JavaScript HTML Parser by John Resig can help. It handels common errors like like unclosed tags, attributes without values (like checked), and empty elements (like the img tag).
Apr 19th
5 tags
SproutCore Touch (iPad/iPhone support) →
Build fast and responsive touch application using HTML5. The SproutCore framework now includes support for touch events and hardware acceleration on the iPad and iPhone. Be sure to check out the documentation for a full overview.
Apr 19th
2 tags
HTML5 Readiness Chart →
ultimatenerd: Awesome visualization of which browsers are prepared to handle which HTML5 features. Must-see for any UI dev. (via @paul_irish)
Apr 18th
6 notes
3 tags
31 jQuery Snippets That Will Help Make You A... →
via siliconchaos
Apr 15th
4 notes
6 tags
Going Native with PhoneGap →
A chapter form the book Building iPhone Apps with HTML, CSS, and JavaScript on building a native iPhone app using PhoneGap.
Apr 14th
1 note
2 tags
Recommend Me?
If you’ve liked my posts, or you think kittens are cute, please do me a solid and recommend me to the Tumblr directory as a Software Developer. It would make my day!
Apr 14th
3 tags
Apr 14th
3 tags
Apr 14th
2 notes
4 tags
C# 4.0: Covariance And Contravariance In Generics  →
Covariant: MyClass<out T> The ordering of the generic types follows the ordering of the generic type parameters. Generic<T> ≥ Generic<S> for T ≥ S. A generic type parameter marked with the out keyword can only appear in output positions such as read-only properties and return values. Contravariant: MyClass<in T> The ordering of the generic types is reversed from the...
Apr 13th
2 notes
3 tags
“Programming language people have a term for making the syntax of a language...”
– Phillip J. Windley
Apr 13th
2 tags
The 1KB CSS Grid Framework →
saschisch: Other CSS frameworks try to do everything—grid system, style reset, basic typography, form styles. But complex systems are, well, complex. Looking for a simple, lightweight approach that doesn’t require a PhD? Meet The 1KB CSS Grid.
Apr 13th
6 notes
3 tags
WebSphere MQ Connection Pooling in .NET and... →
Anyone who has ever used the WebSphere MQ API for .NET knows that IBM doesn’t provide MQ connection pooling for .NET like it does for java implementation. If you’re writing a multi-threaded application (or ASP.NET web application) you’ll probably find the MQPoolManager class from the Nesterovsky Brothers helpful.
Apr 12th
26 notes
2 tags
Apr 12th
1 note
2 tags
Apr 12th
1 note
3 tags
Comma-First JavaScript
At first I was a little skeptical about putting commas first but now that I’ve seen the code from Rhyan Dahl, I’m convinced. Just look at how easy it is to spot the error in the Comma-First example. Standard Style var a = "ape",   b = "bat",   d = "dog"   e = "elf",   f = "fly",   i = "ibu"; Comma-First Style var a = "ape"   , b = "bat"   , d = "dog"   e = "elf"   , f = "fly"   , i =...
Apr 8th
5 tags
Open Data: The City of Edmonton →
The City of Edmonton now offers data in an open format through a hosted API. Right now, the data they provide doesn’t seem that useful but the program is still in a ‘community preview’ phase, so hopeful that will change. My suggestions would be to include: More ETS data, right now they only offer bus stops. Property assessment data. Data from the EPS Crime Map A listing of...
Apr 8th
1 note
4 tags
CSS3 + Progressive Enhancement →
It’s amazing what you can do now with CSS3. This article provides great examples and shows you how to make new features as backwards compatible as possible.
Apr 6th
5 notes