skysight-inc/HackerNews huggingface dataset:
Kinda useless just has the "name" of the language. It's not a world atlas but just a massive list with a simple search...
I'm a little confused by how this is used. The trivial example provided on developer.mozilla.org is a PHP script that's fully self-contained. As far as I could tell, a self-contained PHP script doesn't provide much value. I would have expected something to happen on the server, like a database record getting updated, which triggers the PHP to send an SSE message to the browser, but how do you trigger that particular PHP instance to send a message? Does the PHP instance just poll the database on a periodic basis? That doesn't seem much better than having the browser poll the web server on a periodic basis...
> I just visited Venice. The old city does not really have any economy outside tourism.

That's just not true. My brother went to university in Venice a few years ago and the tourists and their traps concentrate in a few hotspots. It's true that some parts have completely been eaten up by tourism, but tourists hardly wander away from the few streets that connect the main sights.

> 15 million people visit Rome yearly - now. It might be 50 million in 2050.

I think by 2050 we will have to reckon with the true costs of flying, large swaths of the global South will not be livable anymore and a lot of people will be forced to move to cooler climates.
There's an obvious connection in your two 'random' words: hitting the edge of one's elbow is commonly referred to as the "funny bone."
VDOM isn't the equivalent of memory safety - such as using Rust over C, its much more similar to using a garbage collected high level language - such as Python or Ruby - over C.

Your implied comparison doesn't work.
> There's 10x more rooms on AirBnB than there are long-term rents in Dublin;

[citation needed]
From an economic point of view, the situation is very inefficient - holiday homes lie empty while locals struggle to find vacant places to live. Anyone care to propose an "economist's" solution to the problem?
It isn't necessarily software, but algorithms will likely last a long time. Euclid's algorithm and the sieve of Eratosthenes are still around. Researchers are still developing new ones. Just like building techniques may outlive the buildings that were created in their shadows.
> its entire grid be nuclear-based for many decades?

This has a "60% of the time it works every time" feel that seems common when discussing the French grid.

https://www.statista.com/statistics/462535/nuclear-share-ele...

Why didn't they get to 100%, and why do people go out of their way to avoid discussing that?
I have come to this comment section only to implore everyone to make sure that they watch "All Watched over by Machines of Loving Grace" - and in doing so, perhaps also discover Richard Brautigan's poetry.

Brautigan's story was a tragic one, and in this poem's suggested naïve future vision - in which the machines we build actually do as we might imagine they ought - maybe suggests that he would never be satisfied by the way in which the world really worked out.

I am a huge and unapologetic fan of Adam Curtis. In All Watched Over, he argues that borderline psychopaths, in the thrall of Ayn Rand's poisonous ideas, built American capitalism. It seems as good a thesis as any, to me.
As an EU user, I feel like it has been watered down a lot, both 3.5 and 4. Many queries now come with disclaimers which are pretty annoying since you can't set your own system instructions in the ChatGPT interface. Using the API is fine though since you can explicitly say that you want a specific format.
This sounds like a good solution to the problem described in the article. Are there any issues with it?
You're either not serious or you're so deep in the bubble you can't see the edges.

Close to 100% of liberal arts teaching staff are Democrats [1] [2] [3]. It didn't use to be this way [4] [5].

[1] https://www.pacificresearch.org/why-are-teachers-mostly-libe...

[2] https://www.thecollegefix.com/zero-republican-professors/

[3] https://www.nas.org/blogs/article/partisan-registration-and-...

[4] https://nationalaffairs.com/publications/detail/the-disappea...

[5] https://www.washingtonpost.com/news/the-fix/wp/2014/05/06/ju...
I‘d like to think that once it’s on the internet, it’s public domain. Drm is just rent seeking on the back of humanity.
OMG I know a girl who went through exactly this. She signed a 1 year lease on an apartment in a ski town, then a few months in out of nowhere, her landlady was kicking her out. Why? Landlord decided to Airbnb the place for a month to make twice the profit. And she had signed a lease! This was a town in France, and so it's affecting places around the world.
It's just lobby capitalism at work. They give the project to the "best" bidder and then work together.
Ask HN: How to augment LLM/GPT with structured data in a safe way?
I have seen many applications augmenting LLM/GPT responses with unstructured text data using frameworks like LangChain/Vector databases. The idea is basically querying similar document chunks and plug them into the prompts.

