skysight-inc/HackerNews huggingface dataset:
Uh, why is this not a compile error? I’d expect the string to be concatonated, which would result in an invalid program.
Would you prefer the term "Rent Seeking"?

i.e. New York is saying: "Go away we don't want you here, but if you are going to come anyway pay up".

You aren't paying for a service (like a movie) you are paying to be allowed to go somewhere.
how can i auto generate api code with this
I suspect there will be a bunch of washer field engineers, and some washer CTOs.
I'm using these now:

https://www.nord-lock.com/globalassets/mediavalet/web-assets...

... much better than a spring washer.

See also:

https://en.wikipedia.org/wiki/Multi-jackbolt_tensioner
It’s really harsh that Katalin Karikó got such a backlash for calling academia like it is in her book.

Academics are as much courtiers these days as they are researchers.
Observation is not limited to direct observation. You can take what you're seeing with instruments, and extrapolate based on known laws, and you're still doing science. In fact, this is even more important to science than direct observation, which is extremely limited. By direct observation, I can't even tell if the earth was here yesterday, or at least a thousand years ago, even less so if it will still be here tomorrow.

By the same token, when you look at certain characteristics of what you can observe of the universe, and you take the known laws of physics, you can find out a lot about the unobserved, and the un observable, universe.
This sort of process failure is why there’s a Correction of Errors (postmortem) process at Amazon: https://aws.amazon.com/blogs/mt/why-you-should-develop-a-cor...

Specifically asking why did it take so long to detect and why did it take so long to diagnose is useful in these situations.
It is correct, it's one of the most surprising things about Python and it causes a number of mistakes, even for experts.

The easiest way to see this is by running something like this and seeing what gets printed out and when:

print("1. start")

def function(arg=print("2. func definition")):
print("4. func call")

print("3. after definition")

function()
function()
function()

You should see that the print statement in the default position is called once, when the function definition itself is being evaluated, not when the function gets called.
Im guessing they used all those credits to set up those instances, but never took the extra step to add log ingestion or any kind of monitoring. Unique constraint violations peaking should have at least sent some kind of mail or slack notification a few hours after release (putting aside the "it didnt happen during the day because we push to prod several times daily" - which is insane in its own right).

Nothing here really sounds like GPTs fault to me. The issue is something that could easily have been done by a human and missed in PR.
Lenovo ThinkBook Plus Gen 5 Hybrid does this feature in a two-separate systems in one kind of way.

Arguably you can just run linux and waydroid which already runs fine for many scenarios on x86.
The first string is a comment, so all the strings after it just get appended to the comment text, until it finally hits the first newline. Quite an insidious mistake.
Also facepalms here: UUIDs as strings and UUIDv4.

UUIDs are just 128-bit values. They might be conventionally encoded for humans as hex, but storing them as 36-byte (plus a few more for length) strings is a pointless waste of both space and performance.
An American Dream of Housing Became a Reality in Sweden
I agree it seems unlikely, but the concern isn't totally unfounded.

Russia has invested heavily in its military and if the Ukraine war ended today there is a question of whether the military would be disbanded or refocused.

There is also an increase in turmoil in NATO countries. The UK still hasn't really figured out how to not be part of the EU and many countries, from the US to France and Belgium, are seeing an increase in support for populist parties. If Russia was interested in regaining former Soviet territory, NATO may currently look weak to them.
We'd be in school?
HACL: A High-Assurance Cryptographic Library
… with ready to use C code.
I figured there'd be a healthy "AI client" market with basic controls, ability to get advanced and use eg JSON templates/tools, and no code multi-step workflows

Instead seems people went with thin layers on incumbent or thin wrapper on ChatGPT.

May the next year be more interesting
Microsoft Edge as the browser.

The split tab view is surprisingly handy for me, which is a group of two tabs you can drag around. It sounds like an inferior windows manager, but I use laptop with no monitor, so splitting into more than 2 windows doesn't make sense anyway.
The strings are concatenated, it’s just that the first line was a comment, meaning the compiler/assembler saw all the next lines as part of the first. Comments don’t cause compiler errors, so no error here…
I find inverted jenny iconic:

