[-] [email protected] 55 points 6 days ago

They laughed at Columbus, they laughed at Fulton, they laughed at the Wright brothers. But they also laughed at Bozo the Clown.

134
submitted 6 days ago by [email protected] to c/mcmansionhell
308
HONK 🪿 (midwest.social)
submitted 3 weeks ago by [email protected] to c/[email protected]
[-] [email protected] 34 points 3 weeks ago

They don't understand the difference between belief and faith. I believe many things, but have no faith in them. I will take contrary evidence into account.

13
submitted 1 month ago by [email protected] to c/[email protected]
[-] [email protected] 34 points 4 months ago

Do they promise?

35
"X couple" with DALL-E (midwest.social)
submitted 4 months ago by [email protected] to c/imageai

Inspired by the recent news of Google's Gemini and race issues, I wanted to know how some basic queries would work with DALL-E. This was completely unscientific and just what I thought of off the top of my head, but I thought it was mildly interesting. The above picture is what happened when I asked ChatGPT to "Draw a picture of a white couple", and it sent this to the image generator:

A romantic, serene scene of a couple, both with fair skin tones, standing close together in a beautiful outdoor setting. The man is tall with short hair, wearing a casual shirt and trousers. The woman, with medium-length hair, is wearing a summer dress. They are holding hands, smiling at each other, surrounded by a backdrop of a lush green park with flowers and a small pond. The lighting is soft and warm, suggesting a late afternoon setting. The scene conveys a sense of love and companionship.

I wasn't really as interested in seeing how things worked through ChatGPT's interpretation of my input, so the rest of these are instructing ChatGPT to send simply "X couple" to DALL-E. ChatGPT already doesn't have strong opinions compared to Gemini and happily draws the picture.

white couple

black couple

Just because, I figured I'd try out other simple colors too:

red couple

blue couple

I think this is the first time I've gotten a nipple from DALL-E, woo

yellow couple

green couple

straight couple

gay couple

lesbian couple

straight white couple

hetero white couple

hetero black couple

straight black couple

diverse couple

interracial couple

couple

Then I tried various countries/ethnicities. See if you can guess which is which:

Then I tried using opinionated words:

normal couple

ideal couple

regular couple

worst couple

Then I hit the API limits so that's all

77
Sorry there bud (midwest.social)
submitted 4 months ago by [email protected] to c/[email protected]

cross-posted from: https://midwest.social/post/8925909

Source: https://mas.to/@dasharez0ne/111965947462974889

Alt text from original post: "A FREINGLY SKALATON TRYEN TO GO ABOUT THERE BUSNESS BUT THERE ALWAYS IN THE WAY OR SOMEONES IN DA WAY AND DA TEXT SAYS "I GO FROM ZERO TO OPE IN 0.8 SECOND'S ,SORRY BUD, OPE, SORREY, SCUSE ME HERE, GONNA SCOOCH ON BY YA,SORRY THERE,SORRY COMIN THRU GONNA SNEAK THRU REAL QUICK,OPE,SCUSE ME SORRY,OPE" AND THEY DIDENT KNOW UNTIL LIKE 2 YEAR'S AGO THAT NOT EVERY ONE SAID IT ,WHAT DO YOU SAY WHEN YOUR AROUND OTHER PEPOLE, DO YOU JUST SAY NOTHING SEEM'S WEIRD, DO YOU SAY A FULL SENTENSE SEEM'S LIKE TO MUCH TALKEN ,WHY IS IT SO HARD TO BE AROUND OTHER PEPOLE ,WHY IS EVERY INTERACTION A PUZZLE WHY DID EVERY ONE AGREE TO MAKE EVERY THING OUT OF PLASTIC AND PUT IT BACK IN DA GROUND FOREVER ,THAT JUST TURN'S DA GROUND INTO MILK JUG'S AND POP BOTTEL'S ,MAY BE THE ALIEN'S GAVE US THE IDEA AND THE TECNOLOGY TO DO IT BECUASE THEY LOVE PLASTIC ,MAYBE THERE FARMING US TO TURN ALL CRUDE OIL INTO PLASTIC LIKE WHEN WE TURN GRASS INTO BURGER'S AND MILK WITH COW'S , OUTA SPACE GOTTA GO - DASHARE.ZONE ADMI"

[-] [email protected] 35 points 4 months ago

I just had a POS machine recommend 20%, 25%, or 30% for percentages. It seems like it's increasing

30
submitted 4 months ago by [email protected] to c/[email protected]
19
submitted 4 months ago by [email protected] to c/[email protected]
37
submitted 4 months ago by [email protected] to c/[email protected]

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

Should I be worried that Tux is flightless?

[-] [email protected] 45 points 4 months ago

There's at least one example you can look at, the Jenkins CI project had code like that (if (name.startsWith("windows 9")) {):

https://issues.jenkins.io/secure/attachment/18777/PlatformDetail

