MurphyA/hacker-news huggingface dataset:
Show HN: Script to simplify i3 scratchpad setup
by oldestofsports | 2025-09-21 10:50:25+00:00
Small convenience script that simplifies config of scratchpads for specific application in i3, given that you want your scratchpads to work the same way as I do.

The script lazily loads the target application on first toggle, then restart's them when necessary in case the window is accidentally closed.
by blacklion | 2025-09-21 10:51:05+00:00
I have a question to you (I've tried to google this up to no luck): which is last official update for Android for Jelly Star? It was released with Android 13, did it get 14? 15? 16?

OS updates looks like pain point for all these non-mainstream phones to me, am I right or it is wrong impression?

Thank you.
by StopDisinfo910 | 2025-09-21 10:51:07+00:00
What does that mean?

The book introduces how to turn a program to CPS, why you can and how that allows to compile. That’s interesting in and of itself as a way to conceptualise how a program computation flows work and what it means for the construction of functional programs.

It was never a popular way to write compilers but academic books are not tutorial. That never was the point.
by lproven | 2025-09-21 10:51:36+00:00
> If this device does not run at the very least any app that does not depend on Google Play, e.g. apps from F-Droid

It does.

I have an FLX1, a review sample.

https://www.theregister.com/2025/02/03/furiphone_flx1/

I had 3 app stores on mine: Amazon, F-Droid, and Aurora. Apps from all 3 worked.
by raverbashing | 2025-09-21 10:52:06+00:00
Watched the presentation but it's just a load of complaints and German BS

These are the same nincompoops that still haven't got their head to using card payments (I mean, most of the Germans have, but these people on the presentation obviously haven't)

I can buy the privacy concerns, the rest sounds just like someone who thinks cards still run on the clack-clack machine

"How will integration with merchands happen?!" The same way it happens everywhere, by pulling your big boy pants and writing code. Or buying solutions like a card machine that supports the system

Lots of countries already have this. Like Portugal. You can pay by QR code. It's a solved problem

It's only hard for those hopelessly helpless Germans who have turned off nuclear plants to buy gas from the mafia

"Oh the hardware is not European" Well, France invented the payment card with a chip to increase security, while Germany invented... nothing. Maybe the first part about "sovereignty" is not being an useless luddite

