Show Navigation
Notices by Verius (verius@community.highlandarrow.com), page 5
-
From the silliest outrage dept: react native is offensive because of native Americans.
-
@mangeurdenuage No. And I think you mistake me for a MS hater. I don't hate MS. I do think parts of MS suck like a black hole but I genuinely like some of the stuff they make (C# and .NET Core).
-
https://blog.regehr .org/archives/1393 I kinda disagree with Rust being the obvious choice to replace C. It's not a bad choice in many respects but I feel that Rust lacks something often overlooked but very important in C: pragmatism. Now C is a bit too pragmatic at some points but I doubt that working programmers with deadlines will be itching to learn Rust and fight with the borrow checker. Sure, you learn, but let's not forget that most Rust programmers at this point do so voluntarily meaning they're already way ahead of the pack in terms of skill (mediocre programmers rarely go out of their way to learn a new language). Though it's a bit of a long shot at this point I expect D with the BetterC flag to match the mindset of a C programmer better. Looking atΒ https://dlang .org/spec/betterc.html the things that are removed are not in C anyway (so C programmers won't miss them) but there are still a lot of things that make programming easier _without_ requiring a D runtime lib (only a libc, which isn't different from C of couse). And unlike Rust D is pragmatic, it doesn't force you to adapt your code to fit a borrow checker. Ok, to be fair D also doesn't force you to write memory safe code, it only gives you tools to write better code (e.g. array slices which help avoid silly array bugs).
-
@maiyannah Thought experiment: if you had a button that would instantly make systemd become so unpopular that every linux distro decides to dump it but would also instantly cause RedHat to go bankrupt and all it's employees out of a job and all would you press it?
-
I do worry though that Kotlin will be forced into an unpleasant jack-of-all-trades-master-of-none situation by supporting a JVM target, a JS target and a native target (for iOS, Android, all major desktop OSes AND webassembly). That's three (or more) _very_ different environments that will compete to influence the language. I may be a bit of a cynic but I've rarely seen attempts to do many things at the same time end well. I can't think of any successful language that has this broad a focus. (2/2)
-
Looking at Kotlin I can't help but get the impression that a lot of stuff is just in there either to workaround the limitations of the JVM or to allow interoperability with the JVM. Comparing Kotlin to C# I see a bunch of interesting features like data classes and reduced declaration syntax but C# shows a lot of strength simply in the best possible integration with it's platform (since C# is to .NET as Java is to the JVM, the primary language). (1/2)
-
@maiyannah I doubt it'll kill systemd. I fear it would just mutate it. All of the systemd but with XML and Java! (Ok, granted, that might kill it by just making everyone run away in fear.)
-
IBM acquires RedHat. Collective internet reaction: was nice knowing you RedHat.
-
TIL about katai .io (parser generator for binary file formats). Looks quite useful.
-
Never heard of this one before:Β http://jdebp .eu/Softwares/nosh
-
I'd rather see the init system have a solid implementation with a way for other programs to decide policy (what should run, when) based on shared concepts and a minimal text-based interface (i.e. no D-Bus).
-
I think, ultimately, what bothers me most about systemd is that it has a reasonably good administration interface and useful concepts combined with an implementation that violates my sense of aesthetics. I mean something like timer units. Is it useful to have a generalized interface to enable and disable timers? Yes. Is it useful to have a simple way to declare dependencies for timers? Yes. Is it useful to have the init system ensure that timers get executed? Yes. However I can imagine alternative solutions that still maintain a degree of independence between the cron component and the init component.
-
@bob To be more precise, the Rust project and community are well known for being rather heavy on the whole diversity thing and Code of Conducts. More so than any other project, though parts of the JavaScript community come close.
-
Oh wow, the systemd fanboys are just as annoying as the systemd hateboys. It's like systemd is the Linux equivalent of Donald Trump.
-
@maiyannah Reading up on that one I can't help but think systemd could use a dose of Theo. Crickey, reading untrusted input by treating a buffer as an array of structs. That's just wrong on so many levels.
-
@maiyannah Well to be fair, if you're an extremist all the other groups will hate you too, usually especially including other extremist groups on your side. Moderates on the other hand tend to get along reasonably well with other moderates who don't have exactly the same views.
-
You know you're a programmer when with games like this one (https://armorgames. com/pixoji-game/18247) you immediately start to think of how to create a general solver. Actually, it is a nice scope for an exercise project, big enough to require some thinking but small enough to do in a few hours. And it's extremely trivial to test whether your algorithm gives the correct solution.
-
Oh hey, URL's work as long as they're to PDF's. Good to know.
-
C++ in a nutshell: "If you are unable to work through the following, you may
not know the fundamentals of C++:Β
A partially specialized templated class with an enable_if
for SFINAE, containing a variadic templated method which
takes a parameter pack, with a trailing return type which
is deduced based on an expression decltype, then using
perfect forwarding to call a policy method." (http://www.copperspice.com/pdf/ACCU-Modern-C++.pdf)
-
@maiyannah Yeah, got the original as a freebie. Spend more time with that freebie than a lot of games I actually paid for. It's a very good game, though as you say panic is somewhat of an unsatisfactory mechanism.