programming is terrible: A lifetime of terrible code

programmingisterrible:

Although many entries posted here are far from optimistic, and often glib criticism dressed up in technical jargon, they don’t always come from a position of arrogance. It is not that my code is devoid of mistakes, but understanding the mistakes of others has given me a perspective I wouldn’t be…

Maybe this feeling can be a force for good after all.

Apple’s New Objective-C to JavaScript Bridge

A few month back, Apple quietly slipped a very nice Objective-C to Javascript bridge into WebKit. Since the first commit while we were busy celebrating New Year’s Eve, it has been fairly actively developed and improved. This new API supports straightforward embedding of the JavaScriptCore interpreter into native Objective-C projects, including reading and writing variables and object members with appropriate type coercion, calling methods on JavaScript objects, and directly binding Objective-C objects into JavaScript.

Check out the full article on our blog at: http://www.steamclock.com/blog/2013/05/apple-objective-c-javascript-bridge/

Here is a direct download of the code: https://github.com/steamclock/javascriptcore-api-test/archive/master.zip

And here’s the repo if you want to do a proper clone, fork, etc. https://github.com/steamclock/javascriptcore-api-test

Windows is dying. Please let it.

lucisferre-notes:

This was a tweet I deleted because I wanted to expand a bit more.

I’ve been saying it for quite a while, that Windows is dying, not yet dead but definitely dying, and slowly and painfully. MS needs scrap the core and build on *nix just as Apple (and everyone else) does now. There is absolutely zero core competitive value in the Windows kernel. In fact, there hasn’t been for a long, long time now. The internet and the web have absolutely guaranteed that. In hindsight it’s clear just how colossal a mistake Microsoft made by treating open source as a threat rather than it’s greatest possible ally (not unlike the mistake of seeing the internet as irrelevant, and yes, probably also a threat).

MS used to represent the future of software, they were the PC revolution. Here’s hoping they will move on from what to us outsiders just seems like prideful intellectual protectionism and start creating the future again.

speaking of expanding on tweets, I absolutely hate tumblr. Any suggestions for alternatives?

Windows doesn’t have to die necessarily - I’d like to see there stay a range of operating systems so that the market is competitive. However, there’s nothing untenable about gutting the beast. Yes, MS developers, it’ll be a huge project and a long haul but it’ll end up being worth it.

Yes, IT admins are going to be grumpy as this basically gives the finger to backwards compatibility. Include some good virtualization?

I think my main concern for the end users is keeping the user experience consistent, which has already been a bit of a challenge with trying to introduce long-time users to the Metro-style flat, modular interface that is so different from all the versions that came before. Most Windows users I know abort that UI in favor of the desktop still. 

A bold move for MS, but: No risk, no reward, and Windows has been falling out of favor slowly for some time with professional developers. I can count on my hand the MS fans I know that prefer to develop on Windows - note that I’m referring to their personal preference, not what they’re told to use at work. We all know that you do what you have to do at work; sometimes your toolchain is prescribed and you don’t get a lot of options.

Party Monster Featured in US, UK app stores and mentioned by Daring Fireball

Hey friends!

BAM. PARTY MONSTER.

image

If you click on the giant icon, you’ll end up at the app store. Y’know, in case you decide to give Party Monster a try.

It’s been a crazy few weeks for our app Party Monster at Steamclock Software.

First, we were featured in New and Notable in the US app store.

image

Then, Apple contacted us for some promo assets and then we found ourself featured in a prominent banner in the US app store.

image

Then, we noticed that we were featured as a must-have app for roadtrips in the UK app store.

image

Then (that’s right, there’s more) we were blogged about by the notable John Gruber over at Daring Fireball.

Now, we’ve climbed the ranks in some of the app stores considerably.

US:

image

Canada:

image

Germany:

image

UK:

image

We’re now in the Top 10 for several major stores. It’ll be interesting to see what happens over the next few days.

programming is terrible: ICFP 2006 and The Cult of the Bound Variable

programmingisterrible:

If you’ve ever wondered what a programming competition would look like if it was more like a game than a textbook exercise, then the ICFP 2006 contest may interest you.

Every year the International Conference on Functional Programming runs a programming competition, announcing the winners at…

Having fun as a priority is glorious when you can get away with it. Maximize attention and maximize the propensity for learning, retention, and innovation. 

I would have loved to play this game - er, competition.

Undefined: Who are my Yoda? [Part 1]

pazguille:

Yoda image

Yoda is a powerful Jedi Master in the Star Wars universe and I think there are many Jedi Masters in the Web universe.

What the fuck? Are there Jedi Masters in the web? Yes! People who I admire, inspire me and teach me.

So, here is a list of my Jedi Masters:

I feel extremely honoured that someone would describe me as ‘a Yoda’ especially alongside some of these same people who I look to for guidance when it comes to development best practices and JS comprehension in general.

I still feel like I’m a young padawan but I’m definitely not a beginner. What’s the term for ‘intermediate Jedi’? Is there one? Star Wars canon aficionados, help me out! 

Regardless, I’m glad that the contributions I put forward are making a difference. I’ll definitely own that one.

I figure if I just keep the conversations and experiments going that I’ve started about and with JavaScript, I’m on my way to Jedi sometime in the future.

Hello (again) world.

Every now and again I’d get the idea in my head that I should have a blog again.

I used to have one, a long time ago, but it went away because it’s time had passed.

But lately, I’ve been feeling like I have a lot more to say and no place to put it. 

So I’d get this idea, like I said, and start designing and building something from scratch because the internet is my craft and I can’t help myself. That’s just what I do. But I’m never happy with the result because I’m the pickiest when I try and create anything that is supposed to express myself.

So instead, I surrender, and now I’m on tumblr. I guess all I have to do now is figure out how to best manage insertion of code snippets and I’ll be on my way.

Hello (again) world. Did you miss me?

- A