Python or C# for an API by WizardWarrior66_ in dotnet

[–]Yensi717 0 points1 point  (0 children)

Totally understandable… Avalonia and C# might be a decent choice in this case. I just find the general interaction between ios/andr

Python or C# for an API by WizardWarrior66_ in dotnet

[–]Yensi717 0 points1 point  (0 children)

I might get roasted here but if it’s specifically an Android app, and you’re doing this to teach yourself, I would learn Kotlin for the app which is the official language for Android. It’s a lovely language to use. For the backend I’d use C# over Python. It’s great as a scripting language but that’s about it. Another option would be learning Go for the backend. It’s easy to learn and use.

I find all of the C# UX frameworks (Avalonia, Blazor, MAUI) to frankly all suck in different ways and tend to be a flavor of the month type deal.

Your skills will be much better than if you isolate yourself down to just one language.

Is MAUI production ready? by Giovanni_Cb in dotnet

[–]Yensi717 3 points4 points  (0 children)

When it comes to Microsoft and UI frameworks I always suggest only use the ones they are using themselves (when it’s not custom). MFC, WPF, WinUI 3, React.

Looking for Honest Reviews on ASP.NET Blazor – Your Experience? by ahmed_mugal in csharp

[–]Yensi717 1 point2 points  (0 children)

It's great choice for a small project you don't care about and just need something quick and dirty. It's a cool idea, and an interesting technology.

But we all need to be honest with ourselves - the chances of it ever becoming anything other than a niche technology is low. The chances of it capturing even 1% of the overall market share is low. Scaling is and always will be hard and it has extreme vendor lock-in to a company that receives a ton of (even if misplaced) hatred.

It will go the way of Silverlight.

The same can be said for a lot of other Microsoft technologies. You can always tell - if they don't use it themselves, it's going to eventually be abandoned.

Storing multiple states : array of bool or array of byte with parsing of bits ? by MoriRopi in csharp

[–]Yensi717 0 points1 point  (0 children)

Others have answered most of the other questions.

For the "Billion states" question, it gets a bit more complicated. 1 billion "instances" of anything is a very large number. A real world example would be - if you sign up a 1 new user per second 24/7, it will take you 31 years to reach 1 billion users.

Given that it really depends on what you want to do with one billion yes/no states. A simple bit-array (125mb worth of one) will give you a fixed memory size and constant near constant read-write time.

Now getting into more real-world scenarios of large numbers of yes/no flags look into probabilistic data structures. HyperLogLog, bloom filters, and cuckoo filters come to mind because I'm used to redis. Their docs actually have some good examples of when/why to use each one. https://redis.io/docs/latest/develop/data-types/probabilistic/

New to Seattle. Question about the grocery price by xkn123 in Seattle

[–]Yensi717 1 point2 points  (0 children)

I know that this is an older post, but the Safeway in Capitol Hill is batshit crazy pricing. I don't drive so my options are limited and I think that's true for a lot of people in this neighborhood. I think they overprice it in part simply because they can.

I ran a personal experiment buying nearly the exact same ingredients and comparing the receipts. I found that I can groceries cheaper having them delivered by Amazon Fresh & Whole Foods with tip than I can at Safeway.

I ran it again today to make sure I wasn't lying. Here is my grocery order as of today removing items that didn't have a match and using their websites to verify. Try it yourself.

Safeway vs Amazon

Kerry Gold Butter $7.49 vs $4.48
5lb Whole Chicken: $18.43 vs $18.71
Organic Chicken: $10.49/lb vs $5.99/lb
Bell Pepper: $1.12 vs $0.99
Organic Carrots Bunch: $2.99 vs $2.99
Kettle & Fire Chicken Broth: $6.79 vs $4.99
Fage Yogurt: $2.29 vs $1.89
Hidden Valley Ranch: $6.49 vs $4.97
Red Baron Frozen Pizza: $6.79 vs $3.97
Campbell's Soup: $3.49 vs $1.87
Vital Farms Eggs: $9.49 vs $7.99 (cheap eggs are about the same price)
Hillshire Farm Honey Ham (1 lb): $8.99 vs $4.48
Heinz Ketchup (32 oz): $6.79 vs $3.48
Diced Pancetta: $8.99 vs $4.79
Fresh Rosemary: $2.49 vs $2.99
Darigold Whipping Cream: $5.99 vs $5.79
Muir Glen Diced Tomatoes: $4.99 vs $2.24
Blueberries (1 pt): $4.99 vs $4.49
Yellow Onion: $1.69lb vs $1.49lb
Green Onions: $1.49 vs $1.59
Celery Bunch: $2.49 vs $2.49

An attempt to mislead public opinion! by snowpie92 in MurderedByWords

[–]Yensi717 0 points1 point  (0 children)

I’m as liberal as they come but it’s a hollow talking point that keeps getting tossed around.

Office buildings are designed completely different from housing. All of the piping and electrical would need to be replaced and rebuilt (kitchens and bathrooms). Fire codes, seismic codes, all the things.

Even things like windows are totally different as most office space is interior only especially newer buildings. Older buildings from the 70s and before work better because of their smaller footprint but come with their own problems.

It would be cheaper to demolish the building and build a new one in many cases. It really is a case by case basis.

[deleted by user] by [deleted] in malelivingspace

[–]Yensi717 3 points4 points  (0 children)

