Trump could stand in the middle of 5th avenue and shoot somebody and not lose any voters. Obama could have done the same thing and only FOX News would report on it while the other new stations said, “HiS onLY sCanDaL wAs WeARiNg a TaN sUiT.”
I’ve made plenty of pointers to pointers, but I don’t think I’ve ever made a pointer to a pointer to a pointer. That would be like Inception.
If you think there is a scientist who can answer when we should open the country up again, then you have no idea what science is and what its limitations are.
Bezos having a trillion dollars affects me as much as Bezos having a billion dollars which affects me as much as Bezos having eight dollars.
Don’t socialists need even more billionaires like Bezos to be nearly trillionaires so they actually can fund all their ideas by just taxing billionaires?
Right now, you could do 100% tax on the wealth of billionaires and that maybe funds the current budget for about 8 or 9 months. You need way richer billionaires — multi-trillionaires even — if you want to fund everything by taxing them.
It’s my oldest son’s 7th birthday so my wife made him a space alien cake because he likes Harry Potter or whatever.

Tired: #BelieveWomen
Wired: #DestroyWomen
I need to learn how to pronounce “Taika Waititi” so I can stop referring to him as “The Thor: Ragnarok director.” Then again, I once taught myself a mnemonic to remember how to pronounce “Shyamalan,” and where did that get me?
Mnemonic for remembering how to pronounce M. Night Shyamalan’s last name:
A redneck was out on his porch drinking beers with the king of Iran. Suddenly, a meteorite crashes right in front of his house. The redneck jumps to his feet, drops his beer, and shouts, “Shah! Muh lawn!”
Preacher (via Zoom): “Do you believe that Jesus died for your sins and came back to life?”
My 7yo son, sitting on the couch and not looking up from his Art of Legend of Zelda book: “Yes.”
Those “billionaires should not exist” people are like socialist Karens. Most people don’t care about billionaires, but they’re calling the police and saying, “Someone has way more money than me and you have to do something about it!”
Okay, so that Gloomhaven is not only quite a bit overwhelming with all the rules, but it is also really, really hard.
After all this, Texas is going to need to flatten the curve of Californians moving to Texas. Texas can absorb a lot more people from Texas, but not all at once. It needs to be spread out to keep the state safe.
ME: “Ooh. Look at the great prices on these games.”
BRAIN: “Come on. You’ve owned that new Star Wars game for months and still haven’t had time to play it.”
ME: “I can get Far Cry 5 for $5.”
BRAIN: “That is a really good deal.”
The U.N. sent in a special peacekeeping force to stop me since I keep using gendered language like “sexy dames,” but I shouted very loudly and scared them off.
I say we should push back and gender even more words.
Surgeonman
Presidude
Maleman Letter Carrier
The original Teenage Mutant Ninja Turtle comic was much more realistic as their masks actually served a function since they all wore the same color mask. That way you could never be sure which ninja turtle punched you in the face — at least not enough to hold up in court.
“break” and “continue” always seem a bit like cheating. Might as well through in a goto.
There is such an aversion to using goto in a structured language, but when you compile it, the assembly code is nothing but.
My 9yo daughter watching The Mandalorian doc on Disney+: “They’re all ‘Here’s why we did this. Here’s the story we want. Here’s the feel we’re going for.’ I JUST WANT TO KNOW HOW THEY DID BABY YODA!”
The people who were going after Kavanaugh now saying they never said “Believe all women” is as textbook a case of gaslighting as you will ever see.
I still don’t know the difference between a “char” and an “unsigned char” and cast them back and forth with reckless abandon. A is A, man.
I’m guessing it would make a difference if you bit shifted them, but that’s all I can think of. And I guess in some math it would make a difference, but to me a char is a byte and I ain’t doing algebra with it.
I’d pretty much always just use uint8_t if they weren’t so annoying to type.
“Science says spin around.”
everyone spins around
“Science says cluck like a chicken.”
everyone clucks like a chicken
“Science says hop on one foot.”
everyone hops on one foot
“Stop!”
a few stop
“Ha! Science didn’t say!”
Barely understanding what I’m working on and getting it working anyway is what makes me both a brilliant engineer and a bad one.
Science was once something other than a fetish item for dumb people.

