Better HN
topnewbestaskshowjobs
Log inSign up

wireprotocol

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

Submissions

comment 7y ago · link · parent

To be fair, we pay 500+ people to do nothing but write laws. Maybe they should do it?

comment 7y ago · link · parent

Probably does exceed executive authority.

Congress? How many more years to solve this?

Honestly, I don't even know how secret prices stands up to basic contract law. There's no meeting of the minds on the mutual consideration.

Once, I broke my finger. I was about 90% sure the treatment would be to tape it and wait. But, given my profession, I might as well get an XRay at urgent care. They completely refused to tell me how much to examine me or treat me.

A. Broken. Finger. Not some crazy treatment or exploratory surgery.

comment 7y ago · link · parent

C might be diminished a lot, but the beachhead is being made with Rust, not a GC'd language.

comment 7y ago · link · parent

See Rust for an example where you don't need to do the work manually, but there's no GC either.

The problem with GC is that it's a runtime solution, which has all sorts of annoying problems (like interacting with other languages and runtimes).

comment 7y ago · link · parent

I wouldn't call GC "poison", but in a lot of domains it is a severe limitation. I don't see any GC language unseating C/C++ very soon, and perhaps never.

Clearly GC has achieved a ton. However, I am starting to wonder whether it will hang on to that success, or whether new language designs that don't need it will gain a lot of ground back.

GC, in a way, seems like a shortcut to avoid reasoning about lifetimes, and sometimes taking that shortcut comes back to bite. If it becomes easy enough to get help from the compiler, maybe we just don't need GC any more?

Obviously far-fetched, but interesting to think about.

comment 7y ago · link · parent

Have you considered voting Libertarian for federal positions and a mix of Democrats and Republicans for state and local positions (depending on size of city/state and specific concerns)?

comment 7y ago · link · parent

It's obvious that people will disagree vehemently with each other on many issues. But that's always been true.

What changes is how we manage those disagreements. You point out an extreme view, but it's not very likely for that view to become law.

Politicians represent a lot of people, and those people they represent deserve respect even while you negotiate strongly for your own perspective. You may even find them an ally on another issue.

The alternative is for you to basically conclude that there is a large fraction of the population you simply can't live with. That leads to some pretty bad situations.

It also snowballs, because if you focus enough on any issue you will develop very strong opinions and feel like they are non-negotiable. So there is no end. The reality is that all beliefs are tolerable because we currently tolerate them. Only actions can be intolerable.

comment 7y ago · link · parent

How do you enforce the law against foreign agents?

comment 7y ago · link · parent

A major benefit is declarative constraints. If you declare something UNIQUE, it's going to be unique no matter what. No race conditions, no "whoops, I guess there was a bug in version 4.7.3 of the application that didn't properly check for an existing entry, and it was silently fixed later in some refactoring, but we still have duplicate entries floating around".

Same for foreign keys and check constraints.

Queries are pretty intelligent, also, and mostly just work efficiently. You are right that some queries don't, and you have to know about the internals to make it do what you want. But here's what you are missing in that story: your data lives for a long time across many different applications. If you program everything yourself imperatively, you are bound to either over-engineer or under-engineer a lot of queries. The over-engineered pieces will look like premature optimization, clutter your code and tests, and be a time sink. The under-engineered pieces will come back to haunt you when your data grows and changes. Declarative relational systems actually do a pretty darn good job of handling this problem with a cost-based optimizer. Is it perfect? No, but it's an improvement in an awful lot of cases.

Also, you are ignoring places where databases do a good job with queries, like parallelization. It's easy to say that you'll just write all the queries imperatively yourself, but a lot of people don't want to spend the time to do the harder stuff even if it really matters for performance.

comment 7y ago · link · parent

G+ worked pretty well. I took shared family photos, a few thoughts, news, interesting stuff I found, got comments, etc. It did what I wanted.

However, it didn't do what Google wanted. It didn't capture my attention for hours and get me to engage with all kinds of corporate marketing and ads. It didn't teach Google anything about me (to be used to sell me stuff later) that it didn't already know.

We know with social media, we are the product, not the customer. So Google+ didn't fail, we failed. I was a great customer of G+, but I guess I wasn't a very good product.

comment 7y ago · link · parent

This seems to be confusion between "The United States Federal Government" and the entire population within the United States.

The Constitution divides responsibilities between the federal government, state governments, and the people. Education is left to the states which largely leave it up to localities.

It's kind of like saying that "The United States spends ten times as much on army helmets as it does on state parks". Well, duh, the states pay for state parks.

comment 7y ago · link · parent

Is Mg normally tested in blood tests? Seems like you could just read the results, and if low take supplements; if not, don't.

comment 7y ago · link · parent

