Better HN
topnewbestaskshowjobs
Log inSign up

wireprotocol

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

Submissions

comment 10y ago · link · parent

Just because someone else is profiting from you doesn't mean you are wasting money.

Let's say you save $100k. You can either buy a house, or put the money in the stock market. If you put it in the stock market, you get a return but that return ends up going to your landlord's profit. If you but the house you get no return but don't pay the landlord's profit.

In other words, it's an investment. If you believe that the RE market has better ROI, and don't mind being rooted, then go for it. If you believe the stock market has better ROI and you prefer to be mobile, do the stock market.

comment 10y ago · link · parent

How did the ancient Egyptians know it came from the sky?

comment 10y ago · link · parent

Dynamic linking offers modularity and separation of concerns.

I don't really care which point-release of zlib my program is linked with, I just want to decompress stuff. If someone finds a bug (or exploit), I am not the best person to quickly realize it and release an update -- the maintainer of zlib, and the packagers, and OS distributions, and sysadmins are in a much better position. But if it's statically linked, then developers have to be involved.

You could say that we could invent a mechanism to allow sysadmins to rebuild with patched libraries, but then we'd still need to reinvent all of the versioning and other headaches of dynamic libraries.

I think dynamic libraries are kind of like microservices. Sure, they can break stuff, but they allow higher degrees of complexity to still be manageable.

comment 10y ago · link · parent

I have never heard the War on Drugs framed in terms of promoting freedom. Can you give an example?

comment 10y ago · link · parent

I think your answer here means that "freedom" is essentially a useless word in political discussions. Your definition is radically different than mine.

comment 10y ago · link · parent

That doesn't really answer the question though: if you could live in the wilderness, is that freedom?

comment 10y ago · link · parent

Let's say you have a person living in a remote area and they don't interact much with other people and they don't have a basic income. Are they free?

Let's say someone lives in the city without BI, is it fair to say that moving into the wilderness is an option for them, and therefore they are free? Does it change if they started in the wilderness?

comment 10y ago · link · parent

So... let's make some solar panels and relax?

comment 10y ago · link · parent

Will YC withhold taxes? Or might recipients get into tax trouble?

Is it possible that a mix of people with BI and without would cause some weird social phenomena that spoil the study?

comment 10y ago · link · parent

It might have been better phrased as a question. What do you mean by "still relevant to computer science"?

EDIT: from a brief read of his wikipedia page:

"Kay has lectured extensively on the idea that the computer revolution is very new, and all of the good ideas have not been universally implemented."

Coming from someone with multiple major accomplishments (OOP pioneer, smalltalk, overlapping window GUI, etc.), that's a powerful message that can still be applied today.

comment 10y ago · link · parent

I didn't read the whole article, but it seems about 10% truth, 90% natural fallacy.

comment 10y ago · link · parent

There's plenty of undeveloped land in this world. You don't need to be rich to find a remote area where nobody cares enough to look for you.

You do need to be rich to have convenient access to nature in exactly the doses you prefer.

comment 10y ago · link · parent

So what kind of diet cures, say, type I diabetes?

comment 10y ago · link · parent

None of what you said contradicts what I said.

Unemployment insurance generally has a limit (even if the risk you are trying to insure against is not). Is that limit within the reasonable bounds of self insurance? Probably so for many people, but maybe not for others.

Insurance is good for the really huge stuff, like giant medical bills or a house fire. For little stuff, there are so many risks that if something happens, it's probably not listed on whatever policies that you do have.

comment 10y ago · link · parent

But self-insuring for, say, $10000, allows you to deal with all risks less than $10000, not just those listed on a policy. In other words, self-insurance offers a pool across different risks, while commercial insurance pools the same risk across different people.

Also, commercial insurance creates bad incentives leading the insured to take more risks.

And there's asymmetry of information, where the insured knows the risk is greater than the insurance company knows. That means the insurance company needs to charge more to make up for the dishonest people.

comment 10y ago · link · parent

By "hacking on" I mean "submitted a pull request to Daniel Fagnan's project". I didn't mean to take credit.

But I do plan to keep improving it.

