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

So many problems here:

* Public service loan forgiveness

* Inability to get out of loans through bankruptcy

* "College, college, college" mantra where college is specifically defined as a big expensive place you go

* Kids' first "grown up" financial decision is a big one

* Majors that don't have a track record of paying off with no real counseling or information to encourage more realistic choices

* Kids taking easy or "cool" majors without thinking very hard about the financial trade offs

* Going back to (expensive) school as a way to hide from debt payments

* Many colleges more like joining a social club than an educational institution. The first two years at university are very expensive but no better at educating than a community college.

We know these are all problems, we just have no will to fix them. Politicians are looking for a political money-shuffling solution after the damage is already done, not looking for policies that will prevent the harm.

comment 7y ago · link · parent

This article uses "individual contributor" too freely. Many decisions even for small projects have long-term impact on thr team.

Even if you believe it's an accurate term, I find it a bit dimunutive or even condescending.

comment 7y ago · link · parent

Did you actually read the thread and conclude it to be unreasonable gatekeeping, or are you assuming that it was?

comment 7y ago · link · parent

Everyone in that thread knows what a partial write is. That's why the patch author saw this error message:

    > 2011-07-31 22:13:35 EST postgres postgres [local] LOG: connection authorized: user=postgres database=postgres
    > 2011-07-31 22:13:35 EST ERROR: could not write block 1 of relation global/2671: wrote only 4096 of 8192 bytes
    > 2011-07-31 22:13:35 EST HINT: Check free disk space.
    > 2011-07-31 22:13:35 EST CONTEXT: writing block 1 of relation global/2671
    > 2011-07-31 22:13:35 EST [unknown] [unknown] LOG: connection received: host=[local]
If they didn't know what a partial write was, they wouldn't have identified it specifically as an error case with its own informative error message.

The proposed patch retries rather than throwing an error.

comment 7y ago · link · parent

Tools are generally independent. Using a particular screwdriver doesn't change the effectiveness of your hammer.

Changing between programming languages is a bit more complicated than exchanging tools in a belt.

comment 7y ago · link · parent

emacs with elpa-rust-mode (ubuntu package) works well for me.

comment 7y ago · link · parent

I feel this is a little unfair to the community and I encourage others to read the thread before forming a negative opinion.

It seems like a fairly good example of an engineering discussion. Even if the patch is correct and conforming and solves a problem, that doesn't mean there is no use for further discussion, and the surrounding discussion does seem to have merit.

Things like:

* Are there closely-related problems still left unsolved (e.g. retrying reads)?

* Is something not configured according to best practices known by other community members?

* Expressing an opinion that the use case is dangerous, so that nobody (including other people reading the thread in the future) will take it as an endorsement for running postgres on NFS.

* Some legitimate-sounding questions about the specifics of the patch (around zero returns, what writeAll handles versus its callers, etc.).

* At least one person agreed with you that it's a reasonable thing to do.

I don't think HN is really the right place to assess the technical merits of a postgres patch, but the discussion itself seems well within reasonable bounds.

comment 7y ago · link · parent

Cool! Yes, on the dexcom G6.

Thanks, I will check those out!

comment 7y ago · link · parent

I was diagnosed around 12. It was briefly a concern until I actually did it.

The blood checking pokes are much worse, because they have to actually draw blood. Usually fine but sometimes quite painful or difficult. Now I use a continuous glucose monitor (CGM) and it's much better.

comment 7y ago · link · parent

Type I diabetic here.

The injections are really not a significant problem for me. A lot of people may recoil at the thought of injecting themselves often, as though it's painful. It's either not painful or maybe a little, but I just don't care much.

Much worse things about being diabetic are:

* Danger of low blood sugar

* Trying to get the right dose

* Timing the dose so it is effective at the right time

* Carrying around a bunch of stuff that I need or may need, like insulin and glucose tablets

* Trying to keep the insulin cold enough or fresh enough that it retains its potency

* Keeping my phone on and charged all the time, which has my blood sugar readings, and checking it at times where it might seem like I'm rude. I'd rather use a watch or special device, but the special devices are strangely bulky and don't hold a charge, and watches apparently can't receive blood sugar readings yet (without a phone also present).

None of those things are very terrible. Treatment is much better now. But they are all way worse than the tiny insulin needle injections.

comment 7y ago · link · parent

Let's say it's never redeemed, and it just ends up being a bad book. So what?

People have bad ideas all the time. Are we incapable of dealing with bad ideas on an intellectual level any more? We should be analyzing the understand the flaws in the reasoning that lead to the bad idea.

The antidote to bad ideas is reason, not silence.

comment 7y ago · link · parent

What problem is this really solving?

In dense areas, large buildings with small apartments make sense. Otherwise, just build normal-sized homes.

What am I missing?

comment 7y ago · link · parent

Once you start redistributing wealth, it turns into a grand 300-million-person argument over who gets what.

Immigration arguments because each immigrant would be entitled to something, often more than they contribute for some period of time.

Childbearing arguments, for essentially the same reasons as immigration.

Arguments about drugs and other vice, becasue everyone would want to make sure you are contributing as much as you can, and many feel drugs prevent that.

Arguments about education and career choices.

There are no absolutes, but as long as people basically believe that they have what they create, then they will focus on creating and not worry about what other people create (or not). When they believe they have what they can get through the political process, they will focus on political fights.