But for structured data stored in SQL-like databases, there doesn't seem to be a widly adopted way.

I have seen exapmles from the LangChain library using GPT to generate a SQL query and execute it using Python, but this would create security issues if the LLM generates queries that tamper with the database.

Thanks for any inspirations or input.
For doctors looking to innovate, there are actually a lot of ways to fail fast and safely if you introduce a new drug.

First, establish that a drug binds to the target in laboratory conditions (relatively quick). After that, test the drug in an animal model. After that, proceed to clinical trials, which are phased (phase I, II, III) to first establish whether a dosage exists that is safe (Phase I), what an effective dosage is (Phase II), and only after than testing if it improves upon the current standard of care (Phase III).

Each phase is more costly (both in time and money) than the previous phase and will eliminate a significant portion of drug candidates.

"The success rate of each drug discovery stage in academia was 31.8% for preclinical, 75.1% for phase I, 50.0% for phase II, 58.6% for phase III."

[1] https://pubmed.ncbi.nlm.nih.gov/24406927/
Illegal regardless of age.
"In the long run. we are all dead". But I find it hard not to look at software and think how ephemeral it all is. All those late nights and all that debugging and it has mostly disappeared without a trace within 10-20 years. And that is the stuff that even got used at all. :0(
Adam Curtis: QAnon for BBC 6 music listeners
Yes, 10x more rooms on AirBnB than open rooms to rent in Dublin. At least with single bedrooms; I haven't looked into more rooms as I'm only searching for a new place for myself.

> though I'm still unsure how much of this is merely displacing hotels/hostels relative to actually sucking up long-term rental slots.

It very much is happening. Dublin saw this during the pandemic, when the long-term rent market doubled after tourism was shut down. These are houses that are zoned for residents, not people coming in, and landlords see they can easily make more money letting them out to the tourists.

See this article from The Irish Times about it: https://www.irishtimes.com/business/economy/pandemic-reveals...

It's only gotten worse now, too, with many going back to AirBnB.
Looks pretty useful - will give it a try
Nothing bugs me more than an otherwise good movie where its villains keep doing things that make no sense. "Bad Guy" AIs seem to get the worst of this, as a lazy writer might feel they can get away with more because the villain's inhuman nature forms a handy barrier vs audience deduction. The Matrix AI, Skynet are probably the worst offenders that I can think of from the top of my head.

Colossus goes in that delightful bucket of "yep, working as designed . . just a wee bit too efficiently". Putting myself in the computer's shoes, I'm not even a hundred percent sure Colossus/Guardian is even in the wrong, morally. Thermonuclear technology might be genuinely too powerful for late 20th century politico-military systems - I'd buy that.

This notion - of freely giving control to a fantastic machine - was probably as alien to a man from 1960 as letting the computer watch you f*#k. Both of those notions are probably easier sells to the people of today.
> your response was to step on that vulnerability and say: "Well, take it from someone whose career is going great: If you're the sort of person who has experience X, you're probably the sort of person who would make mistake Y."

No. No one said that. Don't make up quotes.
The default write concern for the last 2 years has been majority.

And single node is a perfectly fine default for most use cases.

After all Cassandra's default consistency level is 1.
And Yiddish (as opposed to "Eastern Yiddish" and "Western Yiddish") has "99,999,999" speakers in .... "Sweden"!
I wandered quite far from the main connecting streets and I never encountered: a school, a dentist's, a lawyer office etc. Come to think of it, I never saw a local child there, or a mother with a pram.

What I encountered, even far from the main thoroughfares, were AirBnBs and restaurants with multilingual menus.

The only object that I saw and that was unambiguously not-touristy was a naval academy.
I would very much like to see that if you have a link.

Google search doesn't find it for me.
“Curtis’s stitched-together compositions are less collages than they are Rorschach blots: look into their murk, and you can find your own worldview confirmed.”

This passage, which I see as being core to the author’s critique, doesn’t really jive with me. Basically he’s saying these movies are enigmatic, they offer space for reflection, they resonate with a lot of people across the ideological spectrum.

Well, you can look at that cynically, or you could say that’s precisely — almost definitionally — what makes them effective art.

To go a little further than that: I don’t think it’s a fair claim. Each of his movies since Bitter Lake have had the same general arc of “emerging ideological apparatus promises to resolve social contradictions and empower the common person, fails to do so.” In this sense, his narrative angle is broadly _anti-confirmatory_.

Then there’s the aesthetic critique, which, whatever. I really can’t fault someone for finding fault with Adam Curtis’s style. And it’s least overbearing in TraumaZone out of all his movies I’ve seen, so I get why this author favors it.

As it happens, I’m about halfway through TraumaZone right now. It’s great. Poses some interesting questions, doesn’t offer any easy answers.
I started reading this book after it was recommended by someone on HN and I found it incredibly useful for broadening my knowledge about computer networking.
Even when young, new stuff is scary. Look at any community, ranging from RPGs (new rule editions, new meta plots (those are in the example I think of getting worse, objectively ;-)) to stuff like World of Warships (new classes and ships introduced after person started bad). Nothing to do with age, but rather emotional attachment. I try to avoid that kind of attachmemt, especially with regarda to my work. The odd time I stumble across something I didnyeaes ago more often than not I embarassed to thebpoint wantin to deprecate it myself! The rare, even odder, exception notwithstanding.
I don't think they mean 50% saving in the whole car. I think they mean 50% saving of the production cost, outside of the materials costs.

And that I assume would be achieved by having a higher threw-put with the same input in terms of humans and machines, like early RISC processors.

Simpler pain shop would be big savings, in floorspace and amount of robots.

Less moving of the whole car around reduces a lot of big robots.

Humans and robots have easier access to the parts they need to work on, increasing both human and robot productivty.

I think this number also includes the changes to the wiring that Tesla has been working on for a few years now. Wires are one of the most difficult and labor intensive parts of car building, and a frequent source of errors. The traditional process isn't really feasible anymore with this assembly method.

So I assume this number also includes the elimination of those task.

Footprint by 40% seems reasonable to me, saving of 50% seems high I would agree. Depending on what all is included in that number.
It's still, overall, about as carbon (and other pollution) free as renewables as of about a decade ago:

https://ourworldindata.org/safest-sources-of-energy

Renewables have probably edged further ahead since, but nuclear is still in a totally different category from non-renewables.

It's main problem is the expense. (edit to add: and even there it's ahead of fossil once you add the social cost of carbon to their price tag).
Long time HN user, but new account to break real life / online links.

