skysight-inc/HackerNews huggingface dataset:
Cool project!

Seems a bit complex though, compared to doing a shell script showing a notification or sending yourself an email each morning when you open it?

Or just doing a light script on val.town?

For instance this could be an example val.town script that does something similar (just need to bind to a data source for the dictionary)

import { sqlite } from "https://esm.town/v/stevekrouse/sqlite";
import { OpenAI } from "https://esm.town/v/std/openai";
import { email } from "https://esm.town/v/std/email";

// Dutch words database
const dutchWords = [
{ word: "boek", translation: "book" },
{ word: "huis", translation: "house" },
{ word: "boom", translation: "tree" },
{ word: "water", translation: "water" },
{ word: "kat", translation: "cat" },
{ word: "hond", translation: "dog" },
{ word: "appel", translation: "apple" },
{ word: "tafel", translation: "table" },
{ word: "school", translation: "school" },
{ word: "fiets", translation: "bicycle" }
];

export default async function generateDutchWordLearning() {
const KEY = new URL(import.meta.url).pathname.split("/").at(-1);
const openai = new OpenAI();

// Ensure SQLite table exists
await sqlite.execute(`
CREATE TABLE IF NOT EXISTS ${KEY}_dutch_words (
word TEXT PRIMARY KEY,
translation TEXT,
example TEXT,
timestamp DATETIME DEFAULT CURRENT_TIMESTAMP
)
`);

// Fetch words not previously used
const usedWords = await sqlite.execute(`
SELECT word FROM ${KEY}_dutch_words
`);

const availableWords = dutchWords.filter(
w => !usedWords.rows.some(row => row.word === w.word)
);

if (availableWords.length < 3) {
// Reset if we've used all words
await sqlite.execute(`DELETE FROM ${KEY}_dutch_words`);
availableWords = dutchWords;
}

// Randomly select 3 unique words
const selectedWords = [];
for (let i = 0; i < 3; i++) {
const randomIndex = Math.floor(Math.random() * availableWords.length);
selectedWords.push(availableWords.splice(randomIndex, 1)[0]);
}

// Generate example sentences with ChatGPT
const wordDetails = await Promise.all(selectedWords.map(async (wordObj) => {
const exampleResponse = await openai.chat.completions.create({
model: "gpt-4o-mini",
messages: [{
role: "user",
content: `Geef een voorbeeld zin met het woord "${wordObj.word}" in het Nederlands.`
}]
});

const example = exampleResponse.choices[0].message.content || "Geen voorbeeld gevonden";

// Store in database
await sqlite.execute(`
INSERT INTO ${KEY}_dutch_words (word, translation, example)
VALUES (?, ?, ?)
`, [wordObj.word, wordObj.translation, example]);

return { ...wordObj, example };
}));

// Prepare HTML email
const htmlContent = `
<html>
<body>
<h2>Dutch Word Learning </h2>
${wordDetails.map(w => `
<div>
<h3>${w.word} (${w.translation})</h3>
<p><em>Example:</em> ${w.example}</p>
</div>
`).join('')}
</body>
</html>
`;

// Send email
await email({
subject: "Your Daily Dutch Words ",
html: htmlContent,
text: wordDetails.map(w =>
`${w.word} (${w.translation}): ${w.example}`
).join('\n')
});

return wordDetails;
}
The depiction of the military's IT as nearly impregnable overlooks the widespread issues with outdated infrastructure and cumbersome policies that significantly impair its effectiveness.

While I'll acknowledge that certain areas within the US military might experience the level of threat and security sophistication described, the broader landscape is fraught with legacy systems that struggle to integrate modern solutions or best practices. These outdated systems/workflows/bureaucracy often result in inefficiencies and vulnerabilities rather than providing superior security.

You never hear about the US military getting broken into, not because it doesn't happen, but because it is classified when it does. Avoiding public embarrassment is the No.1 use of classification, resulting in this type of belief in their competence. I'd put Facebook ahead of the US military any day of the week, and it ain't close (who incidentally are a payment processor).
Froze after 2 moves.
Valve should rename "Steam Deck" to "Steam Machine" to avoid confusion with "Stream decks".
Breaking: Web3 devs reach sentience before AI.
I had to squint to be sure it was meant as comedy. Here's my contribution for today:

Charlie Brooker's How to Report the News - Newswipe - BBC

https://youtu.be/aHun58mz3vI?si=er4FlTFIzrKin8ED
can I have some?
Sounds like I should plug the subset of the ports that are on that Fresco Logic controller so that I don't unwittingly use them at some point in the distant future.

> ...I still can't recommend the dock to anyone when half the ports on it are flakey, especially at that price.

This is understandable.

However, I'm pleased with my purchase and I'm only using the built-in Ethernet port, the built-in DisplayPort port, and a couple of USB ports. If it lasts me five years, I will have paid ~60 USD per year, which I think is a bargain when you compare it to fighting with something that's flaky no matter what you do, or just fails after a year or two... requiring you to go on the hunt for a new "dock".

Honestly, I think it's pretty damn stupid to have so many USB ports on the thing to begin with. Decent USB hubs are inexpensive; remove all but one or two of the USB ports and use now-spare bandwidth to put additional DisplayPort ports on the thing!
- "B/Yamagata was removed"

I remember that! It's not often we celebrate the extinction of a species :)

https://news.ycombinator.com/item?id=28723310 ("This influenza lineage may have become extinct (nature.com)", 47 comments)
> A non-profit structure seemed fitting, and we raised donations in various forms including cash ($137M, less than a third of which was from Elon)

Saying "less than" is peculiar phrasing for such a substantial amount, but maybe some people believe Elon initially funded about all of it
Can you elaborate on 'useful shell that accelerated some special purpose tasks'? I'm curious about the types of things that people have done with their own shells.
> I saw tradeoffs that I didn't like. I saw features that I wanted. I saw performance that I could improve. I saw stagnation. There are many fantastic terminals out there and you should use them if they work for you. But I wanted something different and thought maybe others did too.

This motivation is pretty clearly stated in the article.

Some people use "fancy TUIs" (the famous editors vim and emacs surely count) and if you don't, feel free to ignore this new option.
Embraer is very well designed aircraft the fact it was able to fly for so long after sustaining so much damage is a testament to its robust engineering and design.
But I implemented a warning/error for variable shadowing.
Slothful Induction and Ad Hoc Escapism (2009)
I'd hazard that's exactly why it's inportant: mental exposure to uncomfortable and novel situations.
"Web3"? Wow, that's a blast from the past.
Yeah IMO they should be required to dissolve the company and re-form it as for-profit. And pay any back-taxes their non-profit status exempted them from in the meantime.
The kitty method of piping the scroll back buffer to a pager is more general - it also seems like a quick fix to achieve this desired feature.
> financial speculation

And money laundering and sanctions avoidance… and bribery.
OpenAI says it needs 'more capital than we'd imagined', lays out for-profit plan
How much does it cost to run???
I'm of two minds here.

On one hand, I absolutely agree that you should try to focus on maximizing the positive aspects of your life rather than overly focus on beating down the negatives. For instance, I'm happiest when I'm taking a lot of recreational classes outside of work, and when I'm doing that - my phone usage is not a problem - it's a fine way to spend my limited free time because I'm already doing the things I love.

On the other hand, in the morning especially it feels like looking at my phone can kinda derail my day sometimes. So I download Opal and just set a hard block (impossible to skip) from 9:55pm - 9:35am, that way I'm able to use my phone during the day, but not the very first thing in the day. I find that works well for me.
At this point Mozilla is a political organization masquerading as a web browser.
> Sorry for veering off topic.

Nah, there's no need to apologize. If folks don't want to read and/or participate in the subthread that changes the topic, then they can just fold up the subthread using the handy "fold up the subthread" button.

And yeah, with the exception of the fellow who called it "HN slang" (or whatever) the folks who replied to you all have good answers to your question.
Except it is the greatest naval power in the World.
How do we fight in a war where our own fellow citizens are the foes, turned by the enemy out of their own ignorance and gullibility?

Feels like a zombie movie.
Show HN: Color Origin: Single HTML fun game [video]
What would you use then? I am interested!
Sounds like you came through frustrated cynicism yourself to a kind of enlightened optimism and want to call it realist. I really appreciate this point of view and I'd like to get there myself, but here's the rub:

> tide-coming-in approach over several years

This phrase does a bunch of work, and seems to almost agree with the cynical perspective that individual small positive changes (or the more common failed attempt at the same) are futile. But if the difference between optimism and cynicism was only a matter of being patient and persistent, then we should be able to observe things getting better over time in a relatively consistent way.

Is that happening? Honest question, what large organizations can we point to that are better or more effective than they were 5, 10, 50 years ago? (And: for any situations where improvement happened, was it really a tiny number of engaged participants doing bottom-up change, or was it top-down change by some kind of executive decree?)

Youth without perspective will have a hard time answering maybe, but if the youth and wise old heads are both trending cynical at the same time then maybe the cynical position is actually true, and patience/perspective are simply not as relevant as the optimist would hope. My own experience is probably somewhere between youth/wisdom, and I tend to avoid large orgs as much as possible! But as an outsider, it looks like large orgs are all dysfunctional by default and only get more dysfunctional over time, with or without external pressures forcing that situation. Maybe there's a bureaucratic version of the laws of thermodynamics at work here.. the phenomenon of entropy isn't really cynical or optimistic or pessimistic after all, it's just the way things are.
Wasn’t the attack of Ukraine a stupid idea in the first place?

Maybe they overestimate their cleverness.
Disinformation really seems to tap into that deep call for "I want to believe". Being a contrarian is attractive, hits the spot for the ever elusive feeling of knowing something others don't, for some reason there's a huge satisfaction in that; some people are attracted to it like a moth to a light...
there are "repls" and repls. even java has a "repl". forget about dynamic/static dychtomy, im yet to see a non-lisp repl. one which provides a true interactive experience with your running program

and even though static languages can have "repls" as an afterthought (eg GHCi), rest assured that their static typing property is a completely unnecessary cognitive load (at least cognitive but very likely a performance one too) to their functioning
Russia has destroyed 742 hospitals and clinics in Ukraine in many cases by using Shahed 131, Shahed 136 drones.
“The odds are good, but the goods are odd” - why is SV full of wierdos? Part of the answer lies in social isolation. Whether you like it or not and regardless of personality, humans are social creatures. This was evident from covid.

To avoid interacting with others is not only a disservice to your own growth but also to society. It is much easier to live in your own world then go out there and learn - books and the web are not substitutes.

You see this effect on today’s generation who rely on internet bubbles, brainwashing and biases to inform their thinking, hardly having critical skills (ex: woke). You can only blame the system (big tech) to a certain extent, but the individual should ultimately take responsibility.

Being born (disadvantaged) an introvert is no excuse as being born a foreigner (ex: H1Bs) or a sinner, you still have to do your best in becoming a better version of yourself.
It's plausible that, without Musk's less-than-a-third, nobody else would have put in any serious money.
Anyone know if it’s possible to do what touchdesigner does with point grids but in blender or any other open source way? I really want to create those point cloud 3d audio reactive experiences but I’m struggling to gain traction.
Zardoz is definitely SF. The Dark Backward probably doesn't quite fit the category, but has some awsome world building going on and an A list cast.
A dozen events and seconds of runtime per month? If free tier itself had a free tier, it would be a blip on it.
> Investors want to back us but, at this scale of capital, need conventional equity and less structural bespokeness

Well you see the AGI can only benefit humanity if it is funded via traditional equity... Investors WANT to give their money but the horrendous lack of ownership is defeating their goodwill
Same with ADHD. People with ADHD often experience social friction because they may be perceived as rude or bad listeners. Plus of course there's significant overlap between people with ADHD and autistic people (as well as an overlap in symptoms). ADHD doesn't have to present as being fidgety and hyper either, inattentiveness (i.e. not being able to control your focus well) is another big aspect. If as a kid you kept hearing "you're so smart, if only you would apply yourself more" while already working yourself to exhaustion (especially if you have a high IQ and used that to compensate for "forgetfulness" or "procrastination"), that may have simply been inattentive type ADHD.