Nice thing about Texas is it’s able to kick Californians’ asses. Most of them give up after a couple of years and move to Colorado or something.
I’ve had several acquaintances from California move to Texas because they thought if I can do it, they can do it….but they all ended up leaving within 2 years. They just couldn’t stand living somewhere where everyone around them doesn’t parrot the same communist drivel they believe. Even Austin proved to be “too much”.
Freedom just doesn’t agree with some people. At least not when it’s freedom for other people, not just them.
“I don’t think I’ve ever made a pointer to a pointer to a pointer” – Ha! What a newbie! I guess you never needed to have a function that dynamically allocated space for several arrays of strings. You pass that function several uint8_t *** parameters… these kids today with their naive ways! Come to think of it, though, maybe I just did that in a dream I had…
If you use the term “Science” you probably don’t truly understand what it is.
All I know about science is that she blinded me with it.
One of the funniest things I saw related to the TMNT masks is in the only Red Robin restaurant I’ve been in, where they had large portraits on the wall of the actual artists the turtles are named after, each wearing the appropriate color mask.
Bezos having a trillion dollars affects me as much as Bezos having a billion dollars which affects me as much as Bezos having eight dollars.
NONSENSE! If Bezos only had $8, you’d be waiting a lot longer for your packages.
We’ve been complaining about living in WA (CA jr.) for years (great job though), and we’re finally (beyond) ready to move to Texas, and damnit, nothing but news articles about Californians fleeing there. We used to live in CO; I’ve experienced first hand what those parasites can do to a nice area. I’m trying to flee them!
“I’ve made plenty of pointers to pointers, but I don’t think I’ve ever made a pointer to a pointer to a pointer. That would be like Inception.”
For an exceptionally good time, dynamically declare a multi-dimensional array. When populating or de-referencing, you have no choice but to use pointer math, because normal array indexing won’t work since it was dynamically allocated, and therefore there is no guarantee (or real possibility, for that matter), that the reserved memory is contiguous.
““break” and “continue” always seem a bit like cheating. Might as well through in a goto.
There is such an aversion to using goto in a structured language, but when you compile it, the assembly code is nothing but.”
No, no, no…..break and continue aren’t cheating at all! They’re wonderful, beautiful things, and we should love them because they are also part of God’s creation, after all!
while (1) {
punch(hippy_communist);
if (is_alive(hippy_communist)) continue;
else break;
}
I know, I know – really, all you need to do above is say:
if (!(is_alive(hippy_communist))) break
but I was just trying to illustrate a point. It seems somehow incomplete to not have both options explicitly listed, plus it sounds much more positive to say if is alive, than if not is alive.
🙂
“I’d pretty much always just use uint8_t if they weren’t so annoying to type.”
Which is why you make your own C library that includes this header file:
#ifndef LIB_DEV_TYPES
#define LIB_DEV_TYPES
#include <stdint.h>
#define INT8 int8_t
#define INT16 int16_t
#define INT32 int32_t
#define INT64 int64_t
#define UINT8 unsigned char
#define UINT16 uint16_t
#define UINT32 uint32_t
#define UINT64 uint64_t
#define UINT128 unsigned long long
#define REAL32 float
#define REAL64 double
#define REAL128 long double
typedef union {
REAL32 real32;
UINT32 uint32;
INT32 int32;
} Void32;
typedef union {
REAL64 real64;
UINT64 uint64;
INT64 int64;
} Void64;
#endif
And yes, I’ve to make extensive use of the UINT128 type to process data that was time stamped in nanoseconds since the beginning of the year.
You might appreciate this:
/** from the header file
#ifndef NSPERYR //nanoseconds per year
#define NSPERYR 31622400000000000ULL // nanoseconds per 366 days
#endif
#ifndef NSPERDAY // nanoseconds per day
#define NSPERDAY 86400000000000ULL /* nanoseconds! per day */
#endif
etc…
**/
/** FUNCTION: void * nsec2daytime (unsigned long long nsecs, UINT8 format) ***/
void * nsec2daytime (unsigned long long nsecs, UINT8 format) {
UINT32 days = 0;
unsigned long long nsdays = 0;
unsigned long long start_nsecs = 0;
char buffer[25];
void * thing = NULL;
Cdftime * time = NULL;
//### Format 1: HH:MM:SS 10:11:12
//### Format 2: HH:MM:SS.MS 10:11:12.345
//### Format 3: HH:MM:SS.MS.US 10:11:12.345.678
//### Format 4: HH:MM:SS.MS.US.NS 10:11:12.345.678.912
//### Format 5: DDD:HH:MM:SS 106:10:11:12
//### Format 6: DDD:HH:MM:SS.MS 106:10:11:12.345
//### Format 7: DDD:HH:MM:SS.MS.US 106:10:11:12.345.678
//### Format 8: DDD:HH:MM:SS.MS.US.NS 106:10:11:12.345.678.912
//### Format 9: allocates, fills and returns a Cdftime struct
// for use in the cdf function computeEPOCH16
memset(buffer, 0x00, 25);
days = nsecs / NSPERDAY; //day of year
nsdays = days * NSPERDAY; //day of year in nanoseconds
start_nsecs = nsecs – nsdays;
int hour = start_nsecs / NSPERHR;
int min = (start_nsecs – (hour * NSPERHR)) / NSPERMIN;
int sec = (start_nsecs – ((hour * NSPERHR) + (min * NSPERMIN))) / NSPERSEC;
int msec = (start_nsecs – ((hour * NSPERHR) + (min * NSPERMIN) + (sec * NSPERSEC)))/NSPERMS;
int usec = (start_nsecs – ((hour * NSPERHR) + (min * NSPERMIN) + (sec * NSPERSEC) + (msec * NSPERMS)))/NSPERUS;
int nsec = (start_nsecs – ((hour * NSPERHR) + (min * NSPERMIN) + (sec * NSPERSEC) + (msec * NSPERMS) + (usec * NSPERUS)))/1;
switch (format) {
case 1: sprintf(buffer, “%02d:%02d:%02d%c”, hour, min, sec, ‘\0’);
break;
case 2: sprintf(buffer, “%02d:%02d:%02d.%03d%c”, hour, min, sec, msec, ‘\0′);
break;
case 3: sprintf(buffer, “%02d:%02d:%02d.%03d.%03d%c”, hour, min, sec, msec, usec,’\0’);
break;
case 4: sprintf(buffer, “%02d:%02d:%02d.%03d.%03d.%03d%c”, hour, min, sec, msec, usec, nsec, ‘\0’);
break;
case 5: sprintf(buffer, “%03d:%02d:%02d:%02d%c”, days, hour, min, sec, ‘\0’);
break;
case 6: sprintf(buffer, “%03d:%02d:%02d:%02d.%03d%c”, days, hour, min, sec, msec, ‘\0’);
break;
case 7: sprintf(buffer, “%03d:%02d:%02d:%02d.%03d.%03d%c”, days, hour, min, sec, msec, usec, ‘\0’);
break;
case 8: sprintf(buffer, “%03d:%02d:%02d:%02d.%03d.%03d.%03d%c”, days, hour, min, sec, msec, usec, nsec, ‘\0’);
break;
case 9:
time = cdftime_new();
sprintf(buffer, “%03d:%02d:%02d:%02d.%03d.%03d.%03d.000%c”, days, hour, min, sec, msec, usec, nsec, ‘\0’);
time->time = mem_str_new(buffer);
time->Y = TESTDATE_YR;
time->m = TESTDATE_MON;
time->d = TESTDATE_DAY;
time->H = hour;
time->M = min;
time->S = sec;
time->ms = msec;
time->us = usec;
time->ns = nsec;
time->ps = 0;
time->ts = (REAL32)(nsecs – nsdays)/(REAL32)NSPERSEC;
time->ts2 = (REAL64)(nsecs – nsdays)/(REAL64)NSPERSEC;
time->tsr = 0.0;
time->tsr2 = 0.0;
time->ts3 = NULL;
time->tsr3 = NULL;
time->doy = days;
time->nsec = nsecs;
return time;
break;
default: sprintf(buffer, “%02d:%02d:%02d%c”, hour, min, sec, ‘\0’);
};
thing = (char*)mem_str_new(buffer);
if (!thing) return NULL;
else return thing;
}
“Science was once something other than a fetish item for dumb people.”
I believe it was called “witchcraft”
nyuk nyuk