HNHacker News
TopNewBestAskShowJobs

ciderpunx

267 karma · joined November 14, 2011

submissionscomments
ciderpunx··on Ask HN: What symbols would you like to add to the standard keyboard?
λ
ciderpunx··on Amsterdam Airport Launches API Platform
I find the use Aircrafts as the plural of Aircraft kind of sweet https://developer.schiphol.nl/apis/flight-api/aircrafts
ciderpunx··on Project Euler has been hacked
Man, I'd just solved one of the problems. Hope I get a chance to find out how I did.
ciderpunx··on The abolition of work
Those aren't the only sorts of motivation folks might have to work.

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.

ciderpunx··on The God Login
Sure, I think that this means that the try the normal case and the flipped case.

> 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!
ciderpunx··on Redacted memo justifying drone strikes on US citizens [pdf]
The actual memo begins on page 67
ciderpunx··on LinkedIn Ordered to Face Customer E-Mail Contacts Lawsuit
Hope that LinkedIn lose that suit. I had tonnes of people with me in their address book bombarding me with LinkedIn invitations - it'd make me feel better about that.
ciderpunx··on Seven Digital Deadly Sins
Does stupid browser detection. i.e. tells me that iceweasel 24 is not supported. Which I doubt. I hate having to spoof my useragent to make sites work. Feels like a step back into the nineties...
ciderpunx··on Happy 30th Birthday Tetris
Sounds awesome :-)
ciderpunx··on RSS: What Not Dying Looks Like
Yep, that's a fair point.
ciderpunx··on RSS: What Not Dying Looks Like
The server would know your IP address, and most likely your user agent and referrer by looking at their weberver log though, right?

cf. eg. : https://panopticlick.eff.org/index.php?action=log&js=yes

ciderpunx··on RSS: What Not Dying Looks Like
From the article

  > 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.
ciderpunx··on Microsoft makes source code for MS-DOS and Word for Windows available to public
In the syscall docs under "C A V E A T P R O G R A M M E R"

  > 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".
ciderpunx··on Goggle, Facebook, Microsoft Recuited the First anti-NSA lobbyist
Probably should be Google in the title?
ciderpunx··on California Law to Require Antitheft Technology in Cellphones
This seems like a bad idea.

* 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.

ciderpunx··on Royal pardon for codebreaker Alan Turing
Finally. Though it is the very least that the establishment could do given how Turing was treated.
ciderpunx··on Ask HN: What programming language will you learn in 2014?
If you're learning Haskell, be prepared to feel like a beginner for a while.

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!

ciderpunx··on Perl6: Unary Sort
I really need to take a proper looks at Perl 6 -- it has some nice characteristics. Maybe that's my new years resolution.
ciderpunx··on A Brief, Incomplete, and Mostly Wrong History of Programming Languages (2009)
Heh:

> Wadler tries to appease critics by explaining that "a monad is a monoid in the category of endofunctors, what's the problem?"

ciderpunx··on USB Random Number Generator
Kinda like the entropy key from simtec? http://www.entropykey.co.uk/
ciderpunx··on Cocktails for programmers
C breeze
ciderpunx··on Cocktails for programmers
Long Island ICT
ciderpunx··on Cocktails for programmers
Hex on the beach.

Sorry.

ciderpunx··on The end of Apple as we know it?
But what you save in speaker cable you lose on hearing aids, surely?
ciderpunx··on The end of Apple as we know it?
The interesting thing about Apple is that they seem to be more revenue from providing music and apps these days than they used to. Maybe they are looking to change their position from a hardware company that also sells other shit to an other shit company that also sells hardware?

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?

ciderpunx··on David Cameron cracks down on online pornography
Its going to be against the rules to look up offensive terms like, say, "child abuse imagery".

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.

ciderpunx··on Stegospam lets you hide your data in spam to avoid NSA/GCHQ spying.
And for the sake of completeness, I've also found spammimic http://spammimic.com/. There is a paper at: http://www.nic.funet.fi/pub/crypt/old/mimic/mimic.text
ciderpunx··on Stegospam lets you hide your data in spam to avoid NSA/GCHQ spying.
No wasn't aware of it. I've just downloaded and having a play. Very interesting approach, using tags as the carrying medium.
ciderpunx··on Hangovers Cost the Economy $224 Billion, Says CDC
OK, but how much does the economy gain by people discussing work at the pub the evening before?
ciderpunx··on CloudHop makes listening to music easy.
Didn't think listening to music was hard ;-P
Page 1 of 2Next →