Better HN
topnewbestaskshowjobs
Log inSign up

tonnydourado

830 karma · joined Apr 29, 2022 (4y ago) · 210 submissions

Submissions

comment 1w ago · link · parent

This what, the 157th Docker pivot? Maybe Docker the company should just give up on being for profit at this point, idk.

comment 2w ago · link · parent

There's a lot of long shot assumptions here, but I feel the biggest is $250/kg launch costs (let alone $100 or $50).

comment 4w ago · link · parent

And ssh? I'd assume most would use proprietary or industry-specific standard for data IO, or just https, for domestic IoT stuff

comment 4w ago · link · parent

Who's out there running sshd inside a docker container? It's almost MORE work than exec-ing into the container.

comment 4w ago · link · parent

How many alpine installs are running sshd? Most containers using it as a base image aren't. Embedded Linux is unlikely to be running it, too. And if one IS running sshd, how often is it with unchanged defaults? I don't buy the inference here.

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

Am I missing something or is this written up to seem a lot worse than it actually is?

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

By "the flimsiest of excuses" do you mean the extensive evidence that one of the most fundamental principles of the justice system, the impartiality of the judge, was completely violated? Because I'd call that a mischaracterization, and that's cos' I'm feeling generous.

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

> multiple independent judges

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

I kinda agree, and I mostly switched to mermaid because of availability. Plantuml is much more annoying to setup, and doesn't render natively on GitHub (last I checked, anyway), so if I writing anything more collaborative, mermaid requires a lot less explanation or help with setup.

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

That's an interesting idea, and an unexplored design space. Graphviz's dot has rank and head/tail ports, and Plantuml's class diagram has some support for relative position, but both are more hints for the layout engine, not deterministic declarations. If I had a nickel for every hour I spent fiddling with a Plantuml diagram to get the relation directions to force the layout into at least an approximation of what I wanted, I'll be a lot closer to retirement.

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

That's the first news about data centers on space that seems reasonable. Acknowledges the challenges, don't make crazy promises or predictions, makes clear what was already tested and what is still unknown. Makes me actually root for them, for once.

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

He's on the record supporting Tommy Robinson, who is one of the most prominent fascists in England. He's on the record calling for "remigration" (which is a specific word with specific meaning and context, it's not just synonym for deportation, it's a fascist dog whistle).

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 2mo ago · link · parent

That was some lovely spelunking XD

comment 3mo ago · link · parent

You can't technology your way out of social problems. The conflicting requirements raised throughout the article are, indeed, ultimately unsolvable.

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

Transportation was a solved problem with horses, doesn't mean the car isn't a good idea. Same for internal combustion and EVs.

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

> Headers are allowed to be of two level types

Come on, two levels ain't enough for anything serious. Also, the notes feature is not rendering any differently.

comment 5mo ago · link · parent

When one of my sisters got her first paycheck from her first real job, she didn't knew much about banking, and thought that the overdraft limit on the ATM was her actual salary, so she just withdrew the whole thing. I think it took over a year, maybe two, to pay it all back.

comment 6mo ago · link · parent

As a consultant data engineer (ish), I think it has potential. You're right that any company doing data analytics is gonna be prioritizing a single source of truth and a unified platform, but each one will choose a different set of tools, which I'll have to learn, install, and even teach, for each new client. If I can use this to both explore AND implement stuff for clients regardless of their underlying database, that would be a pretty significant win.

comment 6mo ago · link · parent

> We're rewiring internal processes with AI agents, automating the reviews, approvals, and handoffs to speed us up, and plan to right-size roles across the company to follow suit.

Ah, yes, finally gitlab will have the same uptime leves as GitHub.

comment 7mo ago · link · parent

Mostly agree with everything, but I will not stand for this slander against sweet potato fries!!!

comment 7mo ago · link · parent

Damn, I stand corrected. In my defense, it was a really quick google.

comment 7mo ago · link · parent

I would usually side with Wikipedia, but the article says the registration process the government is asking for is free, and a from a quick google, not really invasive. It does seem to require a tax number of some sort, which could be a problem, but still, is not exactly a super unreasonable ask. The government reaction is kinda unreasonable, specially towards fucking Wikipedia of all sites, but, alas.

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

That was an informative post but Jesus Christ on a bicycle, reign in the LLM a bit. The whole thing was borderline painful to read, with so many "GPTisms" I almost bailed out a couple of times. If you're gonna use this stuff to write for you, at least *try* to make it match a style of your own.

comment 8mo ago · link · parent

P.S.: Fuck Palantir.

comment 8mo ago · link · parent

As an interesting linguistic coincidence (or not), FDP is a commonly used acronym in Portuguese, standing for "filho da puta", literally, "son of a whore", but semantically it's approximately "asshole/jerk/dickhead".

comment 8mo ago · link · parent

That's a banger article, I don't even like low level stuff and yet read the whole thing. Hopefully I will have opportunity to use some of it if I ever get around to switch my personal notebook back to linux

comment 8mo ago · link · parent

Gotta say, did not know direct energy weapons were actually leaving science fiction and entering the real world yet, but it seems they're. It's obviously not star trek level, but it's way more advanced than I expected

comment 8mo ago · link · parent

News just in, too much of a good thing sometimes is bad. After the break, new study reveals: the sky is (sometimes) blue and the grass is (sometimes) green.

comment 8mo ago · link · parent

I hate hello-how-are-you-then-wait-before-asking messages as much as the next autistic programmer, but both examples in the "more examples" section still kinda read like an asshole, because they present as fact things that often either aren't, or you couldn't be absolutely sure of it.

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.

1234567