skysight-inc/HackerNews huggingface dataset:
It goes further than that, those were just examples. The principle of least knowledge, and the principle of least privilege, guide deployment to a process that does not include the source code on a production server. But like I said, there are ways for it to be a reasonable approach if properly justified
Reminds me also of Figma converting all of their custom language stuff into Typescript, even though Typescript is slower.
Correct, it's not specific to sqlalchemy - I'm just saying I notice this a lot with sqlalchemy. Probably because it was the first significant bug I had to figure out how to fix when I introduced it in one of my first apps. I guess we never forget the first time we shot ourselves in the foot.
Exactly this. I'm indifferent to the most popular, ubiquitous, top-10-on-every-X-list trends. It's a pattern: something gains massive adoption only to fizzle out a few years later. XML, the one-size-fits-all OOP, all-in microservices, Silverlight, Flash, etc.

Usually, there are some good, pragmatic reasons why something gets selected, and it is always accompanied by trade-offs. The decision is not mine alone to make; we need buy-in from everyone on the team. If the choice turns out to be not very delightful or fun, it becomes obvious - replace it. My initial reaction to the question "Why are you using Gooby? I've never even heard about it..." is always "because it's fun"

And it is absolutely normal to become a team where everyone enjoys Gooby, and they'd try to hire like-minded people.
Love it. More of this in the world please!
They do somehow pay taxes to Russian government. Probably good value for money to have that backdoor tho.
The damage is the same for (50mph car / 50 mph car) and (50 mph car / 0 mph wall) because of symmetry. Definitely not the same as (100 mph car / 0 mph wall) because that has the car absorbing 4x the energy.

To see this, you can imagine the car/car case as having an invisible wall between them. The wall has no net force so it doesn't move and acts the same as the brick wall despite not being either rigid, massive, or fixed to the ground.
What were the amazing demos for crypto? Hype- sure.
Per the fun graph in the article, we might even assume your age (Though Canada seems to buck the trend re: dropping cash so completely).

Which I thought was pretty amazing (the graph, that is): older Americans I can see hanging onto what they're used to, but 18-25 year-olds seem to be ticking upwards, which I think is actuallyy encouraging. Privacy implications aside, I appreciate Visa/MC being less an arbiter of what I may buy, as well as cash making it easier to save money and budget.

I can't help but wonder what the yoots rationale is though. I can't imagine they're the same as mine, considering how often I seem to fall outside the Overton window of "normal" - so why the uptick?
Ask HN: Why no geofence synced DND?
Why doesn’t Apple and Google make a default mode where when the phone enters specified geofences (such as schools, church, concerts, theaters) that the phone enters Do Not Disturb? I would assume you could disable for specific apps or phone calls if you are an on call doctor or what not, but for most people this would be appreciated?
Health executive, author of Hacking Healthcare...

At the start of the pandemic, the general unavailability of mainstream supply chain covid testing apparatus combined with an absolute torrent of cash, somewhere around 900 billion in total overall, created a cottage industry in covid testing startups. At the time the institutional thinking was that this was "a good thing" because existing infrastructure had a 0% of meeting covid testing demand. The FDA and other regulators more or less abandoned what little oversight of lab developed tests (LDT) there was during this period. They remain lightly regulated. Fast forward to today, a large number of the covid testing startups still exist and are sitting on mountains of cash, having come up in the age of LDTs they are going to continue to min/max that shaky regulatory framework. People in the startup sphere of influence constantly complain about the FDA being too involved in regulation. LDTs will lead to innovations as well as a abuses, I predict many people will complain their regulation is too lax. Such is the way of trying to regulate anything in healthcare.
Algorithm for Invalidation of Cached Results of Queries to a Single Table
Having the same language on both ends (plus mobile devices, where the synergy is much larger) is a good idea! It’s just that JS sucks.
That factoid has been pretty thoroughly debunked: the original study did not test people beyond their mid-20s, and the finding was "brains continue developing for as long as we tested".

The most current understanding tells us that brains never stop developing. So there's no specific line we can draw and say "before this point, people's brains are not fully developed, and thus they should be treated as children; after this point, they are fully developed, and we should treat them as adults." Not even in the usual kind of population-average way.

Yes, all else being equal, younger people have less experience, understanding, and ability to reason logically than older people who have gained experience, learned more things, and practiced logic. And yes, there's absolutely a period of childhood where many of our particular cognitive faculties are still developing for the first time. But "your brain is only fully developed once you hit 25 years old" is absolutely untrue.
Most wealthy people in the US didn’t inherit their wealth. There’s probably also a heritable component to this.
I missed it, because I was really confused what the models were doing: why is there an id and a subscription_id? Are the user_id fields related?
https://en.wikipedia.org/wiki/Hacker_culture
There are US sanctions against Russian government and some officials, but is Russia an 'Embargoed Country' whatever might be it's legal defenition?
A mistake is interesting if the mistake itself or the RCA is interesting - using sloppy methods isn't really that interesting on its face.
The risks seem lower on the Moon. No water table to melt down into, and there’s no atmosphere to pollute or to spread fallout.
Completely different priorities compared to the EU.
Just the fact that it was difficult to find out what the call centers policies were shows that there’s no political desire to put individuals before corporations.
Ken Burns take on the Vietnam War was establishment liberal in nature, and this article is establishment conservative in nature, and neither really comes close to understanding the roots of the conflict.