comment 10y ago · link · parent

Maybe there should be an annotation saying that the layout of a struct is important for ABI compatibility, and it would silence warnings related to the layout.

comment 10y ago · link · parent

Awesome, I didn't know that got committed! Hopefully stable soon.

comment 10y ago · link · parent

Excited about unwinding becoming stable. I am hacking on postgres-extension.rs, which allows writing postgres extensions in rust. This will mean that postgres could call into rust code, then rust could call back into postgres code, and that postgres code could throw an error, and rust could safely unwind and re-throw. Cool!!

comment 10y ago · link · parent

I really like my experience with rust so far also, but a few caveats:

* try!() Is pretty annoying

* Working effectively with C in non-lexical ways seems to involve some unstable libraries and still requires nightly rust

* Macros are safer, but can't do some things that C macros can. For instance, they are hygienic, which means you can't conjure up new identifiers. For that, you need a syntax plugin, which is very powerful but the APIs aren't stable yet. This goes to the previous point.

* A few annoyances, like warning when you don't use a struct field as "dead code". If I'm interfacing with C I probably need that struct field whether the rust compiler sees it or not, but I don't want to disable all dead code warnings for that.

comment 10y ago · link · parent

Personally, I don't care about the pauses, I care about having a complex runtime.

Consider a widely deployed library written in C -- say, zlib or libjpeg or SQLite or openssl. Could you rewrite those in Go or Haskell or Scala? No. Because nobody wants a big surprise when linking a harmless C library all of a sudden brings in an entire GC that's starting extra threads, etc.

In other words, Rust is the first practical language in a long time that could be used for a new library that might be used in millions of different applications written in dozens of languages.

comment 10y ago · link · parent

I've wondered for a while weather housing exclusivity can improve economies in some respects. Do the high housing costs create a strong selection bias to bring in only the most determined to take part in the SV culture?

Obviously, lower housing costs would cause a higher absolute density of people. But maybe the presence of people with other unrelated interests would somehow dampen the tech economy, even if the absolute density of tech people remained the same.

Let me be clear that I support more residential construction on the peninsula, so I am not saying this as part of a weird socio-political agenda. It's purely out of curiosity.

comment 10y ago · link · parent

High school is a resource if you already know how to learn.

Otherwise, it's a day care.

comment 10y ago · link · parent

Recipe to help someone else:

1. Provide challenges near the edge of ability. 2. Ask tons of questions to help the child achieve the goal. 3. Congratulate. 4. Ask tons of critical questions. 5. Go to 1.

comment 10y ago · link · parent

"What gives anyone, government or otherwise, the right to stop information at its source?"

The overwhelming majority of the electorate who believe that information is powerful and that people should be held responsible for misusing it in certain limited situations.

comment 10y ago · link · parent

Haha.

But there is a big difference between discussing tools and arguing about them like your career depends on a particular opinion being right.

comment 10y ago · link · parent

It's not necessarily a problem, but it takes humility.

comment 10y ago · link · parent

"Carpenters argue about the best saws/drills, artists argue about the best brushes/paints, musicians argue about the best instrument maker."

Is that actually true? I can't think of a single example of such an argument. I have heard recommendations, and heard various trendy tools being promoted (at least for music), but never an argument.

I think it has to do with transferability of skill. In music, carpentry, and painting, skill readily transfers to different tools even if it causes annoyance or a stylistic change in the result.

The stakes are much higher for web development; at least that's the perception. Skills probably transfer better than people think, but it's scary to have 10 years of experience and a high billing rate and then go back to "hello world".

It's much more comfortable to try to promote what you already know so that you don't have to do that. And it also avoids wasting time on a new framework that seems promising but never gets critical mass.

comment 10y ago · link · parent

More to the point: if a few molecules of something cause your body to asphyxiate itself, it's hard not to call that a biological blunder.

Maybe there's more to the story, but it's not a matter-of-fact simple defense against peanuts.

comment 10y ago · link · parent

What would stop a municipality from making zoning laws that are impossible to meet, and then just issuing waivers to those that play the political game well enough?
1
484950
87