Details
-
AboutChief Procrastination Officer, Keeper of The Keys to My Father's Flat, proud holder of a mediocre BSc. Analytical fundamentalist Manufactured: Budapest, 2001 Calories: 70,000 May contain traces of other viewpoints Matrix: @lbfalvy.matrix.org
-
SkillsTypescript, C#, Rust, Orchid, goofy altlangs, group theory
-
LocationBudapest, HU
-
Website
-
Github
Joined devRant on 5/18/2018
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API

From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
@donkulator top-level statements are useful if the top level program counter is useful, so typically in tools that do a well-defined task in a series of distinct stages and then halt.
In a program that spends a few seconds starting and stopping and days in between processing requests, the part readers should be focusing on is the dispatch mechanism, so top level statements don't contribute anything.
Top level statements in files other than the main entry point are awful. There was a time when C# didn't allow them, and I worry they relaxed the rules only to mitigate the equally bad idea of forcing every helper function into a class. -
not been developed since 2019. We survive until the credit card on file expires.
-
@BordedDev modern c# can just do
Console.WriteLine("Hello World!")
it'll automatically get wrapped in a class and a method. -
@Demolishun in middle school when we started programming I used to read MSDN in the evenings, it was very casual and clear for an utterly clueless maths nerd, and the examples explained pretty well why each language feature is useful.
-
@PaperTrail your boss has mastered thinking at scale about problems that are one-off and pocket-sized.
-
the only supported version of C# where this is still the case is the 4.x branch, which is going the way of COBOL and is in no way similar to modern .NET; you're complaining about the legacy version of a language that has already moved on to better problems in the main branch.
-
More than their own problems, LLMs reveal that a worrying proportion of people decide whether they should do something purely based on social pressure.
-
Are you my colleague?
It amazes me how some people will just ask a third party to do their job and assume that it's done because the third party said so. -
@12bitfloat they do, but uBlock would never work with plain MV3 so "Chromium except for Chrome" is still a reasonable distribution target. Proxies don't want to keep supporting MV2 just because Chromium's implementation of MV3 is rushed and crap when all the functionality they need is part of the standard they develop against.
-
@12bitfloat MV2 is not needed for this in theory because MV3 offers an authentication callback, that callback is just not called in Chromium for some fucking reason.
-
@jestdotty the comic is edited, which means that the original message by stonetoss was some other nazi nonsense, and I couldn't think of another message that fit the comic well at first.
-
@jestdotty nazi doctrine is usually predictable but this time I have no idea what the heck else herr Toss could've originally written.
edit: actually, I bet it's about dei -
I think the welfare state is going decently well across Europe, it's not great for everyone but it has been softening our concept of a really hard life, and it persisted for a while, and I think these two are some of the most important metrics of success for states, so I don't think we lack a path forward. That being said, it's certainly worth some experimentation.
-
@Demolishun Right, well, transnationals aren't known for that.
-
@iiii every Firefox user I know did at some point within the last year. The best assessment I've ever heard is "it doesn't break too often" or "it's just a reload so it's fine".
-
@iiii I have used firefox mainly for as long as I can remember, but YouTube works better on Chromium, as does Discord, Roll20, code-server, and a bunch of others. In this case I needed to proxy Discord because the company blocked it.
-
incredibly cool shit
-
it's still there when I re-open the rant editor usually, not sure why it isn't for others. Is this a Firefox thing, saving values for forms?
-
GNU Screen solves a problem that only exists because SSH is an underdesigned protocol that conflates transport layer connections with user sessions. I need to repeat that no modern program does this on purpose, not even developer-oriented ones, not even security critical ones.
-
And the only SSH module where this behaviour is actually justified is tunneling since this way the socket breakage gets transparently propagated to sockets within the tunnel. SFTP should be a sessionless request/response protocol that allows the underlying socket to timeout to save resources and transparently reconnects for each operation if needed, and shell access should ping by default and auto-reconnect with exponential backoff.
-
Tying sessions to TCP sockets is not taking a hit, that's breaking on literally the first hit. It's like resigning from your job because construction work prevents you from taking your usual route, and then re-applying if you find a new route. The only applications that do this are ancient programs from a different internet like SSH and shitty indie games.
-
@retoor SSH sessions end when the TCP socket breaks, do they not?
-
@retoor well, cheap hosting is cheap. But you wouldn't design a networked app these days that self-destructs if a single TCP socket momentarily disconnects, so this is only really a problem with the SSH protocol specifically. Actually, this might be a good opportunity to find a robust alternative to SSH that actually offers the resiliency expected from an application layer protocol to the user and not whatever the transport layer feels like doing at the moment.
-
@retoor snek?
-
@retoor :D that is fucking hilarious, I like them more for targeting firefox by default.
-
@retoor strange, they took my Wise Visa card, so clearly they don't have a problem with Visa or fintech pseudo-banks.
-
@retoor I think Linode offers five 9s, Contabo doesn't have an SLA for private users but they''re in the order of two 9s based on past performance.
I need an API for ACME challenges because I use a wildcard TLS cert for simplicity. -
I mean, I can fall back to my registrar's services, I just don't understand why.
-
Relationships between 14 year olds and grown adults had been controversial already before the french revolution, people just didn't tend to make sweeping statements as much because they had access to a smaller fragment of the world.
-
@Demolishun I mean, Allocator returns a NonNull<[u8]> which is unceremoniously cast() into a NonNull<MaybeUninit<T>> and the rest after that pretty much follows high level Rust logic.