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

Can you explain?

comment 6y ago · link · parent

I'm confused. If vitamin D imoroves covid outcomes, and supplements run short, shouldn't we be happy that vitamin D is naturally accessible to many people?

It's harder to obtain naturally for blacks living in Seattle than whites living in Arizona. But it's still a good thing if it reduces covid deaths, right? And may slow the spread, therefor benefitting everyone?

comment 6y ago · link · parent

The idea is that if vitamin D improves outcomes for covid 19, and the stores are all out of the supplements, then you can go in your backyard instead.

comment 6y ago · link · parent

Even if only white people are able to improve their outcomes, isn't that still a lot of people that would benefit? It seems like you're being a bit too negative here. It might be enough to slow the virus, which helps everyone.

And maybe the supplements are easy enough to make... They can probably be ramped up long before a vaccine comes along.

comment 6y ago · link · parent

Why is that? Is there some missing ingredient?

comment 6y ago · link · parent

A double-blind study for respiratory infections (before covid-19):

https://www.bmj.com/content/356/bmj.i6583

comment 6y ago · link · parent

And if people hoard it and it's out of stock, you can just go outside!

comment 6y ago · link · parent

Why is this a federal issue? Is there a federal law protecting state police? Or some kind of Constitution or common law thing?

comment 6y ago · link · parent

Cool! So results are maybe a few months out then?

I am placing the odds of a positive result at around 25%. For vitamin D supplements to people who are deficient, I place the odds at 50%. Not that anyone cares what I think the odds are.

comment 6y ago · link · parent

Why do you think that will be done sooner? (Sincere question; I just don't see any dates there and looks like they are still recruiting participants.)

comment 6y ago · link · parent

Curious how all of these crazy interest movements will affect the housing market. Deflation sounds bad for housing values, but then again, it means interest rates will stay low, propping up values. And then there's the generally-crazy bay area market.

comment 6y ago · link · parent

I don't see why that's helpful. W2 employees would be treated the same as now. 1099 employees would be treated the same from a federal standpoint, but separated into two groups from a state standpoint.

comment 6y ago · link · parent

I disagree. The federal distinction is mainly for federal taxes. The state is not just concerned with taxes, it's also concerned with other labor laws, so it may need to distinguish differently.

comment 6y ago · link · parent

I wouldn't put it that way. Both languages are fast at nice straight-line code.

The main area I'd expect to see performance benefits for rust (though I don't have experience here) is larger rust programs. Rust's zero-cost abstractions have more benefits as the abstractions nest more deeply. For a small program, you don't really have a lot of abstractions, so Go will do just fine.

I think Go has a number of nice performance tricks up it's sleeve, though, so I wouldn't rule out Go on performance grounds too quickly.

comment 6y ago · link · parent

Oh, now I see what you mean.

I think this is splitting hairs over who gets credit. Remember that Congress needed to raise the money and the taxpayers needed to pay it.

From a practical standpoint, usually some credit is given for leadship to the one who gets a program off the ground. It seems fair in this case that GWB gets credit for that. You can also look at later people over a longer span of time and give them credit/blame for maintaining and administering it, as well (or letting it stagnate, like his pandemic plan, unfortunately).

The main point here is that the GWB presidency was not black and white. I think he was a good person and made many good decisions and one really bad one. Quite possibly, with a different VP, he would be a lauded and dignified president, and a lot of things would be different.

Or, if his pandemic plan had been maintained, and bore fruit today (that is showed benefits in fighting coronavirus), it may have redeemed his presidency entirely.

comment 6y ago · link · parent

GWB was elected twice (Nov 2000 and Nov 2004) and served in office for two terms from January 2001 to January 2009.

Why is this complicated and where did the number 5 even come from?

comment 6y ago · link · parent

"People from that admin should be shunned from any published analysis"

Interestingly, it was GWB that also put a lot of effort into pandemic preparedness. See: https://georgewbush-whitehouse.archives.gov/homeland/pandemi...

History is kind of a weird place.

comment 6y ago · link · parent

Can you explain and/or link to the issues? I thought Futures were the abstraction that lets you choose a runtime?

comment 6y ago · link · parent

"A shortage? Oh, I'm sorry to hear that. I don't want to be a hoarder or anything. We will be on our way and leave this car for someone who really needs it. Please call me back when inventories have returned to normal."

