MurphyA/hacker-news huggingface dataset:
by Hyperlisk | 2025-04-21 14:53:23+00:00
Yes! Another vote for CC-BY-NC-SA! I release my code under this license as well, even snippets I post on my (tiny) blog.

I think this is what a lot of people would use if it were more known about. I feel like a lot of people do not actually read what a license provides and just default to MIT because it is widely used.
by pphysch | 2025-04-21 14:53:39+00:00
> Unless you use the format spec as a way to signal that a term should use identifier escaping rules rather than value escaping rules (something only the sink knows)

This should be quiet common in the SQL applications. It will be nice to write t"select {name:id} from {table:id} where age={age}" and be confident that the SQL will be formatted correctly, with interpolations defaulting to (safe) literal values.
by matkoniecz | 2025-04-21 14:53:59+00:00
What is wrong with 3 month old news? I in fact prefer ones that are not repeated based only on basis being new and much more likely to be confused/misleading/hoax/lie/not actually interesting.

Similarly, I prefer old books, old computer games, old movies (or at least not ones currently being hot/viral/advertised), this allows a lot of trash to self-filter out. Including trash being breathlessly promoted and consumed.
by zdragnar | 2025-04-21 14:55:51+00:00
Polyfills are for runtime behavior that can't be replicated with a simple syntax transformation, such as adding new functions to built-in objects like string.prototype contains or the Symbol constructor and prototype or custom elements.

I haven't looked at the member properties bits but I suspect the pipeline syntax just needs the transform to be supported in build tools, rather than adding yet another polyfill.
by krupan | 2025-04-21 14:55:58+00:00
All the replies to this spreading anti-GPL FUD are doing Microsoft's work for them. The idea that the GPL is "viral" and will latch onto any code it gets near is an Orwellian turn of phrase invented by Microsoft from what, 30 years ago? And it has worked because people are scared of the GPL! It's gonna get you! Don't even get close to it!

Nevermind that Red Hat built a billion dollar business on top of GPL licensed code. Never mind the millions of embedded systems being sold with GPL code in them. Nevermind Google, Facebook, Netflix, etc., etc. all eating Microsoft's lunch a thousand times over using GPL code. Businesses better stay away! It's dangerous!
by mathattack | 2025-04-21 14:56:11+00:00
And as you illustrated, for a one-off project, rate doesn't really matter. It just needs to get approved by someone senior enough, who will ask "Do we have anyone in-house that knows this?" and "How much will it cost to do all this ourselves?"

If the answer to the first question is "No" then you'll be very cheap compared to the second answer no matter how much you cost.
by neom | 2025-04-21 14:57:05+00:00
It's a good question because china does tend to operate that way in terms of it's microblogs (renren is a good place to find a job!). Youku is their main youtube, although even that's not right because it's sorta twitch meets netflix meets youtube. bilibili (b-station) is what I'd call "deviantart meets hackernews of video".
by akomtu | 2025-04-21 14:57:05+00:00
What LLMs are doing to us is similar to the well known EEE (Embrace Extend Extinguish) strategy used by Microsoft. Today we're embracing LLMs as our helpers. Tomorrow LLMs will extend our intelligence with skills that can't be done without LLMs and everyone will have to use these brain-extenders to participate in the society. Finally LLMs will become advanced enough to not need us.
by rda2 | 2025-04-21 14:57:36+00:00
Before having children, I was quite interested in the idea of, and the math behind early retirement.

Most of the interesting math happened at the margin: you’ve got just enough money that you could retire, but you’re susceptible to risk of a market crash in the first few years of retirement or an abnormally long life expectancy combined with a middling market.

Tontines fascinated me as an interesting piece of the puzzle for those who don’t plan on leaving an inheritance, and I’ve reread this guide[0] a few times - but ultimately it’s just another way to possibly move the margin a little bit, and the real solution is to save a little bit more, then spend a little bit less.

[0]https://rpc.cfainstitute.org/sites/default/files/-/media/doc...
by alexdanilowicz | 2025-04-21 14:57:39+00:00
While we target the PM, it's a healthy mix of personas. We have many founders and designers who use us as well.