Fundamentally, freedom and large-scale socialism don't mix. In a socialist system, there are just too many other people who have a vested interest in what you do (and don't do). It may work in small countries or on short time scales, but these arguments eventually result in authoritarian policies.

comment 7y ago · link · parent

I use a different approach to learning new languages: I try to find out why the language really exists. Often, there is a very good reason that justifies all the work of creating a new language.

Often, this has more to do with the environment, runtime, etc., and the features of the language merely exist to serve that purpose. If that were not true, someone probably would have used an existing language and changed the runtime.

For rust, it seems to exist to bring modern, safe language features to a minimal C-like runtime existence by doing all of the work in the compiler. C has continued to thrive all of this time because it has a minimal runtime and a stable ABI defined on nearly every platform. Rust has a minimal runtime and supports the C ABI very well, so it has a great chance to have a big impact in areas where C/C++ might otherwise be used less safely and less productively. So my focus when learning rust is how to use the C FFI while still writing idiomatic rust.

It's harder to learn that way, but I find it more satisfying, especially in cases where I don't have an immediate project that's going to use the language. The fact is, no matter how many programming puzzles I solve in rust, it's not going to make it any more likely that I will rely on it for anything but a toy or hobby project. But learning the rust FFI does make it more likely I will rely on it in the future. Puzzles can be solved in any language; weird corner cases in the FFI cannot.

comment 7y ago · link · parent

I think we are in agreement. My point was that it's nor clear that rich people would consume less, so the money would come from them divesting assets to pay the taxes.

comment 7y ago · link · parent

I theory (feel free to e skeptical), it works like this:

Higher taxes mean that it's harder for rich people to consume a lot. So they would no longer be able to afford a mansion, and the building manager would convert it into 10 apartments and one luxury apartment. The rich person would still be able to afford the luxury apartment, but there would also be 10 more "normal" units available to people relying on basic income.

The problem is that rich people don't consume in proportion to their wealth... most is usually invested. So high taxes don't necessarily free up consumable resources very effectively, and could have consequences for future tax revenue.

comment 7y ago · link · parent

I think the mean is a bad metric to use. Drug users are not distributed uniformly. There are certainly places where thr murder rate is more than 20x somewhere else, so the number is plaisible to me.

comment 7y ago · link · parent

You allude to a different standard, what should the standard be?

comment 7y ago · link · parent

It depends somewhat on the transgression and how it relates to thr works.

Cosby's "lovable american Dad" character is incongruous with the crimes he committed and that really does diminish the work.

Rosanne's charcter is flawed by design along with the rest of the realistic family. Throwing in racism (or stupidity, if she didn't intend it in a racist way) fits just fine with the character and does not diminish the great series that it was.

comment 7y ago · link · parent

Isn't that the problem the author is talking about? That Rosanne is thrown into the same bucket as Cosby?

comment 7y ago · link · parent

Not sure what the "devil's triangle" means.

The Kavanaugh case is interesting. It makes clear that some people want a new process for determining guilt, but nobody seems to make clear what that process should be.

A process is important because, in the face of uncertainty, we need an a priori agreement on how to settle it. After churning through the process we are supposed to unite around the result of it even of it's not what we hoped, and basically record it as a fact in the public record.

Leaving festering challenges to every fact just keeps us divided, eventually to the point everyone is working with their own set of facts.

It's also interesting because there is such a process. I don't see any reason the Maryland DA can't refer the matter to a grand jury. The grand jury would either indict or not, and then I believe we could unite around that result.

comment 7y ago · link · parent

Is social isolation the right response? Does it produce a good outcome?

Does it result in anyone deeply learning the lessons of history behind it all? Or do they just learn to keep their mouth shut?

If someone is expressing bad ideas, then you can use their comments a an opportunity to teach a deeper lesson. If they just shut up, the conversation never happens and no learning takes place.

I suspect that a lot of well-meaning people do not really understand much about racism. How could they? It's such a dangerous topic that you can't even ask basic questions without putting yourself at risk.

Maybe that's fine in the sense that fewer people are offended. But I am not convinced that such a shallow lesson will last more than a couple generations, and the "shut up" lesson creates a lot of collateral damage to the overall culture.

comment 7y ago · link · parent

In Rust, using the newtype pattern is fairly common, but doesn't have explicit support. It's typically done as a single-member tuple.

Maybe support will be added later?

comment 7y ago · link · parent

My worry comes mostly from the article. I'm not informed enough on this topic to say how feasible it is to resolve these concerns.

comment 7y ago · link · parent

I have a lot of respect for C++ because it's still holding together (thriving even) after changing and adding so much.

But I have to wonder, is adding one more big feature wise? Will modules be the feature where it becomes impossible to create a compiler that's both useful amd conforming?

comment 7y ago · link · parent

Why can't it go in reverse?

New discoveries that are actually false seem likely to cause a lot of confusion leaving you worse than wrn you started.

comment 7y ago · link · parent

Or, after making the hypothesis, collect new data to try to refute it.

comment 7y ago · link · parent

SQL parsers, like postgres and mysql.

comment 7y ago · link · parent

One cool thing is that you can use it almost anywhere -- an OS kernel all the way up to a game compiled to WebAssembly to run in the browser.
1
242526
87