@bradwilson@mastodon.social
@bradwilson@mastodon.social avatar

bradwilson

@bradwilson@mastodon.social

#Code #Motorcycles #Music #BoardGames #VideoGames #Photography #AntiFascist #AntiRacist #PostTheist #Feminist #EV #GreenEnergy #BlackLivesMatter | https://dotnet.social/@xunit's caretaker | He/him | 0.00115 miles tall

Previously: GitHub, Microsoft, and others.
Now: Living that retired life.

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

bradwilson, to ubuntu
@bradwilson@mastodon.social avatar

I've updated my ansible-dev-pc¹ repository to support the recently released Ubuntu 24.04 (hence my discussion on getting .NET to behave). This supports Desktop Ubuntu 22.04/24.04, Pop!_OS 22.04, and Ubuntu 22.04/24.04 in WSL 2.

I'm still waiting for Pop!_OS 24.04 to be released so I can verify it there as well.

¹https://github.com/bradwilson/ansible-dev-pc

bradwilson,
@bradwilson@mastodon.social avatar

If this is your first exposure to this repo, (a) I'm not an ansible expert 😂, and (b) this is heavily customized to my development tastes, but I did my best to separate what I considered "core" things vs. "customization" things. It's a repo designed to be cloned and customized. PRs are welcomed where you see issues. I do my best to try to keep things re-runnable over time (apologies when I miss something).

bradwilson,
@bradwilson@mastodon.social avatar

Also worth noting something important with repos like this: it's been a while since I tried to use it, and it's just fragile enough that things need to get fixed that just break over time. A decent amount of what I did over the past few days was just tweaking and fixing 22.04 before even trying things on 24.04.

khalidabuhakmeh, to random
@khalidabuhakmeh@mastodon.social avatar

These dummies think there's a squirrel 🐿️ in the tree. There isn't.

Dogs barking at tree

bradwilson,
@bradwilson@mastodon.social avatar

@khalidabuhakmeh 2nd dog is like "I don't see what you see, but I'm here for you" with a couple borks at the end. 🐶

bradwilson, to random
@bradwilson@mastodon.social avatar

When opening a bug in an (dev-oriented) project, don't simply say "please do X". Tell them what the problem you're trying to solve is, what methods you've tried, and why that isn't working. You can include history of the paths you've gone down and even suggest a possible answer, but without knowing what problem you're actually trying to solve, project maintainers don't even know what problem your solution is for, and when you even have it.

Agree on a problem first, then a solution.

bradwilson, to dotnet
@bradwilson@mastodon.social avatar

I'm skeptical of the new tight integration of .NET to Ubuntu 24.04. I noticed two things immediately:

  • I don't have access to .NET 6 at all
  • I don't have access to the latest .NET 8 SDK any more (currently 8.0.104, despite latest being 8.0.204).

I assumed using the Microsoft apt feed would allow me to use newer even if Ubuntu's feeds were older, but... not so much.

If .NET 6 is still supported, why isn't it on Ubuntu 24.04? And why are we being held back?

bradwilson,
@bradwilson@mastodon.social avatar

@agocke I'll take a look at that. There is also the official install shell script that I could fall back on, as well, though I haven't tested that to see how it works with Ubuntu 24. I assume either one is going to require a manual update gesture other than apt update && apt upgrade.

bradwilson,
@bradwilson@mastodon.social avatar

@agocke Can this be driven non-interactively (i.e., via ansible)?

bradwilson,
@bradwilson@mastodon.social avatar

@agocke Alright, I'm testing both and we'll see where I land. Keeping .NET SDK 8 back is weird but workable, but a lack of .NET 6 Runtime is not tenable for me.

bradwilson,
@bradwilson@mastodon.social avatar

@b4ux1t3 That worked on 22.04, but doesn't work any more on 24.04. I'm guessing the official Microsoft feed is empty of .NET offerings when you're running 24.04, priority be damned.

bradwilson,
@bradwilson@mastodon.social avatar

@b4ux1t3 Yeah, I'm automating all this via Ansible so dotnet-install is pretty much my only other realistic choice.

Part of a work in progress branch: https://github.com/bradwilson/ansible-dev-pc/blob/ubu2404/dotnet%2Fcore.yaml

jitterted, to random
@jitterted@sfba.social avatar

On today's solo stream, I was doing my as usual, and, because I use Predictive Test-Driven Development (see https://ted.dev/articles/2021/03/05/clarifying-the-goal-of-behavior-change/), I was able to avoid writing code that wouldn't get the test to pass.

Why? Because 3 separate times, I predicted how the test should fail, and it failed differently! They failed in the unexpected way because I had either written the test setup incorrectly, or misunderstood a library method¹.

Had I just looked out for a failing test, I would have started writing code to make it pass, and been disappointed that it didn't pass when I was done.