https://upload.wikimedia.org/wikipedia/commons/6/6f/US_Airma...
Lots of people in artistic/creative domains are basically "AI vegan" these days - a "definitely not AI powered, definitely not powering AI" badge would be a minimum requirement there.
A plus shape "+" has four stable equilibriums which all stable optimums, resistant to weight and self correcting.
Counterpoint: you have made a fun and interesting thing in Python that works great in your command line/Jupyter notebook. You want to share it with your non-developer friends/anyone who might be interested, so you need some kind of interactive GUI, and the easiest one is a web page of some kind. But you don't want to learn a whole new stack because web development is really not Your Thing.

So you use something like Dash, Streamlit, or this, which allows you to do everything in Python and put up something that looks reasonably professional but does not require a great deal of time or effort. Or get serious and do it in Flask or Django.

From your other comment: But you don't need that. You can create amazing user experiences with a plain HTML, CSS and a JS file.

What do you consider the best example material for that? The reason us Python programmers (many of whom are amateurs) are so leery of Javascript et al is because most commercial websites are so hideously complicated, and most of us are just not interested in front end stuff or we would have started out with Javascript in the first place.

I've said it before, what most Python programmers want for UI is something like Visual Basic used to do - just a simple canvas with a palette of standard UI components that can be thrown together like Lego and doesn't look like a complete mess.
Yeah, ironically, the Russian government may be interested in paying them next time, as it could be useful in a cyber attack.
Dude, you seriously need to work on your reading comprehension, this conversation is like talking to a dining room table.

The link I posted, https://news.ycombinator.com/item?id=40628932, clearly showed the kinetic energy math for both a car hitting a stationary wall at speed 2X, and 2 cars hitting each other each with speed X. This is basic high school math of inelastic collisions.
Ken Burns recently broke his age old neutrality and spoke out against electing Trump. Not surprised that the cancel culture/hit pieces have begun.
> Curious if a badge for “def not AI powered” would be a plus for some domains.

LinkedIn posts come to mind. Definitely also food. Art.
Yeah, it's now in EVERY producthunt title. So fatiguing. I wonder when saying "AI-powered" will = saying "computer-powered" and we can just drop it.

- Your in-house AI video marketing agency
- AI powered zero-waste meal planner
- Turn your document databases into AI powered libraries
- LLM powered intelligent knowledge interface
- Build AI powered SaaS apps and internal tools with no code
- AI tool for stunning product photos
The lesson I learned from the dot-com era is that people who are dependent on the hype to make profit will crane their necks to believe the hype.

Salespeople, executives, engineers, it doesn’t matter.

Every day on HN reminds me a little more of 1998.
Utility solar is not being installed on expensive land.
Thank you for your compliment!

Blog post marketing, mostly. I am about to start a podcast for marketing as well.

I would do conferences, but people have advised against that.
Putting Go's Context package into context
The StripeCustomer table has the same issue. There's both an `id` column and a unique `customerId` column. Presumably the `id` column is useless and could be removed.

Also, is there a way to set up foreign key constraints on `userId` with this ORM? That seems like another oversight.
The same hype cycle as with anything else, as noted in the article. I too am wary of the badge - what's your actual product doing man?

Remember when everything was on the blockchain?
Apple WWDC Event Will Show Whether It Can Be a Force in AI Industry
Isn't random erections a requirement for healthy genitalia in males?
The design of the uterus was also included in that 750MB.

