Better HN
topnewbestaskshowjobs
Log inSign up

L3viathan

192 karma · joined Jul 11, 2019 (7y ago) · 95 submissions

Submissions

comment 5mo ago · link · parent

Option-Shift-Hyphen.

Just --- only works when you have the text replacement thing on (the same thing that turns (C) into ©).

comment 1y ago · link · parent

That sample was complete though as long as there wasn't too many tweets. I.e, as long as your query was specific enough, you _did_ get all tweets.

comment 1y ago · link · parent

Firefox still exists.

comment 1y ago · link · parent

Why does it have to have a chat interface? What's wrong with entering airports in different fields? I'm not convinced it's needed for a "routine trip" feature, you could just have some sort of bookmark feature..

comment 1y ago · link · parent

You uninstall all snaps, uninstall snapd, and block it from being installed via APT.

Then you add e.g. the mozilla PPA such that its firefox package gets installed instead.

comment 1y ago · link · parent

You can do that if you want to. It'll just be slower.

comment 1y ago · link · parent

While true, that is true for everyone, there's no special law about police.

comment 1y ago · link · parent

Nitpick, but:

> At its core, a file descriptor (often abbreviated as fd) is simply a positive integer

A _non-negative_ integer.

comment 1y ago · link · parent

> more people have an intuitive sense for how heavy a ton is compared to elephants

Yeah, I think most elephants don't have a good sense of _any_ man-made unit.

comment 1y ago · link · parent

> It isn’t, like, a hidden fact or anything.

It really is, in-universe. Almost noone knows this save other maiar. The wizards are perceived as men by most people, them being maiar is far from common knowledge.

comment 1y ago · link · parent

As a Mac user, your best bet is probably X-Plane. There's only a few short tutorials, but given your history you should have no issues :)

comment 1y ago · link · parent

Well in a sense you are right that it is lazy, in that it would be quite a lot of work to disentangle those parts.

So they could probably do it, but it would be costly, while just releasing the TF2 code is basically free.

comment 1y ago · link · parent

Only technically.

By that name, yes, but much of Markdown was "discovered" rather than invented, having been used in email/newsgroups/... for a long time.

comment 1y ago · link · parent

The point they're trying to make, I think, is: Black/Ruff format, or any other formatter necessarily need to operate on universal rules. In context, sometimes these rules don't make sense. I still would love some kind of stateful linter and formatter, where it suggests me changes that I can then accept or ignore (and won't be told about again).

Formatters _are_ a compromise. They make your coworkers' code nicer, and your code worse.

comment 1y ago · link · parent

At the very least they could trigger a real qualified human review of it immediately.

comment 1y ago · link · parent

You can put `./scripts` in your $PATH, if you want.

comment 2y ago · link · parent

I think ripgrep specifically is counted in the comment you reply to as a tool that _does_ do one thing well, and that one should use it (or grep) in combination with an ls, instead of giving ls filtering abilities.

comment 2y ago · link · parent

> as there's no guarantee it will be maintained

As opposed to official projects like Allo, Wave, Reader, etc. that will?

comment 2y ago · link · parent

> if you [] live in a country where it is just easy to cross borders as a part of life, [] providers still charging ridiculous fees

What places other than the EU does the "easy to cross borders as a part of life" apply to?

comment 2y ago · link · parent

While I agree with this project being a bad idea, both 1 and 2 are addressed by HTMX itself, via hx-preserve and Out-Of-Bounds swaps.

comment 2y ago · link · parent

Huh? Messing with the system Python install absolutely can break your system.

Just use venvs, or install separate Python versions for development e.g. via pyenv. You likely don't want to use the relatively outdated Python version shipped with Debian anyways.

comment 2y ago · link · parent

Steam Locomotive, an annoying little ASCII art film to punish you for typos. Funny exactly once.

comment 2y ago · link · parent

It's saying "modern, maintained", implying that ls is either not maintained (wrong), or ls is not modern (can be argued to be true). Only one of those two properties need to hold for the entire label to fit.

comment 2y ago · link · parent

> Going from 1 install to 270 installs is a 270% increase

No, it's a 270x increase. In percent that's much higher.

comment 2y ago · link · parent

These kind of things are also why four colours are actually _not_ always enough, in the real world. Countries can have exclaves :)

comment 2y ago · link · parent

> any generator. For example, the classic range

`range` is not a generator.

Regarding number 8, instead of `Counter` you can also use dicts:

`unique = list(dict.from_keys(iterable))`

comment 2y ago · link · parent

Maybe not a regular customer, but there's other reasons you might have a phone field:

> In Israel, certain advertising numbers start with a *.

> In New Zealand, non-urgent traffic incidents can be reported by calling *555 from a mobile phone.

comment 2y ago · link · parent

The counter-proposal is: don't do it. This comment by the Apple guy sums it up well IMHO:

> Colleagues and I have discussed this and don't see a way to grant write access to the end user's local file system in a way that safeguards the end user's interests.

comment 2y ago · link · parent

Because there's typically at least a minimum of safety checks before an app can go into the app store, whereas a website can do whatever it wants (and can).

comment 2y ago · link · parent

Likewise. I _did_ sell those stellar tokens they gave to (longtime?) users for about 50 bucks though, before deleting my account.
1234