Skip Navigation
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)CA
cadekat @pawb.social
Posts 9
Comments 145
string.lower implementation
  • This looks like O(n), because you don't include constants when calculating Big-O. It's still ~26 times slower than the implementation without the inner loop.

    This looks like O(n^2) because of the sub.

    I was right the first time. sub is "substring" and not "substitute".

  • Mask of Human Rule

    4

    Anyone running Pathfinder Society (or other tabletop RPGs?)

    Hey Ottawa! Bit of a long shot, but does anyone here know of a Pathfinder Society playgroup in town? I'd love to find one to join. Thanks!

    5
    Flatpak haters seem to believe that if an app isn't on their distro's repos, it's the developers' fault.
  • Using your shared libraries is always a good thing, no? Like your distro's packages should always have the latest security fixes and such, while flatpaks require a separate upgrade path.

    Access to your entire filesystem, however, I agree with you on.

  • A bun has been spotted

    0
    Tractor Supply slashes its DEI and climate goals after a right- wing pressure campaign
  • White people are not better at doing anything than other races.

    I think this is doing a disservice to one of the goals of DEI. White people are more qualified for certain types of jobs because historically they've had better access to education and healthcare. Even if access has become more equal lately, there are still other barriers that take longer to remove (eg. being the first person in the family to go to university, not having wealthy parents, etc.)

    DEI can counterbalance this.

  • 40 Kilobyte Rule
  • Because the person creating the image didn't take the time to optimize the image. It's probably just a PNG or a JPEG, which is way overkill for representing a NES frame.

    Other commenters have mentioned that the NES has 56 colors and uses tiles to draw the frame. If you took the same approach (maybe embedding a GIF tile in an SVG), you could cut down the size of the modern image significantly.

  • Still saying sweet things to each other after all these years...
  • At this rate, my entire comment history is just going to be mini freakouts about fucking cunts censoring "fucking cunt" on the internet. We're allowed to be dicks here. Talking about dicks is fine.

    Don't bend over backwards to make this space advertiser friendly. Be weird!

  • That is an act of cruelty towards the poor pokémon
  • Unpopular opinion: Gnome software is pretty solid, and if your computer usage patterns overlap with their design, it is quite a lovely DE. I'd rather have something that works well, even if it doesn't do everything under the sun.

  • Bewar(ul)e the Math Magician

    12
    Prusa Research @lemmy.ml cadekat @pawb.social

    Mk3s+ fails part way through detailed prints

    Hey !prusa, maybe you can help me. I have a self-assembled Mk3s+ that I put together about a year ago, but never really used because of the following problem.

    If I print on draft quality, it makes it through most prints. I've printed a dozen cubes, several brackets, and some other odds and ends.

    If I try to print on higher detail settings, however, it behaves very strangely. Most often it'll just hang, and keep oozing out more plastic. Once in a while, the steppers will keep turning and ram the bed or print head against the ends of their tracks.

    I've tried updating and downgrading the firmware, different SD cards, etc. to no avail. Support hasn't been much help either.

    Any ideas?

    0

    2 dead, 6 injured in shooting at Ottawa wedding reception

    Ottawa police are investigating a Saturday night shooting at a wedding reception that left two Toronto men dead and injured six others.

    2

    2 dead, 6 injured in shooting at Ottawa wedding reception

    Ottawa police are investigating a Saturday night shooting at a wedding reception that left two Toronto men dead and injured six others.

    8

    Education minister believes “parents must be fully involved” if their child chooses to use a different pronoun at school

    www.cp24.com 'Parents must be fully involved' in student's decision to change pronouns, Ontario education minister says

    Ontario’s education minister said he believes “parents must be fully involved” if their child chooses to use a different pronoun at school.

    'Parents must be fully involved' in student's decision to change pronouns, Ontario education minister says

    Ontario’s education minister said he believes “parents must be fully involved” if their child chooses to use a different pronoun at school.

    The comments were made at a news conference on Monday morning, where Stephen Lecce was outlining the changes students and parents can expect at Ontario schools come September.

    They also come as Saskatchewan adopts a new gender and pronoun policy, joining New Brunswick in legislating parental consent for students under the age of 16 who want to change their given names and/or pronouns at school.

    “I think we understand though that parents must be fully involved and fully aware of what's happening in the life of their children,” Lecce said.

    “I mean, often there are health implications, and I think we have to respect the rights of parents and recognize that these can be life-changing decisions, and I think parents want to be involved so that they can support their kids. And I think that's a really important principle that we must uphold.

    Lecce prefaced this by saying that schools should be safe for all children. He noted that teachers and school boards take home environments into account “where there are exceptional circumstances” or “situations of potential harm to the child.”

    “Educators are well versed on exactly what to do and who to turn to if they believe that child may be harmed for whatever reason, or whatever circumstance,” he said.

    “But as I say, as an overarching value system, I really do believe that parents need to be fully aware, fully engaged. And school boards need to be transparent with parents. I mean, they are the legal guardians. They love their kids. They want to be aware of what's happening in the life of their children in their schools.”

    The minister would not say if this were something his government would legislate, saying only that this was the “province’s position on the matter.”

    A new poll by Angus Reid released Monday, which surveyed 3,016 Canadian adults online, suggests that about 43 per cent of Canadians believe parents should both be informed and give consent if a child wants to change how they are identified within a school setting.

    In Ontario, 43 per cent of survey respondents said parents must both be informed and give consent of an identity change, while 34 per cent said parents should simply be informed.

    About 16 per cent of respondents said it should solely be up to the child.

    The Toronto District School Board currently has a policy that protects the privacy of transgender and gender non-conforming students, recognizing that some children may not be open about their identity at home.

    It notes that a school “should never disclose a student’s gender non-conformity or transgender status to the student’s parent(s)/guardian(s)/caregiver(s) without the student’s explicit prior consent.”

    “This is true regardless of the age of the student.”

    The policy says that school staff should consult the student as to how to identify them when communicating with their guardian.

    School boards in Saskatchewan have asked the province to pause its gender and pronoun policy in order to allow for a “complete review and report” prior to implementation, arguing it could have safety risks and could violate charter rights.

    As of last week, the Saskatchewan government has not backtracked on its position.

    3
    Rabbits @lemmy.world cadekat @pawb.social

    Eight years old and still cute as a button!

    1