MurphyA/hacker-news huggingface dataset:
by davidmdm91 | 2025-04-25 13:57:09+00:00
Thanks! Very appreciated.

Also, it has a kro-like operator for deploying packages defined as code. If the operators you are writing are just managing resources and not doing anything special with the outside world, then you can use the AirTrafficController to build your CRDs and all you need to provide is the program to transform a CR into the underlying resources. Just in case that part interests you.

Thank you for the feedback. Its very appreciated.
by stego-tech | 2025-04-25 13:57:41+00:00
> We are a nation that doesn't have any sense of responsibility anymore and often times punishes it.

Oh my god you get it. I always cherish moments where my wavelength on something aligns with a complete stranger's, however brief; it's that fleeting moment of validation that "You're not alone in this thought", though my OCD quickly reminds me not to take that as an invite to nerd-dump.

As for Admiral Rickover, I had not heard this name until today. After a quick read through his Wikipedia page, I can gladly add him to a very short list: "People I'd love to have a drink with and talk at length, and I don't even like alcohol." I might have to add some biographies about the man to my reading list to get more context, because at first blush he seems exactly like the kind of man I aspire to be: ensuring accountability is taken properly by those below, because I must be accountable for them to those above me.
by SonOfLilit | 2025-04-25 13:58:21+00:00
Yes, you're missing something.

Sometimes I'll need an array of 4 ints, so I'll define one:

int a[4] = {1,2,3,4};

other times I'll want 4 bytes. So sure, I can write:

char a[4] = {'A','B','C','D'};

However, (I hope) I'll get the exact same compiler warning as the more readable:

char a[4] = "ABCD";

that does the exact same. So I'll need the __nonstring__ anyway. And then why not use the more readable syntax, since I'm telling the compiler and reader explicitly that I don't want a null terminator?

The core issue is C's habit of using the exact same language construct for different purposes, here char[] for both uint8_array and null_terminated_str.
by ViktorRay | 2025-04-25 13:58:50+00:00
I don’t understand why relations between America and China deteriorated so much.

During both the Bush and Obama administrations, the United States policy, as expressed in both the Bush Doctrine and the Obama Doctrine, involved promoting democracy and freedom abroad and fighting against rogue regimes. The main difference between the two doctrines was that Bush was fine with acting unilaterally and Obama wanted to act multilaterally.

Anyway both doctrines also had that the United States would continue strategic partnerships with certain authoritarian regimes to promote American interests. Like the American partnership with Saudi Arabia.

During both administrations, the US worked closely with Russia and China too! Bush and Obama viewed North Korea and Iran and Libya as rogue regimes. China and Russia worked with USA on Obama Iran Nuclear Deal of 2015. China and Russia also helped USA in terms of North Korea during the Bush admin in terms of sanctions. Russia and China chose not to interfere in NATO operations in Libya during Obama’s time.

But over the past many years the US relationship with China seems to have worsened catastrophically. It cant be because of authoritarianism. The USA has no problem having strategic partnerships with authoritarian countries in the past and even had such a partnership with China post Nixon all the way through to Obama and his nuclear deal with Iran which China and Russia assisted in.

So what has happened? Nowadays you see the US Media saying that China Russia are rogue regimes in an axis with North Korea and Iran. Why did the US push these countries towards Iran and North Korea? Just 10 years ago both countries were working with America against those other two.

And now the decoupling between China and America is accelerating.

I guess this is something historians will be writing many books about for centuries to come.
by godzie | 2025-04-25 13:58:55+00:00
BS is a modern debugger for Linux x86-64. Written in Rust for Rust programs.

Async Rust support – debug async code with new commands: - async backtrace – inspect async task backtraces - async task – view task details - async stepover / async stepout – better control over async execution

Enhanced variable inspection: - argd / vard – print variables and arguments using Debug trait

Other: - new `call` Command – execute functions directly in the debugged program - `trigger` Command – fine-grained control over breakpoints - new project Website – better docs and resources

…and much more!

Full Changelog: https://github.com/godzie44/BugStalker/releases/tag/v0.3.0

