HNHacker News
TopNewBestAskShowJobs

tjarratt

398 karma · joined May 29, 2009

Just a dude, writing iphone apps, researching, investigating. Software Engineer by vocation, Mathematician by avocation.

Currently hard at work on a webapp to aid in running collaborative table top games (D&D, Settlers, et cetera).

You should shoot me a line if you're interested in node.js, jquery, obj-C, python, ruby, rails, or using any of the above together. myHNusername atsign gmail.com

or find me at the iphone developer meetup in scenic San Francisco!

submissionscomments
tjarratt··on Developing on WP7 vs Android vs iPhone
Agreed.

I could never find an IDE for java I liked on OS X. Eclipse is ugly, buggy and crashes every few hours. NetBeans is better, but not by much.

tjarratt··on Hot Startups Lack Female Employees (even as applicants)
I've often heard companies saying they would love to hire more women, but they lack the applicants. Can anyone that handles hiring for a company speak out on even the perceived ratio of applicants?

For what it's worth, I recently recommended my old boss at an unnamed large company in Silicon Valley hire a female colleague for a technical position I used to hold. If they won't apply, recommending a job to a woman you know is the next best step.

tjarratt··on Mormon Church website a good example of SEO
I'm having trouble finding any other churches that exhibit good SEO practices. The catholic church doesn't have such a strong presence, the closest I can find is the westboro baptist church.
tjarratt··on Fish sucks (but your shell sucks more)
I agree completely. Every time I demo some code, people remark at my zsh setup (which I cloned from an article posted here some time ago). Unfortunately, when I suggest they do some customizations themselves, they make excuses and complain that they don't have any free time.

This is completely backwards. If setting up a good shell saves you several seconds per command, then you're saving minutes every day, and several hours a month. I probably spent 30 minutes configuring zsh initially, and I occasionally spend a minute here and there tweaking small things (or not, if it looks like it will be too much trouble), but the payoff is worth it in the end.

The moral of the story is try things, it really isn't as hard (or time consuming) as you think. If it is, then give up and do something else (or try later).

tjarratt··on Avoiding Burnout in a Software Startup
This is good advice for starting a day, or ending a day. So many times when I get home from a long day I think I'm too tired to get any work done, but after a 30 min run or bike ride, my mind is ready to start hacking on a project again.

It's also not a bad idea after lunch. It's 4pm here and I just got done doing some pushups. Looking forward to doing some more before I leave.

tjarratt··on Inside Rockst*r Games
You would be surprised how many known bugs an average game has when it ships. I'm sure the last week before GM is a very hectic week for those individuals that are determined to increase quality without breaking the game, but there are only so many hours in a day.

Also, I think you confused Bethesda with Obsidian Studios. They both ship buggy code, but fans seem to be more forgiving of Obsidian.

tjarratt··on XSS vulnerability found in Github

     |In my opinion, that is how a "good", company would react. 
This is (more or less) how Github has reacted to security issues in the past. However, at the moment this seems to be a fairly small exploit, that wasn't aggressively used by any would-be exploiters. I definitely don't think github should put up a notice for this.

Would you really want to be alerted every time a website you used closed a minor security hole, that had possibly never even affected anyone? They absolutely should, if any user information was leaked, or if there was downtime involved, but you honestly do not need to keep informing users about this sort of mundane security update. At best, I would suggest it go on their blog.

Not reporting "oh we found an xss hole that maybe one or two people had used before." is NOT a disappointment.

tjarratt··on Finding the Best Chicago Pizza in San Francisco
I live in SF, followed this link to make sure that Patxi's is indeed the best Chicago style Pizza in the city. Lo and behold, it is. I'm not surprised, because their pizza really is the best I've seen outside of Chicago.
tjarratt··on Run last command as root
I've really enjoyed Ctrl+a and Ctrl+e recently to move between the beginning and end of the command prompt - it's really a lot more useful than I initially thought.
tjarratt··on Run last command as root
In zsh, !! is expanded by the shell, but leaves the expanded command at the terminal, waiting for you to execute it. Most of the time this means I have to hit enter twice to run the command, but it's convenient when I want to explain to someone what !! is useful for.
tjarratt··on How secure is my password?
I'm really doubting that "vagina" is in the top 500. They must be counting these as basic dictionary lookups and discounting them that way. Any good password cracker would definitely try a dictionary attack before brute force.
tjarratt··on PayPal is no GayPal: another PayPal horror story
I agree, attacking this from a gay rights angle will probably be the best approach. If he can get a major publication to run with this, PayPal will have to respond.
tjarratt··on PayPal is no GayPal: another PayPal horror story
Have you tried contacting any news organizations? I can imagine a few in and around San Francisco would probably be interested in this, as it has a direct impact on Gay Rights.

