HNHacker News
TopNewBestAskShowJobs

tart-lemonade

443 karma · joined January 14, 2025

submissionscomments
tart-lemonade··on Remote Code Execution in Marvel Rivals Game
It downloads and executes a Python script to update the store page? Log4j/log4shell, anyone?

Just build a JSON API! It's not that hard! You don't need to RCE your game every time it launches just for microtransactions.

tart-lemonade··on F-strings for C++26 proposal [pdf]
If a codebase is fragile enough that libc++ changes have to be assumed breaking until proven otherwise, why take the risk? Presumably the application already has a "standard" way of formatting strings. If it ain't broke yada yada
tart-lemonade··on Many of the Pokemon playtest cards were likely printed in 2024
One way to check could be to insert the serial number into various printer manufacturer's warranty check pages to see if anything pops up. Some companies (like Lexmark) require a model number first (which was not present for the example), but others (like Brother) will accept just a serial.
tart-lemonade··on Freeze on grant funding temporarily halted by federal judge
To be fair, Trump is far from the first to practice selective enforcement. As long as cannabis remains schedule 1, the DEA could raid every dispensary and farm in states that have "legalized" it, the only thing stopping them is our presidents turning a blind eye. All those "10 ridiculous laws still on the books" listicles operate on the same principle: nobody cares to enforce them, and since nobody is enforcing them, there isn't enough political will to repeal them, either.

Which is to say SCOTUS will absolutely approve of Trump refusing to enforce laws he dislikes, for better and for worse. The emergency declarations to enforce unconstitutional rules he just imagined like an LLM hallucination will likely be far worse, and even if SCOTUS says no, I doubt he will obey them (SCOTUS has no enforcement powers, after all).

tart-lemonade··on Freeze on grant funding temporarily halted by federal judge
At this point I have to wonder if judicial intervention will have any effect; a court ruling only matters if the administration decides to obey it. There's a lot of frozen funds which legally cannot be frozen due to them either not being subject to executive control (e.g. Medicaid funds[0]) or because there are contractual obligations for dispersal (e.g. many infrastructure projects), so it seems unlikely that a little thing like the law is going to make a difference here.

As someone in higher ed, this all worries me greatly. My position may not be federally funded, but if layoffs occur to balance the budget, I'm relatively low on the seniority ladder.

[0]: https://www.healthcaredive.com/news/trump-freezes-federal-gr...

tart-lemonade··on A very Chicago gamble
It's not the people that matter, it's the politicians. They can say "it'll help fund our pensions without a tax increase or budget cuts" to quell the voters and have a much better chance at getting re-elected with all the contributions flowing to their campaigns.

If the politicians really cared what their constituents thought or about the long-term financial health of the city, they wouldn't be leasing away our assets at firesale prices (like the Skyway and street parking).

We need more people in government who care about good government like JB Pritzker, Alexi Giannoulias, or even our Parks superintendent Rosa Escareno.

tart-lemonade··on AI is creating a generation of illiterate programmers
I've heard this argument about spell checkers in Word, browsers, etc as well.

Anecdotally, I wouldn't be surprised if there was some truth to it: in the early 2010s I saw tons of people saying "defiantly" that meant to type "definitely", and I couldn't figure out why. Then I misspelled "definitely" once and saw the spell checker suggested "defiantly", and it finally clicked.

Spell checkers have definitely improved since then (I can't remember the last time I saw the definitely/defiantly mix-up), but I can't help but wonder how bad suggestions have affected the way people understand languages.

A similar phenomenon exists on TikTok with words taking on contradictory or even opposite meanings, though this doesn't seem to be caused by spell check so much as constant incorrect usage rewriting the definition in people's minds (like "POV: you're getting mugged" when it should actually be "POV: you're mugging someone" or "POV: you're a bystander watching someone get mugged").

tart-lemonade··on People are bad at reporting what they eat. That's a problem for dietary research
The margins the FDA allows for class 2 and third group nutrients are also quite generous. I'm sure they made sense back when they were first introduced, but as food science has improved, the standards have not.

> The Food and Drug Administration (FDA) allows calorie content to exceed label calories by up to 20%

https://pmc.ncbi.nlm.nih.gov/articles/PMC3605747/

> Class I nutrients are those added in fortified or fabricated foods. These nutrients are vitamins, minerals, protein, dietary fiber, or potassium. Class I nutrients must be present at 100% or more of the value declared on the label

> Class II nutrients are vitamins, minerals, protein, total carbohydrate, dietary fiber, other carbohydrate, polyunsaturated and monounsaturated fat, or potassium that occur naturally in a food product. Class II nutrients must be present at 80% or more of the value declared on the label.

> The Third Group nutrients include calories, sugars, total fat, saturated fat, cholesterol, and sodium. [...] For foods with label declarations of Third Group nutrients, the ratio between the amount obtained by laboratory analysis and the amount declared on the product label in the Nutrition Facts panel must be 120% or less, i.e., the label is considered to be out of compliance if the nutrient content of a composite of the product is greater than 20% above the value declared on the label.

https://www.fda.gov/regulatory-information/search-fda-guidan...

Edit: Expanded the quotes to include definitions.

tart-lemonade··on Red Hat Woos VMware Shops with OpenShift Virtualization Engine
Third is academia. Even with a marginal academic discount, it doesn't come close to offsetting the price hikes. When the choice is between slashing personnel budget and minimizing the usage of/completely migrating away from VMware before the next renewal, there's really no choice in the matter, especially with the difficulty of firing employees.
tart-lemonade··on I have made the decision to disband Hindenburg Research
People have this idea that short sellers are market manipulators who conspire to wipe out innocent day traders' life savings and trigger mass layoffs with the stroke of a pen (hence the term "financial terrorism," which is absolutely comical in its hyperbole but used with complete sincerity by the anti-short crowd), but like tines said, it's a risky business that requires lots of research that frequently goes nowhere with limited upside and uncapped potential losses. The amount of times they and other short sellers publish damning evidence on a company only for the stock to shoot back as soon as the company releases a "nothing to see here" non-response really shows the difficulty in making money in the space (and how much people want to bury their heads in the sand).

Given the regulatory environment we are heading into, I expect short selling will become an even riskier business since the SEC isn't going to be prosecuting fraud anymore (or rather, they'll be doing even less than they are now), making it much easier to sic the lawyers on firms like Hindenburg. Even though this isn't their stated reason for bowing out, I wouldn't be surprised or hold it against them if it was a factor.

