Matthew Adams

285 Followers
108 Following
1,034 Posts

#Technology, #CTO, co-founder of @endjin. We help small teams do big things with data, cloud, people, and process. He/him.

I'm interested in #archaeology #food #nffc #theatre #warhammer #politics #physics #compsci #dotnet and just about everything.

githubhttps://github.com/mwadams

Howard asks: has anyone managed to programmatically connect to the #npu on their Surface Laptop?

Note that most of the examples online of people claiming to do this in fact *fail* to connect and actually use the fallback mechanisms.

https://bsky.app/profile/hvr.endj.in/post/3lbtnbuunkc2o

Howard van Rooijen (@hvr.endj.in)

Has anyone here managed to programmatically connect to the NPU on their Surface Laptop Studio 2?

Bluesky Social
@sotolf "remembering how to do Floyd-Warshall"

What do you think is the most common mistake when users engage with System.Text.Json? You're probably wrong.

A new blog post
https://blog.json-everything.net/posts/a-common-problem/

Please remember to tip your maintainer.
https://github.com/sponsors/gregsdennis

#dotnet #json #systemtextjson

A Common Pitfall of Working with JsonNode

When anyone publishes a work of creativity, they invite both praise and criticism. But open source development has a special third category: bug reports. Sometimes, these “bugs” are really just user error.

json-everything
@poppastring Maybe not financially, but it has clearly damaged his ego; it reflects an unpalatable version of Bezos back at himself. The damage limitation statements are not to shore up WaPo, but to try to limit damage to Bezos's own reputation.
@dazfuller @badcel Thanks, but this isn't a "general case" problem. I'm specifically talking about the dotnet/runtime build (as in mscorlib etc.)

Anyone in #dotnet land know how to persuade the dotnet/runtime build to emit code coverage?

Changing directory to the target test project (in this case System.Text.Json.Tests) and running

dotnet build /t:Test /p:Coverage=true /p:BuildTargetFramework=net10.0

did not seem to work; it spat out the coverage report, but there's no data (and it doesn't even include content at all for the JsonMarshal.* methods that are in the assembly, but not in the STJ namespace)

I asked Stephen Toub to look at the binlog loading perf, and he found a few nice improvements:

https://github.com/KirillOsenkov/MSBuildStructuredLog/wiki/BinLog-Perf#stephen-toubs-perf-improvements

Loading time for a huge binlog improved 2:34 -> 2:06, and we can have 1:42 if we convert the viewer to .NET 8

BinLog Perf

A logger for MSBuild that records a structured representation of executed targets, tasks, property and item values. - KirillOsenkov/MSBuildStructuredLog

GitHub

@KirillOsenkov This is another good moment to point out that folk who are still on .NET 4.x for reasons of inertia should seriously consider migrating to .NET 8.x just for the perf wins (especially if you rent compute).

The biggest pain points will be legacy dependencies - especially on things like commercial control libraries. There's usually a supported path, but you may need to hop through a few interim .NET versions to get from where you are to their V.current.

There's a Lego Ideas submission of Clippy... It needs 3800 or so more votes to get a chance of being a Lego set. #microsoftclippy

https://ideas.lego.com/projects/5d1d2c7d-ac10-457b-b0ec-e4740f61db39

Clippy

Say hello to the office assistant – Clippy (: Clippy is the paperclip office assistant character created by Microsoft for Microsoft Office (97 and ...

@newstephie

Don't forget that most of that aid is in the form of either existing physical equipment or loan guarantees.

That, of course, is a reason it should not be used an excuse for cutting other social provision - it isn't the same sort of spending at all.

But we can't compare the two directly.