skysight-inc/HackerNews huggingface dataset:
For some context how you MIGHT actually “fix” the true security concern in this code:
$allowed_callbacks = ['some_function', 'another_function']; // Example of allowed functions
if ( in_array($original_cb, $allowed_callbacks, true) && is_callable($original_cb) ) {
$return = call_user_func($original_cb, $post);
} else {
// Log or handle invalid callbacks safely
$return = false;
}

Tampering with global variables or else is NOT a fix, and this one in particular is like pointing out a crumb on the child’s mouth and grounding it for not brushing its teeth.

You could apply a filter to allow filtering the allowed callbacks, if you really want to allow more than the hardcoded whitelist.

In the end it still boils down to “do not use user callbacks” as the better security fix, which again shows how “they” didn’t fix a thing here. This is a blatant excuse for legal CYA.
I've been following this research for two decades. In my opinion, the most plausible explanation for the genesis of these life-extending adaptations is the methionine and branch chain amino acid restriction that is incidental to calorie restriction (that would be only cyclical in humans).
There are different ways to be homeless (some not very good, and some worse). I don't know how many people have run the simulation in their heads before, but being a university professor is just about the most favorable set of conditions that you could have for a person who is forced into being (or chooses to be) homeless.

It doesn't look like low pay is the dispositive cause. This looks like it's cost of housing.

I have a simple solution to address housing costs: tax the hell out of rentseeking. We should be shooting for a scenario where, five years out starting from right now, a Schedule E filer who owns additional residential properties where they are not an occupant should only be able to net 10% in 2028 for the same gross in 2023.
Just like incorrect indentation using spaces.

I personally use autoformatter in all CI pipelines, and error out for every change. This entirely kills the whole issue of wrong indentation/dangling spaces/accidental tabs/inconsistent formatting, etc.
I have definitely noticed a large drop in responses on SO. I am old enough to have seen the death of these platforms. First to go was usenet when AOL and its ilk became a thing and every channel turned into spam.
You don't have to build it like that. Where I live now, the parking lot is effectively the basement under the apartment buildings and playground. You'd barely interact with it unless you're driving.
Yh u gtta b c00l w abbrvs
Did your family get anything from you sharing this opinion? If not, why did you share it? Are you suggesting that your personal motivations for posting this cynicism are reasonable but that similar motivations that are altruistic for helping someone are not?
Why was Johnson even there? There was a breakdown in risk assessment, particularly as the side of the volcano began to bulge.
This has to do with the ordering of search: searching a proof tree (an SLD tree, in SLD-Resolution) with DFS, as in Prolog, can get stuck when there are cycles in the tree. That's especially the case with left-recursion. The article gives an example of a left-recursive program that loops if you execute it with Prolog, but note that it doesn't loop if you change the order of the clauses.

This version of the program, taken from the article, loops (I mean it enters an infinite recursion):

last([_H|T],E) :- last(T,E).
last([E],E).

?- last_(Ls,3).
% Loops

This one doesn't:

last([E],E).
last([_H|T],E) :- last(T,E).

Ls = [3] ;
Ls = [_,3] ;
Ls = [_,_,3] ;
Ls = [_,_,_,3] ;
Ls = [_,_,_,_,3] ;
Ls = [_,_,_,_,_,3] .
% And so on forever

To save you some squinting, that's the same program with the base-case moved before the inductive case, so that execution "hits" the base case when it can terminate. That's half of what the article is kvetching about: that in Prolog, you have to take into account the execution strategy of logic programs and can't just reason about the logical consequences of a program, you also have to think of the imperative meaning of the program's structure. It's an old complain about Prolog, as old as Prolog itself.
No amount of subsidy will make me give up my car. Obviously I also use trains but having a car is just too convenient in some situations and in some places not having a car is just disability.
I admit, i struggled with promises, within promises, within promises. Synchronous, I understood and just worked for me.
Articles exist in Romance languages, that’s true, but they are subtly different. You usually wouldn’t say “the Tuesday” in English but you would often say “el martes” in Spanish; “tennis” vs “el tenis”; “I don’t have a car” vs “no tengo coche” and so on.
Great execution, I was actually surprised how engaging it was. I remember hearing Joe Rogan laugh off AI agent replacing podcasters. I'm of the opinion he may be wrong.
Thanks for correcting me. I will change the license.
FYI, This is a five-time flagged comment [1][2][3][4][5] that’s been rebutted [6].

