MurphyA/hacker-news huggingface dataset:
by Kuyawa | 2025-05-05 01:35:34+00:00
Or this:

<body> <include src="header.html"></include> <main> <h1>Hello includes</h1> </main> <include src="footer.html"></include> </body> <script> (async function include(){ const objs = document.getElementsByTagName('include') const tags = Array.from(objs) for(tag of tags){ const src = tag.getAttribute('src') const data = await fetch(src) const html = await data.text() tag.outerHTML = html } })() </script>

* beware autoclosing tags won't work
by rnd0 | 2025-05-05 01:35:47+00:00
I'm worried on a personal level that it's too easy to begin to rely on chatgpt (specifically) for questions and such that I can figure out for myself. As a time-saver when I'm doing something else.

The problem for me is -it sucks. It falls over in the most obvious ways requiring me to do a lot of tweaking to make it fit whatever task I'm doing. I don't mind (esp for free) but in my experience we're NOT in the "all the right answers all of the time" stage yet.

I can see it coming, and for good or ill the thing that will mitigate addiction is enshittification. Want the rest of the answer? Get a subscription. Hot and heavy in an intimate conversation with your dead granma wait why is she suddenly singing the praises of Turbotax (or whatever paid advert).

What I'm trying to say is that by the time it is able to be the perfect answer and companion and entertainment machine -other factors (annoyances, expense) will keep it from becoming terribly addictive.
by dangus | 2025-05-05 01:36:28+00:00
I think moderation is key. With a modern smartphone with a camera button, it’s not a burden to take a few quick pictures while still being in the moment.

I certainly enjoy having a few pictures and maybe a short video of a concert to help stimulate my brain later on when I’m reflecting on the experience. But then I put my phone down and enjoy myself, and to try to not be rude to anyone else (and I hold my camera no higher than my face).

I also think that with modern stabilization it’s easy to be taking decent videos while not being too focused on operating your camera.

The biggest challenge I have with this technological age is that even healthily moderate documentation becomes a data management nightmare. It feels like I’m constantly deleting irrelevant photos and pruning my library and it’s still far too big.
by ValdikSS | 2025-05-05 01:36:50+00:00
No prob! Hope we'll all get great 2D printer some day, from Framework or other user-facing company!

It's not that impossible than you may think: several Chinese companies have their own domestic laser printers, claiming of in-house components and development (Cumtenn, ZoneWin), and one company does inkjet printers in addition to lasers (Deli Printer).
by stego-tech | 2025-05-05 01:37:41+00:00
That packing list is honestly why I’m seriously considering the GFX100RF while I have a windfall available. That 100MP sensor allows so many possible shots via cropping, that additional lenses aren’t needed. The only downside is the lack of that sweet, sweet DoF for portraits, but seeing as how every one of my friends loathes being photographed, that doesn’t feel like a downside.
by jongjong | 2025-05-05 01:38:13+00:00
I was already a bit of an amateur conspiracy theorist before LLMs. The key to staying sane is to understand that most of the mass group behaviors we observe in society are rooted in ignorance and confusion. Large scale conspiracies are actually a confluence of different agendas and ideologies not a singular nefarious agenda and ideology.

You have to be able to hold multiple conflicting ideas in your head at the same time with an appropriate level of skepticism. Confidence is the root of evil. You can never be 100% sure of anything. It's really easy to convince LLMs of one thing and also its opposite if you phrase the arguments differently and prime it towards slightly different definitions of certain key words.

Some agendas are nefarious, some not so nefarious, some people intentionally let things play out in order to set a trap for their adversaries. There are always risks and uncertainties. 'Bad actors' are those who trade off long term benefits for short term rewards through the use of varying degrees of deception.
by senectus1 | 2025-05-05 01:38:19+00:00
what is going on in the US gov IT?

They took an Israeli app, that is a modified version of signal. the modification BREAKS the one thing signal is excellent at (keeping your messages encrypted so that only the desired endpoints can read them), then distributed it within the US Gov.

This is insanity!

US's enemy's couldn't manufacture a better result themselves!
by jama211 | 2025-05-05 01:38:49+00:00
This is a lot of words of complaining instead of just changing the assignment specification to ask students to provide a prompt that they’d use, instead of asking them to regurgitate information. You get what you ask for mate, I don’t understand what’s so hard about this.

If your assignment can be easily performed by an LLM, it’s a bad assignment. Teachers are just now finding out the hard way that these assignments always sucked and were always about regurgitating information pointlessly and weren’t helpful tools for learning lol. I did heaps of these assignments before the existence of LLMs, and I can assure you that the busywork was mostly a waste of time back then too.