comment 6y ago · link · parent

I do. Electric cars are already better for a lot of urban/suburban lifestyles. A few tech improvements will make them so much better that many ICE cars in these areas will have negative utility.

Tons of high-quality used cars will hit the market, driving the price close to zero, and eliminating the new ICE market (why buy a $30K new ICE car when you can get a used ICE car that's almost as good for $5K?).

comment 6y ago · link · parent

I haven't read the whole opinion yet, but it seems to be arguing that works produced in the course of a legislative function are not authored, and therefore not copyrightable. It doesn't seem to have much to do with the content relating to the law or not.

And if so, what is the larger significance?

comment 6y ago · link · parent

I always thought vertical partitioning meant to split by columns (that is, have fewer columns per table, and you need to join to get the original back).

comment 6y ago · link · parent

Do state schools really look at names? It's hard for me to imagine a state school looking at peoples names or pictures and reclassifying the races of applicants. It would be fairly disturbing if they did, in fact.

(Again, I'm not suggesting that you should have to misrepresent your race to be treated fairly. I'm just suggesting that, from a practical standpoint, you could probably avoid discrimination in state school college applications by ticking a box that would be more favorable to you.)

comment 6y ago · link · parent

I didn't say race doesn't matter. I said that race is seperable from cultural and historical context. Recent immigration provides a window into that.

Those problems that are more closely bound with culture and history won't be solved by focusing on discrimination/bias/prejudice/profiling (and other racial issues).

comment 6y ago · link · parent

No, what you're saying doesn't make sense, because the "black" race doesn't have a uniform culture or history.

You can point to problems in black America, and those problems might be inextricably tied to culture and history. But blacks also live in Africa, and some have a very different culture and history than black America.

And some of those Africans immigrate to America, which then means there are blacks here without the cultural and historical context.

Nigerian-Americans, for instance, are the highest-educated in the U.S. ( https://www.chron.com/news/article/Data-show-Nigerians-the-m... ), surpassing Whites and Asians.

comment 6y ago · link · parent

How did they know you are Asian? Could you have just checked a different box and got in, at least to state schools which don't do interviews?

(I am in no way suggesting that it's right to make people misrepresent their ethnicity to get fair treatment.)

comment 6y ago · link · parent

Typically one postgres extension would have only one plugin library. So, the idea is that one crate would produce one plugin. I guess it's possible to have more than one plugin per extension, but it never occurred to me and I haven't seen that before.

Having the location of the plugin might also allow "cargo install" to work.

comment 6y ago · link · parent

If you hang up, how does that help? Are you talking about them trying to make you think they hung up?

If so, it sounds like a long-shot tactic, especially because everyone uses cell phones now.

comment 6y ago · link · parent

I feel like I've been pushing my use case plenty already, so please take this as an answer to your question rather than one more push ;-)

I'd like to be able to create plugin-style cdylibs that get loaded into a host program. For instance, PostgreSQL extensions are shared libraries (typically written in C) that need to be loaded into a running instance of postgres for integration testing. I am trying to make it reasonable to write such extensions in rust (https://github.com/jeff-davis/postgres-extension.rs).

The environment variable to find the shared library would solve one problem, but there are still a couple more right behind it:

* Running "cargo test" tries to build a binary that links to the library to run the unit tests, but this will fail because there are unresolved symbols in the .so file (symbols that call APIs in the host program, in this case PostgreSQL functions like palloc()). In other words, the test binary is useless because it can't load the plugin.

* Linux seems fine creating a .so with unresolved symbols, but Mac and Windows need special linker flags. I can document that the linker flags are needed by consumers of my crate, but it would be nice if there was a better/supported way to create plugin-style shared libraries. I tried filing a bug with PR (https://github.com/rust-lang/rust/pull/66204) it was determined that it needed to go through the RFC process.

The simplest way to see the problem is to look at this crate: https://github.com/jeff-davis/unresolved

My problems don't end there, unfortunately. For my crate to really work, I also need to solve the problem of setjmp/longjmp at the edges between C and Rust (https://github.com/rust-lang/rfcs/issues/2625).

comment 6y ago · link · parent

I'm curious why there's no similar variable pointing to a built library (e.g. a cdylib).
1
678
87