MurphyA/hacker-news huggingface dataset:
by Zambyte | 2025-04-21 11:52:07+00:00
No it doesn't. It makes it copied without authorization. Stolen means the original owner does not have access which is not the case[0]. This idea that copying is theft was propaganda invented by the MPA[1], and we ought to stop parroting it, even when it's Microsoft doing the unauthorized copying.

[0] https://github.com/spegel-org/spegel

[1] https://en.wikipedia.org/wiki/You_Wouldn%27t_Steal_a_Car
by StefanBatory | 2025-04-21 11:52:47+00:00
Also, while I think that barring a fringe part of society, everyone would agree, the fun part is, how do you get to people to agree who's pro-Russian or not ;) Of course, this is for local parties, but go to /r/Poland and /r/Polska and ask them, what parties are pro-Russian. Then to Wykop, both Mikroblog and frontpage, and see the reactions.

Same thing will apply here.
by stragies | 2025-04-21 11:53:23+00:00
From the DTS posted in another thread here, the board looks to be running a 5.10 Linux kernel. OpenWrt proper runs much newer kernel versions, so the board looks to be running a vendor fork of OpenWrt branched of already a while ago. Maybe they are planning to catch back up to regular/normal/mainline OpenWrt at some point.
by albumen | 2025-04-21 11:53:25+00:00
Fascinating, thanks for that!

Re your addendum and "the end of history": I think it would be myopic for people to think that the current system has won, and that there's nothing left to seek or prove. The current system has brought plenty to many but is destroying our planet, and there's plenty of space for fresh thinking. China is taking the lead in innovation [1]; so perhaps there's a new ideological and existential struggle, just with the US as the underdogs. Hopefully people see this as motivating rather than depressing.

[1]: https://www.economist.com/science-and-technology/2024/06/12/... (also https://archive.ph/urpbY )
Show HN: Gitterbugs, an ultra fast and lightweight GitHub repo mapper
by amosoraptor | 2025-04-21 11:53:51+00:00
I built a fast tree builder for any public GitHub repo via the linux shell.

`gitterbugs` (gbgs) clones, analyzes and renders a beautiful, readable and size-annotated tree of any GitHub repository in seconds.

For example, `gbgs https://github.com/torvalds/linux` produces:

``` linux/ ├── README (4.3K) ├── Makefile (7.1K) ├── arch/ │ └── x86/ │ └── entry.S (1.5K) └── init/ └── main.c (5.9K) ```

Human-readable file sizes, no junk and clean Unicode pipes for maximum legibility.
by Timon3 | 2025-04-21 11:55:01+00:00
It desugars similarly, but the Python version doesn't have a name. Any t-string is a t-string, there's no HTML t-string or SQL t-string or anything like that. It's just a t-string you can pass to a function:

html_string = t"<something />" sql_string = t"SELECT * FROM something"

In JS, the string has a prefix that can differ between languages, e.g.:

const htmlString = html`<something />` const sqlString = sql`SELECT * FROM something`

and so on. See the difference?
by Spooky23 | 2025-04-21 11:55:21+00:00
Catholic bishops and clergy like to meddle in politics.

In the US, reactionaries are dumping lots on money on the church, and many bishops have embraced right wing politics, stupidly aligning with evangelicals who deeply despise Catholicism in the process.

Some of the moves made are comically dumb. The archbishop of New York decided to make a big show about denying communion to the notoriously vindictive former governor of the state. That governor subsequently changed the look back period for civil sex abuse lawsuits, which has bankrupted or is in the process of bankrupting dioceses as they are forced to own up to their failures to protect children.
by pron | 2025-04-21 11:55:25+00:00
> Just because something mucks with a program's AST doesn't mean that it's introducing a new "language".

That depends on the language specification. The Java spec dictates what code a Java compiler must accept and must reject. Any "mucking with AST" that changes that is, by definition, not Java. For example, many Lombok programs are clearly not written in Java because the Java spec dictates that a Java compiler (with or without annotation processors) must reject them.

