Better HN
topnewbestaskshowjobs
Log inSign up

Lindby

108 karma · joined Oct 16, 2016 (10y ago) · 23 submissions

Submissions

comment 3w ago · link · parent

Like httpie? https://httpie.io/cli

comment 2mo ago · link · parent

Soft like breaks in a code editor? That's insane

comment 2mo ago · link · parent

`git add -p` is your friend to avoid adding unintended files/changes.

comment 2mo ago · link · parent

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.

comment 2mo ago · link · parent

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/

comment 4mo ago · link · parent

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.

comment 5mo ago · link · parent

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.

comment 6mo ago · link · parent

I've never been to a theater without assigned seats. Maybe it's a regional difference?

comment 7mo ago · link · parent

My approach is to color ssh sessions to prod servers red, less dangerous servers orange, my own non shared computers blue.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

Americans and ISO? That sounds like an oxymoron.

comment 3y ago · link · parent

That is what Android does. Each application (by default) gets its own user id.

comment 3y ago · link · parent

"If you exit vim, it will restart."

This is like exception handling code with the comment:

// this will never happen

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

Will this cause the Teams notifications to be delayed even further than they already are?

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

How can you tell dead pixels apart from the stars off the night sky background image?

comment 5y ago · link · parent

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

comment 7y ago · link · parent

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

comment 7y ago · link · parent

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.

comment 9y ago · link · parent

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)