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

Still seems like a problem to me. It breaks encapsulation.

The mutex is only used inside of SetAlive() and isAlive(), they're the only things this need to handle locking and unlocking. You don't want anything external to that calling the methods on RWMutex.


Oh of course, if you're not using it then don't expose it.

I haven't read the code so I can't verify if that's the case here, but I read OPs post as being worried about method clobbering (which is really a non-issue, if the popularity of embedding mutexes shows us anything).


That was the inspiration that made me attempt this same idea 8 years ago, when I was at college. I called it depositorybox, and the idea was people would deposit a message and money to get it higher up the page.

It didn't work and I learned I had to earn money like regular people.


Author here.

Somebody did set up a website somewhere that allowed users to see if their private key was in the "database". It would jump them to the correct page, and, steal their private key in the process.

I didn't like them potentially stealing my revenue, so I implemented this feature myself. The pluses beside the private key are permalinks.

For example: http://directory.io/warning:understand-how-this-works!/5HpHa...

That's the private key in Bitcoin's importprivkey format.

I purposely didn't add a search box and named the URL's path to discourage its use.

http://directory.io/faq

(I don't actually check the logs)


Thanks for clarifying. Even though you may not have bad intentions, there are several points of failures e.g. server logs falling into wrong hands, man-in-the-middle-attack (using http) etc.

Maybe put a big disclaimer in red on top of every page.


Everybody found this address. It is a private key with the value of 0. You'll never be able to get that 0.01 BTC.


What's the technical reason why this address is unusable? Can it still receive money?


i want to know too... fyi, the second address has 4 btc...


I've been using Aria2 for a while now. You can run it as a daemon:

  aria2c --enable-rpc=true --rpc-listen-all=true --daemon --dir=/mnt/downloads --continue=true --max-concurrent-downloads=1 --max-connection-per-server=16 --max-tries=0 --split=16 --stream-piece-selector=geom --enable-http-pipelining=true
You can find documentation for the various options here: http://aria2.sourceforge.net/manual/en/html/aria2c.html

https://github.com/ziahamza/webui-aria2 is a decent web client. I use this to post downloads to my server at home.


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: