Skip Navigation

Posts
6
Comments
42
Joined
2 yr. ago

  • After using AI chat stuff like this and chatgpt, ive come to the conclusion that building prompts is akin to building search queries for search engines. Wherein using the right terms leads to better results.

  • Ok, now I'm confused, the article you linked says:

    1. Federal government was justified in using the Emergencies Act

    But in this (OP) article, it says:

    Federal Court Judge Richard Mosley ruled it was unreasonable for the federal government to use the Emergencies Act to quell the protests.

    And then this article says:

    Ottawa has filed to appeal a Federal Court decision that found its invocation of the Emergencies Act in response to the 2022 Freedom Convoy protests was unjustified.

    Anyone out there want to loop me in?

  • 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

  • Unpopular opinion? More like controversial opinion amiright? At the time of my comment, almost as many people agree with you (downvotes), as disagree with you (upvotes).

    All I can say on the subject is that if you choose to speak about your views, you should do it with respect to others. You wont change anyones view point by shitting on their beliefs, athiest or otherwise.

  •  
        
    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.

  • I do not think that this is an existing feature in neovim, however this seems to work :%s/\(.*\)\zs\s*$/\=repeat(' ', 15 - len(submatch(1)))

    Change 15 to the column desired. You could probably create a function where you pass the column number you want so that you dont have to type this string all the time.

  • 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.

  • I wouldnt be so quick to blame all of this on water bottles when a high percentage of all the food we consume is packaged in plastic and also the left overs sitting in the fridge.

  • He'll probably get better service if he calls his credit card company (hopefully he ordered using a credit card) and having them reverse the charges. He'll maybe have to wait 30 days, but since he has a police report and amazon isn't cooperating, I think the cc company will go ahead and do it.

    Sure, he wont have a watch but at least he wont be out $2k

  • TIL

    Jump
  • 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.

  • Why??

    Jump
  • I would think it was pretty obvious... THEY'RE JERKS.

    But what can you expect from a species that's always looking down on others?

    Thank you, i will see myself out.

  • It's the computer's job up to the point where you get on Picard's "shit list". That's when the person being punished is responsible for beaming the poop out.

  • 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).

  • Good one, let me try!

    Knock knock

    Who's there?

    Race Condition

  • If you immediately know the candlelight is fire, the meal was cooked a long time ago.

    Wait a minute, that's not star trek!

  • Huh, TIL... I knew you couldn't be blamed for injuring someone while trying to help (for example, crack a rib while attempting CPR), but I did not know you absolutely had to help. I also learned that if you get injured helping someone, you can take that person to court for compensation.

  • He wont have to:

    1. On July 27, 2022, the Panel released decisions recommending no further action be taken regarding Dr. Peterson’s tweet in which it was alleged he encouraged people to commit suicide (“you’re free to leave at any point”), finding that, while “provocative and inflammatory” it “could be interpreted as innuendo, a joke, or parody”, and did not “rise to the level of disgraceful, dishonourable, or unprofessional conduct.” Additionally, a tweet critical of the involvement of the Children’s Aid Society in removing children from the Ottawa trucker protest was also found to require no further action.

    The panel here is the Inquiries, Complaints and Reports Committee (“ICRC”) of the College of Psychologists of Ontario

    But it sure doesn't sound like he's off the hook for all the other shit he said.