Better HN
topnewbestaskshowjobs
Log inSign up

wireprotocol

7,244 karma · joined Sep 25, 2010 (16y ago) · 2,593 submissions

Submissions

comment 12y ago · link · parent

"I sometimes think about the origins of the second amendment and if it's intent was to empower citizens against a potentially oppressive government then it has failed."

The government doesn't actively need to attack people with their own agents. They just need to make it known that someone won't be protected, and let the criminal element do the rest. In some places, weapons for self-defense can be a defense against that kind of government.

comment 12y ago · link · parent

Well, sure, they needed some code. But you could add it in small bits, like Excel, and gradually improve.

That's why accountants, etc., were able to use it. They aren't unable to code, they are unwilling to spend the time necessary to start from scratch each time.

comment 12y ago · link · parent

I assume you're using mysql, but for those using postgres, there is CREATE INDEX CONCURRENTLY.

comment 12y ago · link · parent

Great point.

When tricky concurrency is involved, using the built-in tools offered by the database is the safest approach.

Often, it's also the easiest and most performant.

comment 12y ago · link · parent

"Downtime" is a under-defined in this context. The author seems to use the definition "won't cause errors or disconnections" while you are also considering the response time.

Everyone cares about the former, while the latter is of more interest to heavily-loaded sites.

The case you mention of a long-running query is important, so everyone needs to have some idea of their workload at the time.

comment 12y ago · link · parent

"If 1/2 are planning to go back at a later date,"

I still see no evidence of this. The statements provided do not indicate a plan to return.

"But in any case, "keep your options open" is not exactly the message touted by the Thiel et al PR campaign surrounding the fellowship program."

Fair enough.

comment 12y ago · link · parent

From the article:

"...said at one point or another in our conversation that they’d consider going back to college after they are done..."

"On top of that, some of the kids I spoke to from the previous year also said they would go back or at least might consider it at the end of their two years"

Those are the author paraphrasing the students. They don't back up the claim that half are returning to college, or that they even plan to -- the students are just keeping their options open.

If I missed a more clear quotation supporting the claim, let me know.

The author says "half of them admitting they plan to go back at a later date", but that seems to be based entirely on his interpretation. It seems clear the author is not in favor of Thiel's program, so I am not taking his interpretation for granted.

comment 12y ago · link · parent

"However, the fact that 1/2 of recipients of a very prestigious award (and the associated money/opportunity) decided it was in their best interest to return to university is important."

Where did you get that from? The quotations and paraphrases from the article don't indicate any real decision to me. Just people (wisely) keeping their options open.

comment 12y ago · link · parent

The students seem to be keeping their options open, but most of the statements don't sound like a "plan" to return to school.

The only hard numbers are that 40 completed the program, 40 are enrolled now, and 6 total went back to school. Doesn't sound like half to me, though of course it could work out that way eventually.

comment 12y ago · link · parent

"Databases is one of the major problems of our age, and cause of software being so difficult to get right."

Strange. I think of databases as one of the bright spots in computing. They are very closely related to real business needs, and do a good job for the most part.

MS Access was great because it also had a form builder and it could all work over a network[1]. That means you could get a small business organized around a database easily and incrementally.

Now, we have to actually program to make that happen (e.g. rails, django, etc.) and design the forms with text rather than graphically. That's a big step backward for the technical non-programmers (e.g. accountants, HR professionals, etc.).

Of course, I'm always willing to hear new ideas. If you think you have the answer, please share (and/or start a startup).

Disclaimer: I have been heavily involved with databases from many perspectives (user, application developer, DBA, internals hacker). So, it's not a surprise that I think databases are great.

[1] Yes, the networking was a disaster from a technical standpoint. But that's an implementation issue, not a fundamental problem.

comment 12y ago · link · parent

The author is kind of all over the place, and it's hard to read it without thinking of counterexamples to a lot of his points.

If his general point is to bring computing to more people, I think a modern, web-based version of MS Access would be a huge step. Everyone needs databases. Everyone needs forms to access them in a way that makes sense for their business. Right now you have to actually program to make that happen.

comment 12y ago · link · parent

"However, it is hard to imagine that interest rates would increase without a serious uptick in economic performance."

It's not that hard to imagine; what you describe is essentially Stagflation. You may consider it unlikely, but there are some known potential causes[1].

As I understand it, Stagflation happens when increased demand is less able to stimulate increased supply than one might expect.

As mentioned in [1], an oil supply shock could be a cause. That is not outlandish given the current instability in the middle east and our tense relationship with other oil producers (Russia and Venezuela). The US and Canada do produce a lot of oil, which may offer insulation, but I don't think that's necessarily a defense.

Another cause listed is tough regulatory atmosphere. For instance, if the EPA decides to strongly curb CO2 emissions, or misguided labor laws come into effect, or the healthcare system in the US gets even worse. Again, not outlandish.

[1] http://en.wikipedia.org/wiki/Stagflation

EDIT: reworded for clarity

comment 12y ago · link · parent

"Your concern is essentially that market participants will somehow do a complete 180, for no stated reason."

If market participants demand a higher interest rate, I wouldn't call that a "complete 180".

Regardless, change is the only constant, as they say. Markets move. Behavior changes in response to the environment. If we really are supposed to be a risk-free place to loan money, then I would think we'd be a little more resilient to rising interest rates, which happen fairly often historically.

comment 12y ago · link · parent

What about, say, the solid-state transistor?

comment 12y ago · link · parent

"the current left-right political divide is largely a debate over the point at which government taxation and spending becomes undesirable and inefficient"

I disagree. It's more about a notion of "fairness": whether you think that the government can improve fairness, in what situations, and at what cost of efficiency.

comment 12y ago · link · parent

That doesn't dispute my point at all. I'm not worried about the payments now. I'm worried about the payments if interest rates go up.

