Toots for lambdageek@mastodon.social account

Written by lambdageek on 2025-01-20 at 02:48

Should probably be watching The Death of Stalin on this the eve of the next four years, but I happen to be watching Armando Ianucci's David Copperfield adaptation instead.

[#]movies

=> More informations about this toot | View the thread

Written by lambdageek on 2025-01-14 at 22:58

And now a game of "guess that movie" with my almost-five year old:

Kiddo: I want to watch the movie with the people who go into the 'tricity

Us: ...

K: they go into the electricity

...

K: the big boy and the little girl

...

It was "Ralph Breaks The Internet".

The "electricity" is when they get uploaded to the internet.

[#]parenting #DisneyPlus #movies

=> More informations about this toot | View the thread

Written by lambdageek on 2025-01-12 at 03:54

Damn... literally every single music video Costin Chioreanu animated is straight fire

https://www.youtube.com/playlist?list=PLewAQdcj_nK0IOdpCP1zSFkwqp7q5Jm6s

#CostinChioreanu #JethroTull #borknagar #progRock #metal #progMetal #musicVideo #animation

=> More informations about this toot | View the thread

Written by lambdageek on 2025-01-11 at 16:24

I see a bunch of folks getting rid of their FB and IG accounts and moving elsewhere (bsky usually) in response to Meta's new bootlicking policy. Are folks leaving WhatsApp too? I seem to recall everyone in the EU was using that by default instead of carrier SMS. Is sentiment shifting? Where is everyone going?

=> More informations about this toot | View the thread

Written by lambdageek on 2025-01-09 at 01:42

Is it for people on oddball tier2/3 targets that might not be working in every latest compiler version?

=> More informations about this toot | View the thread

Written by lambdageek on 2025-01-09 at 01:39

Why is MSRV a thing? What are the scenarios where someone might stay on an old toolchain and not bump to the latest stable rust? Naively I expected language editions to solve problems that would prevent always using the latest stable.

[#]rust #newbie #rustlang

=> More informations about this toot | View the thread

Written by lambdageek on 2024-12-30 at 03:36

This is the only worthy Dewww-ne remake

https://www.youtube.com/watch?v=2B6jgkcANRE

=> More informations about this toot | View the thread

Written by lambdageek on 2024-12-30 at 03:01

finally watching the non-Lynch D*ne movie and I just can't with how they pronounce Harkonnen.

Also hot take: they should've made the new movies based on the 90's video game, not the original books. The universe is unbalanced without Ordos

=> More informations about this toot | View the thread

Written by lambdageek on 2024-12-28 at 00:49

Me: Our dishwasher pods come in a new container. It used to be a cube but now it's a cylinder

Spouse: Looks like they're cutting corners

[#]dadJoke #humor #spouse #joke

=> More informations about this toot | View the thread

Written by lambdageek on 2024-12-27 at 02:53

Turns out kids don't have an inner monologue until age 6-7 on average. I was asking kiddo to stop whispering after lights out and it turns out that it might be literally impossible for like another year or two https://pmc.ncbi.nlm.nih.gov/articles/PMC7090223/

=> More informations about this toot | View the thread

Written by lambdageek on 2024-12-25 at 13:29

Kiddo: receives a family of foxes for the holidays

Kiddo: what sound do foxes make?

Me: ...

Me: I am ready

Me: ring-ding-ding-ding-dingeringeding

Kiddo: ...

[#]ylvis #foxes #parenting

=> More informations about this toot | View the thread

Written by lambdageek on 2024-12-12 at 20:28

Answering my own question, you apparently do this:

pwsh.exe -Command {

param([hashtable]$ce, [string[]]$child_args)

foreach ($key in $ce.Keys) {

    $v = $ce[$key]

    Set-Item -Path "Env:\$key" -Value $v

}

foo.exe @child_args

} -Args @($ChildEnv, $ChildArgs)

This is high grade bullshit

[#]powershelll

=> More informations about this toot | View the thread

Written by lambdageek on 2024-12-12 at 19:01

Question for powershell experts:

I have a script "foo-wrapper.ps1" that does:

Start-Process -FilePath foo.exe -Environment @{ "SOMETHING" = "abcd"} -Wait -NoNewWindow

Is there a way to make:

.\foo-wrapper 2>&1 > log.txt

actually emit the output (and errors) of foo.exe into the log?

The output of Start-Process always goes to the console. I know the Start-Process cmdlet has redirect options, but I don't want those. I want to redirect the entire output of my script.

[#]powershell

=> More informations about this toot | View the thread

Written by lambdageek on 2024-12-07 at 16:49

Great to see people taking a hard look at what EA is all about and coming up with alternatives.

What if Charity Shouldn’t Be Optimized? (Unlocked gift link)

https://www.nytimes.com/2024/12/07/business/charity-holiday-giving-optimized.html?unlocked_article_code=1.fk4.7Sk7.yz8qtohM66mV

[#]nytimes #charity #giving

=> More informations about this toot | View the thread

Written by lambdageek on 2024-11-28 at 21:04

They let The Rock sing again. Twice.

[#]disney #movies #moana2

=> More informations about this toot | View the thread

Written by lambdageek on 2024-11-27 at 21:01

Does any language without dependent types let you use _ as a placeholder for an inferred value when the context allows for only a single (canonical, in some sense) inhabitant?

for example if the expected type is Result<(),E> in rust, could the compiler infer that Ok(_) means Ok(())? Has anyone experimented with usability of something like that?

=> More informations about this toot | View the thread

Written by lambdageek on 2024-11-27 at 13:24

Are there any html rendering engines ported to WebAssembly?

=> More informations about this toot | View the thread

Written by lambdageek on 2024-11-22 at 20:15

In further Rust-is-not-Haskell news, it expects me to put ';' everywhere like a caveman

Seriously... I dunno what it is, but like... I have no problem adding semicolons to C/C++/C# code, and even TypeScript. but somehow Rust triggers some part of my brain that insists I'm in a whitespace-sensitive language and all the ';' go missing

[#]rustlang #haskell

=> More informations about this toot | View the thread

Written by lambdageek on 2024-11-20 at 20:36

Annoying rust papercut.

Many types have an enter<F,R>(f: F) -> R where F : FnOnce(&Resource) -> R method that lets a closure access a resource temporarily to compute some result and return it.

But as soon as you try to turn such a function into a method on a trait object you end up writing

Proxy Information
Original URL
gemini://mastogem.picasoft.net/profile/108216257573722359
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
854.196305 milliseconds
Gemini-to-HTML Time
4.368642 milliseconds

This content has been proxied by September (ba2dc).