Better HN
topnewbestaskshowjobs
Log inSign up

wireprotocol

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

Submissions

comment 9y ago · link · parent

But that's not why it was banned. See my other comment.

comment 9y ago · link · parent

Maybe, but that's not why it was bannned. It was banned because it's unpleasant.

Tons of things are safety issues that get little attention. Second-habd smoke got tons of attention.

comment 9y ago · link · parent

Smoking in public places was banned because it's annoying/unpleasant for a lot of people. But they didn't just say that, they called it a safety issue.

This is the same thing. People are uncofortable, and they want to frame it as a safety issue.

comment 9y ago · link · parent

Does the article answer it, or just spend the entire time on the more poulist point that airline seats are uncomfortable because airlines are greedy?

comment 9y ago · link · parent

No, they are reconsidering the relevence/quality of studies done that show it's not a safety issue.

That doesn't mean that it is a safety issue.

comment 9y ago · link · parent

What's the point? If people were willing to pay more, airlines would make seats bigger. But people want cheap flights, so they get small seats.

comment 9y ago · link · parent

Thank you for articulating a sincere opinion. Regardless of whether it's a good opinion, many people share it and it is worth discussing.

I don't know what downvoters are trying to accomplish here, frankly.

comment 9y ago · link · parent

At first, I dismissed snapchat thinking "people will hack the protocol and save messages anyway, and the whole idea will fall apart". Then, I was a little envious that someone else had the idea, and I now think it was a good idea, and that I was blinded by an overly-technical analysis of their product.

But it doesn't look like the couple good ideas they had were enough to make a long-term business. So, unless they do something cool in the next 12 months, RIP. Founders got a nice payday, so who cares?

comment 9y ago · link · parent

They make decent money -- good money even. This is really an article about the high housing costs in the Bay Area. I don't see any other real message here.

All of the people who oppose residential development near work sites are to blame. Period.

comment 9y ago · link · parent

Great comment.

But it doesn't always hold in small markets or markets with little variety. Consider towns where there are only a few important employers.

I still agree that imposing the costs on the employers is arbitrary.

comment 9y ago · link · parent

Maybe religion could transition slowly away from supernatural to "living with forces outside of your control". And away from heaven and hell to some notion that being good is its own reward, and good for your descendants.

comment 9y ago · link · parent

My point was that sometimes something may have a positive effect even if we don't understand why or where the positive effect comes from. We can't easily reproduce the positive effects of church because we don't know what about it, exactly, is responsible for the benefits.

Similar to how a multivitamin and junk food doesn't replace a balanced diet. That's just an analogy to help illustrate my point, not a point on its own.

I think it's more likely that churches will adapt to our modern understandings than someone will build the perfect atheist social institution from first principles.

comment 9y ago · link · parent

Interesting point, thank you for answering.

I wonder if the "next thing" is going to come from atheists constructing such an organization from scratch, or from religious people adapting churches to fit our new understandings?

comment 9y ago · link · parent

Even if you are not religious, you may want to reconsider church. It can be good for people and communities in many ways, and often for reasons you don't understand.

Sometimes I feel like American culture is being sterilized. Just like white bread and a multivitamin, we only take what we understand and leave everything else behind. And then when we encounter social problems after eliminating church (or health problems when we eliminate natural foods), we are puzzled.

comment 9y ago · link · parent

As I said before: math courses are objective, so they make a reasonable "canary in the coal mine" for a failed education.

Maybe you don't need math. But if you can't pass the course, there may be other serious problems.

It's easy enough to keep pushing kids/adults forward by redefining success in other subjects. Extra credit, dubious essay standards, grade inflation, etc. We need math to keep the system honest.

comment 9y ago · link · parent

This article makes it sound like kindness is just expending extra time for the same message, and it's magically "nice".

That explanation of kindness doesn't make sense. Some people try to be nice and, by mistake, end up being rude. And business people make deals quickly all of the time, using jargon and cutting out pleasantries while still being kind.

No, kindness is a skill of words and actions that must be developed over time. It's about navigating complex ideas and decisions effectively.

For instance, "no" is generally rude, not because it's too short, but because it doesn't provide good feedback on a complex idea. What is the proposer trying to accomplish? What existing alternatives exist, or what others might be explored?

If you don't have the time to give good reasons, then point them toward others that you trust to give good advice. E.g: "This proposal is unacceptable. Discuss with group XYZ and explore alternatives." Or even: "This proposal is unacceptable -- the proposed use case is not important enough to justify what you are trying to do."

comment 9y ago · link · parent

People are prone to religion. If they don't have an organized faith, they will look for it elsewhere.

That's why progressives (who are generally atheists or agnostics) seem to treat non-religious things like the environment as a religion.

comment 9y ago · link · parent

There are some extension APIs that demand C. But perhaps I dismissed the idea of plrust too quickly and there is room for both?

comment 9y ago · link · parent

Creating a new module or UDF requires exporting new special symbols for V1 calling convention.

