Better HN
topnewbestaskshowjobs
Log inSign up

GrumpySloth

4,901 karma · joined Sep 13, 2020 (6y ago) · 1,641 submissions

Submissions

comment 3y ago · link · parent

Rust-analyzer provides plenty semantics-level functionality, and it deals with incorrect code gracefully.

comment 3y ago · link · parent

Merge commits also break regression finding, since if you checkout a commit that was part of a merge, you land in a tree state reflecting what tree at this commit looked like before the merge, which is a state the master branch has never been in. It often breaks things which work both before and after the merge commit. So you can never find with certainty the regression point at commit level, other than locally linearising this merge into a series of cherry picks. It’s just awful.

comment 3y ago · link · parent

Is that true? According to Wikipedia:

> The coolest month is January, averaging 5.4 °C

Doesn’t sound very cold to me. If anything, I’ve only heard complaints about how hot it often is in Tokyo (and most of Japan, except Hokkaido).

comment 3y ago · link · parent

You can’t have free market without regulation. The very beginnings of it were about guaranteeing a free market through the use of cannon.

comment 3y ago · link · parent

Where the “thea” part comes from Chinese. It would be bizarre for a beverage discovered in ancient China (and brought to Europe only a couple centuries ago) to be named in latin.

comment 3y ago · link · parent

Half the world also calls it “cha” or some variant thereof.

comment 3y ago · link · parent

Or as the name for the black fabric you put on the roof of a house.

comment 3y ago · link · parent

I have F13 bound to open KeePassXC on Mac. It works in every application except Firefox. Firefox blocks it somehow. It’s the reason I don’t use it.

comment 3y ago · link · parent

> glibc has very good backward compatibility, with careful symbol versioning and whatnot.

Not in my experience. Working through exercises in Practical Binary Analysis, the first problem I needed to solve was running programs compiled against an older glibc on older Ubuntu on a new Ubuntu version with newer glibc, which boiled down to hunting down the glibc so from the older Ubuntu. Without it, the programs crashed on startup. That problem wasn’t even planned by the book author, but it sure was a good thematic fit. :)

comment 3y ago · link · parent

It sounds like you’re using cgo.

comment 3y ago · link · parent

> You can't deploy a new library to close a library security hole, for programs that have statically linked it.

Of course you can. You just recompile affected programs. Just like you need to do in the case of header-only C/C++ libraries like much of widely-used Boost. And if the library is not strictly header-only, but still has significant code in headers, as is often the case in C++, if you only swap the dynamic library, the program is still broken, or much more likely: it becomes broken, even though it originally wasn’t.

comment 3y ago · link · parent

I don’t think that’s true for any mainstream Linux distros like Debian, Fedora or Arch.

comment 3y ago · link · parent

All but the last photo demonstrating it in the article look pretty dystopian to me. Especially this one: <https://www.archdaily.com/1005570/from-art-nouveau-to-the-ba...>. And if not dystopian, then at least very inhospitable.

comment 3y ago · link · parent

Beauty != ornamentation. While Bauhaus looks dystopian, there are art styles which do away with ornamentation and look beautiful, such as Japanese wabi sabi. See e.g. <https://hypebeast.com/image/2014/11/kyoto-guide-to-wabi-sabi...>

The main thing making Bauhaus dystopian is its alienation of humans from nature. In contrast, wabi sabi emphasises connection with nature, which creates a very different effect, while still being minimal.

Edit: another difference is approach to irregular shapes. Bauhaus bans them, while wabi sabi embraces them. I think that too makes the first dystopian and the latter human.

comment 3y ago · link · parent

Another edge case: aside from different orderings in different countries, in Spanish speaking countries people have 2 surnames.

comment 3y ago · link · parent

Opens fine in IINA.app on my end.

comment 3y ago · link · parent

> large country in South Asia

It sounds like a crossword puzzle. :)

comment 3y ago · link · parent

> They make a lot of sense for languages with lots of homophobes.

I think you meant homophones. At least I hope so.

comment 3y ago · link · parent

> However I would have to say that `dnf` (the new `yum`) is waaay better than apt. For a start it is much much faster to install things. I don't know why apt is so slow.

I (and everyone else I know of) have the opposite experience, which pretty much matches the numbers here: <https://michael.stapelberg.ch/posts/2019-08-17-linux-package...>. DNF seems to be 0.1% faster than YUM, but it’s still not competitive with other package managers.

comment 3y ago · link · parent

The main resource people compete for today is land.

comment 3y ago · link · parent

X->Y is not a function. f is.

comment 3y ago · link · parent

With the difference that encyclopedias are cyclical, whereas a working program has to reduce at some level to primitives.

comment 3y ago · link · parent

An even easier way to not be familiar with her: living in a country where she's not that important: <https://chartmasters.org/taylor-swifts-global-heatmap/>. So it's pretty easy in: Chile, Switzerland, Italy, France, Argentina, Costa Rica, Spain, Netherlands, Southern America in general, Eastern Europe, Northern Europe... Lots of countries really. Living in a given country is not much of a bubble. Imagining that pop stars popular where you live are universally popular is very much a bubble.

comment 3y ago · link · parent

Python programmers just self-selected themselves into a set of programmers who care about backwards-compatibility less than other programmers. You can see this attitude all over the Python ecosystem. And even in standard Python it’s not just one backwards-incompatible change, but a series still made from time to time. Programmers from C++, Java and Go worlds wouldn’t accept it as easily.

comment 3y ago · link · parent

> Just like a normal function arguments are passed using registers and the stack, coroutines are using the same ABI as previously specified, however the code different is vastly different.

> Finally at the end of the function the stack space initially reserved get’s reset to where it was initially when the function first call happens then returns to the caller.

This post could use some editing. I'm having to reread each paragraph several times to figure out its intended meaning. Most sentences are separate paragraphs with careless mistakes that make me feel the author was being chased by someone when writing them and couldn't take a breath.

comment 3y ago · link · parent

Dissolving in acid seems like the safest/most overkill option: <https://youtu.be/L0bcNm1gfpU>.

comment 3y ago · link · parent

Ookla traffic is known to be prioritised by ISPs. Maybe ISPs just haven’t caught up with Cloudflare yet and what you’re seeing now is more realistic speeds.

comment 3y ago · link · parent

That’s not that crazy. It just shadows the global + function. And thanks to lexical scope it has a rather limited impact.
1
101112
55