Better HN
topnewbestaskshowjobs
Log inSign up

ciderpunx

267 karma · joined Nov 14, 2011 (15y ago) · 147 submissions

Submissions

comment 4y ago · link · parent

λ

2.

Don’t break the 21st century nervous system: Cory Doctorwo on Net Neutrality(newint.org ↗)

3 points · by ciderpunx · 8y ago · discuss

3.

Ask HN: What data format does this look like?

2 points · by ciderpunx · 9y ago · 3 comments

comment 9y ago · link · parent

I find the use Aircrafts as the plural of Aircraft kind of sweet https://developer.schiphol.nl/apis/flight-api/aircrafts

5.

I spy with my little algorithim: Bruce Schneier on privacy/surveillance(newint.org ↗)

3 points · by ciderpunx · 10y ago · discuss

6.

Micropuzzles and generating Pythagorean triples(charlieharvey.org.uk ↗)

1 points · by ciderpunx · 10y ago · discuss

7.

Digits in page numbers and thoughts on optimization(charlieharvey.org.uk ↗)

1 points · by ciderpunx · 10y ago · discuss

8.

How to make an email signature that makes you seem like a dick(charlieharvey.org.uk ↗)

3 points · by ciderpunx · 10y ago · 2 comments

9.

Why sum and product types?(charlieharvey.org.uk ↗)

1 points · by ciderpunx · 10y ago · discuss

10.

Seven More Languages: Julia Day Three(charlieharvey.org.uk ↗)

4 points · by ciderpunx · 11y ago · discuss

11.

Is GCHQ password advice dodgy?(charlieharvey.org.uk ↗)

1 points · by ciderpunx · 11y ago · discuss

12.

How we pronounce WWW in English: a brief and unscientific survey(charlieharvey.org.uk ↗)

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

comment 11y ago · link · parent

Man, I'd just solved one of the problems. Hope I get a chance to find out how I did.

14.

Cameron’s turd in the encryption punchbowl(charlieharvey.org.uk ↗)

1 points · by ciderpunx · 11y ago · discuss

comment 11y ago · link · parent

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.

16.

Seven More Languages: Elixir Day Two(charlieharvey.org.uk ↗)

3 points · by ciderpunx · 11y ago · discuss

17.

Seven More Languages: Elixir Day One(charlieharvey.org.uk ↗)

2 points · by ciderpunx · 11y ago · discuss

18.

Font of the month: Sans Bullshit Sans – uses ligatures to replace bullshit words(charlieharvey.org.uk ↗)

4 points · by ciderpunx · 11y ago · discuss

19.

Why is Math.max() less than Math.min()?(charlieharvey.org.uk ↗)

3 points · by ciderpunx · 11y ago · 1 comment

20.

Seven More Languages: Elm Day Two(charlieharvey.org.uk ↗)

1 points · by ciderpunx · 11y ago · discuss

21.

Video: Guy Steele’s Growing a Language Talk(charlieharvey.org.uk ↗)

1 points · by ciderpunx · 11y ago · discuss

22.

Seven More Languages: Elm Day One(charlieharvey.org.uk ↗)

1 points · by ciderpunx · 11y ago · discuss

23.

Seven More Languages: Factor Day Three(charlieharvey.org.uk ↗)

1 points · by ciderpunx · 11y ago · discuss

24.

Video: dependently typed programming in Idris tech talk(vimeo.com ↗)

1 points · by ciderpunx · 11y ago · discuss

25.

Seven More Languages: Factor Day One(charlieharvey.org.uk ↗)

1 points · by ciderpunx · 11y ago · discuss

26.

Why breaking encryption to stop terror is a monumentally shit idea(charlieharvey.org.uk ↗)

4 points · by ciderpunx · 11y ago · discuss

comment 11y ago · link · parent

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!

28.

Learning Seven More Languages in Seven Weeks(charlieharvey.org.uk ↗)

2 points · by ciderpunx · 11y ago · discuss

29.

Saturday at the 2014 Logan Symposium: my highights(charlieharvey.org.uk ↗)

1 points · by ciderpunx · 11y ago · discuss

30.

Rebuilding TwitRSS.me in JavaScript with YQL and Data URIs(charlieharvey.org.uk ↗)

1 points · by ciderpunx · 12y ago · discuss

12345