Better HN
topnewbestaskshowjobs
Log inSign up

phaemon

2,688 karma · joined Jun 6, 2012 (14y ago) · 1,369 submissions

Submissions

comment 14y ago · link · parent

> Infuriatingly, they disable the Enter key in the log in form, so a mouse click is necessary

You can hit Tab (will select proceed) and then hit Enter. Much less annoying :)

comment 14y ago · link · parent

Surely "Pyrite"?

comment 14y ago · link · parent

>testing passwords against multiple hashes (at the price of one) is impossible

That's defending against a newly generated rainbow table.

> And it is not possible to see if different entries shares a same password (or to see if they have a different password).

That's repeating the first point with different words! It's defending against a pre-generated table. i.e. a rainbow table.

Timing attacks are not mitigated by salts; they're mitigated by the design of the encryption. You should not rely on salts for this. In fact, if your hash is exposed you should assume your salt is also exposed.

What do salts guard against other than rainbow tables?

comment 14y ago · link · parent

What else do they protect against?

comment 14y ago · link · parent

I think you're overestimating my intelligence. I'm neither a mathematician nor a developer.. My "insight" was simply realising that:

a) the numbers alternate between higher than pi and lower than pi

b) if you have a number between, say, 41 and 48 then the answer must be forty something and therefore start with a 4.

No more than 2 minutes insight really required! :)

comment 14y ago · link · parent

Keep the previously calculated value of pi in "oldpi" and you can do:

while round(oldpi,5) != round(pi,5)

as your loop.

comment 14y ago · link · parent

awk '/Kindle/ && /Hardcover/'

awk doesn't have to be complicated ;)

comment 14y ago · link · parent

Actually, just:

echo $(shuf -n4 /usr/share/dict/words)

will do the trick. Though it does have some weird words in there. A trimmed "4000 common words" dictionary is what I use.

comment 14y ago · link · parent

Very nice!

Add: text-align: center; line-height: 100px;

to the .macbook css, so you can add text to the screen ;)

comment 14y ago · link · parent

What an optimistic question!

Try: "How much of your codebase isn't understood by any people at all?" :)

comment 14y ago · link · parent

Sorry, it's just horribly wrong: "The "senior developer", whom is the stake holder's right hand man, said this:"

"Who", not "whom". There's no reason to use "whom" at all any more unless you really know when you should. "Who" is acceptable at all times.

The code seems fine though... ;)

comment 14y ago · link · parent

Where is the contradiction? He says they're difficult to use with a mouse and even more difficult to use on a touchscreen. Makes sense to me.

comment 14y ago · link · parent

heh, concept reminded me of:

http://bestofcalvinandhobbes.com/2011/10/a-swifty-kick-in-th...

comment 14y ago · link · parent

Well, perhaps I was too negative. As I mention below, and as the others have said, the look is pretty good. The heatmap image is pretty cool which is why I wanted to click on it and see it change. So let me do that!

Also, I did want to see how it actually worked, but I don't want to sign up and install stuff for that...so that's why I wanted a live demo.

I think you should drop the "completing with Google Analytics" angle too. Even if it's true that you're better, no-one will believe it. Why not show how you integrate with it instead? If people are using both and realise themselves that they only need your product, then that's good enough.

comment 14y ago · link · parent

Fair enough, I was talking about the content more than the look. The top half is certainly nice enough. The lower half is too noisy with an excess of that "writing" stuff. I didn't get where I am today by reading! I want cool stuff I can click on! ;)

comment 14y ago · link · parent

I'm sorry to say this, but your website is awful.

You spell "conversion" incorrectly in two different ways and your grammar is poor ("Why noone...").

If I were you I'd get the site redesigned, preferably by a professional web designer.

Maybe slim the main page down to your banner, a tag-line saying what the product is and a "Try It Now" button. I don't want to sign up for anything; why not let me demo it on your site in real-time?

And where's the initial Wow? There's a heatmap picture on the main page but nothing happens when I click it. Why not have the image work as a heatmap too?

Sorry to be so negative, but maybe you'll get better results if you fix some or all of those things?

comment 14y ago · link · parent

// While i goes from 0 to 50.

// --------------------------

for ( int i = 0; i < 50; i++ )

Well, doStuff() only happens while i goes from 0 to 49, so maybe this comment reveals a bug.

comment 14y ago · link · parent

404 errors are not due to lack of scaling. I can't think of a case where you'd get that.

Scaling problems will usually return 5xx errors, most commonly 502, 503 and 504.

1
4243444546