Better HN
topnewbestaskshowjobs
Log inSign up

mrcsharp

822 karma · joined Aug 10, 2019 (7y ago) · 196 submissions

meet.hn/city/au-Sydney/Sydney

Socials: - github.com/MrCSharp22 - https://blog.mrcsharp.dev

Interests: IoT, Programming, Technology, Web Development

---

https://blog.mrcsharp.dev/

Submissions

comment 1y ago · link · parent

> but Valve put a lot of effort into making games work on Linux

Yes! this is competition at its finest, right? It is also what I was talking about in my original comment.

> So now gamers have gained another platform to play games!

Yup, this is definitely a good thing. Yes gamers get another platform and hopefully gets MS to focus on Windows to make it better and less hostile to users.

Gamers are also quite vicious and they will tarnish the reputation of anything that doesn't work well for them. Let's see how Linux will fare in their hands.

comment 1y ago · link · parent

> Yeah. And now add a C/C++ component there. Or maybe a neural network in Python?

How do you compile and package those components up? Answer that and you have your answer for this scenario.

>"Just zip it", yea sure.

I don't understand this. You can zip it. You can XCopy it. You can RSync it. Doesn't matter. What's your objection to that statement?

comment 1y ago · link · parent

I think we are talking a bit past each other here. I don't contest the benefit of writing small helper utilities.

> Regarding syntax, not sure why would you consider that awkward

This is more true with Bash than Powershell. However, this is the same with programming languages in general. There are those who look at Julia's syntax and think it's absolutely beautiful and those who consider it to be absolutely bad and prefer Visual Basic.

comment 1y ago · link · parent

> What is done using c# in 10 lines can be done in a single line in pwsh

Mostly, yes. The problem is that the moment I need something more than what a single cmdlet or bash utility can provide, now I have to use an awkward looking scripting language (bash is the worst offender here). Almost every time I found myself having to write a somewhat long script file, I wish I could just do it with a C like language instead.

For simpler tasks, I fully agree. It is better to use something immediately available like an OS shell utility over coding one myself.

comment 1y ago · link · parent

That's not racism. That's a play on his last name. Just because actual Nutella has a dark color doesn't make my comment racist.

Grow up and stop finding racism in everything.

comment 1y ago · link · parent

And now there is going to be support for `dotnet run app.cs` which, in my opinion, will replace most of my powershell scripts.

comment 1y ago · link · parent

> The deployment story is non-existent

Wrong! it is as simple as executing `dotnet publish`, zipping up the output folder and sending that package somewhere using whichever protocol and shell utility you like.

> monitoring, tracing, alarming is barely there

Also wrong. OpenTelemetry is fully supported by first-class packages and the dotnet runtime itself exposes a lot of counters. There are a lot of tools to monitor and collect traces of running dotnet processes [1]

> You have to work with MS libraries that are on life-support with glaring bugs still present

You don't have to. Every Microsoft.* library follows strict semantic versioning and is clearly labeled when it is deprecated. If you don't have a plan in place on how to manage your dependencies then this is on you.

[1] https://learn.microsoft.com/en-us/dotnet/core/diagnostics/to...

comment 1y ago · link · parent

> Microsoft's loss is gamers' gain in this area I think.

Care to expand on this? Or did you just want to make a random statement?

> Besides, MSFT is almost $500, so they're doing something right

This very reductive way of thinking is exactly why everything is getting enshitified to the max.

comment 1y ago · link · parent

On the one hand I hope with the proliferation of such articles and sentiment that Microsoft would start paying more positive attention to Windows as an Operating System instead of an AI and Advertisement Machine.

But then I remember that it's Nutella at the helm over there and he'll gladly give up ground to focus more on hype and share price.

What a waste.

comment 1y ago · link · parent

So they saved £30 million a year and now losing estimated £40 a week (not to mention reputation and future opportunity loss due to lower customer confidence). They have almost wiped out all the savings.

If this is the reason, then this was a very bad deal for them.

comment 1y ago · link · parent

I'm excited for this one. I can see it replacing some of the powershell scripts I have in CI/CD pipelines.

As much as I like Powershell and Bash, there are some tasks that my brain is wired to solve more efficiently with a C-like syntax language and this fill that gap for me.