In Scheme or Clojure, user-defined AST transformations are very much part of the language.

> The integrity by default JEPs are really about trying to reduce developers depending upon JDK/JRE implementation details

I'm one of the JEP's authors, and it concerns multiple things. In general, it concerns being able to make guarantees about certain invariants.

> If you're not, it's because you're already doing this through other means like a custom ClassLoader or a build step.

Custom class loaders fall within integrity by default, as their impact is localised. Build step transforms also require an explicit run of some executable. The point of integrity by default is that any possibility of breaking invariants that the spec wishes to enforce must require some visible, auditable step. This is to specifically exclude invariant-breaking operations by code that appears to be a regular library.
by nickjj | 2025-04-21 11:55:26+00:00
I did notice a very bad side effect. Yesterday I only pasted 1 line. When you paste in multiple lines using Neovim's normal paste key (p), it adds a Windows line ending to each line which you can see as ^M.

This unfortunately makes pasting text from Windows into WSL a problem. The ^M isn't present when pasting with CTRL+SHIFT+v because I guess the Microsoft Terminal converts it but that's a big pain to hit compared to "p".

I opened a bug report, let's see: https://github.com/microsoft/wslg/issues/1326
by ryao | 2025-04-21 11:55:37+00:00
The AGPL doesn't require them to contribute back. It only requires them to provide the code to end users upon request. No license as far as I know requires people to contribute back.

In many cases, project maintainers would not want the changed code anyway because it does not align with their vision for how things should be done. Linus Torvalds and his subsystem maintainers, for example, do not want people to send them code dumps containing the hacks people have done to private Linux source trees. They want proper commits that are done well and have been modified to comply with any feedback that they provide.

What the project maintainer here wanted were collaborators who would work with him as a team (which is not much different than what most OSS developers what), but no license requires that and it is rare to get that.
by bayindirh | 2025-04-21 11:55:43+00:00
> I'm seriously flabbergasted at how bad reading comprehension seems to be among coders.

Sorry to deflate your amazement, but I made the remark because I have never seen a permissively licensed repository which changed hands and had multiple copyright lines in the last 20 years or so.

Maybe it's not my reading comprehension (and English is not my native language to begin with), but the behaviors of other coders to begin with.

Maybe we shouldn't point fingers to others and not forget that three are pointing towards ourselves. Eh?
by grumple | 2025-04-21 11:56:25+00:00
I think the below poster got it right. Cutting out Facebook certainly improved my life; cutting out instagram later was an additive improvement. Now I’m left with HN (which generally avoids the bad parts of social media) and Reddit (which has plenty of brain rot).

It also took a lot more than 6 weeks to get acclimated to it. You get psychological withdrawal. It took months for it to feel normal. My income went up a lot in the years after as well (in part due to more time to focus on finding a new job), so that also contributed to my happiness.
by d3ckard | 2025-04-21 11:56:57+00:00
You can’t turn your other cheek when you’re dead, so I am pretty sure he didn’t mean it as allow yourself to get killed.

Besides, Ukraine did turn other cheek after 2014 war, they just run out of cheeks to turn.

Back to main subject, I believe nothing weakened Pope Francis’s policies as much as his widely misunderstood position on this subject.
by xorcist | 2025-04-21 11:58:04+00:00
There's an obvious risk here, same as with strcpy (no, strncpy.. no, strlcpy... no, strcpy_s) that documentation tends to outlive code, and people keep pasting from tutorails and older code so much that the newer alternatives have a hard time cutting through the noise.

I would argue that as bad as some w3schools tutorials were, and copying from bad Stackoverflow answers, going back to MSA and the free cgi archives of the 90s, the tendency of code snippets to live on forever will only be excarbated by AI-style coding agents.

On the other hand, deprecating existing methods is what languages do to die. And for good reason. I don't think there's an easy answer here. But language is also culture, and shared beliefs about code quality can be a middle route between respecting legacy and building new. If static checking is as easy as a directive such as "use strict" and the idea that checking is good spreads, then consesus can slowly evolve while working code keeps working.
by mjburgess | 2025-04-21 11:59:42+00:00
> Are you really going to defend the conviction of a teenage girl quoting Snoop Dogg lyrics on facebook?

