skysight-inc/HackerNews huggingface dataset:
> If you have two things that are roughly equivalent, it's always better to pick the more popular/standard option.

There is a good case to be made that, for better or worse, single page applications (SPAs) are the more popular/standard option as compared to generated HTML, even if roughly equivalent, for web applications. Does this mean that HN is making a mistake in not adopting that model? You did say always.

It is not like Postgres was a new project and they simply had to pick something. It had been with us for a decade before deciding to take the SQL direction. It could have much more easily continued down the path it was already going. There was a significant amount of cost involved to make the switch.

When Postgres was first created there was no clear winner, but by the time the switch was made it was apparent that SQL was becoming the more popular choice, I'll give you that. Is that the only reason for the move?

Thing is, I'm not sure SQL is even all that popular nowadays. I expect the vast majority of DBMS queries are only using SQL as a compiler target, more likely being written in a class of languages often referred to as ORMs. By your logic, databases should be adopting what best aligns with that programming model rather than clinging to SQL. You did say always, after all.

Granted, there are some half-hearted attempts to do exactly that by some DBMS vendors (e.g. recent Oracle releases support "3D" queries that return JSON structures rather than relations, more closely matching language semantics), but not in any way that appears to be all that serious and definitely not in any kind of consorted way. It seems the SQL crowd still can't get over that there might be an alternative. In fact, often they can't even envision anything other than SQL being possible. I don't know how many times I've heard someone claim that SQL is some kind of fundamental mathematical property.

> What was that?

The most common SQL bug I see in my travels can be distilled down to something like:

SELECT t1.* FROM t1 INNER JOIN t2 ON t1.id = t2.t1_id

To be fair, I'm not sure the bug would go unnoticed with such a simple query - where one is able to keep the entire mental model in their head. But consider the basis of that query expanded into something complex, where one will struggle to maintain all of the minute details in active memory. That is where I see bugs be introduced all the time, even by experienced developers. A different design – including the originally designed database query language – has proven to eliminate this class of bug.
When It's Legible, It's Too Late
> Politics has always been full of deception, people doing politics professionally for decades should know a bit or two about it.

I think it's worth pushing back on this. Deception works when it's unexpected, and if the medium is something politicians aren't familiar with, they may not even be looking for the kinds of deception they're being targeted with. They think themselves hardened to deception, but they may not be open-minded enough to even realize there are forms of deception they haven't prepared for.
You can't "just support Vulkan", it's too low level. To benefit, the implementation would have to target the GPU specifically since Apple GPUs are different from discrete GPUs.
The wiki article on Media Coverage of the Iraq War[0] is an enlightening read. Most of the same tactics for manufacturing consent that the mainstream media used during the Iraq War are still being used in today's conflicts.

> An investigation by the New York Times discovered that top Pentagon officials met with news analysts where they gave the analysts 'special information' and then tried to convince them to speak favorably about the Iraq war. The discovery was based on 8000 pages of secret information that had been revealed to The New York Times through a lawsuit under the Freedom of Information Act. The article states that top Pentagon officials would invite news analysts to secret meetings, and urge the analysts to speak positively of the war. Often, the US would give "classified information," trips, and contracts to the news analysts.

0: https://en.wikipedia.org/wiki/Media_coverage_of_the_Iraq_War
No, nowhere is the article stating that only one viewpoint is allowed.

For example, if there were several scientists that were debating more precise ways of calculating the circumference of Earth, the discourse would improve if flat Earth information was excluded.
Israel has created its own perception of itself to the world. They gave up all sense of humanity to go on a revenge spree and now they don’t know when to stop because the whole world sees them as monsters so they probably think it couldn’t get any worse.

Changing the convo to talk about some other wars than Israel / Gaza is just another kind of deflection technique to avoid responsibility.

If it isn’t the antisemitism card, it’s the deflection card.

Sorry, but most of us know it’s true.
I haven’t read the paper yet but I want to share my immediate thought.

So the harder it is to “convince” the LLM on a wrong answer, that’s a proxy for low epistemic uncertainty?

I know you shouldn’t view the LLM as a “mind” - but I can’t help myself!
Ex-Post Office chair says senior executives misled board over Horizon issues
> NGL this has occasionally backfired and something simple turned out to be not so simple at all :-)

In my case it often backfires in the form of a sudden decision, right or wrong, that yesterday-me made a bunch of bad decisions about something so they all need to be revisited. Before I know it, the thing that was 90% complete is now 60% complete.
> they're relatively simple to deflect given even with current technology, and a long enough lead time.

