HNHacker News
TopNewBestAskShowJobs

jakub_g

8,250 karma · joined November 11, 2012

submissionscomments
jakub_g··on Microsoft extends free Windows 10 security updates into 2026
I bought my parents a Dell laptop in 2019/2020. It has 7th gen i3 so just below the Windows 11 threshold. The machine is in perfect shape as it's used a few times per month max for watching YouTube or some online banking, or occasional LibreOffice usage.

I don't want to generate electronic waste, what would you recommend? Installing Linux Mint?

Note: I'm far from my parents so can't do IT support.

Edit: also occasional HP scanner/printer usage.

jakub_g··on Show HN: I'm an airline pilot – I built interactive graphs/globes of my flights
If you're interested in the subject, let me introduce you to GCMap.

GCMap can plot a line between any two IATA airport codes; actually you can put arbitrary number of pairs comma separated; and best of all, they can be passed as a URL param. For example: `JFK-LHR,LHR-CDG,CDG-FRA`

http://www.gcmap.com/mapui?P=JFK-LHR,LHR-CDG,CDG-FRA

I track my own flights by sending an email to myself with a GCMap URL every now and then.

jakub_g··on The economics behind "Basic Economy" – A masterclass in price discrimination
Uh, it felt weird indeed reading those super verbose descriptions of what airline X did in year Y and what they changed in year Z, repeated like 5 times in slightly different words.

Note: it's a content marketing article on a blog of a company dealing with airline refunds, so it makes sense, you're probably right.

jakub_g··on Microplastics shed by food packaging are contaminating our food, study finds
Just from a few days ago:

> Microplastics ... in glass bottles contain more microplastic particles than those in plastic bottles, cartons or cans. This was the surprising finding of a study conducted by the Boulogne-sur-Mer unit of the ANSES Laboratory for Food Safety. The scientists hypothesised that these plastic particles could come from the paint used on bottle caps. Water and wine are less affected than other beverages. [1]

[1] https://www.anses.fr/en/content/caps-glass-bottles-contamina...

jakub_g··on How Cloudflare blocked a monumental 7.3 Tbps DDoS attack
> QOTD DDoS attack

> How it works: Abuses the Quote of the Day (QOTD) Protocol, which listens on UDP port 17 and responds with a short quote or message.

Does any reasonable operating system those days support this protocol? Sounds like "IP over Avian Carriers" to me.

jakub_g··on EU rules for durable, energy-efficient and repairable smartphones and tablets
The main reason for this is to force the publishers to stop relying on deprecated APIs that have way too much access, and migrate towards new APIs that offer more fine grained permissions and control to the user.

BTW The stores requirements are not really about minimum OS version of the phone, but minimum SDK version of the build chain. It's often possible to have secure code path for new OS and the legacy code path for old OS, but in practice it can be burdensome sometimes.

jakub_g··on EU rules for durable, energy-efficient and repairable smartphones and tablets
FWIW things have dramatically improved in recent years. For example, latest Pixels claim to have 7 years of support [1].

I wonder how it will work in practice though, as often the quality of QA for system updates for old phones drops over time, and major bugs and perf regressions are being shipped.

[1] https://endoflife.date/pixel

jakub_g··on Rules, Not Renewables, Might Explain the Iberian Blackout
Relevant parallel thread:

"Miscalculation by Spanish power grid operator REE contributed to massive blackout, report finds"

https://news.ycombinator.com/item?id=44301186

jakub_g··on Android 16 is here
On Pixel 8 + Android 15, I can already connect an external monitor via "screen mirroring" feature. My keyboard and mouse, which are plugged into USB ports in the monitor, do work.

However the annoying thing is that many apps which display video (official TV streaming apps from my ISP etc.) detect the presence of an external display, and prevent video playback there. Sigh.

jakub_g··on Apple introduces a universal design across platforms
> iOS 26, iPadOS 26, macOS Tahoe 26, watchOS 26, and tvOS 26

