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/)CB
cbarrick @lemmy.world
Posts 10
Comments 565
In just a few years, half of all states passed bans on trans health care for kids
  • I'm frustrated at these kinds of articles because they don't make clear what we are actually talking about.

    I'm not trans, so I don't really understand what these kids are going through, or what kinds of treatments are being banned.

    Are we just banning the really invasive stuff, like hormonal treatment or sex change surgeries? Sure, that seems reasonable to keep away from minors. Like, I couldn't commit to whether or not I was a "music person" at that age; I can't imagine how difficult it must be to question your gender identity as a teenager. I totally get that there should be some safeguards against rash decisions.

    But are we banning things like supportive counseling? That's a whole different issue, and everyone should be entitled to positive, identity-affirming counseling.

    These articles always come up about gender affirming care being denied to minors, but it's never clear to me how reasonable or unreasonable these bills are. Shame on the AP for not providing more context here.

    Can someone here actually explain to me what this means?

  • Joe Biden To Sit Down With ABC News’ George Stephanopoulos For First Post-Debate TV Interview
  • I'm visiting with the fam for the 4th. My grandparents keep CNN on 24/7.

    CNN has been running "Biden should step down" as their main lead, all week. Every show has at least one segment on it.

    They're saying stuff like "70% of democrat voters think he is not fit" or something like that (dunno what their polling data and methodology are though.)

    I expect that these 24/7 news networks can apply a lot of pressure to drive a story like this.

    Edit: I may have misquoted those polls. Which I think shows how bad CNN's reporting is. They just said something very different came out of a Reuter's poll.

  • Drew DeVault on the biggest threats to FOSS and some proposed solutions
  • For Zulip, I've only used it on the web. Apparently they have iOS, Android, Desktop, and Terminal clients.

    For Matrix, there are many clients on all platforms, but none have ever stood out to me. Element is the official client, and it's... fine I guess.

  • Banks are crying foul over a PA proposal to cut credit card ‘swipe fees’
  • As someone with a credit card that benefits from points, these kinds of fees are what pay for my vacations...

    But this system raises the price for everyone, not just credit card users. The more fair thing, I guess, is to pass the fee along to the CC users.

  • What is your favorite though provoking movie?
  • is a pretty surreal. Considered one of the most influential films of all time. One of the earliest examples of post-modernism in film.

    Every scene in Ex Machina is basically a dialogue covering different arguments in the philosophy of AI. Plus a surreal dance scene.

    I was blown away by mother! when I first saw it. But looking back on it, the allegory wasn't exactly subtle.

    Once Upon a Time in Hollywood is a meta-modern masterpiece.

    Tropic Thunder, as a meta commentary on comedy, is actually really good. Aside from the great comedy itself.

  • Question: Does the build number always increment no matter the version or does the build number resets to 1 for every new version?
  • The meaning of version numbers can vary across projects.

    One common scheme is Semantic Versioning, which divides the version number into three parts: MAJOR.MINOR.PATCH*

    • MAJOR is incremented when there are backwards incompatible changes.
    • MINOR is incremented when new features are added in a backwards compatible way.
    • PATCH is incremented for smaller big fixes.
    • Each number is reset to zero when a higher level number is incremented.

    * It's a bit more complex than this, but this is the gist.

  • Linus Torvalds and Richard Stallman
  • However, Linus's kernel was more elaborate than GNU Hurd, so it was incorporated.

    Quite the opposite.

    GNU Hurd was a microkernel, using lots of cutting edge research, and necessitating a lot of additional complexity in userspace. This complexity also made it very difficult to get good performance.

    Linux, on the other hand, was just a bog standard Unix monolithic kernel. Once they got a libc working on it, most existing Unix userspace, including the GNU userspace, was easy to port.

    Linux won because it was simple, not elaborate.

  • Dioxus Labs + “High-level Rust
  • You talk about "non-absolutist," but this thread got started because the parent comment said "literally never."

    I am literally making the point that the absolutist take is bad, and that there are good reasons to call unwrap in prod code.

    smdh

  • Dioxus Labs + “High-level Rust
  • Fair. But unwrap versus expect isn't really the point. Sure one has a better error message printed to your backtrace. But IMO that's not what I'm looking for when I'm looking at a backtrace. I don't mind plain unwraps or assertions without messages.

    From my experience, when people say "don't unwrap in production code" they really mean "don't call panic! in production code." And that's a bad take.

    Annotating unreachable branches with a panic is the right thing to do; mucking up your interfaces to propagate errors that can't actually happen is the wrong thing to do.

  • Dioxus Labs + “High-level Rust
  • Unwrap should literally never appear in production code

    Unwrap comes up all the time in the standard library.

    For example, if you know you're popping from a non-empty vector, unwrap is totally the right too for the job. There are tons of circumstances where you know at higher levels that edge cases defended against at lower levels with Option cannot occur.

  • Black women say an Amtrak project threatens their Baltimore neighborhood’s homes — and children
  • This urban planning stuff is really important to get right. And continuing to shaft black communities is not how you do it right.

    That said, if it's just smoke ventilation in case of an accident, that is almost certainly never going to happen. It's unclear to me exactly what the concrete impact of this tunnel will be. How deep is the tunnel? Is it deep enough that noise will not be a problem? Will new tracks on either side of the tunnel cut off this neighborhood somehow? They mention the existing tunnel goes under an affluent white neighborhood; how does that tunnel compare, and what side effects do residents of that neighborhood experience?

    This stuff is really important, but I think the article does a really poor job articulating the concerns or providing comparisons.

  • [BUG] Sync Crashing after lemmy.world 0.19 update

    On my "subscribed" page, if I scroll down, the app crashes. Not sure of anything more than that. But it's definitely repeatable for me.

    Device information

    Sync version: v23.11.29-22:27 Sync flavor: googlePlay

    View type: Smaller cards

    Device: ASUS_AI2302 Model: asus ASUS_AI2302 Android: 14

    12
    General Programming Discussion @lemmy.ml cbarrick @lemmy.world
    cbarrick.dev Encoding tic-tac-toe in 15 bits

    I recently stumbled upon a blog post by Alejandra González (a.k.a @blyxyas) that seeks to compress a tic-tac-toe game state into as few bits as possible. She arrived at a solution in 18 bits. This got me thinking, can we do better?

    4

    cross-posted from: https://lemmy.world/post/11618012

    TL;DR

    • Canada plays in Toronto on June 12 and Vancouver on June 18 and June 24.

    • USA plays in LA on June 12 and June 25 and Seattle on June 19.

    • Mexico plays in Mexico City on June 11 and June 24 and Guadalajara on June 18.

    • Semifinals in Dallas and Atlanta. Bronze Final in Miami. Final in NYC.

    The article has a nice graphic schedule you can download if you want to plan travel to specific cities. Groups have not been drawn yet, so we only know USA, CAN, and MEX.

    2

    GIFs uploaded from GBoard don't work

    GBoard (Google's keyboard for Android) has a GIF entry feature.

    Sync properly uploads the GIF from GBoard to my Lemmy instance, but the GIF does not play in the comments, and clicking on it returns an error "image was actually a web page!"

    For the record, they're not technically GIFs. GBoard uploads the image as WebM.

    This seems like a user journey that should be supported. Android users who use Google's keyboard to input a GIF comment would expect it to work or throw an error at upload time. Instead, Sync allows us to submit such comments, but they are broken upon viewing.

    Device information

    Sync version: v23.11.29-22:27 Sync flavor: googlePlay

    Ultra user: true View type: Smaller cards

    Device: ASUS_AI2302 Model: asus ASUS_AI2302 Android: 14

    3

    Intentional disconnects?

    Do people intentionally disconnect mid battle?

    I've seen a ton of DCs, both early in the game and late.

    It really hurts my enjoyment of the game. Like, even if we're getting smoked, I'd rather stick around and work as a team to the end. I mean, it's only a couple minutes. And a DC counts as a loss anyway.

    It's really frustrating to see all of these DCs. Are people really rage quitting, or is it just bad networking?

    Edit: I just got Splatoon 3 for Christmas, but I'm a veteran of the series. Rage quitting did not seem to be as big of a problem in the previous two games.

    6
    Pittsburgh, PA @lemmy.world cbarrick @lemmy.world

    When a Coke Plant Closed in Pittsburgh, Cardiovascular ER Visits Plunged

    insideclimatenews.org When a Coke Plant Closed in Pittsburgh, Cardiovascular ER Visits Plunged - Inside Climate News

    A recent study highlights the health benefits of particular plants closing and generally reducing exposure to fossil fuels, researchers say.

    When a Coke Plant Closed in Pittsburgh, Cardiovascular ER Visits Plunged - Inside Climate News

    cross-posted from: https://kbin.social/m/[email protected]/t/370751

    > A recent study highlights the health benefits of particular plants closing and generally reducing exposure to fossil fuels, researchers say.

    2
    Pittsburgh, PA @lemmy.world cbarrick @lemmy.world

    Pittsburgh Synagogue Trial-Jury Votes for Death Penalty in Antisemitic Attack

    www.nytimes.com Pittsburgh Synagogue Trial: Jury Votes for Death Penalty in Antisemitic Attack

    The jurors had found the gunman guilty of federal hate crimes for killing 11 worshipers in October 2018.

    Pittsburgh Synagogue Trial: Jury Votes for Death Penalty in Antisemitic Attack

    cross-posted from: https://lemmy.world/post/2548457

    > The judge is required to follow the jury’s decision. Here’s what to know. > > A federal jury on Wednesday condemned to death the gunman who killed 11 worshipers at a Pittsburgh synagogue in October 2018, in what is considered the deadliest antisemitic attack in American history. > > The jury’s decision, which is binding on the judge, was announced Wednesday in the same federal courtroom where the jurors in June convicted the gunman, Robert Bowers, 50, of carrying out the massacre during sabbath services nearly five years ago. The judge will formally impose the sentence at a hearing on Thursday morning, when families of some victims are expected to address the court. > > In a statement, the family of two victims — Rose Mallinger, a 97-year-old member of the Tree of Life congregation who was killed in the attack, and Andrea Wedner, her daughter, who was wounded — thanked the jury. “Although we will never attain closure from the loss of our beloved Rose Mallinger, we now feel a measure of justice has been served,” the statement read. > > Jurors deliberated for just under 10 hours before reaching the verdict.

    0
    mmapped.blog Designing error types in Rust

    An optinionated guide to designing humane error types in Rust.

    4