People using LLMs is just proof they don’t respect your assignment - and you know what, if one person doesn’t respect your assignment, they’re probably wrong. But if 90% of people don’t respect your assignment? Maybe you should consider whether the assignment is the problem. It’s not rocket science.
by lvspiff | 2025-05-05 01:38:58+00:00
Yes most hackathons are crap but I will say one I attend (or at least try to mostly due to how I work) is the HL7 FHIR Connectathons. Its for an altruistic purpose (making healthcare data easier to exchange) and there are always a slew of topics, vendors, visionaries, and options. You will have these 1-2 day sessions where people are trying out things hitting each others servers or clients. Its a worldwide consortium thing with both online and in person meetups. Its worth it if you are into the field.
by blintz | 2025-05-05 01:39:24+00:00
Call it the iron law of LLMs:

"No worthy use of an LLM involves other human beings reading its output."

If you use a model to generate code, let it be code nobody has to read: one-off scripts, demos, etc. If you want an LLM to prove a theorem, have it generate some Coq and then verify the proof mechanically. If you ask a model to write you a poem, enjoy the poem, and then graciously erase it.
by evil-olive | 2025-05-05 01:39:33+00:00
if you're working on a system simple enough that "SSH to the box and grep the log file" works, then by all means have at it.

but many systems are more complicated than that. the observability ecosystem exists for a reason, there is a real problem that it's solving.

for example, your app might outgrow running on a single box. now you need to SSH into N different hosts and grep the log file from all of them. or you invent your own version of log-shipping with a shell script that does SCP in a loop.

going a step further, you might put those boxes into an auto-scaling group so that they would scale up and down automatically based on demand. now you really want some form of automatic log-shipping, or every time a host in the ASG gets terminated, you're throwing away the logs of whatever traffic it served during its lifetime.

or, maybe you notice a performance regression and narrow it down to one particular API endpoint being slow. often it's helpful to be able to graph the response duration of that endpoint over time. has it been slowing down gradually, or did the response time increase suddenly? if it was a sudden increase, what else happened around the same time? maybe a code deployment, maybe a database configuration change, etc.

perhaps the service you operate isn't standalone, but instead interacts with services written by other teams at your company. when something goes wrong with the system as a whole, how do you go about root-causing the problem? how do you trace the lifecycle of a request or operation through all those different systems?

when something goes wrong, you SSH to the box and look at the log file...but how do you know something went wrong to begin with? do you rely solely on user complaints hitting your support@ email? or do you have monitoring rules that will proactively notify you if a "huh, that should never happen" thing is happening?
by bobmcnamara | 2025-05-05 01:39:47+00:00
Hawking radiation does not require an accretion disk.

Edit: with an accretion disk, I'd assume we'd have noticed it by now. Outside of that, as a black hole gets smaller, the hawking radiation wavelength should go down. It is rather weak overall, but it would be rather close. I haven't actually done the math, and, this is not my area of expertise. Would a relatively close by small black hole's hawking radiation be brighter than further X-ray emitters? Dunno.
by bigstrat2003 | 2025-05-05 01:40:22+00:00
And yet there is still value in facts. For example, learning the ideal gas law in high school has enabled me to understand in my adult life how gases will react when compressed or when released. Yet the ideal gas law is a simple fact that you can memorize in minutes. In this case, memorizing that small fact about physics enabled me to apply it to gain understanding of other situations.

I believe that the same holds true for other facts one might memorize. Yes, the fact may seem like meaningless trivia (and might even be so at times), but in the right situation knowing that fact can help with understanding. You can certainly spend too much time on memorization of facts, but that doesn't mean it has no place either.
by Philpax | 2025-05-05 01:40:47+00:00
I had a similar experience when I moved to Stockholm a few years after visiting for the first time. Looking over my photos from the original trip, it was delightful to recognise landmarks that I now had the context for, and to notice all the things that had changed - and those that had stayed the same! - in the intervening time.

In fact, my primary regret is that I didn't take more photos - there are things I remember visiting, like a specific cafe, that I don't think I'll ever be able to locate again because my memory is far fuzzier than the photographic record.
by Retric | 2025-05-05 01:41:00+00:00
Farmers were already using the cheapest source of energy, sunlight. Oil came late to the party here after plant matter and coal because it was slightly more convenient not because it has more energy.

Back in the day, wood powered tractors beat the fuck out of horses, and horses beat the fuck out of human labor because they could digest cellulose. Oil is just very slightly cheaper. Even today people heat their homes with both wood pellets and oil, meanwhile there’s cheaper alternatives.
by jama211 | 2025-05-05 01:41:22+00:00
Not to mention that if the teacher would rather read the prompt… then ask for the prompt then? This genuinely reads to me like “I asked for an apple and got an apple instead of an orange, hurr durr I’m so annoyed”.

