Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Skeime
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
by
Skeime
3y ago
I strongly disagree. I would estimate that in 90% of cases where I use modulo in languages that truncate (instead of flooring), I write (a % b + b) % b, or something similar, just to get the right behaviour. The exceptional cases are those
62.
▲
by
Skeime
3y ago
Why is the source code not formatted using the tool itself?
63.
▲
by
Skeime
3y ago
Um actually, neo is Greek as well. (Latin would be some form of nov- .)
64.
▲
by
Skeime
3y ago
I’m somewhat partial towards the centiday (roughly 15 minutes, 14m 24s to be precise).
65.
▲
by
Skeime
3y ago
My favorite part is that they designed a new calendar system where the months are named starting at one (Primilis, Secundilis, etc.) but numbered starting at 0. So Primilis is month 0, Secundilis is month 1, and Decilis is month 9. This som
66.
▲
by
Skeime
3y ago
The only rational argument? Cars are also dangerous for their surroundings and their passengers. In addition, individual cars are an environmental disaster, in terms of noise, air pollution, climate, and use of natural resources. Finally, I
67.
▲
by
Skeime
3y ago
Yes. “Purchase” of any “intellectual property” is essentially a marketing trick that we have come to accept. (Note that when you purchase my physical property, it is now your property. If you purchase my “intellectual property”, it’s almost
68.
▲
by
Skeime
3y ago
Yeah, and there are absolutely no people with an agenda to make cars a necessity. I mean, who would that be? It would need to be a huge industry that makes its profit from selling cars to people. I can’t think of any such industry. /s
69.
▲
by
Skeime
3y ago
I’m pretty sure there is a setting in Word that allows you to turn off the automatic conversion of quotes. And I think that defaulting to performing the replacement is sane, as most people do just type “"” whenever they need any quotat
70.
▲
by
Skeime
3y ago
Consistent with how language works. Words have partial overlaps and “subset” relations all the time. In the case of less and fewer , there isn’t even really a problem, because there are very few cases where using less when fewer woul
71.
▲
by
Skeime
3y ago
You said in your post that mass nouns are “inherently plural”, which grammatically they are not. I suppose you were referring to the meanings of those words, though.
72.
▲
by
Skeime
3y ago
Merriam-Webster, OED, Wiktionary. (If you have a preferred dictionary not on the list, I’m sure you can look there yourself.) All of them have some variant of “to pass through” as the primary meaning of to transit and “to change from on
73.
▲
by
Skeime
3y ago
But quest and question have the same etymology, just like transit and transition . Having the same etymology clearly does not mean that the words cannot diverge in meaning. And if you looked up transit and transition in a diction
74.
▲
by
Skeime
3y ago
I disagree that to transit is the right verb form of transition in general. Transit (to my ear) is pretty much limited to a change of place, usually even through something (you might “transit a stretch of wood”, to steal Merriam-Web
75.
▲
by
Skeime
3y ago
(1) is even more annoying in German where we use single quotes ‚like this‘ (i.e. a comma-looking opening quote and the English opening quote as the closing quote). Apostrophes are the same as in English, though. Unfortunately, (almost?) all
76.
▲
by
Skeime
3y ago
The problem with the example is: Some has used less where you would have preferred fewer . You answer with an example, where fewer is used but only less is generally considered grammatical. (In other words, the replacement goes in th
77.
▲
by
Skeime
3y ago
I don’t understand what you mean here.
78.
▲
by
Skeime
3y ago
Because scissors is plural, which does not have an indefinite article. You can ask for scissors , like you can ask for documents . (And you cannot ask for a documents , only for a document .)
79.
▲
by
Skeime
3y ago
One nitpick: Grammatically, mass nouns are not (necessarily) plural. You’d say “Paper is made from wood.”, not “Paper are made from wood.” (Of course, the pair words like scissors are different, i.e. “My scissors are in my backpack.” (I a
80.
▲
by
Skeime
3y ago
It also happens to be aligned with how other similar words are written (S-Bahn, U-Boot, …), so I think it was likely to become that anyway.
81.
▲
by
Skeime
3y ago
The emperors are not at fault. They renamed months and didn’t insert new ones. It’s just that the beginning of the year changed from March to January at some point. (Hence the leap day at the end of February as well.)
82.
▲
by
Skeime
3y ago
What’s the font used in those screenshots? It looks great!
83.
▲
by
Skeime
3y ago
It does. However, it’s much more common to edit the end of a list, in my experience. Still, a syntax that is entirely uniform (like trailing commas) is preferable, in my opinion.
84.
▲
by
Skeime
3y ago
From the context, I suspect they meant “And then it is fine if they offer a cash discount” (but you have to give the full price for non-cash customers as the default).
85.
▲
by
Skeime
3y ago
Of course it’s an opinion. But in my experience, I almost exclusively have some sort of “template” with some parts to fill out, and string interpolation represents this better (in my opinion). This is especially true if the different parts
86.
▲
by
Skeime
3y ago
I strongly disagree. Not converting the int to a string automatically is absolutely the right decision. In all code I write, this TypeError would catch an actual error, because concatenation of strings is just not the right tool for creatin
87.
▲
by
Skeime
3y ago
Oh, yeah, I was. While underground parking does certainly exist, it’s not all that common yet. (Again, quite a few old buildings and lots of smaller housing units …) I’m actually not sure how this would go down in an underground parking str
88.
▲
by
Skeime
3y ago
Oh, and I forgot: If you want to put a big-ish new structure somewhere, you also need to get a building permit, which is work and will lead to questions about parking.
89.
▲
by
Skeime
3y ago
That would be nice, but is often prevented by regulations. Essentially, the idea is that you might always get a car in the future (or move out and sell your home to a car owner), so the parking spot needs to be preserved for this possibilit
90.
▲
by
Skeime
3y ago
“Not polynomial” is an easy trap to fall into (and one I have fallen into) but it’s really not correct. All polynomial-time problems are also NP problems (P=NP is about whether the converse is true, and if P=NP, all problems in NP are act
More ›