Hacker Newsnew | past | comments | ask | show | jobs | submit | preillyme's commentslogin

My circle is 97.6% perfect, can you beat that? https://neal.fun/perfect-circle/

(Now my hand hurts...)


That is where I got tired, too.


This reminds me a little bit of Twitter's snowflake: To generate the roughly-sorted 64 bit ids in an uncoordinated manner, we settled on a composition of: timestamp, worker number and sequence number.

Sequence numbers are per-thread and worker numbers are chosen at startup via zookeeper (though that’s overridable via a config file).

https://blog.twitter.com/engineering/en_us/a/2010/announcing...


Is that still a viable strategy or are there better options available by now? Is Twitter still using Snowflake? (There’s a nice Elon pun in there somewhere, I’m sure)


The initial version, released in 2010, was based on Apache Thrift and it predated Finagle, their building block for RPC services at Twitter. The Snowflake they're using internally is a full rewrite and heavily relies on existing infrastructure at Twitter to run.


Interesting... on 2022-12-13 the bounty has been claimed! Just a few hours after mprime1 shared the project in a comment on HackerNews, someone managed to drain the BTC.

https://github.com/mprimi/portable-secret/commit/3b22d2b42ba...

I'd love to hear more about this.



Ah, that makes so much more sense. I had thought after looking at the wallet: https://www.blockchain.com/btc/address/bc1qd2jkf8lxp5d3y50gf... that it was "scrambled/tumbled/anonymized" by the attacker.


No, they just changed it themselves? They sent from that old wallet (https://www.blockchain.com/explorer/addresses/btc/bc1qd2jkf8...) to the current wallet (https://www.blockchain.com/explorer/addresses/btc/bc1qpwq8lx...) ?


I don't see any code changes in the commit history after that.

edit: oh, it looks like it wasn't actually drained.


Right I'd love a post-mortem on it!


Postmortem:

- Bitcoin is hard

- Wallets come with sophisticated anonymization built-in

- Don't create the bounty wallet 20 minutes before posting on HN (if that snafu had happened today while this post was on the front page, I would have looked pretty stupid)


I'd like regular meetings with one of Clubhouse’s founders and early access to special tools designed just for power users.


haha haha haha


For that reason alone it seems so silly to me that Google would make this change and cause this headline to occur. Hell like the poor folks rest and vest as the worse case.


Looks like the good folks over at the NSA are reading Hacker News. And fix issues quickly. I’m proud of them.


They probably have alerts set up for anyone on the internet talking about NSA lol


or monitoring their traffic


I loved working with Ian back in the day at Media Revolution. He was so much fun.


This seems pretty neat to me. I’ll definitely try it out.


I was wondering the same thing.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: