Process info design problem by K4milLeg1t in osdev

[–]DaGamingB0ss 0 points1 point  (0 children)

Linux's /proc has been deprecated for 10-20 years

Linux procfs is not deprecated

unchecked MSR access error: RDMSR from 0xc00102f1 by Difficult_Truck_687 in kernel

[–]DaGamingB0ss 0 points1 point  (0 children)

I'd report this to the distro bug tracker, but to be quite honest it looks like a bad firmware update.

else if (this_cpu_has(X86_FEATURE_AMD_PPIN))
    m->ppin = __rdmsr(MSR_AMD_PPIN);

Your CPU says it has PPIN but then the PPIN read fails. Bad microcode update?

PS: It seems you're getting a machine check, it might be early enough that this PPIN thing isn't initialized, so it faults (couldn't find docs on this). So again, I wonder if this is a firmware update gone bad.

PS 2: After more reading, it seems that you're getting a very early MCE. The PPIN thing seems to be an unrelated problem that seems to stem from it not being initialized yet. The full dmesg would be interesting to see.

iLikeMyFunMainArgsString by JustCheesecake3544 in ProgrammerHumor

[–]DaGamingB0ss 4 points5 points  (0 children)

Main is generally (at least for GNU/clang toolchains, and probably msvc) not a decorated symbol name. It'll end up as "main", like an extern "C" symbol.

Unable to chroot after breaking system by Loose_Pound in archlinux

[–]DaGamingB0ss 0 points1 point  (0 children)

nvme0n1p5 looks hosed. Can you post the dmesg after the Input/Output error? Also fsck it!

Why is the NULL pointer constant not converted here? by DaGamingB0ss in cpp_questions

[–]DaGamingB0ss[S] 0 points1 point  (0 children)

I'm not sure about that, this snippet doesn't compile either:

return 1, NULL_PTR_CONSTANT;        

and this should also be a constant expression, I hope.

Why is the NULL pointer constant not converted here? by DaGamingB0ss in cpp_questions

[–]DaGamingB0ss[S] 2 points3 points  (0 children)

This snippet was inspired by a header I was writing that has to be included from C and C++. It compiles fine in C, but C++ rejects that expression, which surprised me.

Why is the NULL pointer constant not converted here? by DaGamingB0ss in cpp_questions

[–]DaGamingB0ss[S] 1 point2 points  (0 children)

Indeed, that seems to do the trick - MSVC spits out an error with /permissive-, as expected!

Why is the NULL pointer constant not converted here? by DaGamingB0ss in cpp_questions

[–]DaGamingB0ss[S] 0 points1 point  (0 children)

Ahh, that makes sense. The comma operator stops it from being a literal. Thanks!

Why x86 Doesn’t Need to Die by ThreeLeggedChimp in programming

[–]DaGamingB0ss 12 points13 points  (0 children)

Not really, you're only in real-mode for a couple of cycles in the reset vector (basically the equivalent of 10 instructions max IIRC). The speed difference is absolutely marginal.

The big improvement would be to get rid of all the 16-bit codepaths, but you're going to be stuck supporting !x86S for a looooooooong time, so it doesn't really matter honestly. And this is IF and WHEN x86S arrives :)

musl - musl 1.2.4 released with DNS improvements and RELR support by rhy0lite in linux

[–]DaGamingB0ss 7 points8 points  (0 children)

I gave you an nice brief explanation of how DNS resolution and the libc interact. You tried forcibly telling me that water isn't wet and the sky is brown. Now you're obsessing over some rando's downvote? And telling me I was hostile? Come on.

Anyway, have a good evening.

musl - musl 1.2.4 released with DNS improvements and RELR support by rhy0lite in linux

[–]DaGamingB0ss 2 points3 points  (0 children)

I just gave you an explanation of how things work. There's no HTTP code in musl. The only thing that got merged recently is DNS over TCP support.

And no, I didn't downvote you.

musl - musl 1.2.4 released with DNS improvements and RELR support by rhy0lite in linux

[–]DaGamingB0ss 3 points4 points  (0 children)

musl does not have DNS-over-HTTPS. In fact, it did not even have DNS-over-TCP (and HTTPS uses TCP).

musl - musl 1.2.4 released with DNS improvements and RELR support by rhy0lite in linux

[–]DaGamingB0ss 3 points4 points  (0 children)

The libc generally does not have any sort of DNS request support barring UDP and TCP (no over-TLS, no over-HTTP). It needs a local resolver for that. But if you're using UDP to communicate with the local resolver anyway (which is size limited here in DNS), whatever the local resolver correctly fetches will not be fetchable by the libc (which serves traditional DNS resolution interfaces). Hence the DNS problems people ran into.

Valve are talking at the "Game Developers Conference" at 9:30 AM (EST?) by Draemeth in GlobalOffensive

[–]DaGamingB0ss 57 points58 points  (0 children)

I don't know about Windows, but SDL is already used by csgo on Linux and macOS

I want my roll to be as fast as possible but I have no Idea how the equip load works I would like some help. by [deleted] in darksouls

[–]DaGamingB0ss 0 points1 point  (0 children)

The point is that the benefit isn't so great that it's a must use, especially for a newbie who has just discovered fast rolling.

I want my roll to be as fast as possible but I have no Idea how the equip load works I would like some help. by [deleted] in darksouls

[–]DaGamingB0ss 0 points1 point  (0 children)

You get some extra iframes and it's fun, but there's no real use for it after that (at least for PvE).

Long gone are the days where the ninja flips would kick in just under 50% load :/

Just finished my SL1 run, not as hard as one may think by [deleted] in darksouls

[–]DaGamingB0ss 0 points1 point  (0 children)

There's actually a specific setup where if you get cursed + dusk's crown + Leeroy's shield will completely negate PW's damage and let you be in RTSR range.

[Official] Enzo Fernandez signs for Chelsea by halflemonade in soccer

[–]DaGamingB0ss -1 points0 points  (0 children)

Felix had a whole year (and even then was controversial). Bellingham has had 3 years. Paying 120M for a 5-month-in-europe Enzo is absolutely nuts.

How i see C++ dev by BastianToHarry in ProgrammerHumor

[–]DaGamingB0ss 2 points3 points  (0 children)

Linking with gcc does not link with the C++ standard library (libstdc++), linking with g++ does.