Bumping from iOS 18 / macOS 15 etc. towards year-based naming, nice. I wish more projects followed this.

jakub_g··on I got a remote job for a EU company, I'd find it hard to go back to a US-based
Dammit. So sorry for you and your wife. Take care.
jakub_g··on I got a remote job for a EU company, I'd find it hard to go back to a US-based
(EU person) From my reading, the cost is just the start. Others are: insurance companies rejecting claims for stupid reasons; providers overdoing treatments to maximize their bills; the stress involved navigating all this hostile system etc.
jakub_g··on How much energy does it take to think?
For me the mental fatigue is mostly related to context switching, being disturbed (slacks, meetings etc but also side quests to the original problem), and working on a fuzzy problem.

Working a few hours in such environment is very fatiguing.

On the other hand, when I work on a single thing, no disturbance, clear problem definition, having all necessary skills to do the thing, I can work 10h and it's not fatiguing.

jakub_g··on Japan Post launches 'digital address' system
The lockers in Poland can be used for both receiving and sending items. It's a massive QoL improvement in many ways over old school:

- you can receive things while you're not at home, don't have to carefully plan to be there for the courier (who then misses initial date and you need to do it again next day). It works 24/7 so you can pick up your stuff in the middle of the night if it's more convenient. You have 48hrs to pick up.

- you can send things, also 24/7, so no need to go to a blessed place between 9am and 5pm during week and queue. You can send your item Sunday evening, no problem

- the costs are also very reasonable. I sent a parcel from Poland to France for 7€ this month.

- you don't actually need to print anything nor even write the address. The courier opens the box, and they print a sticker with destination address.

- I believe it increases throughput because the courier doesn't have to stop at 100 places per day, they stop at lockers and unload N packages at once in every locker. Higher throughput -> shorter delivery times and lower costs

jakub_g··on Kagi Assistant is now available to all users
Opera Android does support reflowing.
jakub_g··on Brazil's government-run payments system has become dominant
Sounds similar to China / WeChat situation, from what I've read previously
jakub_g··on 20 years of Git
Very interesting to get some historical context! Thanks for sharing Scott.

Small remark:

> As far as I can tell, this is the first time the phrase “rebase” was used in version control

ClearCase (which I had a displeasure to use) has been using the term "rebase" as well. Googling "clearcase rebase before:2005" finds [0] from 1999.

(by the way, a ClearCase rebase was literally taking up to half an hour on the codebase I was working on - in 2012; instant git rebases blew my mind).

[0] https://public.dhe.ibm.com/software/rational/docs/documentat...

jakub_g··on The Insanity of Being a Software Engineer
Let me update what the OP wrote:

"How do we run arbitrary code on client hardware in a way that's safe for all parties and without installation step?"

15+ years ago, installing software on customers' machines could take days of efforts of dedicated teams. Today it mostly "just works".

jakub_g··on Why is the world losing color?
The chart with car colors has been famous for a few years. However I'm seeing an inverse trend in past 1-2 years (at least in France); new cars are getting very colorful. For example:

- Renault Clio is very popular in metallic orange

- Renault 5 e-tech in bright yellow and green

- MG in aqua/azure blue

- Peugeot 208 in dark yellow and blue and dark red

jakub_g··on Interview with the Creator of Deluxe Ski Jump
> DSJ is really fun, but it also increased the risk of mouse strain. How much pain do you think you’ve caused your players?

> I was aware of the potential risks – not to mention neck stiffness from players tilting their heads to the right

Fun to see it wasn't only me :)

jakub_g··on Blasting Past WebP - An analysis of the NSO BLASTPASS iMessage exploit
Semi-relatedly: How does this look like for Whatsapp and Telegram? Can a stranger send me an attachment? Never saw this happen, I always receive short messages from scammers like "Hello" w/o attachments, but I wonder if this is possible.
jakub_g··on Move on to ESM-Only
Did anyone make a large TypeScript codebase work with ESM + TS + node (together with IDE support and yarn pnp support?)