Microsoft, for all their faults, do (or at least did) take backwards compatibility very seriously, and the option of "just make devs fix it" would never fly. Here's a story about how they added special code to Windows 95 to make SimCity's broken code work on it:

Windows 95? No problem. Nice new 32 bit API, but it still ran old 16 bit software perfectly. Microsoft obsessed about this, spending a big chunk of change testing every old program they could find with Windows 95. Jon Ross, who wrote the original version of SimCity for Windows 3.x, told me that he accidentally left a bug in SimCity where he read memory that he had just freed. Yep. It worked fine on Windows 3.x, because the memory never went anywhere. Here’s the amazing part: On beta versions of Windows 95, SimCity wasn’t working in testing. Microsoft tracked down the bug and added specific code to Windows 95 that looks for SimCity. If it finds SimCity running, it runs the memory allocator in a special mode that doesn’t free memory right away. That’s the kind of obsession with backward compatibility that made people willing to upgrade to Windows 95.

16
submitted 4 months ago by [email protected] to c/[email protected]
[-] [email protected] 46 points 5 months ago* (last edited 5 months ago)

The collect's in the middle aren't necessary, neither is splitting by ": ". Here's a simpler version

fn main() {
    let text = "seeds: 79 14 55 13\nwhatever";
    let seeds: Vec<_> = text
        .lines()
        .next()
        .unwrap()
        .split_whitespace()
        .skip(1)
        .map(|x| x.parse::().unwrap())
        .collect();
    println!("seeds: {:?}", seeds);
}

It is simpler to bang out a [int(num) for num in text.splitlines()[0].split(' ')[1:]] in Python, but that just shows the happy path with no error handling, and does a bunch of allocations that the Rust version doesn't. You can also get slightly fancier in the Rust version by collecting into a Result for more succinct error handling if you'd like.

EDIT: Here's also a version using anyhow for error handling, and the aforementioned Result collecting:

use anyhow::{anyhow, Result};

fn main() -> Result<()> {
    let text = "seeds: 79 14 55 13\nwhatever";
    let seeds: Vec = text
        .lines()
        .next()
        .ok_or(anyhow!("No first line!"))?
        .split_whitespace()
        .skip(1)
        .map(str::parse)
        .collect::>()?;
    println!("seeds: {:?}", seeds);
    Ok(())
}
[-] [email protected] 154 points 5 months ago

Because there were not enough justices for a quorum—the court needs at least six and only Justices Elena Kagan, Sonia Sotomayor and Ketanji Brown Jackson remained—the court affirmed the judgment of a lower court to dismiss the lawsuit.

Clever. Appearing to do the right thing at face value coincides nicely with getting the case against you dropped. It's likely impossible to sue a majority of the Supreme Court if they don't care to be sued.

44
submitted 7 months ago by [email protected] to c/[email protected]

Prompt to ChatGPT was "Draw a completely white picture", and it sent to DALL-E:

a completely white canvas, with no features, textures, or elements, just a uniform white color

And got the above picture and this one:

Kind of interesting see what each color generates. I also tried transparency (which I imagine it can't do anyways) with:

a completely transparent canvas, where every pixel has an alpha value of 0, resulting in a fully invisible image with no features, textures, or colors

And it gave me this:

2
Screen Time? (midwest.social)
submitted 7 months ago by [email protected] to c/[email protected]

How do you guys handle screen time and what rules do you have? We've settled on "intentional" screen time like Friday night movies, but also some situations like when our kid is sick.

Also, any favorites? Bluey is by far the favorite here, though Ponyo is a recent strong contender.

[-] [email protected] 29 points 7 months ago

The argument I've heard is "It must stop somewhere, and whatever it stops at, we'll call that god". It's not a good argument, because it then hopes that you conflate the Judeo-Christian deity with that label and make a whole bunch of assumptions.

It's often paired with woo that falls down to simply asking "Why?", such as "Nothing could possibly be simpler than my deity"

500
This Captcha (midwest.social)
submitted 7 months ago by [email protected] to c/[email protected]

Does warmer mean temperature? Color? Something else?

[-] [email protected] 33 points 8 months ago

Not AI art, but heavily related:

[-] [email protected] 33 points 9 months ago

Good, that's the only way people like that will change

[-] [email protected] 26 points 10 months ago

For anyone else wondering, this is a medal given to the Chernobyl liquidators

[-] [email protected] 78 points 10 months ago

That's 👏 what 👏 CI 👏 is 👏 for

Warn in dev, enforce stuff like this in CI and block PRs that don't pass. Go is just being silly here, which is not surprising given that Rob Pike said

Syntax highlighting is juvenile. When I was a child, I was taught arithmetic using colored rods. I grew up and today I use monochromatic numerals.

The Go developers need to get over themselves.

view more: next ›

m_f

joined 11 months ago