Which means this ability to usefully vary the final product is also included in the 750MB! If anything that makes it even more astonishing, not less.
I've used a reader mode library that I think as created by Mozilla and handles converting a site to reader mode locally. Does the Firefox browser do it locally, or at least on demand? If so I wouldn't really consider that scraping since they aren't parsing the site and storing data for later use.
There is an obj visible at the point of the function definition. When that function definition takes place, obj.whatever() is called, and the value stashed away. Thus the call obj.whatever() has to work at that time. The stashed value is retrieved whenever the corresponding function argument is missing.
AI Writer – Free, Notion Style Writer with Gen AI Features
The wall is indestructible and anchored to the earth, so it has effectively infinite mass.
Peeron Lego Set Inventories
Wasn’t ARM suing because of this, what ever happened with that?
I don't know Python or SQLAlchemy that great, though I do have the benefit of it being cut down to a small amount of code and being told there was a bug there. That said, I didn't see the actual bug, but I did mentally flag that as something I ought to look up how it actually behaved. It's suspicious that some columns used `default` with what looks like Python code while others used `server_default` with what appears to be strings that look more like database engine code. If I was actually responsible for this, I'd want to dig into why there is that difference and where and when that code actually runs.

It's also the case that "code review" covers a lot of things, from quickly skimming the code and saying eh, it's probably fine, to deeply reading and ensuring that you fully understand the behavior in all possible cases of every line of code. The latter is much more effective, but probably not nearly as common as it ought to be.
Internet during the dotcom. Everything was built on the internet. Think pets.com. Blockchain has gone through this a number of times. Kodak renaming to include blockchain in its name. Now its AIs turn.
> Memory safety does come with a price. It was ever thus.

The memory safety claim is about as fishy as the benchmarks.

I'd trust the JIT hardening of a modern JS engine over whatever hardening has happened in the OpenJDK any day of the week. In other words: if the JS engine was built on top of Truffle, then the exploit technique would be all about finding bugs in Truffle/Graal/OpenJDK. And I bet that's easier than finding bugs in V8 or any other JS engine, just because the JS engines have been fighting the security fire with extreme prejudice due to their security exposure and I doubt that the OpenJDK crew has had to since it's not as worth it to attack them. And if it was as worth it to attack them, then the complexity of the OpenJDK would make it an easier target to attack and a harder target to meaningfully lock down.
Sure, but sources vary greatly and I don't have sources on the ground that I can pull first hand Intel from.

What is your point exactly?
if the default argument is an object it’s reused between invocations. Hence why setting default parameters to empty list / empty dict is flagged by static analysis suites
The one with Shambhala!
Life is complicated and fractal crystal palace that shatters differently based on the weather, when you ate last, the average of those quantities over every time you last spoke to a person you perceived as being "on the same side" of each side, etc. etc.
> On the other hand, once you speak in a sufficiently respectful tone

This is something I noticed with people who whine about "I was being respectful" where they whine about facing consequences for using slurs but SEE, THEY USED SIR/MA'AM so they were "being respectful" lol.
paleofuture.com has that.
Violating OFAC sanctions can result in extreme consequences, including prison for up to 30 years and fines in the millions of dollars. It would be prudent and reasonable for Apple to do nothing rather then to do something that invites this type of inquiry. To do nothing invites, at most, a de minimis amount of reputational risk.
Your lack of knowledge about the range of treatment options and support available for autism/asperges does not make it true that all therapies, treatments, etc are the same. Your "take" seems to be very strongly held based on what appears to be a very limited set of anecdotal data points.
It's not a "leak" if it's literally just reading news articles and summarizing them.
My dad was the prototypical weird nerd. He was a physics teacher that was allergic to schmoozing yet could read a 600 page book in 5 minutes. He had limited career success which was opposite to his intellect and ability.

Unfortunately my only solution to this is to learn from my dad’s experience and lean into instead of away from the areas Katalin disdains. Success seems to require leaning into these areas of social reciprocity. Especially in startups. Yes you must make a product that people want, but to become big it requires distribution, which requires schlepping by performing these social reciprocity hacks.
This looks cool. The UI animation is good.
Looking forward for more such games. A few minor feedbacks.