And we shouldn't be surprised if rates go up substantially, because they are at historic lows right now.

comment 12y ago · link · parent

"Things won't get interesting until B approaches D."

I'd say things would get pretty interesting well before that point. B=D is just the point at which a default is inevitable (unless much higher tax revenue is achievable without causing other problems).

But the problem is that the interest rates are so low now that large increases are not outlandish. 7 years ago, the rate was more than double what it is now. Looking at the graph in the article, in the 80's it was over 10%, more than 4X the current rate (which would imply 1.6 trillion in debt service).

It seems like we're making a big bet that interest rates are down permanently. That may be true, but it seems like a fragile assumption to me.

comment 12y ago · link · parent

The thing that worries me about our debt is that it's not like the rates are locked-in for 1000 years. After bonds mature, we need to issue new bonds to pay for them. And if the interest rates are higher at the time, the new debt will have a higher interest rate (I guess, technically, the bonds will sell for a lower price, which has the same effect).

Paying our current level of interest on our debt is not crushing. But it's not hard to imagine the rates tripling (or more) considering how close to zero the rates are now. Then we are over $1 trillion/yr in debt service (if my calculations are correct).

Combined with what seems like a structural deficit, I don't see any good way we'd get out of that.

In other words, we're not falling off a cliff now, but it seems like fragile situation.

comment 12y ago · link · parent

Going partially pre-emptive is a reliability hit though. One errant process/thread/fiber can bring the system to a halt (or at least one hardware thread).

Erlang is designed for reliability, not CPU efficiency for CPU-intensive tasks.

comment 12y ago · link · parent

The parent was comparing the event model (e.g. callbacks everywhere) with a thread/process model; not comparing user-mode and kernel-mode threads. So I didn't follow your point.

Also, erlang doesn't use time slices, it counts "reductions" (essentially function calls, though I don't think it's always exactly one function call). It also penalizes processes more if they send to a mailbox that is already very large.

Erlang is considered truly pre-emptive, because (assuming you aren't writing your own functions in C or something) a function can't loop or use any operators or really do anything without potentially being pre-empted.

Go is generally considered partially pre-emptive, because it only pre-empts on a function call or during a memory allocation. You can write a simple loop that doesn't terminate, and it will never get pre-empted.

comment 12y ago · link · parent

"Languages and frameworks like Go, Akka and Erlang have come up now because they help solve the hard networking and concurrency problems that we need to build clusters."

What does Go offer for a cluster environment? As far as I can tell, it's still targeted at single machines (though perhaps with many cores).

comment 12y ago · link · parent

"Not about popularity, sustainability or user base, but money."

By what criteria would you say that those companies are sustainable?

comment 12y ago · link · parent

The author discussed the data flow model -- would you consider that to be a "specific data handling strategy"?

Also, why do you think developing for a map-reduce framework requires fewer engineering resources than developing for, e.g. a dataflow framework?

comment 12y ago · link · parent

Ordinarily, one wouldn't buy life insurance in aggregate as an investment. The insurance company has done the calculations, and it would be a net loss to the buyer. (The buyer is willing to take that loss for security, which is just fine.)

The only reason it's happening here is that the government gives tax breaks, and those tax breaks are higher than the insurance companies' profit margins, so it actually turns out to be a net gain for both the seller and buyer of life insurance.

Surely, this is the result of lobbying by life insurance companies. It doesn't make any sense on its own.

Similarly, it makes no sense for companies to buy their employees health insurance. The reason it started is because of the tax breaks which make it cheaper for the company to buy you health insurance than for you to buy it on your own. (Aside: I don't believe for a minute that it somehow results in some magical savings from group bargaining.) Now that's a big part of the mess we call our healthcare system.

Direct your criticism to these special carve-out laws that make a mess of everything. Don't direct it towards the companies that rationally take a tax break that is already on the table.

comment 12y ago · link · parent

"Free market is not an answer to everything."

The problem here is one of rationing. There are a limited number of spots; who gets them?

In the current situation, the spaces are free/subsidized, but you pay instead by driving in circles. That's a big waste of time and adds to traffic congestion. Maybe that's more "fair" in some sense, but that doesn't make it good.

The app in question does either nothing or very little to help ration. It allows people who really need to park, and have the money to pay for it, to be more certain that they will get a space, which I guess is something. But it creates so many bad incentives that it's making the problem worse, not better.

The city is in a better position to create market incentives, because they can charge for the entire duration that you're in the space, not just the moment you happen to park. That means people would have no reason to camp out in a space waiting for the price to go up, which means more spaces will be available for useful purposes. It saves time and congestion, but perhaps loses out on some definitions of "fairness".

Any other ideas?

comment 12y ago · link · parent

Why do you say Erlang is event-driven? It's a bunch of communicating processes.

comment 12y ago · link · parent

Erlang allows the actors to be spread across physical nodes. It's like a cluster OS, not just a language that uses an actor model.

Do any of the library actor models offer something like that?

comment 12y ago · link · parent

"I think religiosity and cults rise when secular society fails at something."

I think it's more useful to think of it as a psychology hack that can strike almost anyone. Not any person at any time, but any person at one of their vulnerable moments.

comment 12y ago · link · parent

"The $5.68 million research program..."

It struck me how tiny the amount of money involved here is. Let's say this engineering effort was a one one-thousandth step along the way to developing the technology into a major energy alternative. Then that would be, what, $5B?

Perhaps I'm overestimating the significance of this discovery.

comment 12y ago · link · parent

"See their arguments against why Erlang shouldn't support JSON"

Erlang supports JSON if you use a library[1], which is how pretty much every language other than javascript does it. Are you expecting native syntax or something?

[1] https://github.com/davisp/jiffy

1
616263
87