4,235 karma · joined Sep 10, 2015 (11y ago) · 1,525 submissions
comment 3y ago · link · parent
1. Making a fully secure no-JavaScript browser for Tor usage
2. A secure browser that works on major websites
3. Android support
4. Embedding support
5. Extensions support
6. All missing features supported by both Firefox and Chrome, roughly in order of addition to the web standards
7. Replace Firefox
8. All features supported by any browser
comment 3y ago · link · parent
comment 3y ago · link · parent
Considering the lack of key C++ features (e.g. generics) in Hare and the lack of adoption, and most importantly the fact that you should use a memory-safe language like Rust instead of any memory-unsafe language like Hare or C++, there doesn't seem to be any practical use for the Hare language.
comment 4y ago · link · parent
Definitely not what you want to submit to someone testing your programming skills.
comment 4y ago · link · parent
It must be implemented as a macro so that the line number and assertion expressions are printed, allowing to easily identify the failed assertion.
If a language doesn't support such macros and has no ad-hoc mechanism for this case, it should not be used, or if it must the assert function must take a string parameter identifying the assertion.
comment 4y ago · link · parent
Pedestrians obviously do that all the time, and assuming that you start crossing from a stopped state and not at speed, it seems to me that a bike is as visible or more visible than a pedestrian (about same height, much wider, similar speed).
comment 4y ago · link · parent
In Go's language class of statically typed GC languages, Go is much worse than the best languages, which are Kotlin and C# (Go lets you forget to write error handling, had no generics until recently, uses duck typed interfaces (!)).
In general, Go's inferiority can be traced to its root cause, which is the Google Go designers having severe Dunning-Kruger syndrome because they think they are good because they invented C/Unix and work at Google and don't realize they have no clue about programming languages in general and were only successful because the limited hardware at the time didn't allow sophisticated programming languages and thus allowed a terrible language like C to succeed.
As a language class, non-GC memory safe languages are far better than statically typed GC languages since they don't have the overhead of a GC and can guarantee the correctness of concurrent programs since they are data-race free (in Go-like language two threads can share the same data with no checks whatsoever resulting in arbitrary racy behavior), can make other guarantees enabled by the linear type system and use composition instead of implementation inheritance.
So in general you should always use Rust unless existing framework or libraries for other languages make solving the problem much easier and the app code is small enough that the extra problems in using a subpar language aren't too bad (e.g. you probably want to use bash for system administration, Python for simple deep learning projects, Kotlin for simple Android apps, Swift for simple iOS apps, TypeScript for simple web frontends, etc.).
However, if you plan to write a lot of code, then just using the best language, i.e. Rust, is probably better since the time to write or correct dependencies will be small compared to the sheer amount of code you are planning to write for the main software.
If you are willing to give up good performance and a large library ecosystem for correctness, then dependently typed languages like Idris are also an option.
comment 4y ago · link · parent
If you have not seen them, the reason is probably that the code was tested well enough before you looked for the bugs.
comment 4y ago · link · parent
Also, the kernel xtaguid patch looks probably wrong, since it's removing code that is probably there for a reason, and it looks like the correct fix might be to add some other condition.
comment 4y ago · link · parent
The usual common sense concept is that if there was even the suspicion that a business like Trustpilot would abuse their power, their reputation would be so tarnished that they would not only not do, but absolutely make sure it was almost impossible for the perception of abuse to happen.
But instead, it looks like nothing happens when they flagrantly breach trust, so it looks like in practice you can't really trust any company at all.
comment 4y ago · link · parent
They can maybe do that if the architecture is configurable and they are using different configurations for their CPU, GPU and TPU competitors, but then it's still highly implausible that they can deliver more than 2x improvement over competitors, unless perhaps if it also costs proportionally more (but even then, you get decreasing yields for larger chips and inefficiencies if you make an SMP system).