Better HN
topnewbestaskshowjobs
Log inSign up

hirak99

32 karma · joined Jan 2, 2012 (14y ago) · 19 submissions

Submissions

comment 7mo ago · link · parent

Wrong analogy.

It's a wolf who eats beef, and the "beef" doesn't go away if another wolf eats them.

comment 11y ago · link · parent

Here's IPython equivalent.

http://nbviewer.ipython.org/gist/hirak99/e7902bd49454cbc23bc...

comment 11y ago · link · parent

Source: https://github.com/hirak99/ChromePasswordHasher

4.

Show HN: Password Hasher for Chrome(chrome.google.com ↗)

2 points · by hirak99 · 11y ago · 1 comment

comment 11y ago · link · parent

How would you find (n-1)! given n!? (Think for a moment before moving on.)

Dividing by n of course, (n-1)!=n!/n. This immediately extends the notion of factorials backwards to 0!=1!/1.

It's only a matter of checking to see which factorial-dependent formula (usually arising in context of combinatorics, or gamma function) fits - and it turns out (luckily) that everything fits.

Edit: Even if it tuned out some things don't fit, we would still be free to define 0! as 1 as a convention. But the fact that everything fits, makes it a useful definition - prevents you from checking a lot of edge cases, eliminating the need of many ``if (k==0) ...`` from codes.

comment 11y ago · link · parent

Thanks - that's actually a pretty good idea. With the base structure already needed for the bubble charts - animations, drawing axes, etc., it is not gonna be too difficult to extend this to other chart types.

May be when I get some spare time - I will put it into this.

comment 11y ago · link · parent

The idea came from here - http://www.ted.com/talks/hans_rosling_shows_the_best_stats_y...

This was my first major project on javascript... I am not a developer by profession. What do you guys think?

8.

Show HN: Animated bubble charts (bubblecharts.js)(randomexperiment.com ↗)

3 points · by hirak99 · 11y ago · 3 comments

9.

Can you solve a logistic regression manually?(jsfiddle.net ↗)

2 points · by hirak99 · 12y ago · discuss

10.

Which comes earlier, HTH or HHT? Generic solver.(randomexperiment.com ↗)

3 points · by hirak99 · 13y ago · discuss

comment 14y ago · link · parent

Thanks for the criticism.

I wanted to mean evolution will improve us eventually, only if those people with aggressive impulses have severe disadvantage going forward in the society. But that premise is debatable, I agree.

comment 14y ago · link · parent

Thanks for the criticism.

13.

GPlus: We must create a race of superhumans to prevent annihilation(plus.google.com ↗)

6 points · by hirak99 · 14y ago · 11 comments

14.

[FB]: We must create race of superhumans to prevent annihilation(facebook.com ↗)

2 points · by hirak99 · 14y ago · discuss

comment 14y ago · link · parent

Thanks for the comment. Not sure if I followed the custom salt part - unless it is already implemented at the bottom of the page, where I call the salt as master password in the custom bookmarklet. Would love to know your thoughts in case you meant something else.

comment 14y ago · link · parent

Hi,

This is inspired by the Password Hasher addon for Firefox. It will hash a password and generate unique strong password from the same input, varying by websites where it is called.

Reason I made it is 1) it has a custom salt, so a hacker cannot potentially bruteforce with this as a layer if you have set your 'unique master password', and 2) this is bookmarklet - no strong dependency on Firefox.

Sharing since some of you may find it useful too.

17.

Weekend project: Password hasher bookmarklet for Firefox(randomexperiment.com ↗)

6 points · by hirak99 · 14y ago · 5 comments

comment 14y ago · link · parent

I fit that storyline background perfectly. With one major exception, I got a job into finance risk management from campus, because my major was in Statistics. (Though after 8 years of experienced, I learned that statistics is not really used in such jobs - anything more than regression is not understood well (even regression in some cases), and 'intuitive' non-statistical solutions are always sure to be better received and sold despite offering far subpar solutions - but I digress.)

I recently got a call from Google for my rank in Code Jam. I explained my position and expressed my desire to work on programming. The HR, a very nice person, made it all but definite that because of my background and experience, I should look for a risk analysis role and not coding. He is still willing to set up a programming interview if I insist... but I don't know what to do :(