HNHacker News
TopNewBestAskShowJobs

valleyer

2,240 karma · joined May 10, 2013

submissionscomments
valleyer··on Brent's Encapsulated C Programming Rules (2020)
Of course, but that's doable without making programmers maintain headers, and some modern languages do that.
valleyer··on I wasted years of my life in crypto
Folks, the word "fiat" is not an initialism, unless you're referring to the car brand.

https://en.wiktionary.org/wiki/fiat

valleyer··on Bad Dye Job
Seriously. Craig is asleep at the wheel.
valleyer··on I failed to recreate the 1996 Space Jam website with Claude
There's actually a language model developed by The Open Group that will transform that back into the original source code.

<https://pubs.opengroup.org/onlinepubs/9799919799/utilities/c...>

valleyer··on You can't fool the optimizer
Yes, though it's worth stating that it's a little more nuanced than that, since (for historical, path-dependent reasons) the compiler and libc are often independent projects (and libc often includes a bunch of other stuff beyond what the standard/compiler need).

This is the case, for example, on macOS, FreeBSD, and Linux.

Cute username, BTW.

valleyer··on Nook Browser
Right; top-level comment is saying that those are all missing from the linked code.
valleyer··on Show HN: Onlyrecipe 2.0 – I added all features HN requested – 4 years later
Looking through your comments, your spelling indicates you might be from a Commonwealth country, which means you might not be familiar with the fact that a "cup" is a standardized measurement in the US.

https://en.wikipedia.org/wiki/Cup_(unit)#Customary_cup

valleyer··on You can't fool the optimizer
> What happens if it isn't?

§6.4.2.1: "If the program defines a reserved identifier [...] the behavior is undefined."

valleyer··on You can't fool the optimizer
No, the compiler may assume that the behavior of standard library functions is standards-conformant.
valleyer··on Intel could return to Apple computers in 2027
Those don't exist in ARM Macs.
valleyer··on Why don't people return their shopping carts?
Fair. The greater point was that you're not just "helping the business" by maintaining a clean environment (whether the "dirt" be carts or excrement). You're also helping your fellow humans.

And, in fact, you almost certainly are helping employees. Sure, there could be fewer of them, but they'd be doing less menial work. And the ones who got laid off due to your contentiousness would find less menial work elsewhere. Society as a whole would benefit.

You probably already know this, but the idea that we should make the world worse to preserve people's jobs is called the broken-windows fallacy.

I probably should have just responded with that originally.

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

valleyer··on Why don't people return their shopping carts?
By that logic, why not also just throw your trash on the ground? And, if you need to use the restroom while you're there, why not just pee on the floor?

That would be a great way to fight the business, which would love to employ fewer people to clean that stuff up by shifting the burden of doing it right onto you, the customer.

valleyer··on Court settlement calls for NPR to get $36M to operate US public radio system
IP multicast/broadcast does not use TCP.
valleyer··on Why don't people return their shopping carts?
Full-service checkout is a service that is explicitly offered by (most) stores, and yes, it's a service many people like -- in part because of the poor UX of the self-checkout machines. ("Please return item to the bagging area.")

I don't think many people would object to full-service cart return, in which employees immediately pick up your cart when a customer is finished loading their groceries into the car. But few (if any?) stores actually intend to offer that, as evidenced by the carts that sit for long periods of time strewn about the parking area.

valleyer··on Why don't people return their shopping carts?
> where are people expected to learn these implicit rules? If the store doesn’t care enough to communicate these expectations (assuming they even have them, and that they don’t only exist in the minds of the self-appointed “cart police”), why should customers follow them?

The rules are not implicit; there are typically giant signs saying "RETURN CART HERE" over a metal cart corral that often contains other carts.

People are expected to learn this during their first or second trip to a grocery store that offers carts.

Similarly, at a full-service restaurant, you will be able to notice busboys picking up used tableware, and you will notice a scarcity of customer-accessible garbage bins (as compared to, say, a self-service fast-food restaurant).

