...and goto is fine, but I just think you have to be careful with it.
Nick Poole
Posts
-
Infinite loop in C++ -
Infinite loop in C++I use them both, but I try not to mix them.
I think that "for (;;)" looks cooler but it doesn't read as well as "while(1)" or "while(true)"
To understand why "while(true)" works, you only have to know the "while" syntax. I think even if you know the "for" syntax, it's not obvious that it will even compile without {stuff}, and it's also not obvious that an empty test condition will evaluate "true".
As for do..while, I just don't like reading a code block before I know the loop conditions.
-
Infinite loop in C++Infinite loop in C++
-
I've decided that the entire office wall is getting stripped and rebuilt from the outside in.I've decided that the entire office wall is getting stripped and rebuilt from the outside in. That way I can replace as much of the header and footer as I need to and I can add some insulation to it. Eventually I will Ship of Theseus this house into a proper structure.
-
Lost my mind and made an offer on some rare and expensive mid-century demitasse cups and saucers.Dammit. They're fucking beautiful.
-
Lost my mind and made an offer on some rare and expensive mid-century demitasse cups and saucers.Lost my mind and made an offer on some rare and expensive mid-century demitasse cups and saucers. Let's see how they traveled.
-
*Assembling new flag poles**Assembling new flag poles*
"Okay, then the... toppers? Toppers. These have a name. Are these finials? No, that's not right. What an idiot I am. What a fool."
*Googling 'finial' later out of curiosity*
"It _is_ a finial! I was right! What a genius I am! A generational intellect!"
-
I have fallen in love with M. Bjoernstroem's channel.I have fallen in love with M. Bjoernstroem's channel. I was originally recommended his video about building a heated apron pad for his garage to keep the ice off. Come to find out he also basically runs Pajala Airport by himself. Throw in a few rock drilling and blasting videos and you've got a winning channel.
(Also, at least to my regrettably American sensibilities, he looks/sounds like a lost Koskela brother from Alan Wake)
-
The cat's favorite winter spot is open for businessThe cat's favorite winter spot is open for business
-
First they came for the Somalis, But I said nothing because eggs were kind of expensive.First they came for the Somalis,
But I said nothing because eggs were kind of expensive. -
A fire triangle but the sides are labeled "wrong," "messy," and "rude"A fire triangle but the sides are labeled "wrong," "messy," and "rude"
-
I'm sorry to have to do this, but please take a moment to read:I'm sorry to have to do this, but please take a moment to read:
Phil Torrone, Managing Director of Adafruit—using various accounts named "ptorrone" on various platforms—has undertaken a campaign of bullying and harassment against various people in apparent response to an argument that took place on Bluesky, the details of which I'm not clear on.
In the course of this campaign, anyone stepping in to defend his targets has also become a target.
As of yesterday, this includes myself.
🧵
-
Finally reading up on the latest Arduino drama and... yeah, man.Foster an understanding of the systems that coopted your passion. Fight these systems where and when you can. Help each other. Each one teach one.
In the meantime: Buy a Chinese clone, pirate an IDE, make something out of the trash that we're drowning in. Have fun.
-
Finally reading up on the latest Arduino drama and... yeah, man.All this is to say: You don't get to get rich off Arduino and then act shocked and disgusted when it's subsumed by capital interests. Not within the context of the economy that produced it.
Can you be disappointed? Of course. Sad? Angry? Of course, you should be. But by that measure, you should be sad and angry about _everything_
Fuck Qualcomm, yes. But furthermore, fuck the whole thing top to bottom.
-
Finally reading up on the latest Arduino drama and... yeah, man.Maybe it's more personal for people who were there at the inception, but I was late to the game and while I absolutely drank the kool-aid for a while, I did eventually become disillusioned with the whole thing before my entire self-conception was based on it. Even then, it has been an ongoing struggle to separate the things that are good and human (transparency, sharing, cooperation, creativity) from the things that are extractive and exploitative about "our hobby"
-
Finally reading up on the latest Arduino drama and... yeah, man.I was once gifted a 9/11 memorial CIA challenge coin for participating in a roundtable discussion with a bunch of Pentagon guys about what a "makerspace" is. This was at my office, at the behest of my employer. Guy said the 9/11 coins were the only ones left in the giftshop. That's the day I stopped trying to convince myself that what we were doing was good.
-
Finally reading up on the latest Arduino drama and... yeah, man.Finally reading up on the latest Arduino drama and... yeah, man. Where did we all think this was going? I wrote off Arduino years ago. Companies aren't your friends. Software cannot be your friend. No matter how "punk" you think your subculture is, if the raw materials are just leftovers from the MIC, capital will come knocking eventually.
-
Ugh, my phone woke me up this morning to deal with some kind of weird email drama.It's not okonomiyaki, because I don't have any... of the things to make okonomiyaki. But it is still eggs and cabbage, which ain't bad.
-
Ugh, my phone woke me up this morning to deal with some kind of weird email drama.Ugh, my phone woke me up this morning to deal with some kind of weird email drama. No use trying to sleep now, the highway noise outside is going full-swing. I've been thinking about making some kind of shredded cabbage omelet thing. I think I'll give it a shot.
-
The Skid Steer adventure has come and gone!That said, it's not without risk! Earthworks are lowkey gaggy, but if you're not careful, you'll literally boots the house down.
I've been meaning to do something about that basement door anyway 😂