267 karma · joined November 14, 2011
Plenty of people working in sewage, collecting rubbish and so on do it because they think it makes an important contribution to society, same as people in the army. I find it hard to disagree that their contribution is more important than software development in some ways -- I'd rather have streets clear of rotting rubbish and rats than a new version of office.
> ie. compare both hash(enteredPassword) and hash(invertCase(enteredPassword)) to the hash in the database and see if either match
Here's an example in bash:
$ echo PasSwoRd | tr 'A-Za-z' 'a-zA-Z'
pASsWOrD
In the database store one variant $ echo PasSwoRd | tr 'A-Za-z' 'a-zA-Z' | sha256sum > db
Then you can test both on input $ echo PasSwoRd | sha256sum > sum1
$ echo PasSwoRd | tr 'A-Za-z' 'a-zA-Z' | sha256sum > sum2
$ diff -q db sum1
Files db and sum1 differ # i.e. LOGIN FAILS
$ diff -q db sum2
$ # i.e. LOGIN SUCCEEDS
The problem with the caps lock behaviour on Macs is harder. You definitely don't want to force to uppercase!cf. eg. : https://panopticlick.eff.org/index.php?action=log&js=yes
> no one ever has to know what feeds you subscribe to.
Whoever runs the server knows you're reading that feed from their server logs. > Certain structures, constants and system calls below
> are private to the DOS and are extremely
> version-dependent. They may change at any time at the
> implementors' whim.
That pretty much summarises my experience of trying to work with Microsoft products. Arbitrary, undocumented API changes every time the version number changes "at the implementors' whim".* Why won't someone will figure out how to trigger the phone kill switch and start wandering round SF killing people's phones at will?
* Why won't the state/NSA/whoever kill the phones of its enemies (diplomats, foreign business people, "subversives")?
* and so on.
I had great learning it. I usually pick up languages fairly quickly, but Haskell eluded me for more months than I'd care to admit. There is a great community of very smart and friendly people who helped me on IRC, and a couple of pretty good books -- http://learnyouahaskell.com/ and http://www.cs.nott.ac.uk/~gmh/book.html.
I enjoyed the experience, and I certainly feel like a better programmer for it. But damn I felt daft for a few months!
> Wadler tries to appease critics by explaining that "a monad is a monoid in the category of endofunctors, what's the problem?"
Sorry.
You know, in the same way that IBM shifted from being an hardware company that did bits of consulting to a consulting company that also sells hardware.
Or perhaps the author is reading way too much into a commoditization of a product line that is getting a bit long in the tooth?
Which presumably means that the legislation will have to use the term "child abuse imagery". Which means that it will be impossible to look up the legislation using a search engine. One has to wonder how we are expected to know whether or not we are complying with it given that we shan't be legally allowed to search for it.