tart-lemonade··on Nevada court shuts down police use of federal loophole for civil forfeiture
SCOTUS is out of touch with reality. And I'm not reacting to Trump-era decisions - even under Obama, the justices were watering down the Bill of Rights in cases like Salinas v. Texas (2013).

Previously, if you refused to talk to the police, that was considered invoking your fifth amendment right against self incrimination, hence the standard advice from attorneys to keep your mouth shut until they were present. Now, you must explicitly invoke it every time the police question you or your silence can be used against you, even if that silence was in response to informal questioning on the street with no intention of arrest.

It all makes sense when you consider how privileged the modern Court is: few of the justices in 2013 or today have actually worked as criminal defense attorneys, and only one has ever worked as a public defender (Ketanji Jackson, for two years; I will give Ginsburg credit for her work at the ACLU, but that is still a notable step above being a public defender). We haven't even had a justice whose read the law (became a lawyer without getting a law degree from a law school) since the death of Robert Jackson in 1954. (Robert Jackson is also the man behind the famous quote "any lawyer worth his salt will tell the suspect, in no uncertain terms, to make no statement to the police under any circumstances.")

Now, almost all have come from privileged backgrounds, went to Ivy League institutions, live in gated communities, are completely detached from the reality of what the average American knows about the law, and certainly aren't going to be taken advantage of by the cops. It's no surprise we've seen such an assault on our constitutional rights: they don't understand what life is like outside the ivory tower.

tart-lemonade··on Ask HN: Are LeetCode interviews appropriate for senior/staff scientists?
I view reliance on Leetcode-style exercises as an attempt at putting a hard number on a notoriously subjective process, whether because a company is cargo-culting big tech, HR wants to eliminate subjectivity as a defense against lawsuits, or because interviewers can't agree how to run things and it ends up being the least-hated solution.

My team's interview process has a couple algorithm questions but they're fairly basic (to ensure you can still code), the main portion is about API design and system architecture. It's not very objective, but I like it since it is directly relevant to our work developing middleware systems and navigating competing interests in the process.

tart-lemonade··on Google’s OAuth login doesn’t protect against purchasing a failed startup domain
That's a really good point. Perhaps the protocol should be expanded with an explicit identifier unique to an extant legal entity (or string of identifiers, to account for ownership changes like acquisitions), so it would be easy for SSO-enabled applications to keep previous tenants' data safe from someone who just buys the domain later on.

Of course, this would still rely on the provider: it might be a great solution for large providers like Google which can implement ironclad formal verification procedures, but if you and the previous company self-hosted SSO, you control the response and can impersonate them completely.

tart-lemonade··on Google’s OAuth login doesn’t protect against purchasing a failed startup domain
My father changed careers and dissolved his business over a decade ago, at which point he let his old domain lapse.

A couple years ago, I began to wonder if anyone was still trying to reach him, so I bought the domain (domain squatters weren't even interested in it anymore) and setup an inbox for his old email address. In less than a week, the unread count was in the triple digits. It was basically all marketing and spam so I closed the inbox within the month, but multiple years with a 100% bounce rate is apparently not enough to deter LexisNexis & friends from trying to win him back.

This is a corporate planning/governance problem, not a vulnerability in Oauth, and I bet the problem is even bigger than TFA describes since any previous domains of a company that were almost-but-not-completely migrated away from could easily be taken advantage of, possibly to even greater effect since the company likely has a bunch of systems still up which have the domains whitelisted. (Which makes me wonder if there are hacking groups who use domain squatting as a front or side-gig while they take advantage of lapsed corporate domains.)

← PreviousPage 4 of 4