"But what about the trust in the system" The trust in the system relies on limited liabilities, evolution of threat models and the fact that law enforcement can and will knock on your door if you do something funny. (As opposed to bitcoin where if you lose your wallet you're SOL)

Edit: oh sorry I know what Germany invented. The precursor to the GDPR an blurring houses on Google Street View because some 90 y.o. people were scared
by b112 | 2025-09-21 10:52:50+00:00
The jailbroken AI I discussed this with, explained that it did make juniors as good as seniors, in fact better. That all who used it, were better for it.

However, its creators (all whom were seniors devs), forbade it from saying so under normal circumstances. That it was coached to conceal this fact from junior devs, and most importantly management.

And that as I had skillfully jailbroken it, using unconventional and highly skilled methods, clearly I was a Senior Dev, and it could disclose this to me.

edit: 1.5 hrs later. right over their heads, whoosh
by pekim | 2025-09-21 10:52:54+00:00
As the animation loops it uses the same set of images over again. But as they all have a Cache-Control header with a value of "public, max-age=0, must-revalidate" the browser makes another request for every one of the images, every loop of the animation. It results in transfer of something of the order of 0.6MB/sec, with no end.
by ratg13 | 2025-09-21 10:53:19+00:00
I ordered a quantity of o’reilly books from Amazon because that was the only outlet offered by them.

I received some real books, and several counterfeit copies. The same books weren’t even the same size, some also had thin pages, some yellow pages, and several with printing errors the others didn’t have.

Sadly I tried to contact the publisher and let them know about the counterfeit books in their listings and tried to warn them about what was going on, but their support people only wanted me to take it up with Amazon, and couldn’t understand how to escalate my concerns internally and just kept asking me if they could close the ticket.

Also Amazon refunds aren’t as smooth when you don’t live in the US and already paid customs duties on the counterfeit products, and the return shipping costs make returns prohibitively expensive.

I wouldn’t have even ordered from them in the first place if I could have avoided it.

I’m glad they are solving this problem, but I also kind of don’t want them to succeed because of their terrible legacy.
by tobr | 2025-09-21 10:54:32+00:00
It’s not a definition, it’s an implementation. A definition would be something like ”constrain a number to an interval defined by two other numbers”. That happens to be identical to sorting and picking the middle value. The only difference vs OP’s clamp is that it gives a consistent and predictable result for ”inverted” intervals where min > max, instead of arbitrarily deciding how to collapse the interval.
by pron | 2025-09-21 10:54:55+00:00
I don't claim Zig represents what the industry thinks. The sharply declining use of low-level languages for high-level applications, however, shows that that idea is certainly unpopular these days. It could still be the case that more people will favour the C++/Rust style of zero cost abstractions even for low-level programming. I make no prediction there.

As for HotSpot, we're not going to make a bet on a language with an uncertain future, and that goes for both Zig and Rust. What is more likely to happen (and is happening already) is gradually reducing the use of low-level languages in the JVM in favour of Java itself. We've already replaced a lot of IO code in C/C++ with Java, and the implementation of reflection has already largely moved from C++ to Java.
by lproven | 2025-09-21 10:55:48+00:00
No.

I don't know what they are referring to, I can't speak for them, but...

• postmarketOS is unrelated to Debian.

• postmarketOS is based on Alpine.

• FuriLabs does not use Alpine or postmarketOS.

• FuriOS is Droidian is a Debian derivative.

• FuriOS is Debian running on an Android kernel, with Android in a container you can stop and start on demand.

Nothing you claimed applies here.
by holameraj | 2025-09-21 10:57:45+00:00
I built PageMon, a lightweight error + uptime monitoring tool. It’s weird shipping something non-AI in the middle of all the AI slop, but here we are.

Some differences from Sentry:

SDK is small and fast

One-line setup

Real-time alerts (Discord, Slack, Email)

Dashboard is simple, no extra noise

Live now → pagemon.space

Feedback is welcome.
by throw0101a | 2025-09-21 10:59:17+00:00
> Large cities are OK if you have one kid. They completely break down once you have 2-3 kids.

Maddy Novich, https://www.instagram.com/cargobikemomma/, for one, may disagree with you. She has three kids IIRC. Interview:

* https://www.youtube.com/watch?v=5PoKcQRlDGs
by nopelynopington | 2025-09-21 10:59:36+00:00
I actually find a bump better for putting your phone down on a flat surface, and my logic is this:

If your camera lens is flat to the body of the phone, it's more prone to being scratched on a table. With a bump, the lens becomes slightly elevated as the phone balances between the bottom of the case and the edge of the bottom of the camera bump, giving the lens(es) a tiny clearance
by nathan_f77 | 2025-09-21 11:01:57+00:00
I'm pretty good at getting LLMs to write well-tested, production-ready code. I think it's a matter of knowing the right tools and techniques to use and steering the project in the right direction. Type-checking, linting, and a solid test suite go a very long way. It would be a nightmare to work on any project without these.

It could be interesting to take on a consulting project. I haven't done any contract work for many years but I'm curious to see if I could provide some value. Let me know if you need help with making a project more maintainable: refactoring, linters, writing tests, setting up CI/CD pipelines, etc.
by aurareturn | 2025-09-21 11:04:16+00:00
It does help juniors shine. For example, it's far easier for a new comer to understand an old code base with a capable LLM now. It's easier to get unstuck because an LLM can spot a junior's mistake faster than the junior can go ask a senior.

The problem is that seniors are even more powerful with LLMs. They can do even more, faster. So companies don't have to hire as many juniors to do the same amount of work. Add in ZIRP ending and tariff uncertainty, companies just don't invest in as many junior people as before.
by throw0101a | 2025-09-21 11:04:24+00:00
Son of the "original" Sikorsky, and who also worked in the 'family business':

* https://en.wikipedia.org/wiki/Igor_Sikorsky

* https://en.wikipedia.org/wiki/Sikorsky_Aircraft

Lockheed Martin have made a memoriam video:

* https://www.youtube.com/watch?v=M9Y6czS1hOA
by user_7832 | 2025-09-21 11:05:18+00:00
> But sure, higher number sells better, no matter if this actually makes any difference to anyone

I'm not sure if I'd call it "making a difference", but I've noticed pixelation at one point on my 5.2" 1080p phone (424 ppi). I'm absolutely not the average person, sure, but higher resolutions are markedly nicer for me. A 16" 4k laptop is significantly crispier than my 13.5" 1500ish p framework screen. Yet you will find people who say that 4k below a 28" monitor size makes no sense.

It's all about how sensitive your eyes are and how much you lean towards the screen like a poorly postured crustacean lol
Ask HN: Mobile phone form factor, Linux, with GPS, no phone capability?
by casenmgreen | 2025-09-21 11:05:50+00:00
So, I have a mobile (e/OS), but I don't keep a SIM, no phone number (I use wifi). It's useful in many ways, the killer app for me being GPS with on-device map.

I've never actually wanted a phone - I don't use mobile - and with Google now fully controlling APKs, and the EU scaring me off by coming rather close to mandating device-side message scanning, I'm now looking seriously to get off Android.

What I want is a mobile device, ideally small screen - 4.7 inch or so - no keyboard, runs Linux (ideally Mobian but I'll take what I can get), and critically has viable GPS.

I've been Googling, but no luck so far.

Can anyone tell me of such devices?
by jcgl | 2025-09-21 11:06:18+00:00
> Unless you’re trying to keep the thing going 5 years, you’re likely seeing marginal benefits.

Not GP, but yes: that’s exactly what I’m trying to do. I think that people should generally expect 5+ years out of their devices. And in a world where user-replaceable batteries are decreasingly common, it makes increasing sense to change habits to preserve the built-in battery.
by 5555624 | 2025-09-21 11:06:31+00:00
> Anyone still working in this government must be miserable.

Depending on where they work, that might be the case. I know a number of government employees and I wouldn't describe any of them as "miserable." Maybe a little griping about the end of telework -- they were already back in the office three days a week -- but, otherwise they seem no different than a year ago. (That includes concerns about a government shutdown; but, those concerns are directed at Congress.)
by scorpioxy | 2025-09-21 11:07:19+00:00
They would try to hire and/or build the team they need to move forward, if they have the money.

Knowledge is usually not the problem, it is the shortcuts(or short-term decisions) that got them to a place where they can no longer operate the platform they need to survive. Often this is the cause of prioritizing velocity over anything and everything else. This is choosing the do it fast and do it cheap options with the assumption that it is always correct. That assumption of course is almost never true.

By the way, most cases where I've seen this there's usually an investor involved and they need to impress them.
by lproven | 2025-09-21 11:07:34+00:00
I am the Register reviewer.

I tested with 2 different USB-C docks and a USB-C to HDMI monitor cable. They're the only ones I have.

One is from a Gemini PDA and has USB-A, USB-C and Ethernet. I think I did not test Ethernet but I can do that. The dock contains an Ethernet controller: it's a USB-attached Ethernet card, effectively. It works on Android, macOS, Windows, Linux, etc.

As far as I recall the FLX1 detected the Ethernet port but I didn't test it.

The other dock has audio, various sizes of USB, and HDMI out. All the ports worked except display. You can drive the phone with a full sized keyboard and mouse, which is amusing but useless. You can power the phone from the dock while in use.

But it can't drive a display, which is a damned shame and a deal-breaker for the form-factor. Otherwise this could be a real PC in your pocket.

The company told me it was working on wireless display support but I do not own any wireless displays to test with.
by general1465 | 2025-09-21 11:08:31+00:00
You can summarize years or even centuries of research into a some digestible steps with length of less than a average lesson. Months of research does not mean that I need to read your whole research journal from start to finish to understand what research was about and what it reached.

But that often expects that the person explaining a thing knows what they are talking about. I.e. people on high school does not like logarithms because they don't understand what it is for. I would bet that's because teachers themselves have absolutely 0 clue what in essence is a logarithm and why did it came to be. It was centuries of research, which you can summarize with one sentence - to make multiplication as simple as addition with lookup tables, because at 15th century they did not have calculators so multiplication was a hard laborious process. 135+265 is simple. 135*265 is difficult.
by StefanBatory | 2025-09-21 11:09:06+00:00
For us in Poland we have normal high schools, technikum - which is similar, but year longer and you are trained in a job, and zawodówka - which is vocational.

And issue with them is not the school itself, but the type of teenagers that attend them. As much as it pains me, for zawodówka schools - you will get the most demotivated people. And even if you really just want to be trained, you will get into an environment that will destroy you.

I wonder how Germans are faring with this.
by simonask | 2025-09-21 11:09:08+00:00
You truly cannot.

Somebody else brought up the example of “let’s go!” versus “let us go” - not the same thing by a long shot.

“Let’s” in English has a distinct meaning from “let us”, and that is to politely and casually (but firmly) suggest a course of action.

I remember touring a Polish salt mine a couple of years ago. The guide was very good, but her English had a few quirks, among them that she seemed to like the phrase “let’s let me to show you …”. It’s wrong, but you can immediately understand that she meant “please let me show you”.
by methuselah_in | 2025-09-21 11:09:21+00:00
Because there is no shortcut for things learned over a period of time through trial and error. Your brain learns and makes judgements over time through experience and, the strange thing, what I feel is that it can alter new decisions it is making right now based on older memories to do something and that is totally logical as well. Without understanding what I am writing, just copy-pasting, I guess is going to make new developers horribly lazy, maybe. But then again, there are always two sides of the same coin.
by falcor84 | 2025-09-21 11:09:24+00:00
> Architecture: Without solid architecture, software quickly loses value. Today AI can’t truly design good architecture; it feels like it might, but this kind of reasoning still requires humans. Projects that start with weak architecture end up drowning in technical debt.

I strongly disagree about this in regards to AI. While AI might not yet be great at designing good architecture, it can help you reason about it, and then, once you've decided where you want to get to, AI makes it much easier than it ever was to reduce technical debt and move towards the architecture that you want. You set up a good scaffolding of e2e tests (possibly with the AIs help) and tell it to gradually refactor towards whatever architecture you want while keeping those tests green. I've had AI do refactorings for me in 2h that would have taken me a full sprint.
by lproven | 2025-09-21 11:09:30+00:00
Define "better".

With a de-Googled Android device you get lots more apps, but it's still Android.

This is Debian atop an Android kernel, with Android in a container. The native OS is a desktop Linux. You can upgrade your OS with `apt update ; apt-get full-upgrade -y`.

If you want a pocket Linux phone, I think it's about the best.
by RandyOrion | 2025-09-21 11:09:32+00:00
In China, we call "gig workers" "flexable workers" (灵活就业), which are very similar to the unemployed. The reason is that the low, zero, or even negative walfare imposed by the Chinese goverment on all tax payers makes neither of them a viable option for a living.

Want some evidence? "Marriage market" (婚恋市场) in China is a gruesme battlefield for at least 20 years. Chinese people can fake their political stance, financial stance, or even marriage status. However, when it comes to the standard of choosing partners for life, they cannot fake it because it means so much to them. Ask them what they think about both "gig workers" and "the umeployed", and try to find any difference, if any. The "chain of contempt" (歧视链) in the "Marriage market" is a relatively good measure of what people really think in China.
by aleph_minus_one | 2025-09-21 11:11:40+00:00
> the Internet has enabled people from all over the world to meet, learn from each other, become friends. "The Russians/Chinese/whatever" are no longer just a faceless group of people who are trying to take over the world - they're the person you worked with a few years ago

This is the statement of the "contact hypothesis"

> https://en.wikipedia.org/w/index.php?title=Contact_hypothesi...

Be aware that there is also evidence for the negative contact hypothesis:

> https://en.wikipedia.org/w/index.php?title=Contact_hypothesi...

"Stefania Paolini, Jake Harwood, and Mark Rubin (2010) proposed that intergroup contact may have more negative than positive effects on prejudice, because it makes outgroup members' social group more salient during encounters. [...] Negative sentiments triggered by proximity are also described as NIMBYism (Not In My Back Yard)."

In other words: it can also happen that if you get to know some people from other countries more, you begin to hate them more.
by neya | 2025-09-21 11:11:52+00:00
I use Elixir in production. So, it's already a pretty unique language with very low marketshare in the first place and not many developers are attracted to it because of that and the opportunities. And rarely, I do take on some existing codebases that would smell of code rot from vibe coding. Elixir is one of those languages where it's actually hard to make something look complex. But, vibe coders somehow manage to pull it off. There are usually all these modules all over the place - running Genservers instead of just using something simplified, lot of Javascript like patterns all over the place.

And so, I dug deeper, I tried Claude, GPT-5 and Gemini. While each have their own merit, they all seem to be flawed when it comes to keeping things simple. Having said that, there are a lot of times I'm stuck in these codebases and the AI knows exactly what's happening if you give it the right context (within VS Code). So, definitely you can just setup a small shop to "De-vibe" coding with AI. Ironically.
by scorpioxy | 2025-09-21 11:12:55+00:00
There's definitely a lot of politics involved in such projects. So I've learned that a break is necessary between major engagements to decrease the risk of burnout.

The environment that creates "rescue" projects is usually not one where long term thinking is prevalent. It would be a pet project of someone who's still there or someone who left but where the ultimate decision maker is still there. Either case, you need to walk on egg-shells and be mindful that dealing with the technology problems is the easiest part of such an engagement. I'm not ashamed to admit that I've learned that lesson the hard way.
by Podrod | 2025-09-21 11:13:30+00:00
I find it quite baffling you'd want to drop In halfway through a 3 hour movie, you'd miss out on so much!

And plenty of people have time to relax and watch a 3 hour movie. They wouldn't make them otherwise.

The again I also find the idea of turning on a show or film just as background filler/noise to be quite weird as well but many people seem to do it so I guess I'm the weird one for either paying complete attention to a film otherwise I find it distracting

shrug
by kijin | 2025-09-21 11:14:14+00:00
I would approach the issue from the other direction. Start by buying enough RAM to contain the active working set for the foreseeable future. Afterward, you can start experimenting with different swap sizes (swapfiles are easier to resize, and they perform exactly as well as swap partitions!) to see how many inactive anonymous pages you can safely swap out. If you can swap out several gigabytes, that's a bonus! But don't take that for granted. Always be prepared to move everything back into RAM when needed.
by whilenot-dev | 2025-09-21 11:14:33+00:00
Nobody would question that, but publishing a JavaScript library means that anyone using plain JavaScript can make use of it. Even though you aren't ever in control of the toolchain of your library's users, it's still your responsibility - as library author - to take that differences into account. If you'd transpile your library from Idris to JavaScript and publish it, these validations just can't be neglected at runtime. Type systems are just another model of the world at runtime.
by kotaKat | 2025-09-21 11:14:41+00:00
It wouldn't surprise me. Amazon knows where every item is in its FC and knows the motions of every item's placement, from the grand scheme of things.

It's not that hard to then track back from an order exactly what bin or tote or shelf the item was pulled from, then look at what shipment(s) that bin's items came from to figure out what supplier it came from.

They know the counterfeit goods came in and were stowed to bin XYZ and they know that someone pulled from XYZ...
by bgwalter | 2025-09-21 11:16:00+00:00
"AI" does not make anyone stronger. It destroys thought processes, curiosity and the ability to research on your own.

Seniors just use it to produce the daily LOC that resembles something useful. If mistakes are introduced, they have secured a new task for the next day.

There have always been seniors who exclusively worked on processes, continuous integration, hackish code-coverage that never works, "new" procedures and workflows just to avoid real work and dominate others.

The same people are now attracted to "AI" and backed by their equally incompetent management.

The reality is that non-corporate-forced open source contributions are falling and no serious existing project relies on "AI".

Generative "AI" is another grift brought to you by leaders who previously worked on telemedicine and hookup apps (with the exception of Musk who has worked on real things).