HNHacker News
TopNewBestAskShowJobs

smanek

8,005 karma · joined October 10, 2007

I'm a programmer (fluent in Common Lisp, Javascript, Java, Python, and Perl). I've dabbled in Haskell, Scala, C++, and Objective-C - but still have a lot to learn about them.

I've worked on a few fun projects, including satellite defense for the DoD, a couple of big Lisp webapps, and large distributed systems.

If you need to reach me: {myusername}@gmail.com

Some of me online:

    https://github.com/smanek
    https://twitter.com/smanek
    http://arantaday.com/
My PGP Key is at http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x9526096E
submissionscomments
smanek··on Skype’s Worthless Employee Stock Option Plan: Here’s Why They Did It
I disagree - at the end of the day, it comes down to if I trust the people in charge (board/founders/investors) since there is basically nothing an employee at a startup can do to protect themselves from those people.

I could be diluted to practically nothing, there can be a 'sale' where only 'chosen' people make real cash via golden handcuffs/consulting agreements/signing bonuses, IP can be licensed into a new company, etc.

Depending on the details, some of those things might provide a cause of action for a civil suit but, in practice, I'm not going to get into a protracted court case over, at most, a few hundred thousand. It isn't enough money for a lawyer to take the case on contingency, and I wouldn't want to spend $(X)XX,000 out of pocket or gain a reputation for being litigious. (Of course, the calculus changes if the company is the next Google or FB - but 1000x+ returns are exceedingly rare).

smanek··on Usenet, updated in real time as it was thirty years ago
Well, without more information, I can't really prove you wrong ;-)

But I still contend that Quora has experts in more domains than HN does. Check out the breadth of industries represented on http://www.quoratop.com/. Of course, it's still tech heavy - but it's more diverse than HN.

It's not perfect - but it's a much better candidate than HN.

