@bitbonk@mastodon.social avatar

bitbonk

@bitbonk@mastodon.social

addicted to #dotnet and open source, creator of @bot, admirer of the 80ies and 90ies

I am searchable via https://tootfinder.ch

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

bitbonk, (edited ) to iOS German
@bitbonk@mastodon.social avatar

OK, on the @elk on kind of work but it is extremely rudimentary and also rather buggy. This is sad because otherwise has the best of all clients

bitbonk, (edited ) to random German
@bitbonk@mastodon.social avatar

Should the #PWA of @elk on iOS 17.4 support push notifications? #Elk

tannergooding, to random
@tannergooding@dotnet.social avatar

If you've not seen it, C# 10/.NET 6 introduced support for interpolated string handlers which allows string interpolation to be used efficiently with things like loggers: https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/tutorials/interpolated-string-handler

It's definitely worth checking out and seeing if your logger of choice has updated to support it yet.

bitbonk,
@bitbonk@mastodon.social avatar

@tannergooding Is Microsoft.Extensions.Logging using this feature?

bitbonk, to random
@bitbonk@mastodon.social avatar

I like how the German words "Tathergang" and "Brathering" sound when pronounced in English.

jeremydmiller, to random
@jeremydmiller@hachyderm.io avatar

One of my clients has a very strict StyleCop setup, and anytime I write code in their codebase, I spend more time dealing with fussy whitespace rules than I do thinking about the actual work

bitbonk,
@bitbonk@mastodon.social avatar

@simoncropp @jeremydmiller @nietras @khalidabuhakmeh I think Rider also has a feature to detect and apply the proper formatting settings based on the files it finds in a solution, if I remember that right.

bitbonk,
@bitbonk@mastodon.social avatar

