Unknown type of activity/object
Reminded of this in conversation recently: possibly the nastiest piece of abuse of the C switch statement rules I know of that _wasn't_ done by either me or Tom Duff. This was contributed to #PuTTY's terminal code in 2000 as part of a much larger patch (and removed again in a 2001 rewrite).
The switch is processing the final character of one of the terminal escape sequences ESC#3, ESC#4, ESC#5, ESC#6 and ESC#8. Four of them do something very similar: they set an attribute on the current terminal line (indicating whether the text is double-width or double-height). The fifth is the odd one out. So you want a switch statement in which four of the five cases share _most_ of their code: each sets the line attribute to a different value, but the code for actually writing it into the terminal is the same.
You could write four case statements sharing a handler, and have a secondary switch inside the handler to choose the attribute. Or you could have four separate handlers that choose an attribute value, then hold your nose and write a 'goto' from each one to the shared code that writes it into the terminal data. Or you could put the shared code in a subroutine a long way away from here, and have four independent case handlers all call it with a different parameter.
Or you could do this, which complies with the letter of 'don't use goto', but makes you wish it hadn't! Control enters at one of the four case statements, and after setting the attribute variable, it then skips over each of the following case labels because of the if (0) { ... }. Then all of them fall through to the shared handler.
acho-o absolutamente fascinante, de ficção científica.
Heyyy everyone hope you enjoy this I had some tro
Video Link: https://playmogo.com/e/lp7djdask3dl
MORE VIDEO LINKS:
GayStash:
https://gaystash.com?ref=BENO77
MyVidster:
https://www.myvidster.com/profile/slobeno
IMAGLR:
https://imaglr.com/register?r=4vd2kbw3
NO POP-UPS AND ADS:
Use the BRAVE browser // https://brave.com/
@analgesicsleep In some places she's billed at Yen Nan Shee #KungFuSat
There is Fischer chess
The main difference in this chess variant is the starting position of the pieces. While the pawns’ positions remain the same, with White’s pawns all on the second rank and Black’s pawns on the seventh, minor (knights and bishops) and major pieces (rooks, king and queen) are placed semi-randomly on the first and last ranks.
Unknown type of activity/object
Saw this sea monster a while back, enjoying some low tide at a divot in the shelf below.
¿Creéis que alguien votará a "Frente Obrero" queriendo votar en realidad a "Frente Amplio"?
🇪🇸 29N | Tracking 40dB/Prisa
El PSOE apuntala su tendencia al alza tras el debate. PP y VOX seguirían sumando mayoría, con unos 185 escaños.
🔵 PP 31,9 % (-0,3)
🔴 PSOE 31,6 % (+1,4)
🟢 Vox 16,9 % (-0,7)
🟠 FA 5,3 % (=)
'Women of Steel' tribute to the women who worked in Sheffield's steelworks during WWI and WWII
#BlueSkyArtShow #Metal #ECK
I took a voluntary course on emergency first aid, including child birth procedures. The sole motivation was to trot out Worf's line "You are now fully dilated to 10cm. You may now give birth." But nobody has ever gone into labour in my presence. Oh well, good training though.
@fesshole you can still say it. Probably a good way to answer the phone, if I’m honest.
I did finish the Fedor Pikus talk about lock-free programming, and while I'm not qualified to do the most fine-toothed analysis, I have a few observations.
The first, of course, is that there is no one size that fits all when it comes to concurrency, and much like allocation, specificity is better than generality. I'll say more about this in a minute, but don't reach for an MPMC queue if an SPSC will do. The talk is mainly about a different axis - different underlying primitives work well under low-contention vs high contention, locks inherently affect worst-case latency, etc.
Next, on a hardware level, there's no atomic writes bigger than a word. Everything else is physically subject to tearing. Both push and pop are abstractions over actually two states: "I am using this" and "I'm done and releasing it back". All the "empty" space from the write head onward to the read head (remember, this is circular) is, from a reader perspective, in a quantum superposition of being written to vs not.
@MaddieM4 I haven't seen the talk in question so maybe I'm missing something, but "no atomic writes bigger than a word" is over-simplified, right? Outside the CPU core, the modern atomic unit is the cache line; and from the perspective of instruction sets, some provide double compare-and-swap or even transactional memory as primitives. I think transactional memory is particularly interesting to study from this perspective because it makes the existing cache coherency protocol provide the synchronization you need—though I've never heard of anyone seriously using it and I'm not sure anyone should, I just think it's a really interesting point in the design space.
Diallo tritt bei FIFA-Wahl gegen Infantino an
Die Kandidatur von Frankreichs Verbandspräsidenten Philippe Diallo soll am Dienstag auf der Sitzung des FFF-Exekutivkomitees offiziell bestätigt werden.
your sentence: 10 years of getting gayer