@TehPenguin@hachyderm.io
@TehPenguin@hachyderm.io avatar

TehPenguin

@TehPenguin@hachyderm.io

Microsoft Dev bringing Rust to Windows and Azure. D&D nerd and Audi fanboi. Thoughts, opinions and words are my own. He/Him. :rust: :csharp: :cxx:

This profile is from a federated server and may be incomplete. Browse more on the original instance.

TehPenguin, to windows
@TehPenguin@hachyderm.io avatar

Making Recall opt-in has, effectively, killed it.

Oh, it will still ship.

Folks who worked on it will move on to new features and the ownership will be transferred to the servicing devision (WSD).

After a while WSD will get fed up with the cost of maintaining yet another rarely used shell feature and will deprecate it. Either that or the shell team will rewrite everything again and drop it.

See: Cortana, Timeline, People on the Taskbar, Chat, Live tiles.

JenMsft, to random
@JenMsft@mastodon.social avatar

Mood

TehPenguin,
@TehPenguin@hachyderm.io avatar

@JenMsft temporary code is permanent code

julie, to ADHD

Running a Pathfinder game tonight and while I'm excited about the story we're about to start I still have prep to do in our VTT and ... I don't wanna.

How can my executive dysfunction be so bad that I am actively fighting against doing something I've been looking forward to for weeks?

Like, my demand avoidance is kicking into high gear and the demander is ... me. The call is coming from inside the Julie.

TehPenguin,
@TehPenguin@hachyderm.io avatar

@julie if you don't like VTT, then don't use one: would your party be OK with theater of the mind? Or can you do a digital whiteboard, or use ASCII art instead?

Just because your the DM doesn't mean you shouldn't also be having fun.

@slyflourish has some good recommendations for abstract combat https://slyflourish.com/the_abstract_battlemap.html

mgattozzi, to random
@mgattozzi@hachyderm.io avatar

I've noticed a weird trend where people who aren't engineers but interact with them such as Recruiters all capitalize Rust as RUST and I have no idea why.

TehPenguin,
@TehPenguin@hachyderm.io avatar

@mgattozzi "They wouldn't have called it Rust, as in rusty metal, right? Must be an acronym, those nerds love their weird acronyms..."

orhun, to random
@orhun@fosstodon.org avatar

why Rust? this guy knows

TehPenguin,
@TehPenguin@hachyderm.io avatar
TehPenguin, to DnD
@TehPenguin@hachyderm.io avatar

Gotta love the Animate Objects spell: "I need you to make a contested Athletics check against the dresser"

https://pca.st/episode/8e777cb6-1424-416c-9f85-0689983223d1

TehPenguin, to random
@TehPenguin@hachyderm.io avatar

I've been helping to investigate a few LLVM and Rust bugs recently, and I keep running into pet peeves with how these bugs are reported, so I'm going to put together some #RulesForBugFiling

I don't want to discourage anyone from filing a bug, please do! But... be aware with how you represent the issue that you're seeing.

I also know that there are folks on here who are vastly more knowledgeable than I am, so feel free to suggest corrections, perhaps by filing some sort of report...

TehPenguin,
@TehPenguin@hachyderm.io avatar

If you're going to claim something is a security issue, please explain what the attacker has gained by exploiting the bug. That is, what they can now do they couldn't before.

If you can't explain what the attacker has gained, then that's not a security bug, that's just sparkling MS07-052 (https://web.archive.org/web/20100930203109/http://blogs.msdn.com/b/oldnewthing/archive/2007/08/07/4268706.aspx#4282521)

TehPenguin,
@TehPenguin@hachyderm.io avatar

If the feature has docs, then please explain how the actual behavior doesn't match the docs.

If you don't like how the feature works, that's not a bug, but you can still ask for the feature to be changed.

If there are no docs, or there's a gap, then please help to fill that gap (adding your own observations in the bug report are a good start).

#RulesForBugFiling #RustLang #Rust #cpp #oss #docs

TehPenguin,
@TehPenguin@hachyderm.io avatar

The more specific you can be on when a regression occurred, the better. A range of versions is good, a single version is great, a single commit is amazing.

Tools like git bisect are really helpful for this.

Providing a standalone example that reproduces the issue so that someone else can do that work is also great, with the bonus that it can be added to the regression tests.

TehPenguin, to rust
@TehPenguin@hachyderm.io avatar

I've begun the process of switch Rust's Windows CI to Server 2022, starting with the mingw builders: https://github.com/rust-lang/rust/pull/124562