Asking students for regurgitated info and then being annoyed because they supplied generic regurgitated info is somewhat telling an attitude no?
by paleotrope | 2025-05-05 01:41:49+00:00
When was the last recorded javelin volley? I think there is a suggestion of a historical transmission from the late Classic era to the early modern era and it was possibly archery. Not to mention crossbows.

One thing that I don't enjoy from COUP is he often demolishes ideas that approach strawman territory (is a barely coordinated order to start shooting a volley? or does it have to be something else), but I understand that from his perspective as a teacher, he has to disabuse his students of all the nonsense tropes they pick up from tv shows and movies.
by nextos | 2025-05-05 01:42:26+00:00
Aging. Increasing the healthspan, i.e. the proportion of healthy years everyone has before their body starts to decay, would unlock lots of good things.

You don't need unlimited resources to start. Some approaches, such as making sure the number of immune cells that clear senescent cells stays high as we reach 40 or 50, are not that complex and could be delivered within a decade, provided sufficient funding and focus. The biotechnology is there, but we need better data to design the interventions.
by degamad | 2025-05-05 01:42:49+00:00
>> I wonder if the OpenAI wave of resignations was about Sam Altman intentionally pursuing vulnerable customers.

> I don’t think Sam Altman said “guys, we’ve gotta vulnerable people hooked on talking to our chatbot.”

I think the conversation is about the reverse scenario.

As you say, people are just pulling the levers to raise "average messages per day".

One day, someone noticed that vulnerable people were being impacted.

When that was raised to management, rather than the answer from on high being "let's adjust our product to protect vulnerable people", it was "it doesn't matter who the users are or what the impact is on them, as long as our numbers keep going up".

So "intentionally" here is in the sense of "knowingly continuing to do in order to benefit from", rather than "a priori choosing to do".
by Rhapso | 2025-05-05 01:43:16+00:00
And i believe that so much that I don't even consider graceful shutdown in design. Components should be able to safely (and even frequently) hard-crash and so long as a critical percentage of the system is WAI then it shouldn't meaningfully impact the overall system.

The only way to make sure a system can handle components hard crashing, is if hard crashing is a normal thing that happens all the time.

All glory to the chaos monkey!
Show HN: My AI Native Resume
by jhgaylor | 2025-05-05 01:44:09+00:00
I've been deeply involved in working with AI agents and large language models (LLMs) for a while now. During a recent job search, I found myself repeatedly explaining my skills and experiences to various assistants. Around the same time, I was creating content for my website to help hiring teams understand my capabilities better and make informed decisions.

MCP had started to gain momentum and I saw a way to reduce my toil. So I built an MCP server that can effectively communicate my qualifications as a job candidate. This server acts as an AI-powered resume, providing an understanding of my professional background and a set of tools, prompts and resources to help explore my skills and experiences.

The code is open source, so you can create your own AI-driven resume server. Check it out here: https://github.com/jhgaylor/node-candidate-mcp-server.

During my job search I paired my mcp server with others such as notion, hirebase, and gmail to build a leads database, write cover letters, and track my job search.
by owenversteeg | 2025-05-05 01:44:19+00:00
I'm looking for best practices, although any theory as it relates to higher quality finished parts is also welcome.

And thank you, I've seen Stefan's work and it seems to be about as good as it gets. I'll take a look at the original RepRap research too, probably some interesting bits in there.

I agree that the really high end machines from Markforged and co look dead reliable, but they remind me of that old quote, "you can make anything on a lathe but money." It took me a fair bit of scrolling through slick marketing pages to find out that they are 5-figure machines that print at half the speed of consumer printers and can't print ABS (but can print $200/kg high strength proprietary filaments!) Instead I just got a handful of the major modern enclosed printers.
by throw10920 | 2025-05-05 01:44:31+00:00
This is wrong in almost every possible way.

It's invalid to say "a profit-driven company wouldn't do x" for almost any value of x.

It's also invalid to suggest that a company that doesn't require money isn't profit-driven. There are thousands of free-to-play games run by greedy companies that push monetization on users (even if they don't require it). There are tens of thousands of companies that use ads to monetize their games.