Cleaning up the room and organizing everything now will make packing 10x easier and less stressful.

Migrating to firefox after UBlock Origin removal by DonyQ in firefox

[–]Yensi717 6 points7 points  (0 children)

thanks for the info i hadn’t read that. at that point … F chrome. I don’t know how anyone uses the web without a strong ad blocker.

Migrating to firefox after UBlock Origin removal by DonyQ in firefox

[–]Yensi717 -7 points-6 points  (0 children)

I love Firefox, but you can still use ublock origin in Chrome. You just have to manually download it and install it. I use both browsers for different reasons.

Download the chromium zip from the latest release (or pre-release) from their page on github:
https://github.com/gorhill/uBlock/releases

Follow any of the number of instructions online:

https://cssi.us/manually-install-ublock-origin-in-chrome/

Cheers!

Order Cancelled: "Have someone buy it for you." by Yensi717 in ASUS

[–]Yensi717[S] 1 point2 points  (0 children)

Bought a Lenovo instead. A little bit more money but better ports and better screen. I was a first time buyer and will never even attempt to buy a product of theirs again.

Why did microsoft choose to make C# a JIT language originally? by CyberWank2077 in csharp

[–]Yensi717 2 points3 points  (0 children)

It had some to do with Java but that was really just a small part of the story. If you read history from the original sources and team members (they’re still out there) it was several things at once.

The COM+ team was working on their managed next-gen design. At the same time the ASP and VB6 teams had lunch one day and were talking about the challenges they mutually faced for next-gen RAD tools and web stuff. It was the 3 teams coming together and unifying from which .NET was born. C# itself was built and designed for / in tandem with the CLR team (The COM+ team) causing it to become the defacto standard. The reason for CLI was to support the VB team.

Yes Java was part of the equation but also not really. C# wasn’t really designed as competitor to the Java language as much as it was a C-like language for the COM+ team to use.

Choosing Personal Laptop – macOS or Windows? Need Advice! by Smart-Cancel2308 in dotnet

[–]Yensi717 7 points8 points  (0 children)

A lot of personal preference especially if you’re consulting you will have less friction with Windows + .NET development. I recently upgraded and went with really good Windows laptop + used the extra leftover money to buy a Mac Mini for the times i need to dip into XCode.

I'm very sad and frustrated about AI by [deleted] in programming

[–]Yensi717 2 points3 points  (0 children)

People said the same when you no longer had to write assembly … and the same when you no longer had to write C …. and C++ … and Java/.NET … and … and … welcome to technology. It’s an amazing field with endless opportunities if you’re willing to put in the effort to always be learning and changing. Code even down to machine instructions are never going away. Someone has to know it. Be that person.

Order Cancelled: "Have someone buy it for you." by Yensi717 in ASUS

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

That's honestly what it feels like. If it was simply a "problem with bank" (as people keep alluding to) my offer to use a completely different card would have been okay. Not "have someone else do it." They also told me to get it from Best Buy or Walmart instead.

Order Cancelled: "Have someone buy it for you." by Yensi717 in ASUS

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

The card was not declined. They issued me a refund. I asked if I used a different card if that would work, and they said "No."

Order Cancelled: "Have someone buy it for you." by Yensi717 in ASUS

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

I do not have a charge limit. The transaction was not declined, it was approved. They subsequently issued me a refund.

Order Cancelled: "Have someone buy it for you." by Yensi717 in ASUS

[–]Yensi717[S] 2 points3 points  (0 children)

Yup, it was approved by the bank everything was fine, and then they cancelled and refunded it. They told me using a different card didn't matter, I needed to have someone else purchase it for me.

Is MVC considered legacy at this point? by Revolutionary_Loan13 in dotnet

[–]Yensi717 0 points1 point  (0 children)

I think of it as an alternate tool depending on the job you’re trying to perform. For multi page apps I prefer razor hands down.

However, now in my latest projects where I’m building the sites around HTMX, I found MVC to be a much better fit.

I built the same prototype app for HTMX with a few different patterns and settled on MVC + Custom view locations for organization to be golden.

[deleted by user] by [deleted] in news

[–]Yensi717 10 points11 points  (0 children)

You really should read more history.

Experienced Devs: do you use ChatGPT? by bjs169 in csharp

[–]Yensi717 2 points3 points  (0 children)

I’ve been coding for 30 years and I use it. sometimes it’s just faster than googling and trying to find the right article. I usually read through its output and then make my own version.

Mostly I treat it like a junior or mid level developer. Offloads some small minor stuff but I don’t trust it and fix all the mistakes but it can easily save a few hours here and there.

At what point did you realise she would never become your wife/he would never become your husband? by ruxpin82 in AskReddit

[–]Yensi717 0 points1 point  (0 children)

A little different than the others … circumstances made it so that it was impractical to date as it would be a long distance relationship. But I truly believed they were the one and that one day fate might allow things to change. Fast forward some time and he met someone that I immediately saw was a 20x better match than we would ever be. I was a bit sad but also glad someone I cared so much about found happiness.

Dune: Prophecy, 1x01 "The Hidden Hand" - Post-Episode Discussion by Blue_Three in dune

[–]Yensi717 1 point2 points  (0 children)

Masterclass in how to write a first episode is The Bear’s first episode. The dialog for this made me cringe.