Some of the designers are indeed now skipping Figma, a direct quote from one of them (https://www.linkedin.com/posts/stephenwitmer_you-gotta-love-...):

> "I spend 80-90% less time drawing boxes in Figma - and more time using my insights, creativity, and words to create working prototypes [...] - to shorten feedback loops & better communicate vision."

Other designers will use us purely for brainstorming and then use the Magic Patterns Figma Plugin to export. The way this works behind the scenes is we convert the HTML to Figma nodes (https://www.magicpatterns.com/docs/documentation/get-started...)

We are rolling out a reusable components feature. If you hit us up in our support chat or email me: alex [at] magicpatterns.com I can add you to the feature flag!
by HeyLaughingBoy | 2025-04-21 14:58:16+00:00
I didn't even know there was an 11 digit code until now! I was referring to the 5 digit code. 9 digit would be closer, but around here 100 mailboxes (zip+4 would actually be 9999 mailboxes) is still quite a few square miles. If I look out my living room window, I can see maybe 10 houses, and that's with a view that comes from living on top of a hill.
by mdaniel | 2025-04-21 14:58:28+00:00
You'll go broke doing that, as those API calls are not free. Best to configure cloudwatch to dump into some sane place (S3, SigNoz, whatever) so you only pay the api call once and not every time for interactive viewing

I went spelunking around in the codebase trying to get the actual answer to your question and it seems it's like many things: theoretically yes with enough energy expended but by default it seems to be ssh-ing into the target hosts and running a pseudo agent over its own protocol back through ssh. So, "no"
by testing22321 | 2025-04-21 14:58:48+00:00
I wonder how long the engine is rated for before it requires a full rebuild?

Aluminum rods are very well know in the drag scene. They’re plenty strong and very light, but they stretch over time. Not a problem when the vehicle only does 1/4 mile a few times a week or month. Typically unacceptable for regular street or track use.
by kllrnohj | 2025-04-21 14:59:42+00:00
It is laziness to an extent, sure, but that's a huge part of language design. We wouldn't use Java or C# or Python or any of these high level languages if we weren't lazy, after all, we'd be writing assembly like the silicon gods intended!

The problem with Java checked exceptions is they don't work well with interfaces, refactoring, or layering.

For interfaces you end up with stupid stuff like ByteArrayInputStream#reset claiming to throw an IOException, which it obviously never will. And then for refactoring & layering, it's typical that you want to either handle errors close to where they occurred or far from where they occured, but check exceptions forces all the middle stack frames that don't have an opinion to also be marked. It's verbose and false-positives a lot (in that you write a function, hit compile, then go "ah forgot to add <blah> to the list that gets forwarded along..." -> repeat)

It'd be better if it was the inverse, if anything, that exceptions are assumed to chain until a function is explicitly marked as an exception boundary.
by rayiner | 2025-04-21 15:00:20+00:00
You’re just trying to launder your cultural beliefs through fancy language. Westerners developed the concept of “rights” as God-given guarantees that were beyond the power of governments to strip away. But of course Thais don’t share your God. And now most westerners don’t believe in the God that was originally invoked as the premise for those rights.

So where do these universal “rights” come from? Do they reflect some fact of human biology? Of course they do not.
by nu11ptr | 2025-04-21 15:00:36+00:00
This feature is not complicated, but one must keep every feature that can possibly be seen in code in their head. Even if it is familiar now, what happens when you use the feature in the one small section of code where it fits, nowhere else, and then read that code 2 years later? This is the problem with adding useful features that are only used in a few key places. I'm not saying Go is a perfect language, far from it, but limiting # of features as a general goal is something more languages should strive for IMO.
by MichaelZuo | 2025-04-21 15:00:44+00:00
This doesn’t really make sense as a counter argument.

I’m pretty sure none of these came about by random happenstance, they all had either specific reasons behind them or specific lobbying groups pushing for them, or both.

Of course there’s no guarantee that the whole amalgamation was reasonable or even coherent… but that applies to everything ever that involved millions of people and interests.

Is there a specific reason why your “fix” wouldn’t just make it even more incoherent, given real world constraints like limited will, political influence, credibility, etc…?
by clan | 2025-04-21 15:01:00+00:00
You are right and it is an evil form of gate keeping.

Pros before bros.

Nerds are just wannabes.

The mugglers may suffer as they do not know, care or can articulate it. If they do - they are clearly nerds and we can discard them as a minority.

People conflate pro with premium. The mass market should be able to sustain premium and discount. The market might be too small for pro DCP content. But I would like the market to understand that there are 3 important segments. Pro, premium and discount.

Pro - special specific needs. Premium - for the regular Joe who wants good quality. Discount - for the masses.

Premium market is underserved. Unless you are willing to pay luxury prices for Kaleidescape or the likes.

It is the race to the bottom with streaming providers testing commercials. They have already succeeded with the "junk content" as the big studios wants to keep licenses for their own services.

The quality bar is set for the lowest/cheapest common denominator.
by jonathanhar | 2025-04-21 15:01:02+00:00
I'm experimenting with a concept I call "disposable software": apps that are built instantly, serve a short-term purpose, and disappear.

Think: group trip planner, one-off microsite, weekend chore tracker.

I wrote about why I think this is inevitable (like disposable media), how AI is making it happen, and what this could mean for creativity and computing.

Curious to hear what HN folks think: Is there room in the stack for throwaway apps?
by palata | 2025-04-21 15:01:11+00:00
I tend to disagree with the criticism of Microsoft here.

The author of Spegel released it as MIT, which means that anyone can fork it as long as they keep the attribution. So if every file of the original project has a header containing the copyright, Microsoft has to keep it. Looking at Spegel, I haven't found a single source file containing an MIT header and copyright.

Microsoft added their header with their copyright in Peerd (because now that they changed the files, they own a copyright over parts of those files). Nothing says that they must add a line for the original author, and I could imagine that it's legally a risk for them to do it.

Moreover, a copyleft license wouldn't have changed anything here (except maybe discouraging Microsoft from reusing any of that code).

If you don't want anyone to reuse your code, don't open source it. The whole point of open source it is that you allow others to reuse it.
by GlassOwAter | 2025-04-21 15:01:41+00:00
Interesting read. I was only familiar with a bastardization that goes by the same name. An ex is from Liberia and while her mom now lives in the states she still sends money to contribute to a tontine.

They pool their money together and then rotate who it all goes to every month or some pet period.

Sounds like a scam run on the financially illiterate.

https://www.modernghana.com/news/772009/tontine-microcredit-...
by Timon3 | 2025-04-21 15:02:18+00:00
No, they literally don't, because they don't support these features!

You can't split apart the declaration of the template literal and the "tagging". The tag is always part of the declaration, which it doesn't have to be in Python, as I've showed.

You can't pass additional parameters to the tag function, it's always just the template & values. In Python, you can pass as many parameters as you want to the usage site, e.g.

some_value = html(True, t"<something />", 42)
by 9rx | 2025-04-21 15:02:41+00:00
Vancouver has more houses per capita than Whitehorse does. It is where the houses are, both in relative and overwhelmingly absolute terms.

The only problem is that they are more expensive than people wish they were. But that high price condition comes as a result of people wanting to live there. The way to undo high prices is to see people no longer want to live there (or, at least want to live elsewhere just as much).
by palata | 2025-04-21 15:03:05+00:00
> Blatantly copying the code without proper attribution is a violation

Except that they did not do that. They forked it (as the MIT licence permits), added an attribution to their README, and added their own header to the files with their own copyright. It's not their fault if the original author did not add a header in the first place...

Or where do you see that they actually removed a copyright header from the author? None of the source files I checked in Spegel have one.
by 1oooqooq | 2025-04-21 15:03:19+00:00
spring problem is composability plus the workforce expecting to just plug things as if they were paying customers and never contributing anything back.

if you know what you are doing and participate in development of spring or the components you're using, then it's great.

but chances are your team just do whatever stack overflow tells them, and probably your http client is even one not updated since 2009 because someone added a typo to your maven files, and instead of fixing it everyone just accepted you must pin java 8 so cd ci doesn't fail "out of nowhere"

that's the reason I won't ever touch java. it's even a worse crowd than JavaScript.
by matkoniecz | 2025-04-21 15:03:35+00:00
> What's good about being "permissive"?

it is good if you do not plan to go for violators anyway

I made some photos and published them on Wikimedia Commons (say, of random bicycle infrastructure).

I am fine with people using them without attribution, I expect that their use overall furthers my goals rather than damages it and if I would release it on CC-BY-SA 4.0 or similar I would not go to court over missing attribution.

Therefore I selected CC0, no reason to make things more complicated only to people following license.

I selected AGPL/GPL for some software where I would be happy to burn pile of money in case of license violation, up to and including litigating it in court for 10 years.
by alexdanilowicz | 2025-04-21 15:03:52+00:00
that's kind of you to share here!

Yes, it's incredible seeing what you can do with pure code. I think that's a lot of the magic here: with code, you can do anything. This part is super gratifying to work on.

From day 1, we have thought of code as a first-class citizen in Magic Patterns because that's all the LLM sees. So then at the application layer, it becomes our job to best help the user interact the LLM a.k.a feed it the most relevant code. This part is suuuuuper challenging.
by simonw | 2025-04-21 15:04:52+00:00
I think it's important to keep tabs on things that LLM systems fail at (or don't do well enough on) and try to notice when their performance rises above that bar.

Gemini 2.5 Pro and o3/o4-mini seem to have crossed a threshold for a bunch of things (at least for me) in the last few weeks.

Tasteful, effective use of the search tool for o3/o4-mini is one of those. Being able to "reason" effectively over long context inputs (particularly useful for understanding and debugging larger volumes of code) is another.
by ldelossa | 2025-04-21 15:05:05+00:00
Hello all.

I write a lot of shell scripts.

I'm usually frustrated with the effort it takes to get argument parsing and shell completion working quickly.

So, I wrote a tiny ZSH framework for writing terse scripts. If you adhere to the constraints in the framework you get:

1. Command completion with support for nested commands (think, kubectl like cli). 2. Argument parsing and validation 3. Argument completion

If it looks cool try it out. Contributions welcome.
by rayiner | 2025-04-21 15:05:14+00:00
No, it is different, at least in degree if not at the extremes. My wife is an American and the directness and bluntness with which she and her family talk to each other still shocks me after 15 years of knowing them. Even if there are practical limits to American free speech, it’s apparent from simple inspection that there’s a distinctive cultural basis for this political right.
by krupan | 2025-04-21 15:06:08+00:00
Viruses are things that latch onto other things without their permission. If you choose to build off of GPL code then yes, you must preserve the GPL license. There's an important difference.

It's actually the same as any other copyrighted code (and in the US, all code is automatically copyrighted and restricted). You cannot just take code and use it in your project. GPL code is nothing special.
by kortex | 2025-04-21 15:06:17+00:00
I would wager within a rounding error, all humans have a lifetime of experience in following directions of the form:

1. do the first step in the process

2. then do the next thing

3. followed by a third action

I struggle to think of any context outside of programming, retrosynthesis in chemistry, and some aspects of reverse-Polish notation calculators, where you conceive of the operations/arguments last-to-first. All of which are things typically encountered pretty late in one's educational journey.
by palata | 2025-04-21 15:06:28+00:00
People here keep saying that they removed copyright headers. I can't find a single copyright header in the Spegel source files. Can someone help me find which headers Microsoft actually removed?

What I see is that Microsoft added headers to their Peerd files. Now they read "Copyright Microsoft", which is correct because Microsoft owns some copyright over those modified files. If those files had had a "Copyright Spegel project" before, Microsoft should have kept it and added their own. But those files did not contain such a header as far as I can see.
by btbuildem | 2025-04-21 15:07:04+00:00
It's a relevant question about the economic model for the web. On one hand, the replacement of search with a LLM-based approach threatens the existing, advertising-based model. On the other hand, the advertising model has produced so much harm: literally irreparable damage to attention spans, outrage-driven "engagement", and the general enshittification of the internet to mention just a few. I find it a bit hard to imagine whatever succeeds it will be worse for us collectively.

My question is, how to reproduce this level of functionality locally, in a "home lab" type setting. I fully expect the various AI companies to follow the exact same business model as any other VC-funded tech outfit: free service (you're the product) -> paid service (you're still the product) -> paid service with advertising baked in (now you're unabashedly the product).

I fear that with LLM-based offerings, the advertising will be increasingly inseparable, and eventually undetectable, from the actual useful information we seek. I'd like to get a "clean" capsule of the world's compendium of knowledge with this amazing ability to self-reason, before it's truly corrupted.
by qwertox | 2025-04-21 15:07:15+00:00
I feel like the benefit which AI gives us programmers is limited. They can be extremely advanced, accelerative and helpful assistants, but we're limited to just that: architecting and developing software.

Biologists, mathematicians, physicists, philosophers and the like seem to have an open-ended benefit from the research which AI is now starting to enable. I kind of envy them.

Unless one moves into AI research?
by SkyBelow | 2025-04-21 15:07:40+00:00
In appendix C, I find it surprising that only 10% of students disagreed they could explain how AI worked. They caveated with "in general terms", but I would like to see exactly what sort of general terms the respondents were considering.

I also noticed there didn't seem to be any questions about if the students felt their own use of AI was harmful to their education or if anyone has ever made that case to them. There are questions asking about harm in general, but a few questions about harm to themselves would be interesting to compare with the questions about harm to society at large. Would the rates be roughly equal, or is the thought that harm to general society is more/less likely than harm to self?
by dylan604 | 2025-04-21 15:07:51+00:00
> I came to the conclusion that sports photography is really people photography so I started looking for good portraits

That's an interesting realization you made, but what were you doing before that?

I'd also say that the flash comment was very uninformed. In any arena/stadium that the games/matches are broadcast, they will be lit properly in order for the cameras to have a proper exposure. This also means there's plenty of light for the photogs.
by filoleg | 2025-04-21 15:08:00+00:00
> But does this, at least for those who choose to use it as leverage, free up more brain power for other newer or different things?

My personal belief is that the answer to this is “absolutely.” That’s how it proliferates on the level of society in fundamental ways, otherwise it wouldn’t.

Just think of the analogy the grandparent comment makes. Yeah, if we transported a bunch of modern specialists many thousands years in the past, they will struggle with just surviving. But also, in a modern environment, they are able to make crucial congributions to producing things that make the rest of the humanity much more advanced, better to live in, and push humanity as species forward. Which is something absolutely nobody in the thousands-years-ago times is able to do (talking about the specific things, like computers, not the ability to push humanity forward in general; after all, we got to the current point exactly from those thousands-years-ago times).

I just don’t see a human civilization sending a human to the moon or getting to the point of accessible air travel without heavy specialization across people. And heavy specialization is imo unachievable, if your entire survival depends on being just a survival generalist as a full-time thing.
by amitp | 2025-04-21 15:08:18+00:00
There's a version of Facebook that only shows things from your friends, and not "suggested" or "reels" etc.: https://www.facebook.com/?filter=all&sk=h_chr (it still shows ads but not the other random stuff)

And it doesn't scroll endlessly. It will display this at the bottom of the page:

> You're all caught up on Most Recent posts

> Check back later for more updates
by palata | 2025-04-21 15:08:36+00:00
You don't understand my point (probably my mistake).

If the file starts with:

// <MIT header>

// Copyright evantbyrne

Then a fork should read:

// <MIT header>

// Copyright evantbyrne

// Copyright Microsoft

But if you did not add "// Copyright evantbyrne", the MIT license doesn't say that Microsoft should add it. I don't even know if it's legal for Microsoft to do it. You have to add your own copyright to the files where you own a copyright.
by ChoGGi | 2025-04-21 15:08:38+00:00
If that's just stripping the old shingles off and placing new ones, you should be looking at around $6-10k.

Is there a lot of rebuilding or something going on around you?

My roof (1200 sq roof deck not house) would've been about 18, but that's because it had cedar shingles under the asphalt. I did it myself for 3 in materials and about 3 weeks of labour. These are all CAD prices.