's Avatar

@johnkors

Developer

21
Followers
54
Following
50
Posts
21.11.2023
Joined
Posts Following

Latest posts by @johnkors

Post image

Seems like the BOM-generation is omnipresent, and intentional due to Visual Studio limitations. Kinda sad panda for us non-VS programmers.

06.12.2025 21:13 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
file-based apps: dotnet add file.cs package <package> changes encoding of file.cs Β· Issue #52054 Β· dotnet/sdk Describe the bug The SDK changes encoding of file-based app files when adding packages. To Reproduce 1 - Create a a file.cs (UTF-8 encoded) 2 - Add a shebang : #!/usr/bin/env dotnet run and chmod +...

Issue with file-based apps: the sdk changes the encoding of the file and destorys the shebang support :/

github.com/dotnet/sdk/i...

06.12.2025 17:21 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
add dotnet (.NET 10 filebased apps) script template support by johnkors Β· Pull Request #1011 Β· raycast/script-commands Description .NET 10 introduced running .cs files with shebang support. https://learn.microsoft.com/en-us/dotnet/core/whats-new/dotnet-10/sdk#enhanced-shebang-support-example Type of change Other...

github.com/raycast/scri...

go, go @raycast.com

26.11.2025 19:03 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

🀞

24.11.2025 18:50 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Now you need to never rename your workflow files, though.

24.11.2025 17:51 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Nice. Need to avoid sharing pulumi stack resources for dev, tho. Same as one does not share resources locally when Aspiring.

20.11.2025 10:31 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Any drawing board stuff on _how_ a Pulumi integration would/could look like for Aspire? I'm using Aspire and Pulumi for a project, and interested in how you see them working together.

My setup is I glue them together using Pulumi outputs
1) pulumi up => infra resource
2) deploy app onto output

19.11.2025 11:30 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Pulumi supports 300 providers. AWS, Google, Azure, k8s being the main ones, but still. Is the aim for Aspire to be on par or leave it to the community to provide the "fringe" ones?

www.pulumi.com/registry/

19.11.2025 08:34 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Btw, spaceinvaders.cs does not work via stdin. Is that a bug/limitation, or something particular with the game?

```
curl raw.githubusercontent.com/DamianEdward... | dotnet run -

Unhandled exception. System.InvalidOperationException:
```

Works fine via local file.

19.11.2025 07:55 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Until I can write an apphost in any language, not sure I’d view Aspire itself polyglot.

Aspire: C# SDK, .NET, target Azure.

Pulumi: All modern languages, target all clouds.

19.11.2025 05:47 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Found the Directory.Build.props workaround, so that's at least one way of doing it, albeit a bit janky.

github.com/dotnet/sdk/b...

Better file support coming in .NET 11 then, I guess. Good!

18.11.2025 19:43 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Nice prezo in .NET conf on this topic! You mentioned there are some caveats. Care to expand on that?

AOT being the default hit me (popular libraries using reflection) after 2 minutes :D

Also, is referencing files using ignore-directives on the roadmap? #:file someotherfile.cs

17.11.2025 08:57 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

great job @philco.bsky.social , i assume this My Little Content Engine?

07.09.2025 10:59 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

really nice og:image to go with it as well :) effort into details

07.09.2025 10:45 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

drittlei rΓΈykende 4-Γ₯ringer. pΓ₯ tide.

04.06.2025 13:33 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image

Hva skjer med dette grepet fra NRK?

02.06.2025 20:31 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

empathy level:0
arrogance level: 100

good luck, David!

29.05.2025 18:18 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

must be some sort of diagnosis, tbh 😬

it’s the same arrogant vibe in github

28.05.2025 23:03 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

hey, you’re the one bringing events 20 years back as an excuse for your companys lack of communications skills. maybe clean your own house, buddy

28.05.2025 22:50 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Preview
a man in a suit is standing on top of a cliff looking out over a body of water . Alt: Praise Kier!

> finally delivering Anders original vision

gives Keir vibes

27.05.2025 23:33 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

so the 20 odd years that followed is not worth a mention, because Anders got dibs? πŸ˜‚

pardon my recency bias, but that's just a weird take.

27.05.2025 23:19 πŸ‘ 1 πŸ” 0 πŸ’¬ 2 πŸ“Œ 0

forget the thanks, I mean, even the _acknowledgement_ of others existence would suffice at this point.

27.05.2025 23:02 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

🫠

27.05.2025 22:53 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

I was expecting that to be the intro for Damians talk :D it looks purposely hushed down when you fail to even mention it with a _single_ sentence.

27.05.2025 09:03 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

Yeah, same thing with ASP.NET Core endpoints. Wonder if it will converge at some point, or have some bindings.

27.05.2025 07:35 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

bsky.app/profile/erik...

26.05.2025 16:24 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Post image

@raycast.com needs an update

25.05.2025 16:05 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

I gathered there are some extra work to it, but skipping the `run` argument would have aligned this better with others.

how many newcomers are going to do `dotnet file.cs` and get an error now..?

24.05.2025 05:05 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

go on

24.05.2025 04:43 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

expecting the world to stand still for a *decade* , yeah good luck

24.05.2025 04:41 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0