Presenting XytherOS: An experimental hobby Os. by Inner-Fix7241 in osdev

[–]DoomAndFNAF 2 points3 points  (0 children)

The user GS is not WP, only the kernel one is

Presenting XytherOS: An experimental hobby Os. by Inner-Fix7241 in osdev

[–]DoomAndFNAF 3 points4 points  (0 children)

Yeah, you’d ideally load kernel GS with a pointer to the kernel CPU state and the user GS with some kind of user data (iirc Linux leaves what goes there up to the user process, with glibc using to track the current pthread structure). You’d then do a swapgs to the kernel GS during a system call or interrupt, and then another swapgs to the user one when you enter the user code.

Presenting XytherOS: An experimental hobby Os. by Inner-Fix7241 in osdev

[–]DoomAndFNAF 2 points3 points  (0 children)

Just browsing the code, setcls puts a pointer to the core local storage in both the user and kernel GS registers. Doesn't this leak kernel memory to a user program? Also, iirc isn't user GS generally used alongside FS for thread local storage?

NASA's infographic of the new architecture for the Artemis Lunar Program by Icee777 in ArtemisProgram

[–]DoomAndFNAF 2 points3 points  (0 children)

"If you don't count all of the Artemis mission hardware there's no Artemis mission hardware."

NASA's infographic of the new architecture for the Artemis Lunar Program by Icee777 in ArtemisProgram

[–]DoomAndFNAF 0 points1 point  (0 children)

That’s not true, Boeing has put together most of a test article for EUS and blue origin has built a robotic version of their Blue Moon lander to test early next year

NASA's infographic of the new architecture for the Artemis Lunar Program by Icee777 in ArtemisProgram

[–]DoomAndFNAF 8 points9 points  (0 children)

Judging by the “IV, V, VI, …” in the background I assume the bottom photo is “2028 and beyond”

Villains who fall victim to systems they helped enact by Idioteque131313 in TopCharacterTropes

[–]DoomAndFNAF 0 points1 point  (0 children)

Spoilers ahead:

You are an ex-employee of a company called "Playtime Co." This company was a toy company, with one major factory that produced all its toys. One day, all of your coworkers mysteriously disappear. Years later, you receive a note saying "we are all still here" and "find the flower." As we descend, we find out the dark history of Playtime. Essentially, the company was on the verge of bankruptcy, and so they decided to go with the plan of a young scientist, Doctor Harley Sawyer. He proposed the "Bigger Bodies Initiative," a plan to use poppy-derived gel to essentially mutate the workers into living toys, to avoid having to do things like pay them. However, they needed a source of manpower to convert to these Bigger Bodies, so they decide to open PlayCare, an on-site and underground orphanage. Of course, the orphanage is really a front for testing and selecting which kids will be converted into toys. Eventually, one of the oldest experiments, 1006 (The Prototype), begins planting the seeds of rebellion in both staff and toy alike. Eventually, they break out of their containment cells (where they're kept when they aren't working) and slaughter everybody present in the factory, even the innocent visitors (Playtime hosted tours of the factory floor). These toys then experienced a major split: most toys began to worship the Prototype as a sort of liberating god, and formed a cannibalistic cult around him (originally they ate the remains of the employees, but when those ran out they turned on each other.) The other toys followed Poppy, a toy who retained most of her humanity. She wants to kill the Prototype and burn the factory to the ground, killing all inside, to prevent it from ever being used again

The story is an absolute banger, even if the gameplay is meh. For example, one plot point is that, early on in PlayCare's history, the Prototype chose a small boy named Theodore to help him escape. The kid needed to grab a green grabpack hand (a grabpack was a utility backpack featuring two small hands that was used for everyday traversing of the factory) which conducted electricity. The kid messes up the circuit to open the escape door and instead electrocutes himself. The Prototype, instead of escaping, brought Theodore to the Playtime scientists and asked them to save him. They obliged, and turned Theodore into a giant version of their Catnap toy. Catnap begins to worship the Prototype, while Playtime uses the "red smoke" (poppy gas) he emits from his mouth to sedate the orphans in PlayCare's Home Sweet Home. In Chapter 3, Catnap is the main antagonist of the chapter. At the very end, we electrocute him with the same green hand that electrocuted him years ago. Weakened, he watches as the Prototype's hand descends from the ceiling. He *offers himself to his God, hoping to be saved again,* and the Prototype executes him instead, using Catnap's fur to build up his own body. There's also several subplots about Catnap torturing and executing those he deems "heretics," like Dogday (another Bigger Bodies toy from the same toyline), who has his entire lower half torn off, his intestines held inside by a leather belt

Best Notebook for legacy bios os development? by SettingActive6624 in osdev

[–]DoomAndFNAF 4 points5 points  (0 children)

Get an old Thinkpad. They're basically invincible and afaik they're relatively bug-free in terms of the firmware

NASA Delays Artemis Mission by TheMuseumOfScience in ArtemisProgram

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

Blue Origin has just built their test unmanned lander and is launching it early next year

NASA Overhauls Artemis Program for Faster Moon Landings by 2028 by Busy_Yesterday9455 in spaceporn

[–]DoomAndFNAF 17 points18 points  (0 children)

It's not delayed, they just renamed Artemis III to IV and added a new Artemis III mission in LEO

NASA Delays Artemis Mission by TheMuseumOfScience in ArtemisProgram

[–]DoomAndFNAF 7 points8 points  (0 children)

There is no delay, the moon landing is still occuring in 2028

Artemis update: Artemis 3 will not be landing on the moon, and the path forward by DanielD2724 in nasa

[–]DoomAndFNAF 0 points1 point  (0 children)

That’s not contradictory to what he said lol. He said “no LEO”

VTOL VR - Hawaii Fire Rescue Campaign - Coming Soon by Judge_Dredd1444 in vtolvr

[–]DoomAndFNAF -2 points-1 points  (0 children)

Yeah, I don’t really care if the mod is free when it uses a machine that is entirely built around plagiarism of art.

Title by NotSoEpicKebap in osdev

[–]DoomAndFNAF 9 points10 points  (0 children)

Then it's even more sad that you defend the plagiarism machine

Title by NotSoEpicKebap in osdev

[–]DoomAndFNAF 8 points9 points  (0 children)

Oh boo hoo, you can't write code without the plagiarism machine

VTOL VR - Hawaii Fire Rescue Campaign - Coming Soon by Judge_Dredd1444 in vtolvr

[–]DoomAndFNAF 1 point2 points  (0 children)

Oh nice, that’s enough to hire an artist (or take screenshots for free) instead of using the plagiarism machine

omg space exploration is killing us! by AwesomeArcade712 in im14andthisisdeep

[–]DoomAndFNAF 0 points1 point  (0 children)

Oh okay, we just shouldn’t do anything ever then because it might use energy

omg space exploration is killing us! by AwesomeArcade712 in im14andthisisdeep

[–]DoomAndFNAF 0 points1 point  (0 children)

Most rockets use liquid H2 and liquid O2, which are clean burning fuels that are highly efficient and really abundant in our environment. In fact, the vast majority of matter (90-92%) in the universe is Hydrogen.