News for hackers. Stuff that matters.

Lindby

Re:When code is a maze, smart developers make maps on Tuesday September 15, 2026 @02:25AM (#49708498)
Soft like breaks in a code editor? That's insane
Re:.gitignore Everything by Default on Saturday September 05, 2026 @10:35AM (#49576935)
`git add -p` is your friend to avoid adding unintended files/changes.
Re:Highlighting My Code Based on How Much I Care on Monday August 31, 2026 @06:10AM (#49507901)
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.
Re:httpx2 on Friday August 28, 2026 @01:41PM (#49481974)
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/

Re:Why Software Factories Fail on Thursday July 23, 2026 @02:40PM (#49026216)
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.

Re:Software Is Made Between Commits on Thursday June 11, 2026 @03:56PM (#48495593)
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.

I've never been to a theater without assigned seats. Maybe it's a regional difference?
Re:Make Tmux Pretty and Usable on Monday April 13, 2026 @03:45PM (#47756953)
My approach is to color ssh sessions to prod servers red, less dangerous servers orange, my own non shared computers blue.
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.
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.
Americans and ISO? That sounds like an oxymoron.
That is what Android does. Each application (by default) gets its own user id.
Re:Boot to Vim, Vim as PID 1 on Saturday April 22, 2023 @07:37AM (#35665495)
"If you exit vim, it will restart."

This is like exception handling code with the comment:

// this will never happen

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.

Re:Chrome 110 will automatically discard background tabs on Tuesday February 21, 2023 @04:11PM (#34887418)
Will this cause the Teams notifications to be delayed even further than they already are?
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.
How can you tell dead pixels apart from the stars off the night sky background image?
Re:Unix shell programming: the next 50 years on Saturday August 21, 2021 @02:31AM (#28254761)
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).
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".

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.
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)