Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
arinlen
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
arinlen
4y ago
> Function pointers as state machines has been a favorite trick of mine for very embedded C stuff. Each function sets the next state function. This is the basis of OO's State pattern. https://en.wikipedia.org/wiki&
32.
▲
by
arinlen
4y ago
> State machines are a brilliant tool, and turn up more often than you expect once you have the background and experience to see them. "A Computer is a state machine. Threads are for people who can't program state machines.&q
33.
▲
by
arinlen
4y ago
> That's the same trick used on the great replacement. Are you also in the business of pushing far-right conspiracy theories? https://en.wikipedia.org/wiki/Great_Replacement
34.
▲
by
arinlen
4y ago
> There's a reason that she talks in vague terms (...) She did not. You're trying to pass off a conspiracy theory by omitting context and taking quotes out of context, including erasing parts of the quote. If you're stil
35.
▲
by
arinlen
4y ago
> A corrupt liberal democratic organisation (...) The European Union is a federation of liberal democracies. It's not a Bond-like villain organization. The bulk of EU's member states value human rights, including women's
36.
▲
by
arinlen
4y ago
> Now when documentating a state machine enough to actually draw out the graph, I always include a matrix representation as well for that reason. Incidence matrices[1] might be an effective way to represent graphs, but the sparse natur
37.
▲
by
arinlen
4y ago
> This is usually solved with more packages of more focused independent functionality rather than less packages of less functionality. Also, dependency injection. It's possible to get rid of all dependencies if your code just refe
38.
▲
by
arinlen
4y ago
> Ads were a big part of Web 1.0 as well. ...and publishing, and TV, and radio...
39.
▲
by
arinlen
4y ago
Here's the quote from the article. > My approach is that whatever democratic government is willing to work with us, we're working together," von der Leyen said at Princeton University in the United States on Thursday, res
40.
▲
by
arinlen
4y ago
> It was later admitted by the Times that it was real. No, not really. That opinion piece just refers to "Hunter Biden's business dealings", which is quite the strawman when compared to the original baseless accusations
41.
▲
by
arinlen
4y ago
> if you enforce another country's laws on our citizens then you're also in violation of our local laws and will be fined This makes no sense at all. Unless you're violating your own laws, which is not what you're a
42.
▲
by
arinlen
4y ago
> “If things go in a difficult direction — and I’ve spoken about Hungary and Poland — we have the tools.” Please explain what led you to interpret this as a threat of any form. The Orban reference was pretty clear. From the article: &g
43.
▲
by
arinlen
4y ago
> Facebook and Twitter outright admitted to blocking content related to Hunter Biden's laptop before the election 2020. They claimed it was for privacy concerns. And then after the election, there was no worry so that rule went awa
44.
▲
by
arinlen
4y ago
> +1 I was also shocked to hear in a news conference the EU president Ursula von der Leyen threaten the Italian voters right before the election. This is the very first time I've heard such a thing. Do you have a source showcasing
45.
▲
by
arinlen
4y ago
> Im wondering when will countries start preventing US tech platforms from enforcing US laws and US morals on the people of those countries. This makes zero sense. How do you force anyone to not follow a law? Do you, say, force anyone
46.
▲
by
arinlen
4y ago
> The whole point was to be decentralized, and now we have Visa, Mastercard, Apple, Google, Amazon and Cloudflare deciding what we are and are not allowed to see, read and buy. 5 out of the 6 companies you mentioned are only involved i
47.
▲
by
arinlen
4y ago
I'd also mention that C and C++ is valued by those who want stable and reliable software stacks, which you can expect to build out of the box in 3 to 5 years.
48.
▲
by
arinlen
4y ago
> Sysadmins automate their work. So do janitors. What's your point? > Operations Engineer is just another title for sysadmin. It really isn't. That makes as much sense as claiming that DevOps is just a sysadmin that'
49.
▲
by
arinlen
4y ago
> Seriously! That licensing is a feature for the public, not a bug. Make your project open source. It's ok for activists to feel that free software is the solution to every problem in the world, but back in the real world there ar
50.
▲
by
arinlen
4y ago
> But those projects should have the budget for a real license, so that's not a real issue. You're missing the whole point. It's irrelevant whether projects should have a budget or not. The whole point is that there are
51.
▲
by
arinlen
4y ago
> They work really hard to hide this, but they do have a LGPL license that applies to most of the framework (...) No, LGPL also excludes projects from most commercial software. Also, keep in mind that this is not a choice between Qt wi
52.
▲
by
arinlen
4y ago
> I got laughed at and waved off when asking for the budget needed to buy/licence QT stuff. This. Regardless of Qt's technical merit, it's licensing automatically takes it out of the table of most of all potential projec
53.
▲
by
arinlen
4y ago
> (...) an Operations Engineer (...) An operations engineer and a sysadmin are two entirely different roles. A system administrator administers systems while an operations engineer dedicated their time writing code to automate processe
54.
▲
by
arinlen
4y ago
> 1. There's still a lot of complexity and ambiguity you can fit in 460 pages. That's a meaningless assertion and reads like a non-sequitur. Your thesis is that modern C++ somehow became complex. Yet, the truth of the matter
55.
▲
by
arinlen
4y ago
> Couldn't you still use move semantics without std::move? That's correct, std::move is just syntactic sugar to cast objects to revalue references, i.e., the sort of object that is expected to be moved around.
56.
▲
by
arinlen
4y ago
> Not GP, but what bothers me is that this attitude does not take into account what most cpp programmers actually end up doing: Unless there's somebody at the top of the organization that can set the "right" rules at the
57.
▲
by
arinlen
4y ago
> In school I learned about inheritance, not composition. And that's perfectly fine, provided that students learn that trying to do downcasts like casting an animal instance to a dog instance is something that in general never mad
58.
▲
by
arinlen
4y ago
> Sorry that comment went nowhere, I'm massively frustrated with C++, its direction, and I can't wait to leave it behind for good. I fail to see how a "direction" of a language like C++ is of any concern to professi
59.
▲
by
arinlen
4y ago
> In general, you should know what objects you are sending and receiving, and it shouldn’t be a mystery that requires reinterpreting You should know what's the interface that you're sending/receiving, but if you're
60.
▲
by
arinlen
4y ago
> No, unfortunately, it further complicates C++, because the original ways of expressing the same thing will not be removed. This is a very unwise and shortsighted take. Not deprecating features right away means everyone's life is
More ›