skysight-inc/HackerNews huggingface dataset:
I'd argue that a suite of tests that exercise all reasonably likely scenarios is table stakes. And would have caught this particular bug.

I'm not talking about 100% branch coverage, but 100% coverage of all happy paths and all unhappy paths that a user might reasonably bump into.

OK maybe not 100% of the scenarios the entire system expresses, but pretty darn close for the business critical flows (signups, orders, checkouts, whatever).
The legislature moving slowly is a feature; do you really want laws that can be permanent to be handled with wanton abandon? Especially if the electorate voting the legislature in is presumably divided on issues for debate?

The executive can move quickly and has some special case exceptions to exercise them more broadly, namely justifiable emergencies, but their powers are supposed to be ephemeral at most owing to their speed.

As for the judiciary, it's not their job to legislate in the first place so I'm not sure why you brought them up.
https://lists.libre-soc.org/pipermail/libre-soc-dev/2024-Jun...
Thanks, much appreciated! Any ideas how to kick start that shakeup? Hackathons on devops or proceeds stuff? Brainstorming? Consultants?
Sounds a bit like Jane Street with OCaml
> I believe that even though Kafka acts the part of "dumb pipe", it doesnt stay dumb for long

In my experience programmers are very happy to do everything in the application (something database people often complain about). What kind of problems do you see?

> If you work with Kafka long enough you’ll realize that data loss will become a problem you didnt think you had. You’ll have to hire people to “look into” data loss problems constantly with Kafka.

Not my experience at all, and I've used Kafka at a wide range of companies, from household-name scale to startups. Kafka is the boring just-works technology that everyone claims they're looking for.

I'm no fan of microservices, but Kafka is absolutely the right datastore most of the time.
His post with more details was pretty interesting: https://daviddfriedman.substack.com/p/my-first-post-done-aga...

Basically he doesn’t deny that there is warming, he just says we shouldn’t be so confident it’s bad in net. I don’t personally agree with that but it’s hard unscientific.
Try $150. Trying to Uber out of LAX is highway robbery and they know that. Going from my house to LAX is anywhere from $60-100. Going the other way is anywhere from $100-300, and only gets worse on holidays.

Shuttle to anywhere else is $10 and prices become normal again. Best advice I ever got. That and trying to use other airports where possible.
On the other hand, perhaps elders of much experience could account that an eight year old can easily make mistakes and teach a lesson better than blind obedience to authority.
Not losing money so much as making money for a service (insurance). Hopefully it’s reasonable one and not exorbitant for the customer if there’s enough competition in the insurance market
russians are, info came straight from them
IMO it's better long-term for an individual to just learn Next.js, React, Tailwind.css (my preference), and TypeScript. You will be a better developer than using something like this.
Is this google's version of https://www.gradio.app ?
https://www.space.com/mars-water-ice-equator-frozen-ocean
This is an error that should probably have been caught just based upon the color of the text when it was typed/pasted into the source code. Of the uuid() call was in quotes, it would have appeared as text. When you’re blindly using so much copy/pasted code (regardless of the source), it’s really easy to miss errors like this.

But our existing tools are already built to help us avoid this.

Back in the day, I used a tool from a group in Google called “error-prone”. It was great at catching things like this (and Lorne goal NPE in Java). It would examine code before compiling to find common errors like this. I wish we had more “quick” check tools for more languages.
I read my book for ~5 hours last night. I've never scrolled for that long. I might be odd though.
It's so incredible you should not believe it.

Multi-armed bandits were introduced in the 50s, years after the end of World War 2.
That explains where ChatGpt is getting that from. I guess it is only as smart as the average coder.
Apple just ensured that Kaspersky won’t report the next vulnerability they unearth.
Well I have my car and we tend to alternate carpools, so there's not usually any pressure. I tend to give them $10-20 to cover gas and I still come out way ahead.