This seems like complete discrimination. They shouldn't be able to freeze your account for having any references to "gay X" any more than they should be able to freeze your account if you were advertising "african american X".

tjarratt··on Imagine a world where every app has its own data plan
I was thinking more of small, 3rd party developers. Right now, if I'm deploying a client-server app, I ssh into my machine, send lots of debug json at it via curl, and do a lot with "arbitrary data" that would end up costing me a lot of money under their proposed scheme.

The last thing I want is for my ISP to have a developer program where I get certified to send the packets I want to across their network. I just want to write a server to back my app!

tjarratt··on Imagine a world where every app has its own data plan
ISPs to 3rd party developers: we hate you and wish you would stop trying to create useful applications that use bandwidth.
tjarratt··on Programming Languages to watch in 2011
This is a really odd way to approach programming languages, I feel. According to the article, none of these are very mainstream languages (although certainly scheme and clojure have their adherents, and LUA is used extensively in the game industry), but they should be watched because of hiring trends?

I'd much rather pick up a language because it has some interesting features, or because it solves a problem I have with one of the languages I already know. Seems they're missing the forest for the trees, somehow.

tjarratt··on Web Programming Is Hard
Integrating various python modules/ruby gems that all monkey patch over each other?

ducks

On a more serious note, the closest equivalent I can think of is porting games to work on windows, linux and mac platforms. You would have to have a good understanding of the entire renderer, any main event loops and physics, as well as experience in writing very low level code on all those platforms.

tjarratt··on Apple's Steve Wozniak: 'We've lost a lot of control'
I feel that the same could have been said after/during the industrial revolution. When the tools to enact change become so large that no one person can build a product (whether that be a vehicle, or a desktop computer), there will be someone warning that our dependence on technology is increasing.

Not that I don't agree with Woz, but I think it helps put this in perspective. If the internet or our power grid had some massive failure how easily would life continue? Would businesses continue to operate? Supply chains for food and production? These are important questions, in my opinion.

tjarratt··on WebSockets Disabled by default for Firefox 4
I'm really curious what Mozilla's motivation is for disabling websockets over security concerns. Is it that they are susceptible to man in the middle attacks, and a websocket connection could be started with an untrusted server?

Anyone familiar with security and websockets?

edit: I'm using websockets in a few projects (gracefully degrading to flash or XHR), and I'd like to know whether I should reevaluate webSockets.

edit2: according to this mailing list, it's an issue with how proxies handle the HTTP Upgrade header. Awesome.

http://www.ietf.org/mail-archive/web/hybi/current/msg04744.h...

tjarratt··on WebSockets Disabled by default for Firefox 4
What's the alternative for browsers that don't support it? If you want to gracefully degrade, then you may have to accept an underperforming solution.

I'm using Socket.IO and while I'd rather not have to degrade to Flash for Firefox, if that's what I have to do to get support for Firefox users that haven't enabled websockets, I can live with it.

tjarratt··on The Tree Slider - GitHub
Actually I don't think that's necessary - I'd much rather they focus on making individual loads very fast, instead of pre-loading data. 9 times of out 10, I'm not going to peruse the ENTIRE directory structure even one level deep, so it should only get the data I want.

Also, they would need to store that, and I don't necessarily want my browser storing my entire directory structure (and possibly file contents) for any amount of time other than when I'm actually browsing it.

Try it out, it really is very fast without having to eagerly load anything at all.

tjarratt··on Nuclear scientist killed in Tehran was Iran's top Stuxnet expert
Jump to conclusions much?

full disclosure: I am not a fan of wars in the middle east either.

