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 Ask HN: How did everyone do with Launch an App Month?
While I didn't actually launch anything, I did make a lot of progress on two separate apps:

One to facilitate collaborative tabletop games (think Settlers of Cataan or Dungeons & Dragons) between remote parties. Built with node.js, redis, jquery, html5, css3, buzzwords.

Another smaller, quicker app that spun off the first was a web interface for the OS X `say` command. Sometimes I'm on ubuntu or windows and I wish I had access to make a mac actually speak a sentence. Built using the same stack, same tools, just much smaller in scope.

I only pivoted late in the month, the day after thanksgiving, so I'm hoping to launch that after I tidy up the UI and come up with a name. Anyone have any suggestions?

tjarratt··on Google Beatbox
That actually is fairly similar to a webapp I built in 30 minutes a few months ago. I had the idea to build a webform that lets you type in some text, and the computer reads it back.

If you are using OS X, you should be able to use the `say` command to create a recording of a voice speaking a sentence. You could likely take that, pipe it into a file and serve it up in an <audio> tag and play it from javascript that way.

I might try hacking my project to do exactly that. However, I think a sane solution for you would be to make use of system accessibility options or screen readers. The downside there is that you can't call into those from a user's browser.

tjarratt··on Google Beatbox
I've always liked "Boots and Pants", personally.
tjarratt··on The only script in your head
I've wanted something exactly like this for a while now. Looking forward to trying this in a few projects over this next week.
tjarratt··on Main GNU source repository server compromised
I believe it's more that they are a visible target, being in the media and spreading their message as much as they do. Were they a small company that hosted internal webapps (for example) they probably wouldn't have been targeted as much. Imagine, for a moment, if these two attacks in seven years were successful, how many unsuccessful attacks there were as well.

Most, if not all, software after a certain point of complexity has vulnerabilities (yes, even mine). This has absolutely nothing to do with how talented their hackers may be and more with the inevitability of someone, somewhere, working hard to find, and abuse, exploits.

edit: I typed more than I intended to here, but my gist is that you're really taking light of the situation here, trivializing all of the work that has gone into gnu projects when you quote "incredibly talented hackers" and follow it up with a useless throwaway phrase like "lololololo". I thought HN was better than this.

tjarratt··on Show HN: Syncpad, like Facetime but for drawings
Not sure why you're being downvoted, (aside from the fact that this doesn't look very similar at all), but this looks suspiciously like some of mrdoob's javascript canvas examples.

http://mrdoob.com/125/Multiuser_Sketchpad_HTML5

tjarratt··on Show HN: Syncpad, like Facetime but for drawings
Very cool! Great presentation, I really like the design on the web (haven't had a chance to test it out on the ipad yet).

I've been working on the exact same idea as a minor feature for a larger webapp, although with node.js and redis.

Out of curiousity, how much are you using redis for working with images? I've found it to be great for quickly dumping objects in (hashes, strings and lists mostly), but I'm curious how much you would actually use redis in an app like this. Surely you aren't dumping entire base64 encoded string representations of a room's current image in redis, right?

tjarratt··on Mozilla Is Designing a New Programming Language Language Called Rust
I suspect this is an artifact from their stance on mutable state, and some inspiration from more functional languages. There certainly isn't much harm in being clear where you are initializing variables. I would say that using actual english words rather than brief non-words such as def or var makes the syntax more readable.

If the keyword really bothers you that much, couldn't you fork the project and perform a global find/replace? (yes I realize that _maintaining_ a fork like that could be nightmarish, but the point still stands)

tjarratt··on Clever bike lock scales light posts
I've spent many a morning in SF dodging taxis, oblivious pedestrians and potholes and can't even imagine how Miami/Fort Lauderdale could be any worse.
tjarratt··on HTML5 Web Messaging
This should probably be updated to point to the w3 proposal document, but I'm interested. For a while now I've wanted to have this functionality, but short of using flash (or sticking yet another backend server between processes) this has been impossible.

It's a shame that the section on security is so short. Hopefully someone will address that soon.

tjarratt··on Few HTML5 demos with animation and sound
Absolutely correct. They have a blog post about it where they discuss the tech behind this briefly (with source code).

http://www.effectgames.com/effect/article.psp.html/joe/Old_S...

(I seem to remember this being submitted to HN a few months ago, before they added sound).

tjarratt··on Gtk3 on a HTML5 backend
I'm not an expert, but I believe this to be correct - the contents of the canvas elements are created/managed by javascript, so they would likely appear empty to most spiders.

Additionally, I don't believe there is any good way to crawl the contents of a canvas element - the best you can get from it is an image representation as a data uri, so no text or html elements with semantic meaning.

tjarratt··on Netflix wins a longbet from 8 years ago.
Just goes to show, even in a broken, corrupt system, it's possible to grow/create world class software.
tjarratt··on Ask HN: quitting programming?
Great advice. I've long suspected that great programmers like Knuth and Wozniak moved into a teaching role to help themselves continue to learn, and question the world around them, as well as to give back to the community and help new generations of programmers.

Not to imply that only "great" programmers should teach - if you know something, anything, about programming, it's helpful to start blogging or writing about it. At some point your content will be indexed by search engines and you might help someone who has been hitting their head against a brick wall (we've all been there).

