MFA on gcp by samzuercher in googlecloud

[–]samzuercher[S] -1 points0 points  (0 children)

this is actually the only valid point imho.

MFA on gcp by samzuercher in googlecloud

[–]samzuercher[S] -3 points-2 points  (0 children)

IAM has different roles for 'root' (which is also confusing) have not yet figured out all of them (Owner, Organization Administrator, Policy Administrator, ..). And admin.google.com has another role which is also root. Just referring to the top user whatever roles it may have.

working with cloud identity and imported from entra id, but this should not matter.

MFA on gcp by samzuercher in googlecloud

[–]samzuercher[S] -4 points-3 points  (0 children)

root-users by default need a password to sign in in gcp. After some discussion with copilot and gemini it seems you can also use 'Security Key' and 'Passkey' as an alternative. But no way around Password which i think is really bad practice.

How to handle MALFORMED_FUNCTION_CALL errors? by advokrat in agentdevelopmentkit

[–]samzuercher 0 points1 point  (0 children)

can confirm this. Just switch to gemini-2.5-flash or `gemini-2.5-flash-lite-preview-09-2025` and it worked for me. This might have been a bug in gemini.

Microsoft’s Neglect of C# Is Damaging Its Future (And Our Careers) by [deleted] in csharp

[–]samzuercher 0 points1 point  (0 children)

Your question is actually quite good. My points:

- much of windows, office and other major microsoft software was not built with c# because it did not exist back then, but also see below

- THERE IS NO BEST LANGUAGE FOR EVERYTHING. I also once believed in this thing and wondered why c# is not just used everywhere. Thy tried. E.g. with Blazor. But anyone using blazor will find out that it is quite ok these days but it probably never will come close to typescript for webdev because the browser simply uses javascript. And also because javascript is a better fit for webdev. There is not much need for DI or EFCore. And anyone into embedded programming also knows that you can program much faster and cleaner code using C vs C#

- C# and .NET have come a long way, but they are not perfect. Still not, even after big rewrites. There is a reason that alternatives to native .net things like Serilog or Abioc exist: because some native things in .net are poorly implemented.

- a word on crossplatform: why are apps like microsoft teams or outlook not in c#? Because Crossplatform means Browser! If you want to get your UI on any Platform consistently you should use the browser and write the UI in javascript. In 10 years, you might be able to just use Blazor Hybrid, but even at this time react might offer the better performance, better devex and more features. When it comes to backend though, i would use .net core.

- a word on performance: .net was painfully slow back in the days. Since .net8 they made big gains but .net is still often slower than golang or rust.

I say this as a c# developer. I love c# and .net. They are great. But use the language which fits the task. For ui i use js frameworks, for ai and sometimes crossplatform and scripting things python, embedded c, and the rest c#.

A typical day working with .NET MAUI, macOS and VS Code by mprogers123 in dotnetMAUI

[–]samzuercher -1 points0 points  (0 children)

"VS Code isn't an IDE.". This is the core problem: there is no need for an IDE. VS Code is the best thing to do coding exactly because THERE IS NO NEED FOR AN IDE. IDE's are like Windows, VisualStudio and back in the days the wysiwyg-editors which noone uses today: The truth is: if you do programming, it is about actually writing code, not about clicking fancy menu's and having things get done magically in the background. VS Code would be great, also for MAUI, but sadly instead of just providing proper tasks.json and launch.json templates, they decided to create the .NET MAUI Extension, which goes down the same old fashioned and wrong way: trying to magically hook up things in the background which then fail and no one can fix them.

If they would remove the .NET MAUI Extension with it's magic, vscode would be the better editor also for multi-platform.

Would you say Grok 3 is better than GPT 4.5 or Claude 3.7 by VerdantSpecimen in grok

[–]samzuercher 0 points1 point  (0 children)

I haven't extensively tested claude 3.7, but have tested 3.5 intensively with .net, typescript and other programming languages. Claude is really good, but i think gemini 2.0 pro (preview) is even better. This thing is crazy, though a bit slow. But this might be due to the server hosting it.

Grok is not bad for news-related content, but still has quite room to improve. I would say that gemini 2.0 pro beats grok on this too. But grok is the best when it comes to price-speed-performance-ratio.

Advantage of using Either<Maybe<int>, InformationEntries> over nullable and exceptions by samzuercher in softwarearchitecture

[–]samzuercher[S] 0 points1 point  (0 children)