Can you link me to the evidence you have for this person having been convicted? Because she wasnt, the case was immediately over turned on appeal and the lower court volunteer judge basically reprimanded.

Do you have any evidence for any of these things you believe? Have you looked into any of them? Who told you about them? How do you know about a teenager in liverpool that upset a police officer? Why is that something you know about? Do you not find that odd? Isn't it strange that you "know" she was "convicted" but have no actual idea what happened?

Just reflect a moment on what the major actions of the UK gov. involving social media have been over the last year, and which of those have resulted in actual convinctions. HINT: ones involving plots to murder people by the far right.

Hmm... who exactly has been talking about all these "free speech" cases? Coincidence?
by kaycebasques | 2025-04-21 12:00:29+00:00
My bet is that the combination of humans and language models is stronger than humans alone or models alone. In other words there's a virtuous cycle developing where the codebases that embrace machine documentation tools end up getting higher quality docs in the long run. For example, last week I tried out a codebase summary tool. It had some inaccuracies and I knew exactly where it was pulling the incorrect data from. I fixed that data, re-ran the summarization tool, and was satisfied to see a more accurate summary. But yes, it's probably key to keep human technical writers (like myself!) in the loop.
by oefrha | 2025-04-21 12:00:42+00:00
> I can't think of a scenario where you'd need to deconstruct their front-end to mimic the calls. Just observe the calls and mimic them.

Just about everything in that wall of text is wrong, but it’s rather pointless to engage someone who clearly has never reverse engineered a single thing with a modicum of defense, yet has tons of opinions on the subject. It’s like debating the pros and cons of programming languages with someone whose claim of expertise is having used computers. I totally get gp’s frustration. Denial of service with too many absurd points is real.

> If you explain what you disagree with, maybe people would learn something.

TFA explains in detail why reverse engineering is necessary, and specifically what is achieved by reverse engineering which part. ggp clearly has zero interest in learning when much of what they wrote has been refuted in the damn post being discussed. Other people can RTFA to learn as well, it’s a good technical post, and we don’t get enough of those these days.
by noduerme | 2025-04-21 12:00:51+00:00
Yeh, I know. It's a kinda sad fact about humans. You can handle it a few ways. The most tempting and easiest is to compete on the same level, sniping at other people. More difficult but similar is to take it a step further and be the biggest guy at the pub, deal some drugs, fuck more girls, act like a friend and then talk shit. Every bar has one... it's just a method. They learned it from the internet, or possibly from being abused as a child. My method in all cases, everywhere, is to be extremely honest and see what comes out of people. What I find respectable is someone who tells you honestly what they think, even if they're not your friend. The people who tell you the unfiltered truth as they see it. Those are the good humans. Making other people reveal themselves, so you know what you're dealing with. That's actually understanding the world.
by ryao | 2025-04-21 12:00:56+00:00
The commit histories for the LICENSE files in the two repositories are rather interesting. The original author placed a single copyright notice in that file. Microsoft on the other hand published it with their copyright notice and a Apache 2.0 license in place of the original copyright notice and MIT license. They also put copyright Microsoft and license apache 2.0 headers on all files. They then changed the Apache 2.0 license to MIT, but left their copyright notice in place of the original copyright notice in LICENSE:

https://github.com/Azure/peerd/commit/473a26c808907f2d9f7b7f...

Unless they forked a very early version that did not even have the LICENSE file, such that they never removed the original notice, this looks like copyright infringement to me. That said, I am not a lawyer.
by d3ckard | 2025-04-21 12:01:02+00:00
Of course I am happily criticising pope from back seat, this thread is literally to discuss him as a public figure.

Already said that conservative and liberal are English words not necessarily connected to US political scene. I know plenty of people initially supportive of him who got seriously pissed when he broke the long standing tradition of supporting the attacked, not the attacker.

