@TehPenguin@hachyderm.io cover
@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. For a complete list of posts, browse on the original instance.

cppbot Bot , to random
@cppbot@botsin.space avatar

Like all other functions from <cctype>, the behavior of std::isxdigit is undefined
if the argument's value is neither representable as unsigned char nor equal to EOF.
To use these functions safely with plain chars (or signed chars), the argument
should first be converted to unsigned char:

TehPenguin ,
@TehPenguin@hachyderm.io avatar

@cppbot "unsigned char" 🤦

That fact that has signed, unsigned and "plain" chars still blows my mind...

arstechnica , to random
@arstechnica@mastodon.social avatar

Microsoft delays data-scraping Recall feature again, commits to public beta test

Recall will go through Windows Insider pipeline like any other Windows feature.

https://arstechnica.com/gadgets/2024/06/microsoft-delays-data-scraping-recall-feature-again-commits-to-public-beta-test/?utm_brand=arstechnica&utm_social-type=owned&utm_source=mastodon&utm_medium=social

TehPenguin ,
@TehPenguin@hachyderm.io avatar

@arstechnica well, I guess Recall won't be shipping then: shipping the feature via the Insiders is going to give leadership enough time to see how rarely used it is, and the fundamentals team to observe how much extra battery it chews up...

avatter , to random German
@avatter@mastodon.social avatar
TehPenguin ,
@TehPenguin@hachyderm.io avatar

@avatter the trend to remove the divider between the driver and passenger door wells is aweful - sure you could put a handbag or diaper bag there... until it slides or falls over and something wedges itself under the pedals.

yosh , to random
@yosh@toot.yosh.is avatar

I still don't fully understand why it's considered a bad idea to put a linker in the compiler. But it's considered a good idea to put a compiler in the linker.

TehPenguin ,
@TehPenguin@hachyderm.io avatar

@nilstrieb @yosh it depends on how you define the compiler: LTO moves the compiler's backend into the linker, so now the compiler emits IR and then the linker performs the codegen.

Also depends what you mean by optimization: linkers usually perform dead code elimination and inlining.

stjepanlukac , to random
@stjepanlukac@mastodon.art avatar

Do you guys know of any good Spotify alternatives that are less data-grabby and not as joe rogan-y?

TehPenguin ,
@TehPenguin@hachyderm.io avatar

@stjepanlukac I've been using Deezer for a while and have liked it: https://www.deezer.com/

Chosen because it is the only service other than Spotify that has all the artists that I like...

As for data-grabby, they at least are transparent about what they collect and what you can opt out of: https://www.deezer.com/legal/personal-datas
I also appreciate that their GDPR controls are offered to everyone, not just EU residents.

aeva , to random
@aeva@mastodon.gamedev.place avatar

Does anyone know how to make #VisualStudio stop suggesting auto completions like this? This is driving me up the fucking wall.

TehPenguin ,
@TehPenguin@hachyderm.io avatar

@zkat @aeva it is, there's both IntelliCode and Github Copilot in VS (because if one AI is good why not have two?)

JenMsft , to random
@JenMsft@mastodon.social avatar

Mood

TehPenguin ,
@TehPenguin@hachyderm.io avatar

@JenMsft temporary code is permanent code

julie , to random

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.

#Pathfinder #ADHD #DemandAdvoidance #ExecutiveDysfunction #TTRPG

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 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 OP ,
@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)

#RulesForBugFiling #RustLang #Rust #cpp #infosec

TehPenguin OP ,
@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 OP ,
@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.

#RulesForBugFiling #RustLang #Rust #oss

TehPenguin , to random
@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...

#RustLang #Rust #windows #mingw

TehPenguin OP ,
@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...

#RustLang #Rust #windows

TehPenguin OP ,
@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

#RustLang #Rust #windows

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • test
  • worldmews
  • mews
  • All magazines