4,235 karma · joined Sep 10, 2015 (11y ago) · 1,525 submissions
comment 7y ago · link · parent
Like inserting arbitrary reads of any available SSD or hard disk that has already been spun up, or something better if possible.
And in newer userspace, just properly save and restore a seed.
comment 7y ago · link · parent
He said this: " Minsky had sex with one of Epstein’s harem [...] Let’s presume that was true [...] We can imagine many scenarios, but the most plausible scenario is that she presented herself to him as entirely willing. Assuming she was being coerced by Epstein, he would have had every reason to tell her to conceal that from most of his associates. [...] "
I have no clue how plausible this scenario is, but I don't see any reason to infer anything about the character of Stallman based on him suggesting it.
comment 7y ago · link · parent
What is stopping any airline from simply opening fully owned subsidiaries in every country they want to fly from/to?
Or alternatively effectively doing the same by leasing their aircraft on a hourly basis to another airline from the desired country?
comment 7y ago · link · parent
If you add capacity and it ends up being all used up, it just means you didn't add enough and should add even more if possible!
Kind of like saying that in a famine it's useless to provide more food because it's going to be eaten all up anyway since some people are no longer dying of famine...
comment 7y ago · link · parent
1. Add enough speedbumps, unsynchronized traffic lights or even unnecessary timed barriers to make the route slow enough that it's no longer optimal
2. Add cameras that fine anyone who doesn't have a permit to pass, which would be given to residents for free and anyone who pays a sufficiently high price
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
Ignoring the Perl angle, it's a language with a small ecosystem that doesn't seem to provide any groundbreaking advantage compared to existing languages, so no reason to adopt it.
In general, to become popular a new language needs to provide one of those:
1. A new groundbreaking and useful paradigm that cannot be added to existing popular language ecosystems without a total compatibility break (e.g. Rust)
2. Compatibility with an existing ecosystem and significant improvements (e.g. Kotlin)
3. Being the best among languages required by a platform or program (e.g. Swift, also JavaScript when introduced)
4. Have one of the best ecosystems for a specific niche (e.g. Ruby when Rails got popular)
comment 7y ago · link · parent
In other words, synchronous procedures are essentially locally CPU-bound, while asynchronous procedures are bound by I/O, network or IO/network/CPU of remote servers.
Async functions are the most efficient way to support asynchronous procedures, while non-blocking non-async functions are the most efficient way to support synchronous procedures.
There are also adapters to turn synchronous function into asynchronous ones, and to turn asynchronous functions into blocking non-async functions, although they should only be used when unavoidable, especiallly the latter.
comment 7y ago · link · parent
comment 7y ago · link · parent
I'm not sure whether they are a positive or negative contribution, and this also depends on how good the accepting state is at integration and education.
comment 7y ago · link · parent
comment 7y ago · link · parent
It can be done only where supported. Ivy Bridge and later have instructions to set them in user space (WRFSBASE/WRGSBASE), and although it needs the OS to enable it, I would expect it can be done on all significant x86-64 OSes.
> I'm not sure it's free; it's still at the very least another prefix.
There are benchmarks that show TLS is as fast as global variable, so it's probably free (aside from the impact on the I-cache due to increased code size, but using a general purpose register is probably much worse due to additional instructions and extra SIB bytes).
comment 7y ago · link · parent
It seems like that it could use a %fs or %gs segment override instead (one of which can be programmed arbitrarily at least on Linux), which should be cost-free on all x86-64 processors and would solve the issue.
Once this is changed, the only remaining fundamental unfixable differences would be reduced cache efficiency from the extra bytes for the segment override, and the need to reserve an extra register for the wasm stack pointer.
However, running WebAssembly code in a separate address space would allow to run arbitrary code, although this would have the drawback of higher memory usage and IPC slowdown.
Is there any article discussing the rationale between Firefox and Chrome's current approach and whether they plan to use either segment overrides or process isolation?
comment 7y ago · link · parent
If increased productivity (of everyone in a profession due to some new technology) means less people are needed in a given profession, demand for employees decreases and thus wages go DOWN along with product prices.
Also the "natural equilibrium state" for wages is for them to be all equal regardless of profession because otherwise people would have trained for and went to a more profitable career until wages are equalized, and this only doesn't happen because people are not equal and changing careers is costly.
So the "Baumol cost disease" seems like a pretty reasonable observation instead of being somehow paradoxical.
comment 7y ago · link · parent
This has other drawbacks of course.
comment 7y ago · link · parent
For instance, if you were to forbid Google from operating on every odd-numbered day, then 50% of the search engine market and revenues would immediately be distributed among competitors and furthermore users would be forced to test multiple engines and they could find a better one to use even when Google is allowed to operate.
Obviously this has a short-term economic cost if other search engines aren't good enough as well as imposing an arbitrary restriction on business, so it's debatable whether this would be a reasonable course of action
comment 7y ago · link · parent
If one is a regular coffee drinker and finds that inefficient, buying a coffee machine for home/work seems like a better solution than attempting to "order ahead" and still having to physically get to the coffee shop.
Obviously this app might still have some marginal utility, maybe enough to be a viable business.
comment 7y ago · link · parent
However, for functions that can block indefinitely on I/O, then such an approach would mean keeping an inefficiently-large stack around indefinitely.
Hence, the better solution is to put the data on the heap, ideally in a manually engineered structure (i.e. "manual implementation of futures"), or for more ergonomics in one efficiently designed by the compiler (i.e. async/await).
comment 7y ago · link · parent
Not having children at all and intentionally extinguishing humans is also a possibly optimal, albeit more radical, solution.
comment 7y ago · link · parent
If the social circle you are in doesn't kick assholes you find another one.
But in school someone can just terrorize everyone else with impunity because people are usually not expelled, you can't easily choose a school that expels people and the abusers don't care about being ostracized or potentially expelled because they don't care about being in school in the first place.