Rust's hygenic macros don't let you do that. So defining a UDF has a bunch of boilerplate, unless I am missing something.

Procedural macros should alleviate this, but it will be a while. I might just release and document the boilerplate needed.

EDIT: Yes, I am trying to be mostly safe. I will see how close I can get for at least the basic stuff.

comment 9y ago · link · parent

I've made some progress. Not quite as thin as I had hoped ;-)

I really need procedural macros to stabilize, otherwise it just puts too much pain on the UDF author.

comment 9y ago · link · parent

Haskell (and any other GC language) has big runtime requirements that rust does not. It's not just about the ABI.

Your argument does apply to Ada, but freeing from the heap in Ada is unsafe, which has made it difficult to use in a safe way for a lot of cases.

Rust really does make an advance in this regard: safety, and no significant runtime requirements.

D and modern C++ might work for disciplined teams, but seem a few steps behind rust safety-wise.

comment 9y ago · link · parent

I am a fan of rust, but this article overstates the simplicity of C/rust integration.

A few examples:

* You may need to use PhantomData in your struct definitions to properly track lifetimes. Not sure I fully understand.

* C functions don't always return. Sometimes they longjmp (c.f. PostgreSQL). Calls into C code need to prepare for this and it's not trivial nor does it generalize to all projects.

* Integrating with the memory management scheme is probably possible but not trivial. For instance, Postgres memory contexts (regions/arenas) can hold any kind of object, and code can switch between them and create/destroy them at will. You could rely on rust to manage it's own memory, with circular references an Rc that might leak.

* Postgres has its own calling convention for SQL-callable functions and conventions for loadable modules. Integrating with this is a pain because macros are hygenic and can't make up new symbols. Maybe procedural macros will help when they arrive.

* Rich APIs that rust supports don't always translate well to C. When integrating with a large application that pushes you toward the lowest-common-denominator APIs.

* A lot of C macros don't translate well to rust and just including a C header in rust is a lot of work. Hoping procedural macros will help here too.

comment 9y ago · link · parent

Can someone please explain why a helicopter can't go over the hole but a plane can?

comment 9y ago · link · parent

Objective tests for math ability are pretty good. Arguing that they are only 99% objective doesn't really change my point.

People aren't afraid of making tiny mistakes. They are afraid of looking at a problem similar to a dozen they saw in lecture; and having no idea what to do, and then being told under no incertain terms that they did not succeed.

comment 9y ago · link · parent

My theory is that math anxiety is really anxiety about a cold assessment.

In other subjects you can rationalize to yourself in various ways: the teacher doesn't like me, or I got unlucky and they only asked the history questions I didn't know.

But with math, no rationalization is possible. There's no hope the teacher will go easy on you, or be happy that you got the gist of the solution.

Failure in math is often (but not always) a sign that education has failed in general. Teachers can be lazy or too nice and give good grades in art or history or reading to any student. But when the standardized math test comes around, there's no hiding from it (teacher or student).

comment 9y ago · link · parent

Are you saying there's a way to use haskell without the GC or other runtime overhead?

I like rust because it doesn't have much in the way of runtime requirements (almost zero, like C).

comment 9y ago · link · parent

Glad to see all the ways people use them!

Date and Darwen are clear-thinking and they write well. But you are right that they are quick to criticize and some of the alternative solutions they offer are unconvincing.

The most obvious example is their handling of NULL, which had a bunch of great criticisms followed by a totally impractical altenative ("special values"). If they had been a bit more humble, maybe they would have just borrowed Maybe/Option types from ML.

On the other hand, they really helped me make the connection between logic and databases. And that helped me a lot in practical ways (e.g. exploring dirty data precisely).

Regarding temporal data, they divorced from SQL and started from first priciples. That clarified a lot of things for me and then I adapted those ideas to SQL.

So: their books are great, but I don't recommend joining their cult ;-)

EDIT: I think a lot of SQL implementations are going about temporal the wrong way. They should focus on the fundamental building blocks first (like ranges of time) and build up from there.

comment 9y ago · link · parent

Also Temporal Data and the Relational Model https://www.amazon.com/gp/aw/d/B005UY0W0E/ref=mp_s_a_1_1?ie=...

A great book which inspired Range Types in PostgreSQL: https://www.postgresql.org/docs/current/static/rangetypes.ht...

comment 9y ago · link · parent

If the business's primary objectives are non-technical, there will be some level of management that is non-technical, and they need some guidance.

This article isn't the greatest, but it doesn't seem terrible to me.

Note that "technical" is a matter of degree and relative to the team being managed. It doesn't necessarily mean they dictate their emails to their secretary.

comment 9y ago · link · parent

Management is (and should be) different for businesses where engineering excellence is a necessity versus businesses that just need competent/efficient technical solutions to non-technical problems.

This article is clearly about the second type of business. And it's designed to defend the second type of business against programmers who think they work for the first type of business.

1
383940
87