I used to think I was very autistic until I underwent a thorough diagnostic process and learned that while I am indeed autistic, most of what I had been experiencing was actually crippling ADHD I was committing most of my mental capacity to compensate.
It means what people actually develop, support and use in the real world. KDE has no real support. Suse, Red Hat/IBM and Canonical all develop and support Gnome which is largely what has made it so polished.

Also, I'd wager Gnome is absolutely used by 90% or more of Linux users.

> Also, I thought opensuse (or whatever new name they’re using) was KDE default but with a choice (like Debian)? At least that’s what DE I got last time distro hopped to it.

Depends "which" openSuse. OpenSuse Leap is going away since Suse (the corporation) is doing away with non-immutable distros. Whether it keeps KDE remains to be seen as MicroOS has lots of issues with KDE. Tumbleweed has KDE as the first choice still, but it's basically hobbyist-only from this point since there's no equivalent Suse distro. Aeon is Gnome-only.
Have you seen the Passing a Language Through the Eye of a Needle article, from the Lua authors? It talks about how some of unusual the design decisions such as pcall error handling and the stack are tradeoffs in favor of "embeddability".

https://queue.acm.org/detail.cfm?id=1983083

The main purpose of the stack is to facilitate garbage collection. The GC can find out what Lua objects are currently being manipulated by the C client. The price is that the Lua API can never expose a "Lua object pointer" to C. Many other scripting languages expose such pointers, but then must also expose ways to manage their memory. For example, in Python the user of the API must explicitly increment and decrement reference counts.
> but how exactly is OpenAI’s vision of making AGI going to “benefit humanity as as a whole”?

Considering their definition of AGI is “makes a lot of money”, it’s not going to—and was never designed to—benefit anyone else.

https://techcrunch.com/2024/12/26/microsoft-and-openai-have-...

https://www.youtube.com/watch?v=gjQUCpeJG1Y

What else could we have expected from someone who made yet another cryptocurrency scam?

https://www.technologyreview.com/2022/04/06/1048981/worldcoi...

https://www.buzzfeednews.com/article/richardnieva/worldcoin-...

Sam Altman doesn’t give a rat’s ass about improving humanity, he cares about personal profit.

https://www.newyorker.com/cartoon/a16995
Want yacht before world realizes they've run out of ideas
Tesla Inc H1B Salary 2024
Good busy!
JavaScript didn’t always have async await.

The implementation details also affect runtime performance.

JavaScript rarely blocks execution, it’s what makes it snappy.

For example, Python blocks by default, unless you run your inside a Python async wrapper like asyncio.
Can they quit this "non profit" larp already? Is this some recruiting tactic to attract idealistic engineers or a plan to evade taxes, or both? Sam Altman was offering crypto-alms to third world people in exchange for scanning their eyeballs. There is no altruism here.
Normal people also do not keep backups of their important data.
> The vast majority of people simply do not need a less trust-based, more complex financial system.

I work at a bank. Do you know where the complexity comes from ?

It is all derived from: (1) risk management and (2) regulation compliance.

Crypto is simpler because it can't be bothered to take either seriously.
Once OpenAI becomes fabulously rich, the world will surely be transformed, and then the benefits of all this concentration of power will simply trickle down.
Valid point I kind of missed the thesis a bit. My bad.
Critical: .NET install domains and URLs are changing
Thanks, that's exactly what I am used to!
> Tcl