[1] https://news.ycombinator.com/item?id=41828032

[2] https://news.ycombinator.com/item?id=41828151

[3] https://news.ycombinator.com/item?id=41828151

[4] https://news.ycombinator.com/item?id=41828468

[5] https://news.ycombinator.com/item?id=41828616

[6] https://news.ycombinator.com/item?id=41828048
You're one of today's lucky 10,000! https://xkcd.com/1053/

It's a core issue in academia and other areas where the output is heavily the written word.

[0] https://en.wikipedia.org/wiki/Plagiarism#Self-plagiarism

[1] https://ori.hhs.gov/self-plagiarism

[2] https://www.aje.com/arc/self-plagiarism-how-to-define-it-and...
That's not inherent to PHP, but rather the ecosystem it's usually used in. The standard "LAMP" stack, for example, has Apache in it for the actual server, talking to PHP using a CGI interface. So if your PHP script crashes or hangs, the server itself is still up, and capable of serving other clients.

If you set up a Node script where e.g. Express talks directly to the clients, then yes, the script crashing or hanging means the server becomes unavailable or unresponsive. However, you can also set up a layer in front of Node. See cgi-node for replicating the CGI workflow you might be used to.

There are some advantages to the standard Node model though: the program can manage its own resources, such as keeping a database connection open; it can run asynchronous maintenance tasks; it can see and report the current server load; it can easily combine HTTP(S) communication and Web socket streams; etc.
Things can only be cheap if you mass produce them. That tends to require standardization of components, and inevitably standardized components are a compromise between requirements, where up until now, saving mass was a critical requirement. If you don't have to care nearly so much about mass and volume, then that opens up many avenues for much cheaper standard satellite components.
You haven't done anything extra like insurance, mobile bills, other loans etc... which is also costly.

If he is married, has obligations to support parents, you are out of luck.
his taxes in total are more than thirty six percent in California, and there is no mention of debt service costs.
Yeah, that's why I thought of contributing to cetz, the language is definitively way better. Although I think that for basic usage, I like the tikz way a bit better.
The main problem I'd say is circuitikz. It's a really big and versatile project, and I would need years to make it work.

However, thinking about it, it's not like anyone other than me cares about how clean my circuits are. They are high school notes, and the rest of my classmates are doing it on paper, but I haven't found a good alternative. One that probably isn't as clean as circuitikz, but easier, faster and easy to integrate to latex/typst
Serenity Now, Insanity Later
For a simple use case (simple site with a simple blog), I started off with Hugo and found it too complicated, then switched to Zola and had it done in a few days. The documentation was simple and to the point, the templates were easier to work with (for me). The community is infinitely smaller though, if it's not in the docs you're basically on your own.
Show HN: I Accidentally Created a Viral Tool That Saves 500 H of Manual SEO Work
I’ve been doing SEO for a long time, and I was tired of all the repetitive tasks. So, I decided to build an automation AI agent to handle those tasks for me. To my surprise, I ended up creating a tool that saves 500 hours of manual work with just one click!
Understanding is finding the simplest general solution. Newton's laws are understanding. Catching the ball is not. LLMs take billions of parameters to do anything and don't even generalize well. That's obviously not understanding.
Open in the "closed" sense. The legal status of anything from Symbolics is a minefield. Even this "portable Genera" might be of dubious legality...

"Open" here was a popular term back in the day and bunch of companies used it .. sorta like AI, LLM, and blockchain.
As a thing to raise awareness of unethical farming I really like it, but as a game it’s a little lame.

Every red option is a big game over, no reason (as a player) to click them. (Which is very on brand)

