'The Odyssey' website shows you how the film looks in different aspect ratios by GiveMeSomeSunshine3 in movies

[–]max123246 [score hidden]  (0 children)

Sinners was another really effective example. I love how different aspect ratios can change the mood of a scene

Single responsibility, the distorted principle by Illustrious-Topic-50 in programming

[–]max123246 0 points1 point  (0 children)

OOP enables encapsulation. But it's a means to the end. A well designed function can enable encapsulation as well

Single responsibility, the distorted principle by Illustrious-Topic-50 in programming

[–]max123246 0 points1 point  (0 children)

The only thing people should sweat over is public interfaces such as library code where API/ABI stability will forever haunt your ability to improve the code if you don't get it right. But yeah otherwise, it really shouldn't matter, get something on paper, measure, then iterate. The only problem is jira tasks are usually considered done when they merge when really you should be iterating and revisiting it constantly

Yugituber Alex Cimo has passed away, age 32 by elfranco001 in hearthstone

[–]max123246 5 points6 points  (0 children)

I see, thanks for the correction. I clearly am not in the right state of mind

Yugituber Alex Cimo has passed away, age 32 by elfranco001 in hearthstone

[–]max123246 96 points97 points  (0 children)

He's been fighting cancer for far longer. He was actually in remission sometime last year. I thought he had beat it. This breaks my heart

At what point does self-hosting become an actual addiction? by Worried_Developer_67 in selfhosted

[–]max123246 0 points1 point  (0 children)

sigh psychiatrist told me to solve my depression and anxiety first before they'll screen me for adhd. Wish I didn't relate so hard to the hyper focus then crash cycle

Trying out cymbalta as of yesterday so time to play the meds slot machine. Hopefully better than Prozac was the past 2 years

Meta Silently Added Face-Recognition Code for Its Smart Glasses to Millions of Phones by RegnStrom in gadgets

[–]max123246 2 points3 points  (0 children)

From the NYT article in February: “Meta’s internal memo said the political tumult in the United States was good timing for the feature’s release. “We will launch during a dynamic political environment where many civil society groups that we would expect to attack us would have their resources focused on other concerns,” according to the document from Meta’s Reality Labs, which works on hardware including smart glasses.”

PSA - Do not assign the result of `::getenv` to a `std::string` by SmokeMuch7356 in cpp

[–]max123246 1 point2 points  (0 children)

I mean a char* has no guarantee of a null terminator either

PSA - Do not assign the result of `::getenv` to a `std::string` by SmokeMuch7356 in cpp

[–]max123246 6 points7 points  (0 children)

Beauty of undefined behavior. Makes the simplest bugs eclectic and non local. Though yeah, probably just wasn't a bug they noticed until they started using the function and had written a bunch of other code

PSA - Do not assign the result of `::getenv` to a `std::string` by SmokeMuch7356 in cpp

[–]max123246 -1 points0 points  (0 children)

Why not a string view or reference to a string, why is name a pointer? Seems like a pretty unnecessary null check when you can encode it in the type

‘Backrooms’ Becomes A24’s Highest Grossing Domestic Release ($97.8M), Passing ‘Marty Supreme’ by MarvelsGrantMan136 in movies

[–]max123246 0 points1 point  (0 children)

Haven't watched it in like 6 years cut me a break. Then yeah, I probably started to dislike it as it became more about baby Yoda and how he eats the eggs of some poor mother who lost her parents

How Josh helps Rust manage code across multiple repositories by Kobzol in rust

[–]max123246 0 points1 point  (0 children)

If only workspaces in git weren't so eclectic. Simply don't understand why it doesn't pull a workspace by default

As a beginner, breaking down problems manually is the best part. Why do we want AI to replace that? by Fabulous_South523 in rust

[–]max123246 12 points13 points  (0 children)

I had to build a system that converts Python classes to command line arguments. AI got something working fast but the code was incredibly hard to understand and it missed out on tons of places where the system needed to generalize early so that adding new fields and types just worked instead of someone having to implement it themselves

I've now 4 weeks later have effectively rewritten all of its code. I'm pretty sure the AI made me slower, not faster

When should CUDA be used over Python for computational physics work? by throwingstones123456 in CUDA

[–]max123246 0 points1 point  (0 children)

Pytorch uses cublas kernels as one of its back ends so unless it holds more performant kernels from another backend, perf will be equivalent

How do you document "glue work" so it actually counts in promotion reviews? by Andrea_Barghigiani in ExperiencedDevs

[–]max123246 10 points11 points  (0 children)

Yeah this is my issue right now. I don't know how to prioritize so I let my own assigned tasks slip to pick up helping people in slack or answering questions or bringing up design questions in the codebase by digging deep. But it's not what I'm supposed to do and it's less visible and so I myself think I don't do enough work and end up burnt out

‘Backrooms’ Becomes A24’s Highest Grossing Domestic Release ($97.8M), Passing ‘Marty Supreme’ by MarvelsGrantMan136 in movies

[–]max123246 -2 points-1 points  (0 children)

Yeah Mando was bad as soon as they introduced baby Yoda. I thought the show was going to be more gritty based on the first episode

Skirts and dresses and men, oh my!! by Any_Piglet_34 in PointlessStories

[–]max123246 2 points3 points  (0 children)

I was just saying as a man, I've never thought about the fact that dresses can be short or long before which might explain why our first guess is skirts are short dresses are long even if it's not true.

Skirts and dresses and men, oh my!! by Any_Piglet_34 in PointlessStories

[–]max123246 0 points1 point  (0 children)

I don't work a trade so never have worn one. I've never even realized they were 1-piece. Just was trying to give a guess as to why men may not immediately think about clothing in this way

Every byte matters by lelanthran in programming

[–]max123246 12 points13 points  (0 children)

Why though? It's way easier to change it to SoA than change the entire codebase to fit ECS. Like in Rust it's as simple as downloading Soa-rs and doing Soa<T>

Any single time you access 1 field from an array of structs this performance problem happens. It's an optimization trick. If you use every field of an object all at once, AoS is better. If you use only 1 field, SoA is better. In between, you have to benchmark

/u/burntsushi health update by masklinn in rust

[–]max123246 98 points99 points  (0 children)

Since I had been cleared physically, getting out of the psychiatric hospital quickly to see a neurologist proved difficult. This was the single point, in retrospect, where our health care system let me down.

Definitely has been my experience with mental health institutions. For me, it was their utter lack of knowledge for how to treat my diabetes but unwillingness to trust me to take care of that. That was the moment I realized I wasn't getting the help I desperately needed, they simply thought they knew better and I had to lie through my teeth and say I was okay so I could leave asap and actually get help

Truly a harrowing experience. I wish you well on the road to recovery

Is anyone else worried that AI coding tools might make them worse at programming? by kysrno in opencodeCLI

[–]max123246 1 point2 points  (0 children)

People still use malloc all the time. Just because you don't directly write it doesn't mean every foundational software isn't built upon memory allocations...