Better HN
topnewbestaskshowjobs
Log inSign up

ehsanul

926 karma · joined Jul 13, 2009 (17y ago) · 262 submissions

Email: meh 5 (at) njit.edu

What I'm working on: http://jellly.com/

Submissions

151.

Postsingular by Rudy Rucker - Free Sci-Fi Book about Nanobots(rudyrucker.com ↗)

2 points · by ehsanul · 16y ago · 1 comment

comment 16y ago · link · parent

Take a look at the permanent portfolio.

http://crawlingroad.com/blog/2008/12/22/permanent-portfolio-... http://crawlingroad.com/blog/tag/permanent-portfolio/

153.

Is Lisp a Blub Language?(coding.derkeiler.com ↗)

39 points · by ehsanul · 16y ago · 76 comments

154.

Weapons For Space Wars(projectrho.com ↗)

2 points · by ehsanul · 16y ago · 1 comment

comment 16y ago · link · parent

If I'm not misunderstanding, in the full 45-minute keynote, he mentions endurance a bunch of times. Apparently, on the newer memristor devices they came up with, the lifetimes of the devices are on a "geological" timescale, and could "theoretically" last forever. Of course, theory != practice. But there was quite a bit of time spent talking about this issue.

Edit: Also, I would highly recommend those with the time to watch the 45-minute keynote, and not just the condensed explanation. It really is worth it.

comment 16y ago · link · parent

This is astounding! To think that circuit component as fundamental as resistors/capacitors/inductors has been hidden from us till now..

And the applications are equally mind-boggling. If he's right about what is potentially possible using memristors then we're in for an amazing ride this decade. I for one hope we can soon say our farewells to HDD's, DRAM and SSD's.

157.

Isaac Asimov: The Last Answer(scritube.com ↗)

102 points · by ehsanul · 16y ago · 19 comments

158.

ITA Software's Hiring Puzzles(itasoftware.com ↗)

100 points · by ehsanul · 16y ago · 44 comments

159.

Feynman on Great Men(brics.dk ↗)

6 points · by ehsanul · 16y ago · 1 comment

160.

The Unix Haters Handbook(cs.washington.edu ↗)

67 points · by ehsanul · 16y ago · 28 comments

comment 16y ago · link · parent

I was slightly hopeful as I looked into their careers section. There are 99 open jobs apparently, which is great! And I'm just graduating with a BS in mechanical engineering, and they need interns doing tedious tasks as much as any other company right?

But of course, due to government regulations, they only hire US citizens and permanent residents. Unfortunately, that rules me out of even the slightest chance. Oh well..

comment 16y ago · link · parent

It may not be obvious that it was a joke, given that impossible requirements have been asked of before. Case in point: requiring 3 years of rails development when it had only been in existence for 2 or so years.

comment 16y ago · link · parent

The game called "Portal" is also a great one which is almost completely about exploiting the architecture of your surroundings.

164.

The Graph Traversal Pattern(arxiv.org ↗)

5 points · by ehsanul · 16y ago · discuss

comment 16y ago · link · parent

Not a particularly tasteful image, nor interesting at all. How does this get on HN's front page?

comment 16y ago · link · parent

For 3D context free art, check Structure Synth. Combine it with the Sunflow renderer, and you'll be in love with it - http://structuresynth.sourceforge.net/

comment 16y ago · link · parent

I'm somewhat put off by the similarity of the ideas in this book to the ridiculous "The Secret" with its "Law of Attraction." I found this out through reviews of the book though, and the similarity may well be superficial.

comment 16y ago · link · parent

You're right, salt just protects against rainbow tables, my mistake. Increasing the cost so that a single brute-force attack would take a few years/decades is actually fine. I don't see why it would then be "too simple to get the SSNs", given that you're using a different salt with each.

Here's another idea: Use a secret salt, similar to AWS's secret id. Make it long enough that it would pretty much impossible to brute-force (do the calculations). Does that seem like a workable solution? Of course, if the "secret" isn't secure, then well, you're in trouble, and if the secret is in your code in plaintext... Yeah, it's an uphill battle. I'm sure someone more experienced than me here can provide some solution.

comment 16y ago · link · parent

Remind them that it's gender-neutral term.

comment 16y ago · link · parent

The fact that bad comments show up as dead is however a good indication that HN is coping with them well enough. As long as this pattern of voting down the worst comments remains the same, the commentary here should hold up fine.

comment 16y ago · link · parent

I not sure your argument about semantics applies. First of all, we do not know if the word "attach" was used in the original experiment. In fact, the main candle problem page says this:

The test presents the participant with the following task: how to fix a lighted candle on a wall (a cork board) in a way so the candle wax won't drip onto the table below.

The semantics in that phrasing of the problem seem alright.

Now, consider the experiment by Adamson. In that case, presenting the materials in a certain manner changed how they were made use of. This is clearly independant of any semantics. You may want to watch the video nreece linked to.

comment 16y ago · link · parent

Yeah, that's how I originally found out about it, and would have linked to that talk. Except, TED talks often don't seem to get many points here, which seems strange to me given the community.

comment 16y ago · link · parent

Yes, the cost parameter can be tuned without rehashing. This is because the cost is actually stored with the hash, so the == method of the Password object knows what cost to use to check if a password matches. Don't take my word for it, try it in irb (I just did). From the documentation:

In addition, bcrypt() allows you to increase the amount of work required to hash a password as computers get faster. Old passwords will still work fine, but new passwords can keep up with the times.

Obviously, old passwords would be weaker than new passwords this way. An easy solution to this problem is to check the cost of hashed password in your database when a user tries to log in. If the cost is lower than the cost you want, and the password matches, then replace the hash at higher cost using the password the user just gave you.

As for hashing SSNs, you can easily overcome the problem of a limited range of data by the usual solution: salting. Bcrypt-ruby does salting automatically, which you can observe by rehashing a password in irb multiple times, getting different results (the salt is also stored with the hash, which makes this possible). You can also add additional salt yourself if you really want to.

comment 16y ago · link · parent

Taking longer is not an indication of strength of the algorithm

...you shouldn't generally be using MD5

I thought md5 is discouraged precisely because it is so fast to compute, hence allowing brute-force attacks to succeed in relatively short times.

comment 16y ago · link · parent

I second looking at darkxanthos' blog posts about his experiences with "social skydiving": http://socialskydivingwithjustin.posterous.com/social-skydiv...

176.

Functional Fixedness - The Candle Problem(en.wikipedia.org ↗)

10 points · by ehsanul · 16y ago · 5 comments

177.

The Current State of Twitter (Statistics)(mashable.com ↗)

4 points · by ehsanul · 16y ago · discuss

comment 16y ago · link · parent

I'm doing this with my demo page for my YC application. I hadn't thought about making separate pages for each person I demo to though, which really is brilliant.

comment 16y ago · link · parent

Using MongoDB also solves this problem, with an arguably cleaner approach.

comment 16y ago · link · parent

Not dead now though, which makes me wonder how that's so..
1
56789