MurphyA/hacker-news huggingface dataset:
by showerst | 2025-04-21 14:22:10+00:00
Oh, good. All you have to do is happen to grow up somewhere with opportunities, move home for a great job, happen to have the house next door to your family's go on sale at an affordable price at a time you can afford it before having children, win the bidding process for it, and have the family never move and stay in good enough health to leave your baby monitor on in the background without nodding off, then have nothing happen to your kid that requires a fast response time.

Look, I'm all for creating community and building relationships with your neighbors, but this person lives a very privileged life and seems completely braindead to it.

Try to build a community where you can get friends to babysit once in a while. If you have a baby, go on your cruise with family or friends with a baby who can trade shifts with you and be on the same floor as the kid.
by rayiner | 2025-04-21 14:22:57+00:00
My parents lived there in the 1980s and we visited regularly in the 1990s, so yes, our perception is anchored in what was generally an optimistic time for the country. It's been sad to see what's happened recently. Thais are incredible people and don't understand why they can't seem to keep a functioning civil government lately. Maybe middle income trap is the explanation.
by dimonomid | 2025-04-21 14:23:04+00:00
That's true, as of today nerdlog doesn't use journalctl, and needs plain log files. There were a few reasons of that, primarily related to the sheer amount of logs that we were dealing with.

As mentioned in the article, my original use case was: having a fleet of hosts, each printing pretty sizeable amount of logs, e.g. having more than 1-2GB log file on every host on a single day was pretty common. My biggest problem with journalctl is that, during some intensive spikes of logs, it might drop logs; we were definitely observing this behavior that some messages are clearly missing from the journalctl output, but when we check the plain log files, the messages are there. I don't remember details now, but I've read about some kind of ratelimiting / buffer overflow going on there (and somehow the part which writes to the files enjoys not having these limits, or at least having more permissive limits). So that's the primary one; I definitely didn't want to deal with missing logs. Somehow, old school technology like plain log files keeps being more reliable.

Second, at least back then, journalctl was noticeably slower than simply using tail+head hacks to "select" the requested time range.

Third, having a dependency like journalctl it's just harder to test than plain log files.

Lastly, I wanted to be able to use any log files, not necessarily controlled by journalctl.

I think adding support for journalctl should be possible, but I still do have doubts on whether it's worth it. You mention that you don't want to store plaintext logs and using logrotate, but is it painful to simply install rsyslog? I think it takes care of all this without us having to worry about it.
by bayindirh | 2025-04-21 14:23:16+00:00
The word enemy, by definition and function, is spot on, because its presence triggers the primal instinct: Staying alive, no matter what.

Being in that mode opens a window to yourself no other state can open. You'll find what makes you tick, and what you are prepared to go through to make out alive in this situation.

You'll be tested in your might, intelligence and more importantly, ethical and moral limits.

The saying "You don't know how much violence it took for me to be this gentle." has roots in this perspective, so as my favorite quote from Murakami:

> And once the storm is over, you won’t remember how you made it through, how you managed to survive. You won’t even be sure, whether the storm is really over. But one thing is certain. When you come out of the storm, you won’t be the same person who walked in. That’s what this storm’s all about.
by anonym29 | 2025-04-21 14:23:26+00:00
If the consequences for following through with a poorly-planned pregnancy are so tragically high for the children, why do we not simply restrict and have licensing requirements for the privilege to have children?

We use the power of the state to protect kids from alcohol, drugs, tobacco, mature content, etc. Why not use the power of the state to protect kids from poverty?

We don't let people operate automobiles on public roads, forklifts, practice medicine, sell insurance, manage investments, perform plumbing work, become a teacher, or even become a surveyor, an interior designer, or a hairdresser in many states without an evaluation of their competency and license from the state, why should the ability to become a parent be treated with less scrutiny than the ability to become a hairdresser or an interior designer?

If harm reduction is the primary operating principle here, isn't the unrestricted ability to have kids in direct opposition to that goal? There are objectively wrong and dangerous/harmful ways to parent (physically abusing kids, starving them, emotionally neglecting them, etc) just as there are objectively wrong and dangerous/harmful ways to operate a car (not following speed limits, not following traffic control devices, reckless driving), no?

