Better HN
topnewbestaskshowjobs
Log inSign up

wireprotocol

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

Submissions

comment 6y ago · link · parent

I wish SQL had used a Maybe/Option type, or other algebraic data types, instead of NULL. So much safer and cleaner.

comment 6y ago · link · parent

As I wrote before:

http://thoughts.davisjeff.com/2009/08/02/what-is-the-deal-wi...

"NULL semantics are designed to make you think you understand them, and think that the semantics are intuitive, and think that it’s part of some ingenious consistent system for managing missing information. But none of those things are true."

Any explanation you come up with does not generalize to other cases. NULL is just a bunch of special cases piled on top of each other, and really only kind of works because SQL is not designed to be very extensible (and to the extent it is, the standard doesn't give much guidance on how NULL should behave in these extensions).

comment 6y ago · link · parent

"Conservatives" are not a single monolithic block of people, and labeling them as such doesn't help in any way.

Both sides regularly use "States' Rights" if and when convenient. When your side has a majority in Congress, go for a national bill; when your side has a majority in a state, go for a state bill. So it's easy to point to hypocrisy, but I tired long ago of "hypocrisy" as an argument. It's not convincing anyone, it's just a way to score points.

But States' Rights are a legitimate principle, too. The EU member states have rights (including the right to leave, apparently). I think retaining some autonomy is a good hedge against the risk of bad things happening at a higher level of government.

comment 6y ago · link · parent

Isn't it at least a little scary to you to nationalize the voting process? Would you want a Voting Administration with presidential appointees deciding how to register voters, collect votes, and count them?

I guess other countries do things that way with lots of observers, etc. to try to avoid the worst problems. But I'm not excited about my state/county giving up its role (which it seems to do just fine) under the theory that the federal government will do better in some other state and county that doesn't currently do a good job.

comment 6y ago · link · parent

The most interesting point made is that secular societies still have a clerisy (or clergy? What's the difference?). People who are powerful but not rich; deriving their power from moral authority; and highly dogmatic.

The details of the piece don't have quite enough support given how contraversial they are. That doesn't mean the author is wrong though. Worth more exploration and discussion.

comment 6y ago · link · parent

There's a careful balance when using tools and libraries. It's obvious that they are a good choice sometimes, but I've been surprised at the number of times where a tool/library that looks like a perfect fit is actually not, and the whole problem needs to be reconsidered and I end up writing a lot of original code.

comment 6y ago · link · parent

Or maybe they would prefer to spend their time finding people who are actually hard to enunerate, rather than wasting on someone who is just looking to consume their time.

comment 6y ago · link · parent

There aren't that many DNS names out there. Eventually we should be able to just replicate the entire DNS database (or large parts of it) to routers or even local devices. Then your lookups don't go outside of your network.

comment 6y ago · link · parent

I wouldn't consider the name "Reiser" to be burned in most contexts. It's a normal name. But in this case the name is reminding us that the product was literally lead and developed by a murderer.

comment 6y ago · link · parent

Distribution is a vastly underestimated economic problem. Of course, politics can be a major factor too, but I wouldn't assume that politics is the problem just because there is plenty in one place and scarcity in another.

comment 6y ago · link · parent

Sure there is. If the accumulated doses over time aren't unlikely to significantly harm someone before they die of something else, then it's safe.

comment 6y ago · link · parent

"... you find only an external skin which is at the same time a structural component and the tank wall ... Engineering has two phases, structuring and integration: we ought not to forget either one..."

That could be interpreted in non-horrifying ways. Sure, the cost of a function call (especially with a modern compiler that can intelligently inline) is negligible in most cases compared with the engineering benefits it offers.

But what about cases where it's less clear? In databases, there are constantly cycles between:

Cycle phase 0: Abstract Storage: separate storage from computation to make the database system easier to test, replace, and reconfigure.

Cycle phase 1: Push computation down to storage: wow, look how much better performance we can get if we intermingle storage and computation!

GOTO cycle phase 0.

comment 6y ago · link · parent

What you are describing may say more about the problem definition than the rate of change. If the software will only be used in certain limited situations, then you can make a bunch of assumptions and assemble the solution from spare parts. As long as your assumptions hold everything is fine. When the assumptions fail, someone will tell you, and you can rewrite it with the new assumptions in mind.

But some software might be used in a lot of strange environments with strange inputs. A lot of effort needs to be spent trying to clarify and improve semantic and performance edge cases. Using libraries here is not necessarily helpful because sometimes you spend more time working around the edge cases in the library than you would just re-implementing it.

I recently re-implemented a minheap even though there was already a library readily available, because the library assumed pointer-width types and I needed it to support longs. On my machine, a pointer and a long are the same length, but that's not guaranteed.

comment 6y ago · link · parent

Hmm. It's also pretty hard to imagine that. You're saying that we ask the big tech companies to pay tens of billions per month in taxes?

comment 6y ago · link · parent

My gut tells me a 10% VAT won't be enough. It's excluding medicine and housing and food. What else do people spend a lot of money on? Cars? Will that really bring in enough for tens of billions per month?

comment 6y ago · link · parent

I can imagine this incentivizing semi-rural living. Cheap house, low COL, steady income.

comment 6y ago · link · parent

No, I'm not suggesting company size should have anything to do with it.

comment 6y ago · link · parent

To some degree, yes. Maybe not in the same way as a book publisher, but also not zero like a common carrier.

comment 6y ago · link · parent

Maybe we should just get rid of liability for authors and publishers, then, also?

It's fair to ask how big of a problem libel is. It's hardly enforced now, anyway. False accusations fly, with no consequences. Reporters at major outlets repeat accusations with no evidence ("sources say that ... did ...").

comment 6y ago · link · parent

Liability should not be black-and-white. HN has a process for flagging and burying content, and they employ moderators. If some kind of libel is buried in a greyed-out user comment or a flagged post, then no harm. If the libel sits on the front page in the title of a post for two days, there's a real issue there.

It's interesting that you mention HN, because it's basically not a problem here.

comment 6y ago · link · parent

I don't think the big tech companies should get blanket common carrier protections because they aren't common carriers. They have knowledge and control over content, and therefore should be responsible for it to some degree.

But that doesn't mean they should have no protections or that thry should be treated like a book publisher. There can be some reasonable processes amd limits of liability in place.

comment 6y ago · link · parent

Common carriers (like a telephone company) are content-neutral (unbiased) and have no legal responsibility for what is said. If someone mails you a threatening letter, you can't sue USPS.

Publishers can publish (or decline to publish) whatever they want, but they do have some responsibility for what they say. Libel, copyright infringement, and threats all carry consequences even if the publisher is not the author. Publishers can be as biased as they want.

Is FB a publisher or a common carrier? What about Google? Youtube? Instagram? Twitter?

(The answer is that they are kind of either depending on the exact part of the organization. And they are having it both ways: control without responsibility.)

comment 6y ago · link · parent

The protections designed for phone companies, etc., make perfect sense: the phone company is just facilitating communication in a content-neutral way. Phone companies should not be responsible for knowing or caring what content is shared, even if it's some kind of slander or treasonous plot being discussed.

But does that apply to web platforms that aren't content-neutral? I think probably not. There is such a huge volume of communication that they should have some protections built in, but not blanket protection.

comment 6y ago · link · parent

Is that true or does it just seem that way?

Cars today are pretty reliable. Random other stuff seems pretty decent as long as you don't buy the absolute cheapest stuff around. I'm working on a solid wood desk with no nails or screws (it's called a "puzzle" desk because it fits together in a stable configuration without any connectors). I'm looking at a backpack, which I assume is nylon, and it seems pretty tough and has lasted through a few adventures. I'm looking at my metal-framed bookcase, which has fake-wood shelves but it still seems pretty sturdy.

There are certainly some things that seem worse. Furniture is probably worse overall, but that's because good wood is so much more scarce now. If you buy metal/glass furniture than it's fine. There are also some worrisome practices that are pretty widespread, like using plastic-threaded screw holes rather than metal; or just using really cheap metal that can be stripped or cross-threaded easily.

On balance, where are we? I have a feeling that we're basically better off. We remember the old stuff that lasts, and forget about the stuff that breaks (unless it's still celebrated/historical, like the Liberty Bell).

comment 6y ago · link · parent

Maybe in some degenerate form of consensus, like consensus on raw observations. If one person sees a rise in temperature during a reaction, someone else can say "nuh-uh, la la la".

Other forms of scientific disagreement happen, but those disagreements imply different predictions, and can be resolved with more experiments.

Science is a process that bootstraps broad agreements (scientific laws) from very tiny agreements (observations). The fact that a broad agreement (consensus) exists carries no weight if one lone wacky scientist can show reproducible observations that contradict it.

comment 6y ago · link · parent

I didn't know an amoeba could be a virus.

comment 6y ago · link · parent

"...there is something about the American education system - and perhaps our overal culture - that is failing our children..."

Perhaps the whole idea that there's a "system" that's responsible for everyone's success is the problem?

comment 6y ago · link · parent

As we lose obsolete skills, we simultaneously become more interdependent on other humans, as the web of dependencies becomes more complex. More people need to coordinate action to complete even basic tasks.

With that in mind, preserving communications would seem to be near the top of the list (perhaps just below clean water?) when things go wrong. Radio seems like a good backup -- perhaps even ideal.

So I don't think we should compare radio to just any obsolete tech out there.

comment 6y ago · link · parent

What did you want to do with packet radio?

That's probably somewhat of a special interest since it requires a smart device.

comment 6y ago · link · parent

Have you ever been to a TJ Maxx? Maybe they don't have Gucci there, but if you really want Gucci, it's not because of the quality.
1
101112
87