Hacker Newsnew | past | comments | ask | show | jobs | submit | majorbugger's commentslogin

Which is great until you have to make changes to this kind of code, not to mention a massive refactoring.

It is completely possible that the path that got them to this point was the optimal path given their goals and knowledge at the time. And wildly enough, maybe it was even the optimal path with perfect knowledge of the future as well.

That's the opposite of 'great'. Good code is that which can be refactored.

Yeah, it's annoying to have good support for dates in Java since 2014, instead of only getting it now like in JS.

Good morning, or as they say in the NPM world, which package got compromised today?

The question is not stupid, it might be banal, but so is "what is 2+2". It shows the limitations of LLMs, in this specific case how they lose track of which object is which.


Nice rage baiting there bro


You can't even write her name correctly


[flagged]


It really doesn't.


It shows that Kallas is a nobody.


Zelensky was arguably a nobody internationally, until he lead his country to stalling out the entire military might of the Russian Federation in a war that's only a few months away from being longer than the Great Patriotic One, and keep on giving Russia bloodey noses like taking out a chunk of their strategic bomber fleet, the underwater drone strike on Novorossiysk, and tanking the Russian economy. Not bad for a literal comedian.


[flagged]


> Your point being ignorance. As long as you live in the West

I don't live in the West, I live in Romania.

> Anything else is betrayal. You are of course free to move to Moscow at anytime

Waiting for the Russians right here on the streets of Bucharest, like in August of 1944, thank you very much.


Romania is the West.


OK, so am I right that this guy had a completely unsecured metrics endpoint running on his server? Why would you do that in the first place?


Another day thanking God I don't live in the United States.


But I heard God was there...


I'm really disappointed that it's yet another tool that requires "curl into bash" to install, even when you're building from source.


I mean, it's not required per se, it's right there in a repository... the script configures the repository and installs oma afterwards (there are system dependencies).

https://repo.aosc.io/oma/

Out of curiosity, how - by your preference - should this be done so that it's easier for the user?


Not the original person, but I'd like to see the ACTUAL install instructions, a la the vscode via the microsoft repository. It's a little more work for the user, but, honestly, the user is using a CLI for managing packages - I think three lines that show clearly what's going on is reasonable.

something like:

  curl -fsSL https://repo.aosc.io/pubkeys/repo/oma.gpg | sudo gpg --dearmor -o /usr/share/keyrings/oma.gpg
  echo "deb [signed-by=/usr/share/keyrings/oma.gpg] https://repo.aosc.io/oma $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/oma.list > /dev/null
  sudo apt update && sudo apt install -y oma
Just showing me what it's gonna do and giving me the clear option to do that instead of curl | bash would make me feel better.

Microsoft also has a "download deb and install", which I still consider slightly better than curl | bash; it's basically the windows install flow. People who are using a GUI can just double click it, people who want to see what it's going to do can examine it, and your (unsafe) one-liner is `curl XXX.deb && dpkg -i XXX.deb`. Plus it can be shipped to a multiple machines at once easily.

And hey, you already know they have dpkg.

(edited: mangled my command spacing a bit)


I feel quite similar, thankfully I grew up in the 90s/early 00s, and still love to read.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: