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

There wasn’t. Previously there was the British mandate. Prior to that there was the Ottoman Empire. That’s centuries before the UN even existed. You might as well be talking about a state of Apaches at this point. Or better you might just look at what was the state of the world when Israel was created. Commenter upthread is clearly displeased with its existence and claims that it was created through splitting something else. I’m pointing out that it wasn’t. That’s all.

comment 3y ago · link · parent

All I find in those links is that the Arabs may have complaints about the conduct of the British, since it's the British that didn't keep their promises. However, those promises weren't made by the Jews who bought the land (and Arabs were among the people who sold it to them...).

Also, this doesn't contradict anything I said. There is a difference between not keeping a promise to create a country, and splitting a pre-existing country.

> I'm pretty sure that Crimean lands were that "legally bought" by Russians after 2014.

Please stay cool and on-topic.

comment 3y ago · link · parent

"They" didn't. The ones coming from all over the world legally bought the land from previous owners, both British and Arab. Prior to that there was no such thing as a state of Palestine[1] there. It was much later that UN decided to invent this entity.

[1]: A different thing from the region called Palestine, mind you.

comment 3y ago · link · parent

I'd love to have a pet too, but I don't have the conditions for that (including financial conditions), so I don't. Even though I'd love to. But having a pet is responsibility, which includes financial responsibility. So yes, you shouldn't have a right to have a pet, when you can't afford it. That it may even be controversial is bewildering to me. Animals aren't things which exist for your pleasure.

comment 3y ago · link · parent

> Doesn't even need the `inline` keyword for this at `-O2`

Not surprising, since inline has nothing to do with inlining. :)

comment 3y ago · link · parent

In C++ I do it Google style:

  static constexpr int kConstantName = 42;

comment 3y ago · link · parent

Many C codebases predate that. And Visual Studio for a long time didn’t support anything newer than C89.

comment 3y ago · link · parent

Then you're clearly not using head. For this you can use listToMaybe.

Don't change the meaning of an identifier to something meant for a completely different use. The alternative change involving dependent types or liquid types doesn't break existing code. Changing head so that it returns a Maybe breaks code, because its use case is different.

comment 3y ago · link · parent

In cases when head is used though, you clearly just want to unpack the first element of a list. So if you replace head with a function that returns a Maybe, all you’re going to do is pattern match on its result to check if it’s a Just. So I don’t see a benefit over matching x::_ against the list straight away.

(I do see how a function like that is useful, but I don’t think it’s a good replacement for head.)

comment 3y ago · link · parent

It’s enabled by default in Caddy.

comment 3y ago · link · parent

Maybe your computer ignores the DNS resolver address suggested by your router? You can check with dig what resolver you’re using, if you’re on a Unix-like system.

comment 3y ago · link · parent

I used to use OpenDNS, but then out of nowhere they decided to enable parental control by default[1] and without an account I don’t think I could disable it.

[1]: Maybe only in EU?

comment 3y ago · link · parent

> they're disabled by default in GCC

They’re disabled for gnuXX values of the -std= flag, but enabled for cXX. And for the latter you can’t disable them by any finer-grained flag.

comment 3y ago · link · parent

If you weren’t born rich, like Newton or Darwin, you were unlikely to be able to afford to learn and do science. Forget about being able to travel to the other side of the world without a huge risk of dying of malaria, dysentery or any of the other myriad diseases whose risks weren’t yet mitigated. Most people also couldn’t afford to travel even to countries nearby. Games: obviously no video games, but personally I wouldn’t miss them. ;) Other games, like poker, chess, mahjongg: true, they were there. Skydiving: nope. Learning: much more limited. E.g. there was so little communication between Asia and Europe that for most Europeans you’d need to move to Asia for months or more to even find a teacher. Beside languages, education in general didn’t use to be available to as large a percentage of society as now. Illiteracy was the common case. According to [1], in 1701 in UK 54% of population was literate, in Western Europe: 31%.

[1]: <https://ourworldindata.org/grapher/estimated-historical-lite...>

