• 0 Posts
  • 56 Comments
Joined 1 year ago
cake
Cake day: July 12th, 2023

help-circle

  • Truck_kun@beehaw.orgtoProgrammer Humor@lemmy.mlWorst is UTC vs GMT
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    6 days ago

    OMG, I’m dealing with a developer right now that is dealing with patient collected samples in several timezones, allowing the patients to either enter the time they collected, or use current time, and storing it in UTC time.

    We do not receive any timezone data, patient collection data is showing different days than the patient could write on their samples depending on the time of day, and the developer said ‘just subtract X hours’ (our timezone)… for which not all patients would live in.

    I suppose I could, if they’d provide the patient’s timezone, but they don’t even collect that. Can you just admit your solution is bad? It’s fine to store a timestamp in UTC, but not user provided data… don’t expect average users to calculate their time (and date) in UTC please.








  • Truck_kun@beehaw.orgtoFirefox@lemmy.mlTips about NoScript
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 month ago

    I honestly only know how to ‘block all javascript’ on uBlock. Selective blocking is less intuitive if available.

    NoScript makes it easy, as does uMatrix, to selectively block/allow third party domains. uBlock is great, but I’ve always found fine-tuned features on it less intuitive.


  • The unwelcoming post title aside (I assume in jest)…

    A single takeaway of my personal opinion from this series of polls is that Gen Z is comfortable with themselves, don’t feel the need to hide, and the older generations are following suit and/or the long fought battle for social change from the older generations have finally yielded an environment that people can just be themselves.

    I’m 100% straight millennial (and thus didn’t have to deal with this struggle personally), but I can for sure say the general culture today, I would feel comfortable being out in, but in 2012… I would not have been. Still dealing with people I thought were accepting people falling for the the Prop 8 BS from… what was that, 2008?

    Proud for having a generally more accepting and welcoming culture/society.




  • I keep hearing ‘sanctions arent working’.

    And every now and then I see things about them working; it’s almost like sanctions are a long game that don’t immediately show all the results in want within 3 months, and you need to keep them up long term. That said, of course when some don’t comply with those sanctions, it will permanently alter the landscape as the sanctioned try to work around them. Russia’s movement toward the Yuan, and reliance on China and N. Korea are not going to be undone anytime soon, if ever.

    Pre-Ukrainian invasion, 1 USD was ~78 Russian Rubles. Now, that 1 USD is valued at 92 Rubles. After the start of the war, the Ruble lost a lot of value immediately, but appears to had gained value for a few months, and has steadily decreased in value as the sanctions drag on, and seem to have semi-stablized at a much lower value than going into the war. As a generalization, it appears looking back to 2003 (max on the chart i’m looking at), as Putin’s leadership drags on, the Ruble has steadily decreased in value (in 2003, it only took about 30 Ruble to value 1 USD). Looking at other major economic powers in the world is like looking at an inverse chart, where their currencies have increased in value against the USD consistently.



  • I’m curious how an oil refinery in Russia affects global oil prices in any significant way? I would imagine it would lower prices globally.

    Don’t refineries turn oil into fuel, like gasoline? To the best of my knowledge countries don’t typically export gasoline, do they? I thought they exported crude.

    Wouldn’t being unable to refine crude, mean they need to export more crude, since they can’t indefinitely store it, thus bring down oil prices? In the short-term, I wouldn’t be surprised at an increase in global price due to news media/speculation, but long term effect, I could only imagine global crude price going down.

    On the other hand, I would of course think local gas/fuel prices would skyrocket in Russia due to not being able to refine it.

    I’m sure I’m very much wrong in my logic; if someone on the internet wouldn’t mind correcting me with a proper explanation. Of course this is all based on refinery attacks, I didn’t read this specific article, but I am not aware of oil rigs/oil extraction sites being attacked (that would clearly be a separate situation if it is happening).


  • I do use passphrases, but I combine with randomness.

    I memorize one random 8 character string to use with something more memorable.

    Then when I need more security, or I feel that random 8 character string is no longer safe (password leak/hacked), I memorize a new 8 character string.

    Then I combine them.

    Then I memorize a new 8 character string and mix it in.

    It’s a process built up over years that ingrains into memory. Sometimes I forget the order, or if i added spaces, or did no spaces. Luckily, as long as I am sure of the discrete segments, I can remix them to recreate until it works (in a reasonable time).

    My last addition was when I made the move from Lastpass to another password manager, after their endless bad news.





  • Wasn’t there a video a while back of a presentation that OOP was created as a joke or something, and the person was surprised people were taking it seriously. Might have been advertised as the creator or OOP.

    I took the video as a joke anyways, not a serious thing, but who knows. I don’t even remember if it was OOP, or some other paradigm, or language, or who knows what else.

    If anyone could find/link to it, I’d love to watch it again, but I’m having no luck; so my memory may be faulty.