MajorHavoc

joined 8 months ago
[–] [email protected] 2 points 1 week ago

C# is only good as a scripting language in my usecase, and sometimes you want "hard-code" new features, not script them.

My recent experience with C# suggests you might have a much better time with it, than you think.

C#'s compile phases are nuanced and achieve surprisingly quick results, now.

If it's been awhile since you used C#, you could be happily surprised.

[–] [email protected] 3 points 1 week ago* (last edited 1 week ago)

Well said.

Here I am trying to wind people up and you're responding with thoughtful nuanced consideration.

You make some great points.

I'll add - for folks reading along - I do think a class is still almost always an anti-pattern, even with all the OOP class function and factory pattern stuff removed.

I also feel (as you referenced):

  • Functions being forced to reside inside objects is just stupid.
  • Factory patterns are horrible, because they mix config into program code, maximizing uncertainty when debugging

And also:

  • Inheritance is almost always a worse idea than an interface.
  • classes tend to have additional fancy tooling to make it easier to carry state data around - which is usually a bad idea

State data is a necessary evil in most programs.

I've found that most advanced class object implementations treat program state data more like a pet than a threat.

Sorry for the long response - I know you don't need it - you know what kind of tool you're looking for.

I figure they extra detail above might provide food for thought for folks reading along who are surprised there's even contrasting opinions on classes.

(And I feel a little bad for not really posting anything very useful earlier in the thread.)

[–] [email protected] 2 points 1 week ago (3 children)

It amuses me that someone downvoted classes suck.

It's an objectively true fact.

[–] [email protected] 7 points 1 week ago* (last edited 1 week ago) (1 children)

Today I learned GoLang has no class.

Neat! Thanks. Sincerely.

I've been coding casually in GoLang for years without noticing. (I don't use classes, because classes suck.)

Apparently GoLang does at least have interfaces, which are like classes that don't suck. That's probably why I didn't notice.

https://www.geeksforgeeks.org/class-and-object-in-golang/#

[–] [email protected] 3 points 1 week ago* (last edited 1 week ago)

Yes!

It think it's actually why I'm a Linux user, now.

(I like to claim it's beside I'm very good at software and I understand sustainability principles.)

But...also...Windows took away my pretty desktop.

My carefully tuned, color coordinated, work of art, desktop environment just went away during a Windows upgrade.

And my journey to find a better OS began.

[–] [email protected] 1 points 2 weeks ago

Privado CLI will produce a list of data exfilration points in the code.

If the JSON output file points out a bunch of endpoints you don't recognize from the README, then I wouldn't trust the project.

Privado likely won't catch a malicious binary file, but your local PC antivirus likely will.

[–] [email protected] 1 points 2 weeks ago* (last edited 2 weeks ago) (2 children)
  • The largest e-commerce platform in latin america and the most used in my country requires FR to use it.

I minimize my use of the largest eCommerce platform in my country. It's a pain, but it can be done, and I feel good about my money going to organizations that better match my values.

  • The bank is now pressing me to use their app with FR as a 2fa when using homebanking from its website, something that wasn't necessary up to some weeks ago.

Sounds like a great opportunity to check into joining a credit union. All banks are predatory. There's lots of other great reasons to minimize your exposure to banks.

  • The telecoms demands FR from now on if you want a new SIM card in case you lost your phone or it's been stolen.
  • The government is in the same direction as it's moving to digitalizing many burocratic procedures and also requires FR.

I imagine you may be stuck with these. Sometimes we can't win them all.

I wouldn't take that as a reason to give up. Having your face on file in fewer places is very lively to save you future headaches.

Ideally this will be less of a concern in the future, when the vast majority of organizations no longer have utter shit for Cybersecurity.

But that day is not today.

[–] [email protected] 0 points 3 weeks ago* (last edited 2 weeks ago) (2 children)

Sorry to stray from the topic, but not sorry enough but to ask:

Anyone around here have evidence that WhatsApp actually does E2E?

I'm unwilling to accept Meta's public claims, which could easily result in a tiny slap-on-wrist fine someday if Meta is lying. I consider Meta's history of honesty about their security to be dubious.

With a closed source app, I figure we can see it's encrypted as it leaves the device...

But I, personally, wouldn't bet $25.00 that Meta doesn't decrypt, sniff, data mine and then re-encrypt, at the server side.

I'll admit, I am known to be a bit on the paranoid side.

Are we just repeating Meta's claim? Or is there a reason I should I be giving Meta more credit?

This is a sincere question - Meta produces some fantastic open source products, so I do try to only dunk on them the correct amount...

[–] [email protected] 1 points 3 weeks ago

It's interesting.

I imagine this isn't even theoretical, because a set of AI remastered Star Wars prequels is probably going to happen, and Disney is definitely going to claim to own it and to to suppress it.

[–] [email protected] 1 points 3 weeks ago

I thought I would be better at this game than I am.

[–] [email protected] 1 points 3 weeks ago (1 children)

I just threw up in my mouth a little. Do we have content warnings here? We should get content warnings here. It's been three blessed years since I thought about the pile of crap that is LINQ. Here's to three more!

[–] [email protected] 1 points 3 weeks ago

Would have been funnier if their date was surreally totally fine with it.

view more: next ›