If you are ever unsure of the protocol, you are always welcome to ask an employee. Employees at these businesses are typically distinguished by wearing a uniform.

Hope these tips help you on your future trips to Kroger/McDonald's/Olive Garden.

valleyer··on Fighting the New York Times' invasion of user privacy
Because the New York Times sued them and made them.

https://openai.com/index/response-to-nyt-data-demands/

valleyer··on Meta replaces WhatsApp for Windows with web wrapper
Power consumption of newly sold refrigerators is regulated by the U.S. government (and, I assume, other big countries), so I don't think this argument works in your favor.
valleyer··on Apple reports fourth quarter results
> Thinking the last part is happening or will happen anytime soon feels very naive.

"The last part" of GP is taxing the company's money when it's distributed to shareholders, and that is absolutely already happening. You might not like the current rates or loopholes (neither do I), but I think most of the somewhat-wealthy big tech engineers on this board can attest that it "is happening".

valleyer··on Trump pardons convicted Binance founder
States can not "in theory" secede from the United States. See Texas v. White: https://en.wikipedia.org/wiki/Texas_v._White

From the point of view of the U.S. legal system, the Confederacy's secession was "absolutely null".

valleyer··on The fight between doctors and insurance companies over 'downcoding'
Generally here the more important codes would be the CPT codes.

I doubt the insurance company would downcode the diagnosis, just the procedure.

valleyer··on Apple Banned an App That Simply Archived Videos of ICE Abuses
Except he did that, and Trump continues to ask for more. And Cook keeps volunteering it.

Why so many people fail to infer the obvious answer here -- that Cook is a Trump-supporting Republican -- boggles my mind.

And not that it really matters, but I say this as a longtime Apple user and employee.

valleyer··on Apple Banned an App That Simply Archived Videos of ICE Abuses
Tim Cook is a Trump supporter.
valleyer··on Apple takes down ICE tracking apps after pressure from DOJ
ICE has been detaining and deporting non-criminal American citizens under this government.

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

valleyer··on Apple takes down ICE tracking apps after pressure from DOJ
Avoiding being where ICE agents are is not against the law. Even being in the country while eligible for deportation is not against the law.

Crossing the border not at a designated point of crossing is against the law; this app is not for that.

valleyer··on Apple takes down ICE tracking apps after pressure from DOJ
Yup, that's what I wish Apple would do here.
valleyer··on Apple takes down ICE tracking apps after pressure from DOJ
> Cook, clearly trying to remain calm, shot back: “When we work on making our devices accessible by the blind, I don’t consider the bloody ROI [return on investment]. When I think about doing the right thing, I don’t think about an ROI.”

> Cook then offered his own bottom line to Danhof, or any other critic, one which perfectly sums up his belief that social and political and moral leadership are not antithetical to running a business. “If that’s a hard line for you,” Cook continued, “then you should get out of the stock.”

https://alearningaday.blog/2016/03/12/tim-cook-on-roi/

valleyer··on Walmart U.S. moves to eliminate synthetic dyes across all private brand foods
Fair. It's better than orange soda!
valleyer··on Apple takes down ICE tracking apps after pressure from DOJ
I agree that most people will not hear about this app being removed. (Though note that it's being reported here in "normal people" news, not tech news.)

But it's far from the only way Cook has aligned himself with Trump in just the last few months. The dumb gold-glass plaque and the UK royal visit are two much more visible examples.

valleyer··on Apple takes down ICE tracking apps after pressure from DOJ
I am an Apple shareholder.

My Apple shareholder interest is for Apple to preserve its reputation in the long term, including when Trump is long gone.

Please stop repeating this "shareholders only care about short-term money" idea.

valleyer··on Walmart U.S. moves to eliminate synthetic dyes across all private brand foods
But there is a clear public health trade-off there, because far fewer people will drink O.J. if that work is required (vs. just pouring it out of a carton).
← PreviousPage 8 of 27Next →