Why is it perfectly fine for the state to restrict someone from selling insurance on the grounds of harm reduction, while there are no state restrictions whatsoever on parenthood?
by gwbas1c | 2025-04-21 14:23:59+00:00
I've been "on the other side," part of a big corporation forking an open-source project. In Laine's case, what I would suggest is to focus more on what Microsoft added and changed; try to understand why they did that; and see if you can get any value bringing it back into your project.

(IE, don't let your ego run away.)

Why?

In my case, I was working for an industry-leading product that required a bit of reverse-engineering into MacOS. We got stuck on a new release of MacOS, so we did a bit of digging and found an open-source project that successfully reverse-engineered what we were trying to do.

(Basically, integrating in the right-click menu in Finder required reverse engineering prior to 2014; and every version of MacOS required redoing the reverse engineering.)

It was a legal grey area to copy how the open-source project reverse engineered MacOS, so I reached out to the open-source project and tried to collaborate. We exchanged a few emails and then I found a problem...

Basically, their solution had rather large memory consumption in Finder if the user had very large folders. Our customers had very large folders. (Edit, 200,000+ files were common.) We still wanted to collaborate, so I proposed a fix that fixed the problem.

But, then "radio silence" from the original authors. We forked and complied with the license. I always hoped they never begrudged us.

(Ultimately, Apple released an API so we didn't have to reverse engineer MacOS.)
by exceptione | 2025-04-21 14:24:07+00:00
* Bluesky is from the same people that launched Twitter and, optics aside, just the same ideology. There is no real deep divide on values. It is about locking up people in echo chambers, information filtering and ultimately ripping out people's ability to organize around a common good.

There is only one danger for the 0.1%. The 99,9%.

* The people that got disturbed by Twitter's boosting of extremists and nazis, now took refuge to bsky. Only to get ripe for the next iteration. But see how many people are still on X, increasingly less aware of the abnormality they are drowning in.

This playbook of cultural engineering should be super clear by now. Ad tech => Private Intelligence.

* How to sell it? Invest in narratives that bend the notion of free trade in order to instill rigid beliefs about Free Markets. Now look at the free markets. :) It only takes you a few million bucks and a dinner to set your company free.

Like parent hinted at, "social media" means the opposite for society.
by rightbyte | 2025-04-21 14:24:10+00:00
The clique on pub B might talk down on the clique on pub A without any motivation but not B.

Someone that doesn't notice that he is "hated" might also be susceptible to such low key social manipulation to be made believe he is hated.

But ye, as I am not in clique A or B there is a lot of guesswork on my part and I cam't argue against someone else's story. I am just trying to bring up the possibility of bad mouthing.
by cthalupa | 2025-04-21 14:24:12+00:00
I don't want to get someone pregnant. If I can take a pill to largely ensure this is the case, I'm going to take a pill.

Hell, if I'm engaging in casual sex, I'm going to take both the pill and wear a condom. I've had condoms break and not notice it immediately - thankfully never at the point where I've reached climax, but I could see it happening.
by gruez | 2025-04-21 14:24:18+00:00
>Every request for TikTok forces you to pass most of the information that browser can collect from the end-user before server responds:

Half of the parameters are stuff relating to the app itself, or could be inferred from other sources like user-agent. The other fingerprinting stuff (eg. canvas or webgl fingerprinting) is basically industry standard and by no means unique to tiktok. Even the claim that "browser can collect from the end-user before server responds" doesn't hold up to scrutiny, because there's no meaningful difference between that, and browser check interstitials (eg. the cloudflare checkbox), which fingerprint you before letting you access the content. It's also unclear how that's more sinister than the alternative approach of sending telemetry/fingerprinting data to a separate endpoint.
Show HN: I Open-Sourced My AI Toy–ESP32, OpenAI Realtime API on Deno, Supabase
by akadeb | 2025-04-21 14:24:18+00:00
This project is built with Vercel, Supabase, Deno, Arduino. It helps you run a secure websocket on the ESP32 using Deno edge functions on Arduino + Platform IO.

It has built in use of Opus that gives you up to 10 minutes of smooth conversations globally. I built this because OpenAI's realtime WebRTC ESP-IDF project was too complex. This project is easy to get started and to deploy your AI ESP32 based toys in the real world. I appreciate any feedback
by Workaccount2 | 2025-04-21 14:24:23+00:00
I reckon this can kind of be related to landing an easy comfortable job, where you just are tasked with maintaining the same project day after day for years. Eventually you realize your skills that made you capable in your field have withered and died, and you have a latent fear now that if you lose your job, you wouldn't be able to perform well at all in a more typical active role. Skill rot is definitely a real thing.

As LLMs become more and more capable, people will lean on them more and more to do their job, to convert their job from an active role to a passive "middle-man-the-LLM" role.
by nickjj | 2025-04-21 14:24:26+00:00
I'm already using Docker for many other things. Launching an ephemeral versioned Debian, Ubuntu or Arch container that's officially supported is a 1 second operation.

I never used Incus before to know if it has other benefits but Docker solves my use case. Before Docker existed I used to do this with LXCs back when I ran my entire dev environment in a Linux VM.
by potato3732842 | 2025-04-21 14:24:27+00:00
This is an exceptionally ignorant viewpoint.

A business that is privately owned, is run by its founders and which represents the lion's share of its officers income and net worth can be dealt with like any other small business.

Some guy who makes bespoke firmware for industrial microcontrollers or very niche audio encoding software isn't Microsoft. You won't be able to do business with him in a useful way if you treat him like Microsoft.
by reincoder | 2025-04-21 14:24:33+00:00
Oh, absolutely not — I have to respectfully but strongly disagree with that sentiment.

In cybersecurity, decisions must be guided by objective data, not assumptions or biases. When you’re facing abuse, you analyze the IPs involved and enrich them with context — ASN, country, city, whether it’s VPN, hosting, residential, etc. That gives you the information you need to make calculated decisions: Should you block a subnet? Rate-limit it? CAPTCHA-challenge it?

Here’s a small snapshot from my own SSH honeypot:

Summary of 1,413 attempts

- Hosting IPs: 981 (69%) - VPNs: 35 - Top ASNs: - AS204428 (SS-Net): 152 - AS136052 (PT Cloud Hosting Indonesia): 83 - AS14061 (DigitalOcean): 76 - Top Countries: - Romania: 238 (16.8%) - United States: 150 (10.6%) - China: 134 (9.5%) - Indonesia: 115 (8.1%)

One single /24 from Romania accounts for over 10% of the attacks. That’s not about nationality or ethnicity — it's about IP space abuse from a specific network. If a network or country consistently shows high levels of hostile traffic and your risk tolerance justifies it, blocking or throttling it may be entirely reasonable.

Security teams don’t block based on "where people come from" — they block based on where the attacks are coming from.

We even offer tools to help people explore and understand these patterns better. But if someone doesn’t have the time or resources to do that, I'm more than happy to assist by analyzing logs and suggesting reasonable mitigations.
by tomsmeding | 2025-04-21 14:25:16+00:00
EDIT: Wrong, the Haskell code is linear. See child comments.

The extra cost is not in the recursive calls, of which there is only one per returned number. The cost is in achieving a yielded value n by starting with 1 and adding 1 to it (n-1) times. The given Haskell code:

ints = 1 : map (+1) ints

has the exact same problem, and it's just as quadratic. It might have a somewhat better constant factor, though (even apart from Python being interpreted) because there's less function calls involved.
by giraffe_lady | 2025-04-21 14:25:26+00:00
I guess I get to be the one who brings this up this time. The luddites were not strictly against the technological changes, they were a labor movement protesting how capital owners were using a new technology to dispossess workers who had no viable alternatives.

As this is also one of the major risks of AI, one that has already come to bear directly, there's a lot we can take from their movement when we don't dismiss it as shorthand for "being wrong about technology."
by sarchertech | 2025-04-21 14:25:55+00:00
In terms of what your local CPS might think is neglect, you’re 100% right. And I personally wouldn’t do because it feels a bit off.

But if I think through it rationally, the risk of a bad outcome with my next door neighbor watching the baby monitor vs the baby upstairs while my wife and I watch something 2 floors down in the home theater room (with the baby monitor next to us) is virtually the same. I see no problem with the 2nd scenario, so I should probably be ok with the first.
by xfeeefeee | 2025-04-21 14:25:59+00:00
All credit should go to Lukas https://github.com/LukasOgunfeitimi

I was sharing this here since I thought it was a great write up, but did not intend to pass it off as my own!

There is certainly always a good amount of push and pull, though my personal concern as a contributor to yt-dlp under another alias is more about archival of the underlying media rather than automating things like comments.

YouTube also uses an interesting scheme for authenticating requests for media as well which required implementing a very basic JavaScript interpreter within Python for yt-dlp too. I expect this kind of thing to continue to become even more common and complicated.
by croemer | 2025-04-21 14:26:00+00:00
Forking might be the wrong word, what happened here looks more like (somewhat obfuscated) plagiarism.

I analyzed the 2 repositories for copy/pasted lines using PMD's CPD (copy/paste detector) - using the first commit of peerd and one from spegel that was from around the same time.

There are some clear duplications, e.g. 178 lines here: https://github.com/Azure/peerd/blob/64b8928943ddd73691d0b5d8... correspond to this: https://github.com/spegel-org/spegel/blob/ed21d4da925b9a179c...

Also 44 lines here: https://github.com/spegel-org/spegel/blob/ed21d4da925b9a179c... and https://github.com/Azure/peerd/blob/64b8928943ddd73691d0b5d8... but the full files are almost identical, only a few edits that break the complete equality.

Also https://github.com/spegel-org/spegel/blob/ed21d4da925b9a179c... matches https://github.com/Azure/peerd/blob/64b8928943ddd73691d0b5d8...

I haven't looked deep enough to see how much of the differences are obfuscation and how much are meaningful changes. File names are all changed, many structs and variable names as well.

See this gist for full list of duplications: https://gist.github.com/corneliusroemer/c58cf0faf957d9001b58...
by giantg2 | 2025-04-21 14:26:00+00:00
The author clearly doesn't know what they're talking about and doesn't have a mind for the law or for safety in general. Being in a separate building and watching a monitor is not safe. This doesn't allow for monitoring of unsafe conditions such as fires, nor is the reaction time reasonable for things like if they climb out of their crib or get out of bed (if they aren't an actual baby). The person should be on the same property. Depending on jurisdiction? There will be legal problems if they aren't.
by ndiddy | 2025-04-21 14:26:54+00:00
It's not required, but it's generally safer to put a notice saying who owns the copyright and what license the file is released under at the top of each file. Some licenses like MIT, the BSD licenses, Zlib, etc are short enough that you can include the full license text in the notice, and others like GPL provide sample copyright header text to include. Here's an example of this from a random file in the SDL source code: https://github.com/libsdl-org/SDL/blob/main/src/video/SDL_bl...

Obviously Microsoft is still committing copyright infringement and in the wrong here. However, if the author had copyright notices in each file and then Microsoft stripped them out or changed the copyright information, it would make it harder for them to brush it off with "oops, we forgot to commit the correct LICENSE file" like I'm sure they'll do here.
by bornfreddy | 2025-04-21 14:27:03+00:00
Yup. But then you also limit the usage of your software in enterprises which do not try to compete with you. There are a number of licenses which tried to solve this exact problem (cloud protection licenses / fair licenses / ...), for example Commons Clause, but community usually doesn't accept them nicely, at least I don't know of a case where they were welcomed. Not sure why, maybe because most of such projects go from FOSS to fair license instead of starting with one? Anyway, to me it looks like opensource licenses nowadays serve mostly the interests of Big Tech and not those of regular users.
by vel0city | 2025-04-21 14:27:56+00:00
A knob is way more annoying than the single button modes on my GE Profile.

I put whatever leftovers in there. Pasta, chicken and rice, soups, BBQ, doesn't matter. I lightly cover it. Press Reheat. Perfect every time. I don't have to judge how much to turn two knobs.

Same goes for potatoes. Stab it with a fork a few times, butter and salt the outside, toss them in and press "Potato". Perfect baked potato every time.

Same goes for steaming veggies. Frozen or fresh, doesn't matter. Toss them in a bowl, put a bit of water/butter/seasonings in it, lightly cover, press Vegetable, and boom perfectly steamed veggies.

The one-touch sensor modes on my microwave are fantastic. And this is a 20-year-old microwave, so it's not like adding this tech made it less reliable. I'll be sad if I ever need to have a different microwave.
by steve_adams_86 | 2025-04-21 14:28:21+00:00
Lots of things come from the earth for sure, but I think soil is worth distinguishing from the sources of silicon wafers and lithium batteries.

Soil is a living, breathing, hospitable community of earth, fungi, insects, water, and countless other organisms. You can’t make silicon wafers from it, but it’s the cornerstone of entire ecosystems. It might be one of the most precious yet overlooked natural resources
by wavemode | 2025-04-21 14:28:34+00:00
Not a direct solution to your problem, but people should definitely consider Apache over MIT when reaching for a permissive license. In addition to being more robust about things like, notifying users of modifications that have been made to the original source code, it also explicitly requires that forkers maintain the NOTICE file in its entirety, and distribute that file to users receiving copies of the software (whether source or binary copies).

Even if megacorp does nothing else for you, that NOTICE file can at least contain information about who you are as the original author, links to your website, etc.
by elevatortrim | 2025-04-21 14:28:55+00:00
Why would it be a tooling issue? AI has access to email, IDEs, and all kinds of systems. It still cannot go and build software on its own by speaking to stakeholders, taking instructions from a PM, understanding it needs to speak to DevOps to release its code, suggesting to product team that feature is better developed as part of core product, objecting to SA about the architecture, and on and on…

(If it was a tooling issue, AGI could build the missing tools)
by crazygringo | 2025-04-21 14:29:02+00:00
> or the code expects a Template, in which case passing it a string would blow it up.

That's where the problem is though -- in most cases it probably won't blow up.

Plenty of SQL queries don't have any parameters at all. You're just getting the number of rows in a table or something. A raw string is perfectly fine.

Will sqlite3 really disallow strings? Will it force you to use templates, even when the template doesn't contain any parameters?

You can argue it should, but that's not being very friendly with inputs, and will break backwards compatibility. Maybe if there's a flag you can set in the module to enable that strict behavior though, with the idea that in a decade it will become the default?
by aaronbaugher | 2025-04-21 14:29:43+00:00
When my girlfriend told me on our first date that she doesn't use social media, I nearly proposed on the spot.

And even she does some doom-scrolling though news sites. She claims to know it's mostly nonsense, and then says she has to do it to know what's going on. I try not to point out the contradiction too much, because she does limit it pretty well.
by fp64 | 2025-04-21 14:29:48+00:00
I’m using python since version 1 my friend, no need to get personal and insulting. I gave an example of something that is not defined properly in a PEP as well. I really do not like python, and one of the reasons is that is encourages writing of what I believe is code that is harder to understand and harder to maintain for people who didn’t write it. There’s nothing wrong with Haskell, but it has a rather steep learning curve when you’re not coming from functional programming and if you embrace patterns like this you put extra burden on your colleagues.
by lobsterthief | 2025-04-21 14:29:59+00:00
I believe knowledge is what you know based on facts and experience; wind sensors could gather data and store it in a database without a human touching it beyond initial setup. With enough data, and basic information about where the sensors are located, the computer becomes very knowledgeable about wind in a region without human intervention.

I believe intelligence goes beyond that: knowing that such a system is a solution to an observed problem, architecting said system, using the output to solve a problem, analyzing the results, and deciding where to deploy additional systems.

I think both examples above can be done by AI (if not now, then soon)—but only after being prompted carefully by a human. However, a generalized AI that can do all of the above for any problem in the known universe is likely very far off.