HNHacker News
TopNewBestAskShowJobs

nicobn

276 karma · joined January 4, 2013

Principal Engineer @ Tuned.com. We're hiring!

nick at tuned dot com.

submissionscomments
nicobn··on What US Software Companies Should Understand About the Rest of the World
"Every toddler has a right to bear arms"

No toddler has a right to bear arms in the United States. I hope you were being facetious, otherwise you're grossly misinformed.

nicobn··on Pfizer to Terminate $160B Merger with Allergan
If you're talking about your aunt's primary residence, there is a capital gain exclusion of $250,000 (or $500,000 for married couples). Additionally, improvement costs, all sorts of taxes, fees, etc. can be excluded from capital gains, on top of the base exclusion. Obviously, in a high COL area, the sale price might be greater than the exclusion but it's pretty hard to argue that someone making a greater than 1,000% profit on an asset should not pay capital gain taxes on the gain above 1,000%.

See: https://www.irs.gov/publications/p551/ar02.html#d0e301

Your initial point still stands though. Capital gain tax rates are the same for everyone.

nicobn··on Universities Are Becoming Billion-Dollar Hedge Funds with Schools Attached
4%-6% is almost certainly sustainable. Higher pay outs expose Harvard to wealth dilapidation.

Companies, institutions and even empires come and go. The most successful adhere to conservative governance and plan for the next century, not the next semester.

Harvard was founded in 1636. So far, it has survived 380 years. That's pretty impressive.

nicobn··on Ask HN: Your Passive Income Suggestions?
One strategy is to use an IRA on Lending Club and a taxable account for lower yield investments that are taxed as capital gains.
nicobn··on AWS mistakes to avoid
Since you're dealing in absolutes, let me return the favor; you're being a little silly.

Yes, Linode beats AWS when it comes to price. On the other hand, Linode's offer is incredibly basic and simplistic. AWS offers service after service that Linode simply doesn't and realistically cannot.

Sure, you can emulate a subset of these services (and a subset of their features) using open-source software but at what price ? That's the major flaw in your reasoning. Getting to the point where your installations are as stable and reliable as AWS', given a large stress on the system, will cost you a lot of money and time. Directly comparing the cost of hardware access is ignoring other costs and headaches that are not very easy to estimate.

There's a market for a service like Linode and there's a market for a service like AWS. You've simply never worked on a project/system that works better on AWS than on Linode. I know I couldn't run the systems that I currently operate on Linode without multiplying the workload that is needed to maintain them.

Linode and AWS are competitors but there's space in the market for both; they simply fill different niches. Establishing one as absolutely superior to the other is silly and closed-minded. A lot of people chose AWS; go and ask them why (feel free to reach out to me at nick at nasx dot io - I'll be more than happy to talk to you).

nicobn··on Why nuclear energy is our best option at the moment
I definitely agree with you; the externalities of nuclear power are very often understated.
nicobn··on Why nuclear energy is our best option at the moment
Fuel is a minuscule percentage of the cost of building and operating a nuclear reactor.

The cost of uranium is currently about $90/kg. Citing a previous poster, around 70 MT of uranium is used every year, which comes to about 6.3 G$, which comes to about 2.61 $/TWh. As per the NEI, the cost of nuclear energy is 108 $/TWh. At current prices, uranium accounts for 2.4% of the cost of producing nuclear energy.

Keeping the same profit margins under an increase of one order of magnitude of the price of uranium would mean increasing the price of nuclear energy by roughly 20%.

nicobn··on Nine of the World’s Biggest Banks Form Blockchain Partnership
Indeed. I think what I'm trying to clear up is that the "money" created by banks is not "free money". It is a carefully crafted game of musical chairs on the bank's balance sheet. Bottomline is, the loan is an asset and the deposit is a liability. Banks don't create M0.
nicobn··on Nine of the World’s Biggest Banks Form Blockchain Partnership
You do not understand central banking at all.

Banks do not create money out of thin air: central banks do. Through loans to charter banks and bond purchases, the Federal Reserve creates (or destroys) money whenever the internal one day inter-bank loan market interest rate is above (or below) a certain guideline (the "interest rate").

On the other hand, if I deposit $100.00, the bank is allowed to loan a certain percentage of it to someone else. That is fractional reserve banking. Let's say the bank operates with a 2% reserve. I deposit $100.00, they loan $98.00 to Johnny. A naive understanding of the system would lead you to think that the bank "created" $98.00 because the sum of the balances of yours and Johnny's bank account is $198.00; it did not. If Johnny doesn't pay his loan back, they're out $98.00. Your deposit is a liability for the bank. The loan is an asset. So in this situation, the bank has $100.00 in liabilities, $98.00 in assets and $100.00 in reserve.

When too many people don't pay their loans back, you have a bank run. Part of the reason the Federal Reserve system exists is to avoid this situation by allowing the banks to borrow from a lender of "last resort" if this were to happen.

nicobn··on Warner Bros Suspends Sales of Batman: Arkham Knight PC Version
This is true for totally isolated unit tests but false for tests that require stubbing. You can theoretically use the same tests for a map implemented with one version of a hash table or the other. But once you start testing classes with dependencies, your tests inevitably touch implementation details. For example, unit testing a hash map that is backed by a memcached server would require some form of stubbing.

