Jason Bock

Living in reality. Writing code. Playing music. Husband + father. Staff Software Engineer at Rocket Mortgage (opinions are my own). Author of books. Speaker. Cyclist. And more!

Jason Bock boosted:
Richard Campbellrichcampbell
2026-02-05

Why would you write code to generate code?

@jasonbock talks on .NET Rocks at dotnetrocks.com/details/1988 about his experiences using modern .NET source generators to optimize certain aspects of applications!

2025-01-01

@robrich @csharpfritz The idea may have value, but....I wouldn't use the SGs as they are (and I contributed to this :) ). They're not incremental, so to really make this a viable implementation, it needs to be using FAWMN.

2024-12-14

.NET question. Any recommendations on charting packages I can use in Avalonia? I've found these, opinions on them, or others I should try?

* ScottPlot.NET - scottplot.net/quickstart/avalo
* LiveCharts - livecharts.dev/
* OxyPlot - oxyplot.github.io/

#dotnet #csharp

2024-12-06

Episode 574 of FreeCodeSession is live!

youtube.com/watch?v=HGuPuSNXoU

2024-12-03

Episode 573 of FreeCodeSession is live!

youtube.com/watch?v=s7-tXYgaUS

2024-11-29

Episode 572 of FreeCodeSession is live!

youtube.com/watch?v=D9fkc5EC5p

2024-11-12

Episode 570 of FreeCodeSession is live! In this video, I talk about a new feature in C# 13: anti-constraints.

youtube.com/watch?v=c704TlNeeH

2024-11-06

@fahrni Just read that the Dump didn't really gain any voters, but Dems were 15 MILLION short from 2020.

Fucking hell.

2024-11-06

@fahrni I would love for it to happen, but the chances now are about as much as a Harris win was this time around.

2024-11-03

@KirillOsenkov if I remember, I'll do it tomorrow morning 🙂

2024-11-02

@KirillOsenkov just F5 in VS.

2024-11-02

@KirillOsenkov it's my Rocks repo:

github.com/JasonBock/Rocks

Specifically the 342 branch. Run the code generation test app, put a breakpoint at line 145 in TestGenerator.cs.

2024-11-02

@KirillOsenkov This? Because it wasn't check, I checked it, and it didn't help. (Note that other locals are showing up just fine).

2024-11-02

@KirillOsenkov Nope. Even if I typed it into the Watch list, it would give me the same error.

2024-11-02

Go home, Visual Studio, you're drunk.

(To be clear, I'm in the debugger, I've clearly evaluated code such that "code" should have a value, and ... yeah, VS says it doesn't exist.)

VS 2022 17.12.0 Preview 5

2024-10-31

About to go live with a Random.Code() stream, building a new feature in Rocks!

youtube.com/@jasonbock

2024-10-30

@davidgiard sounds like quitter talk to me

2024-10-28

@TimPurdum Or....they may be really happy with your new discovery :).

Seriously, I get it. But if you use Rocks in the future, let me know what you think, what works, what doesn't, etc.

Jason Bock boosted:
Kirill OsenkovKirillOsenkov
2024-10-28

Roslyn Quoter on Wasm powered by Uno:
roslynquoter-wasm.platform.uno

Thanks to @jlaban for building and hosting the Uno version!

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst