4,235 karma · joined Sep 10, 2015 (11y ago) · 1,525 submissions
comment 8y ago · link · parent
And if they do, then the data being public prevents those services from gaining a competitive advantage from the data, thus making it easier to compete with them, and resulting in a more competitive market and thus better services at lower cost for users.
comment 8y ago · link · parent
The way to achieve radical transparency is simply a law that says that if you hold (some kinds of) personal data, you must make it publicly available for free.
There's of course the issue that some things must be kept private (e.g. authentication data, but maybe also things like web searches that are personal but essential to use a service) and drawing the line can be hard.
The issue that this tries to solve is not really "privacy" per se, but rather the existence of entities monopolizing data.
comment 8y ago · link · parent
This line must only be accepted if a proof that 'xz'.substr(0, 1) != "x" is provided (for instance, inferred from a runtime check or encoded as a type) [obviously, that's impossible with that specific value]
While "unergonomic", code that doesn't do that is just broken and might for instance result in a security catastrophe if the key is attacker controlled.
comment 8y ago · link · parent
It's basically like using and debugging C/C++ code, where it looks like there is a "type system" but in fact you are just arbitrarily manipulating a big byte array that contains all your data and the call stack (except with TypeScript it's a graph of untyped arrays and dictionaries instead).
comment 8y ago · link · parent
They are also admitting that their system can be used as a self-driving system (you can not have your hands on the wheel, and the warnings can apparently be ignored), and that it failed to act as such for 5 seconds and 150m hitting a static object.
Again, there should be criminal liability for them, and they should not be allowed to offer any system that is autonomous enough to be used without hands on the wheel but that can't correctly self-drive the car.
comment 8y ago · link · parent
Might be wrong, but it looks like either the headlights are not the maximum setting, or they are broken or the camera is underexposing the picture.
And complete software or hardware failure at detecting the obstacle.
Definitely not a combination that should be driving on public roads at night.
That said, the pedestrian is crossing outside of a crosswalk at night without looking at the road, so they are at fault as well.
Note however that obviously even a terrible driving system like this one is extremely more likely to hit an unattentive than an attentive pedestrian (and in fact even more than a good driver, who tend to have accidents due to more exceptional circumstances than "neither party was looking at the road"), so that doesn't excuse Uber's fault, and actually makes their position worse.
comment 8y ago · link · parent
This means that the best software will tend to be proprietary software as long as there's anyone at all making such proprietary derivatives, which is the opposite of the FSF's mission.
Instead, by preventing non-free derivatives using the GPL, proprietary software can only be better if the total amount of work put on it is greater than open source software, which is a non-trivial barrier.
AGPL just extends that logic to remote services.
Part of the GPLv3 instead seeks to reduce the commercial success of freedom-denying hardware by preventing it being shipped with GPLv3-licensed software.
comment 8y ago · link · parent
Why not use normal safety belt buckles, plus ideally an electronic autorelease system that the pilot can trigger?
comment 8y ago · link · parent
To see the issue, imagine you have a class representing a thermometer, with two virtual methods: get_c() and get_f() returning the temperature in Celsius and Fahrenheit degrees respectively.
Now it turns out that a specific model of that thermometer was miscalibrated and always returns 10 C more, so you decide to make subclass that corrects the behavior.
Unfortunately, that's impossible (without composition or mutable state).
A first attempt could be to override get_c() to call the parent and subtract 10. However, get_f() will still be wrong unless it happened to be implemented by calling get_c() and converting.
A second attempt could be to override both and apply the correction to both. Except now if get_f() is implemented by calling get_c() and converting, the correction will happen twice!
The issue here is that how the class uses its internal API is undocumented, and also that the internal and public APIs are conflated, making it impossible to change only one.
This can be solved by never having a class call overridden functions on itself, but that just results in a system that is equivalent to composition with delegation.
If such overriding is really required, it can be accomplished by adding a "callback interface" parameter to the constructor and documenting how it is called and how it's expected to behave.
comment 8y ago · link · parent
Presumably you just have a table with people with salary, and every month you wire the money and record information about the wire or otherwise have a way to record when the person has taken cash.
You might want to have more complex rules for determining schedule and amount of salaries, and support for contractors, unpaid leave, taxes, etc. but that doesn't seem particulary complex either.
How can this possibly take more than 100 person-years (i.e. < $30 million) to make even a truly extravagant version of?
Not to mention that presumably such software already exists and could be used instead of writing a new one.
[obviously my explanation would be corruption, but I wonder if I miss something]
comment 8y ago · link · parent
The key idea and massive difference from standard C++ is that object destruction is delayed until a "quiescient state" happens in what is a reframing of RCU [https://en.wikipedia.org/wiki/Read-copy-update], allowing to freely use raw pointers as long as none survive across a quiescient state.
[note however that this system allows to take pointers to stack variables, so they have to restrict raw pointers to function arguments only - it would be better to also introduce a "heap-only" pointer that can be freely returned/stored on the heap/etc. but can't be stored in types that live across a quiescient state, from which stack-or-heap raw pointers can be derived]
This also results in the downside that things like mutexes can only be safe if they are kept locked until a quiescient state happens, since that's the only lifetime that the system understands.
Likewise, you can't do this like prevent updating a collection while iterating unless you are fine with freezing the collection until a quiescient state happens.
In general, you are much better off using Rust (or an equivalently expressive language, if it existed), since that allows to statically check for correctness, not have to delay freeing memory, and allows to use lifetimes and linear types to secure mutex locking, collection iteration, and other things where lifetimes are essential.
comment 8y ago · link · parent
The problem of Reddit is the opposite, that they arbitrarily ban subreddits, like the ones you cited.
The second problem of Reddit is that whoever gets to first register a subreddit gets to arbitrarily censor it, so whoever happened to register, let's say, "javascript" first, now gets to be a dictator of JavaScript discourse, and the Reddit admins in this case, instead, do nothing in response to complaints.
The third problem is that any competitor site is going to be unsuccessful due to network effects except at attracting the banned Reddit communities, so you get a site that is full of trolls and controversial communities without balance from the rest of society.
comment 8y ago · link · parent
The issue was the lack of any meaningful constraint, which means that there is no difficulty and solving the puzzle is just a matter of tediously entering a sequence that produces the desired result.
In theory you could try to get the most optimal solution, but that doesn't seem very fun either, since the lack of programmability and variety makes everything very bland.
comment 8y ago · link · parent
That is, continuing the Quantum work until there is either no C++ code left, or the C++ code left can turned off via config option ("prefer perfect security over perfect compatibility") while still having a browser that works on the vast majority of the web.
comment 8y ago · link · parent
Imagine there's a place on Earth that is somehow truly amazing and fills you with happiness for a long time for just visiting it.
Obviously, it makes sense to have as many different people as possible be able to appreciate it, which requires having them visit only one or a few nights.
Clearly, people should not be able to monopolize a flat there for 365 days a year, and if they do they should pay a fortune since they are denying other 364 people access to the place.
This also works for less amazing but still touristically interesting places.
Also the best solution would be to have enough housing to meet needs both from one-day-per-year demand and for 365-day-per-year demand, but if that's impossible tourists should definitely be the priority over wanna-be residents.
comment 8y ago · link · parent
Hence, being an extremely sexually successful male is much more rewarding for the propagation of their genes than being an extremely sexually successful female.
Thus, males evolved to take more risks than females since there is a much bigger payoff for them: if a male can become an "omnipotent king" he can father children with every woman and spread his genes a lot, while a female "omnipotent queen" still can only make one child for every nine months.
Hence, males have more variance, meaning that the top in any field are very likely to be males, but also there are going to be much more men who are extremely unsuccessful.
This also means that women are probably better off on average, since psychological (as opposed to genetic-propagation-related) utility is logarithmic and thus reducing variance is advantageous for the individual.