• 2 Posts
  • 24 Comments
Joined 1 year ago
cake
Cake day: July 18th, 2023

help-circle








  • mrbn@lemmy.catoCanada@lemmy.caCRA now allows 2FA apps
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    4 months ago

    why is it 30 seconds instead of 60 seconds? I’m pretty sure every other TOTP I’ve seen is 60 seconds. My jaded take: the blind pursuit of “better security” even though… what does this even imply? Someone has 30 fewer seconds to read the code over your shoulder and log in on their device?

    30 seconds is the default for TOTP implementations.

    I’m curious to know what CRA does, but I’m away from my PC right now.

    Yes, you can stop getting SMS messages.

    edit: formatting


  • command! -range -nargs=1 PadColumns call PadColumns(<line1>, <line2>, <args>)
    
    function! PadColumns(start, end, columns)
        execute a:start.','.a:end.'s/\(.*\)\zs\s*$/\='.'repeat(" ", a:columns - len(submatch(1)))'
    endfunction
    

    Use by typing in Normal mode :PadColumns 20. This will add spaces after the line or selected lines to the column you specify (in this case, 20).

    You could probably improve this by getting the length of the longest line and so you dont need to specify the specific column to add spaces to (20), and instead just add say 5 spaces after longest line for all lines.



  • During a legislature hearing on Thursday, Antoine Bittar said he had been advocating for tougher drinking and driving legislation when the CAQ offered an opportunity for him and his partner, Élizabeth Rivera, to meet minister Geneviève Guilbault at an October 2023 fundraising cocktail.

    Bittar said he and Rivera each paid $100 — the maximum annual political donation — because he felt it was a chance to press their cause and keep it from stagnating. The couple said they were offered four minutes with the minister, two minutes per person.


  • I am commenting on this section of the article:

    “We and others have shown that these nanoplastics can be internalized into cells and we know that nanoplastics carry all kinds of chemical additives that could cause cell stress, DNA damage and change metabolism or cell function.”

    Somarelli said his own, yet-to-be-published work has found more than 100 “known cancer-causing chemicals in these plastics.”

    And also

    What’s disturbing, said University of Toronto evolutionary biologist Zoie Diana, is that “small particles can appear in different organs and may cross membranes that they aren’t meant to cross, such as the blood-brain barrier.”

    My point being that it’s unlikely that bottled water is the only source of these plastics.




  • mrbn@lemmy.catoLinux@lemmy.mlTIL
    link
    fedilink
    arrow-up
    28
    ·
    7 months ago

    Reminds me of the “Op” wars on IRC. All users would be given @ status and the point was to kick everyone before you got kicked. Writing scripts for this was my first “taste” at programming.





  • mrbn@lemmy.catoCanada@lemmy.caCanadian Podcasts?
    link
    fedilink
    arrow-up
    8
    ·
    8 months ago

    The Law Bytes Podcast where Michael Geist and guests talk about tech policy and laws. He covers stuff like the online news act, privacy, how badly the CRTC and government handle themselves in tech policy :D

    His blog is also worth the read if you are looking for a good breakdown of current bills that affect tech (and internet).