7,244 karma · joined Sep 25, 2010 (16y ago) · 2,593 submissions
comment 6y ago · link · parent
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
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
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
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
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
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
And if so, what is the larger significance?
comment 6y ago · link · parent
(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
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
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
Having the location of the plugin might also allow "cargo install" to work.
comment 6y ago · link · parent
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).