This was tried a couple of years ago, but there some issues with mingw - so kudos to the folks that investigated and fixed those (sorry that I don't have links)!

Next step, the MSVC builders, which will require bumping the version of Clang that's used to build LLVM first...

TehPenguin,
@TehPenguin@hachyderm.io avatar

Fully on Server 2022 and using the latest Clang https://github.com/rust-lang/rust/pull/124850

It'll be interesting to see if 1.80 has improved build times on Windows now that it's using an up-to-date Clang to build LLVM...

TehPenguin,
@TehPenguin@hachyderm.io avatar

Which is all, of course, part of the Grand Master Plan™️ to get Arm64EC promoted to tier 2 https://github.com/rust-lang/compiler-team/issues/746

TehPenguin, to rust
@TehPenguin@hachyderm.io avatar

When posting your programming language comparison article, can you please include the context of your comparison?

"Rust vs Python, which is better? "
"Sir, this is a kernel"

"Why I switched from C++ to Go"
Taps sign: "No GC or green threads in the kernel"

Sincerely, a systems dev who'd like to remind you that APIs existed before REST...

#RustLang #Rust #cpp #go #golang #python #programming #elixir

TehPenguin, to random
@TehPenguin@hachyderm.io avatar

Gets email reminder for internal training.
Clicks link.
Video has 1/5 star rating, 259 reviews.
Well, this is going to be fun...

TehPenguin, to llvm
@TehPenguin@hachyderm.io avatar

Glad sanity prevailed with this one https://github.com/llvm/llvm-project/pull/90520

Just a reminder that loading dlls from the application directory is not a security vulnerability.

But restricting the search path to System32 for well know dlls is not a bad idea...

TehPenguin, to rust
@TehPenguin@hachyderm.io avatar

Only took it a couple of years, but the cc-rs crate will finally use the spectre-mitigated CRT if you're building in a spectre-mitigated VS Command Prompt (or happen to set the correct env var): https://github.com/rust-lang/cc-rs/pull/673

It'll be a while before this flows into the Rust Compiler itself, so in the meantime we did publish a crate to do the same thing: https://crates.io/crates/msvc_spectre_libs

renedudfield, to rust
@renedudfield@fosstodon.org avatar

Was crate digging for no_std goodies, because miserable outside today. Morning was great but 🌞

Some cool stuff in there.
And then I saw a yak.
That needed shaving.
And where did the day go?

TehPenguin,
@TehPenguin@hachyderm.io avatar

@renedudfield any fun crates to shout out?

TehPenguin, (edited ) to rust
@TehPenguin@hachyderm.io avatar

Finally, it's done! officially supports https://github.com/rust-lang/rust/pull/123144

Of course there's still more work to do - file an MCP to promote to tier 2, add tests to various dependencies...

TehPenguin,
@TehPenguin@hachyderm.io avatar

@thejpster @yosh except that Arm64EC doesn't just use the AArch64 instruction set. Yes, that's what LLVM generates for it, but a single Arm64EC binary can contain a mixture of (modified) AArch64 and x64. It'd also be legit for LLVM to produce only x64 and then have the linker link that as Arm64EC (such that it wouldn't run on x64 Windows).

Arm64EC is... weird. I've tried my best to provide guidance on how to think about it: https://doc.rust-lang.org/nightly/rustc/platform-support/arm64ec-pc-windows-msvc.html#reusing-code-from-other-architectures---x86_64-or-aarch64

TehPenguin,
@TehPenguin@hachyderm.io avatar

@thejpster @yosh just to confuse things more, there's also Arm64X, which is where you mush AArch64 and Arm64EC into a single binary: https://learn.microsoft.com/en-us/windows/arm/arm64x-pe

It also has my favorite diagram from any Microsoft tech docs:

Basmitharts, to random
@Basmitharts@weird.autos avatar

Trying to think of a contemporary sedan that wouldn't be improved by having a hatch instead of a trunk.

The Charger I suppose...

TehPenguin,
@TehPenguin@hachyderm.io avatar

@Basmitharts very annoyed they didn't give the Audi e-tron GT a hatch, I mean the RS7 is sitting right there! Use the exact same back end and I'd be happy...

TehPenguin, to rust
@TehPenguin@hachyderm.io avatar

The Xr0 project (https://xr0.dev) that got called out in the last This Week in reminds me of the old Checked C project (https://github.com/microsoft/checkedc) from Microsoft Research.

I really hope that some project like this takes off, there's so much low-hanging fruit when it comes to #C safety.

My worry with Xr0 is the lack of back-compat, Checked C was designed so the new keywords it introduced could be turned into no-ops via macros to allow code to be built by an unenlightened compiler.

TehPenguin, to rust
@TehPenguin@hachyderm.io avatar

It took me days to debug this, but I'm finally one step closer to supporting Arm64EC on : https://github.com/rust-lang/rust/pull/123467

Unfortunately there's one more fix needed in so it may take a little while longer yet...

TehPenguin, to folklore
@TehPenguin@hachyderm.io avatar

My 3yr old just called St Patrick's Day "Leprechauns' Day" and I'm all for it.

Question is, how best to celebrate the Fair Folk on this day?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • ngwrru68w68
  • modclub
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • megavids
  • GTA5RPClips
  • tacticalgear
  • normalnudes
  • tester
  • osvaldo12
  • everett
  • cubers
  • ethstaker
  • anitta
  • provamag3
  • Leos
  • cisconetworking
  • lostlight
  • All magazines