tjarratt··on So You Want To Join A Startup?
If you're a senior in college right now, the best advice I can give you is to take an idea you have (even if it's not your best) and try to execute it. Even if you don't ever launch, you'll learn a lot about starting a business and getting from the initial idea phase, to design, to launching, to (hopefully) making money. That sort of knowledge is invaluable.

I'm several years out of university myself and just now getting a few of my side projects to that point. It's exciting, but I can't help but worry that I'm behind the curve. Tinkering and design comes fairly naturally to me, but everything else that goes with entrepreneurship ... not so much.

tjarratt··on So You Want To Join A Startup?
I worked at a smaller startup recently and it was fairly competitive as far as jobs at other businesses in the area. I wasn't making as much as my friends at Apple, VMWare, or Google, but I made enough to live comfortably and had stock options that would have started me towards "F-U money" had they gone public.

However, that might have something to do with their business model performing very well, and the business being profitable earlier than expected. It all depends.

tjarratt··on So You Want To Join A Startup?
For anyone thinking about joining a startup : be very, very careful before you accept a job offer. The main thing to consider is that you'll be working very closely with just a few people (from 2 to a dozen) for the foreseeable future. You'll have to really like these people as you'll be spending an awful lot of time with them.

When I was interviewing last, I was a lot more concerned with what the teams I met were producing than their culture, or how they interacted with each other. Long story short, I ended up working for a company with 10 employees, but I had never felt more alone in my entire life. Small things I took for granted at other jobs like eating lunch with people, sharing jokes, or any type of bonding felt near impossible.

I don't want to discourage anyone from working at a startup, but I feel it is very important that you consider the reality of working in that environment for a considerable amount of time.

tjarratt··on Vassal - Open Source Boardgame Engine
Hmm, this is very similar to an idea I've been working on for a short time. It's great to get some validation and see that something like this can work, even better to see a community of any size embracing it.
tjarratt··on MIT Entrance exam (1869)
Algebra isn't normally taught at the elementary school level. Now, I'd argue that it SHOULD be, so students can choose to study some interesting fields of mathematics after grade 5, but that's a different argument entirely.

If I remember correctly, my school district didn't offer true algebra until 8th grade, for honors students only, in a class that started an hour before any regular class. Hardly elementary.

tjarratt··on You must learn JavaScript
The title here should probably be something along the lines of "You Should Develop For The Web." Javascript happens to be the focus because it is THE client-side language on the web.

By the way, when were Python and Ruby declared to be absolutely available in any given browser (chrome, safari, firefox, opera, ie9 at least) within a year? Either I've been underneath a rock, or this is absolutely crazy.

tjarratt··on You must learn JavaScript
Lambdas in Python are so pitiful compared to javascript's closures that I think this would be a very bad choice, although you're welcome to disagree with me completely, since this is completely subjective.

This might not be a bad idea for a future project like a hypothetic HTML6, but I still think it's a bad idea _in general_. The web has consistently been about standards, and enabling developers to write code once that runs on many platforms (although the realities of browsers' quirks means that you will need to endlessly tweak your code to work on a given platform). Were we to allow developers to write in any suitable language, there would be much much more work on the part of end users and browser developers to make sure that their system is up to date with the latest language X plugin so that websites that use language X as a scripting language function well/correctly.

In short, this is a bad idea because it would fracture the web, when really we should be embracing standards that make the web simpler and easier for everyone to use.

tjarratt··on You must learn JavaScript
I don't think your question makes much sense - you aren't going to get very far if you can't or won't distinguish between a language and its common libraries.

One thing I will concede is that using vanilla javascript to manipulate the DOM is very, very painful, which is exactly why libraries like prototype and jquery exist - to help make this less tedious and to make your experience, as a developer, more pleasurable and faster (as well as for your code to be DRYer, but that's just an added bonus, I'd say).

When you say "if javascript (were) jquery...", I can't help but think you don't understand jQuery. It's a library for javascript. Would you say "If Ruby were Rails then ..." ? No, you wouldn't, because Ruby on Rails is built on top of the language, just as jQuery is built on top of javascript.

Sit down sometime and read the source of jQuery and you will very quickly see that javascript is a really cool language that you can do cool stuff in. If jQuery doesn't float your boat, then maybe you should look at underscore.js - there is a very good annotation for it linked off their website.

← PreviousPage 4 of 8Next →