Pretty funny, but won’t have me coming back.

11/10
Please don't use ChatGPT as a primary source. There's no way to tell if it's making up those facts or not.
Bengali does that too and even allows for age based relative positioning by using a "prefix" + "relationship_name":

- Father's side:
Uncle:
Older than father (age_position_prefix + Jethu):
1. Eldest: Boro Jethu
2. After him: Mejo Jethu
3. After him: Sejo Jethu
4. After him: Chhoto Jethu
Younger than father (age_position_prefix + Kaaku):
5. Eldest: Boro Kaaku
6. After him: Mejo Kaaku
7. After him: Sejo Kaaku
8. After him: Chhoto Kaaku
Aunt:
Same age_position_prefix as above but common suffix: Pishi

- Mother's side:
Uncle:
Same age_position_prefix as that on the father's side but common suffix: Maama
Aunt:
Same age_position_prefix as that on the father's side but common suffix: Maashi

Boro means eldest
Mejo means middle
Sejo means younger than the middle
Chhoto means youngest

So men on the father's side have more dedicated words than others.
>This is another manifestation of the continuous tax paid for Windows’s insane level of backward compatibility. I think the root cause is that Microsoft thinks files ending in .EXE are ugly (but they don’t want to stop using this convention, which I don’t think is strictly required by the kernel or filesystem, but would probably break other things in the OS and 3rd party tools), so they hide that

I don't think they're think the extension is "ugly". I think they expect their users to think that way, on average, and don't want to deal with being told such (or getting support requests because ignorant users tried to remove that part of the filename and now can't open Word or whatever).

I wouldn't call it the result of backwards compatibility, either - although Windows' level of backwards compatibility is insane and does impose a continuous tax. But in the current case, there would need to be a new system for inferring executability before we could talk about removing the existing one. AFAIK Windows uses file headers to determine the format of an executable file (i.e. how to load it), but not to decide whether a given file should be deemed executable at all. And the attrib bits, also AFAIK, don't include anything for execution either.

>I would also consider disabling USB ports in air-gapped systems.

I assume they aren't worried about "BadUSB" type attacks because they're in control of the physical media used for transfer.
That's a good critique.
>With Unicode, sorting and case conversion are neigh impossible to do correctly

Surely you mean that sorting correctly is impossible without Unicode? Otherwise you would have to hardcode the rules of sorting strings correctly in my language (and all other languages) yourself.

Unless your preferred solution is "close my eyes and prefer non-ascii characters don't exist", then... I'm not a fan.
> Yes, both systems are reusable, but there are key differences in the refurbishment of the systems that partly explains the cost difference. It took more labor, resources and time to refurbish the shuttle.

Starship uses essentially the same ceramic heat shield tiles as the Space Shuttle, so the fact the Shuttle had so much trouble with refurbishment doesn't mean that SpaceX has solved these refurbishment issues with the Starship upper stage.

Though the Starship lower stage, which contains the most expensive engines, doesn't have this problem. Since it doesn't need a heat shield. So partial reusability should be pretty realistic.
PPTP used to be the main OSI "L6"/"VPN" protocol (before PPPoE) for ISPs using DSL and ISDN over copper wire to the home via NetBEUI, Novell IPX, as well as IP network for use with Microsoft Windows platform.

PPTP was Never formalized by an IETF RFC. A Microsoft engineer told me legal was defensively shying away from proprietary disclosures then.

Probably was the first to network reverse engineer PPTP for an ISP modem product, notably the harder but broken PPTP-MPPE, as well as PPTP-PAP MS-CHAPv1 but Cisco purchased their way into PPTP suite from MSFT ahead of me. Did code RE of Shiva PAP too, thought it was a bad design back then and disuade my product team from Shiva PAP.

Disclaimer: worked on entire network protocol suite (along with 7 other hardy network guys) toward Efficient Network ADSL modem for most Bell Core companies, including Lucent, Ascend, Southwestern Bell, Qwest. Bought out by Siemens.
People seem to think it is easy to have roommates. My roommates were horrible, they wouldn't clean anything, blast music and always a privacy risks.
Why wouldn’t you use LLMs to write even more open source?