I just never get a good time to go to/leave an airport, so that's the only time I resort to Uber.
Or if you really want to rewrite your back end, why not just use Express? It would be wildly quicker to rewrite than switching languages. That along with the article makes me question the competency of the company. They got customers, sure, but in the long run these decisions will pile up.
I'm a some-time Django developer and... I caught the bug instantly. Once I saw it was model/ORM code it was the first thing I looked for.

I say that not to brag because (a) default args is a known python footgun area already and (b) I'd hope most developers with any real Django or SQLAlchemy experience would have caught this pretty quick. I guess I'm just suggesting that maybe domain experience is actually worth something?
> It is either in the LD_LIBRARY_PATH or it isn't

Or RPATH, which is evaluated at load time per each library. The bigger point is that dependencies form a graph (which can be displayed as a tree) and its useful to know why a library wasn't found because of the library that required it.
If only we could bundle it with the world's most commonly used tabular data tool, it could run the entire world
The mutable-default-arguments issue is easy for a third-party to linter to catch because it doesn't require any specific knowledge about primary keys and databases. Are there static typing plugins for other common packages that would catch issues like this?
Probably the textbook author was thinking of velocities, but kinetic energy is 1/2 mv^2, going as the square of the velocity. If we imagine superballs with perfectly elastic collisions, then yes, the two balls would have the same relative velocity to each other after the collision (100 mph for perfect head-on) as the single 100 mph ball after hitting the wall.

If we consider the force experienced by a passenger in any car, then you also have to take into account the crumple zone (larger in modern cars). Here we imagine the cars have perfectly inelastic collisions coming to a complete rest as they crumple, first calculating the KE in each scenario:

100 mph (44 m/s) into a brick wall -> KE = 1/2 m (44)^2 = m(968)

2 50 mph (22 m/s) into each other -> KE = 2 * 1/2 m (22)^2 = m(484)

Thus the car in the brick wall scenario has to absorb twice the energy of the overall collision in the two-car scenario, in which each car only has to absorb 1/4 of the brick wall total KE (assuming the brick wall absorbs nothing, maybe a giant granite boulder is a better model). Thus in modern cars it's not just the KE but the crumple zone that reduces the force felt by the two-car passengers.

(Incidentally I used Chat GPT4 to help sort this out and it tried to claim that (x/2)^2 == (x^2)/2 so use with care - it did catch the error but only when I said double check that calculation in a step-by-step manner. User beware!)
The simple fix to that is have the car hitting another, stationary car at 100mph. It's still a horrendous collision despite the 2x crumple zones.
It mentioned a gameplay trailer is coming in August.
Actual Medium post as shared here by the creator of the fake VSCode Extension:

We Hacked Multi-Billion $ Companies in 30 Minutes with a VSCode Extension

https://medium.com/@amitassaraf/the-story-of-extensiontotal-...