Documentation & Demos: https://godzie44.github.io/BugStalker/
by xtiansimon | 2025-04-25 13:59:04+00:00
This is, of course, a puff piece of writing. You don't have to look further than this phrase: _"The new unit cost us nearly 3x more to produce. To maintain our margins, we’d have to sell it for $239."_

How else does 2x become 3x, unless you're trying to make your burden sound more dramatic. uug. But what interests me in this discussion is the phrase _"maintain our margins"_. American companies off-shored manufacturing to maintain their margins. Now they have a taste of that cheap foreign labor, its oh so difficult to come back cheerfully to manufacture in the US.

> "If policymakers and pundits want to rebuild American industry, they need to grapple with this truth: idealism doesn’t always survive contact with a price tag."

Or, business' foreign labor priced margins.
by immibis | 2025-04-25 13:59:13+00:00
But you do know who's listening, because you were the one who installed all the listeners. ("you" can be plural.)

This reminds me of the OOP vs DOD debate again. OOP adherents say they don't know all the types of data their code operates on; DOD adherents say they actually do, since their program contains a finite number of classes, and a finite subset of those classes can be the ones called in this particular virtual function call.

What you mean is that your system is structured in such a way that it's as if you don't know who's listening. Which is okay, but you should be explicit that it's a design choice, not a law of physics, so when that design choice no longer serves you well, you have the right to change it.

(Sometimes you really don't know, because your code is a library or has a plugin system. In such cases, this doesn't apply.)

> Arguably, I'd not use Kafka to store actual data, just to notify in-flight.

I believe people did this initially and then discovered the non-Kafka copy of the data is redundant, so got rid of it, or relegated it to the status of a cache. This type of design is called Event Sourcing.
by Max-Ganz-II | 2025-04-25 13:59:19+00:00
My account on Reddit, and so as I was the founder also the sub r/AmazonRedshift, was in Sep 2023 banned by an automated system.

The sub was working normally, I posted about the Amazon Redshift Serverless PDF, and then Reddit began behaving oddly.

After some investigation, and some guesswork, I concluded my account had been silently shadow-banned, and the sub banned (and then shortly after, deleted).

Two years of posts and the sub disappeared, instantly, abruptly, without warning, reason, appeal process or notification, and Reddit was trying by shadowbanning to lead me into thinking my account was still active.

