830 karma · joined Apr 29, 2022 (4y ago) · 210 submissions
comment 4w ago · link · parent
I'll concede that embedded linux might be my blindspot here. Maybe cheap web hosting, too, but that seems much less likely to be using musl.
comment 4w ago · link · parent
It starts with a bold claim: "ssh accounts that should not accept a password will accept any password between 256 and 1024 characters". But then it keeps adding qualifiers:
- sshd compiled with musl
- not using PAM
- password logins enabled
- at least one account with '*' as the password "hash"
- at least one OTHER account with a valid password
- server is aligned with 2 ley lines
- hacker is wearing a blue t-shirt and green socks
Ok, the last two are an exaggeration, but still. The conditions are all ANDed, miss a single one and you're fine.
On top of that, as someone else in these comments reminded, the target account needs to have a valid login shell or other exploitable program assigned to it, and these passwordless accounts tend to have nologin or something similar.
To me this seems to fall on the "technically possible, practically very unlikely" bucket, kinda like the PHP vulnerability from the other day. Maybe this has gone unnoticed for so long because it just doesn't happen.
comment 1mo ago · link · parent
Like, I'm not happy that the whole process was thrown out either, because a lot of actually corrupt people got away with it. But another fundamental principle of the justice system is that it NEEDS to err on the side of innocence. So, while it is an unfortunate outcome, I still think that 1) it's better than the alternative, and 2) the blame lays 100% with the partial (and, arguably, corrupt) judge and prosecutor. It was their unscrupulous drive to get 1 guy convicted (with, again, arguably second intentions, since both judge and prosecutor got elect and made a bunch of money with talks and shit) that turned the whole case into trash.
UPDATE: I jumped the gun a bit in the answer, and ended up no addressing the main point: Lula's conviction was not overturned just because it was tried in a 1st instance court, the evidence of partiality of the judge was very much also a factor.
comment 1mo ago · link · parent
The first instance judge colluded with the prosecution, and when the supreme court was about to rule on a habeas corpus, a general tweeted a thinly veiled threat of military coup if the sentence wasn't confirmed. And the evidence was scant to begin with. Hardly surprising that the conviction was eventually overturned.
Bolsonaro's condemnation, on the other hand, was backed by much more comprehensive evidence, and resulted from a heavily scrutinized process.
comment 2mo ago · link · parent
And for me, one mediocre tool that works everywhere for everything beats a better tool that requires me to context switch too often, so I mostly retired Plantuml. Not happy about, but alas.
comment 2mo ago · link · parent
I like that you're going for one generic syntax instead of many specific ones, like mermaid and Plantuml, but it's as much as a pro as it is a con, it's one reason why these languages evolved in the first place, instead of everyone just using DOT. One possible mitigation would be some sort of reuse mechanism? Some way that generic nodes could be defined once and instantiated many times, so if I wanted to draw something like a sequence diagram, I could define/change my participant lanes just once.
Another issue the "No multi-line statements, no line continuations, no blocks." philosophy. I get *why* you chose it, and has its advantages, but it's a pretty annoying constraint, specially if one wants to have longer node names, or have more detailed description of the node in its label, like listing the responsibilities of a class, for instance. "No blocks" is something that can probably won't make much difference, but line continuations (i.e., some distinction between physical and logical lines) can make or break the user experience, IMHO
The syntax for line breaks is another thing I urge you to reconsider, '/' is waaay to common of a character, and being forced to write long strings in a single line can get *really* annoying. Some sort of multiline string support would really make your existing syntax shine.
The last two suggestions/complaints would complicate your parser a lot, specially since you're writing it manually, so, they are trade offs, but as a user who'd love to have something like this on my toolbelt, not having these features would make me hesitate a lot on investing time in this tool.
That said, it's a nice idea, I'll keep an eye on it =)
comment 2mo ago · link · parent
I like the "moonshot research" framing, in particular, because it highlights that even negative results will be valuable, either as improvements for ground technology or as published data to inform other initiatives of what has already been tried and failed.
comment 2mo ago · link · parent
I think that's plenty evidence, I'm not waiting for him to tatoo "I am a fascist" on his forehead.
Also, a minimum awareness of the politics of the people producing the stuff you use is actually pretty necessary when fascism is on the rise all around the world. Might be exhausting, sure, but it's better than the alternative
comment 3mo ago · link · parent
The only way to stop an oppressive government from abusing the emergency notification system for propaganda is to fight against the oppressive government until it stops existing, then keep fighting to prevent it from existing again.
comment 4mo ago · link · parent
A vaccine is an objectively better solution than PrEP, just because of the time scale, PrEP needs discipline on a daily or x-monthly basis. A vaccine could last for years. Although, realistically, it's more likely to end up requiring yearly updates like COVID, because HIV is also a mutating son of a bitch.
I 100% agree that waiting for a vaccine is stupid beyond measure. The world should do both: make PrEP widely available AND keep funding vaccine research.
comment 5mo ago · link · parent
comment 6mo ago · link · parent
comment 7mo ago · link · parent
Side note, Jesus Christ on a bicycle, this site has a ridiculous amount of ads. Literally could not read the article at the first try, had to reload and enable reader mode before the 1937391 popups started jumping on my face.
comment 7mo ago · link · parent
comment 8mo ago · link · parent
For instance:
> "The caching layer is causing a 400ms overhead on cold requests. Here's the trace."
Cool, but how do you know that? Are you sure you're interpreting the trace correctly? How many measurements have you done? Sure that there isn't a historic reason why the caching layer behaves in this way, or a conflicting requirement that lead to choosing this latency over some other, worse consequence?
In the same way:
> "The current error handling swallows exceptions silently, which is making debugging hell. We should propagate errors to the caller"
Agree in principle, but did you check git blame to see if there was a rationale? Or asked someone else? How much change would this require? Could it break consumers of our code?
Granted, the "polite" messages didn't care any of this information either, but at least they didn't almost preemptively shut down the conversation by laying down what is at best an well informed guess and at worse purely personal opinion as if it's irrefutable truth.
Perhaps instead of debating whether to be (too?) polite or direct, it's better to focus on providing as much information as you can, anticipate follow up questions, and close with clear actionable next steps, something which is also missing from both versions of the messages.
"Well, those are hypothetical examples" cool, another evidence that we're all talking out of our asses about the sex of the angels, here. Maybe if the author didn't try so much to characterize themselves as perfectly infallible information delivery machine, then I wouldn't have nit-picked so much their half-assed hypotheticals.