tjarratt··on Ask HN: quitting programming?
If you don't mind my asking, what was the app?
tjarratt··on Repeat After Me: Investors Are Never the Story
I figure this is more like a secret handshake. Presumably anyone reading news at news.ycombinator.com will have an inherent interest in companies that YC invests in.

Not that (YC W10) is a very subtle signal, but it's signaling something to the audience.

tjarratt··on Ask.com to refocus away from search, towards Q&A
It may be an unpopular opinion, but sometimes it's nice to have multiple companies competing in the longterm, and for the market leader to struggle to keep their lead.

If ask.com and bing.com move out of the search space or turn off the lights (hypothetically), then those are two fewer companies competing with Google and driving their innovation. If you have many companies in the field, this isn't a huge deal, but search has (as far as I can remember) been dominated by a few giants, had a high barrier to entry, and seems to be shrinking every year. In this case, the market has done some good, but Google could always create a better search product - and if they didn't, then we would need competitors to do it.

"The free market system is working" really isn't a very nice response to "our company is desperately trying to maintain a revenue stream" (which is probably an exaggeration of ask.com's current financial situation).

tjarratt··on 17% leave their job due to insufficient recognition
You should probably ask yourself why you're avoiding applying for these jobs you mentioned. If it's because of rejection, well there are a lot of people on here that will tell you better than I can that you shouldn't be afraid of being rejected.

I had the same problem for a while, until I realized that the worst that could happen is either you get no response, or they will tell you "thanks but no thanks". If you do get an interview, then that is an opportunity to meet interesting people, and possibly learn something.

The key here is approaching interviews less as a time for some people you don't know to judge you and more as an opportunity for you and some other people to learn about each other. You can learn an awful lot about business, the market, people's technical and non-technical problems, if you make an effort to go on interviews. You may even learn something about yourself, or have a brilliant idea for a project.

Besides, "unqualified" isn't the right word at all. It's more accurate to say that you have a different skill set (based on your horrible migration story) - and skill sets are easy to change, given time and motivation.

tjarratt··on Ask HN: Who do you trust when it comes to sharing your ideas?
I have no qualms with sharing my ideas with anyone that will listen. I find that I solve problems I'm struggling with, and develop new ideas when I force myself to explain concepts and ideas to people, technical or otherwise.

Ideas are to be shared. Good, quality code (with an appropriate license for attribution) should be shared as well.

You might ask where I draw the line? I draw the line at whole applications (I would never give someone the entire source to a webapp I charged money for), or physical goods that I need/use (servers, hardware, etc).

tjarratt··on Ask HN: Anyone else here struggle with the alcohol?
This is really good advice. I'm also prone to having a beer when I get home, which turns into two, and then I'm on the couch all night relaxing when I intended to work.

Tea, milk (which you'll probably want to drink if you're doing any heavy exercising, to gain weight), ice cold water, even wine have been good substitutes for me. I find that I am usually just very thirty, and if I can quench my thirst initially and have something to sip every few minutes, I no longer reach for a beer.

