Shieldfoss's Avatar

Shieldfoss

@shieldfoss

I have Design Opinions (better than yours)

61
Followers
14
Following
70
Posts
11.04.2023
Joined
Posts Following

Latest posts by Shieldfoss @shieldfoss

I am sorry to inform you that it was #include "assert.h" with a lot of instrumentation for ubsan, asan etc./

09.07.2024 13:07 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

I know you've considered this already but possibly you dismissed it too fast: Would it work to compile from source?

I've solved... remarkably many problems this way and, surprisingly, not actually broken anything (This is not because I'm a gentoo fiend, I'm on casual Pop!_OS)

08.07.2024 16:43 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

What I'm trying to say is "Please please I want a built-in slice type."

(I want a built-in slice type in C++ too but I'm *almost* ok with itr pairs and/or std::span)

08.07.2024 07:51 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Fun fact: As a challenge I wrote an entire slice library without testing it until the whole thing was done, then ran it through sanitizers to see how many errors would have slipped through.

It was a *fantastic* library.

It was *absolutely useless* because C invariants are fake.

I hate it here

08.07.2024 07:49 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 2 ๐Ÿ“Œ 0

"Describing C in one sentence" like^

18.06.2024 05:55 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

peeb

08.06.2024 15:15 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

meep

05.06.2024 05:52 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Goes in the same pocket as the wallet so it doesn't have room to move around.

29.05.2024 19:32 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

... that is fucking atrotrocious

12.05.2024 16:11 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

> They are doing things that have become normal
> but Noonan portrays them as weirdo conformists.
> This shows us Noonan is out of the loop.

Not necessarily, neh? I hope we're not expecting decency from a journalist.

06.05.2024 19:36 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

wet

25.04.2024 08:28 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

I don't take pen advice from foxes. Grow some opposable thumbs and maybe it'll be relevant

21.04.2024 07:34 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Not in particular but if you'd care to share, I'll look and see if there's anything that immediately scares me away.

19.04.2024 20:19 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

go to beep

07.04.2024 18:43 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

but you are already fed up

in 5 years you'll be Mad As Hell and Not Gonna Take This Any More

02.04.2024 22:00 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

...wait really?

How much hydration are we talking here?

(I thoght it was the other way around! I thought it'd gotten wet, dissolved, then dry, recrystallized, and now it was hard)

01.03.2024 15:56 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

lol

lmao even.

"It's cold to walk outside between buildings"

"The north IS cold and we haven't invented hallways! Deal with it!"

29.02.2024 08:52 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Moon. It'll be back any day now.

25.02.2024 18:29 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

No! Sometimes I find it and think "...but then what did I put down over THERE?" and go look!

06.02.2024 06:32 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

gm

03.02.2024 14:57 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

*glibc

blog.qualys.com/vulnerabilit...

01.02.2024 12:41 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

libc I believe

01.02.2024 12:20 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Best I can do is a free function in <algorithm> that takes a back inserter.

12.01.2024 13:25 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

โŒ Professional sports gambling
โœ… metaprogaming

30.12.2023 07:56 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Funny, I was looking into this very thing earlier today. I didn't dig deep but the very very top overview was "faster than C++ because pointers aren't allowed to alias, better than C because arrays aren't nonsense."

And then I stopped digging because "yeah that seems plausible."

27.12.2023 21:53 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Post image

I swear I follow more than one person on here

23.12.2023 18:12 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

8th edition "Pro C# 7 with .NET and .NET Core" by Troelsen and Japiksen, p. 143:

"Simply put, the role of System.ValueType is to ensure that the derived type (...) is allocated on the stack, rather than on the garbage-collected heap."

Second time this type of nonsense has happened to me THIS MONTH

29.11.2023 10:21 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

It's 13 years old by now but I just read Lippert's blog on it and I think my response is "I Guess <shrug emoji>"

28.11.2023 16:17 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

cursed c# facts

28.11.2023 15:59 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

> if they don't leave the function

Wait what I thought that was just a guarantee at all times (except for, like, value types IN classes where they get alloc'd with the clas)

Have I been allocating when I thought I was just on the stack

D:

25.11.2023 13:28 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0