I'm one of the designers of the aircraft, if anyone has questions about flow control, integration, "what's the point", I can try and answer them for you.
Here's a definition of indoctrination: the country is split nearly 50-50 on political issues, but 99-100% of faculty is in only one of those two camps
Indeed. When it is something we do not like and consider 'foreign', we call it invasive. When the same thing is considered native, even if its only here for a couple of hundred years, we call it a pioneer species.

Truth is, plants move around the world all the time even without the help of humans, and are relatively quick to adapt. Invasive species exploit a niche in the ecosystem that hasn't been filled yet, and are extremely useful in building up the system. Eventually the system will find a new balance, except when humans keep disturbing it.

Sometimes I think that 'invasive weeds threaten native plants' is the ecological equivalent of 'foreigners taking our jobs'. Preservation turning into botanical racism.
Larger language models do in-context learning differently
They said to be on track with their 10nm node too for 8 years, how did it end?
Yeah I definitely agree with VDOM doesn't necessarily speed up anything on its own. There are many frameworks that benchmark better than react, for example - svelte, lit - these don't have VDOM at all.
> It took up a third of the post

There would be no post if Karen didn't interfere fifteen years ago because author would had got his picture of the tablet.
No subtitles because it is a recorded demonstration (of a chat).

The description is:

> Retrieval-augmented generation is a good solution to avoid hallucinations but directionally, context memory is getting much better at storing data accurately while retaining all the flexibility of LLM interaction // All operations show in the video were done directly in context memory. NO EXTERNAL AGENTS OR EXTERNAL SYSTEMS were used. Results were checked against a real Postgres database for accuracy. Some minor early stumbles but by the time we get to over 100 rows across multiple tables, it still joins correctly. From my research, it appears to be mostly confused by ASCII collation btw uppercase and lowercase. The 3 hour cap with GPT4 required multiple sessions to be stitched together // Andrej Karpathy described the Transformer as a "general purpose differentiable computer". But what does that mean? Contextual embeddings are somewhat analogous to a differentiable type system (think classifier meets Voevodsky higher dimensional types) and Transformers enrich this type system with generative dependency rules that compose types (think calculus of constructions or Minecraft style crafting rules)
> From my perspective, declarative is the best way to describe UI