and what is this simple method to deflect a large asteroid headed for Earth?
Maybe 10 bits is the average over the dictionary – which is what matters here, but over normal text it is significantly less. Our best current estimation for relatively high-level text (texts published by the EU) is 6 bits per word[1].

However, as our methods of predicting text improve, this number is revised down. LLMs ought to have made a serious dent in it, but I haven't looked up any newer results.

Anyway, all of this to say is that which words are chosen matters, but how they are put together matters perhaps more.

[1]: http://arxiv.org/pdf/1606.06996
How about a little microcontroller and SD card entirely encapsulated in a brick, with a coil for power and communication with the outside world?
I'm similar, but for me it's i can't sleep if i don't understand the issue. Once i understand it enough that i've either fixed it in my head, or i'm confident i can fix it with the available knowledge, then it doesn't bother me.

"Understand it in my head" is often a good stopping point too. Because if i actually go and fix it, i may find out i was wrong and spend even more time re-analyzing the issue to reach a new understanding.
I didn’t see that in the methodology section. Can you point to that?
Since LLMs seem to follow the rules of grammar quite well, and this is quite the opposite of "sequential", I guess LLMs do not process informations very sequentially.
>If JavaScript was objectively limited, one of the browser makers would have just added something else and if it was good enough it would spread to others.

So like Shockwave, or Flash, or Silverlight, or Adobe AIR, or java applets, or the entire ActiveX ecosystem or...

We literally only moved things to javascript after Google spent a billion dollars writing a hyperoptimized javascript engine that has to make a pact with the devil (pretty much every javascript based exploit of computers relies on the fact that it is leakily compiled JIT to machine code, if javascript required less optimization to be useful, the internet would be a less exploitable place) just so that you could read your email in a web browser in a slightly less ugly way.

It also required several doublings in normal person computing power to be usable, and literal armies of 20 somethings writing in a couple giant abstraction layers that had to reinvent the world to do anything useful. It is still the primary burner of average person computing power, to run a million lines of javascript to do the exact same shit we did in the 90s with a 386.

Javascript should be seen as a systemic failure. If it's supposed to be "assembly for the web" as it seems to be treated now, then it needs to be VASTLY more efficient to run.
That's one more thing to go wrong. In a LES scenario something(s) has gone wrong in an unrecoverable way. Very few systems can be relied upon to exist let alone work correctly. A LES on a crewed capsule is supposed to be able to pull itself from the vehicle all under its own power. It can't assume explosive fasteners on the fairing are functional or actual all function correctly.

