skysight-inc/HackerNews huggingface dataset:
I have always thought it helpful to think of the first 3 years as a parent as an emotional and mental low point. Kind of like how buying a house is often a financial/savings low point (those down payments are brutal) having kids hits you really hard right at the beginning. And it hits you in the mind, something I was used to relying on that suddenly is actually struggling. I’d say much of the challenge is sleep deprivation, and there's also new responsibilities and not going out, etc, but it is actually even harder than that.

That said, I absolutely love being a parent. So if you ever are considering it, just know that 3 year old is _much_ easier than a 1 year old. And then before you know it your 7 year old will out-build you in Minecraft and it’s even more fun :)
It probably wasn't the cause in 1811.
Hey! Yea, for mp4 its just ffmpeg -i and nothing else .. Good idea to optimize this. In general ffmpeg-wasm is a lot slower than FFmpeg run on your desktop, but let me see if I can improve on this.

Performance diff: https://ffmpegwasm.netlify.app/docs/performance
Given that the post is recommending a piece from 2019, it seems like the author is not much of a purist

[1] https://en.wikipedia.org/wiki/St_Mark_Passion_(N._Matthes)
It would be a good idea to investigate the belief you have that you are "terrible at math". What does that mean, exactly? Are you bad at computation? Do you forget rules? Are there gaps in your knowledge which are preventing you from accumulating more advanced concepts?

Learning math is like learning any natural language. For example, I'm "bad at Russian" because I have devoted all of 6 hours in my life to learning Russian and there are profound gaps in my understanding of Russian writing and grammar.

But I don't believe I am intrinsically incapable of learning Russian. The reality is that I've simply not put the effort into it.

It's truly the same with math. I am personally quite bad at computation by hand. It's exhausting, I often make careless errors, and I find computational problems by hand to be very boring. But that doesn't mean I'm bad at math! I've simply not invested much effort into improving my skill at computation by hand. I'm not terrible at proofs, for example; and the reason for this is that I find them interesting, and have devoted extra time and effort into learning how to write them. The heart of math isn't computation (which I'm not strong at), but proof and abstraction (which I am strong at, only because abstraction is interesting to me).

So really investigate your belief system regarding your capacity for mathematics. It's unlikely you are innately bad at it. Maybe you have knowledge gaps or you, like me, are not innately skilled at computation. But there are strategies you can employ to improve both.
How does the Datalog approach compare with RETE?
Show HN: Building a web-based screen studio alternative in public
Hello hacker news. A while ago I started building a browser extension for recording interactive product demos, and I released it on product hunt and it didn’t do very well.

So I began going through and talking to people on Reddit and that led to me creating a discord and that led me to creating a channel.

The name of the channel and the premise behind it is coding, but clueless about marketing.

In the video above, I add a feature to my application that allows you to select backgrounds.

I also think this video is really interesting because it shows how an experienced programmer works with Claude and asks the right questions to get Claude to automate most of the work.
On And Hellen Obiri Launch Spray-On Sneakers
CBOR is basically JSON but with binary keys and values
This is a simple and straightforward problem of self-interest. It’s the difference between being able to use ChatGPT in your work and ChatGPT replacing your job and any kind of job you could “re-skill” into.

The problem was then and has always been capitalism: the owners own the tech. which means that The House (owners) always wins in the end as we approach more and more automation. Meanwhile we bicker about “doing the same thing [like some old-fashioned has-been]” and “losing the competition to the developing world” as if that is relevant to anything.

The tech. was never the focal point of the issue.
Hey Chicagoans! There are some real important canals in the Chicago area, especially the ones connecting it to the Mississippi (indirectly). Is there anything like this happening there?
Yes, the error is much clearer when you realize where the mistake is :)

There's an interesting point here, though: while comptime lets Zig unify function calls and generic type instantiation, this also creates the possibility of confusing the two and getting confusing error messages.
My point is that in higher-level languages you might spend your entire career not thinking about how your data is laid out and what points to what, while in C++ you are exposed to this reality daily even if you are working on trivial problems.

That is my hypothesis on why some people might consider inverting a binary tree an unrealistically complex problem. If you are not able to solve this problem without thinking too much you are probably not being able to write working C++ at all, but might still be able to even solve real business issues with, say, Javascript.
I'd rather have the healthy and energy of a 25 year old and live in a world where there are people far richer than me than be a frail 80 year old where at least I know there aren't any trillionaires.

Another thought I had was that revolutions over inequality almost always happen when there's a large youthful population. The old just don't have the energy or the future-focused outlook for big change. Inequality might be less stable if all adults had the health of their youth.
I know that, but the majority of OOP code today uses languages with inheritance, ObjC (what the article is about) being just one example.
"Privacy", to me in this context, means that data about me isn't collected. Even if we assume it's possible to really anonymize data, it was still collected, which means there was an intrusion into privacy. Whether or not that intrusion is OK depends on a lot of things and I'm not speaking to that here.