Not to my understanding. What is called "array" in the language is indeed associative, but lists (heterogeneous vectors, like Python's) have always been here and distinct.

But otherwise, insightful post. Awk is also the first thing that came to mind, with its funky arrays and "undefined variables are initialized on first use to the empty string or 0 depending on the context".
The only proof is in benchmarks and carefully selected demos. What we have is enough AI to do some interesting things, and that's good enough for now. AGI is a fuzzy goal that keeps the AI companies working at an incredible pace.
I guess 2024 is the year "we're selling the future" and "the right side of history" strats were nerfed. Though, I suppose, they were just a disguised form of FOMO which will be perennial. At least, this is one a generation should now be inoculated against.
This article very briefly mentions his name in relation to funding but does not demonize him or ask him to address issues?
Somewhat related: I really like Erlang's docs about handling time. They have common scenarios laid out and document which APIs to use for them. Like: retrieve system time, measure elapsed time, determine order of events, etc.

https://www.erlang.org/doc/apps/erts/time_correction.html#ho...
Nobody is saying “as hard if not harder,” that is 100% dishonest, and you know it’s dishonest. The claim is that the US Navy hasn’t faced much active combat over the last 80 years, and by comparison the Houthis’ guerrilla navy is formidable.

The Navy saw periods of combat during the “Tanker Wars” of the 1980s in the Persian Gulf, but that largely involved ships hitting mines. The Houthi assaults involve direct attacks on commercial vessels and warships.

“This is the most sustained combat that the U.S. Navy has seen since World War II — easily, no question,” said Bryan Clark, a former Navy submariner and a senior fellow at the Hudson Institute. “We’re sort of on the verge of the Houthis being able to mount the kinds of attacks that the U.S. can’t stop every time, and then we will start to see substantial damage…”

I hate how often people here just shamelessly lie.
Indeed, it's peanuts :) I didn't calculate it as I find that cost insignificant.
Upload your favorite New Year's song and watch the magic happen
I consider myself a fairly normal person. On a recent flight from Istanbul to Taipei, I checked the flight path to make sure it wasn't flying over any "suspect" countries.
What I read is that the cut for microservices and agents do not align.

This does not mean that agents can not run in microservices, just that is is not 1:1 between agent and a microservice.
Cmd+A to select the entered command isn't standard.

You could try:

- Ctrl+A: Move to the beginning of the line.

- Ctrl+E: Move to the end of the line.

- Ctrl+K: Cut the command from the cursor position to the end.

- Ctrl+U: Cut the command from the cursor to the beginning of the line.

- Ctrl+Y: Paste the text back.

This should work in all terminals.
Our current structure does not allow the Board to directly consider the interests of those who would finance the mission and does not enable the non-profit to easily do more than control the for-profit.

I kind of thought that was the point of the current structure.
It is incredibly difficult to see any corporate structure change as a positive at this point in time.
>Which strengthens the argument for a genocide, not a war.

Should Israel sacrifice more of its own people for the war to appear more fair? It's not like their adversaries aren't/weren't trying..
> Autism is a disorder, diagnosed in DSM V. […] Unless those cross a pathological threshold, it's not autism.

There is a natural category in the world that shares many members with those-who-meet-diagnostic-criteria-for-"autism", completely unrelated to any "pathological threshold". It absolutely makes sense to describe people as "autistic" whose lives are not suffering.

Beyond that, you really shouldn't be treating the DSM as some kind of authority: that's like treating a particularly unreliable dictionary written by a non-native speaker as an authority on a different language. See https://en.wikipedia.org/wiki/Homosexuality_in_the_DSM for more information.

The idea that the APA's claims are any kind of authoritative is quite insulting. They're systematically wrong, in quite horrible ways, and probably always will be. The DSM-V is a tool for coordination among (American) practitioners, and should not be considered anything more than that: it certainly shouldn't be consulted or quoted by the laity, who do not know the caveats.
That’s not the same thing as “ most intense running sea battle the Navy has faced since World War II”
Show HN: I built a mental health app to fix mine
Hi HN,

I’m still in college and new to the startup world, but here is my first shot at a side project: Milburn, an integrated therapy+journal tool(https://milburn.vercel.app/). I built Milburn bc every mental health tool I could find was missing something: the therapy apps didn’t have voice/memory/too expensive, and the journal apps were always a PITA to sync with therapy.

We trained the chatbot’s model on specific therapy modalities(I personally need CBT sessions, but we also have others like DBT), and then created a prompted journal, added a feedback loop, voice capabilities, and a triage questionnaire.

We’re clearly still at a super early stage and new to this lol, so we would appreciate any feedback on the tool/idea: What resonates? What’s missing? Is this different enough to the myriad other mental health apps on the market? I’d especially appreciate insights from those who’ve worked in mental health tech or have experience with similar tools.

We’re also looking for beta users so drop me an email at [rkrithik@seas.upenn.edu](mailto:rkrithik@seas.upenn.edu) if you’d like some free access!
You could argue the US is partly responsible for the 2020 disaster as well.

https://en.wikipedia.org/wiki/Ukraine_International_Airlines...