smanek··on Cheap GPUs rendering strong passwords useless?
I've read the usenix paper, and I'm reasonably sure I'm right. Care to elaborate on what I'm mistaken about? I (and a few other people I've talked to about schemes isomorphic to this about) may learn something new :-D
smanek··on Cheap GPUs rendering strong passwords useless?
That's just not true. To oversimplify a bit, let's say BCrypt is a function b(data, cost) that returns a hash.

Right now, I have b(password, c1) = hash_a stored in my database. To increase the cost to c1+c2, I just replace that with b(hash_a, c2) = hash_b in my database. To verify a user's login, I just compute b(b(password, c1), c2) and compare it to the hash_b I have stored.

Am I missing anything?

smanek··on Usenet, updated in real time as it was thirty years ago
HN is definitely a place for experts to interact with 'everyday' folks in tech. But it doesn't even aspire to be that for any other vertical.

Quora arguably has a marginally lower caliber of tech experts, but much higher for many other verticals including business, journalism, media, etc.

smanek··on Usenet, updated in real time as it was thirty years ago
quora?
smanek··on Error Codes or Exceptions? Why is Reliable Software So Hard?
I think the ideas behind STM (http://en.wikipedia.org/wiki/Software_transactional_memory - usually used for concurrency), present some interesting opportunities to automatically 'rewind' state in the case of exceptions.

I can imagine systems where you provide multiple implementations, and the system automatically finds one that works.

smanek··on My Job As A Pre-Launch Startup CEO Was To Buy Sandwiches
He was saying the law firm was willing to defer up to $20K in fees until he raised a round.

That might include drafting/reviewing things like articles of incorporation, corporate bylaws, vesting agreements, NDAs, IP assignment, contractor and employee paperwork, etc. It's depressingly easy to run up $20K in legal fees at $500/hr.

smanek··on World’s first commercial quantum computer sold to Lockheed Martin
"I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question."

That's like hearing about a faster-than-light spaceship and asking about what kind of seats it has.

smanek··on Thiel Fellowship: 20 Under 20 Winners Released
I'm assuming there's a typo for 'Faheem Zaman'. It said he got "5580 points across 5 [SATs]."

Even assuming they were all on the 1600 point scale, I had a higher aggregate score across only 4 sittings of the SAT (2 in HS, 2 in Junior High), and I'm not particularly unusual in my scores.

smanek··on Analysts Wary of LinkedIn’s Stock Surge
Just buy a put with a strike at $100. Accomplishes effectively the same thing as the short, but limits your downside.
smanek··on 10x speedup in write performance in Riak Innostore based on keyname
Be careful with this trick. Although it appears to work well for Riak, it can cause lots of problems for BigTable style stores, like HBase, since it bottlenecks all the writes through one node.

See: http://ikaisays.com/2011/01/25/app-engine-datastore-tip-mono...

HBase (and I've heard BigTable) work best with purely random row keys - like the author of this post was using initially.

smanek··on How I Deal with Sexual Discrimination in a Positive Way?
Lucene Revolution is pretty big
smanek··on The End Of Blippy As We Know It
I'm not convinced that is more of a pain point than:

"It allowed people to share their recent purchases pretty much from anywhere at any time with minimum friction"

smanek··on The End Of Blippy As We Know It
What pain did Twitter address?

I can come up with broad, hand-wavy justifications. But those justifications apply just as well to Blippy.

smanek··on Is this the first practical quantum computer? (D-wave 128 qbit box)
Scott Aaronson is an MIT prof and a leading researcher in quantum computing. Here is his take on a recent paper DWave published in Nature:

http://www.scottaaronson.com/blog/?p=639

(And the Nature paper: http://www.nature.com/nature/journal/v473/n7346/full/nature1...)

smanek··on How Garbage Collection differs in the three big JVMs
Is there a better document that explains how the GC works in the latest Java 6 releases (particularly Hotspot)?

I'm doing some GC tuning these days - and there seems to be a lot of false/stale information out there. Something this readable, but accurate, would be helpful.

smanek··on Linus Torvalds Interview for LinuxFR
Maybe I'm missing your answer there ... You just say:

Still there is good reason that browsers rub it in the users face when a site tries to use a self-signed certificate

but I don't see where you say what that good reason is.

If a self-signed cert is more secure than plain HTTP, why make a self-signed cert more painful to use than plain HTTP?

smanek··on Linus Torvalds Interview for LinuxFR
Granted, it doesn't provide as much protection as a cert signed by a trusted CA - but it's still far more protection than plain HTTP, right? e.g, Firesheep wouldn't work

I don't know if browsers do this, but in principle they could even notify the user on certificate change, so the MITM would have to be on the first connection to a site.

smanek··on Linus Torvalds Interview for LinuxFR
Any attack I can think of that exploits that fact would work at least as easily on plain HTTP. And there are a large class of attacks that work on plain HTTP but not with a self signed cert.

Can you think of any counter examples? (Note: I'm a security noob - so I'm asking out of sincere curiosity).

smanek··on Linus Torvalds Interview for LinuxFR
Off-topic, but does anyone know why browsers go crazy about self signed certs?

It's not as good as one signed by an ostensibly trusted CA, but it's strictly better than plain HTTP (no sniffing, harder MITM, etc) - so why not present it to the user the same way that plain HTTP is?

The conspiracy theorist in me wonders if trusted CAs 'lobby' browser vendors to make it so?

smanek··on Can Your List Library Do This?
I've only just glanced at the source, but it seems to be based on the data structure explained on pg 77 of http://www.cs.cmu.edu/~rwh/theses/okasaki.pdf.
smanek··on Tim Berners-Lee: Cool URIs don't change (1998)
Tools have been built to help amateurs better share what they want. I guarantee Tumblr + Posterous + Weebly + fanfiction.net + wikia have far more 'amateur' sites and content on any topic you're interested in, than the entire internet in aggregate in 1994.
smanek··on Tim Berners-Lee: Cool URIs don't change (1998)
Funny to think how 'document based' the web was back then. The concept of webapps must have been completely foreign. I'll bet he really hates URL shorteners.

Interestingly, the examples he gave of good URIs (e.g., http://www.nsf.gov/pubs/1998/nsf9814/nsf9814.htm) are still working 12 years later, while the bad ones are broken (e.g., http://www.nsf.gov/cgi-bin/pubsys/browser/odbrowse.pl).

smanek··on Lucene's FuzzyQuery is 100 times faster in 4.0
To get pretty good 'out of the box' search you should probably use solr (and see something http://wiki.apache.org/solr/SpellCheckComponent).

If you're using Lucene, it's not too difficult to write your own query parser that does exactly what you want, including fuzzy searches, spelling correction, term weighting, etc. My current employer has a rather involved one that can take advantage of lots of application specific data.

Writing a custom query parser allows you to do as much hidden magic on the query as you want, and expose your own special operators if you really want to. Check out some of our user accessible operators at http://help.greplin.com/customer/portal/articles/15527-how-c...

Incidentally, I'd love to exchange notes and hear about your your search engine sometime. If you're interested, shoot me an email (address in profile).

smanek··on Greplin (YC W10) AWS Benchmarks and Best Practices
If you take a look at our benchmarks, you'll see that with RAID you can get 100 MB/s of seq reads (or ~5MB/sec of random reads). Even on a really bad day, speeds will only fall to around a third of that.

While that's not the fastest thing in the world (e.g., a good SSD will outperform a 16 drive EBS Raid for most workloads), I don't think it's fair to characterize it as 'slow as molasses'.

smanek··on Greplin (YC W10) AWS Benchmarks and Best Practices
I'd guess that writing to the RAID is still bottlenecked by the worst drive in the array. But if only one out of N blocks has to be read/written to that drive, average performance may improve (basically, the idea of 'regression towards the mean').

I don't know if that's what actually happening, but testing seems to confirm that RAID performance is more consistent than single drive performance.

RAID0 on EC2 isn't as insane as it appears at first glance. EBS's have an annual failure rate of around 0.2%, while hard drives are around 5%. So, the chances of 1 EBS drive failing is around the same as the chance of 2 physical hard drives failing (5%^2 = 0.25%). It doesn't sound unreasonable to suggest that a RAID0 of EBSs is about as reliable as a RAID10 of physical drives and more reliable than a RAID5 of physical drives.

smanek··on Online Cash Bitcoin could Challenge Governments, Banks
Even if Thiel was in favor, he is no longer with Paypal.
smanek··on Greplin’s Chrome Extension Now Makes Gmail Search Infinitely Better
You have to sign up at https://www.greplin.com, and grant us permission (via OAuth - so we never see your password) to index your mail for you.

See http://googlecode.blogspot.com/2010/03/oauth-access-to-imaps... for some details.

smanek··on Greplin’s Chrome Extension Now Makes Gmail Search Infinitely Better
The coolest features:

"Once you’ve started searching, you’ll notice that tweaks to your query show up in real-time as you type each character, the same way they do on Google Instant. And it shows results for partial-word matches (“Tech” would match for both “Technology” and “TechCrunch”) — which Gmail doesn’t do."

And "a message with 500k of attachments showed up in my search results within a second of receiving it. Not too shabby."

Full disclosure: I work at Greplin :-D I'm just proud of the very cool stuff my coworkers are building!

← PreviousPage 3 of 31Next →