MurphyA/hacker-news huggingface dataset:
by seba_dos1 | 2025-04-12 02:36:33+00:00
And that's what I'd love to see. It's not as easy as you make it appear though. An obvious upgrade path for Librem 5 would be a newer SoC from i.MX line as there have been several released since, but all of them are even less suited for a smartphone than i.MX 8M or come with downgrades in some important areas, such as GPU - so this now calls for a complete redesign around a different vendor. Not impossible, but not cheap either.

Grabbing some cheap Android devices is a path to nowhere. Otherwise we all could be just grabbing them and putting postmarketOS on them ourselves, as there's no shortage of such devices on the market.
by valenterry | 2025-04-12 02:36:56+00:00
> The problem is not the bureaucracy.

It absolutely is. Try to open a company in Germany. Then try to do your tax. Then try to close your company.

After that, let's talk again about bureaucracy.

Oh, and the new government just announced plans that non-employeed people (freelancers, business owners, ...) are now forced to pay into national pension (with few exceptions). And don't get me started on that one. Just as an example, national pension charges based on your income. But they have a different way to calculate income than the tax office.

Let me say it in other words if it's not clear yet: If someone is practically unable to do all the above without an accountant then the bureaucracy is absolutely out of hands.
by EvanAnderson | 2025-04-12 02:37:04+00:00
It required attention to detail, from a sysadmin / desktop admin perspective, but it was definitely possible and paid dividends in users being unable to completely destroy machines like they could on the DOS-based Windows versions. I put out a ton of Windows NT Workstation 4.0 and Windows 2000 Pro w/ least-privilege users. It was so convenient to be able to blow away a user's profile and start w/ a clean slate, for the user, w/o having to reload the machine.
by efortis | 2025-04-12 02:37:05+00:00
You can also use long polling, which keeps alive a connection so the server can respond immediately when there’s new data. For example:

Server

