News for hackers. Stuff that matters.

orbital223

Re:C/C++ Embedded Files on Friday December 26, 2025 @02:04PM (#46395112)
> So now I think to myself: if I want to remain portable, I'll just write a python script

How can you know that your Python implementation won't send your credit card details to an LLM when it runs your script? It does not follow an ISO standard that says it can't do that. You're not making assumptions about it's behavior, are you?

I don't need my car's airbags 99.99% of the time.
Re:Noise on Saturday October 05, 2024 @08:08PM (#41753771)
I got more of a Ratatat - Tacobel Canon vibe:

https://www.youtube.com/watch?v=use8dcTn4tI

Re:SQL Tips and Tricks on Wednesday September 25, 2024 @10:04AM (#41647682)
> Leading comma ensures one line diffs

It does not. It just moves the edge case to a different position: trailing comma has the "issue" when adding an argument to the end of the list while leading comma has it when adding an argument to the beginning.

Also, as pointed out by the other commenter, any decent modern diff tool will make it obvious that the change to the existing line is just the addition of a comma, which makes the difference basically moot.

Re:Firefox on the Brink? on Tuesday December 05, 2023 @09:50PM (#38539987)
This has been my exact journey, been using Firefox since before it was called Firefox, finally got fed up a couple of years ago and switched to Vivaldi. It's such a breath of fresh air not having to dread update notifications anymore.
Re:Firefox on the Brink? on Tuesday December 05, 2023 @09:22PM (#38539799)
> and thus neglect their main product

Neglect would be a step up. It feels like they are actively trying to antagonize existing users.

> All that's required to be a naturalized US citizen is to be physically born in the U.S. Or to be born to U.S. citizen parents.

A naturalized citizen is someone who was not born a citizen and then becomes one. Both of your examples are of natural citizens.

Re:Rust has been forked to the Crab Language on Tuesday May 30, 2023 @05:20PM (#36131006)
> That's the intent of the policy they oppose, so... /shrug

There is a world of difference between "intent" and reality.

The rule of thumb according to youtubers is that 1000 video views is worth about $1 of ad share. Youtube's ad share is about 50%, so 1000 video views should be worth about $2 of ad money for Youtube. Youtube Premium costs $12 a month which is equivalent to 6000 video views per month or ~200 video views per day. If I'm on a very youtuby mood I'll maybe watch 10 videos in a day. So, best case scenario, paying for premium comes with a 20x markup.

So your conversation actually goes:

HN/Reddit: "I would love to just give you the money directly instead of watching ads in exchange for advertizers giving you money."

Companies: "Sure, here's the ad-free version. You have to pay 20 times as much as the advertizers do though."

HN/Reddit: "Wait, what? That's bullshit. Why?"

Companies: "Fuck you, that's why."

Re:Is infinity an odd or even number? (2011) on Tuesday May 02, 2023 @01:11PM (#35790857)
You can define a one-to-one mapping between the sets {1 2} and {3 4}, but I don't think anyone would say they are equal.
- Ted Woodford (https://www.youtube.com/@twoodfrd): Stringed instrument repair, mostly old accoustic and electric guitars.

- Artisan Makes (https://www.youtube.com/@artisanmakes): Hobby machining.

- Rex Krueger (https://www.youtube.com/@RexKrueger): Woodworking.

Because if you're an executive that signs off on a project spinning out, and that project then becomes wildly successful, you're going to be blamed for letting that super lucrative project "escape".
Re:Generic dynamic array in 60 lines of C on Wednesday March 01, 2023 @10:03AM (#34983131)
> Why do you say this is wrong?

Exposing uninitialized memory as valid values tends to be a really bad idea.

Re:Generic dynamic array in 60 lines of C on Tuesday February 28, 2023 @02:41PM (#34973830)
DYN_ARR_RESET should probably be called DYN_ARR_INIT instead, as calling it more than once will leak memory.

The handling of endptr in DYN_ARR_RESIZE seems to be incorrect. If I have an array with 2 elements and capacity of 3 and I DYN_ARR_RESIZE it to 5, I now have an array with 5 elements, 3 of which are garbage values.

> Children do have rights. Some of them are restricted.

Exactly, therefore the claim in OP that "They can't claim a fucking fetus is a person and then not give it rights." isn't really sound. Our legal systems already claim that some beings (children in this example) are persons but that they aren't entitled to the full range of rights that adults enjoy.

Please do note that I'm not trying to argue any related issues (such as the legality of abortions), just that claim made by OP.

> They can't claim a fucking fetus is a person and then not give it rights.

Of course they can, we do it all the time. Children, for example, are people and they have very limited rights (especially in the area of freedom of movement).

Re:Weird architectures weren’t supported to begin with on Saturday February 18, 2023 @01:00PM (#34849206)
> Or, you know, we could just stop trying to tell others what targets to use.

If it's not ok to tell others what targets to use, then it's also not ok to tell others what targets to support.

Re:WebKit Supports Nested CSS on Thursday February 16, 2023 @12:19AM (#34815354)
> come up with the cleanest, easiest-for-humans syntax as possible, and tell browser vendors to fix their damn engines

W3C has zero leverage over the browser vendors. If they tried to do this the end result would be the same thing that happened to XHTML: the browser vendors would tell them to pound sand and announce that the de facto CSS standard would now be maintained by the WHATWG.

> keep China out of "trivially easy to prove that the West is better for its own citizens"

China has concentration camps.

Doctors without borders provide free labor to needy children in war torn countries. Programmers provide free labor to first world corporations worth millions of dolars.
> Where did children get breakfast before capitalism?

Historically speaking the vast majority of them just didn't.

Re:Adding Telemetry to Go-Lang on Saturday February 11, 2023 @11:13AM (#34753589)
> This is very uninteresting data to Google.

It's not about how interesting the data is to them, it's about the hubris of believing they are entitled to every last bit of our data.

Re:Rust: A Unique Perspective on Friday February 10, 2023 @09:32AM (#34740068)
> The reason people say binding is because the words “immutable variable” are an oxymoron.

Mathematics has had immutable variables since long before computers.

Re:The Future of Thunderbird on Thursday February 09, 2023 @07:57PM (#34734152)
> Getting new blood thus may entail getting rid of the Old School interface and going with whatever is 'current'.

Reminds me of the arguments for Firefox getting rid of the "Old School" interface and copying Chrome to bring in new users. Didn't exactly work out very well...

Re:CamelCase vs. Underscores: Revisited on Thursday January 26, 2023 @07:27AM (#34530863)
DAX, used in Microsoft's Power BI, allows for identifiers with spaces.
Re:An Unexpected Benefit of Unit Tests on Sunday January 22, 2023 @01:05AM (#34474821)
> I am a new to development but I've noticed that lots of errors pump through code where "No method X defined for nil object" or something like that.

Thats the kind of thing a good programming language is supposed to help with.

Re:An Unexpected Benefit of Unit Tests on Sunday January 22, 2023 @12:48AM (#34474727)
> The test would fail because it doesn't compile, so you make it compile.

But in this situation the test will fail regardless of what you wrote in the test code. So the supposed usefulness of the test failure showing that you are actually testing what you mean to be testing is inexistent and the exercise of making it fail before making it pass is pointless.

Re:Free Speech Is the Wrong Problem on Saturday January 21, 2023 @10:28AM (#34467048)
> Next time you visit your 'Corrupt High Priest Doctor' who represents the institution of Medicine, who recommends a therapy, why don't you ignore him and make your own concoction, at home, using the 'alt method' you discovered on some podcast? Good luck.

If the doctor recommends that the treatment to a strong cold is to amputate your hands, will you just agree to it or will you apply some level of your own discernment?

> Doctors and Medical researches have a fundamentally better understanding of the human body that idiots on Twitter.

And yet there were (and are) a ton of doctors prescribind Hydroxicloroquine and Ivermectin to their covid patients.

> Which is why some medicine is 'behind the counter' and we don't argue about that very much.

We argue about it all the time. That's why people get second, third and fourth opinions. That's why there are medical panels. That's why people sue doctors for malpractice.

Re:Free Speech Is the Wrong Problem on Saturday January 21, 2023 @10:16AM (#34466948)
> (if we can accept a red squiggly line under a misspelled word, would it bother anyone to have it automatically added under verifiably factually incorrect claims?)

If you are ever able to find a definition of 'verifiably factually incorrect claims' that is accepted by everyone, the red squiggly is the trivial part.

Re:Being Ridiculed for My Open Source Project (2013) on Monday November 07, 2022 @07:11AM (#33504807)
> No way I would tell my kids to take up with some a-hole online

That was my first instinct as well. But thinking about it, the second interaction seems to have solidified to him that the person didn't have any actual argument against his participation, that it was just an asshat being unpleasant.

Older »