Skip Navigation

Posts
84
Comments
1289
Joined
2 yr. ago

🦋⃟💙 This city makes me feel so small A million people in this town But I could scream without a sound So I get high to pass the time Talk to someone I met online To make myself feel less alone

  • Baldur's Gate III, takes a long time to get started.

    Its towards the very end of act 2 when the game feels like you've finally finished the "tutorial" section and are ready to play for real.

    They needed another 6 to 9 acts easy.

  • Any of the biblical names, let's try to be more original and not get bullied

  • Turns out there's a difference between a pepper and salt shaker. The diameter of the holes are wider for pepper, but you'll see many places put salt in them.

  • You can call your local one and ask.

    It probably varies from store to store.

    Your bank will also be able to tell you about any in network ones to save on fees.

  • Replace the Mac mini drive with a cheap ssd.

    If you have one of the early Mac minis, try the 32bit version of alpine Linux.

    My pending project is to set it up as a old game server.

  • 🤤

  • You can use element for that, just don't use a matrix.org account.

  • I remember reading somewhere that japan and Korea still need to worry about internet explorer 6 support.

  • Ah I think I understand now.

    Yeah, I would agree that people are hardwired to feel pressure to fit in socially. There's a balance too, if you don't stand out at all your chances of fulfilling those needs could be harmed. But if you're too odd, you'll be shunned. The internet did wonders connecting odd ducks to each other.

  • Are you talking about social pressures like when your coworkers all have better cars than you?

  • That's the kind of dedication we need in the cinema industry!

  • The SNES was my favourite console. Huge game library, still looks great on a oled or crt screen.

    However, a modded handheld could play all those games and more such as a vita.

    Could also put a pi in a portable case.

  • By god they are right, this might change the future of mathematics!

     
        
    
    // 2024‑edition Rust
    use std::rc::Rc;
    
    /// Church numeral: given a successor `s: fn(u32) -> u32`,
    /// returns a function that applies `s` n times.
    type Church = Rc<dyn Fn(fn(u32) -> u32) -> Rc<dyn Fn(u32) -> u32>>;
    
    /// 0 ≡ λs.λx.x
    fn zero() -> Church {
        println!("Define 0");
        Rc::new(|_s| Rc::new(|x| {
            println!("  0 applied to {}", x);
            x
        }))
    }
    
    /// succ ≡ λn.λs.λx. s (n s x)
    fn succ(n: Church) -> Church {
        // `label` is printed *before* the closure is created, so the closure
        // does not capture any non‑'static reference.
        println!("Build successor");
        Rc::new(move |s| {
            // `inner` is the predecessor numeral applied to the same successor
            let inner = n(s);
            Rc::new(move |x| {
                // first run the predecessor
                let y = inner(x);
                println!("  predecessor applied to {} → {}", x, y);
                // then apply the extra successor step
                let z = s(y);
                println!("  +1 applied to {} → {}", y, z);
                z
            })
        })
    }
    
    /// Convert a Church numeral to a Rust integer, printing each step.
    fn to_int(n: &Church) -> u32 {
        let inc: fn(u32) -> u32 = |k| {
            println!("    inc({})", k);
            k + 1
        };
        let f = n(inc);               // f: Rc<dyn Fn(u32) -> u32>
        println!("  evaluate numeral starting at 0");
        f(0)
    }
    
    /// Even ⇔ divisible by 2
    fn is_even(n: &Church) -> bool { to_int(n) % 2 == 0 }
    fn is_odd(n: &Church) -> bool  { !is_even(n) }
    
    fn main() {
        // ---- build the numerals step‑by‑step ----
        let zero = zero();                     // 0
        let one  = succ(zero.clone());         // 1 = succ 0
        let two  = succ(one.clone());          // 2 = succ 1
    
        // ---- show the numeric values (trace) ----
        println!("\n--- evaluating 0 ---");
        println!("0 as integer → {}", to_int(&zero));
    
        println!("\n--- evaluating 1 ---");
        println!("1 as integer → {}", to_int(&one));
    
        println!("\n--- evaluating 2 ---");
        println!("2 as integer → {}", to_int(&two));
    
        // ---- parity of 2 (the proof) ----
        println!("\n--- parity of 2 ---");
        println!("Is 2 even? {}", is_even(&two)); // true
        println!("Is 2 odd?  {}", is_odd(&two));  // false
    
        // Proof: “divisible by 2” ⇔ “even”.
        // Since `is_odd(&two)` is false, no odd number can satisfy the
        // divisibility‑by‑2 condition.
        assert!(!is_odd(&two));
        println!("\nTherefore, no odd number is divisible by 2.");
    }
    
    
      
  • Paywall on the article 😨

  • What I was trying to say was PNG is worse for quality to compression ratios.

  • AVIF is the best quality to size format available that's not WEBP or PNG. it's supported by most platforms and an open standard.

    Jpeg-xl support isn't ubiquitous enough to use in production.

  • In my humble opinion you should be entitled to a minimum of 75% of your day for personal use.

  • I'm guessing a chargeback caused this?

  • Technology @lemmy.world

    What the scandal with Kaspersky Lab is all about

    www.kaspersky.com /blog/kaspersky-in-the-shitstorm/19794/
  • Lemmy Shitpost @lemmy.world

    🗜️🍋

  • Science Memes @mander.xyz

    What year is it?

  • TenForward: Where Every Vulcan Knows Your Name @lemmy.world

    ✨✨✨

  • RetroGaming @lemmy.world

    The Legend of Zelda: Majora's Mask just got an unofficial PC port

    www.dsogaming.com /news/the-legend-of-zelda-majoras-mask-just-got-an-unofficial-pc-port-with-support-for-high-framerates-widescreen-ultrawide-gyro-aim-autosaves-and-low-input-lag/
  • AnarchyChess @sopuli.xyz

    Russia Issues Arrest Warrant For Kasparov On Terrorist Charges

    www.chess.com /news/view/russia-issues-arrest-warrant-for-kasparov-on-terrorist-charges
  • Ask Lemmy @lemmy.world

    For those using Intel Arc graphics cards, how well does old games work?

  • LocalLLaMA @sh.itjust.works

    What's the current recommendation for an anime oriented model?

  • Lemmy Shitpost @lemmy.world

    carry or kick

  • Ask Lemmy @lemmy.world

    Any out there running Windows XP in 2024?

  • AnarchyChess @sopuli.xyz

    Oh no my rooks

  • Yuri @lemmy.world

    A spin-off of Yuru Yuri featuring Sakurako and her sisters

    myanimelist.net /anime/56175/Oomuro-ke
  • Ask Lemmy @lemmy.world

    Now that copyright on steamboat Willie has expired, what are the next big ones expiring?

  • Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ @lemmy.dbzer0.com

    Where's Nintendo DS emulation at for Android?