const LONG_POLL_SERVER_TIMEOUT = 8_000 function longPollHandler(req, response) { // e.g. client can be out of sync if the browser tab was hidden while a new event was triggered const clientIsOutOfSync = parseInt(req.headers.last_received_event, 10) !== myEvents.count if (clientIsOutOfSync) { sendJSON(response, myEvents.count) return } function onMyEvent() { myEvents.unsubscribe(onMyEvent) sendJSON(response, myEvents.count) } response.setTimeout(LONG_POLL_SERVER_TIMEOUT, onMyEvent) req.on('error', () => { myEvents.unsubscribe(onMyEvent) response.destroy() }) myEvents.subscribe(onMyEvent) }

Client (polls when tab is visible)

pollMyEvents() document.addEventListener('visibilitychange', () => { if (!document.hidden) pollMyEvents() }) pollMyEvents.isPolling = false pollMyEvents.oldCount = 0 async function pollMyEvents() { if (pollMyEvents.isPolling || document.hidden) return try { pollMyEvents.isPolling = true const response = await fetch('/api/my-events', { signal: AbortSignal.timeout(LONG_POLL_SERVER_TIMEOUT + 1000), headers: { last_received_event: pollMyEvents.oldCount } }) if (response.ok) { const nMyEvents = await response.json() if (pollMyEvents.oldCount !== nMyEvents) { // because it could be < or > pollMyEvents.oldCount = nMyEvents setUIState('eventsCount', nMyEvents) } pollMyEvents.isPolling = false pollMyEvents() } else throw response.status } catch (_) { pollMyEvents.isPolling = false setTimeout(pollMyEvents, 5000) } }

Working example at Mockaton: https://github.com/ericfortis/mockaton/blob/6b7f8eb5fe9d3baf...
by hntrl | 2025-04-12 02:37:08+00:00
The helper example was a sore attempt to plug the project I've been working on (tinkering with it is how I came up with the example). The library I plugged has much more to do with enabling a more flexible reactive programming model in js, but just so happens to plug into the stream API pretty handily. Still an interesting look IMO if you're into that kind of stuff
by sbuttgereit | 2025-04-12 02:37:18+00:00
"5.2 Erlang is banned

Just when we thought everything was going well, in 1998, Erlang was banned within Ericsson Radio AB (ERA) for new product development. This ban was the second most significant event in the history of Erlang: It led indirectly to Open Source Erlang and was the main reason why Erlang started spreading outside Ericsson.

The reason given for the ban was as follows:

The selection of an implementation language implies a more long-term commitment than the selection of a processor and OS, due to the longer life cycle of implemented products. Use of a proprietary language implies a continued effort to maintain and further develop the support and the development environment. It further implies that we cannot easily benefit from, and find synergy with, the evolution following the large scale deployment of globally used languages. [26] quoted in [12].

In addition, projects that were already using Erlang were allowed to continue but had to make a plan as to how dependence upon Erlang could be eliminated. Although the ban was only within ERA, the damage was done. The ban was supported by the Ericsson technical directorate and flying the Erlang flag was thereafter not favored by middle management."

And to be completely fair....

"6.2 Erlang in recent times

In the aftermath of the IT boom, several small companies formed during the boom have survived, and Erlang has successfully rerooted itself outside Ericsson. The ban at Ericsson has not succeeded in completely killing the language, but it has limited its growth into new product areas.

The plans within Ericsson to wean existing projects off Erlang did not materialise and Erlang is slowly winning ground due to a form of software Darwinism. Erlang projects are being delivered on time and within budget, and the managers of the Erlang projects are reluctant to make any changes to functioning and tested software.

The usual survival strategy within Ericsson during this time period was to call Erlang something else. Erlang had been banned but OTP hadn’t. So for a while no new projects using Erlang were started, but it was OK to use OTP. Then questions about OTP were asked: “Isn’t OTP just a load of Erlang libraries?”—and so it became “Engine,” and so on."

A History of Erlang Joe Armstrong Ericsson AB

©2007 ACM 978-1-59593-766-7/2007/06-ART6

https://lfe.io/papers/%5B2007%5D%20Armstrong%20-%20HOPL%20II...

There's probably a discussion on precisely what this means, but such descriptions as "Erlang is banned" has significant and credible precedent.
by rayiner | 2025-04-12 02:38:42+00:00
> Can you explain that further? The U.N. is terrible at directly preventing conflict (just look at Ukraine) but I think it has a decent track record of helping countries build their infrastructure

Some UN agencies are very effective, particularly the ones that are basically run by Americans, such as the World Bank. The more third world countries participate in any given agency, the more of a tire fire it is.
by ivdoublex | 2025-04-12 02:40:07+00:00
First post here, I've been learning and building little things for a couple months now...

Came up with this when I got tired of copying text I wrote from my phone or just dictated quickly into Google Docs, then having to format it all..

So I built Plain2PDF. Paste your text, hit convert, and get a properly formatted PDF. It detects headers, formats paragraphs, turns links into anchors, etc.

Use cases: writing drafts, formatting email chains, journaling, exporting chat logs, etc.

No login. No watermark. Just fast, clean PDFs.

Any feedback/criticism welcomed!
by jayd16 | 2025-04-12 02:40:43+00:00
There's no killer app, as in a reason to add it to your tech stack.

The closest I've come across was trying to maintain an ejabberd cluster and add some custom extensions.

Between mnesia and the learning curve of the language itself, it was not fun.

There are also no popular syntax-alikes. There is no massive corporation pushing Erlang either directly or indirectly through success. Supposedly Erlang breeds success but it's referred to as a "secret" weapon because no one big is pushing it.

Erlang seems neat but it feels like you need to take a leap of faith and businesses are risk averse.
by pmags | 2025-04-12 02:43:04+00:00
Talk about a bad faith response. No counter data presented. Just deny and distract.

Here's collaborating trends for the same calendar year:

https://www.feedingamerica.org/research/charitable-food-assi...

Feeding America estimates more than 50 million people received charitable food assistance sometime in 2023

I'm guessing you'll respond that charities that feed people have a vested interest and are not to be trusted... (yes, I'm aware of cases of charities committing fraud; no there is no evidence that is the norm). Probably again without presenting data to support your assertion that there are no Americans who go hungry.

I'm curious what actually obtainable data you would accept as a counterfactual to your statement/belief?
by marcusverus | 2025-04-12 02:43:15+00:00
The median 65 year old has 200k in retirement savings. That's 8k per year at a 4% safe withdrawal rate. Hardly worth 40 years of work.

> A meager retirement is not appealing to most 18 year olds.

The option of shacking up with some buds and playing videophones all day will be utterly irresistible for many (if not most) male high school grads. Basically the college experience, for free, forever.
by jandrewrogers | 2025-04-12 02:43:33+00:00
Most salt is precipitated from natural brine. Virtually all salt is “sea salt” including mined salt, the main difference is how much time has passed since it was precipitated from a sea of some sort. That brine contains small quantities of many metals and minerals that were in solution when the brine evaporated. Several heavy metals have significant solubility in naturally occurring brines so it isn’t surprising to find them there, but the quantity depends on the local geology and geochemistry. They won’t be evenly distributed even within a single formation due to different minerals having different thresholds for precipitation.

Natural salt is therefore not particularly pure. I believe it is typically on the order of 95-98% pure. The majority of contaminants are harmless things like potassium, magnesium, calcium, etc but there will also be traces of heavy metals, arsenic, etc.

Salt is literally one of the very cheapest bulk materials on Earth. Any non-trivial processing is going to be really expensive compared to the raw materials so people don’t do it unless they can’t avoid it (e.g. anti-caking agent for some food salt applications). As a consequence, I would expect most bulk food salt to have limited opportunity for industrial contamination.
by wat10000 | 2025-04-12 02:43:39+00:00
It assumes that money is a motivation, which is generally true.

With low pay, you’ll get true believers and people who are bad at their work.

With high pay, you’ll get true believers, people who are bad at their work, and people who are good at their work. You can fill more positions without taking the bad ones.

As for what this says about society, I think all it says is that money can be exchanged for goods and services. If I’m selling ~50% of my waking hours, you’d damn well better believe I’m going to try to get a good price for it.
by wavemode | 2025-04-12 02:45:11+00:00
If you want your dev tool to sell, just sell a cloud service along with it.

What I've found motivates this phenomenon is the fact that many companies have a strong aversion to adding any technology of any kind to their tech stack, regardless of how simple. Better to pay an external provider to run it for you, the thinking goes.

So naturally there is a gigantic market for cloud hosting of all kinds of software, even software that is very rudimentary to self-host.
by adamredwoods | 2025-04-12 02:46:37+00:00
Key takeaways:

>> Fructose does not directly fuel tumors. The authors note that the cancer cells themselves were unable to use fructose readily as a nutrient because they did not express ketohexokinase-C (KHK-C). However, the liver converts fructose into usable nutrients for cancer cells. Primary hepatocytes did express KHK-C, they write, “resulting in fructolysis and the excretion of a variety of lipid species, including lysophosphatidylcholines (LPCs).”

>> “The idea that you can tackle cancer with diet is intriguing,” said Patti. “When we think about tumors, we tend to focus on what dietary components they consume directly. You put something in your body, and then you imagine that the tumor takes it up. But humans are complex. What you put in your body can be consumed by healthy tissue and then converted into something else that tumors use.”

You cannot stop cancer with diet alone. I've argued with others on HN about this, then they find "research" that claims such a thing, but most those papers even state in the summary that "there's no hard evidence" of any such feat.

The other notable analysis I refer back to is from Derek Lowe on curcumin:

https://www.science.org/content/blog-post/curcumin-will-wast...
by Sir_Twist | 2025-04-12 02:47:47+00:00
Indeed, and I agree that Adobe is in the wrong here. For an agreement between Adobe and an artist to be truly permissive, the artist should have the ability to not give their consent. Ethically, I think Adobe is in the same position as the other AI companies – if the artist doesn't directly (EULAs are not direct, in my opinion) agree to the terms, and if they don't have the option to decline, then it isn't an agreement, it is an method of coercion. If an artist, like you said, doesn't want to be paid micropennies, they shouldn't have to agree.

I believe it is completely reasonable for an artist to want to share their work publicly on the Internet without fear of it being appropriated, and I wish there was a pragmatic way they could achieve this.
by Sytten | 2025-04-12 02:47:54+00:00
We have done this move at Caido despite being a rust shop for the reason you mentionned. The webviews on OS are garbage in 25-35% of the time and will cause 90%+ of your bug report.

Switched to electron and moved on. Almost nobody cares about the memory footprint and the binary size. But they will care then app is half broken on their 9 years out of date webview...
by wat10000 | 2025-04-12 02:48:09+00:00
I do think substantially increasing Congress’s pay would result in better politicians. Dishonest people who are only in it for the money can find plenty of ways to profit from the office. As it stands, $174k is not a whole lot of money for a job that requires a ton of travel to the extent of basically requiring you to own two houses. This low pay means that non-wealthy members of Congress have a hard time of it. Non-wealthy people who would be good in Congress but don’t want to have that much hardship will bow out, or work around it with corruption. Low pay selects for rich and corrupt politicians. Someone who just wants to be in Congress to make a sweet $10 million in honest pay would be infinitely better than most of the people there right now.
by AdieuToLogic | 2025-04-12 02:49:42+00:00
> Good article. Funnily enough the throw away line "I don't see parentheses anymore". Is my greatest deterrent with lisp. It's not the parens persay, it's the fact that I'm used to reading up to down and left to right.

Language shapes the way we think, and determines what we can think about. - Benjamin Lee Whorf[0]

From the comments in the post:

Ask a C programmer to write factorial and you will likely get something like this (excuse the underbars, they are there because blogger doesn't format code in comments): int factorial (int x) { if (x == 0) return 1; else return x * factorial (x - 1); } And the Lisp programmer will give you: (defun factorial (x) (if (zerop x) 1 (* x (factorial (- x 1)))))

Let's see how we can get from the LISP version to something akin to the C version.

First, let's "modernize" the LISP version by replacing parentheses with "curly braces" and add some commas and newlines just for fun:

{ defun factorial { x }, { if { zerop x }, 1 { *, x { factorial { - { x, 1 } } } } } }

This kinda looks like a JSON object. Let's make it into one and add some assumed labels while we're at it.

{ "defun" : { "factorial" : { "argument" : "x" }, "body" : { "if" : { "zerop" : "x" }, "then" : "1", "else" : { "*" : { "lhs" : "x", "rhs" : { "factorial" : { "-" : { "lhs" : "x", "rhs" : "1" } } } } } } } }

Now, if we replace "defun" with the return type, replace some of the curlies with parentheses, get rid of the labels we added, use infix operator notation, and not worry about it being a valid JSON object, we get:

int factorial ( x ) { if ( zerop ( x ) ) 1 else x * factorial ( x - 1 ) }

Reformat this a bit, add some C keywords and statement delimiters, and Bob's your uncle.

0 - https://www.goodreads.com/quotes/573737-language-shapes-the-...
by uoaei | 2025-04-12 02:49:44+00:00
Certainly not, and you should be ashamed to shove such falsities in my mouth.

The studies I saw focused on the negative sentiments toward Clinton:

https://www.nbcnews.com/politics/2016-election/why-does-sand...

and section 3 of https://sbp-brims.org/2016/proceedings/PO_139.pdf

Would you like to revise your comments now that you understand your assumptions are misplaced? I suggest you do a lot more reading into the sentiments depicted by mainstream news sources on each candidate before replying.
by walterbell | 2025-04-12 02:49:46+00:00
_This_ specific article is about balanced trade, not income tax.

Before the WTO, there were bilateral agreements between countries. After the WTO ground to a halt over the past decade, due to India and others, there were again bilateral agreements, then attempts at regional agreements like the TPP, https://en.wikipedia.org/wiki/Trans-Pacific_Partnership and a parallel agreement among other Asian countries.

Setting aside short-term posturing, the best case going forward is trade agreements among groups of countries, to avoid the N-way combinatorial explosion of bilateral agreements among 100+ countries. That could be trading blocs anchored by US, China or other groups with complementary trade objectives.
by Alupis | 2025-04-12 02:50:02+00:00
Every single graphics professional I've worked with (many) have owned their own copy of Creative Suite (or subscribed). It's akin to their "IDE", and they really get to know it inside-and-out. It would be difficult to become skilled in the various Creative Suite products if one didn't spend a lot of time (their own and employers) in it.

The point I was raising here specifically was the people who are feigning outrage to Adobe's benign Bluesky post are unlikely to be Adobe customers, and unlikely even creative professionals at all.

Outrage and hate is a sport to these people.
Show HN: TeleGraphite – Telegram Scraper and JSON Exporter (Python CLI Tool)
by iosapk | 2025-04-12 02:52:03+00:00
Features Fetch posts from multiple Telegram channels Save posts as JSON files (with contact exports: emails, phone numbers, links) Download and save media files (photos, documents videos) Deduplicate posts to avoid saving the same content twice Run once or continuously with a specified interval Filter posts by keywords or content type (text-only, media-only) Schedule fetching at specific days and times
by bawolff | 2025-04-12 02:54:25+00:00
> Public opinion is a strategic asset. Imagine if the electorate of their arms dealer turned against them.

I'm not saying there aren't other possible motivations. Indeed, i'm sure Israel would love all its PR problems to go away.

My point is, that if we assume for the sake of argument that Israel isn't doing anything sketchy, i would still expect the stuff in the article to be true. Therefor it is very bad evidence of Israel doing sketchy stuff, since the article contents would probably be true either way. My argument is not that Israel is pure of heart or anything, only that we should judge based on publicly available evidence, and the evidence in this article is extremely weak.
by MBCook | 2025-04-12 02:54:28+00:00
Exactly. This same point was mentioned on Accidental Tech Podcast last week during a section primarily about “vibe coding”. (May have been the paid-only segment)

If the LLM gets something wrong, you have to be more exact to get it to make the program do the thing you want. And when that isn’t perfect, you have to tell it exactly what you want to to do in THAT situation. And the next one. And the next one.

At that point you’re programming. It may not be the same as coding in a traditional language, but isn’t it effectively the same process? You’re having to lay out all the exact steps to take when different things happen.

So in the end have you replaced programmers or decreased the amount of programming needed? Or have you just changed the shape of the activity so it doesn’t look like what we’re used to calling programming today?

John Siracusa (one of the hosts) compared it to the idea of a fourth generation language.

From Wikipedia:

“The concept of 4GL was developed from the 1970s through the 1990s, overlapping most of the development of 3GL, with 4GLs identified as ‘non-procedural’ or ‘program-generating’ languages”.

Program generating language sounds an awful lot like what people are trying to use AI for. And these claims that we don’t need programmers anymore also sound a lot like the claims from when people were trying to make flowchart based languages. Or COBOL.

“You don’t need programmers! The managers can write their own reports”.

In fact “the term 4GL was first used formally by James Martin in his 1981 book Application Development Without Programmers” (Wikipedia again).

They keep trying. But it all ends up still being programming.
by bsder | 2025-04-12 02:54:38+00:00
> I am generally pro-union, but a side effect of unions, at least in my experience, is that you will have a proportion of incompetent people who can not complete anything and you can not effectively get rid of them.

I am so tired of people who have "experience" repeating this talking point.

1) If an employee is union and being a freerider a manager has to document their failing before being able to fire them. And, yes, the union is going to defend them and make you do your job and put those documents in writing. The problem is that most managers don't want to put things in writing because, lo and behold, most of the time you wind up with written documentation that the manager is the problem instead of the union employee.

2) Union employees often hate freeriders more than managers do. Someone freeriding is making your own job far more miserable and if you can get rid of them, your own life is going to improve.

3) I can count the number of the freeriders I have encountered in union positions on one hand. I have lost count of the number of those people in non-union positions.
by CobaltFire | 2025-04-12 02:55:17+00:00
If you dive into the report that states the 4% number it’s measuring something entirely different than the other numbers, and agrees with the 18% in 2022 number.

Specifically the higher percentages are in reported land reclamation out of the 100Ha goal, which was at 17.8Ha in the 2020 report. The 4% is a composite of all targets for the 2030 goals, of which the GGB is only one metric.

Be careful in taking these types of articles at face value.
by t0lo | 2025-04-12 02:57:50+00:00
The pager attack indiscruminantly attacked healthcare workers and killed a 9 year old girl and another child. It was the definition of untargeted, immoral and unprofessional. How does eliminating over 3% of a population, of which the majority are women and children amount to anything but deliberate extermination? There is nothing defensive about the IOF, or the army which calls palestinian citizens "human animals" and says "no child is too young to be a terorist"