Fundamentally, the United States had two options at the end of World War II after the Japanese surrender related to Vietnam - support the Vietnamese nationalist independence movement (at the time not communist in nature, indeed they cited the Declaration of Independence when asking Truman for support), or allow the French to come back in and try to reclaim their imperial holdings. Disastrously, Truman chose to back the French ambitions and history rolled on from there. This was a huge break from the policies of FDR, who really had no patience with European imperialism (which is one reason he forced Churchill into the “Destroyers for Bases” agreement in 1940, where the U.S. provided destroyers to Britain in exchange for 99-year leases on British bases in the Caribbean).

Almost certainly, FDR would have sided with Vietnamese nationalists and opposed the return of European imperialism to SE Asia (which he noted was used by the Japanese as justification for their aggression). FDR's relationship with the Saudi king Ibn Saud (which opened the door to American oil industry exploration in Saudi Arabia) is more evidence that FDR would not have backed the French as Truman did, but instead would have pursued a semi-exclusive relationship with Vietnam's native leaders, thus avoiding two decades of violent conflict and the deaths of several million Vietnamese, Laotian and Cambodian civilians and 50,000+ US soldiers.

Another undeniable fact about Vietnam that Burns grossly neglected was the disproportionate representation of African-American soldiers in front-line combat units and thus higher casualty rates in that group, particular in the early years of the war (pre 1970) - but Apocalypse Now got that right, with the last outpost being mostly African-American before they cross over into Cambodia.

The only conclusion is, you can't trust the liberal or conservative establishment to honestly report on the causes and characteristics of the American War (as the Vietnamese call it) in today's corporate media environment - all you'll get is self-serving historical revisionism.
Is Kaspersky sanctioned?
snicker.

as usual, the hacker news subset consisting of the echo chamber / hive mind / tech bosses' slave crowd, can't digest / handle comments like mine above, while at the same are fine with the comment in a similar vein by paulcole, to whom I just replied above.

long live discrimination on hacker news! hip! hip! horror!
It does scrape the site in order to summarise it, no?
Norway's PST, Mil.Int and I: Can we talk about shame?
hopefully this tinkering can be redirected to framework laptops when they release their snapdragon X based CPUs
Spring washers, aka lock washers, are useful for low torque settings on small diameter all threads when fastening with a nut; it gives a nice visual of when the nut is secured by ways of the lock washer. Or for visual inspection of battery terminals for UPS systems.
Consent is not necessary to take or share photographs taken in public.

Also, probably yes.
I think it’s an unfair takeaway. I have over a decade of experience and still had to stare at the line to find the bug. If that makes them incompetent, I stand with them. It’s a bug I’ve seen people make in other contexts, not just chatbots.

The AI angle is probably why people are piling on. There’s a latent fear that AI will take our jobs, and this is a great way to skewer home that we’re still needed. For now.

The one thing I will say is that it probably wouldn’t take me days to track it down. But that’s only because I have lots of experience dealing with bugs the way that The Wolf deals with backs of cars. When you’re trying to run a startup on top of everything else, it can be easy to miss.

I’m happy they gave us a glimpse of early stage growing pains, and I don’t think this was a PR fumble. It shows that lots of people want what they’re making, which is roughly the only thing that matters.
More than 1 million commuters and tourists travel in to London every day, but the vast majority (> 80%) travel by train/plane/tube/etc.

People driving to Central London from elsewhere in the UK often park in outer London, where there are large carparks near major rail stations with fast trains into the center. This saves both time and money!
As a car lover, I don't understand the attachment to cars in big cities. Driving in them, with or without admission prices, is an utterly miserable experience. Why would you want to take an hour to go five miles while surrounded by screaming noise and horns and the constant threat of hitting a pedestrian or another car? It sucks out of control. I don't see the point in allowing personal vehicles to operate in that motorist's hellscape at all.

You want to live in a human termite mound, you don't get to drive an apartment with wheels around. You wanna drive your car to work, live and work where it makes sense.
For small time developers and normal users, "Google support" already feels like best effort community support.
The Manabe paper was Estimates of future changes of climate due to increase of carbon dioxide concentration in the air ? That's cited as 1971 (four papers in 1971, five in 1972) [1]

