Better HN
topnewbestaskshowjobs
Log inSign up

nmz

679 karma · joined Mar 3, 2019 (7y ago) · 680 submissions

Submissions

comment 1y ago · link · parent

The most recent and most used fork for freebsd is for the ps4

https://en.wikipedia.org/wiki/PlayStation_4_system_software

comment 1y ago · link · parent

A derogatory term for copyfree licenses

comment 1y ago · link · parent

Isn't making things more performant a juvenile ideal? as I get older, I no longer care about making things better, just getting it done.

(Not everyone is as polite as you lemon. Seems like the majority of the internet has namecalling tourettes :)

comment 1y ago · link · parent

While juvenile, it is a fair point that github and all websites that ditch everything for javascript get less snappy to use.

comment 1y ago · link · parent

But that's why I'm in HN, If I wanted to read this, I would be in reddit.

comment 1y ago · link · parent

What's suprised me is that there is a line length limit on #! for 256 bytes.

You can have spacing after #! for some reason?

POSIX does not mandate -S, which means any script that uses it will only work on freebsd/linux

comment 1y ago · link · parent

Why not accept and let cookie autodelete delete it after closing the site?

Expecting any industry to follow the law is foolish, if it gets big enough, they will wear down and overturn any annoyance against it, malicious compliance is the only way.

https://adnauseam.io/

comment 1y ago · link · parent

1 person using an umbrella, 4 are not. I'm starting to doubt if you're even human given that normal people don't go throughout their entire lives always carrying an umbrella wherever they go, even when it might rain.

comment 1y ago · link · parent

The people you see in a desert with umbrellas are not using it for the rain, but for shade, the rain is the least of their problems.

comment 1y ago · link · parent

Not if you live in a desert, which most blogs do.

comment 1y ago · link · parent

You can, sure, but, tail seeks to EOF and then goes back until it finds "\n", awk cannot seek, so you must do what you did there, that means the bigger the file the longer the time.

And there's also tail -f, how would you go about doing that? a while loop that sleeps and reopens the file? yuck

comment 1y ago · link · parent

awk is so much better than sed to learn given its ability, the only unix tool it doesn't replace is tr and tail, but other than that, you can use it instead of grep, cut, sed, head.

comment 1y ago · link · parent

Good for extensibility is a claim I've never heard before, I've always found awk's "everything is global scope" as a huge limitation, but if its scripting then I suppose you could just... isolate each script's namespace and take the global namespace as the exported namespace, and since everything is static it really simplifies things further, but lua is still better of course, but if you don't need that much power I suppose it would be even smaller.

comment 1y ago · link · parent

Why mk instead of any of the other builders?

comment 1y ago · link · parent

> If Google can find it, so can others.

While true, Only Google has google infrastructure, this presupposes that 100% of all published exploits would be findable.

comment 1y ago · link · parent

Replication is not enough, Competition only wins if it offers lower cost or better service (or intolerable service if free), While yes, the userbase is essential, you're still ignoring the reason why the userbase is there in the first place services before github existed and github is the one that ended up winning, competition cannot just offer a better ethical stance and its not even that, since github itself is not doing anything criminal, it's simply aligned with microsoft, so the ethical stance is "I don't like AI" and "I don't like microsoft", that is simply not enough of an offer to make the entire userbase switch. the only way you could is if github decided to throw all of its userbase like bitbucket did, and given that its name is git, I doubt they'll ever do that.

comment 1y ago · link · parent

This is not a magical achievement, github is solvent and its business model is solid, give the same amount of users to any other service and it might collapse. Any service has to scale and the more users it has the more costs it incurs, nonprofits are a risk, the moment they run out of money, the service collapses.

comment 1y ago · link · parent

There's companies out there whose main source of business is wetworks, as in drone strikes and so on, microsoft going for the most unethical title, I don't think its even in the ranking.

I do agree that not using it is better morally, however, given the limitations of git vs fossil, which carries the issues and wiki inside the repo itself, its not a good idea to switch to another service without guarantees that its host will be forever standing, github won't die in the next decade, but the alternatives mentioned might. even google (code) got out of the source hosting business.

comment 1y ago · link · parent

I agree with the first point but not the second, if anything anticheats break security.

comment 1y ago · link · parent

And there's also pulseaudio, which I had to run in some games with PULSE_LATENCY_MSEC=90 %command%, other games you can only run in lutris, other games you can't even minimize it or it will mess up with the screen entirely.

comment 1y ago · link · parent

> incompetence

No, that's the goal. Denying coverage is how insurance companies make money. The less money they give, the more money they keep.

comment 1y ago · link · parent

I don't think it has anything to do with being old, this is what happens when your software gets too complex that nobody even knows the very basics. This is highlighted with the documentation, if the software's documentation becomes lengthy enough that it could be an entire book, you're going to be getting these sorts of articles from time to time. Another highlight is bash, that is a huge man page for what should be a shell.

comment 1y ago · link · parent

I would like to add that sudo make install is a bigger security risk and there is absolutely no need to run make install as root when you could target a directory that mimics / and tar it with the appropriate root permissions leaving only the extraction as root, you could even take a snapshot of the system and undo on error. All done via coreutils.

comment 1y ago · link · parent

Why is this "modern"?

comment 1y ago · link · parent

You can do this in the news, basically everything you do in finance is look at charts and see trends going up or down, everyone can see it and it informs way more than a story, people do want it, What I wouldn't give for an itemized table of the goings on in my country/city/county but I don't think the government itself wants that, its why they refuse audits, nobody but the ones high up know what the trends actually are, if things are actually improving or not, we are all blind trying to see and the news is there to extract revenue from speculation not from real data.

(And yes I'm aware chartr exists)

comment 1y ago · link · parent

If you did not return a closure, you could set the metatables __pairs to use your function's. Sadly, you could not do this without keeping some sort of cache, which would be a terrible waste of memory, but then again you're already creating an iterator that iterates completely, to me, this beats the use of an iterator (to not iterate over everything and break on a single pass)

comment 1y ago · link · parent

Rebol is the cleanest/greatest language I've read code for but the VM is the slowest VM I've ever wrote code for, mind you I only did the first 10 exercises of euler but the only thing that has it beat is writing a shellscript that forks to dc/bc on each math expression.

comment 1y ago · link · parent

> It also won't stop you from accidentally overwriting a global variable that already exists.

That's also solvable using metatables.

12345
23