comment 3y ago · link · parent

The comments in that thread are really something. I think it's better for it to stay flagged. Alternatively all the green comments should go.

comment 3y ago · link · parent

In maths though there was some fluctuation. Mathematics in Roman times saw a decline, and in medieval times a complete breakdown (at least in Europe). If we take Euclid to be the bar for a first-rate mathematician, then there were none in medieval times, but later there appeared Gauss, Newton, Leibniz, Euler, Galois etc. I’m also not sure if today anyone clears the bar for Hilbert-level genius. So I don’t think the bar for “top 10 today” keeps going up. From time to time it goes down.

comment 3y ago · link · parent

I love the “remove more clutter” comment. :D

comment 3y ago · link · parent

At first I read that as “Winston Churchill”, which made it sound like a Doctor Who episode.

comment 3y ago · link · parent

There’s a class of truths whose source is our belief in them, i.e. they are true, because we believe they are true. E.g. in most countries there is right-hand traffic, which is true based on people’s belief that it’s true. Of course it’s written down in law, but the only reason this law has this much power is because people believe in it. Similarly Europe exists, because people believe it exists. But none of those things are lies. They’re no less true than the fact that water boils at 100°C. In case of traffic you may even check the full power of human belief by driving in the other lane. ;)

(There was some clever Latin/Greek epistemological name for it, but I’ve forgotten it.)

comment 3y ago · link · parent

I don’t know about “first-rank”. To me it sounds like an RPG term (“first-rank mage”). But in the case of “first-rate” I see nothing weird about the answer “there were none this year”. When quality is lower, that’s what I’d expect, since I think about this term a bit like the A1, A2, B1, B2, C1, C2 etc language proficiency certificates. They’re not assigned based on quantiles in current population, but based on a set of requirements applied to skill in absolute terms, not relative to skills of other people.

comment 3y ago · link · parent

Nit: if it were top mathematicians of their age, then there wouldn’t be any ages without first-rate mathematicians, which is obviously wrong.

That said, the “of all time” version also doesn’t sound right.

comment 3y ago · link · parent

The same is in the current manpage on OpenBSD: <https://man.openbsd.org/pfctl>. The next line is more telling though:

> July 1, 2007

Although I'm running Monterey, so maybe it's updated in more recent versions of MacOS.

comment 3y ago · link · parent

Theoretically it is, but on one Linux computer I have it freezes from time to time, whereupon it stops redrawing frames, resizing the window results in gray rectangles etc. I think it’s caused by a slower disk, which is sad, because I don’t think that’s a legitimate reason for a UI to stop working. I can accept having to wait when opening a file, but the UI completely freezing is unacceptable. I typically close and open it again in those situations.

It still has a faster fuzzy file search than anything available in Emacs, which is why I stick with it.

comment 3y ago · link · parent

That does look terrible.

comment 3y ago · link · parent

I’ve never been to the US, so I don’t have a good idea of what it is like there, but over here I lived for a couple years in a poorer district of Warsaw, where I would never be able to get good sleep, because there would either be a neighbour screaming out of nowhere in the middle of the night, or a party going on with music on full blast a floor up the whole night. Every night. Police wouldn’t do anything about the noise. It was also commonly accepted to smoke in the stairwell, leaving the cigarette dust on the floor in little dunes. A couple times I found a big pile of crap (once it was literally cow crap size) left in the middle of the first pavement tile at the exit of the building. I moved to a more expensive district. One of the best decisions I made in my life for my mental health. So it’s not a crime problem, but it is a real problem of public order, tidiness, peacefulness etc.

comment 3y ago · link · parent

> Parking for one.

Are you saying it’s too many or too few?

comment 3y ago · link · parent

That will only work for open source libraries. It won't work for libraries provided in binary form (which is common in commercial contexts I've worked in so far). I also tend to dislike the preprocessor and other forms of syntactic programming in favour of solutions working on the semantic level. The more I know about the preprocessor, the less simple and more puzzling it is to me, especially after implementing it.
1
8910
55