Profile cover photo
Profile photo
Bryan Klimt, Jr.
Bryan's posts

Post has attachment
How do you like to connect your website's UI to your JavaScript data model?
No votes yet
votes visible to Public
unidirectional data flow (e.g. react)
two-way data binding (e.g. angular)
whatever, i just write code

Has the Google app for iOS always let you pop the letters off into a physics simulation? Coolest doodle ever!

Post has attachment
In Part I of our five-part series on Parse Security, I talk about what the different keys can do, and why you should care. #parse   #cloudcode   #security  

Post has shared content
Militarizing the police is dangerous. These swat tactics are not appropriate for the situations where they are used.

This is one heart-rending anecdote.  I encourage you search for [radley balko] and read any of his long-form articles with data about the awfulness of turning the "war on drugs" into a literal militarized war.

Google Now recommended I watch Two and a Half Men, so I uninstalled it. 

Post has attachment
Business Insider recently posted an entire article on the thoughts of a former Google+ engineer, where he quoted insiders with such insightful comments as “f*** off”. When I read it, I thought “Hey, I can do that.”

Post has attachment
I learned me some Haskell this weekend using the wonderful little website and writing a script to generate some English-looking words from a Hidden Markov Model.

As a former Lisp programmer, I appreciate the fully functional nature of Haskell, but I found it too strict to write my code efficiently. I wanted to essentially do a map-reduce on a large text file. That means mapping, then sorting, then reducing. The sorting is actually the trickiest part to do efficiently. Even with Haskell's lazy list processing, there's no way it can return the first item in a sorted list of lines in a file unless it reads in the whole file. So if you have a file that's larger than memory, what do you do? You can start doing things somewhat non-functionally by using Monads, but at that point, you're cutting against the grain, and it's not clear what value you get by using Haskell.

With a procedural language like python, the natural algorithm isn't even a sort exactly, because you can put things into a map as you go, and you never have to keep the whole file in memory. Maybe that's the right way to do it in Haskell too, but that feels pretty side-effecty.

I guess this means I chose a poor project to use for learning Haskell. Either that or I'm missing something fundamental about how to write efficient Haskell.

Post has attachment
Bravo! I just said this at my phone and it nailed it. Now if it had just had the confidence to say the title out loud, it would have been a total Star Trek experience.

Post has shared content
I am in favor of this, for the same reasons. Sadly, the lightning cable does solve the "fourth dimension" problem of USB, but at too great a cost. And I'm tired of having 3 different cables for my 3 different iDevices.
Europe is going to require phones to use Micro USB, so Apple can no longer use their proprietary "Lightning" connector.

Libertarians will no doubt decry heavy-handed government regulation creating obstacles to innovation.  But, is "Lightning" really about innovation?  Sure, it may be slightly more convenient in that you don't have the 4-dimensional USB problem (  But a quick glance at the Apple store is illuminating...

That's $30 for a 2m cable.  Thirty.  F---ing.  Dollars.

Compare to an equivalent micro USB cable:

Yes, 84 cents.  So, Apple is charging a 3500% markup on their cable.  That's pure profit.  Well, other than the extra money they spend to embed a microchip in every cable for the sole purpose of ensuring that third parties cannot sell unauthorized competing cables.  Yes, really.

This behavior isn't limited to Apple.  Google's Chromebook Pixel power adapter costs a whopping $54:

The trouble is, when buying a phone, or a laptop, few people will take into consideration price of accessories.  It's only after they've made their purchase that they discover these things, and at that point it's too late.  Companies can charge absurd prices here without losing customers, so why wouldn't they?  But, you can't charge an absurd price for a standard adapter or cable, because then you actually have competition.

The whole reason that most phones use Micro USB today is because the EU pressured companies to do so back in 2009.  I had thought that they had actually mandated it then (with Apple getting around the mandate by including an adapter dongle with every iPhone), but according to Wikipedia the previous rules were merely "voluntary":

Nevertheless, the EU's previous actions are why I can now buy phone chargers and cables by the dozen and liberally litter them around my house, and I can't tell you the number of times I have consciously thanked them for it.  This, I think, is a shining example of where regulation is clearly beneficial in correcting a market failure.

h/t +Jake Weisz 

Post has attachment
I'm happy to announce that Land the Eagle is now available for download from the Apple App Store for iOS, the Google Play Store for Android, and the Windows Phone Store for Windows Phone 8.

As you may recall, this app started as an experiment (inspired by Flappy Bird) to see how quickly I could build the most minimal possible game that I would be proud to put on the App Store. It doesn't require any login, doesn't have any ads, and doesn't track any data about you. While I was waiting for it to be approved, I even ported it to Android and Windows Phone!

So now's the part where you come in. Download the game from the link below and try it out! Then leave a review telling everyone how much you love it. Share it with your friends. Let's see how many hours of enjoyment we can eke out of the 40 hours or so I spent making the game.
Wait while more posts are being loaded