Better HN
topnewbestaskshowjobs
Log inSign up

Donch

73 karma · joined Sep 17, 2009 (17y ago) · 48 submissions

[ my public key: https://keybase.io/donovanhide; my proof: https://keybase.io/donovanhide/sigs/eKnze3TRQv7DowxW4aYRMJvc_CkWF58NsHMvTx9mgWc ]
Submissions

comment 10y ago · link · parent

Local legend says that Birkenhead Park was an influence to Olmsted:

https://en.wikipedia.org/wiki/Birkenhead_Park#Influence

comment 10y ago · link · parent

Very sad. Here's some gold:

https://www.youtube.com/watch?v=pfNHX_gVKJ0

Watch all seasons of The Larry Sanders Show!

comment 10y ago · link · parent

Here's another one :-)

https://github.com/donovanhide/stockfighter

Based on the docs and only tested against the unauthenticated endpoints so far...

4.

Exploiting Ripple Transaction Ordering for Fun and Profit(availableimagination.com ↗)

24 points · by Donch · 11y ago · discuss

comment 11y ago · link · parent

People subscribe to Go lists because they want to discuss technical aspects of a programming language. For other topics, there are other venues.

Yes, and for highlighting off-topic subjects, there is the simple moderator acronym "OT". A rigid rule book and enforcement policy has nothing to do with free speech. It's all about trying to balance the inequalities in the tech sector. Unfortunately, a rule book is not going to solve that problem. The cynic in me just thinks this a conference "feel-good" announcement planned as a result of Googlers feeling bad about the fact that they are a 83% male workforce.

If the real problem is going to be solved, it's got to be about encouraging and educating people from all genders and races to code. That starts much earlier than any engagement in online communities. If the output of schools and colleges of trained coders was balanced, all the horror stories of harassment and abuse would soon become history as the workforce also becomes balanced, in my opinion.

I strongly dislike the idea of self-appointed judiciaries. Mistakes happen. The nuances of behaviour of people with mental health issues is likely to get caught up in these rule books. That's why we have courts, to help deal with difficult cases. Vigilantes may well refer to the code of conduct for justification for statements of intent like this:

http://dave.cheney.net/2015/06/13/listen-up

I'm not comfortable with that.

comment 11y ago · link · parent

Much more authentic:

https://twitter.com/bbc_micro_/status/572313372345016321

The plastic which held them in place was always broken on the school computers :-)

In all seriousness though, I personally owe a great debt to Sophie Wilson et al for building computers and software that made it very easy to start programming the second after turning a computer on; A BASIC interpreter and an Assembler available instantly from ROM. I had endless hours of fun building parallax scrolling star fields by poking directly to video RAM and slowly rendering 3d scenes in Render Bender. It was just a shame that the computers were so expensive.

comment 11y ago · link · parent

*sheet

https://en.wikipedia.org/wiki/ViewSheet

comment 11y ago · link · parent

Read all three! Thanks for the reading list extension and gratuitous downvote :-)

comment 11y ago · link · parent

Read "Flash Boys" for a better insight into how much difference variable latency between exchanges and clients makes to the profitability of fast execution of trades.

https://en.wikipedia.org/wiki/Flash_Boys

comment 11y ago · link · parent

Reminds me a little of Apple's buyout of the compositing software Shake from Nothing Real and their brutal "end of life" process.

http://en.wikipedia.org/wiki/Shake_%28software%29

"Existing maintenance program subscribers had the option to license the Shake source code for $50,000 USD."

comment 11y ago · link · parent

I believe he went to Google.

comment 11y ago · link · parent

Has the fork author discussed with Mikio the implications of forking and the need for a commercial license for proprietary applications? It's a shame that development stopped on Kyoto Cabinet and Tycoon. I personally learned a lot about efficiently using on disk storage from the source code.

comment 11y ago · link · parent

Care to share any details on the hashing scheme? Is it based on linear hashing, a la Litwin and Larson?

comment 11y ago · link · parent

Thanks for the reply. Interesting that linear hashing had such a big effect, seeing as it is meant to be a slowly-occurring process that only happens when the average load factor of all buckets exceeds a threshold. I guess that was back in 2004 though. Wonder if the same performance is still applicable?

comment 11y ago · link · parent

"We abandoned them in favor of B-trees in OpenLDAP 2.2 because extensive benchmarking showed that BDB's B-trees were faster than its hash implementation at very large data sizes."

Didn't bdb's linear hashing scheme extend the size of the hash table enough to keep it at the required loadfactor?

comment 12y ago · link · parent

I was just about to make the very same suggestion. Ignore the list and just read this book! The threading of the 'jaunting' concept was way ahead of its time in 1956 and the inspiration can be seen in many modern films.

comment 12y ago · link · parent

Number one link on Hacker News is an article stuffed full of Amazon affiliate links for personal heating products. Something isn't right.

18.

Ripple ledger browser(ripplebot.com ↗)

1 points · by Donch · 12y ago · discuss

comment 12y ago · link · parent

Cross posted here:

http://www.reddit.com/r/ripplers/comments/266m12/selling_my_...

20.

Jed McCaleb dumps his Ripple holdings(xrptalk.org ↗)

1 points · by Donch · 12y ago · 1 comment

comment 12y ago · link · parent

Frankly, that is true art. Inspired.

comment 12y ago · link · parent

It was an example of a language feature, that is short variable declarations in type switches, which avoid repetitive casting. The example below has the default clause which handles unknown types. I suppose the point is that you'd never actually do any of this because the method is disgusting.

Thanks for the downvote :-)

comment 12y ago · link · parent

It's horrible method with a horrible signature, that I didn't test :-)

But the short variable declaration in the type switch does indeed save the casts the OP was complaining about.

Even more correct and horrible: http://play.golang.org/p/ZMQKQhuUQT

comment 12y ago · link · parent

The example could have been simplified:

  func abs(x Top) Top {
	switch v := x.(type) {
	case int32:
		if v < 0 {
			return -v
		}
	case int64:
		if v < 0 {
			return -v
		}
	case float32:
		if v < 0 {
			return -v
		}
	case float64:
		if v < 0 {
			return -v
		}
	}
	return v
  }

comment 12y ago · link · parent

  ./bin/Heartbleed openssl.org:443
  2014/04/08 12:15:44 ([]uint8) {
   00000000  02 00 79 68 65 61 72 74  62 6c 65 65 64 2e 66 69  |..yheartbleed.fi|
   00000010  6c 69 70 70 6f 2e 69 6f  59 45 4c 4c 4f 57 20 53  |lippo.ioYELLOW S|
   00000020  55 42 4d 41 52 49 4e 45  47 69 05 e8 90 a6 60 d6  |UBMARINEGi....`.|
   00000030  b4 18 c3 f0 4a 20 40 3a  ef dd 06 8b 87 32 42 00  |....J @:.....2B.|
   00000040  00 00 10 00 0e 00 00 0b  6f 70 65 6e 73 73 6c 2e  |........openssl.|
   00000050  6f 72 67 00 05 00 05 01  00 00 00 00 00 0a 00 08  |org.............|
   00000060  00 06 00 17 00 18 00 19  00 0b 00 02 01 00 00 0d  |................|
   00000070  00 0a 00 08 04 01 04 03  02 01 02 03 09 14 ce 7c  |...............||
   00000080  6d 0c f5 a0 3b cc 16 aa  3b d4 b1 b8              |m...;...;...|
  }

  2014/04/08 12:15:44 openssl.org:443 - VULNERABLE

26.

Ask HN: NSA and GCHQ incompatible licenses

2 points · by Donch · 13y ago · 2 comments

comment 13y ago · link · parent

Here's the raft algorithm we chatted about:

https://ramcloud.stanford.edu/wiki/download/attachments/1137...

And an implementation:

https://github.com/goraft/raft

Decentralised conversations :)

comment 13y ago · link · parent

https://gist.github.com/donovanhide/6541191

comment 13y ago · link · parent

https://gist.github.com/donovanhide/6540272

comment 13y ago · link · parent

Answer 3: enigma2013
12