• 0 Posts
  • 219 Comments
Joined 2 years ago
cake
Cake day: June 10th, 2023

help-circle



  • I just love how Linux is awesome and outperforms windows in just about any metric, and every update is basically making it faster, better, more secure, and more featureful.

    I love how easy it has become to get it to run, even when confronting complicated problems

    Meanwhile in the microsoft camp, its always been shit, severe known security bugs don’t get fixed because marketing goes before everything, even if it means that the US government gets hacked (but don’t worry, we pwomise that the CEO wiw now cawe about secuwity!) and apparently M$ literally only cares about shoving security averse AI down everyone’s throat with a used plunger.

    Sure sure, the AI my install malware for you, but AI, man! It’s awesome even though you hate it, even though it’ll steal all your data and your first born back to Microsoft for processing. You MUST love it, resistance is futile!

    And still people keep going on about how windows really is the best

    Meanwhile, I try to type a document in Microsoft Word online, because unfortunately that’s is het we still use at work but it keeps randomly and quietly deleting text that I wrote 30 seconds prior. That high quality, of course, is all due to the AI vibe coding that is all the rage at Microsoft now.

    To anyone who still needs to hear it: switch to Linux now, get rid of Microsoft nonsense. Linux is awesome, we have cookies





  • I don’t blame a girl for doing a job that lands her food on the table. I blame the guy employing her because she’s the cheapest option

    Having said that, this design was so bad that she should not have been doing any of this. If you don’t know that SQL allows you to select multiple columns then by all means, do a tutorial, it’s not that hard.

    If you don’t even know what encryption is, that passwords need hashing and what not, then you should really question what you’re doing

    OPs question was about the worst code I’ve seen, that was the worst I’ve seen


  • A program that HR had built so that all employees could they their payment receipts online

    The username was the companies’ email address, the password was a government personal id code that you can lookup online, a don’t change, and you can’t update the password to something else.

    So I told the director of HR this was a bad idea. She told me I was overreacting until I showed her her own receipt, then she finally understood that this is a really fucking bad idea.

    Okay, so now she out me in charge of debugging that program.

    So I setup a meeting with the director of the company they hired, he came by with the developer: a 21 yo girl who I think hadn’t finished college yet. Great start! Apparently it was her idea to do the authentication like that so that explains a few things.

    So we dive in to the code.

    First of all, the “passwords” were stored in blank, no hashing, no encryption, nothing. That wasn’t the worst.

    For the authentication she made a single query to check if the user email existed. Of that was true, then step two was a second query to see if the password existed. If that were true, the email had been authenticated.

    So let’s say, hypothetically, that they had actual passwords that people could change… I could still login with the email from anyone, and then use MY OWN password to authenticate.

    This just blew my mind so hard that I don’t think I ever fully recovered, I still need treatment. The stupidity hurts









  • I’m sure they’ll come with disappointingly low standards which the day after will already be ignored, just like they did every other time before.

    The very fact that they’re not negotiating with the thought of our mere survival in our heads and go “oh fuck we need to cut CO2 down close to zero within 5 years” they’re actually negotiating how many millions (perhaps even billions) of people are okay to die from the consequences of climate change so that they and their top donors can stay rich enough.

    This should be a very simple negotiation. This should be “are we going down to 10% of CO2 output * in 5 years top or 15% in 6?” This should end with binding agreements, but this will end with a few suggestions that everyone will politely ignore before laughing their way back home

    Cynical take? I’m sure it is. I’m also sure that it’s what will happen

    Edit: and right the next article I read:

    One mundane procedural issue stands out, however: voting. Due to the concerted efforts of oil-producing countries like Saudi Arabia, participants in the United Nations Framework Convention on Climate Change, or UNFCCC—the treaty that kicked off the yearly COP negotiations—are unable to vote on contentious issues. Instead, they have to pursue consensus, giving every country a de facto veto power over proposals they don’t like. Environmental groups have called this a “poison pill” that has undermined climate progress for decades. Many are trying to stop it from sullying other international environmental agreements, like the UN plastics treaty.

    Ding ding ding