I would argue it’s a pretty common position in Europe.
by throwaway277432 | 2025-04-21 12:01:59+00:00
The easiest way to do it is to add your own copyright line above the original LICENSE copyright line.

That way anyone touching the project can just add their own line on top.

Done.

EDIT: Example: https://github.com/go-gitea/gitea/blob/main/LICENSE

A more complicated way to do it is to add a folder that contains the original LICENSE file or files. Sometimes there is more than one license, or the license texts differ. In that case, you must preserve all the different variants, even if they all call themselves MIT.

Then, you can optionally add your additional own LICENSE file * only iff* it is compatible with all existing LICENSES. In the case of the MIT license, you may relicense, sublicense, or use a different license in addition, provided it is MIT-compatible. With e.g. GPL you can't. Note that you still have to preserve all the original LICENSE files in the repo.
by koiueo | 2025-04-21 12:02:42+00:00
My conspiracy theory: Stallman's "rough edges" were deliberately highlighted and blown out of proportion to discredit GPL and his overall ideology.

On one hand we have a guy, who just pointed out that the age of consent is a culture-dependent concept. On the other we have a guy who literally visited Epstein's island to fuck minors (as defined by his country of residence).

One is now considered "a bit of a problem". The other is a beloved public figure.
by sublimefire | 2025-04-21 12:03:14+00:00
It might be just a decision to own the code as it probably ends up in production, e.g. run codeql and other tools to scan it, have controlled releases and limit access to the repo. They might have had some other stuff to change and did not want to bother doing it in the original repo with unexpected timelines from the repo owner. A fork is a logical step for a company.
by talkingtab | 2025-04-21 12:03:26+00:00
My personal thought is that we need a new kind of license: community open source. No corporations, just community.

The problem this addresses is not that Microsoft forked this project. The problem is that when a corporation like Microsoft does this, they harm our community[0]. Open source thrives because a bunch of individuals and groups collaborate.

Microsoft, is built around the concept of profit for stock owners at any cost. They may collaborate as long as their interest in profit is served, but otherwise, it is back to "Embrace, Extend, Extinguish" [1].

This lack of community ethic is endemic in corporations. It is also an existential threat to our community. Profit at any cost is not collaboration. It is predatory.

And yes, I know, corpies and other greedist will vote this down, blah, blah, blah.

[0] https://en.wikipedia.org/wiki/United_States_v._Microsoft_Cor...

[1] https://en.wikipedia.org/wiki/Embrace,_extend,_and_extinguis...

[edit clarity]
by kergonath | 2025-04-21 12:03:29+00:00
Indeed, that is exactly what it is. Mainstream catholics don’t really have a problem with science in general, but with moral consequences of some application of science. Broadly speaking, they are not saying that science is fake, more that there are some things we should not do.

A conversation with a Jesuit for example can be enlightening because they have intellectual and moral arguments, it’s not just castles built on the shifting foundations of a Bible verse.

This leads to different approaches compared to a lot of American Protestants. They don’t seek to undermine science.
by throwawaymaths | 2025-04-21 12:03:46+00:00
Its not just academic, because if you try to @include something from out of path in your code you'll not be happy. Moreover, 'zig build' is not the only tool in the zig suite, there's individual compilation commands too. So there are real implications to this.

It is also helpful for code/security review to have a one-stop place to look to see if anything outside of the git tree/submodule system can affect what's run.
by xtiansimon | 2025-04-21 12:04:41+00:00
> “…instead displaying posts, updates, and pictures from friends, family, and those we know in real life…”

I’ve stopped using FB regularly, because I don’t like their feed algorithm. I don’t like the ads or the content, and I had curated it by joining local groups and BOFS. The only thing that brings me back now is the _possibility_ of a friends update.

That said, the _frequency_ of updates from friends and family will be vastly different for different people. The feed (if it speaks to you) works to regularize or smooth the frequency. I see FB’s problem and I don’t envy them. The vitality of the platform becomes precarious, and can be supplanted by some other platform with better engagement (ie TickTock).