I agree.

It seems like we have some good solutions for declaratively describing the structure and static appearance of UIs - but beyond things like transition animations, we don't have anything that satisfactorily describes their behaviour. Its a hard problem nut I sometimes wonder why this aspect is under-served by the technologies we have.
Even those. When the cost of failure is too high, we need to invest in practices that allow them fail safely. And get as much from failures as possible.

It means giving doctors and nurses simulators, someone to look over their shoulder when learning new techniques, giving them high-quality followup data, finding top performers and make them explain what they do and so on. Which is currently very hard to do, because teaching others means you lose your advantage.

It also means learning from failures of others. That means writing about the fuckups and telling them. Which is currently almost impossible to do, because admitting failure can often result in an end to your career.

And all of this is exacerbated with consolidated, privatized healthcare where the shots are called not by outcome-oriented caregivers, but by profit-oriented MBAs.
Minor point here "feral" as in "feral pigs" means "of domesticated ancestry, but reverted to a mostly wild state".

This does not apply to hippos since they have never been domesticated at all, and those commenters suggesting that "just domesticate the hippos" would be a feasible task are IMHO very much underestimating something that they know nothing about.
Jail time for executives in situations like this will definitely make other executives think about their actions.

Jail time for a drug addict or other small time desperate criminal who would otherwise be homeless and have no hope of a future will not make any difference to the actions of others in a similar situation.
Amazon announces fresh stab at turning The Lord of the Rings into an MMO
Just go to AirBnB and check -- right now, there are over 1000 open rooms for one guest in Dublin. Going to daft.ie, Ireland's main rental site, there's only 200 one-bed places to let (and that includes one room open in otherwise occupied houses). An order of magnitude difference, and it'll get worse throughout the summer.

It's a cancer that has directly impacted and caused the skyrocketing of prices and constraint of supply. The answer isn't to (just) build more, but to end the exploitation from AirBnB.

And, as mentioned, it's worse in other cities.
It's not housing-as-a-good that's a problem it's the land.

Land owners didnt create the land. Rights to land are always acquired, ultimately, through violence.

Land owners dont make it valuable - a good teacher drives up her own rent.

Supply and demand work in reverse. The more land owners buy and hoard it the more valuable it becomes.

Unlike, say, income taxes, which discourage work, taxing land just discourages hoarding and unproductive use. Higher taxes would thus relieve shortages on top of bolstering government budgets.