The thing that is annoying with ESM is that it requires to have extensions in imports, i.e. `import .. from '/foo.js'`.

This gets messy with TypeScript, where your files are named `foo.ts` but you need to import `foo.js`.

The previous "best practice" in TS world was to have extensionless JS imports, so this move would require a massive codemod to update all imports in an entire codebase.

For now, we've been using `ts-node` with swc under the hood, but without ESM. I tried `tsx`, but the compilation time of esbuild is way too slow, some of our node CLI tools written in TS take 15s to boot up, which is not acceptable (with `ts-node` it's 3-4s) (tbh, it's probably partly a fault of our CLI framework, which crawls all workspaces to discover all CLI tools, and as we have a lot of them, tsx has a lot of useless work to do).

jakub_g··on The Frontend Treadmill
Counterargument: my colleague with 15y exp (10 C++ & 5 Angular/Vue) has been unemployed for 2yrs already because he has no React on the CV and no local company wants to hire him (secondary size tech hub in the country, EU). He's probably have to force-relocate soon.
jakub_g··on Pixel 9a: The latest A-series phone with Google AI smarts at an unbeatable value
Almost same weight as 8 and 8a - FWIW I have 8, and the size and weight are very comfy, as a previous 3a owner (I "downgraded" from Pixel 6 which was too big and too heavy to fit in one hand and in the pocket, though I actually gotten used to it at home as a "tablet"). Using Spigen Liquid Air case.
jakub_g··on Pixel 9a: The latest A-series phone with Google AI smarts at an unbeatable value
I tried two jack-to-usb-c adapters in $5-$10 range (tbh there's very little choice) and it's not great.

- first was working with Pixel 6 but no longer with Pixel 8

- the other works with Pixel 8, but sometimes cuts the output for 0.5s (I think it cuts the output after a silence, but not always); also occasionally there's terrible thrashing for a few sec depending on how the cable is rotated

Plus in any case, you always have some white audio noise at low volume levels (and when paused etc) which is annoying when I want to listen not very loud in the evening.

If someone has a good adapter to recommend, which works with 8+, I'm all ears.

Edit: just read about Apple adapter in another thread, gonna give it a try.

jakub_g··on Going down the rabbit hole of Git's new bundle-URI
Oh, interesting! Tbh I don't fully understand what "--reapply-cherry-picks" really does, because the docs are very concise and hand-wavy, and _why_ it doesn't need the fetches? Why it is not the default?
jakub_g··on Going down the rabbit hole of Git's new bundle-URI
GH Actions generally need a throwaway clone. The issue with shallow clones is that subsequent fetches can be expensive. But in CI most of the time you don't need to fetch after clone.
jakub_g··on Going down the rabbit hole of Git's new bundle-URI
Nice timing! Thanks!
jakub_g··on Going down the rabbit hole of Git's new bundle-URI
scalar and msft git (whose many features made it into mainline by now) addresses mostly things like improving local speed by enabling filesystem caching etc.

It doesn't address the issue of "how to clone entire 10GB with full history faster". (Although it facilitates sparse checkouts, which can be beneficial for "multi-repos" where it makes sense to only clone a part of repo, like in old good svn.)

jakub_g··on Going down the rabbit hole of Git's new bundle-URI
Indeed, `git ls-remote` produces 14MB output; interestingly, 12MB of it are `refs/pull/<n>/head` as it lists all PRs (including closed ones), and the repo has had ~200,000 PRs already.

It seems like large GitHub repos get an ever-growing penalty for GitHub exposing `refs/pull/...` refs then, which is not great.

I will do some further digging and perhaps reach out to GitHub support. That's been very helpful, thanks Scott!

← PreviousPage 5 of 34Next →