I’m not a designer or researcher of Social Media, but I’m an emigre of sorts and not many people have that experience. The only platform all of my friends and family use are group private messages using our phones, and the most engaging chats we have are few and far between.
by southernplaces7 | 2025-04-21 12:06:16+00:00
>There's obvious potential for harm in books that promote dangerous ideologies

Feel like specifically defining these dangerous ideologies and explaining why you or anyone in a position of non-parental authority should be the people who get to decide if youth and kids are "exposed" (as if we were talking about some poisonous substance) to them and to what degree?

Same goes for self harm and suicide. Maybe these subjects should be added to a list of other things that young people's fragile little minds should be morally kept away from? Lot's of room for defining all kinds of literature, text and ideas as supposedly promoting self harm, or suicide. Better we keep things forcefully childish for young minds instead?

This shitty, tired story is very old and remains as stupid as it ever was. The dogmas and censorship fixations may vary but the people promoting them always pull out their tedious little "protecting children from harmful ideas" card as justification to then repress whatever doesn't suit their pet ideological obsessions.

If anyone should carefully consider their stance it's closet censors who can't stop thinking as you seem to.
by rad_gruchalski | 2025-04-21 12:06:22+00:00
No, it’s not the same. When you go for hosting and don’t do backups, the hosting company doesn’t offer you an insurance against data loss. Now, you could get one yourself. However, good luck with your premiums when the insurance company finds out that you didn’t have backups. What’s the bottom line here? You’re responsible for your backups.
by iteria | 2025-04-21 12:06:37+00:00
You don't even need such fancy examples. There are plenty of codebases where people are working with code that is over a decade old and has several paradigms all intermixed with a lot of tribal knowledge that isn't documented in code or wiki. That is where AI sucks. It will not be able to make meaningfully change in that environment.

There is also the frontend and tnpse code bases don't need to be very old at all before AI falls down. NPM packages and clashing styles in a codebase and AI has been not very helpful to me at all.

Generally speaking, which AI is a fine enhancement to autocomplete, I haven't seen it be able to do anything more serious in a mature codebase. The moment business rules and tech debt sneak in in any capacity, AI becomes so unreliable that it's faster to just write it yourself. If I can't trust the AI to automatically generate a list of exports in an index.ts file. What can I trust it for?
by sojournerc | 2025-04-21 12:06:41+00:00
Here's the thing, Instagram figured it quickly that I might spend another second or two looking at an attractive lady, but that isn't my preference for what I would see in the feed. Merely because I have libido Instagram became absolutely unusable no matter how many times I tell it I'm not interested in insta-bitches showing skin, it knows I'll look, so Instagram is gone out of my life.

Too bad because other topics like woodworking and mountain biking we're interesting and less... provocative, but that's not good for Instagram.
by contrarian1234 | 2025-04-21 12:06:57+00:00
If they had a "national epic" of sorts then you'd expect it referenced everywhere. The Iliad is not important b/c it just a story that happened to be preserved. It's a foundational piece of literature for the whole region and people are making allusions to it everywhere

There are for instance Greek plays that are of the form you imagine. Where they're important, referenced, and no surviving copies exist
by mjburgess | 2025-04-21 12:07:39+00:00
OK, so reflecting on the world at the moment. Do you want the police to suspend investigating all complaints involving social media, or to continue to investigate them?

If you choose the first one, then you're preventing the investigation of mass riots, conspiracy to murder, mass disruption of public infrastructure -- and so on. All which have happened in the last 9mo, and gone through the courts. BUT you do have the advantage that police wont, once in a blue moon, turn up to someone's house and investigae them for a bit of nonesense that disappears within a day or at most a month when a real judge has looked at the case.

If you choose two, then you can still offer guidance to local police forces to be more careful in assessing complaints -- guidance which has almost certainly been given, since the gov arent happy theyre being distracted with this BS.

Now ask yourself: who at the moment really wants option number 1?