|
Wordle 1,159 5/6*
β¬π¨β¬β¬β¬
β¬π©β¬π¨β¬
π¨π©β¬β¬β¬
β¬π©π©β¬β¬
π©π©π©π©π©
Happiness will never come to those who fail to appreciate what they already have. -Anon
And those who were seen dancing were thought to be insane by those who could not hear the music. -Frederick Nietzsche
|
|
|
|
|
π¨β¬β¬β¬β¬
β¬β¬β¬π¨β¬
β¬π©π¨π¨β¬
β¬π©π©π©π©
π©π©π©π©π©
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
Wordle 1,159 5/6
β¬π©β¬β¬β¬
β¬π©π¨β¬β¬
π¨π¨β¬π¨β¬
π©π©β¬π©π©
π©π©π©π©π©
I don't know the English or Dutch word for this...
|
|
|
|
|
It's fairly common I think.
|
|
|
|
|
I had also not heard of this word. Was expecting 'Word not in list', but it worked.
|
|
|
|
|
|
Good stuff indeed!
Didn't know Soulwax, but they seem good live.
I've been listening to a lot of music lately... Recently (old) Dutch music for some reason, but also other recent stuff like the new VOLA and Oranssi Pazuzu singles and new albums by Sear Bliss, Orange Goblin, Heretic, Caligula's Horse...
You may like Radar Men From The Moon - Altered States (Official Video) - YouTube[^]
A Dutch band being somewhere between metal, industrial and (semi-acoustic?) techno.
Their latest album is awesome! (but so are all the other bands I just mentioned)
All is well, not on CP as much anymore because for some reason my laptop often thinks it doesn't exist.
I can browse here with my phone, no problem, but not with my laptop.
I even posted in bugs and sugs that CP was down A LOT only to find the problem was entirely mine
Other than that I don't code that much anymore and when I code it's the annoying stuff, like old WinForms apps and Crystal Reports and the like.
Keeping the good stuff for my employees because a happy employee is a good employee and the stuff I'm working on doesn't make anyone happy
Although they're reading a lot of (very bad) VB6 lately, so I'm not sure how happy they really are (for some reason they're all on vacation right now...)
At least they get to remake it in modern C# .NET 8 applications
|
|
|
|
|
Sander Rossel wrote: I can browse here with my phone, no problem, but not with my laptop. Maybe a hosts file with an interaction with the Content Distribution Network CodeProject uses?
Sounds like you are having fun! Glad to hear from you again!
|
|
|
|
|
David O'Neil wrote: Maybe a hosts file Added two entries recently, but that's the only edit I ever did to my hosts file...
Just removed the entries, but I doubt those were the problem.
|
|
|
|
|
|
Wordle 1.159 3/6
β¬β¬β¬π¨β¬
π©β¬π¨β¬β¬
π©π©π©π©π©
GCS/GE d--(d) s-/+ a C+++ U+++ P-- L+@ E-- W+++ N+ o+ K- w+++ O? M-- V? PS+ PE Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
The shortest horror story: On Error Resume Next
|
|
|
|
|
Wordle 1,159 4/6
β¬β¬β¬β¬β¬
β¬π©π¨β¬β¬
π¨π©π©β¬β¬
π©π©π©π©π©
Within you lies the power for good - Use it!
|
|
|
|
|
Wordle 1,159 4/6
β¬β¬β¬β¬β¬
β¬π©β¬β¬β¬
π¨π©β¬π©π©
π©π©π©π©π©
Ok, I have had my coffee, so you can all come out now!
|
|
|
|
|
Wordle 1,159 4/6*
β¬β¬β¬β¬β¬
β¬π¨β¬β¬β¬
β¬π¨β¬β¬π©
π©π©π©π©π©
|
|
|
|
|
Bruh
#define SUBMIT_FIELD(p) \
do { \
if (!quoted) \
entry_pos -= spaces; \
if (p->options & CSV_APPEND_NULL) \
((p)->entry_buf[entry_pos]) = '\0'; \
if (cb1 && (p->options & CSV_EMPTY_IS_NULL) && !quoted && entry_pos == 0) \
cb1(NULL, entry_pos, data); \
else if (cb1) \
cb1(p->entry_buf, entry_pos, data); \
pstate = FIELD_NOT_BEGUN; \
entry_pos = quoted = spaces = 0; \
} while (0)
I mean dude, make it an inline function already.
Jeremy Falcon
|
|
|
|
|
In this case, they should have used straight inline code.
Not a fan of macros,
but using C most of the time, system wide macros probably means I probably use some.
I don't write them, though.
"ghost writers from the sky"
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
I should preface this by saying, I absolutely love C. It's served me well over the years, but macro abuse is real. There needs to be a helpline for victims of it.
Jeremy Falcon
|
|
|
|
|
Ditto. I agree.
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
Does it predate C99, when inline first hit C?
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
Good question. I think it was written in C89.
Jeremy Falcon
|
|
|
|
|
I have a few at least as large. I hate it also except when I finally get it to compile.
|
|
|
|
|
Would the call to the inline function be "submitField(p, quoted, entry_pos, spaces, entry_buf, cb1, data, pstate);"?
|
|
|
|
|
I do believe the technical term is 'ick'.
Software Zen: delete this;
|
|
|
|
|
Put your man pants on... Charlie is in the room.
Doing something like this is evil, not acceptable and pure unsupportable garbage. I call it whiz kid code. When the kid moves on, or dies (whiz kids are getting older) the FIRST thing that will happen is a lot of cussing. The second thing that will happen is this will get tossed into a function - screw the inline nonsense. I'm not even sure that's relevant anymore unless you are in a restricted embedded environment. It's not supportable, you cannot debug it, why the f*** would you do this?
Because you want to be cute. Show your macro balls. You need to be taken to the back parking lot and beat on. The next time you think to do this (and I've actually seen worse) your eye will start to twitch and your right hand tremble...
Charlie Gilley
βThey who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.β BF, 1759
Has never been more appropriate.
|
|
|
|
|
You did mention embedded, so I am commenting in light of that.
My experience on embedded is the damned GCC compiler does not like to inline your functions unless they're extremely trivial. Even if you put "inline"
In fact I treat "inline" strictly as a linker flag. It tells the linker to just use the first implementation it finds. Good for header only libraries. Inline isn't good for much else.
There's a compiler extension attribute to force a function to be inline in GCC. I've had to use it before. I don't know when it was introduced.
So absent that attribute, such a macro may be necessary. I've seen it in TFT_eSPI code as well, on the performance critical paths. I'm pretty sure this is why.
Edit: I don't think this is the case with the code in the OP. I'm speaking generally about this technique.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|