(https://news.ycombinator.com/item?id=40624000)
There are incentives to developing medical technology beyond the opportunity to become obscenely wealthy. If you do so, you are necessarily depriving some subset of patients that need the treatment.
Honestly, I find it pretty unimaginative (and a bit disturbing) that the only “incentive” you can think of for treating sick children is the ability to monetize the treatment - it’s a virtuous endeavor in and of itself. I must say, though, it’s hardly surprising to meet someone with such a worldview on a VC-focused forum.

Edit:

> Rent-seeking is the act of growing one's existing wealth by manipulating the social or political environment without creating new wealth.

https://en.wikipedia.org/wiki/Rent-seeking

This aligns neatly with my comment - gatekeeping a medical treatment behind artificially high costs to enrich yourself is the very definition of rent-seeking. I think you’re digging yourself in to a pretty deep philosophical hole here, solely out of some need to nerdsnipe people to reassure yourself of your own intellect.
Why ban Porn from the appstore? Whats the logic here?
Kamal: Deploy Web Apps Anywhere
You betcha!

And FM broadcasts have a high-frequency pre-emphasis, which adds something like 10dB of boost to audio high frequencies. This is to reduce high frequency noise that occurs in analog FM systems. Radio receivers have a matching de-emphasis high-frequency cut.

Indeed, both vinyl phonographs and audio tape systems employ similar pre-emphasis and de-emphasis. It's the RIAA curve for phonographs. Not sure what the standard is for mag tape.
> Homes dont magically pop into existence.

Yes, builders build them. Landlords don't create homes. Landlords take them out of the market so that they can't be bought by people seeking to buy them and live in them.

> You seem to be freely conflating homelessness with regular people paying rent.

You seem to be freely conflating removing a house from the free market with providing one.

> No landlords means nobody gets housing that cant afford to own

Landlords mean that the vast majority of people cannot afford to own, and increasingly nobody can afford to rent either.

> Homelessness is a social and legal choice to make cheap housing illegal, or not provide social housing for those that do not work. This is orthognal to landlords. Someone with a vacation home or airBNB isnt the bottleneck keeping junkie bob from having a shelter.

1. Many homeless cannot work. Perhaps they could have worked when they became homeless, but being homeless quickly makes one unemployable.

2. The social/legal choice to make cheap housing illegal is driven by people trying to keep up the values of their vacation homes and airBNBs.

3. If you were homeless you'd have very good reasons to be a junkie too. The scorn you have for people less fortunate than yourself is horrifying.

> I think pinning it on landlords is childish.

I think not pinning it on landlords is willfully ignorant of basic economics in favor of an ideology that likely benefits you.

> You can help junkie bob and choose not to, because you dont want them in your house, or to pay for their shelter.

1. I don't own a home I don't live in, and the home is really not large enough for more than one person. Claiming that someone doesn't care about the homeless because they don't let homeless people live in their home is an intentionally ridiculous bar to set.

2. As for paying for their shelter, the amount of money I donate to housing-related charities varies based on how much I make (I have to live too) but I've donated around $1k so far to housing-related charities. I'm not making a lot of money right now, or it would be more. I also donate my time at a homeless shelter (mostly cleaning and moving stuff, I'm not there enough to do more involved tasks).

3. All this is beside the point that this is a childish ad hominem argument you're making. Not everyone is in a position to help the homeless--many are on the verge of homelessness themselves. Claiming we have to be actively helping the homeless to have an opinion is absurd. Is there any issue you care about, and do make any sacrifice as extreme as letting someone live in your house for that issue? Or do you just not care about anyone but yourself?
OP went to the trouble of blocking out the customers name but left their photo visible?
Beaming the power to Earth is probably not going to work very well because of the diffraction limits involved.

Also Venus and Earth orbit at different speeds, so in best case you have to beam the power "only" about 40 million km, and sometimes it's over 250 million km and the sun is in the way. The cycle is a little under 2 years long, so there are many-month-long periods of time where your power capacity is reduced massively, and you need alternative sources on Earth anyway.

If you were going to generate power from the Venusian sunshade, you may be better to use it to locally refine something very energy dense like nuclear fuels and physically ship them back. Luckily for us, refining Venusian CO2 into synthetic hydrocarbon fuel and shipping that back is probably not practical either (you'd need to move millions or billions of tonnes of it) or we'd have to contend with VenuGas Inc. adding "alien fuel" carbon to the atmosphere as well.

You could also put a sunshade up at earth and use it to offset the global heating problem (but not things like ocean acidification). Due to the magnifying effect of greenhouse gases, blocking solar radiation before it enters the atmosphere is disproportionately effective, rather like putting shutters outside a window rather than leaving it clear and using air-conditioning.
Interesting that more people weren't asking for more explanation on this. I feel like the article did a poor job but other commenters explained it well. More commonly I see this with `def f(x=list()):...` or similar. Linters will even warn about it. It really shows a lack of Python knowledge, so I'll jump on the bandwagon of rewriting this with such pressure was a bad idea.
Yes, I think that is the point?
I'd rather they admit a mistake and learn a lesson from it even if it isn't a good thing to advertise. That said, I agree that you are identifying a more important issue here but I also think you are being a bit too subtle about even if I agree with what you are saying. The real lesson that they should have learned from this ordeal is to never push code directly into production --- period. The article never mentions using a testbed or sandbox beforehand, and I kinda feel like they learned a good lesson but it may in fact be the wrong lesson to learn here.
That’s the kind of attitude that leaves you caught with your pants down in the other dozen scenarios that wipe out humanity. No one, including Elon, is saying to write off earth. It’s just within our capability now to colonize and prepare mars as a plan B.
Title should include the author, if author is famous.
tremors are typically weaker than the tremors that occur on the Earth, though they do tend to last longer.

https://www.discovermagazine.com/the-sciences/what-are-moonq...

https://agupubs.onlinelibrary.wiley.com/doi/abs/10.1029/2022...

https://nssdc.gsfc.nasa.gov/nmc/experiment/display.action?id...

Moonquakes don't seem to be showstopping events, more something that can be worked around by avoiding faults and steep slopes that might collapse.
Those sound like tools used to build a production, customer-facing webapp. Whereas this framework and others like it seem targeted at internal things, like some buttons and textboxes for an internal "admin" page or similar.
Is the picture of her posted with her consent?
[dupe]

Shared in a Show HN: by devs: https://news.ycombinator.com/item?id=40567327
Don't you think that would be going too far? I worry what unholy creations people might come up with... A tabular data tool with a full development environment might just be too much power concentrated in a single application.
There's a distinction someone articulated about "respect" a while back that has really stuck with me[0]: it means two different things in English, and we have a very bad tendency to conflate or confuse them.

It means both "to treat someone like an authority" and "to treat someone like a human".

Everyone deserves to be treated with the latter sort.

The former sort must be earned.

[0] The context in which I read it was about marginalized people getting the short end of the stick on both counts—privileged people, especially those who are relatively ignorant or for whom that privilege is all they have going for them, have a tendency to express sentiments along the lines of "I won't respect them if they don't respect me!" But what they mean is "I won't treat them like a human if they don't treat me like an authority."
For me quintessential HK ended with demolition of Kowloon walled city and shutdown of Kai Tak airport.
The problem with this approach is that the brains of children aren’t fully developed until their mid-20s: https://journeytocollege.mo.gov/when-does-the-brain-reach-ma.... You can’t have a system based on who has the more logical argument when some parties are incapable of understanding the shortcomings in their own logic. It’s also the case that many things are not amenable to logical analysis, and humans must instead formulate actions based on values and precedent. Young people generally have less capacity to appreciate how adhering to these values will work in their favor in the long run.
> Am I dumb or is this basically the binlog of your database but without the tooling to let you do efficient querying?

Yes, and I honestly think a traditional database that exposed this stuff would be a winner (but I guess it's too hard, and meanwhile event-sourcing frameworks are building better alternatives). Separating the low-level part from the high-level part that does things like indexing and querying has a lot of advantages: you decouple data storage from validation so you can have validated data without having to drop invalid data on the floor, you decouple index updates from data writes so your scaling problems get way simpler, you can get sensible happens-before semantics without needing transactions that can deadlock and all the crazy stuff that traditional databases do (secret MVCC implementations while the database goes out of its way to present an illusion of a single "current" version of the data, snapshotting that you can't access directly, ...).
The first museum dedicated to preserving the history of the hammer
Not to mention what do you do when it's 3AM, you still haven't found a settling point, and one of you has work at 8AM.
Peak Hackernews reply thread
Metrication in Australia
Maybe if 2024 car models but most cars on the road do not have automatic emergency braking currently, not by a long shot
In my experience those regulations are only ever used to shut down parties with loud music. If it's any sort of industrial or non-obvious noise, good luck getting people to care about it. I have bad memories of complaining in an online community about the extremely loud safety beeps from construction vehicles operating next to my home and being told I was a monster because I must want children/workers to die - and that was a sound whose mere existence didn't need to be explained.
Right. The hard part is already done. Which makes it infuriating that it's all "internal". Every serious RDBMS already contains an implementation of an event-sourcing system, but you're not allowed to actually use it.
I disagree with your threshold for what makes something a lock-in but I admire your ideology of less friction in portability
Kotlin Today
That's crazy, I've never heard of that before, and I've watched plenty of baseball. They just straight up rub the balls in mud, before every game? And just rinse them and they're good to go?
Over 15% to AfD, 11% similar people in Poland, not great.
>At least on Mars, you could potentially do mining.

You can also take that idea further and just do mining in space. One of the most interesting regions is simply cislunar space. Human development there means you can haul asteroids in, you could potentially move polluting industry there, do science in environments that you can't do on earth, and so on. It's much safer than being stranded far away, it's relatively easy to get people back to earth, etc.

The entire idea of going to another planet simply has the huge problem that you need to waste a ton of energy to get things off the damn planet again so really why not just built habitats in space.
https://archive.is/DMEm8
Kinda funny to see a JEP with a bunch of "complete this section" comments still in there.
Book Review: Learning OpenTelemetry
"Is it the promise that LLMs will replace employees?"

If we accept the conclusions of the paper, perhaps LLMs can replace employees who are bullshitters.

For example, Microsoft has announced layoffs claiming "AI wave" as the cause. Perhaps so-called "tech" companies like Microsoft employ bullshitters and "AI" can replace them.

Employees who act as if they are right 100% of the time when in truth they are wrong at least 20% of the time.

Why hire people who can only be relied on 80% of the time, and who will never do what it takes to reach 100%, if this "work" can be done by a computer.
Yeah, good luck remembering to do that up-front for every event handler. You missed one? Whoops, enjoy the information you wanted silently not being there when you need it.
I remember my dad telling me about how road signs changed "overnight" in 1974. There where stickers you could put over your speedometer to give you the main speed limit positions if your speedometer only had miles per hour.
Well that’s what you get when Milton Friedman’s son comes out as being as confidently wrong about physics as his dad was about economics
Presumably it had something to do with D-day, but this morning I was woken to an air raid siren going off in my area (I live in the UK).

For a moment I considered whether I should check the news in case it was somehow a real siren, but I figured it almost certainly wasn't. Plus if it was a bomb I'd have no where to hide anyway, so went back to sleep.
I'm actually suffering from the opposite problem. CTO is a well known Gooby developer. But we wrote everything in C++ because "it will be easier to hire down the line", pulling in well known C++ libraries by various bigcos that actually don't compose together and make a royal mess of the codebase. We've missed every single deadline, and are light years behind where we should be.

Honestly we should have written it in C, but I'm too far down the totem pole to make that call
Unauthenticated Enumeration of AWS, Azure, and GCP Principals
Warm Intros from Your Investors
Hey HN! I'm one of the creators of Seam, and we're excited (and nervous) to be posting this on HN.

Seam can help you find warm intros from your investor's network. If you just raised a round and want to know how your investors can best help you, this is the place to start.

We can scan their portfolio companies and their network to find potential customers you can ask an intro to within a couple of min.

Fill this out: https://tally.so/r/wkARLj

Happy to answer any question/feedback :)
The legislature is supposed to move carefully, but it must still be able to actually legislate. US Congress, for example, is steadily passing fewer and fewer laws every year. If the current trend continues, fifty years from now Congress will enact zero new laws. That isn't being careful, that's paralyzed.

https://www.reuters.com/graphics/USA-CONGRESS/PRODUCTIVITY/e...

P.S. law is only permanent when the legislature is unable to enact new law to change or repeal it
Besides the erasing of collective knowledge, there's the subversive woman, leading you to a back room, to partake of banned things...

That's the most "1984" story I've heard since:

"Amazon Erases Orwell Books From Kindle"
https://www.nytimes.com/2009/07/18/technology/companies/18am...
For unstimulated desk lifting erections, there is trimix https://en.m.wikipedia.org/wiki/Trimix_(drug)
And Earth is way cooler and it's right here. I can see little dinosaurs flying and singing outside my window at the moment. Cool.
Honestly same can be said about a lot of frameworks. You will pry my vanilla JS debugged with print statements hand-coded in vi from these hands only when they're cold and dead.