HNHacker News
TopNewBestAskShowJobs

revetkn

331 karma · joined June 17, 2009

software from the philly burbs
submissionscomments
revetkn··on X-editable: In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery
I can't find any info on browser support (maybe I'm looking in the wrong place). Anyone know?
revetkn··on Deployd: Create RESTful JSON APIs using a GUI interface
Probably the /sigh because it looks like a great framework if the problem you're trying to solve is to build the simplest possible TODO-list app.
revetkn··on A Faster Facebook for iOS
Who cares how fast you can iterate if your product is unusably and unfixably bad?
revetkn··on SQL Injection Vulnerability in Rails
> A better solution would be to have a way to indicate "this parameter needs to be this type".

If only there were some kind of concept of typing, perhaps enforced by the language and statically applied, which would eliminate this class of error entirely...boy, that would be helpful in larger systems.

revetkn··on Clang 3.1 released today
Objective-C literals!

http://clang.llvm.org/docs/ObjectiveCLiterals.html http://weblog.bignerdranch.com/398-objective-c-literals-part...

revetkn··on Proxy server for Siri
Dumb question: wouldn't it be more secure to use languages that are immune to C issues like buffer overflows?
revetkn··on How StackOverflow Scales with SQL Server
The other part of this is throwing out the ORM in places where performance matters and replacing it with a simple utility, Dapper, that maps SQL to objects: http://samsaffron.com/archive/2011/03/30/How+I+learned+to+st...
revetkn··on IOS Boilerplate: A base template for iOS apps
I don't agree with all of the items listed, but I think JSONKit is a really nice piece of work. What would you use instead? I know there is native support for JSON handling in iOS 5, but 1) I don't know how that stacks up against JSONKit performancewise (if anyone has benchmarks, that would be excellent) - but JSONKit really flies, especially when directly handling raw bytes instead of an NSString and 2) It will take quite some time before iOS 5 is the de-facto standard. FWIW I used to use SBJSON and switched over to JSONKit and have not looked back.
revetkn··on Exception Safety, Garbage Collection etc. (a.k.a. Why Does Java Suck So Bad?)
...am I reading correctly that his argument for using C++/D (!) is that it's hard to remember to say this:

    try {
      mightFail();
    } finally {
      doCleanup();
    }
instead of this:

    mightFail();
    doCleanup();
revetkn··on Find a Great Domain Name (Beta code is YCOMBINATOR)
If you've got all the data stored off up-front, the search should be near-instant. As-is, it's nearly unusably slow.

However, if the delay is caused by hitting the network for each search result on the backend (or something along those lines), maybe it would be nice to quickly return an initial barebones dataset and then the browser could do an async fetch of each record's details.

revetkn··on Lucene's FuzzyQuery is 100 times faster in 4.0
After considering Lucene, I built my in house search engine.

Yeah, totally makes sense to write your own search engine instead.

Or you could use Lucene and have a tiny bit of code in front of it that tacks on "~" to query terms first and save yourself some time. Or spend a few minutes reading the Lucene docs and find out how to do what you'd like to do. I've had the misfortune of dealing with homegrown search engines...it was laughable to see all that work (requiring a bunch of heavy-duty servers, lots of development time) replaced with a Lucene index that took half a day to get up and running with much better performance+features on a tiny VPS.

revetkn··on Linus Torvalds on Garbage Collection (2002)
This is my problem with GC. I like simplicity. Simplicity tends to perform well, and being simple also means it has little space for problems

If your use case is teaching how to implement a garbage collector vs. a refcounting system, it is certainly much simpler to implement refcounting. If you are a systems programmer/writing a VM or compiler and do your work at a bare-metal level, then manual memory management/refcounting is probably your best choice.

