skysight-inc/HackerNews huggingface dataset:
Variable scope, passing by name or value, are all conceptually difficult for a brand new programmer. BASIC is not a good language for writing complicated, real-world applications and games (not that it wasn't abused in that way often). But it's a simple language that works well for beginners, which is who the language was invented for.
Security is a complex and deeply evolved field. Many modern required security practices are quite recent from a historical perspective because we simply didn't know we would need them.

A safe security first OS from 20 years ago would most likely be horribly insecure now.
I'm afraid I don't really understand the question... I'm not familiar with this notation.
"Despite their large multi-seat public latrines with washing facilities, sewer systems, sanitation legislation, fountains and piped drinking water from aqueducts, we see the widespread presence of whipworm (Trichuris trichiura), roundworm (Ascaris lumbricoides) and Entamoeba histolytica that causes dysentery. This would suggest that the public sanitation measures were insufficient to protect the population from parasites spread by fecal contamination. Ectoparasites such as fleas, head lice, body lice, pubic lice and bed bugs were also present, and delousing combs have been found. The evidence fails to demonstrate that the Roman culture of regular bathing in the public baths reduced the prevalence of these parasites."

I would think that the communal nature of the latrines and baths would actually have contributed to increasing the incidence of those parasites, rather than decreasing them.
Wasn’t he also one of the creators of RAFT (https://en.m.wikipedia.org/wiki/Raft_(algorithm) )
Even with memory-safe languages you can shoot in your foots and on Windows, AFAIK, you need to stick with c/c++ for this kind of low level programming.

BTW, using your metaphor, until 2 days ago they didn't even know that there was a fire in the basement, nor a basement.
XSLT would be a classic answer, but it's a bit of a lost ancient technology these days. I've only used it in the browser for a lark, but I suppose you'd find mature (old) libraries for working with it easily enough.

PHPTAL is another system I've heard of (but never used) that seems to be built on this idea. It is also very mature (old). https://phptal.org/

In general working with DOM doesn't seem to be very cool these days. Everyone uses template systems that are glorified string concatenators, like Mustache, and doesn't care about security issues due to bad escaping.
Thanks John, I've kicked many a people from IRC using TCL.
They're silly, creepy, harmless (and of course fictional) fun with a side-order of existential dread. What else might they be?
What makes you think only a foreign adversary might want illegitimate access to our computers?
https://archive.org/details/Hacker_Chronicles_Volume_1_1994

The kock.exe turned every account into administrators. Guess who was caught using it in secondary school :)
> Hell at least cybering is still pretty fun

Representing 99.3% of the LLM training corpus, it had better be
Not sure what GP had in mind, but one can programmatically generate PDFs directly, without using something like Typst as a "middleman".
https://www.newsweek.com/florida-insurance-crisis-explained-...
There is no optimal textbook. This is a constraint satisfaction problem, not an optimization problem.

ANY textbook you sit down and read, and solve its problem sets is infinitely better than ANY textbook you don't.

Stop bike shedding and start studying!!!
Quite.-
Life without layoffs, or why they are an avoidable part of game development
In Canada where I live, public parks, which there are fairly numerous have public restrooms, however they started closing them after dark and in the city itself many of the places you used to be able to go without a problem like stores have now permanently closed their public washrooms or at least have a code / key you now need to get. Nevertheless, it feels like it's still much much better than places mentioned in the other comments.
How does this differ from using a templating engine where the server gets a template, and instantiates it to "the final thing it should be" on a per-request basis?

(also, if you need to transform 200 requests per second that's slowing things down, there's almost certainly a cache-layer missing?)
Compare to what we have instead: 5 mountain lions and 10 sheep deciding what to have for dinner. Voting is by district, with each district electing representatives to attend the meeting where dinner plans will be proposed and voted on.

The number of representatives allocated to each district is based on population, but must be a positive integer, and the dinner planing meeting is capped at 8 representatives.

Mountain lions are solitary. The 5 mountain lions live in 5 different districts. The 10 sheep all live in the same herd, which is in a 6th district.

By population then each mountain lion district should get 0.533 representatives, and the sheep district should get 5.333 representatives. But representatives must be a positive integer, so the mountain lions districts have to each get rounded up to 1. And with the meeting capped at 8 that only leaves 3 for the sheep.
> it's shocking how many people die because they are too lazy to use their seat-belt

It’s hard to explain to people they can only ever be in a single accident in which they’re not wearing their seatbelt.

Mostly they proclaim it’s fine, because they’re never in any accidents, and they drive safe anyway.
None of this at all applies to this thread. It’s true, but also irrelevant to this discussion being had.
Cloudflare has a thing called HTMLRewriter that is both a streaming HTML parser and selector for changing it. It's very efficient and let you change only the places you need.

For your example, you can just match in `[id^="insert"]` and add the actual firstName value in the handler.

I use it alot on the server side, but it's for JavaScript side, or Rust if you use the lower level lol-html.
I guess some webkit solution like wkhtmltopdf
You’re also getting the thing you bought too. Maybe it’s more expensive than you would have paid for it otherwise but that difference is the cost of the pee, not $5
If that's the case they probably also outsourced some cost center. IT and QA come to mind.
...And I can't agree more.

The question is what can be done, if anything. But I've a solution in my wildest dreams as a dictator. :-)
"an" email address, not the one on their contact page.
The phrase "Responsibility without authority" comes to mind. Who ultimately has the authority to set the target quality and direction of software projects? In my experience this is usually not the programmers...
i fw this
The Ukraine war paints largely the opposite picture.

Outages are largely limited to physical infrastructure that’s attacked by missiles. Russia isn’t a slouch in digital warfare, either.
The work-in-progress Zine SSG project https://zine-ssg.io/ calls its templating Super and it works just like this — directives are written in HTML rather than on top of it.
Probably because a16z reputation has already been quite tarnished in recent years. This is par for the course. People will still take their massive bags of money and name brand boost but "these are smart, technical, 'making the world a better place' visionaries" as opposed to wealth chasing bankers, has already run the gamut.

See crypto, Clubhouse, "it's time to build [not in my Atherton neighborhood]", e/acc Nick Land manifesto, Trump '24 support, etc.
How about - go to the company's contact page, look at the email address there, and use that?
I am not sure what you are trying to say because your message and your posted link seem to be an odds with each other.

Mathematical maturity has all to do with practice and experience and nothing to do with age.

Category Theory is easy because it starts from nothing, literally. You can learn it at any age and with no almost no prior education. Same with various formal logics.

You can't study or use in any way the theory of Calabi–Yau manifolds unless you have mastered all of its prerequisites.

Certainly the advice of not choosing textbooks you don't understand is spot on, however. Unfortunately (?) most textbooks assume quite a bit of background, so you don't often have much choice in this regard.
The end of this road is React's Server Side Rendering and Next.js.

This approach only really has one major benefit over string-based templating, namely, it lets you re-use code across server and client side DOM logic.
We're explicitly not supposed to say why we've flagged an article, which I find confusing, but is in a similar vein.
Alligators and snakes probably to follow.
They want to be able to write logic to operate on the DOM elements rather than on Jinja2/Twig/etc template tags.
It feels more like writing about Boeing and then writing about Boeing again after the crash, considering the Times has been writing about cyber security and American vulnerability for a while:

https://www.nytimes.com/2021/02/06/technology/cyber-hackers-...
https://www.nytimes.com/2018/01/03/business/computer-flaws.h...
https://www.nytimes.com/2013/07/14/world/europe/nations-buyi...
etc
There will be consequences, no? Billion dollar lawsuits that cause real and severe damage?
> You manage to make it look like no one can make a sane choice for themselves.

On average, the "sane" choice is to go for the cheapest option, or turn a blind eye to the child labor, etc.

Sure, some people want to live ethically and minimize their emissions, but there's not enough of them.

> In reality it is government's choice, to go for short term riches and maintaining power or act more ethically and think long term.

Yeah, Macron tried to tax fuel more and there were widespread protests by "average French citizen", and he got metaphorically beaten up in the last election. The EU incumbents watered down green projects because of fear of losing to the rightwing populists. It's the sane choice for them to make, because I'd rather be governed by the somewhat sane center-right than lying manipulative populist hard-right, but the sane choice meant stepping away from the path of an ecological future. The summary is, if you try to be ethical, you get voted out of office, god bless democracy! /s
You might be able to get something like a used Blackmagic Design Pocket 4K in mid-hundreds, hopefully.
If you're looking closer at low hundreds, perhaps some great Sony camera can be found on the marketplaces?

Or generally any DLSR for that matter, really.
This is cool and heartening as a resident of Washington DC who's about bicycles
Kinda curious how you're capturing my lat-lon tho ...
Hey! So, sometimes adult learners sign up for a university-level math class not realizing how serious our courses are or how much foundational knowledge is necessary (or how much of it they never actually learned during school, or how much of it they've forgotten since then).

That's totally fine and all it means is you may need to start off in a lower course to shore up your missing foundations [1].

There have been so many people in this situation that we actually designed a Mathematical Foundations course sequence specifically for adults who want to get up to speed or relearn math skills they have forgotten (from fractions through calculus) as preparation for upper-level university math courses. More info here: https://www.mathacademy.com/adult-students.

Please do let me know if you have any follow-up questions about that or if anything is unclear. I'm always happy to chat with people who are serious about learning math.

---

Footnotes

[1] Note that we do check for missing foundations during diagnostics, and any that we find we'll add to your learning plan -- but currently there's a limit to how far we look back. For Linear Algebra, we only look back to the beginning of Algebra 2. So if you're rusty on any Algebra 1 stuff -- factoring, quadratic equations, systems of linear equations, etc. -- or arithmetic stuff like working with fractions/exponents, then you'll need to drop back to a lower course to shore up those foundations.
For the downvoters, yes a slight exaggeration. The year I checked, 2019 was 1 vs around 30, so just slightly over an order of magnitude if you want.
That's a really moot point because the legacy banking industry there got heavily affected.

The nation's weird affinity for pen and paper is nothing but Luddism. Once you have experience living in a country with good e-governance you'd roll your eyes at Germany and their love for faxes.
If they used AWS, this would have no code and no maintenance: host the bucket out of S3 and enable redirects.

GCP doesn’t support that, but they could get pretty close using a cloud function - stick with the Python stdlib & SQLite or DBM for the mappings or use an Apache redirect map, and you’d have many years before you need to touch it again.
How to Read a WebPageTest Waterfall View Chart – Matt Hobbs
Essay: Against Political Realism
This is a quick essay I composed over the past week after the recent events in the US political sphere.

It's suppose to be a synthesis of many different philosophical concepts, from Mark Fisher's Capitalist Realism applied to the political sphere, to a nod to Ralph Waldo Emerson essay about self reliance, and the concept of Attention by Simone Weil.

It's not supposed to be a philosophical text of minutious coherent scrutiny, but a small call for help.

Thanks! Look forward to eventual criticism!
They're not fighting a peer power.
A lot of seemingly duplicate content isn't actually. There are often multiple book publications/revisions that are hard to tell apart as the name/cover stays the same. You only find out by reading the small print at the start were the publisher info/ISBN is
Programmers are seldom the ones driving the conditions that are the root cause for operational failures, but often the ones that bear the consequences.
I think the Dutch invented the spicy hot take that gets the clicks, probably thousands of years ago. I enjoy the hell out of an EWD "note", but one should be cautious of cherry picking debate points out of them to use as a weapon in the tech fashion battles.

https://www.cs.utexas.edu/~EWD/ewd07xx/EWD707.PDF
GitHub mirror: https://github.com/deuxfleurs-org/garage
This isn’t really all hell breaking loose actual war. If it were Kyiv would have been a ruin years ago.
the world deserves a detailed post mortem and an apology!!! considering the scale of this shit show there's no way this didn't affect a significant amount of people very seriously. i would make a bet that people died because of it or experienced any kind of calamity be it personally or medically.
> the question is if you maybe had better spent the time on things your users wanted, like features.

That question is for the author of the software alone to decide how they want to build their own software.
I could see this as 6 episode seasons and each episode comes with 2 boxes detailing potential outcomes, the first episode boxes cover the next week, the second cover the next month, then 6 months, a year, 5 years, and all the way to retirement.

After episode 5 which shows the MC having achieved an outcome they are happy with, episode 6 starts with a new person who gets an episode almost all to their self.

However, the first person finds them when back when they were on choice 2 (in Episode 2), and realizing that they are not the only person getting these choice boxes causes the original experiment that we saw to go off the rails. (Events in time can be changed after the fact, after all, the fundamental system the whole story runs on is time travel).

That queues up your idea of attempting to cheat fate and somehow obtain all of the potential futures with their #2 while also dealing with other people given choice boxes.

It allows the story to address all sorts of questions like, who is sending the boxes, what is the purpose of the boxes being sent, and what is the final goal once all of the time travel fuckery settles down?

Call it the Double Slit Experiment, maybe?

https://en.wikipedia.org/wiki/Double-slit_experiment
CrowdStrike broke Debian and Rocky Linux months ago
So, what went on in the background leading up to this? Folks at SuSE generally aren't stupid, they wouldn't want them to drop the name without good reason.
Oh cool! This could be put into cars to make drivers more aware about endangering environments.
Back in late 80s we were building automated Fortran to C converters. Client was in the aerospace field.

> What is the value if is done automatically, nobody learns anything and the code is just a transcript of the old one?

You may be shocked to learn that businesses using software have a different metric for the value of "code" than educating their (transient) code wranglers. The actual value of software is computational work. If a new language affords better tooling and availability of human resources, that is a win.
thats true, it is disheartening when security controls are only seen as a checklist to comply with some framework, and not actually implemented. https://medium.com/@confusedcyberwarrior/what-is-soc2-how-to...
This gives a false sense of security, which is further bad for cyber space.
Crowdstrike incident on other hand shows that how we still have single points of failure on our supposedly secure and safe systems.
https://medium.com/@confusedcyberwarrior/when-security-becom...
The first image on Google for Beethoven is now an AI generated one
Ozempic was approved in the US for treatment for type 2 diabetes, but over a third of users are taking it off-label, they have no history of diabetes¹. Of course one can phrase it in a way that makes it sound like they're suffering from a disease and are getting the "medication" they need. Would you say the same about folks using benzos off-label though?

We use positive language (medication) or negative (drug abuse) depending on the picture we want to paint. The point is these are examples of things that shouldn't exist, because for most of us who're healthy and able bodied, we can take our trash and throw it in a bin. And we don't need to inject drugs, we should better train to be disciplined and eat less. Obesity in places like the US is mainly cultural. By trying to solve the problem with technology instead of changing the attitude towards health, they will only become more dependent on drugs.

¹ https://edition.cnn.com/2023/09/27/health/semaglutide-equita...
What is there to think? It's a horror meme and it's been played to death by now.

The only interesting thing about the whole "backrooms" thing is the psychological phenomenon it's based on - dreams people have about endless corridors and strange liminal spaces. Plenty of people have dreams about the "infinite bathroom" for instance. Doors opening to doors opening to doors. Unfortunately all we get is jumpscary monsters in dingy yellow office corridors because no one knows how horror is supposed to work anymore.

That said, AI (despite being a cancer on humanity) is getting really good at replicating the surreal, dreamlike effect of what something like the backrooms should look like[0].

[0]https://old.reddit.com/r/aivideo/comments/1dowxjo/the_backro...
People downvote you, but in the context you are mostly right. In case of airlines there is no reason to use Windows there, checking software is web-based and ChromeOS is a perfect fit there. Same goes for banks, bank tellers mostly use web browsers to access banking applications.
Also, be sure your salt doesn't have any additives. Some "table" salts have anti-clumping ingredients added. These will prevent the ferment. I ferment a lot and use sea salt (Meeressalz) without any troubles. Good luck!
Readers wouldn't have cared nearly as much.

NYT: Boeing is run by bean-counters and isn't taking engineering seriously anymore.

Boeing: That's not true. Our aircraft fly thousands of times a day, every day, and are very safe.

Who would find that very interesting, absent any relevant, dramatic current events?
In lawsuit, Logan Paul argues Coffeezilla defamed him with CryptoZoo criticism
> since trying to change the culture is a fool's errand

No it's not. If that were true, cultures would never change. Except they do, so clearly something is happening in that area.
Imagine if you had that repl experience but you also had searchable documentation and tutorials right there with the ability to either view side by side or hit a function key to bring up documentation about the current symbol?

Imagine a world where ram remained constrained but GBs of flash was basically free (like now), how different computing would look.
thank god that israel has very strong defense and cybersecurity sectors
>At the very least, big money security software companies should be parsing untrusted content with some kind of rigorouly safe approach

the malformed files were updates from crowdstrike itself. It's not exactly "untrusted content".
The best thing is that you can read what the AI agent is thinking and that you can interact with !something (e.g. !interact with the nearest NPC, !walk a circle, ...).
Show HN: I built a tool to find valuable expired domains
I had to get someone life-critical medicine yesterday. My GP practice's computers were down because, presumably, of Crowdstrike. Manual pen-and-paper processes saved the day.

I wonder how many people didn't get so lucky?
> I must be missing context here but I thought we were past side snarks out of mere generational antagonism. If not, please enlighten me ;)

The context is right there in the rest of the comment: editing XML by hand is a hideous experience.

It also has its problems as a format for data exchange, but those are much less acute.
30 degrees north. That's about Kairo, for reference. I would not be surprised to see Mangroves at that latitude.

It's probably more surprising that these areas aren't already subtropical. Climate change seems to reduce whatever factor caused the cooling there.
Yep. A major arterial in my city is very obviously too wide for the traffic it carries, even during rush hour. I don't remember the exact number, but a study a few years ago found that the average speed was something like 12 MPH above the posted limit. People completely lost their shit when it was proposed to narrow it and put in bike lanes (the bike lanes weren't the point, but people were cycling on the sidewalk to avoid the impatient/distracted/aggressive drivers, and it would have been silly to not use the space for anything at all).
Again: people have very weird ideas about what a CTO does. Kurtz was a "CTO" at MCAF after it purchased Foundstone, the not-small security product and consulting firm where he was CEO. If you think George Kurtz was writing (or even looking at) code at McAfee, you don't understand the role. Moreover, if you think the security products CTO had anything whatsoever to do with McAfee's AV engine, which might as well have been engineered on the moon as far as the security product people were concerned, you don't know McAfee (I had the brief pleasure of working there, after they bought Secure Networks.)
Indeed, ensuring that unsafe is isolated and obeys certain semantics is a superpower that few languages have rust+kani is a good and modern way to achieve this.
> There's tools like therapy, CISM, CBT, humor, and the support of your buddies.

EMT, Paramedic, trainer of both.... my understanding is that CISM has been largely discredited. Maybe its a misapplication, a "lock you all in a room until everyone has talked/cried about it", but still.

Thankfully, in the PNW, many many departments have contracts with therapists. Some near me even have mental health professionals as full time employees.

The other, perhaps bigger reality for me is this:

It's not the trauma calls that get to you - in the end we're all just blood and tissue. It's the emotional calls. The CSA calls. SIDS. Elder neglect.