That said, whatever you choose has to be something that you find relaxing. If you find tea or wine to be a hassle and not relaxing, try something else.

tjarratt··on Lawsuit: Apple turned iPhone 3Gs into "iBricks" to boost iPhone 4
Presumably they have filed to have Apple pay their legal fees, should they win.
tjarratt··on Ask HN: 19, developer, burnt out, advice please
Upvoting this idea. I've spent quite a few weeks up in cabins producing code that I had a hard time concentrating on elsewhere. Easy access to lots of people with interesting stories (who are generally willing to listen to what you have to say) and opportunities to clear your mind with some intense exercise makes ski resorts a clear winner in my book.

Now that I think about it, quite a few of the good developers and engineers I know are either ski bums, or worked in a ski resort when they got out of secondary school / university.

tjarratt··on Anonymous Sharing Project Cements USB Drives Into Random New York City Walls
This seems like a good way to spread some viruses around via usb autoplay.

Seriously, I can't see this becoming a huge hit, if you need to walk to a physical location to get a file (what if someone has already deleted it, or there's a queue?), to say nothing of the difficulty of holding a laptop steady at chest level while connected to a usb drive embedded in a wall.

Is there more to this than a half baked idea at taking a virtual process (file sharing) and taking it into the real world? Is it more convenient? What value does having an anonymous drop spot have that bittorrent, or megaupload does not?

tjarratt··on 37signals' Chalk: a fun little browser-based app for iPad
This is pretty neat, but you should make it so that if you click, you create a small dot. Right now it looks like you only render when the mouse moves, but not on the initial mouse down event. (tested with latest safari and chrome).

I've been working on a similar idea with canvas, node.js and socket.io - it's amazing how many people are taking these same technologies and solving similar problems.

tjarratt··on Show HN: a compiler from Python syntax to JavaScript syntax (like CoffeeScript)
This is a really neat idea, and I'm definitely going to look into this more when I have time, but I have a small nit to pick.

print(...) is a common debugging, or output call in python, and I can see how in many use cases that would translate to console.log in javascript.

However, some browsers don't support console.log, and in serverside javascript, objects like console and window are not available. I don't know of any common output technique that would work in all browsers as well as with node.js and ringo. Depending on how much you care about supporting serverside js and different browsers, this may be a non-issue.

tjarratt··on Ask HN: "Is that work?"
+100 for "find yourself a better boss". The recurring theme of this thread seems to be "no one understands (or is willing to admit) what value you bring to this organization", and I couldn't agree more.

It's possible to have a great time working in a language you hate, on hardware that sucks, but only if you have a great team and great boss that appreciate what you contribute.

tjarratt··on Ask HN: "Is that work?"
As someone who has changed jobs several times during my (admittedly brief) career, I can attest that this is good advice.

Keeping a portfolio of work, and a way for other people to judge your skills, is key. This can be as simple as a github account with some throwaway projects that show off your coding style + preferred languages/frameworks, or your own website, with custom wordpress theme, interactive portfolio work, etc.

It's a little scary to jump into something new, but you'll be challenged again, and given an opportunity to work with people that will appreciate and (more importantly) understand what you do.

tjarratt··on Remember twich.me (node.js realtime chat)? Here is the source as promised.
I'm using tuxychandru's grasshopper which does templating (an a lot more - it's a full fledged web server) in a relatively nice way. http://github.com/tuxychandru/grasshopper

Another good approach, if you're looking for something that specifically plays well with node, is to look at the modules page on the node.js wiki - it's served me well.

http://github.com/ry/node/wiki/Modules

tjarratt··on New Java trojan attacks Mac OS X via social networking sites
Since no one else is going to say it...

Suddenly it doesn't seem like such a bad idea to remove Java from OS X. I for one can go without any applets and even minecraft on my macbook pro.

tjarratt··on The UI circle is complete
launchy is great, but since I switched to OS X a few years ago the best replacement I've found is quicksilver. It's free and much more responsive, customizable than spotlight.
← PreviousPage 5 of 8Next →