For everyone else (let's guess over 90% of the programming population), using high-level GC'd languages is significantly simpler and more productive.

revetkn··on The Dangers of Relying on Facebook
Like quanticle said, social networking. You can't say, "fuck this, I'll just integrate with myspace instead" without getting laughed out of the room. Like it or not, Facebook's the only game in town.
revetkn··on The Dangers of Relying on Facebook
Facebook API client author here (http://restfb.com). In my experience, you've got to be extremely careful/defensive when relying on anything from FB. Undocumented breaking changes are commonplace and no one on the FB side seems to care very much, possibly because they've got a de facto monopoly for the time being, or possibly because community notifications/documentation/etc. are boring next to sexy engineering problems.

Parroting the article, I know: unless your entire app is Facebook-centric, be careful of tightly locking it to FB. If you must tie yourself to FB, think long and hard about doing so first and if you proceed make sure you've got a mitigation plan in place if things go south.

revetkn··on JQuery File Upload
AFAIK, Mobile Safari does not support file uploads, so this (or any similar plugin) will not work.
revetkn··on Sorry, your “cool” webapp is probably not going to make money
"So, instead of an image-gallery app, why not make a survey software specifically targeted at, say, event attendees."

Shameless plug: check out our startup, http://yorn.com, which does exactly this.

revetkn··on Private Alpha Invites Going Out Today
I'm not sure considerations like this have occurred to the dev team when they don't do even very basic webapp security correctly...
revetkn··on Why Users Fill Out Forms Faster With Top Aligned Labels
Thank you!
revetkn··on Why Users Fill Out Forms Faster With Top Aligned Labels
Does anyone have a link to some numbers supporting this? The article says "Top aligned labels have proven to be faster and easier to fill out than left or right aligned labels" without a citation.
revetkn··on Rails 3.0 final coming
Wonder if the blog is running Rails 3 ;)

"Status: 500 Internal Server Error"

revetkn··on The Future of Web Apps - Single Page Applications
It's certainly relative :)

Everyone has their preferred toolsets and frameworks and of course they should use what they feel is most effective. Case in point: my shop uses very little GWT - my coworkers prefer different tools (and often so do I; GWT is overkill IMHO unless you're building something big).

But this is all not really relevant to my point:

I was talking more about how the linked-to blog post was kind of web-development-101 stuff that everyone already knows and somehow, sadly, still received many upvotes/comments. I only brought GWT into the mix because some guy wrote a blog post about listening for URL hash changes and is presenting it as the future of web development, while (using GWT as an example) people with PhDs have written an optimizing Java to Javascript compiler and engineered very good solutions to difficult client-side web development problems that completely trivialize something as basic as hash change history tokens.

revetkn··on The Future of Web Apps - Single Page Applications
I mentioned GWT because the linked blog post discusses some of the first baby steps toward the idea of building a real single-page client-side app, whereas GWT has been doing some real heavy lifting in that space for a long time...I'm a little disappointed that the post received so many upvotes, since it seems like using the URL hash to preserve state on-page should be common knowledge for any web developer.

I agree that GWT is not friendly to UI people who are used to writing their own markup. But I would argue that a good UX person should be concerned with how the user interacts with the application (not necessarily by writing HTML and CSS by hand, but by sketching out the design on paper or Illustrator), and a framework like GWT often makes it simple to build complex UIs that would be difficult/labor-intensive to create and maintain with a traditional web dev stack. A decent developer should be capable of taking mockups from a designer and building out the rounded corners and other pretty bits himself in CSS.

revetkn··on The Future of Web Apps - Single Page Applications
GWT's been around for years now - I wish more people were aware of it and just how powerful it is :(
revetkn··on Foursquare iPhone app sends passwords in plain text, don't use
RE: point 2, The Facebook Graph API (which will at some point deprecate the Old REST API) does not operate in this fashion. You receive an OAuth access token and pass it back to FB over HTTPS. Unlike the Old REST API, no MD5ing/secret key signing/etc. is required. And the sequence number passed to the Old REST API is _not_ there to prevent replay attacks - it simply needs to be a number larger than any of the previous messages' sequence numbers (as an attacker, I'd just pass in a very large value; in practice, everyone just passes the UNIX timestamp).
revetkn··on Cappuccino GitHub Issues App Update
Back button support appears to be broken in Chrome 5.0.375.99 on Linux :(
revetkn··on DuckDuckGo now operates a Tor exit enclave
It seems that many people who are "outraged" in reality stay on Facebook anyway because they really don't want to quit. Witness Facebook's ever-climbing popularity and the failure of all the "Quit Facebook Day" protests etc. to be a success. This reminds me of the threats many people made to move from the USA to Canada if Bush Jr. were re-elected...if you know people who said that, I'm guessing they stayed put (the people I know certainly did).
revetkn··on iPhone OS updated
Unlike iPhone/iTouch, iPad runs iOS 3.2, which I'm assuming includes some or all of the bugfixes that are part of 4.0. Of course this is pure speculation like the original article, though - if anyone has a detailed 3.2 and 4.0 changelist, please post it.
revetkn··on IPhone 3G Performance with iOS 4.0 is terrible
I've been using 4.0 on my 3G since the initial betas were released. I was hoping the GM version would address the performance issues, but no luck - I've had it installed on my phone since it was released around WWDC, so I don't think this is a Spotlight issue. Glad the iPhone 4 is coming tomorrow; the 3G really is almost unusable for me at this point (Google Maps especially).
revetkn··on New rendering technology based on "pixel clouds"
"Here's what the video didn't mention: you can't animate these."

http://es.reddit.com/r/gaming/comments/bbg9c/unlimited_detai...

revetkn··on How Not To Implement A Web Application That Handles External Authentication
...but reddit's only 91 lines of lisp, what did you expect?
← PreviousPage 3 of 4Next →