You don't want the LES to activate, seem to be working correctly, and then blast the crew into a fairing panel that did not fully separate. The crew doesn't have time to roll down the window and kick it loose.
Pacific communities seek to protect kava as it gains global popularity
People often do pay off mortgages early, for example when they move. This option would let them do it cheaper, making it more attractive.
Show HN: An open-source lib to summarize sessions (rrweb) when users hit bugs
Hi HN, Rohan and Michael here from Decipher (https://getdecipher.com/). We’re excited to introduce AI-generated session summaries and open source the pipeline. It processes raw rrweb events to produce plain English summaries of what happened leading up to and around an error.

You can find the code here: https://github.com/decipherai/session-replay-analyzer

We created Decipher because we were frustrated with noisy alerts, time-consuming error triaging, and customer churn due to bugs and session replay analysis is a powerful step forward.

Here’s an interactive sandbox so you can try out the AI pipeline yourself: https://sandbox.getdecipher.com/ (the robot dogs for sale aren’t real).

And here's another example of the output: https://demo.getdecipher.com/issue/6d5cfbe6-c861-4590-a262-0.... The client throws an error because something went wrong on the server and Decipher understands that the user started uploading the PDF and then clicked the “get advice” button.

The analysis pipeline is easy to set up — we'd love to hear your feedback! And if you'd like to try a more productionized version of it on your own Next.js app, try out Decipher. Here are the docs: https://docs.getdecipher.com/next.js.integrate.
"Arguing" with chat gpt in general will give you a good idea of how certain it is with it's answers. It often has a very incomplete or wrong knowledge of various apis and command line arguments. Asking if it's sure or telling it that it's wrong or pasting it an error message will get it to correct it's answer, but if you tell it that "Paris is definitely the capital of the UK" will not convince it to agree with you.

Given the probable fact that information about certainty about facts is contained within the model _somewhere_, it'd be nice if it could better incorporate that into the answer. Like -- "I don't know the exact api, but I think the correct yaml should be something like this" would be much more useful than just spitting out the wrong yaml with complete confidence.
Did you mean country or company?
My son has Crohn’s disease. He was very thin and underweight and under height compared to his peers. My wife and I tried to understand what we did wrong raising our son. Did we feed him too much cheerios. Did we give him too much sugar, bread. Somehow the modern diet is not suiting my son. I feel very guilty for giving the chronic disease to my son with the food choices I made as a parent.
You don't need indoor hobbies when the weather is this nice.
Many engines support Metal, in addition to the plethora of console specific APIs. Saying DX11/12 works on Xbox is glossing over that that it's not actually the same DX12 that works on desktop.

You then say that if they used Vulkan, it would mean they wouldn't have to debug on a Mac. This is overly optimistic. Even in the OpenGL days, you'd have to test on all platforms because there's so many variances. In general, the game designers are rarely working multi platform, and it's down to the engine devs themselves + QA. Neither should or would be blindly trusting that things are portable. Vulkan/DX on AMD/NVIDIA also perform differently enough that you can't just assume parity.

Your other statement about nobody wanting to work on Metal for Blender is a bit odd too. There's no current Vulkan or DX backend for it. Does that mean they're not desired either? AMD and NvidiA contribute support for their favoured API's as well, like Optix that people still desire.

> If Apple supported Vulkan, it would have allowed everyone who is not Windows to benefit by making Vulkan become more standard.

This didn't prove itself out when OpenGL was a thing. OpenGL was everywhere but barely used.

> Luckily Xbox seems to be kind of dying right now so perhaps supporting dx11/12 will not be as important in the future.

That doesn't mean that Vulkan would replace it though. Windows gaming still eclipses Linux, and game developers have to target multiple APIs either way. There's very little upside to them switching to Vulkan for it.

Also bear in mind that DX is much more than D3D. It's a lot of APIs. There's many reasons to use DX beyond just the 3D graphics APIs.
I refrained to install Bartender on a new machine (despite having a license) because of the scary permissions it want me to grant it. I found an open source alternative that fits my needs. Check if fits yours.

https://github.com/dwarvesf/hidden
We need to create something that look better! Let us update a small set of applications one at a time and leave the others that look like they are from Windows 98 still in place.

Years later, that look is old. We should update the look. But what about the other stuff we have not updated yet that is still old looking? We will get to it later.

Meanwhile, you have three or four different layouts and designs and patterns throughout the system. It is crazy. They finally updated "System" to look like the rest of Windows, but if you click "Advanced System Settings", it still brings up the old System Properties. And it is crazy that the old one is still easier to navigate and find what you are trying to find.
You can probably also get it for 40% off at Harbor Freight with a coupon.
Interesting to think about. I know Starliner lands in Utah. I don't know where, but I'm guessing it's somewhere very remote. I wonder if the effort to get out to the ocean to recover a ship is significantly different than getting to a remote part of the desert to recover.

Additionally, I know when the first Crew Dragon landed, it clearly wasn't hard or expensive to get to given that there were a bunch of small, private boats that (inappropriately) approached the spacecraft. It was quite close to shore, not like the old Apollo missions landing in the middle of the Atlantic or Pacific.
Proof of work mining is probably the only industry on the planet that has the potential to be carbon negative AND profitable.
Optimizing the Shopify Search Page
Propaganda, false news etc are as old as time. It was the radio, TV and newspapers before, now it is social media and the internet.

The difference now is the speed, cost and scale. It is super cheap to spread crap today than ever. Also it is quick and the reach is massive.

By the way, Manufacturing Consent is a depressing book. You’d lose what little faith you have in media, if you read it…
Tobiko (creators of SQLMesh and SQLGlot) raises $17.3 Series A to take on dbt
12 hour take home assessment
The problem here isn't that you can get the right answer with additional prompting. The problem is how do we verify an answer when we don't know the answer? If it tells me 5 sisters and it should be 6, it failed. If I have to provide additional information, it really isn't reasoning. I would argue to show the ability to reason, it needs to be able to work out the answer completely on it's own. If I were testing a human the only input I would provide is that they are wrong and to try again. AI is very useful, but at this point I'm not comfortable asking questions I don't already know the answer for.
Good. The diamond industry has destroyed multiple countries, one of which I lived in (Sierra Leone). Screw em.
Yeah, I think the "simple things easy and hard things possible" is a good way of framing this. I've written a blog post about the design philosophy of Mesop and how it differentiates with existing frameworks:
https://google.github.io/mesop/blog/2024/05/13/why-mesop/

Re: flet - flet intentionally takes a more imperative approach whereas Mesop embraces a declarative UI approach (as popularized by React, et al). I think the declarative UI approach scales better as apps get more complex, but I think the best way to see the difference is to look at some of the examples and see which approach you like more.

Re: nicegui - at the high level, there's definitely some similarities with the component-centric UI model. The data binding/state management works quite a bit differently and Mesop's approach provides stronger type-safety and, IMO, is more Pythonic, but that said, there's a lot of good options in this space and I think it's neat to look at all the innovation that's happening here, and ultimately, some of this is based on aesthetics and how you like to code your UIs.
Displays We Like Hacking: HDMI
Overlayfs Driver for Docker Mounts
I want to share a tool I've been using recently, which I think is fantastic.

It's an OverlayFS driver for Docker that lets you mount a host machine folder into your containers. The cool part is that it behaves like a volume, allowing the container to modify the folder's contents, but these changes remain isolated to the containers that use that volume.

It shares the same semantics of a Docker container, so it's pretty usable, I'm using it so much that I'm surprised this is not a default driver in docker.
> A bigger issue is: As one gets better and better at computer programming, at some point the specific implementation language starts to matter less and less.

There are things that you can do in more advanced languages which are simply not possible in the simpler languages. In that sense, e.g. Java is lower-level language than Scala. Easier to learn and probably faster too, but just much less expressive. I've seen expert Scala dev doing some magic in 100-200 lines, which literally saved us thousands of lines of code that would be a nightmare to maintain and which would be a neccessary evil in a lower-level language.
You can't make a religious argument to people who don't share your religion, so they're stuck with harassment and bald-faced lies. Even non-Israelis who agree with them on everything end up with a bad taste in their mouth after reading or listening to it.

They don't have any practice making a secular argument about the Palestinian situation, how could they? They fall back to assuring people that Israel is a friend to the US, that Israel is a democracy (a ton of its inhabitants are forced to live in ghettos and refugee camps), that Israel loves gay people (Israel doesn't have gay marriage, or even secular marriage except by treaty), and the worst: "Why don't you give America back to the Indians?"