--
¹ Turns out Java's String.indent(4) normalizes line endings, meaning it will add a line ending to the last line, even if it didn't have one before! Surprise!

bradwilson,
@bradwilson@mastodon.social avatar

@jitterted I have always thought the circle diagram for sent the wrong message to new practitioners. Refactoring should always start and end in green. If you refactor and things go red you’ve done something else other than refactoring.

adron, to random
@adron@metalhead.club avatar

The Next Reaction for Unleash The Archers new Album, with release of the song “Seeking Vengeance”

"Seeking Vengeance" by Unleash the Archers is a powerful, vengeful song filled with dark energy and intense storytelling. The track's narrative structure builds upon itself, intensifying the protagonist's resolve. The Ibanez X IronLabel guitar solo adds emotional depth and intensity. The recurring thematic motifs invite contemplation on transformation and vengeance.

http://viciousshred.com/2024/04/23/the-next-reaction-for-unleash-the-archers-new-album-with-release-of-the-song-seeking-vengeance/

bradwilson,
@bradwilson@mastodon.social avatar

@adron Brittney’s vocals are criminally quiet on this track.

peterritchie, to random
@peterritchie@mastodon.social avatar

At what point does a software development "stack" become a "tower?"

bradwilson,
@bradwilson@mastodon.social avatar

@peterritchie It helps to have an astronaut architect. Ivory paint optional. 😂

Migueldeicaza, to random
@Migueldeicaza@mastodon.social avatar

I have now been shadow-banned on Twitter for the fourth time over my support for Palestinians under attack.

It is still an important forum to spread news, hence why I am still spreading important news there.

I am not sure that I reach a lot of uninformed in here as I do there, but I will bring some toots here.

bradwilson,
@bradwilson@mastodon.social avatar

@georgeperez @Migueldeicaza Posting with, and following, hashtags are critical to share and discover information outside your circle, IMO.

bradwilson, to vscode
@bradwilson@mastodon.social avatar

I am extraordinarily annoyed by the fact that appears to be enabled by default now in and I can't find any way to turn it off.

bradwilson,
@bradwilson@mastodon.social avatar

@KirillOsenkov Linux and Windows

bradwilson,
@bradwilson@mastodon.social avatar

@JoeyRobichaud Does Intellicode now offer full function implementation suggestions?

bradwilson, to plex
@bradwilson@mastodon.social avatar

I assume by this point the Plex app on NVIDIA Shield will never support full channels when playing 5.1 FLAC. 😔

kpwags, to random
@kpwags@hachyderm.io avatar

Wanted to get 1,000 words written tonight, but only managed 500 or so…oh well

bradwilson,
@bradwilson@mastodon.social avatar

@kpwags Small victories are still victories. 😊

bradwilson, to dotnet
@bradwilson@mastodon.social avatar

On a separate (but mildly related note): it's probably time to delete the TestDriven.NET support from xUnit.net v3. It's basically been abandoned for several years now and has never supported VS 2022.

I'd keep it even if I was the only one using it (and I likely was), but I can't stay on VS 2019 even if I ignored the end of mainstream support, since the latest version of .NET it supports is .NET Core 3.1. 💔

bradwilson, to random
@bradwilson@mastodon.social avatar

I've been organizing my dependencies for @xunit v3 so I can minimize them (anything that doesn't ship in .NET itself is a potential compatibility clash with library versions that developers want to use).

I'm not that worried about System.Collections.Immutable or IAsyncDisposable having breaking changes across major versions. System.Text.Json, on the other hand, feels like potential danger territory. The alternative of writing even a very feature-limited JSON parser makes me uncomfortable.

bradwilson,
@bradwilson@mastodon.social avatar

This problem is much worse in v2 because you build DLLs not EXEs, so there's no compiler to help resolve dependencies between us and your tests. App domains help in .NET Framework, but aren't available on .NET Core/.NET.

Even with the eased restrictions, I'm still a little nervous about it. We had to stop using JSON.NET because the author of JSON.NET wanted to test JSON.NET with xUnit.net and couldn't, because our old version "won" in the loading lottery.

bradwilson,
@bradwilson@mastodon.social avatar

Our solution at the time was that we nicked this code from very early .NET Core (maybe even back when it was called Project K, as I think they were using it for parsing the old JSON-based project files before they reverted back to using MSBuild). https://github.com/xunit/xunit/blob/v2/src/common/Json.cs

bradwilson,
@bradwilson@mastodon.social avatar

I don't have a problem doing my own serialization. It doesn't have to be an open ended problem, and the wire format of JSON is quite simple. Generating legal JSON is an order of magnitude (or more) simpler than parsing it.

bradwilson,
@bradwilson@mastodon.social avatar

@Josh_Gallagher We use ILRepack for executables. Generally repacking things changes their identity, but in this case changing the identity of System.Text.Json's types probably isn't a big issue. It's something to consider.

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