Worth mentioning his 1967 paper Thermal Equilibrium of the Atmosphere with a Given Distribution of Relative Humidity [2] was considered "most influential climate science paper of all time" [3] unlike this Dyson essay.

IIRC Dyson built upon the work of Jacob Bronowski [4] whose work on bombing optimisation remained classified until well after his death.

[1] https://scholar.google.com/citations?hl=en&user=GPkBB-YAAAAJ...

[2] https://journals.ametsoc.org/view/journals/atsc/24/3/1520-04...

[3] https://theconversation.com/the-most-influential-climate-sci...

[4] https://en.wikipedia.org/wiki/Jacob_Bronowski

EDIT: FWiW I gave westcort a vote for a good comment- out by a year and incorrect German city are minor mistakes we all make. I chased up the details as the coment piqued my interest about a Manabe paper that wasn't one of the few I'd read, etc.
But Kaspersky specifically is not sanctioned. Is there a general sanction against all Russian firms?
While true that seems like an unlikely situation because human culture and knowledge are not static. At the very least, repealing old archaic laws that don’t serve us or are harmful would be a good idea and it’s self-evident those still exist on the books.
The value of the public ISA then is that you can implement your own conformant version if you're super paranoid.

If the US is terrified that Chinese RISC-V processors have backdoors, they're free to manufacture their own version with their preferred assortment of bavkdoors instead. The software should remain compatible.
For some reason, I thought it was a collection of washing machines
Might have always worked, but had cracked solder connections originally.
I don’t think “other places” means Buffalo or Albany, probably ever (unless either develops a transit network as mature as NYC’s).

More realistically, suburbanites outside of Chicago, Philadelphia, etc. would have more to fear. But those people aren’t being polled.
Ah yes, good strategy, vote for the people who would never even entertain such a policy idea if not just move in the exact opposite direction. There's a reason we have primaries.
Everything is a means and not an end but decoupling via an explicit API makes change easier. Spreading state across your system via events (specifically synchronizing data across systems via events relating to how that data changes) creates coupling.

re: Huh. Sorry I was not clear there. What I meant is you can not create persistent queue semantics out of a request/response model without being able to make certain kinds of requests that access resources. Maybe that's an obvious statement.

re: mandate. I think I'm saying these sort of mandates inevitable result in poor design. even the purest of purest event sourcing systems actually use requests/response simply because that is the fundamental building block of systems. E.g. Kafka uses gRPCs from the client and waits for a response in order to inject something into a queue. The communication between Kafka nodes is based on messages. The basic building block of any distributed computer system is a packet (request) being sent from one machine to another, and a response being sent back (e.g. TCP control messages). A mandate that says though shall build everything on top of event sourcing is sort of silly in this context since it should be obvious the building blocks of event sourced systems use requests/response. Even without this nit-picking restricting application developers to only build on top of this abstraction inevitably leads to ugliness. IMO anyways and having seen this mandate at work in a large organizations. Use the right tool for your job is more or less what I'm saying or the other famous way of stating this is when all you have is a hammer everything looks like a nail.

re: isn't that what you want. well, if it is what you want then it is what you want, but many systems are ok with things just getting lost and not persisted. e.g. an HTTP GET request from a browser, in the absence of a network connection, is just lost, it's not persisted to be played later, and so there is no way to build a lagging queue with HTTP GET requests that are yet to be processed. Again, maybe an obvious statement.
Wait - you trust humans? Just like that, without a legally enforceable contract that guarantees you certain rights in a court of law, to be enforced by the state, if they renege on their word? Astonishing!
There are several dangers with "early DAC". One is that fossil fuel proponents will use it as a specious way of saying climate change is "solved" so we can burn as much carbon as we want. Sort of a Jevons paradox[0] where the efficiency is mostly fictitious.

Also, scaling up a DAC industry while all industry is still necessarily carbon-intensive is a bad idea. And we also need to be on a decarbonizing "war economy", and DAC might distract from that. DAC (or some other kind of re-terraforming) needs to phase in after decarbonization. Timing is going to be critical because we left things so late.

[0] https://en.wikipedia.org/wiki/Jevons_paradox
To be fair that’s pretty much how every tax starts and expands. A lot of us have a pretty big gut reaction to new taxes for something that used to be free for that reason.

I live in Minnesota where we basically don’t have toll roads and I’ve been incredulous about how people aren’t more upset about the ones they have in other states/countries when I’ve travelled, as one example.
I mean many disabled people are foolish enough to think that understanding one instance of one disability gives them insight into all disabilities. That and they know that if they get into it with another disabled person, most everybody will stay out of it for fear of looking ignorant and foolish.
Meta to use Instagram/Facebook posts from 2007 to train AI tools
You’re totally missing the point. The point is: you have some Python script, and you don’t want it to disappear into the sad world of a ticket attachment, and if you add the 5 lines of code and have a nice onboarding experience, it doesn’t have to disappear into a ticket attachment, it can instead disappear into your browser bookmarks. You should never test the limits of this framework because if it’s anything other than putting a simple script into a webpage, you shouldn’t be using this. It’s rot proof.
I read the post and found it to be the sort of titanic hubris many economists are known for; serious reductionism in arguments and profound ignorance for the complexity and nonlinear effects that actual experts on the topic manage. No consideration for social effects, cherry-picked effects, etc.