The cost of contributions falls dramatically, eg, $100 is 200M tokens of GPT-3.5; so you’re talking enough to spend 10,000 tokens developing each line of a 20kloc project (amortized).

That’s a moderate project for a single donation and an afternoon of managing a workflow framework.
Defining Statistical Models in Jax?
McKeown should be paid more, without question, but he is a lecturer, not a faculty member. His title and appointment is not as a "Professor". [0]

This is due to the hierarchical ranking system of academic institutions. McKeown's qualifications may be the same as his more highly ranked colleagues, but the tiered system which rewards research does not pay as much for lecturers whose primary assignment is to teach.

[0] https://www.pa.ucla.edu/lecturers.html#:~:text=physics.ucla....
“Trained developers” huh? I think this is the spin of the wheel, or a sign that software development culture is indeed an ouroboros.
> If he is married

If he is married, then his spouse (especially given the marital demographics of people holding advanced degrees) is quite likely also contributing income, and decently likely to be contributing income at least as much as he is. Now married with kids is a different ballgame, but married per se isn't going to be a financial burden.
Be careful Spiegelhalter, lest you flirt with religion.
Yeah for rapid reusability tiles aren’t going to work, too fragile. Iirc it was with a lot of reluctance they went with tiles and will have to make breakthroughs on the heat shielding to get where they want to be.
Too bad I no longer have my HONK FORTH IF LOVE THEN bumper sticker
In the age of precision psychological influence and constant bombardment with low grade mind control, Capitalism is trash. To the most rapacious, the loudest, the most insidious go the spoils. If we're gonna keep the current system we need to slam the ban hammer on advertising and marketing with righteous fury.
Exactly my experience. After my last couple races or long workouts, my HRV dipped a few ms for a few days before coming back to normal. In this case, it’s not telling me anything I don’t already know. But in other instances, a lower HRV would make me consider slowing down a bit.
I wonder if the same is/was true for smokers? I can imagine people not wanting to hear "you need to lose weight" every time they visit the doctor. What about "you need to stop smoking" or "you need to stop drinking" or admonishments to stop any other self-destructive behaviors?
> Aren’t roads necessary from a “last mile” perspective for like, all sorts of things a functioning country needs?

Yup, absolutely! But at least where I've worked on road design, the number of lanes on a local road is governed pretty much solely by the number of cars (trucks just have a larger impact on asphalt structure choices and, balance with the impacts of freeze-thaw, resurfacing schedule).

But this is about longer distance travel - trains generally being used for intercity travel vs highways. Even still, I don't argue against road subsidization, but rather in favour of more train subsidization.
> People seem to think it is easy to have roommates

It seems to me that they think it's easier than being homeless.
> I admire the guy for choosing to do more important work and making sacrifices to do it. But I'm not owed a decent salary in return for following my own dreams rather than my employer's dreams. Nobody is.

Students at public universities deserve good instructors. Stop applying a capitalist market rationale to public services.

Are you one of those people who thinks that whatever price the market offers for labor is axiomatically fair?
The problem SO tends to run into is when you have a question that seems like it answers another question on the surface (ie. because the question title is bad) and then a very different question is closed with the dupe reason pointing to that question because the close titles are similar.

Since there's no way to appeal duplicate close votes on SO until you have a pretty large amount of rep, this kinda creates a problem where there's a "silent mass" of duplicate questions that aren't really duplicates.

A basic example is this question: https://stackoverflow.com/q/27957454 , which is about disabling PRs on GitHub on the surface. The body text however reveals that the poster is instead asking how they can set up branch permissions and get certain accounts to bypass them.

