HNHacker News
TopNewBestAskShowJobs

jafaku

426 karma · joined May 29, 2013

submissionscomments
jafaku··on Announcing the MIT Bitcoin Project
That's great, thanks.
jafaku··on Slow database test fallacy
Slightly more complex code with tests beats code with no tests every time, and it works just fine. Having 1 more class or function call is not exactly what makes an impact on workload. If you are optimizing your application by reducing function calls you are doing it wrong. But tell me, how does not having tests work out for you? Can you modify old applications, or applications that you didn't develop alone, with a high degree of certainty that you didn't break things in the least expected places?
jafaku··on One of my Drupal sites was hacked
Why not Docker? (lxc)
jafaku··on Slow database test fallacy
> You know what has a high chance of introducing a crap ton more bugs? Unnecessary code. :)

If only that "unnecessary code" had tests... Oh wait.

jafaku··on Announcing the MIT Bitcoin Project
It seems to be good and they are very active. They also support tipping.

But I'm not sure if I like their 2-of-2 scheme. I would rather have a 2-of-3 one. Maybe I should re-read their paper.

Another thing that bothers me is that it's not very safe by default. The only way to be safe is if you use a (reviewed) plugin and you don't let it update automatically. Because if you use Javascript instead, they can take your key whenever they want. Imagine if the FBI seized their servers and injected Javascript malware like they did with Tormail.

jafaku··on Introducing the new PHP on Heroku
Well I only cared about Composer and all his points were wrong.

I'm not here to get into another PHP debate. Non-phpers can waste all their time hating if they want, and then go fight with all the problems they have with outdated components like Bundler, create hacks to simulate features that are native in PHP and other OOP languages (eg: interfaces in ruby, abstract classes in python), etc. I'll just get things done in a professional manner using what seems to be the best web platform of our time and then enjoy life.

jafaku··on Announcing the MIT Bitcoin Project
The main point is having your keys secure from theft and loss.

No wallet software can keep your coins safe if it has to store your keys in the same machine you use for your internet activities. You have to use either an air-gapped machine (also called offline or cold storage) or multi-signature.

Then there's also the issue about trusting what you have downloaded. Even if you run the software in an offline machine, if it's meant to steal your coins it certainly can do it. Do you trust Electrum's developers or whoever reviewed the code? What about the maintainer of the website (or Github)? Did you use SSL? Did you check the signature? Did you get the signature from a different and secure channel?

For now I'm trusting Armory, but I'm planning to move to multi-signature once I have time, and maybe use three different wallets to create the keys.

Losing the keys is a separate issue. You have to think about different scenarios like disk failure, data decay, a fire in your house, your friend dying and their family not letting you recover his part of your n-of-m backup, police raid, etc.

jafaku··on Introducing the new PHP on Heroku
That article is just more of the usual bullshit used to bash PHP, maybe to make authors like himself feel better about not using it, and have a good laugh with other bitter peers. Haters gonna hate.

The author is comparing Composer to Bundler, which makes no sense because Composer does a lot more than Bundler. With Composer you can do things exactly the way you want. He says "I don't know what it does under the hood, if it clones every single repository of every required package independently of it being necessary", proving that he didn't even bother learning how to use the tool.

There is no way you can live with Bundler after having used Composer. Trust me, I was a Rails guy.

jafaku··on Tails 1.0 is out
Does it make sense to run a Tails Virtualbox VM under a Linux host? (eg: Fedora)
jafaku··on Introducing the new PHP on Heroku
You forgot to mention the one that rules them all:

https://github.com/composer/composer

jafaku··on Introducing the new PHP on Heroku
That's just a wrapper around Symfony2.
jafaku··on Announcing the MIT Bitcoin Project
In my experience, geeks didn't realize mtgox and the like weren't a secure way to store your money, while non-geeks did simply by using common sense (ie. Do they have insurance? Can I sue them locally should something go wrong?).

I know that's not even the proper way to store your coins. But only security experts knew better.

jafaku··on Nginx 1.6.0 stable released
I don't know, these things are always outdated so I always install from source.
jafaku··on Nginx 1.6.0 stable released
You should let your web framework of choice do that. You should be able to find any directives you need to add to your nginx conf in your framework's docs. Typically they will use a Front Controller (eg: app.php or index.php), so you need a directive to map all the dynamic traffic (ie. usually not images or other static files) to that file. Everything else is done by the framework.
jafaku··on Why Chinese Is So Damn Hard (1992)
As a non-native English speaker, until recently I didn't know ee and i sounded different, eg: bee and bit. Someone explained to me that there are something like 30 vowel sounds in English. Y u no 1 letter = 1 sound???
jafaku··on The Government is Silencing Twitter and Yahoo, and It Won't Tell Us Why
> Sure covert things have always been going on to protect the public

lol

jafaku··on Bitcoin 2.0: Unleash The Sidechains
How is that conclusion interesting? It's the whole point of Bitcoin. And there are no "challenges" for the authorities in this regard. The current system is working as intended. Inflation and other evils are not forces of nature, as politicians very frequently try to imply in their speeches.
jafaku··on Bitcoin 2.0: Unleash The Sidechains
> Very true, we don't need everything to be pegged to a single currency. Another development that will make moving between crypto-currencies more fluid will be decentralized exchanges.

That's not the point. The point is knowing that you won't lose money by trying out altcoins. With sidechains, at any point you can claim back your original bitcoins. You won't be left holding the bag as it happens all the time with separate blockchain altcoins.

jafaku··on Testing with Jenkins, Ansible and Docker
> Once this limit is gone, best practices will almost surely be one command per run.

Agreed, I thought the same, but then I hit the 127 (I think) limit.

jafaku··on Bitcoin Falls Below $400
It went up 2000% since they jumped in.
jafaku··on Bitcoin Falls Below $400
That's a myth. Satoshi compared it to gold multiple times. Imagine if gold was digital: You wouldn't be able to make it fit into a single category like "currency" or "investment". Or maybe you could, but you would have to leave behind this common modern assumption that a currency must have the exact same value every year, or even lose 2% every year.
jafaku··on Bitcoin Falls Below $400
They will earn more coins by paying the electricity and using the already bought mining gear, than if they stop paying for the electricity and use that money to buy coins.
jafaku··on Bitcoin Falls Below $400
Bitcoin has gone up 1000% every year, and 10,000% last year.

Also, every successful startup ever has had those kinds of returns at some point. So I suspect you are only considering traditional or stable investments, like post IPO stock or whatever.

jafaku··on "OpenSSL has exploit mitigation countermeasures to make sure it's exploitable"
Another irrelevant xkcd comment...
jafaku··on Digital Ocean needs to start showing outages on their status page
Welcome to the cloud!
jafaku··on Digital Ocean needs to start showing outages on their status page
I was thinking about switching to Digital Ocean. Thanks for letting us know they aren't as professional as everyone claimed.
jafaku··on Mathematicians find way to put 7 cylinders in contact without using their ends
Brb, I'm gonna create CylinderCoin.
jafaku··on Linus will not be merging any code from systemd developer
Why not give it another try now then? I have used it for years and, unlike windows, I never had to reinstall it just because something broke. And things only broke when I messed around with them, but it was always fixable. If you also use virtual machines or linux containers you will never break anything.
jafaku··on Learn C and build your own Lisp
I doubt he was talking about precious metals...
jafaku··on Learn C and build your own Lisp
It's called "fiat", not "real".
← PreviousPage 6 of 17Next →