Lars Hanisch
banner
flensrocker.de
Lars Hanisch
@flensrocker.de
Developer & Architect on .NET and Angular.
Playing guitar in a rock band to escape.
Reposted by Lars Hanisch
Some friction is healthy in our online interactions. You shouldn't be able to send a bug report without a reproduction. You shouldn't be able to create a PR without understanding the issue (and the solution). You should (try to) be aware of their context before replying to an unknown person online.
December 30, 2025 at 4:45 PM
Facts you didn't know you needed to know.
Just watched the new Knives Out and I think it's really important you know that the scene in the Seminary's Gym is filmed in the same place Rick Astley filmed the music video for Never Gonna Give You Up.

I saw the window tracery and immediately made my friends pause the film so I could tell them.
December 30, 2025 at 12:44 PM
Starting in September I produced more than 1MWh, and I only needed 3/4 of it. Consumption and production did happen at different times, but hey - I do as much as I can!
#solar #power
December 22, 2025 at 8:39 PM
I understand #passkeys despite of not having implemented them yet (just migrated to #dotnet 10, so bear with me).

But how do you do #passwordless service to service communication? Are client certificates the only choice?
I don't want to store secrets anymore.

#password #oauth #oidc
December 20, 2025 at 9:20 AM
Reposted by Lars Hanisch
December 14, 2025 at 9:13 PM
Chocolate doesn't ask.
Chocolate understands.
December 14, 2025 at 4:33 PM
Reposted by Lars Hanisch
December 13, 2025 at 6:54 PM
Yes, please!
Do you think it's confusing how linters and TypeScript both get the same red squiggly color by default in VS Code? But you don't want to downgrade lint reports all the way to orange?

Please upvote my VS Code feature request to add a "danger" style between orange and red! github.com/microsoft/vs...
Offer "danger" (orange) style between "warning" (yellow) and "error" (red) · Issue #246507 · microsoft/vscode
Overview Right now, there are two warm-color severities for "squigglies" in code: editorWarningForeground #CCA700: often used for lint reports and other warnings editorErrorForeground #F14C4C: ofte...
github.com
December 9, 2025 at 2:44 PM
Hey @aspire.dev!
When I run my #Angular app with "ng serve" I want to use the --ssl/ssl-cert/ssl-key options, because I use HttpOnly/secure auth cookies. But I don't want to generate self signed certs by myself.
Can #Aspire export the dev cert as a "file" so I can "just use it"?
That would be great!
December 8, 2025 at 8:05 PM
Reposted by Lars Hanisch
I think that the Internet should be weird again and we should just code things because they’re delightful. We should also code things so that the haters hate less
December 6, 2025 at 4:39 AM
Reposted by Lars Hanisch
I tell this story periodically, but it seems like it's time again:

General Motors ran an automobile manufacturing plant in Fremont, California, that was one of the worst in the country. Accident rates and defects were astronomical. Absenteeism was through the roof.
1/12
December 4, 2025 at 5:53 PM
As a "full stack" developer I would like to debug my #Angular frontend app in my #Aspire apphost like I'm able to do with my .NET backend.

If you are like me, please upvote this issue, to show them!
Thanks!

github.com/dotnet/aspir...
Support debugging nodejs applications with the aspire vscode extension · Issue #11694 · dotnet/aspire
Is there an existing issue for this? I have searched the existing issues Is your feature request related to a problem? Please describe the problem. When using the Aspire.Hosting.NodeJs library we s...
github.com
December 4, 2025 at 8:22 AM
I should have tagged @aspire.dev
😎
Hey #Aspire folks!

Do you add your launchSettings.json or apphost.run.json to the repository or should it be treated like a "user" file and "git-ignored"?
I might roll a dice on this...

#dotnet
December 3, 2025 at 8:48 PM
@dylanbeatt.ie you had me at "zero letter acronym"... 🤣

youtu.be/OXO_kqTIW-s
K is for KiB
YouTube video by Dylan Beattie
youtu.be
December 3, 2025 at 5:43 PM
Hey #Aspire folks!

Do you add your launchSettings.json or apphost.run.json to the repository or should it be treated like a "user" file and "git-ignored"?
I might roll a dice on this...

#dotnet
December 3, 2025 at 9:43 AM
Reposted by Lars Hanisch
I am burning out on this...

Multiple PRs created by AI-bot accounts are trying to solve the same issue that has not yet even been identified, with verbose plain-text PR descriptions.

I don't even know if I should bother to reply...

Any ways to stop this? 😇
Vibe coding PRs - STOP please...
December 3, 2025 at 7:06 AM
Reposted by Lars Hanisch
To celebrate the incredible work and dedication of the open source community this Christmas, I'm delighted to announce a small giveaway!
December 1, 2025 at 11:00 AM
In my home town every year a #regatta with historical sailing ships is taking place. It's called the "Rum Regatta". The winner gets some crap, because they took it too serious. The second ship gets a huge bottle of rum. Noone wants to win.

And sometimes they sell a special kind of #rum.

#Flensburg
November 29, 2025 at 9:42 PM
It's the basic building block for writing higher level injectFoo functions.
Powerfull!
The inject function is the most underrated feature added to Angular in years
November 29, 2025 at 6:36 PM
Reposted by Lars Hanisch
My cartoon for this week’s @theguardian.com books.

Lots more here: www.theguardian.com/books/series/tom-gauld-s-cultural-cartoons
November 29, 2025 at 11:59 AM
Should I feel guilty? 🤣🎶🎸🥳
And it's up! All together now...

🎶 Somebody told me
the user provider
should use an adaptor
to proxy the query
factory builder... 🎶

www.youtube.com/watch?v=p03o...
November 29, 2025 at 6:14 AM
Introduce yourself with 5 concerts you’ve seen.

AC/DC
Van Halen
Prince
Motörhead
ZZ Top
Introduce yourself with 5 concerts you’ve seen.

Nick Cave
Lankum
The Fields of the Nephilim
Africa Black Mambazo
Clayton Blizzard (small venue)
Introduce yourself with 5 concerts you’ve seen.

Lau
The Tiger Lillies
George Clinton
Efterklang
Yeasayer

(I've deliberately left out the big names - Pink Floyd and Prince won't tell you the first thing about me.)
November 27, 2025 at 8:05 PM
I have created my first repository on Codeberg.org some weeks ago.
I really consider becoming a member.
November 27, 2025 at 11:45 AM
Reposted by Lars Hanisch
If "everyone knows .unwrap() is a footgun", then why is it in #rust at all?

Make the user use .unwrap_or, or match, or some other error flow mechanism so they're forced to make a decision.

If they want to "panic!()", make them type it out. Let them ponder their life choices in those 9 chrs.
November 26, 2025 at 2:55 PM
Server Sent Events could be powerfull, if they weren't limited to 6 (six) connections per server (not tab!).
Continuing my series dissecting APIs and the thinking behind them.

Today: balancing abstraction vs. control. Great APIs let you start simple and grow into complexity as you need to.

Exploring this through minimal APIs' SSE support: blog.safia.rocks/2025/11/24/a...

#dotnet #aspnetcore
Anatomy of an API: three ways to stream with ServerSentEvents()
A blog post exploring why minimal API’s TypedResults.ServerSentEvents() has three different overloads, what each one does, and how to avoid mixing them up when you’re streaming data to clients.
blog.safia.rocks
November 24, 2025 at 5:15 PM