comment 1y ago · link · parent

The really sad thing here is that Stephen Toub is a big figure in the .Net land and a respected dev. I love reading his yearly .net performance improvements article/book and he has some great deep dives into .Net topics on YouTube.

Seeing him waste his time on stupid LLM handholding like this is quite the sad scene.

It probably wasn't his decision to use CoPilot. Microsoft probably has some dumb KPI being enforced.

comment 1y ago · link · parent

> Microsoft, the company famous for dog-fooding

This was true up around 15 years ago. Hasn't been the case since.

comment 1y ago · link · parent

Wow what a thread!

comment 1y ago · link · parent

> The API

Which one?

comment 1y ago · link · parent

Wrong. Linux support is first class in .Net just like Windows. We are strictly running our .Net code on linux servers and have encountered 0 problems over the past 5 years.

comment 1y ago · link · parent

The walled garden is a problem with an iPhone. The OS treating me like a toddler is another.

comment 1y ago · link · parent

And this won't work. One cannot use digital methods to protect against analog methods.

comment 1y ago · link · parent

You make a good point about queuing up the work. You do get more control over resource management in this case.

comment 1y ago · link · parent

I did address the fact that not everyone has a family or a close friend.

What you described isn't a good fit for using AI. What would an LLM do for him?

The fact his roof collapsed and he didn't think much of it indicates a deeper problem only a human can begin to tackle.

We really shouldn't be solving deep societal problems by throwing more tech at them. That experiment has already failed.

comment 1y ago · link · parent

Well with SSE the server and client are both holding a HTTP connection open for over a relatively long period of time. If the server is written with a language that supports async paradigms, then a http request that needs async IO will use about the same amount of resource anyways. And when the response if finished, that connection is closed and resources are freed. Whereas SSE will keep them for much longer.

comment 1y ago · link · parent

> "I personally have the belief that everyone should probably have a therapist,” he said last week. “It’s like someone they can just talk to throughout the day, or not necessarily throughout the day, but about whatever issues they’re worried about and for people who don’t have a person who’s a therapist, I think everyone will have an AI.”

He seems so desperate to sell AI that he forgot such thing already exists. It's called family or a close friend.

I know there are people who truly have no one and they could benefit from a therapist. Having them rely on AI could prove risky specially if the person is suffering from depression. What if AI pushes them towards committing suicide? And I'll probably be told that OpenAI or Meta or MS can put guardrails against this. What happens when that fails (and we've seen it fail)? Who'll be held accountable? Does an LLM take the hippocratic oath? Are we actually abandoning all standards in favour of Mark Zuckerberg making more billions of dollars?

comment 1y ago · link · parent

> "In HTTP+SSE mode, to achieve full duplex, the client sets up an SSE session to (e.g.) GET /sse for reads. The first read provides a URL where writes can be posted. The client then proceeds to use the given endpoint for writes, e.g., a request to POST /a-endpoint?session-id=1234. The server returns a 202 Accepted with no body, and the response to the request should be read from the pre-existing open SSE connection on /sse."

This just seems needlessly complicated. Performing writes on one endpoint and reading the response on another just seems so wrong to me. An alternative could be that the "client" generates a session id and the start of the chat and make http calls to the server passing that ID in a query string or header. Then, the response is sent back normally instead of just sending 202.

What benefit is SSE providing here? Let the client decide when a session starts/ends by generating IDs and let the server maintain that session internally.

comment 1y ago · link · parent

> The current administration will consider any action against billionaires as domestic terrorism as witnessed with Tesla's recent boycotts

Firebombing/damaging civilian cars and civilian buildings belonging to TESLA due to political ideologies is, by definition, terrorism. Regardless of which administration is in power, the law says you cannot do this so it is their job to stop it.

Don't call it a boycott when there's more to it than just not buying a car.

comment 1y ago · link · parent

ASP.NET is endangered?

116.

C# 14 updates in .NET 10 Preview 3 – Release Notes(github.com ↗)

1 points · by mrcsharp · 1y ago · discuss

comment 1y ago · link · parent

I'm curious if you have any links you can share on this topic. Thanks.

comment 1y ago · link · parent

I'd argue that UIs built in Visual Studio are a lot more performant and lightweight than Electron apps.
1234567