So, in my view, it's rather misleading to use the term "privacy" with these efforts. They are really about how to allow processing of sensitive data in a way that people won't squeal too much about.
Hash-based bisect debugging in compilers and runtimes
I haven't personally used it, but I do know that ListenBrainz offers a Last.FM-esque experience, and I see it does have a "similar artists" section. I'm in a similar boat as you though. Most of the Spotify-generated stuff is just repeats of songs I've already liked or just generic songs.

I've been diving into the past about artists I've been meaning to check out and also using Rate Your Music to stay semi-conscious of what's popular today.
The fermi paradox seems like its all about answering this question as if intelligent life:

1) took a similar path has humans

2) is happening roughly now (instead of say 1 billion years ago)

But even if there are thousands of space faring civilizations, they may have millions of years of figuring out cloaking technology so advanced that it's not even the crappy things we think are UFOs. Or perhaps they skipped tons of technological advancement altogether because their default biology gave them borg like communications from birth. - No need to entertain each other with "I love Lucy". Perhaps because of this they Einsteined it straight to space ships that don't need exhausting propulsion systems. Perhaps they're also extremely tiny.

Fermi relies too much on finding other humans imo.
I wrote an async wrapper around SQLite in Python - I'm using a thread pool: https://github.com/simonw/datasette/blob/main/datasette/data...

I have multiple threads for reads and a single dedicated thread for writes, which I send operations to via a queue. That way I avoid ever having two writes against the same connection at the same time.
Our stance here is most model-graded evaluators from packages like RAGAS and similar don't work well out-of-the-box, and require tons of tuning and alignment (i.e. you need to change the evaluator prompt/criteria, run it against your own traces, and see if you agree with the results, and continue this process in batches over time). We make that process easy in HoneyHive by allowing you to change the underlying evaluator prompt and test it against your recent traces to validate performance: https://docs.honeyhive.ai/evaluators/llm.

The main takeaway is you can't think of model-graded evaluators as static tests that you can set up and forget about; you need to constantly tune, align them, and validate them against your own human judgement (aka treat them like an LLM application in-and-of-itself!). They cannot detect fine-grained errors reliably, but they've been proven to detect extreme outliers well and can serve as a fuzzy signal at best. For anyone interested, here's a great paper on how to align and validate evaluators: https://arxiv.org/pdf/2404.12272

The real solution here is still relying on human judgement as much as possible and using tools that make reading your data easier/scalable. Think of evaluators as a sampling function to reduce the number of traces humans need to manually review. Another point worth noting is deterministic metrics (eg: keyword assertions) often cover ~60-80% of failure modes in the real world and should be used liberally.
I tend to think the rise in unemployment in tech is a regression to the mean. We’ve just gotten lulled into think the best of times is the norm.
If you go to grad school nobody cares where you went to undergrad but they care a lot about research experience getting into grad school, and it’s easier to actually get research experience at a state school where the other students aren’t all also trying to get it. Most state schools guarantee admission to people with an in state AA degree.

I went this route, and am now a tenured PI at one of the most prestigious places in the world. I had several highly cited first author pubs in good journals as an undergrad at a state school. I was also paid to do that research, which made college almost free. I’m not going to put any pressure on my kid to “prepare for college” because it simply isn’t necessary and just makes you miss out on being a teenager.

The sad truth is parents think putting massive pressure on their kids will make them smarter, or more skilled at things that lead to a high paying or prestigious career. Unfortunately that’s not true… if they have the aptitude to succeed they will do so without the pressure. If the pressure makes the difference, it means a miserable life doing something they don’t really like and aren’t very good at but were forced into by their parents.
Second Chance Comedy Is a "Show About Addiction Delivered with Humor"
I don't disagree although the list of arguments against living in SF seems to continue to grow--though you avoid some of them (though not cost) depending upon where you live in the city. I'd actually argue that Seattle and Portland, OR have at least some of characteristics that make SF attractive. Of course, there are other cities in the US that are attractive as well but they're very different from SF, e.g. Denver/Boulder, NYC, Boston...
Good work, what are you using on the backend for this?
Maybe it's just me but I see a lack of a package manager as a massive, massive pro. I can't stand how seemingly every language has a package manager which requires it's own installation and you have to learn how to use THAT thing and then you need some library off github that does some minor task really well but you can't just download the fucking code, you have to import it via, idk, the Fork-Lyft manager which requires Python 3.3 and the PillJump framework and it's just like, I just want a fucking function to parse JSON, I don't want to saddle my system with 600 MB of shit I don't need.

