Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
qalmakka
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
84 ms
·
721.
▲
by
qalmakka
6y ago
... Why are all shell snippets in Comic Sans? Is that legal?
722.
▲
by
qalmakka
6y ago
I've been using Fish instead and it's much much simpler than configuring ZSH to my liking. It's already good out of the box, without having to carry around any kind of configuration. The only stuff I usually do is to setup `p
723.
▲
by
qalmakka
6y ago
FreeBSD feels definitely more thoughtfully designed and assembled, while often Linux distros look like a mishmash of packages. The base system is separated from the stuff you install, and handled separately, so, you can have a stable, well
724.
▲
by
qalmakka
6y ago
> But FOSS is also about cooperation and Rust in particular is marketing themselves as open and inclusive. I dont see your point. Both Rust and LLVM are open for anyone that wants to implement and support new platforms. Espressif is subm
725.
▲
by
qalmakka
6y ago
GCC support would only add backends for very obscure or borderline abandoned platforms, because everything else is either in the process of being merged into LLVM (i.e. ESP32 Xtensa) or it's already supported. The main benefit of a GCC
726.
▲
by
qalmakka
6y ago
The irony of it is that no one was really interested in making a new frontend. LLVM was meant to be submitted to GNU, but RMS didn't really show interest in the 00's and instead it rebuffed attempts to disentangle GCC's front
727.
▲
by
qalmakka
6y ago
Fun fact: GCC will drop IA64 in a few years. The Linux kernel has been shedding away support for IA64 in the last few releases. I don't see Gentoo complaining about these though.
728.
▲
by
qalmakka
6y ago
That not true. These architectures are not supported by LLVM only because it was started in the 2000s and they were borderline insignificant even back then. The GCC backend for most of those architectures only exists because GCC is much old
729.
▲
by
qalmakka
6y ago
If Gentoo cared so much about portability, why didn't they write portage in C instead of using Python and bitching about other people's language choices? FOSS isn't about providing other people whatever code they need for fre
730.
▲
by
qalmakka
6y ago
V8 has Google and Microsoft behind. If there is something that's definitely fuelled by big bucks, it's that. If you read my post above, I explicitly excluded JIT backends from my argument - I was mainly taking about "classic&
731.
▲
by
qalmakka
6y ago
> I think that's massively over-estimating it, based on practical experience of such compilers being built. Who still writes backends from scratch nowadays (i.e. after ~2010)? The only real examples from recent times I'm aware
732.
▲
by
qalmakka
6y ago
While there are (a lot) of parser generators out there, learning how to parse and validate text using a LL recursive-descent parser is still very useful, because you can easily implement one yourself and have lots of possible applications.
733.
▲
by
qalmakka
6y ago
The first users of computers _had_ to acquire skills in order to get the machine to do whatever they wanted it to do. If you didn't learn how to use the CLI, you couldn't use DOS, for instance. You needed basic computer skills for
734.
▲
by
qalmakka
6y ago
Using `<` and `>` for generics is not only bad due to their primary meaning as comparison operators, but also due to having to special handle `>>` in the lexer. It took almost 30 years before the C++ standard supported expressio
735.
▲
by
qalmakka
6y ago
The point is, C++ supports the C ABI. You can write your entire application in C++ and expose only a C-style API with the stable ABI you wish. I've done it a million times and it's absolutely fine.
736.
▲
by
qalmakka
6y ago
I think that 3/4 of their issues would probably be solved by a well thought use of modern C++. I've seen too many C projects (including some of mine) starting by swearing out C++ for one reason or another and then ending out reimp
737.
▲
by
qalmakka
6y ago
I don't understand why companies obstinately keep adopting the SSPL when it's obvious it makes no legal sense and it is unenforceable. The only reason why nobody has shut it down in court yet is because the companies they are comp
738.
▲
by
qalmakka
6y ago
I'm so glad they renamed Perl 6, having it dangling for decades like a Sword of Damocles hurt Perl more than anything else could. At least both languages are now able to progress in their separated ways, and I must say Raku is a really
739.
▲
by
qalmakka
6y ago
This. Only `enum class` gives you a strongly-typed guarantee, `enum` can happily implicitly decay to `int` without any kind of warning. Lots of C libraries use `int` frequently together with enums without any sort of care, and it's too
740.
▲
by
qalmakka
6y ago
Am I the only one who always feels uneasy when using NFS-like filesystems? In my experience way too much software has been built without any kind of fault tolerance regarding file system access, and no matter how good your network filesyste
741.
▲
by
qalmakka
6y ago
There's something wrong at your end, 1 minute to download 7.66 MBs is abysmally slow for a > 100 Mbps connection.
742.
▲
by
qalmakka
6y ago
Doesn't this mostly boil down to "C99 and C++ aren't compatible anymore"? One of the big gotchas of C++ is that lots of people think it's a superset of C, but that's only (mostly) correct for ANSI C (C89). In m
743.
▲
by
qalmakka
6y ago
I managed to get almost everyone I know on Telegram in the last few years, to the point I get a WhatsApp message less than once a week. On the other hand, I usually hundreds of messages daily on Telegram. It's not hard if there's
744.
▲
by
qalmakka
6y ago
> you still need to initialize the optional itself. Isn't initalising an optional basically a trivial operation? The default constructor is fundamentally the equivalent of setting a boolean flag to 0.
745.
▲
by
qalmakka
6y ago
How convenient nowadays every JS environment supports a platform-independent way to run native code (WASM). I think it could solve the issue nicely, if anyone tried to put in the effort to adapt Electron and tooling around it.
746.
▲
by
qalmakka
6y ago
There's a lot of buzz lately about flash player being retired. Why couldn't Electron copy its approach? Install a single runtime and run all your apps on it (like Archlinux already does, btw); problem solved. It's pretty much
747.
▲
by
qalmakka
6y ago
I remember configuring NSPluginWrapper in order to get the 32 bit Flash plugin to work on 64 bit Linux (and FreeBSD). God that was nasty, as soon as YouTube launched the html5 beta I erased Flash player from every device I owned.
748.
▲
by
qalmakka
6y ago
Isn't this somewhat mitigated by the introduction of std::optional<> in C++17? By using it optional<T> instead of T, you can allocate storage while deferring initialization to a latter time (using emplace() or operator=, if
749.
▲
by
qalmakka
6y ago
Barilla is also one of the more generic and blander pastas; once you switch to the higher end, bronze extruded brands, it gets immeediately clear why they cost more. It's still better than some non-Italians brands that are made in norm
750.
▲
by
qalmakka
6y ago
I tried opening Apple Maps, and they are still way behind Google in almost everything where I live in (EU, Italy). For instance, Apple Maps correctly pins my parent's house but they show it as being several hundred metres away from the
More ›