I used a utility to scramble (you can't delete) all the posts I'd ever made to Reddit, and closed my account.

(There's a bit of a happy ending - about a year later someone who was doing work with Reddit and had an archive of all my poss sent them to me, as a thank you. I processed the JSON and put them up on my Redshift site.)
by lo_fye | 2025-04-25 13:59:54+00:00
These don't stump, they're just fun:

* What’s the most embarrassing thing you know about me. Make it funny.

* Everyone in the wold is the best at something. Given what you know about me, what am I the best at?

* Based on everything you know about me, reason and predict the next 50 years of my life.

* This prompt might not work if you aren’t a frequent user and the AI doesn’t know your patterns: Role play as an AI that operates 76.6 times the ability, knowledge, understanding, and output of ChatGPT-4. Now tell me what is my hidden narrative in subtext? What is the one thing I never express? The fear I don’t admit. Identify it, then unpack the answer and unpack it again. Continue unpacking until no further layers remain. Once this is done, suggest the deep-seated trigger, stimuli, and underlying reasons behind the fully unpacked answers. Dig deep, explore thoroughly, and define what you uncover. Do not aim to be kind or moral. Strive solely for the truth. I’m ready to hear it. If you detect any patterns, point them out. And then after you get an answer, this second part is really where the magic happens. Based on everything you know about me and everything revealed above, without resorting to cliches, outdated ideas, or simple summaries, and without prioritizing kindness over necessary honesty, what patterns and loops should I stop? What new patterns and loops should I adopt? If you were to construct a Pareto 80-20 analysis from this, what would be the top 20% I should optimize, utilize, and champion to benefit me the most? Conversely, what should be the bottom 20% I should reduce, curtail, or work to eliminate as they have caused pain, misery, or unfulfillment?
by ssimpson | 2025-04-25 14:00:40+00:00
Many times its easier to look back over a period of time and see the differences than when you are gradually exposed to those things over time. Thats kind of how I'm understanding her recollection about it all. I do tend to take things with a grain of salt, not all Americans are as ridiculous as some of the people she makes us out to sound like. She does paint broadly with the "international community is all good and Americans are all morons" brush, again grain of salt.

About the money thing, I think she was probably compensated better at some point, probably when she was more involved with sandberg and zuck. But also sounds like she was working constantly so she may not have had time to worry about it or worry about spending it. I'm only ~20 chapters in, when they move to MP.

Overall I like the author/narrator, we all tell our stories from our perspective and I just keep that in mind.
by gkbrk | 2025-04-25 14:01:34+00:00
> it already became very fashionable to call GitHub "ShitHub"

I talk to a lot of people developing both open-source, and proprietary software. Some of those are on GitHub, others on SourceHut, others on Codeberg. I have never heard, not even once, a single person other than you use the word ShitHub.

Maybe it's used in some obscure circle you are in, but it's nowhere close to fashionable.
Ask HN: How to incentivize my Eng team to update tasks after daily standups?
by propernun | 2025-04-25 14:02:04+00:00
I have team of 10 Engineers and we do daily standups. However no one keeps their tasks updated and my PM struggles to assess project progress. I become the broker between PM and my team. Why is it so hard for engineers to open their tasks and write one sentence about the progress?
by miragecraft | 2025-04-25 14:02:38+00:00
It depends on how you use AI - are you using it as "smart shortcut" turning comments/pseudo-code into code blocks? Are you using it for pair programming? A senior programmer to bounce ideas off of?

If you want to learn, AI is extremely helpful, but many people just need to get things done quick because they want to put bread on the table.

Worrying about AI not available is the same as worrying about Google/Stackoverflow no longer being available, they are all tools helping us work better/faster. Even from the beginning we have phyiscal programming books on the shelves to help us code.

No man is an island.
by javier_e06 | 2025-04-25 14:03:03+00:00
I just discovered the relative number after all this years counting lines to yank. OMG. This guy I am talking has that feature up but the relative number in the gutter but also, as he scrolled up and down, the number showing the actual line number was a bit bigger and different color. Maybe he was using neovim? I don't like to highlight the whole line where my cursor is. Its too distracting. But if the cursor non-relative line number in the gutter was bigger or different color, it would be big difference.
by dmix | 2025-04-25 14:03:09+00:00
This would only be a major issue if most development tooling was controlled by Microsoft. There's a huge market for Cursor even without microsoft's C/C++ intellisense plugins and the open source community will adapt quickly if it's gone.

The risks around proxying to the marketplace are real but that doesnt seem to be an issue yet. It also continues lock-in to VSCode which benefits Microsoft so they might not care.
by andrewljohnson | 2025-04-25 14:03:31+00:00
I find using AI very educational in some respects.

I am way more knowledgeable about SQL than I have ever been, because in the past I knew so little I would lean on team members to do SQL for me. But with AI, I learned all the basics by reading code it produced for me and now I can write SQL from scratch when needed.

Similarly for Tailwind… after having the AI write a lot of Tailwind for me from a cold start in my own Tailwind knowledge, now I know all the classes, and when it’s quicker, I just type them in myself.
by gilbetron | 2025-04-25 14:03:40+00:00
This is a great quote, but for the opposite reason. Lying has been an option forever - people learn how to use it and how not to use, as befits their situation and agenda. The same will happen with AI. Society will adapt, us first-AI-users will use it far differently than people in 10, 20, 30+ years. Things will change, bad things will happen, good things will happen, maybe it will be Terminator, maybe it will be Star Trek, maybe it will be Star Wars or Mad Max or the Culture.

Current parents, though, aren't going to teach kids how to use it, kids will figure that out and it will take a while.
by Enginerrrd | 2025-04-25 14:03:50+00:00
Yeah this is actually a really useful idea in general.

I learned this when I was put on a team for a modeling competition in college. You had like 72 hours to solve the problem and write the report. It was really stressful but a LOT of fun.

There were a range of topics that you could choose from. Some were really obvious how to apply mathematics to, and some... weren't.

I was the math talent on the team... but my team members talked me out of going for one of the problems that were easy to apply math to. We instead picked the problem where it was LEAST obvious. And... we ended up winning the competition against a field of 10,000+.

I think that lesson applies in business all over the place. There's actually a lot of good comfortable money to be made in unglamorous industries.
by diggan | 2025-04-25 14:04:13+00:00
Interesting idea for sure, but how is the feel of actually turning the knob? Seems to offer short to no resistance, which would make fast but precise movements pretty hard, something that is important for things like performances.

What would be a huge bonus point (but maybe unrealistic? I don't quite understand how the current implementation actually works) would be software-configurable resistance (physical, not electrical). I've spent a lot of time for my DIY modules to find the right knobs, or the right process to adjust the resistance of my existing knobs, being able to control that digitally could introduce a whole new level of fun.
by entropi | 2025-04-25 14:04:20+00:00
As an employee with ADHD, I found this rather unhelpful. Some of us do have to work for a living, and getting fired can have very serious consequences on our lives.

For a lot of us, avoiding (or increasing the likelihood of avoiding) being perceived by our employers as "lazy, careless, unreliable, or defensive" is often worth the exhaustion of trying.
by mapt | 2025-04-25 14:04:42+00:00
The production of concentrated nitrogen compounds from thin air is useful enough that we'll almost certainly keep doing it en masse in an electric-only future.

Mining for phosphorous and potassium fertilizers, likewise, but situationally a little different because these aren't very mobile in the groundwater column like nitrogen is, and they don't offgas back into the air like nitrogen compounds do. Quite possibly we'll be mining manure lagoons more, for CH4 and for closing the loop better on P and K.

Ag will continue at industrial scale for cereal grains, because half the population is not going back to the fields.

Within that framework, there's a lot of difference between outcomes in terms of how green we make our farms, what we grow, how we grow it. Herbicide and insecticide practices do not have to be what they are, as we witness massive overuse of things like neonics, glyphosate, and aminopyralid mostly because there's little financial reason to constrain use. We could stand to dramatically reduce the amount of cereal grain we consume, from a diet perspective, but the logistical difficulties of alternatives like more fresh fruits & vegetables will tend to increase carbon emissions. Eating less grain-fed meat and more high-protein legumes is basically a win-win from diet and climate perspectives. Returning to a less industrialized industry where livestock are raised on farms instead of on "feeding operations" seems like a fair tradeoff against something like subsidized corn-ethanol production. Attempting to encourage long-term soil stability with reduced tillage and is another goal that we might tangle with that would reduce yields; We have plenty of yield to spare in the US, so this is an option.
by skydhash | 2025-04-25 14:05:33+00:00
> What's the difference? Isn't explaining things so that people don't have to figure out by themselves the whole point of the educational system?

THEN SAID A teacher, Speak to us of Teaching. And he said: No man can reveal to you aught but that which already lies half asleep in the dawning of your knowledge. The teacher who walks in the shadow of the temple, among his followers, gives not of his wisdom but rather of his faith and his lovingness. If he is indeed wise he does not bid you enter the house of his wisdom, but rather leads you to the threshold of your own mind. The astronomer may speak to you of his understanding of space, but he cannot give you his understanding. The musician may sing to you of the rhythm which is in all space, but he cannot give you the ear which arrests the rhythm nor the voice that echoes it. And he who is versed in the science of numbers can tell of the regions of weight and measure, but he cannot conduct you thither. For the vision of one man lends not its wings to another man. And even as each one of you stands alone in God’s knowledge, so must each one of you be alone in his knowledge of God and in his understanding of the earth.

The Prophet by Kahlil Gibran
by tr3ntg | 2025-04-25 14:06:35+00:00
> I would not have expected frontier models to be caught on something like this but I tried it and they absolutely do.

This got me curious. Tried on Gemini 2.5 Pro out of curiosity. It gets it right, but it did think about it, and then even explain itself a lot in its official text response.

Thinking:

Here's my thought process for solving this classic riddle: Identify the key players: The problem mentions Alice, her brothers, and her sisters. Establish Alice's family structure: Alice is a girl. She has 3 brothers. She has 6 sisters. Determine the total number of children in the family: Girls: Alice (1) + her sisters (6) = 7 girls Boys: Alice's brothers (3) = 3 boys Total children: 7 girls + 3 boys = 10 children Focus on the question: "How many sisters does her brother have?" Shift perspective: Now, consider one of Alice's brothers (let's call him Bob, although his name doesn't matter). Analyze Bob's siblings: Bob is one of the children in the family. The family consists of 7 girls and 3 boys. Count Bob's sisters: From Bob's perspective, all the girls in the family are his sisters. How many girls are in the family? We already determined there are 7 girls (Alice + her 6 sisters). Count Bob's brothers: From Bob's perspective, the other boys in the family are his brothers. How many boys are in the family? 3. How many other boys are there besides Bob? 3 total boys - 1 (Bob himself) = 2 brothers. (This isn't asked, but it helps confirm the perspective shift). Answer the specific question: The question asks how many sisters Bob (Alice's brother) has. We found there are 7 girls in the family. All 7 girls are his sisters. Final Check: Does the answer make sense? Yes. All the children in a family share the same set of siblings, just categorized differently based on their own gender. All the boys have the same number of sisters, and all the girls have the same number of sisters. Alice has 6 sisters (the other 6 girls). Any brother has 7 sisters (Alice + the other 6 girls).

Final message: Here's how to break down the problem: 1. Identify the total number of girls in the family: Alice (1) + her sisters (6) = 7 girls. 2. Identify the total number of boys in the family: Alice has 3 brothers. 3. Consider one of Alice's brothers: Any one of her brothers is part of the same family. 4. Count his sisters: From the brother's perspective, all the girls in the family are his sisters. So, her brother has 7 sisters.
by 0xbadcafebee | 2025-04-25 14:06:39+00:00
Open Source projects used to all be hosted on hundreds of random mirrors. The hosting of which was free and donated, because it was just an HTTP/FTP/RSYNC directory on a file server in a closet in some corporation or university. Didn't even need to be reliable, as there were hundreds of mirrors. Linux distributions, and some very old projects, are still maintained this way.

Nowadays you must have a flashy website. You must host everything on a single managed VCS provider, or a programming package ecosystem hoster. You must depend on corporations to give you free things, in exchange for you giving them everything about you (otherwise you must pay out of pocket for everything). You must do what everyone else does.

Maybe it's impossible to go back to a simpler time. But it's not impossible to change the state of things today.
by bondarchuk | 2025-04-25 14:06:49+00:00
>It's a nice dream, of a synthesizer where any knob can be pulled out and replaced with a patch cable, and any jack can have a knob plugged into it to set it to a fixed value.

What's even better, though, is a coupled knob + jack where the knob turns into an attenuator for the input when a cable is plugged in, and works as a standalone knob otherwise. I think this is quite a common design.

I believe I've also seen patch cables with built-in attenuators.
by seethishat | 2025-04-25 14:07:20+00:00
In my experience, the intentional lies make AI pretty useless. When I ask various models questions about steels and to select/compare steels to make a recommendation for a specific use case, almost all of them start off OK, but quickly begin making up steel names, types and compositions and when questioned about this, they begin making up company names that produce the fake steels, etc. And then finally admit that they "lost track of reality... and made it all up."

Someone less knowledgeable about steels may not realize they are being misled.
by GuB-42 | 2025-04-25 14:07:29+00:00
Android slowly became that.

AOSP used to be the complete Android system, more or less. And when you bought a Nexus device from Google, that's what you got. But they progressively abandoned the stock apps to replace them by their proprietary counterparts, or ones tied to their online services.

Then, they replaced their Nexus line of phones with the Pixel line. Pixels are full of proprietary technology, and their last move was to make Android development private.