@simoncropp@hachyderm.io avatar

simoncropp

@simoncropp@hachyderm.io

Nerd, runner, insomniac, advocate for testing
http://github.com/SimonCropp
He/Him

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

simoncropp, to random
@simoncropp@hachyderm.io avatar

say it with me "AI is an implementation detail, not a feature". if you cant make a sales pitch for a feature without relying on leveraging the AI hype, then i have doubts about the long term viability of the feature/product.

khalidabuhakmeh, to CSharp
@khalidabuhakmeh@mastodon.social avatar

Extension types for #csharp FINALLY!

I can create extension properties that feel natural in code.

simoncropp,
@simoncropp@hachyderm.io avatar

@khalidabuhakmeh @yeep eta for a rider eap with support?

simoncropp, to random
@simoncropp@hachyderm.io avatar

is there a way of excluding a cs file from generating debug symbols in .net?

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

simoncropp,
@simoncropp@hachyderm.io avatar

@jeremydmiller cant most whitespace rules be handled by editor config. then the ide does it for you?

simoncropp,
@simoncropp@hachyderm.io avatar

@jeremydmiller @nietras i think it should work. see "Automatically apply formatting preferences on saving changes" here https://www.jetbrains.com/help/rider/Enforcing_Code_Formatting_Rules.html#run-code-cleanup-automatically-on-save

simoncropp,
@simoncropp@hachyderm.io avatar
simoncropp,
@simoncropp@hachyderm.io avatar

@khalidabuhakmeh @jeremydmiller @nietras oh yeah. burn stylecop. only rules that can be automatically applied by an ide should be used. and that is what editorconfig is for

simoncropp, to random
@simoncropp@hachyderm.io avatar

can everyone enable Nuget CVE auting. eg
https://github.com/OctopusDeploy/Octostache/pull/107/files

simoncropp, to random
@simoncropp@hachyderm.io avatar

new version of Polyfill dropping now.
Additional 8 APIs added
https://github.com/SimonCropp/Polyfill/issues?q=is%3Aclosed+milestone%3A4.1.0

what other defs can I help remove?

simoncropp, to random
@simoncropp@hachyderm.io avatar

want to protect against CVEs in your .net sln?

Clear your cache:
dotnet nuget locals all --clear

Put the below in your Directory.Build.props

rebuild

0xced, to dotnet

Today I experimented with trimming down unnecessary bits out of the Microsoft.Data.SqlClient package (if you don't need MSAL). The results are pretty impressive! Source code and explanations are available on https://github.com/0xced/ChiseledSqlClient
/cc @simoncropp

simoncropp,
@simoncropp@hachyderm.io avatar

@0xced still baffles me that it was decided to be a good approach

simoncropp, to random
@simoncropp@hachyderm.io avatar

how do i force JetBrainsRider (or editorconfig) to put the && at the end of the line. instead of chopping before

@khalidabuhakmeh

simoncropp,
@simoncropp@hachyderm.io avatar
onthefencedev, to dotnet
@onthefencedev@twit.social avatar

Trying to get a web app running with the html2pdf library but can't download the files from their site - for the mac anyway.

I have refreshed my community licence and can download just about anything else (everything else I've tried at least)

Looks like I'll have to fall back to the Surface Pro for the feature which is a bit of a pain.

simoncropp,
@simoncropp@hachyderm.io avatar

@onthefencedev dont you consume that lib via nuget?

simoncropp,
@simoncropp@hachyderm.io avatar

@onthefencedev hmmm. weird

simoncropp,
@simoncropp@hachyderm.io avatar

@onthefencedev good call

simoncropp, to random
@simoncropp@hachyderm.io avatar

Verify now supports .net 9 https://github.com/VerifyTests/Verify

simoncropp,
@simoncropp@hachyderm.io avatar

@khalidabuhakmeh and now rider complains when i open that solution

Sad Cry GIF by SpongeBob SquarePants

jchannon, to dotnet
@jchannon@hachyderm.io avatar

there has to be an easier way to install browsers for use in tests in CI via playwright

simoncropp,
@simoncropp@hachyderm.io avatar

@jchannon @khalidabuhakmeh why would the first test be slow?

simoncropp,
@simoncropp@hachyderm.io avatar

@khalidabuhakmeh @jchannon ahh yes. but that is then cached, correct?

jchannon, to dotnet
@jchannon@hachyderm.io avatar

Anyone know of any docs/articles about when to use AngleSharp vs Playwright?

simoncropp,
@simoncropp@hachyderm.io avatar

@khalidabuhakmeh @jchannon what khalid said. think of anglesharp as a tool for helping with asserting html. playwright as a tool to help you do browser integration tests

simoncropp,
@simoncropp@hachyderm.io avatar
nblumhardt, to dotnet

I'm finding a strong inverse relationship between code quality and breadth of (older) TFM support, in my current projects.

Is there a good canonical article out there discussing why this happens, and strategies for mitigating the effect?

simoncropp,
@simoncropp@hachyderm.io avatar

@nblumhardt @bradwilson r u using a polyfill?

bradwilson, (edited ) to random
@bradwilson@mastodon.social avatar

I'm super tempted to go on another issue cleaning spree for @xunit and close anything that hasn't been touched in a year or more with a comment like "closing this for age, if it's still recurring please open a new issue". There's just too much stuff that's using builds that are years old at this point and I have no time to verify it all.

simoncropp,
@simoncropp@hachyderm.io avatar

@bradwilson @xunit i would add “submit an pr with a failing repro” to that statement

simoncropp, to random
@simoncropp@hachyderm.io avatar
  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • InstantRegret
  • ethstaker
  • osvaldo12
  • magazineikmin
  • GTA5RPClips
  • rosin
  • mdbf
  • Youngstown
  • Durango
  • slotface
  • everett
  • kavyap
  • DreamBathrooms
  • JUstTest
  • thenastyranch
  • tacticalgear
  • modclub
  • cisconetworking
  • tester
  • cubers
  • khanakhh
  • ngwrru68w68
  • megavids
  • normalnudes
  • anitta
  • Leos
  • lostlight
  • All magazines