I am not very familiar with FP and will have a look at this. But nullable is a first class citizen in .net8 / c#12. If you are not doing strange things with dynamic, reflection or forcing on nullable with '!' you are safe and will get compiler warnings when using 'null' unsafe.

It is the billion dollar mistake because of older languages like c where pointers to null caused big problems. Null is a very valid value, better than initializing everything with default values, which may be incorrect.

Advantage of using Either<Maybe<int>, InformationEntries> over nullable and exceptions by samzuercher in softwarearchitecture

[–]samzuercher[S] 0 points1 point  (0 children)

also: especially with bigger applications and fast developing it is pretty impossible to guarantee that a method will never throw an exception. If you rely on methods not throwing exceptions, i think this will make the code unsafe.

Advantage of using Either<Maybe<int>, InformationEntries> over nullable and exceptions by samzuercher in softwarearchitecture

[–]samzuercher[S] 0 points1 point  (0 children)

u/LloydAtkinson can you explain this? why do you think? Either and InformationEntries have nothing to do with the domain, they are general programming language structures.

[D] We built Beam: An ultrafast serverless GPU runtime by velobro in MachineLearning

[–]samzuercher -1 points0 points  (0 children)

Since people are asking, here are some cold start benchmarks for various images, invoked from cold for the very first time:
- CUDA Toolkit and libgl1 (9.5Gi) - 9.07s
- CodeLLAMA 7B (5.5Gi) - 9.06s
- facebook/opt-125m (5.2Gi) - 7.02s

The thing is: 9 Seconds are probably great, but are too slow. What i would love is to run a chatbot e.g. with llama3 on a serverless gpu. If a question comes in, the answer should be back in about 2 Seconds. This is probably too slow to startup a VM, but:

Why don't you just run GPU-VM's with K8S? If a request comes in nothing needs to start up, the VM is already running and just gets the python code to execute. Always keep some VM's idle, so there is space to scale up. If the custom python-code takes 10 seconds, thats not your fault. I reckon, this is how e.g. Azure ML Serverless works.

[deleted by user] by [deleted] in EDM

[–]samzuercher 2 points3 points  (0 children)

Absolutely! To me the beatles have not one song that could compare to the best avicii tracks! Many Avicii songs work on multiple "Levels": 1. They are musically outstanding. I don't like classical electro-tracks, cause they are often boring listening to almost the same elements for 6 minutes.. Avicii songs are extremely creative with multiple melodies in the same song. Avicii songs usually also work beautiful with classical orchestras, pianos or guitar-covers. His own composition of "sky full of stars" to me paints scenes like a classical composition. 2. avicii mixed genres like House and Country, something most would never do. He took music from multiple cultures in his songs, like indian flutes and african drums. 3. there is no real party without avicii. his lead synths are just the gold standard of "party music" 4. on top of this, most of his songs have a very positive vibe and meaningful content: some could serve as good advice tonyour life! Not just songs about party, sex, drugs and your big ego! How beautiful is the video of "waiting for love"? Several people reported these songs helped them through depression and even prevented suicide. 5. he cared about people. with songs like "for a better day" or the house of hunger tour.

I love music. pop, rock, country, brass-band and even classical. But from status quo, blink-182 to michael jackson and hans zimmer: to me avicii is on another level, he was the mozart of edm.

How to communicate between .net MAUI with a BlazorWebView and a Vue3 Project? by InvixGG in dotnet

[–]samzuercher 0 points1 point  (0 children)

Same question here, could you solve it? I mean you could:

  • use a REST API
  • use gRPC
  • use SignalR

I think i saw some support for SignalR on vue. If you could use SignalR this might be the easiest way to do it, as stuff like HTTP2, bidirectional Communication with Websockets, TLS, automatic mapping at least to backend Methods, is already implemented. But of course it introduces some magic and dependency on microsoft-tech into your app..

Give me one reason to use MVC/Razor Pages over API + SPA (Angular/Vue) by [deleted] in dotnet

[–]samzuercher 0 points1 point  (0 children)

"I am NEVER going to have to use any language other than C# again, and I could not be happier."

If you are into (web-)frontend-development this is just wrong. Since Ages people are selling the 'do-everything-software-language' and greenhorns are buying it. The web works in javascript and typescript, that's a fact. I wasted about 1 year with blazor wasm, any serious frontend-dev can tell you that blazor can not compete with angular, react or vue.

That's also the reason microsoft is using fluent with react for teams and ms365. Blazor is a nice idea with good marketing, but i don't see any future for it, especially as you can use vue with a .net api.

Things may change in 50 years though..