I can already assure you that just by basic searching, this question will pop up first when you look up disabling PRs, and the accepted answer answers the question body (which means that it's almost certain a different question has been closed as a duplicate of this one), rather than the question title. You could give a more informative answer (which kinda happened here), but this is technically off-topic to the question being closed.

That's where SO gets it's bad rep for inaccurate duplicate closing from.
Amazon's Tye Brady discusses the next generation of robotic warehouses
You mean an artificial economic situation that NIMBYs have created by making it nearly impossible to build new homes.

It’s not a fair situation from any perspective. NIMBYs are slowly destroying California’s heart, and turning it into a place where only people with a 100k+ (and soon 200k+) income can afford a home.
Per smartasset.com:

70K salary in Los Angeles - Gross $5,833/mo, filing single, including federal, state, fica, state disability gives a monthly take home of $4,447

So find it hard to believe he is "homeless", seems to be more by choice. And if the take home after paying rent is still too high, do like most others do - get a roommate to share expenses.
More like resistance training than bodybuilding (bodybuilding is more about aesthetics than strength, although there is a significant linkage). Falls are a leading cause of death and disability in the elderly. Old people who fall and break a hip seldom fully recover, lose mobility, and are often dead within a couple years. Being strong enough to stabilize your joints and catch yourself before hitting the ground is extremely important (although this is difficult to study through randomized controlled trials).

https://peterattiamd.com/avoiding-injury-part-i-eccentric-st...

By the way, this is one reason why mouse studies on longevity don't translate well to humans. Lab animals live in safe, flat cages where there's little risk of musculoskeletal injuries. The real world where humans live is far more hazardous.
alternatively:

this basic economic situation has gotten so fucked up that even a traditionally solid middle-class gig like "professor at moderately prestigious university" can't pay his bills
They already plan refueling infrastructure in orbit. That would include stuff to "squirt" on the way down if necessary. If they can use one extra launch to reuse 5-10 starships that might be interesting. Noone knows yet if it's actually needed.
A Supreme Court is a political organ that delivers the final legally binding interpretation of a country's constitution. It's an integral part of the power division needed to keep a democracy working. Just disagreeing with a Supreme Court ruling is pretty much meaningless, people disagree with court rulings all the time. There is no problem with that at all.

People sometimes erroneously believe that Supreme Courts primarily have a legal function. That's not true, that's the purpose of the highest instances of ordinary courts. A Supreme Court is called when there are doubts if the highest legal instance has judged according to the constitution. That's why they are political organs and Supreme Court judges are appointed by a political process.
We probably understand that term differently. Markdown and code is "plain text" in my opinion (just like JSON and csv and ini etc). Basically everything that can be easily edited using a regular text editor is plaintext. Alternatively, everything that can be checked into and diffed using git. I think this is the same understanding the author has.

This rules out special characters and binary file formats, of course.
Bengali has it too: Bhairabhai (Bhai = brother so the Bhaira prefix qualifies the brotherly nature of the relationship)
It's a freemium plugin though, the advertisements for the pro-version and the update-funnel are how you pay for it.

If WP had only fixed the error but not removed all of those things & and hadn't claimed authorship themselves ("By Wordpress.org", and putting themselves at the top of the contributors while they're certainly the one with the fewest contributions), that argument would be different, I believe.

Would wordpress.org allow WooCommerce to be forked, uploaded with no modifications beyond the all references to WooCommerce being changed to YouCommerce and all mentions of Automattic being wiped? I don't see that being allowed.
The Pentegon and the United States establishment is no longer the top of the food chain. Decades of outsourcing to private sector intelligence and military interests has left the conventional apparatus of power antiquated and wanting.

This is only one of many signs.
This comic has sat in my head for a long time: https://www.smbc-comics.com/comic/college-level-mathematics

It’s now outdated, and the numbers are worse
> The orbiter itself was slow and expensive to reuse since (among other things) all the heat shield tiles were inspected and 30-100 replaced between each launch.

Worth noting that Starship's heat shield is very similar to the one of the Shuttle. They actually got the manufacturing method from NASA.
That’s a good point, they used the sprinklers on landing to mitigate damage to the pad and the booster was caught well off the ground.