Airbnb isnt a direct cause of those shortages, it just partook in the rent bonanza driven by the global property hoarding frenzy. Banning or strictly regulating it in tourist hotspots is probably a good idea but doesnt resolve the underlying problem.
Unfortunately users are not seeing 10x better performance with the average application. A bit of the curse of more resources leads to using more resources wastefully.
Canadian Banks Downgraded Economic Crisis Incoming
I took it two semesters ago with Hilfinger and sadly didn’t have any Microvax in it. You might be thinking of 61C, which deals more with computer architecture.
This might ring true for most jobs and especially for anything business related. If you go lower on the library, tooling or infrastructure side things tend to live on much longer, especially if it's simple but necessary functionality. Code doesn't automatically become technical dept just because it becomes older.
They're also separating "Chaouia of the Aures in Algeria" https://en.wal.unesco.org/countries/algeria/languages/chaoui... from "Chaouia of the Aures in Algeria" https://en.wal.unesco.org/countries/algeria/languages/chaoui... so I don't think any political skew is involved at all, their data is just a mess.
> A crazy number

I found only two (#27 and #42a). There are several other unpleasant tropes about women in the list, but none of them sound particularly aligned with incel-dom.

For example, #18a seems like a fan fic for a viciously angry man going through a failed marriage or a divorce; and while such a man is a deeply unpleasant person, he by definition - having been married - is not an incel.
The warning was posted on Reddit, then taken down. Here's the archive link: https://archive.is/oMbXp

It's quite an interesting read.
I moved to the UK last year from the US. Over here, you only file your own taxes if your income is over 100k GBP -- which is probably a reasonably simple proxy for "your tax situation might be more complicated." No doubt it has edge cases, but it's a nice sorting mechanism for the majority of cases.
The air is blown out aft, but the jet is blown adjacent to a curved surface and tends to stick to it. This entrains the flow over the wing and creates a change in lift distribution just like a normal aileron.

The thrust vectoring is similar but slightly different, again the blown air is used to change an existing airflow.
Yet all common folk uses Airbnb for short rentals unless you are rich enough to afford a Hotel. Sure some regulation is required, but would you rather have a few Hotel chains corner the market on short stays and rentals?
You could have some kind of event system running that pushes the event down to php. For instance, redis has a PUBSUB system, and postgresql has NOTIFY.
And I guess you yourself are the exception in that you are entitled to living in a tourist-free city, and all the tourist-dependent businesses in your area and all the tourists that want to visit can go to hell?

Maybe we should just build enough housing for everyone.
That's like the exact opposite of rocket league. There's an ex rocket league pro who made a video series about climbing to the top of the rank ladder while using the bare minimum mechanics, letting his mind games carry him.
https://www.youtube.com/watch?v=dhoplG8Cm_A&list=PLaVDH5Sevb...
> Imagining hearing one of your family members just start singing to themselves without any background music, does that feel uncomfortable? Would you sing along?

No need to imagine, pretty normal at my home. (Sometimes I am that family member.) And to answer the questions, no, and yes. (And none of us is a trained musician.)

But I agree, we (as a society) lost a lot of that. I have a feeling that it's cultural; I strongly suspect that in some countries people sing a lot more.
It's harder now. Way back when you could write ls and it would basically be a "done" piece of software to be distributed everywhere. More recently the big standards are enormous projects involving thousands of people, such as Docker or Kubernetes, that seem to have fairly unbounded feature lists.

One exception: I think the jq tool could stay viable, if it made it into a standard toolset. It solves a defined problem.
he's been following his own advice religiously for years
I respectfully disagree. In my experience, Declarative UI is more concise, making development and changes easier. It enhances productivity and allows for a clear separation of concerns, which is beneficial.

Moreover, Declarative UI enables the development of powerful tooling and visual editors. For instance, in Slint, we have an extension that provides live UI preview and code transformation capabilities. We are also actively working on a visual editor that lets users drag and drop widgets. Such capabilities are difficult or impossible to achieve with imperative APIs.
> The problem: both approaches drastically reduce agricultural productivity

That does not have to be an issue for the EU per se, as the EU is a net exporter of food in value, and potentially in calories as well.
One of my favorite films of all time. Bonus points to anyone who samples the ending: "THIS IS THE VOICE OF WORLD CONTROL."
I wonder if wages have risen in response to this? You cannot operate a business that doesn't pay staff enough to live for very long.