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

Transaction IDs are 64 bits, but they need to be stored in the tuples themselves for visibility purposes. So, only the low 32 bits are stored, but that creates a wraparound problem.

comment 10y ago · link · parent

Robert is amazing, I 100% agree. Not only has he done a lot of great things himself, but he's helped with other people's work (including mine) as well.

But lots of others do great work, as well. Some of it very big and ambitious, some of it is more humble and incremental.

comment 10y ago · link · parent

I didn't say or imply anywhere that they were at odds, nor do I think they are in general.

Rather, the business success part of the narrative was missing in this particular case, leaving an inconclusive feeling.

I recommend that you give others the benefit of the doubt and make a real effort to understand what they are trying to say, rather than assuming they are wrong merely because the comment triggers a politically-incorrect reflex. You're comment leads to an environment where people are afraid to contribute new ideas to the discussion.

comment 10y ago · link · parent

They should lead with their business successes (even if not profitable, they can talk about customer satisfaction, compelling use cases, differentiation, and growth), and follow up with "and we are also a great place for women to work, and we think other businesses can be, too".

If you choose business as a battleground, then you are implicitly setting up the success criteria as business success. So leaving that out and just focusing on hiring ratios and employee happiness feels incomplete.

comment 10y ago · link · parent

I am surprised this took so long to discover -- wouldn't this be one of the first things to examine when looking for non-randomness?

comment 10y ago · link · parent

Nothing is "free", the only question is: "who pays, and how does that change the incentives and results?".

comment 10y ago · link · parent

Those are all theoretical use cases which need to be proven over time.

The illegitimate use cases are already proven.

comment 10y ago · link · parent

The ideological reason to use GCC is to prevent clang/llvm from succeeding, which will drive everyone toward a copyleft product (GCC), which will encourage reciprocity.

Your observation is no consolation for someone who subscribes to that ideology.

(Personally, I do not subscribe to that ideology.)

comment 10y ago · link · parent

It seems like rust bundles it's own version of llvm. Are patches from the rust community making it in slowly? Or are there some fundamental differences?

Does Swift do something similar, or does it work with stock llvm?

comment 10y ago · link · parent

The best numbers to use are the prices, which they also cite.

Granted, there are still multiple factors at work and you need to take several measurements.

comment 10y ago · link · parent

What makes you think that your distinction is the correct one legally? Has it been tested?

comment 10y ago · link · parent

I feel that the anger about the citizens united decision is misdirected.

People speak and act. The fact that they do so on behalf of a corporation is not of primary importance.

By saying that there's "corporate speech" and "personal speech", and that the latter is protected and the former not, is essentially the same reasoning that allows corporations to commit crimes with no personal crimes taking place.

comment 10y ago · link · parent

There isn't one "real" problem. You are talking about one problem, and rust solves another. I don't see any reason your comment needs to be framed as a contradiction to the OP.

comment 10y ago · link · parent

"[Other safe languages] require complex runtime support that doesn't fit in certain contexts (e.g. kernels)."

Complex runtimes are also unsuitable for libraries. If you write a great openssl replacement in Haskell, it's only useful for Haskell applications. Because nobody wants to link the Haskell runtime into many of the applications that use openssl.

For widespread libraries, the choices are basically C, C++, and now (hopefully) rust.

comment 10y ago · link · parent

Except that you can't write a law that says "no bullshit". You have to actually specify what is bullshit and what isn't.

The alternative is arbitrary power, and that doesn't have a good history.

comment 10y ago · link · parent

Your app/library inherits the technical debt of all its dependencies.

There's a natural tension between code reuse and avoiding dependencies. If you can avoid a big dependency by writing a couple hundred lines of low-maintenance code, its probably worth it.

comment 10y ago · link · parent

You could say that no scheduler is truly pre-emptive, because it can't interrupt a process in the middle of a machine instruction.

Implementing NIFs should be done with the same care you would use adding a new machine instruction to your processor ;-)

comment 10y ago · link · parent

I think it's hard to tell whether a language (by itself, not counting the libraries) will be good for something until you try. Rust has enough going on that some creative people might find some really useful things it can do in surprising spaces.

Think about JavaScript and Node.js. Who would have predicted that?

comment 10y ago · link · parent

"If someone adds a new field to a row, you have to rebuild all your Rust programs that use the database."

Are you sure? Why do you say that?

comment 10y ago · link · parent

QE leads to deflation?

comment 10y ago · link · parent

I think you've misdiagnosed the problems. They have little to do with transferability.

1. Patents are a crap shoot.

2. No realistic means to recover legal fees if you do fight.

3. So it's a one-sided crap shoot.

You could say that being a NPE is a part of #2, but there are easier ways to fix it: just require posting a bond when suing for patent infringement. If you lose, some or all legal expenses will be deducted. If you win, you get the whole thing back.

comment 10y ago · link · parent

From the article it sounded like they were already well on their way to disaster even with high oil prices. For instance, not even maintaining their oil infrastructure, and installing incompetent loyalists to run it.

comment 10y ago · link · parent

You never know when something is going to really click.

One thing that's really cool about rust is that it can choose a conversion function based on the type of thing you are assigning to.

In other words, in "let x = foo()", foo() can do a different thing depending on the type of x.

I found that out working on a simple rust program interacting with postgresql.

Not saying that one feature makes all the difference, but you find nice advantages like that all around. Taken together, they might lead you to a more creative overall solution, and it might be a game changer.

comment 10y ago · link · parent

https://en.m.wikipedia.org/wiki/The_lexer_hack

comment 10y ago · link · parent

This is a challenging research problem -- perhaps harder than nutrition and diet research to answer anything definitively.

In the present, everything is connected. Giving someone basic income may mean that they demand higher wages for, say, working as a waiter in a restaurant. But if you only give basic income to some people, then those people still benefit from low-paid waiters (which wouldn't happen if it were on a national scale).

On top of that, it's a dynamic system. Traits like work ethic are partly cultural or passed down in families. Maybe the first generation of BI benefits more from work ethic, but it may decline in a few generations, perhaps undermining BI. That may not be apparent in a small study even of taken over a long time, because the participants will not be isolated from the surrounding culture.

comment 10y ago · link · parent

He said it's documented. That tells me it's probably easier to maintain than many other approaches.

comment 10y ago · link · parent

I can't help but think the author would benefit from some of the philosophy of James Hague (a game programmer):

http://prog21.dadgum.com/

Don't focus too much on technology, disconnected from what people (including you) might want to actually use. Otherwise you will not get the real inspirations -- even purely technical inspirations -- that come from something that you intend to use.

comment 10y ago · link · parent

Cryptography gives you control, but not autonomy.

Open formats and standards that are fully usable on other platforms are also important. Many companies provide "export" functionality, but actually using your own data from some XML file often means a non-trivial programming project.

You need formats where you can make them usable easily, using free software (ideally several options), on multiple different kinds of platforms (cloud, local pc, mobile).

That gives real data autonomy.

comment 10y ago · link · parent

Has anyone discussed adding ada-style contracts to rust?

comment 10y ago · link · parent

That seems dismissive. Do these solutions really result in satisfying relationships?

I'm skeptical that fitting your sex life into odd hours/days works for everyone.

1
515253
87