I have no idea why economists are so guilty of thinking that their layman knowledge of various topics is somehow better than real experts.
John Clauser fell down that rabbit hole and is now being touted as "Nobel Prize winner proves climate change wrong!!" when he's a lot more "Old man shakes fist at clouds" (and clearly hasn't read the material he's slamming).

https://en.wikipedia.org/wiki/John_Clauser
I certainly noticed that David Koch was a prominent funder of Vietnam. One of my great disappointments in it was it never seriously asked the question, who profited from the war. As I saw the napalm flames, I couldn't help but think of all the suppliers who made out handsomely.
Keep up-to-date with research paper is key in this area. Every week, new models, new architecture are coming out
Or you end up with a bunch of minority parties and one that has managed to cobble together a larger coalition. Multi party systems aren’t the panacea FPTP critics make it out to be (and I dislike FPTP as well). The truth of the matter is that people aren’t as varied in their opinions as you think in practice in a representative democracy. The reason is that while any single issue may have a plurality of opinions, democracies generally install a decision maker for all policies so you end up voting for the party that represents you on the issues you care about or has the leadership you’d like to see, which significantly narrows down the sets of opinions.
What you just saw is total corruption and monopolization at work. No ways about this.
I personally use pylint, which I've found to be the most aggressive python linter.
if i had to recommend 1 app/script that i use daily: https://github.com/banga/git-split-diffs

`karabiner elements` (https://karabiner-elements.pqrs.org/) to disable things like "Apple + Q" -> nothing worse than going to close a single tab and then your whole app quits. also able to re-map caps-lock into escape, ect

`iterm2` for terminal (colored tabs are great; albeit i disable the hell out of many of the options like "clickable urls" ect)

for cli, i try to gnu all-the-things (and i just explode my PATH to the paths `brew` installed dynamically - will try another package manager at a future date)

`sublime text`

`firefox`/`librewolf` + plugins (containers, netmon, request interceptor, dark reader, adnauseam)
Split washers only work in a relatively narrow torque band. If I can't use a torque wrench, I'll use a lock nut or loctite.

There are very few applications where a split washer adds much value.
Hello! I'm just starting my career as a dev now and I am definitely more drawn to academia and research than to the business world. Could you point me to some resources where I can learn more about companies or projects that work researching CS/programming topics?

Thank you in advance.
That is true, although it merely punts the problem until we eliminate aging (which is not as fantastical an idea as one might think). But even with exponential growth in population, resource availability is still a non-issue, and will remain a non-issue for hundreds or thousands of years into the future.

When people talk about there only being a fixed quantity of some resource "available," they almost universally mean "accessible." But the definition of what's accessible changes over time as prices rise (making it economical to extract harder to reach/refine resources). There's enough power from the Sun and resources in the solar system to support hundreds of trillions of humans.
I'm noting the use of "stream" and that the upper_case function is a generator (see the `yield` keyword) which I take to mean any asynchronous process could be placed there. e.g. a call to a chatbot api.
uuidv4 is bad for a primary key. Google it. Use uuidv6 or v7. If you don't like using something not quite yet part of the standard, use v1 using time rather than MAC. Not a big deal for small tables, but for anything that will get large, you really don't want v4.
If you don't care about privacy, you can just browse while logged into your Google account, then the captcha will usually just let you in automatically with a green check.
I find high intensity (mountain biking, climbing, gravel biking) works for me. They key really is extended time (1-2+ hours)
So they did inherit their wealth just not directly.
I'm generally pretty critical of ChatGPTs code writing ability, but this mistake is something that could very easily be made by a human.

On the other hand, this could and probably should, have been caught by an automated test that tried to create multiple subscriptions on a single server. Or for that matter , manual testing of creating subscriptions against a local copy. I'm not saying that to be dismissive, but one takeaway you should get from it is the value of testing before putting code in production.

Edit: Another takeaway should probably be that if you have a a major bug like this, and you can't easily reproduce it, you should look harder. I bet there were some logs for errors about constraint violations in the database if you had looked for them.
For anyone else wondering about this, it was the bombing of Hamburg, not Berlin (also called Operation Gomorrah). I found one source that does say Dyson was acting as an analyst for the RAF at the time: https://www.nationalww2museum.org/war/articles/apocalypse-dr...
this is same as copy paste code from stackoverflow.