HNHacker News
TopNewBestAskShowJobs

Lindby

108 karma · joined October 16, 2016

submissionscomments
Lindby··on When code is a maze, smart developers make maps (2025)
Soft like breaks in a code editor? That's insane
Lindby··on .gitignore Everything by Default
`git add -p` is your friend to avoid adding unintended files/changes.
Lindby··on Highlighting My Code Based on How Much I Care
I totally agree with you about the comments. Code is so much easier to grok. The comments are there as a reference that you can concentrate on if the code doesn't make sense to you.
Lindby··on HTTPX2 – A next-generation HTTP client for Python
There is already a popular project called httpie, so httpy would be really confusing in non written form. Beside that, i completely agree, the name could be better.

https://httpie.io/

Lindby··on Why Software Factories Fail (or: harness engineering is not enough)
But do you actually gain anything if you need to write detailed specifications? That seems just as time consuming as writing code, but less gratifying.

Code is just detailed specifications on how things should operate.

Lindby··on Software is made between commits
All the things in between my commits is a messy soup. Looking there is not useful to anyone. I rewrite my history with git rebase so each commit is small and atomic. The story I create with my commits is what explains why things are as they are, it doesn't matter if it's the true chronological story on how it actually happened.

I agree with the author that reviewing pull requests is too late. The problem with pull request is that they make it hard to review individual commits since they are geared towards reviewing the result of an entire branch at once. But the answer is not to share all the noise, it should be to encourage small atomic commits so you can review the early work before the entire feature/fix is complete.

Lindby··on Empty Screenings – Finds AMC movie screenings with few or no tickets sold
I've never been to a theater without assigned seats. Maybe it's a regional difference?
Lindby··on Make tmux pretty and usable (2024)
My approach is to color ssh sessions to prod servers red, less dangerous servers orange, my own non shared computers blue.
Lindby··on A theoretical way to circumvent Android developer verification
It would be hard to find manufacturers to use it. None of the existing Android phone manufacturers would be able to release phones with this fork without also abandoning the official Android platform on all markets. Google are very strict with this in their tos. You cannot release devices using non official Android builds without losing your right to use GMS and Android Brandice on your other Android devices.
Lindby··on Disabling Intel Graphics Security Mitigation Boosts GPU Compute Performance 20%
They mention that there are mitigations in the kernel nowadays, so the mitigations they turned off here are now redundant. But I'm uncertain if that refers to the same cve that you mention.
Lindby··on Trump's Tariff Formula Makes No Economic Sense. It's Also Based on an Error
Americans and ISO? That sounds like an oxymoron.
Lindby··on Why GNU su does not support the `wheel' group (2002)
That is what Android does. Each application (by default) gets its own user id.
Lindby··on Boot to Vim, Vim as Pid 1 (2014)
"If you exit vim, it will restart."

This is like exception handling code with the comment:

// this will never happen

Lindby··on Linux-factory: A framework used to create custom Linux Debian operating systems
In a lot of situations, stable is better than bleeding edge. It depends on the use case.

For example, my personal computer is running Debian Sid (i.e bleeding edge, dev track) while my computer for work is using the latest Debian stable.

Lindby··on Chrome 110 will automatically discard background tabs
Will this cause the Teams notifications to be delayed even further than they already are?
Lindby··on Heat pumps are efficient and eco-friendly. So why are they so rarely used?
in Sweden we use them a lot. Most of the time they work really well and it's not like they are useless just because it gets really cold. They still help a lot even if the traditional heater element might need to kick in for short periods. It's usually not until 20 below freezing that they don't add much, but those temperatures are not a daily occurrence for most of us.
Lindby··on Clocks in Honda cars getting stuck at a certain time in 2002
How can you tell dead pixels apart from the stars off the night sky background image?
Lindby··on Unix shell programming: the next 50 years
You can do this in any shell already by placing the other language in a separate executable file. With everything in the same file the risk of ignoring the separation of concern principle (each unit should do one thing and do it well).
Lindby··on Samsung TVs should be regularly virus-checked, the company says
You can get dumb panels if you look into the b2b offerings. These are ment to be mounted in various business settings (show commercials in the checkout line in the grocery store etc). Often they don't even have any speakers, but the normal builtin speakers are crap anyway. A chromecast or android tv box and a sound system and you have yourself a smart TV setup where each part can be upgraded separately.

The downside is the price and inconvenience (as a consumer they are not easy to find). Buying a consumer grade smart tv is usually cheaper than buying the same panel as a "panel only tv".

Lindby··on Rise of Netflix Competitors Has Pushed Consumers Back Toward Piracy
It's available in your profile if you browse to it on a computer. The apps and mobile web does not have these setting. The profile settings are global.
Lindby··on Winamp2-Js: A Reimplementation of Winamp 2.9 in HTML5 and JavaScript
You could expose your library with a plex service. Now you can play it anywhere using any plex client. You could host a web client anywhere and have it play files from your local plex service (as long as the plex service is exposed to the internet)