191 reputation
7
bio website NULL
location NULL
age
visits member for 1 year, 9 months
seen Jul 13 at 4:14

I do stuff and things. I sometimes write programs. I'm fairly knowledgeable with c++, java, and c#, and to a lesser extent, php, python, various flavors of basic, c and cousins, and bash.


Oct
29
comment Why doesn't Java's BigInteger class have a constructor capable of taking a numeric literal?
@kevincline: I'm not saying remove the string constructor, I'm asking why there isn't a long one.
Oct
29
comment Why doesn't Java's BigInteger class have a constructor capable of taking a numeric literal?
I think one constructor taking a long would suffice, since a numeric literal can automatically cast to a long. Java will let you cast a type to a more precise (not efficient, derp) type implicitly. It kind of makes sense for people who want to build one from a floating point type to have to at least cast it, but I don't see why we force people who want to make a biginteger with a value of 3 suffer.
Oct
29
comment How can I estimate the entropy of a password?
I forgot I'd asked this. I promise I'll accept an answer sometime.
Oct
3
comment How can I estimate the entropy of a password?
I guess it was just a fluke that they all capped near 99 then.
Oct
3
comment How can I estimate the entropy of a password?
You really are 100% sure it's entropy? Try it with something like "sedFweTq34YW$#^UU457u4%736aw#$^aw$4%6QW#$a24^s35$*6m$^w3n56q2354". If it's still 99 or 100, its bogofitness. (KEYBOARD MASHING FOR SCIENCE HOORAY)
Oct
3
comment How can I estimate the entropy of a password?
It wasn't so much of a regular expression as weird notation I used to avoid having to enfatten my table by 25 characters
Oct
3
comment How can I estimate the entropy of a password?
One level of derivative checking will identify all of those patterns.
Oct
3
comment How can I estimate the entropy of a password?
@bill: No, I hadn't read that. However, it seems like I had a lot of similar ideas, including the thing dropbox was doing with adding weight for each unique character.
Oct
3
comment How can I estimate the entropy of a password?
Does this calculate entropy or some other metric, like perhaps bogofitness? Also you remembered to expand [a^36] into 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' right?
Oct
3
comment How can I estimate the entropy of a password?
There is one caveat to this of course. It may be fairly accurate for statistically typical passwords, which tend to follow certain rules because people are people. These guidelines will not take into account the fact that randomly generated passwords will far outstrip human generated ones at typical lengths because they will (probably) contain no patterns and no words.
Oct
3
comment How can I estimate the entropy of a password?
So, generalizing, the algorithm breaks down when when considering words, or combinations of characters that are considerably more likely to be used than others. I'll also point out that the canonical xkcd example does not include spaces and my calculation did.
Oct
3
comment How can I estimate the entropy of a password?
@mouviciel: I beat you to the punch. Read the first line :D