1. Even on phones, it leaves a lot of margin/padding, and the boxes are a bit too small. Can you make it a bit more responsive and use up the whole width of the screen (up to a max width of course)
2. Only the first and the last needs to be selected, and so slide doesn't work.
3. A minor confusion in the UI, that I'm not sure if the equation can span across multiple lines?
he missed a huge piece of the puzzle with that argument: the social impact.
> about the site where the rest of the info is pulled from

That's what Dualism posits: The rest of the info is elsewhere, and joins with the physical body. Dualism is usually discussed in regards to sapience, but it doesn't have to, it can also include the behavior of animals.
I feel hardware stores went the opposite direction.

They show the popular, common things.

I sort of miss stores before the internet. You would get large stores that carried everything, so if you went there for one thing, you would find all the other stuff in the middle.

For instance, hardware stores before home depot/lowes usually had plumbing for all the homes in town, even the really old ones. Lots more brass than plastic.

Nowadays it's like trying to buy a computer at best buy.
I grew up on Intel-style because that's what Borland and Microsoft assemblers used. This article seems like stylistic bikeshedding/religious war of left vs. right hand destination apart from a few ergonomic gotchas.
Naa, that's Salmo https://en.wikipedia.org/wiki/Shambhala_(music_festival)

25th anniversary this year
My mental model for ChatGPT is that it’s an entry-level engineer that will never be promoted to a terminal level and will eventually be let go.

However, this engineer can type infinitely fast, which means it might be useful if used very carefully.

Anyway, letting such a person near financially important code would lead to similar issues, and in both cases, I’d question the judgment of the person that decided to deploy the code at all, let alone without much testing.
While you are correct, that is not what is happening in the blog post. Their issue was inside a class definition, not a function.
Well, technically it is, it's just not good water quality!
The Bronze Age Collapse (now largely attributed to natural climate change) didn't seem to alter what it means to be human. Iliad and Odyssey portrays normal human beings busy with love, politics and war. Greeks lost almost everything including their writing system, had to pass these poems orally for centuries until a completely different alphabet was invented, and yet nothing changed much in the end. Same for surviving Egyptian texts or the famous "wrong grade of copper" cuneiform tablet.

Given how similar were societies across the globe even before globalization have started, I doubt you'll get something different even from humans on an isolated island if the island can support a big enough population to develop culture.
Smoother transition than ipv6.
> Windows is the king of business productivity; I've never seen someone with a mac do what I qualify as real business work using any applications outside of the Adobe ecosystem

I agree but I feel that’s a very unpopular statement. There’s also counter examples. The OpenAI teams run on Macs, and it’s VERY hard to say they’re not productive. But in general, if you use excel or outlook, yah, there’s no way to replace that with a Mac. Even if, as you said, the apps are available.
My canonical example is that you want a function to have an argument that defaults to an empty list:

def func(arg=[]):
arg.append(1)
print(arg)
func()
func()
func()

shoving a print into a function definition is weird and not something you'd do normally. But someone who doesn't know this footgun is going to write a function that defaults to an empty list, and then tear their hair out when things are broken.
> It is not human. It will not behave like a human.

ok.....

> It will behave as it was trained or modeled to behave. It will behave according to the intentions of its creators.

Umm....is this not more than a little contradictory? You believe that humans are not mostly a function of their cultural conditioning and the stories about "reality" that they ingest (which are processed according to the training)?

> If it appears human, we will develop a false sense of trust.

Not me.

> But you can never trust it as you would trust a human.

I would never trust[1] a human, at least not a neurotypical one. AI I will give a chance.

[1] This is distinctly different from whether I would avail myself of the services of a human, or that I think it is guaranteed that they will screw things up. I am just deeply distrustful of them by default, and the more wealthy, powerful, or even (for the most part) educated they are, the more suspicious I am.
We would never treat a parked car as an immovable object. It only makes sense to use the "brick wall" symbolism for am idealized, immovable barrier that suffers no damage.