The metatesting reason for this confusion is that in the example you used, the scope of unit testing is the same as the scope of integration testing. If a class has 0 dependencies, a unit test is also an integration test, because it tests all the dependencies of the class, of which there are none.

So going back to your original point, your affirmation is true for full integration tests, i.e. tests that do not stub any dependency. If you do not stub your network connection to the memcached server, the same test - albeit with a different setup - can be used for a local hash table implementation.

nicobn··on Magna Carta, Still Posing a Challenge at 800
People downvoted you because you can't seem to get down from your high horse. But since you started, let me give you a tip. You shouldn't use a language you don't understand. "Faux paux", more like "faux français".
nicobn··on How I found glaring errors in Einstein's calculations (2009)
Please define "dumb" in the context of a system solely guided by one of the most basic, non-emergent process conceivable (caesium oscillator) ?
nicobn··on Show HN: Deck of Cards – A playing card API
The absence of a pull request does not negate the validity of a criticism. Hacker News is one of the most tech-savvy, intelligent and experienced audience you can find on the web. Everyone sucks, myself included. With that kind of attitude, I would never have learned anything.

Shielding yourself from criticism using an arbitrary criteria only perpetuates ignorance.

nicobn··on Java Generics FAQs
This is only partially true. Generic types are accessible through the reflection API. What you are referring to is type erasure.

See for yourself: https://gist.github.com/nicobn/8135faeda058fef5b6b9

nicobn··on You have the right to bear arms, not “electrical” arms, court declares
This judgment will almost certainly be overturned by higher courts. The "right to bear arms" has never been interpreted by the S.C. as the right to bear "lethal arms", nor the right to bear "military" arms. The S.C., in its recent Heller judgment, interprets "arms" as "weapons".
nicobn··on An Offer to Sony from 2600
I understand the sentiment behind your comment but applying this doctrine does more good than harm.

The right to not be offended, quite simply, does not exist and should not exist in free democracies. Everything should be open for debate, discussion, parody, etc..

Not producing a movie because someone might feel insulted by it and then throw a temper tantrum is censorship by proxy in its purest form. The tyranny of sensibilities may be justified by humanitarian arguments (i.e.: "peace on Earth" !) but it is, more often than not, a disguise totalitarian doctrines take to silence opponents.

The fact that this attack allegedly comes from the last Stalinian regime - the worst dictatorship still in existence - certainly points to a totalitarian motive.

nicobn··on Why I do not want to work at Google (2011)
What you say may be true, but I very much doubt that Google would lobby for a law that creates headaches for them. COPPA compliance is a major PITA. I doubt any business would lobby for such onerous requirements.
nicobn··on AWS issues unavoidable reboot schedules with short notice on many EC2 instances
We had one with barely $7,000 of spending per month, but it might be because I already had my foot in the door with a previous account that brought them about $40,000/month.
nicobn··on AWS issues unavoidable reboot schedules with short notice on many EC2 instances
When a script mistakingly provisioned a ridiculous amount of read/write capacity on hundreds of DynamoDB tables, we were presented with a bill in the thousands of dollars. We got reimbursed after talking with our account manager for 15 minutes.

Maybe my experience is the exception, but my account manager has always been extremely helpful at resolving whatever issues we had.

nicobn··on Bitcoin Exchange CEO Pleads Guilty to Enabling Silk Road Drug Deals
I'm glad that you can cite the constitution. Maybe you should also have cited clause 3: "[The Congress shall have Power] To regulate Commerce with foreign Nations, and among the several States, and with the Indian Tribes", which has been interpreted by the Supreme Court on multiple occasions as applicable to the instruments of commerce, even in intrastate commerce.
nicobn··on Bitcoin Exchange CEO Pleads Guilty to Enabling Silk Road Drug Deals
The essence of your legal theory is that "There is no provision in the constitution for the federal government to regulate money exchange."

I guess it can be argued that the Section 8 clauses 5 and 6 do not grant the Federal Government the power to regulate the exchange of money.

Nevertheless, the currently accepted interpretation of the Commerce Clause pretty much settles the question [1].

[1] http://en.wikipedia.org/wiki/Commerce_Clause#The_Rehnquist_C...

nicobn··on JDK 8 Release Notes
Never had a problem with slf4j on top of log4j. By the way, I use DEBUG in development and INFO in production. The ratio of logging messages between the two levels is about 1 for 50. Definitely an useful feature on top of System.out.println. I also change log levels for certain packages because some libraries are too verbose.

Why are you so bitter ?

nicobn··on JDK 8 Release Notes
I was going to reply with exactly the same thing, and I'd add slf4j.
nicobn··on WordPress Caching with Nginx and Redis
I'm sorry but I cannot take this article seriously. Memcached is trivial to install and to set up on all the Linux distributions that I know of. On Ubuntu, it's actually as simple as apt-get install -y memcached. I have set up memcached servers that handle tens of thousands of queries per second and it has never been a concern.

In any event, you're much better off doing full-page caching using tools designed for this task, such as Varnish. As a bonus, you get tools such as varnishtop, varnishlog and varnishstat to monitor your cache.

nicobn··on Remember AbstractSingletonProxyFactoryBean? C.f.: Zend_Gdata_YouTube_VideoEntry
<sarcasm>This is what's wrong with PHP !</sarcasm>
← PreviousPage 2 of 2