Old_man_yells_at_cloud.jpg
There is a very practical embedable logic-programming engine called miniKanren for many programming languages that can be used to add the logic-programming techniques of Prolog to other languages.

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

There's a great book in the same series as the "Little Lisper"/"Little Schemer" books called "The Reasoned Schemer" that uses MiniKanren with Scheme.
If you are interested in small fun stuff, SWI-Prolog has network libraries. Just recently, I implemented a network gomoku (5-in-a-row) game in it for my school project: https://gitlab.mff.cuni.cz/volfmat1/prolog-network-gomoku. Turns out you can also write quite imperative-style code with it :D
My new test station for graphic pen tablet on Linux
Not necessarily. There are a lot of really good, self-taught engineers out there who have never had to do that before and likely don't even know what "invert a binary tree" means.

In my experience, it's much better to give them a problem to solve and have them walk you through the thought process as they try to figure it out. Even if they fail to solve it, the actual process gives you insight into how they think and how they'll perform on the actual job.

Unless your job regularly involves inverting binary trees, that's not a great question because it's basically asking if you've encountered something before. If you have encountered it, you likely know one a half dozen ways to solve it and everyone will give you roughly the same answer. If you've never encountered it, then you just fail even if are a good fit for the job. It doesn't reveal anything except you know one specific thing. In most cases, engineering jobs are problem solving for unique instances that arise day-to-day; a good interview should reflect that day-to-day reality more.
"Spoken English" being the key phrase there; if you use spoken English in a formal document or letter, it may reflect poorly on you.

Comment sections on the internets - and acknowledgements - are a bit milder on those grammar rules I'm sure.
It's great to hear new people are interested in the language! I was enlightened a couple years ago and fell in love.

Currently I'm focusing on creating easy-to-use embeddings of Trealla Prolog using Wasm. You can find my TypeScript library here: https://github.com/guregu/trealla-js and Go library here: https://github.com/trealla-prolog/go. The goal is to make the libraries as painless as possible. Trealla is a portable and lightweight Prolog written in C that supports CLP(Z) and is broadly compatible with Scryer. It's quite fast! I'm currently using it for some expert system stuff at $work and as an internet forum embedded scripting language for $fun.

Speaking of Scryer, they recently got their WebAssembly build working and I hope to contribute a JS library for them in the future as their API stabilizes. Scryer and Trealla are both aiming for ISO compatibility, so it's my hope that we can foster an ecosystem for modern ISO Prolog and provide more embeddings in the future. It's super convenient to get logic programmer superpowers in your favorite language. Also check out Scryer's new website: https://www.scryer.pl/

For something on the silly side, check out https://php.energy. Prolog Home Page, it's web scale :-). It's proof that you can integrate Prolog with bleeding edge stuff like Spin (server-side wasm ecosystem).
Looks great. what's felo search? How can I test it?
> presumably these safety issues during the period 1920-1990 weren't so great as to be a showstopper, even if a safer design is preferable.

Many things are not considered "showstoppers" during the early (or even later) stages of technology despite obvious ongoing harm. For example, there were 42,000 motor vehicle fatalities in the US in 2022. Despite this being a large loss of human life, it's not deemed a "showstopper", largely because we really don't have better options and because of the freedom that these vehicles enable. Now let's assume for a moment that self driving tech is perfected, and would theoretically cut down deaths by 75%. The safer design would be preferable, but for purely practical reasons would not be widespread for probably decades to come.

> This suggests to me that there was some other, much stronger motivating factor behind the development of the technology in the 1920s on the London Underground, with safety being a trailing motivator

How does this suggest that?

> The third relates to a design issue entirely orthogonal to the design of the doors.

The third relates to the cultural context driving adoption of updated designs, and the point is that this transition can't be reduced to any single factor.

I'm really trying to understand your position here, but you seem to continue reverting to your thesis and framing everything in terms of that thesis instead of explaining why the thesis is justified.
> If someone can't hire well, it's not a good place to work

This is just objectively false, most companies suck at something, and in all likelihood you will never have to deal with hiring process again once you are in. It’s one of the things you care about least.