Russian propaganda is bad, but it's also lazy: it gets them nothing and they don't put a lot of effort into it. Israel is trying as hard as it can. To not ethnically cleanse Israel leaves a population that Europe tried its best to exterminate drifting the stormy seas of having to compromise with their neighbors. This is a population whose neighbors once built factories in order to slaughter them more efficiently.
>It only lets you define 16 evenly spaced notes.

Worth mentioning, since the post you replied to name-drops Dilla, that this renders it completely impossible to make a "Dilla"-style beat, let alone add any swing at all.
>Imagine working on something for over a decade only to see it fly just 7 times!

Haha, I'm guessing you don't work in the space industry. Frankly if something you work on gets to space at all you count yourself fortunate. My first job was at a defense contractor working on a big rocket. A senior engineer on our team had a picture of the Indiana Jones warehouse on the wall in his office, rows and rows of boxes. I asked him why, he said it's a reminder to not get too stressed about work - 9 out of 10 projects will never fly.

Things are changing especially in the new space corners of the industry, but for big projects requiring political will I think it's still the same.
Employees who stay in companies longer than two years get paid 50% less (2014)
This seems to me to be where these systems need to go in the future, akin to reinforcement learning.

You feed an llm a prompt. It then abstracts and approximates what the result should be. It then devises a hypothesis and solves it and compares it to the approximated output. Then it can then formulate a new hypothesis and evaluate it, based off the outcome of hypothesis 1. From there it can either keep iterating or dump that path for a new one (e.g., the next best hypothesis in the original formation).

At some point the answer is "good enough." But along the way it keeps playing against its thoughts to see if it can do better.

A key issue may be the original approximation, so it may need to consider its adjustment when iterating.

Maybe this is how cutting edge llms work now. I have no idea.
Yes, we want access to space at scale. Exploring space is no more "leasure" than experimental physics is a "hobby".
If there is something on longbets dot org that's a fair description on what I expect I will gladly do it.
Housing exists in price bands more or less, so the thing you’re measuring has to be large enough to have an effect on the band. There’s a lot of research on NYC housing issues and no one has ever identified corporate housing as a contributing factor, so there’s a very high burden of proof on your claim.
not sure how converting a WHERE to a JOIN helps when you're doing adhoc queries like this to look up records:

`SELECT * FROM users WHERE email LIKE 'FirstName@domain.net'`