A parked car will move when struck. The combination of the two cars continues to have kinetic energy, which is lost by friction.
I think deploying and then going to sleep is the red flag here. They should have deployed the change at 9am or something and had the workday to monitor issues.
Thanks, I have updated the title.
I saw a Google ad for "AI-based" reverse recipe search (list what food items you have, find makeable recipes.) That was a thing 15 years ago.
The lawsuit is still outstanding.

Presumably the claimants would not seek to enjoin distribution of the new design, that would be suicide. They probably just want royalties that Qualcomm would ordinarily have negotiated on their own as an architectural licensee. Or perhaps, what they previously paid as an architectural licensee.
Not quite - as of more than a decade ago in Queensland, but nobody noticed until recently, when it became a reportable condition in some other states with a possible $500 fine.
AI Writer is a Notion-style editor with AI-powered features. You can use the prompter at the top to fill in the essay, and then use the notion like editor to edit and collaborate with the AI.
"Bork, bork, bork!"¹

[1] https://en.wikipedia.org/wiki/Swedish_Chef
Ever since the iPhone, USB stopped being an actual standard to connect accessories to computers, until it became a (EU) government standard.

It is actually a great example to the opposite. The history of USB as a connector is of a direct consequence of the IBM PC, itself a standard. The only reason USB became a widespread standard is that there was a widespread standard computer and, as we see today with many other forms of computers, that is largely an accident : smartphones do not have a widespread standard, neither do gaming consoles, etc...
Because it's wrong. Change coordinates and you can see that 50/50 is the same as 100/0, so the system has 4x the kinetic energy of 50/0 before the collision.

Then assuming it requires X energy to crumple a car and assuming the wall is strong enough to not yield at all (so no work is done on it), it requires 2X energy to crumple 2 cars, so there's X less energy available to destroy the passenger in the 2 car scenario vs the wall. So the 2 car scenario is slightly better, but probably not meaningfully so (X will be much less than the kinetic energy of a 100 mph car).

The correct symmetry principles to invoke here are conservation of energy and invariance of Newtonian physics under Galilean transformations.
In python it's harder to ignore errors than in Go.

In go, I've definitely seen:

tx, err := db.Tx()
defer tx.Commit() // silently ignores the error on committing, which is the important one

That would have masked this error so it didn't get logged by the application.

In python, if you ignore an exception entirely, like I did that error above, you instead get an exception logged by default.

Python's exceptions also include line numbers, where as Go errors by default wouldn't show you _which_ object has a conflict, even if you logged it.

In general, python's logs are way better than Go's, and exceptions make it way harder to ignore errors entirely than Go's strategy.
Enforcing things equally is impossible because we don't see everything, and we can't moderate what we don't see.

If you see a post that ought to have been moderated but hasn't been, the likeliest explanation is that we didn't see it. You can help by flagging it or emailing us at hn@ycombinator.com.

But we need you to follow the rules regardless.
Interesting. Thanks for the insight.
Sure, hindsight is 20/20, but a bunch of these comments are replying to the assertion "And I can't think of one non-contrived reason to do it" (have a single test case with multiple subscriptions). That's the assertion I think is totally weird - I can think of tons of non-contrived reasons to have multiple subscriptions in a single test case.

I wouldn't pillory someone if they left out a test case like this, but neither would I assert that a test case like this is for some reason unthinkable or some outlandish edge case.
There are 23 places called Nelson in the world (AU, CA, NZ, UK, US).. so one of the others https://en.wikipedia.org/wiki/Nelson
BetterSnapTool isn't needed anymore since the functionality is built into BetterTouchTool. The dev of those programs recommends only using BTT to avoid conflicts between the two.
As long as the list of technologies used is impressive sounding you're on to a winner.
Also searchable by its other title "God of the Gaps Volume 6,000 - Forget the Other 5999, This Time We're Really Sure, Can You Stop Doing Research Now Please"
it was the trackpad for me, now it's the trackpad and the battery life. nobody else comes close on either.
And because it is evaluated once, unlike in say TypeScript, when you modify `arg` in the first call, the results are visible in the second call.