The idea that a company has to be perfect for you to join is unrealistic
Italian Antitrust probes Google for 'unfair commercial practices'
Destructuring assignment was definitely something I missed in Zig (it's even called out in the post). Here's the relevant issue/comment, which makes me think this won't happen in Zig: https://github.com/ziglang/zig/issues/3897#issuecomment-7389...
Who are these companies paying $5k - $10k in per day compensation?
They should add offering buy-now-pay-later services like Klarna. Unless you are selling something life saving or in the realm of healthcare or other necessities, offering this only helps financially vulnerable people into debt; young people in particular¹.

Yet they all offer it, even in the Netherlands where paying via your bank account is trivial, fast, and save (IDEAL).

1: Have a look in the various national newspapers on that topic. It's distressing.
Terms and conditions are not legal systems.
Finally all the CSI and detective shows are believable again: ENHANCE!!!
Using online converter is actually a good idea because it is often difficult to install tools like ffmpeg properly; for example, by default Fedora installs a version of ffmpeg which doesn't contains encoder like x264 and it requires googling and trying different commands to fix it.
You write Prolog code for a living? Where? Do you happen to have a story to share? I'm very curious.
Swift Compile Time Macros
As used on HN. It just works, even today.
I'm currently dealing with a codebase that does this to a ridiculous extent. Like, literally, every change affects the entire project because everything is made of base-classes mixed in weird ways. Every concrete object inherits multiple base classes and no individual behavior. Imagine something like this:

class Book extends ShelfableItem, Pagable, Authored, Readable, BaseBook {}

It's absolutely insane.
It's a stretch at best to call "Considered Harmful" in this context a snowcone.
Idk. Native speakers are biased. I would trust someone who learned BOTH the languages they are comparing as a second language most. Even then they may have different views depending on what languages they already knew prior (eg, portuguese is a lot easier for a spanish speaker than a mandarin speaker)

My dad (who learned English as a second language after his native Spanish, and also learned Portuguese and Latin, don't recall if he knew any others) used to claim English was one of the easiest languages. I don't recall his reasoning but I think it might have been because the rules (other than spelling lol) were simple and forgiving.

And I've met people who felt the opposite. Idk.
I think the #1 dark pattern is how cell phone makers collude with app makers to opportunistically and illegally turn the expensive devices that WE PAY FOR into bugs & telemetric devices that listen to all of our conversations and then privately snitch on us and sell that information to private companies and even individuals for all we know. These devices we buy log our conversations all day long secretly and turn them into text that can persist forever.

As phones are used in almost every aspect of our lives now, the very devices we use (even our cars) are listening to our most private conversations and leaking them to companies with the sole interest of engineering our money out of our pockets faster. It also empowers CEOs and mega-company insiders to run espionage on and leverage anyone they want in the world, as everyone, even government officials and agents use cell phones.

It's completely contradictory to every aspect of law and democracy, as well as creating a loophole that invalidates privacy and individual rights against self incrimination, and it's only going to get covertly worse moving forward unless it's totally banned with sever criminal consequences as a practice. This data can also be tapped into by any interest through data hacking, or if one can pay for the info, as it's logged across everything from the car you drive to every app you use (especially when TFA is involved).
> when you get how the types in every OO program is a Prolog program itself

"Any sufficiently complicated type system contains an ad hoc, informally-specified, bug-ridden, slow implementation of half of Prolog."
The web site performance golden rule
OpenAI debuts mini version of its most powerful model yet
You're literally asking what is wrong with lies. Plenty, think about it.
There's an interesting bit about the Mandan tribe I've read about how dead floating bison were considered a delicacy [1]

>McKenzie observed something else as well. Once hauled from the water, the carcasses “were left for some time to Season into a flavor then carried home and at feasts are reckoned a great delicacy.” McKenzie found these ripened “float bison” revolting. But they were a delicacy – documented by many observers – for Missouri River peoples. The more rotten the flesh, the more appealing it was. “When the skin is raised you will see the flesh of a greenish hue, and ready to become alive at the least exposure to the sun,” McKenzie said, the meat, “so ripe, so tender, that very little boiling is required – the stench is absolutely intolerable.” The Indians preferred float bison “to any other kind of food.” It boiled up into a “bottle green” soup that the Mandans “reckoned delicious.” Indeed, McKenzie said, “so fond are the Mandanes of putrid meat that they bury animals whole in the winter for consumption of the Spring.”

I would love to know what kind of microbiome people have that can eat putrid meat. Or perhaps we all have that ability :)

[1] https://centerofthewest.org/2017/08/01/mandan-strong-spirits...
If you want to see something truly fascinating, take apart https://logtalk.org/ - it implements an OO system for prolog which gives you all sorts of advantages (the least of which being a not-terrible way of getting namespaces).

Reading "The Art of Prolog" and "The Craft of Prolog" was fun for me, as was learning how the Warren Abstract Machine works.

(I am not at all a prolog expert, merely a programmer who happens to be fascinated by it, so this is all dabbling on my end but hopefully provides some stuff that's fun to learn for you as well)
Come to Portland. We're due for a massive earthquake and you won't find much in the way of earthquake proofing. My house has straps and when it was renovated some adjustments were made to the structure. Around here, not everyone has that kind of money and our taxes are already incredibly high.
Ok but did you make sure she used Kubernetes to deploy? :)
Seriously her web page made me smile. Well done!