TIL (about the Dark Arts of HTML)
-
@Bort could not be reached for comment.
-
-
@loopback0 said in TIL (about the Dark Arts of HTML):
@Zecc said in TIL (about the Dark Arts of HTML):
The Apple Watch, which is always photographed at 10:09 a.m. In this, Apple is following longstanding tradition throughout the watch world
A tradition set by watches with hands, that got carried over into digital watches/clocks.
-
TIL generics can be recursive
public class StandardPage : Page<StandardPage>{} public class Page<T> : GenericPage<T> where T : Page<T> { } public class GenericPage<T> : PageBase where T : GenericPage<T>{}
Seems like fun.
-
@anonymous234 it's amazing the contortions that APIs go to, to work around the lack of a
Self
type.
-
@pie_flavor it's just the standard CRTP. On the badness scale from 1 to 10, it's only like 3.
-
@pie_flavor said in TIL (about the Dark Arts of HTML):
@anonymous234 it's amazing the contortions that APIs go to, to work around the lack of a
Self
type.You mean a
Self
type that has the most-derived type in the base class?
-
@topspin If you want to phrase it in such a silly way, sure. A Self type that is whatever the type of
self
is.
-
@pie_flavor not sure what’s silly about it, but okay.
-
@topspin said in TIL (about the Dark Arts of HTML):
@pie_flavor said in TIL (about the Dark Arts of HTML):
@anonymous234 it's amazing the contortions that APIs go to, to work around the lack of a
Self
type.You mean a
Self
type that has the most-derived type in the base class?I don't think there can be a
Self
type in base classes, only in traits/mixins, because those are not types of their own, but are instantiated for each type that implements them. So they can refer to that type asSelf
. And CRTP is a way for creating traits/mixins in languages that don't have them natively like C++ or C#, so…
-
TIL there are 6 lists each for North Atlantic and Eastern North Pacific cyclones. The lists are recycled every 6 years and only change if a name is retired. So there was a hurricane (or named tropical storm) Arthur this year and there will be an Arthur again in 2026. Also, interestingly, there are no names beginning with Q, U, X, Y or Z on the Atlantic name list, but X, Y, and Z names do appear on the Eastern North Pacific list; however, there are only 3 X and 3 Y names that repeat on a 3 year cycle, and 2 Z names that alternate yearly.
-
TIL - Electric eels need to breathe air. Probably all eels but I was thinking electric eels would handle climates better than alligators in our moat. Still need to move South from here.
-
@Karla said in TIL (about the Dark Arts of HTML):
alligators in our moat. Still need to move South from here.
If you move south to Florida, you wouldn't even need to acquire the alligators; they'd move in all on their own. On the downside, Florida Man.
-
@Karla said in TIL (about the Dark Arts of HTML):
I was thinking electric eels would handle climates better than alligators in our moat
TIL @Karla lives in a castle.
-
@Zecc said in TIL (about the Dark Arts of HTML):
@Karla said in TIL (about the Dark Arts of HTML):
I was thinking electric eels would handle climates better than alligators in our moat
TIL @Karla lives in a castle.
Castles are not a prerequisite for a moat. I also don't have a moat yet.
-
@Karla said in TIL (about the Dark Arts of HTML):
@Zecc said in TIL (about the Dark Arts of HTML):
@Karla said in TIL (about the Dark Arts of HTML):
I was thinking electric eels would handle climates better than alligators in our moat
TIL @Karla lives in a castle.
Castles are not a prerequisite for a moat. I also don't have a moat yet.
But at least all the electric eels in it are air-breathing.
-
Today I did not learn that holding Shift while right-clicking a file in File Explorer presents more options than when not holding Shift.
I did however learn there's a "Copy as path" option.
I was actually going to write a shell extension to do this, I need it so often!
How did I miss this all these years??
-
@Zecc said in TIL (about the Dark Arts of HTML):
Today I did not learn that holding Shift while right-clicking a file in File Explorer presents more options than when not holding Shift.
I did however learn there's a "Copy as path" option.
I was actually going to write a shell extension to do this, I need it so often!
How did I miss this all these years??Damn, TIL
That is quite useful.
-
@Zecc said in TIL (about the Dark Arts of HTML):
I did however learn there's a "Copy as path" option.
Huh...one of the things that often (OK, maybe not that often) drives me crazy is not having a clue which directory I'm in due to Explorer treating things a "Libraries" or whatever.
-
TIL United States of America have a total of 36,011 municipalities and townships. For comparison, Poland, a country with 10x less population and 20x less land, has 103,225.
-
@Gąska said in TIL (about the Dark Arts of HTML):
TIL United States of America have a total of 36,011 municipalities and townships. For comparison, Poland, a country with 10x less population and 20x less land, has 103,225.
But do you have gerrymandering?
-
@topspin We tried that in 1939, remember?
-
@Rhywden I don't think it counts when there's only one party involved.
-
@topspin there were two parties involved.
-
TIL it costs up to $2000 to have a SINGLE ambulance ride in USA. And the insurance normally doesn't cover any of that. What the fuck.
-
@Gąska I thought the Soviets were later, but you’re right that was still 39.
-
@topspin still September even. They were just bit over 2 weeks apart.
-
@Gąska said in TIL (about the Dark Arts of HTML):
@topspin still September even. They were just bit over 2 weeks apart.
They surely just wanted to help after Poland started the attack.
-
@Gąska said in TIL (about the Dark Arts of HTML):
@topspin still September even. They were just bit over 2 weeks apart.
Still hungover on the switch from Julian to Gregorian calendar?
-
-
@Gąska Yes, there are some issues with healthcare costs in the USA, I hear it's been a topic of mild contention for some period of time...
-
@Gąska said in TIL (about the Dark Arts of HTML):
TIL United States of America have a total of 36,011 municipalities and townships. For comparison, Poland, a country with 10x less population and 20x less land, has 103,225.
From memory, I think that France also has about 36 000 (for... I guess very roughly the same population/land than Poland?).
Because they're too small, many municipalities get together for even the most basic of their responsibilities, such as street cleaning or garbage collection. Which contributes quite a lot to what's called the "administrative mille-feuilles", with reference to the tasty pastry made of layers of puff pastry (allegedly 1000, hence the name) and cream.
Most places will be under the nested jurisdictions of: municipality, groupement of municipalities, canton (something like county, albeit smaller), département (more or less like a UK county in size), regions, state (and EU). Most jurisdictions are strictly included in the higher one, except for groupement of municipalities that may overlap several cantons/départements (maybe even regions, although I'm not sure whether that actually happens?). Most responsibilities are split among different levels, ostensibly according to how local they are (primary schools = municipality, secondary = départements, high school = regions, or residential streets = municipality, secondary roads = départements, primary roads = state etc.), meaning that most significant changes require getting several levels to get agree together.
Every 10 years or so, a big government plan tries to simplify things, usually by creating/reinforcing a new level that is supposed to replace a couple of others. Usually it ends up creating one additional level and not removing anything. In parallel, every 10 years of so a big government plan tries to devolve more power to local authorities and therefore adds more chunks of responsibilities split into several levels.
-
@Gąska said in TIL (about the Dark Arts of HTML):
TIL it costs up to $2000 to have a SINGLE ambulance ride in USA. And the insurance normally doesn't cover any of that. What the fuck.
For that price, do you at least get to play with the siren?
-
@remi
driving around in rural France gives you the impression the only thing you need as a commune are a Marie (town hall), a flag, a remembrance statue for WWI (add a plate referencing other wars if necessary) and a déchterrie (where you empty the various waste bins).
Climbing up as a commune unlocks the options to build 1 (just one) sporting grounds of your choice (tennis court, boulodrome, basket court), a Salle Communal/Salle de Fête and 1 festivity of your choice (vide grenier, pasta/paella/moulles/local dish evening, musical festivity).
-
That's... pretty accurate, actually.
-
@Luhmann Spot on, except for the déchetteries, there is a bit less than one per commune when the villages are sufficiently close to each other.
The next level is having either one traffic light on the main road crossing the village, or one (two if you're lucky, one at each end) roundabout at the entrance. At that point you can start considering having shops, starting with a bar or a boulangerie.
-
@remi
ooh ... I forgot about speed bumps and other "traffic" slowing measures.
Once you have more then 3 passing cars per hour you need those.
-
@remi said in TIL (about the Dark Arts of HTML):
@Luhmann Spot on, except for the déchetteries, there is a bit less than one per commune when the villages are sufficiently close to each other.
The next level is having either one traffic light on the main road crossing the village, or one (two if you're lucky, one at each end) roundabout at the entrance.
Ooh, ooh, this reminds me...
Around the beginning of the millenium I had a gig playing shanties in a sailing port/marina a small ways from Warsaw. During the season (i.e. in summer) we'd drive out most weekends, play most of the day and head back to town in the evening.
Along the way, there was a lovely example of the one roundabout on the end of a village. No! Wait! I tell a lie: two roundabouts. Or should it actually be one? I'm confused now...
Anyway, what happened was that the two neighbouring communes ("gmina") couldn't come to an agreement as to how the roundabout on the border between one and the other should be constructed (I believe money from the EU may have been involved). In the end, one built a roundabout on its end and the other built a roundabout on its end. Two roundabouts for the price of one - one right after the other...
-
@GOG Ah, see, this is where the French way is better!
In that case, a roundabout would have been very unlikely to have been built by one commune alone, there would have been funding from at the very least the département and more likely than not, the region or state as well (because remember, the commune is tiny, it doesn't even have enough funds to change street light bulbs by itself...). Also, the regional (or maybe national) roads administration would have to rubber-stamp the project. That wouldn't have prevented both communes to bitterly fight for where the roundabout would be, but there would have been only one in the end.
So this kind of stupidity would never have happened.
Of course, getting everyone to agree (and fund it) would have taken about 20 years in the best of cases (remember that each level has its own electoral calendar, none of which align), but hey, infrastructure is forever, amirite?
-
-
@GOG said in TIL (about the Dark Arts of HTML):
Two roundabouts for the price of one - one right after the other...
It's still not as stupid as a magic roundabout.
-
@remi I hardly expect this globally revolutionary infrastructure project to have been funded with local moolah alone.
To the best of my understanding (I could look it up, but ), building roads in Poland typically gets funded with a combination of money coming from local authorities, central state funds and EU funding. However, local self-government being a value that waxes and wanes depending on wider trends in politics, the actual decision-making may rest at a fairly local level (the idea of bureaucrats in Warsaw having a final say as to how the road in Koziedupy should be laid out doesn't enjoy that much support).
My guess would be that the big fight was over who gets to divvy up the funding and since both gminas were entitled to a measure (because infrastructure must be developed), both decided: "Fuck it! Let's just build a roundabout." Presumably, that's what the funds were earmarked for, so they couldn't be spent elsewhere.
Plus, those aren't particualrly big roundabouts.
-
@remi said in TIL (about the Dark Arts of HTML):
and fund it
nothing to grease those wheels like some EU funds!
-
@Luhmann We're going to build a
wallpair of roundabouts and make theMexicansGermans pay for it!
-
@Luhmann said in TIL (about the Dark Arts of HTML):
nothing to grease those wheels like some EU funds!
Contrary to , actually gives money to the EU (quite a lot). You lazy bums!
-
@remi
but rural does gets some
-
@Luhmann You're right, they get that from to before back to .
Which of course is why it takes so long.
-
@remi said in TIL (about the Dark Arts of HTML):
@Luhmann You're right, they get that from to before back to .
Which of course is why it takes so long.
Well, duh, if you the to Tokyo first.
-
@dkf said in TIL (about the Dark Arts of HTML):
@GOG said in TIL (about the Dark Arts of HTML):
Two roundabouts for the price of one - one right after the other...
It's still not as stupid as a magic roundabout.
-
TIL that money.SE has a tag for sugar-daddy.