There's also ample evidence of Riot's greed over the past few years - $500 skins, progressive removal of more and more free cosmetics from the game despite record revenue, encouraging and enabling smurf accounts (which absolutely ruin the experience for other players) because they buy more skins, and many, many more instances.
by kragen | 2025-05-05 01:44:37+00:00
While of course Pike found inspiration in Wirth, Golang wasn't just Pike; it was Pike, Thompson, and Griesemer. Wirth was Griesemer's doctoral thesis advisor, and the thesis itself was on a parallel version of Oberon he called Oberon-V: https://eulercenter.ru/pdf/eth10277.pdf https://www.research-collection.ethz.ch/handle/20.500.11850/...

I have to say, though, that I think Golang is a lot more similar to Newsqueak (which Pike did before working with Griesemer) than to Oberon.
by jama211 | 2025-05-05 01:46:52+00:00
Or how about we actually collectively learn a lesson from this - if your assignments just ask people to generically regurgitate info, don’t be surprised that 90% of students lose interest and see it for what it is, pointless busywork.

I genuinely believe I had many excellent learning experiences at university, and I can assure you none of them were the times I had to re-write course info and hand it back to them in order to check off a box.

Maybe, if one student does something they might be wrong, but if 90% of students do something, perhaps the assignment is wrong? Doubling down and saying “we’ll force them to do it by hand then!” Is rather blindly missing the point here no?
by beezle | 2025-05-05 01:48:51+00:00
I've taken photos on and off for decades. Too many here seem to be, much like everything else these days, all or nothing. With just a little bit of common sense/discipline it is pretty easy to balance the taking of photos with the "being there" experience. This especially applies to cell phone snapshots. You don't need to be taking tens or hundreds of shots to document an experience. A handful or less will do.
by kjellsbells | 2025-05-05 01:49:52+00:00
Honorable mention must go out to the OpenBSD team who have been running hackathons for 20+ years now. The difference is that they are invitation only and tend to zoom in on a specific area, eg this week we will all show up in Prague and hack on routing protocols, or whatever. I can't imagine what deraadt@ would have to say about one of those Major League Hacking type events with a big corporate sponsor and influencer wannabe types floating around eveywhere.

The tl;dr is that hacking, like discussion on the Internet, is into the dark forest model now.
by jama211 | 2025-05-05 01:50:12+00:00
As someone who did CS 15 years ago, assignments show you can actually understand and build programs. Exams show you bothered to re-read the lecture notes the day before and can regurgitate information on command that you could just as easily forget the next day. Not to mention they’re hugely stressful and some students can’t cope with them well even if they’d make excellent programmers.

I can’t imagine disincentivising actually getting stuck into programming and incentivising being good at regurgitating info in an exam room being a good thing for CS students.
by deathanatos | 2025-05-05 01:51:00+00:00
> After updating the readiness probe to indicate the pod is no longer ready, wait a few seconds to give the system time to stop sending new requests.

> The exact wait time depends on your readiness probe configuration

A terminating pod is not ready by definition. The service will also mark the endpoint as terminating (and as not ready). This occurs on the transition into Terminating; you don't have to fail a readiness check to cause it.

(I don't know about the ordering of the SIGTERM & the various updates to the objects such as Pod.status or the endpoint slice; there might be a small window after SIGTERM where you could still get a connection, but it isn't the large "until we fail a readiness check" TFA implies.)

(And as someone who manages clusters, honestly that infintesimal window probably doesn't matter. Just stop accepting new connections, gracefully close existing ones, and terminate reasonably fast. But I feel like half of the apps I work with fall into either a bucket of "handle SIGTERM & take forever to terminate" or "fail to handle SIGTERM (and take forever to terminate)".
by godelski | 2025-05-05 01:53:04+00:00
> [No,] it's not math it's 'category theory'

That's a wild claim considering Category Theory is a branch of mathematics

| Category theory is a general theory of mathematical structures and their relations. - https://en.wikipedia.org/wiki/Category_theory

It is necessary that you provide an alternative definition as to what "category theory" is, though I suspect it will make many category theorists and mathematicians upset.

> A lot of people had

A lot of non-mathematicians disagreed with mathematicians. https://news.ycombinator.com/item?id=43882197
by iamsanjayk | 2025-05-05 01:53:27+00:00
Hey, thanks for asking! Good question.

AgentShield isn't a wrapper around the OpenAI package, so you wouldn't replace openai with it. Think of AgentShield as a separate safety check you call just before your agent actually tries to run a specific risky action.

So, you'd still use the openai library as normal to get your response (like a URL to call or code to run). Then, before you actually use httpx/requests to call that URL, or exec() to run the code, you'd quickly check it with shield.guarded_get(the_url) or shield.safe_execute(the_code).

Currently, It focuses on securing the action itself (the URL, the code snippet) rather than wrapping the LLM call that generated it.