"by definition, doesn’t contribute economic value that exceeds the cost of producing it"

You mean it doesn't capture the value. It may indeed contribute huge value without capturing it.

614.

Experimental drug delays onset of T1 diabetes(sciencemag.org ↗)

3 points · by wireprotocol · 7y ago · discuss

comment 7y ago · link · parent

Not entirely fair to npm. The battle is software complexity in general. Perhaps npm made the problem worse, but they hardly started it.

comment 7y ago · link · parent

Do these ebola outbreaks give the virus substantially more opportunity to evolve? Or is that not a significant risk?

comment 7y ago · link · parent

It sounds like you want to take a calculated risk. I'm not convinced that this is a calculated risk -- it's an unbounded risk. What if it, for example, kills of pretty much all of the insects over a large part of the earth?

comment 7y ago · link · parent

I still don't understand. How do you save millions of lives without the power to do big things?

comment 7y ago · link · parent

An important topic that warrants a lot more discussion, but the article is a bit shallow.

Ambition is connected to power but not identical. Power is often about power over people, but not always. Some people want to be free and some don't (at least in some contexts).

Freedom is closely tied to understanding, but the world is so complex now, how can we understand? We are all like an 8-year-old king surrounded by a bunch of people who also don't really understand the world.

Freedom is also a source of identity in the US. Could it be used to bring people back together here?

comment 7y ago · link · parent

Creating views makes more sense sometimes and CTEs make more sense other times.

Creating views just for one query is kind of like creating temporary variables for each subexpression. Sure, it works, but not a great solution.

Also, other databases do optimize through a CTE. So if you port to PG 11, you might see a lot of regressions in plans unless you rewrite to use views instead. PG 12 will work a lot better for existing queries.

comment 7y ago · link · parent

Crime is a declining problem in the U.S. and many other areas. Most of the criminals left have poor impulse control and/or are involved in gangs -- not exactly CSI material. Cops on the beat will do a good job without the fancy lab.

comment 7y ago · link · parent

What about the education itself? Do the awesome professors actually teach? Are the social circles at the college going to lead the student where they want to go in life? What about potentially-burdensome loans at the end of it?

I think we need to get away from the idea of college admissions as a tournament with Harvard at the top. "Good" depends on many things and different students may best be served by different universities.

comment 7y ago · link · parent

Are you predicting that people will actually ride this train in any significant numbers and create real economic activity?

If not, it's a distinction without a difference.

I grew up in the central valley. Nice place in many ways, but all that matters for this discussion is whether that route is useful. And I highly doubt it is.

A lot of the traffic on that route is trucking, which isn't helped by high-speed rail. You say it's connected by highways, but if you are riding the train you don't have a car. A bus? Kind of makes the train speed irrelevant if you are trying out a bus route from Bakersfield to somewhere else.

Not seeing the user story for this project.

comment 7y ago · link · parent

What about the student?

comment 7y ago · link · parent

"Level the playing field" is an over-used and under-defined expression. Do you level the playing field before you start or in the middle of the game?

What is the purpose of college admissions -- to award a select few or to match students with colleges where they are most likely to succeed?

comment 7y ago · link · parent

I am, for the most part, a free-trade advocate.

But I have been having more and more doubts when it comes to China. Free trade has not made China a more free place. It looks like they are just using their economic power to hurt freedom everywhere.

comment 7y ago · link · parent

Chicken can be quite tasty without much else if cooked properly.

It's fairly cheap, so it's the default for overcooked, dried-out protein. And sure, lots of things can be a substitute for that.

comment 7y ago · link · parent

It's not all downside. Commercials are a literal break during which kids might get distracted or even do a few other small tasks.

I'm not convinced that binge-watching with no breaks is ideal for anyone; let alone kids.

comment 7y ago · link · parent

There are two related issues: one is density overall, and the other is the housing to jobs ratio.

Adding a tall office building adds to density but skews the housing to jobs ratio. Probably increases inequality, worsens transit problems, and increases housing prices.

Adding a tall apartment building in SF or Palo Alto would rebalance the ratio of jobs to housing, alleviate transit problems, and make housing more affordable.

I guess the article is arguing that imcreasing density in the abstact increases inequality, which may be true. But the argument is not to just "build"; it's "build housing to rebalance the ratio" which actually would solve a lot of problems.

Density had positives and negatives. If you want to keep a given density ina given city, then fine. But crazy skew where you puts jobs far from housing is just bad policy.

It might be more precise to say "either build housing or raze office space" but it seems a little ridiculous to tear down vibrant office buildings, so the answer is to build housing.

comment 7y ago · link · parent

"Empty set differs from NULL is that you get an empty set if you apply an element-wise function over it"

It still sounds like NULL -- I must be missing something.

1
202122
87