4,235 karma · joined Sep 10, 2015 (11y ago) · 1,525 submissions
comment 7y ago · link · parent
On the other hand AI and quantum computing are generally useful and require novel breakthroughs, so I would expect a smaller gap or no gap.
comment 7y ago · link · parent
Also as an anecdote right now I have 5ms ping to google.com and 1gbps downlink (fiber at home in major city), so it seems like 60fps or maybe even 120fps zero-extra-frames-latency gaming would be achievable there, for instance.
comment 7y ago · link · parent
comment 7y ago · link · parent
You can't prove that a trained neural network is always correct, and thus this is likely going to kill someone at some point.
I think you definitely need a LIDAR (or in general something that can give an accurate 3D map of all surroundings) and some explicitly written code that can be proven to result in never hitting a car going the opposite direction in the opposite lane (provided they stay in their lane), as well as never hitting stationary obstacles and never going off the side of a mountainside road.
comment 7y ago · link · parent
Anyway, normally in C interfaces that take a callback also take a pointer-sized value to pass to the callback, precisely to avoid having to generate code dynamically like this, so this feature shouldn't be that prevalent.
For example, glibc has a qsort_r function that works like that.
comment 7y ago · link · parent
So for instance this would be fine:
- A web hosting company refusing clients, because you can use another one
- Amazon refusing to sell the item themselves, because other companies can sell on the Amazon marketplace
- A bank refusing a client, since you can just use another bank
This would not be fine:
- Apple refusing to list an app on the app store, since no else can do so
- Amazon refusing to allow an item on its marketplace at all, since there is no other way to sell to people who buy on Amazon
- Google banning something from their search engine, since that's the only way to reach people who search with only Google
- PayPal refusing a client, since using PayPal is the only way to easily accept payment from PayPal account holders
comment 7y ago · link · parent
1. "FKs are in your way to shard your database." => not a problem for distributed databases that can query and duplicate data across shards/servers; alternatively, if the referenced data just isn't there in the database, a foreign key is not usable by definition
2. "FKs are a performance impact" => the app either just got the foreign key value from the database, so it should be cached in memory in a properly implemented database engine, or otherwise, the application relies on the database checking so you need the foreign key for correctness
3. "FKs don't work well with online schema migrations." => not a problem with database engines that properly support online schema changes without locking, downtime or table renaming hacks
comment 7y ago · link · parent
If not, and thus the affected computer system has been added in the MAX, why not design it properly with 3+ redundant copies of the system given that it was designed in the 2010s when both engineering theory and technological resources are plentiful?
comment 7y ago · link · parent
At any rate, HTML layout is determined by the spec barring rare bugs, so you can design something that lays out exactly how you want regardless of browser, except that you must decide and specify the layout for any possible width/height combination.
comment 7y ago · link · parent
Instead, you just specify keys for elements (either explicitly or by index in the sequence) and it matches elements with the same key in the old and new trees.
comment 7y ago · link · parent
Even for slices, using get_unchecked(1..) to get a smaller subslice without bounds checking might be better than pointer arithmetic as long as the slice lengths get optimized away (i.e. they are never used and never passed to non-inlined functions).
comment 7y ago · link · parent
There is no problem with a crash assuming that the seed write mechanism is crash-safe (which is achievable with block storage, but indeed I'm not sure whether firmware is properly designed and implemented).
comment 7y ago · link · parent
But of course this doesn't solve the problem of newer kernels on existing installations with no such stored seed and that don't pass command line argument telling the kernel where to store the seed.
comment 7y ago · link · parent
comment 7y ago · link · parent
If there is no length encoding, start, middle, end and ASCII byte encodings must not overlap to support correct decoding of any subslice of a document.
If there is a length encoding on the start, then start, middle and ASCII must not overlap.
comment 7y ago · link · parent
comment 7y ago · link · parent
Not only it's bad and limits the market, but I'd guess many or most people who identify as a woman who want to go to social events would enjoy the company of people who do not identify as a woman, since people who are exclusively homosexual are a minority.