@khalidabuhakmeh @jeremydmiller @simoncropp @nietras SonarQube has this feature too (but I still don't like SonarQube).

bitbonk, to dotnet
@bitbonk@mastodon.social avatar

With the help of @slang25 I learned some interesting #dotnet #csharp #msbuild stuff today.

🧵↓

bitbonk,
@bitbonk@mastodon.social avatar

@slang25 <DebugType>embedded</DebugType> allows you to embed the PDBs directly into the assembly. No more symbol server or snupkg needed.

And because it is based on the new portable PDB format the assembly does not get much bigger (word on the streets is that the assembly gets 30% bigger).

https://learn.microsoft.com/dotnet/csharp/language-reference/compiler-options/code-generation#debugtype

bitbonk,
@bitbonk@mastodon.social avatar

@slang25 <EmbedAllSources>true</EmbedAllSources> additionally lets you embed the source code into the portable PDB. No more Source Link needed.

This only works with <DebugType>embedded</DebugType> or<DebugType>portable</DebugType> because those are the only flags that will generate portable PDBs (AFAIK).

bitbonk,
@bitbonk@mastodon.social avatar

@slang25 But even if you have an assembly without any symbols, ever since .NET 6 you can make the runtime spit out a method metadata token and IL offset in a stack trace using System.Diagnostics.StackTrace.ShowILOffsets.

Unfortunately there isn't currently an IDE that can make use of that.

https://github.com/dotnet/runtime/pull/44013

bitbonk,
@bitbonk@mastodon.social avatar

@slang25 Additionally, I did not know that there is a predefined msbuild variable that can tell me if a project is a test project: IsTestProject

https://github.com/justeattakeaway/JustSaying/blob/main/Directory.Build.props#L53

bitbonk, to dotnet
@bitbonk@mastodon.social avatar

Wow, I just noticed that the super cool tool by @nblumhardt now supports proper hierarchical visualization of traces from . How could I miss this?

https://datalust.co/seq

bitbonk, to random
@bitbonk@mastodon.social avatar

Hey @bot are you still alive? (Now that you are run by the dotnet.social community and @styx31 !! 👍🏻👍🏻)

bitbonk,
@bitbonk@mastodon.social avatar

@styx31 I am hoping to add PRs to the new repo with some improvements, after discussing it in an issue first, of course.

patriksvensson, to random
@patriksvensson@mstdn.social avatar

Having a child with special needs is time-consuming, and I think I got a sign tonight that I should stop spending time on open source. Been stretching myself thin between my child's needs, open source, and my regular job the last couple of years. Now might be a good time to stop.

bitbonk,
@bitbonk@mastodon.social avatar

@patriksvensson It is a REAL pity that making open source a regular job is so hard and rare.

bitbonk, to dotnet German
@bitbonk@mastodon.social avatar

Who of you folks is going to NDC Oslo this year? (I’m going)

bradwilson, to VisualStudio
@bradwilson@mastodon.social avatar

More ads in that are both wrong and irrelevant. This was hidden behind a diamond icon with the tool tip "new benefits". Uhhhh, this isn't a new benefit. I already knew about it.

Who is steering this ship, and can someone please maybe perform a very tiny mutiny?

bitbonk,
@bitbonk@mastodon.social avatar

@khalidabuhakmeh @bradwilson Ads for VS of course.

nblumhardt, to random
@nblumhardt@nblumhardt.com avatar

Aiming for a more complete redaction example than otherwise exists out there; spot anything that I've missed? 🙏 https://github.com/nblumhardt/serilog-redaction

bitbonk,
@bitbonk@mastodon.social avatar

@nblumhardt So in general for redaction, the suggested approach is I write my own custom redacting sink?
Would it be worth to put all the redaction functionality into a reusable package?

bitbonk,
@bitbonk@mastodon.social avatar

@nblumhardt @bot boost this, please

davidwengier, to random
@davidwengier@aus.social avatar

Sure thing Windows, I’ll dismiss the lock screen to sign in, now that you’ve recognized me, and yes, that is a lovely picture of two swans you’re showing me, but I’d really like it if I could use my computer now. Can you possible present any kind of UI I can interact with please???

Holding down the power button for 5 seconds to turn the PC off always feels like I’m holding a pillow over its face, but needs must I suppose.

bitbonk,
@bitbonk@mastodon.social avatar

@davidwengier wow, the pillow analogy is gold, I will now always be reminded of it when I have to do it again

halva, to random
@halva@wetdry.world avatar

HOT TAKE

FRONT END DEVELOPERS SHOULD BE BANNED FROM USING THEIR HARDWARE FOR A MONTH EACH YEAR AND INSTEAD GIVEN A LOW END 10 YEARS OLD NETBOOK

bitbonk,
@bitbonk@mastodon.social avatar

@halva And, more importantly, use a slow and flaky mobile internet connection.

khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

I wish folks would stop dumping their “frameworks" onto when it's just for them and their organization.

bitbonk,
@bitbonk@mastodon.social avatar

@khalidabuhakmeh I also dislike generic/common/baseline nupkgs that contain a seemingly arbitrary collection of helpers used by the other nupkg of the same author.
I think this one is a stereotypical example:

https://www.nuget.org/packages/Baseline

KirillOsenkov, to random
@KirillOsenkov@mastodon.social avatar

Anyone know MSBuild and NuGet well and want to work at Microsoft?

#GetFediHired

bitbonk,
@bitbonk@mastodon.social avatar

@KirillOsenkov @bot boost this, please!

bitbonk, (edited ) to dotnet
@bitbonk@mastodon.social avatar

We have a based framework (a bunch of packages) that can be used to build desktop executables that control and visualize machine data with a very simple and easy to use based API. It is based on and we want to rewrite/redesign it to make it cross platform.

What UI technology should we base it on?

Customers will have to learn the basics of that chosen technology.

(Boost for reach is appreciated🙏 )

bitbonk,
@bitbonk@mastodon.social avatar

@jan @TimPurdum @avaloniaui XPF might be a good bridge technology in case we aren’t able to port everything right away or to embed customer views that haven’t been ported yet. I am not sure how @avaloniaui XPF licensing works in such a case.

bitbonk,
@bitbonk@mastodon.social avatar

@SmartmanApps @w0ger @sjkilleen Ah yes, mobile. In the future we might also want to provide the possibility to build mobile apps with our SDK. It would be nice if the programming model is very similar to the one for desktop. I suppose both as well as would provide that and when (if) has proper desktop support (we need ), it would also be an option.

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