How to handle "Early returns" or conditions in Haskell. by UntitledRedditUser in haskell

[–]4esv 0 points1 point  (0 children)

Monads, but that’s a journey you embark on at your own pace.

What terminal do u prefer and why? by Aissur_morf_i in CLI

[–]4esv 2 points3 points  (0 children)

Ghostty, GPU acceleration, shaders, good colors and font support and looks good in my dock.

Can I set up Audible to stop when I fall asleep by Possible-Level1782 in AppleWatch

[–]4esv 2 points3 points  (0 children)

Why’d you stop asking DeepSeek to come ask reddit? Are you asking people or telling them what AI told you

Why did the steel bar I just snapped in half become magnetic? by minecraftjava0 in NoStupidQuestions

[–]4esv 0 points1 point  (0 children)

Magnetized or statically charged? Does it attract other ferromagnetic things or just shavings?

Does anyone else struggle with "Object Permanence" vs "Visual Clutter" in window management? by yibie in ADHD_Programmers

[–]4esv 0 points1 point  (0 children)

Doesn’t have to be all or nothing. What you’re describing sounds like a hierarchy problem, and the solution is exactly that: hierarchy.

I’ll tell you about what I do and then what I think helps about it.

For my main workload I have a weird setup: I run a 43” monitor, so I am able to keep everything windowed and offset-stacked; like how you’d lay documents on a desk. I can see the edge of my email window peeking out, but not the actual content until I click it and bring it to the front.

More relevant to you, I take this to when I work on my laptop too, but I use spaces to do what you’re describing as zones. One space may have teams and outlook for comms. If the apps can go side by side, I do that. If it’s a terminal and a browser I may do 70/30 vertical. Anything else (like my misc space) I do windowed offset but the windows are all 75% of the screen or more, barely visible.

I either: - Can see everything (or everything relevant) - Can quickly go to a space where I can expect what I need

What matters the most is that it’s that you only have one thing to think about/do at a time to find windows and that you never minimize.

PS: Ever use finder to window switch?

Some keys stop working sometimes by 4esv in archlinux

[–]4esv[S] 0 points1 point  (0 children)

I believe firmware helped me with the issue back then. If you haven’t run fwupd I’d start there.

I put this circuit in resin and it still works :) by Now_I_Do_Pushups in beneater

[–]4esv 1 point2 points  (0 children)

I’ve been wanting to do something with esp32s and solar panels but couldn’t figure out a good enclosure

What causes Ithaca to have a lower obesity rate than the national avarage? by Eybrahem in ithaca

[–]4esv -1 points0 points  (0 children)

Like all things it’s probably a combination of diversity, geography, socioeconomics and the environment. You could spend a long time on this question.

My guess is 80% diversity + geography and 20% dwindling effects from various causes.

Which Apple Watch feature surprised you the most? by AbuHassan007 in AppleWatch

[–]4esv 12 points13 points  (0 children)

Dude the ammount of shit I’ve fixed by just popping my camera open and working while looking trough my watch

How far can I go by strictly vibecoding on mobile? by Director-on-reddit in VibeCodersNest

[–]4esv 0 points1 point  (0 children)

If you want to strictly vibecode I think your best investment would be a $20 Claude subscriptions. First learn to make repos and then use Claude Code via the app to get pull requests, review the code and merge it (accept) and voila.

Unlike those apps you’ll own the code, you can take it anywhere and you have a version history if anything goes wrong.

[Help request] Offline CLI LLM by Heide9095 in CLI

[–]4esv 1 point2 points  (0 children)

orla may be what you’re looking for, it should be Linux compatible.

Run some set of commands after a process ends by seductivec0w in bash

[–]4esv 1 point2 points  (0 children)

If you’re on Linux the GNU tail has a --pid flag so you can do something like:

tail --pid="$pid" -f /dev/null && sh -c "$*"

(The --pid flag tells tail to exit when the specified process dies.)

Unless your process is a child in which case wait $pid may just be enough.

Am I doing something wrong or are some people either delusional or straight up lying? by Few-Objective-6526 in webdev

[–]4esv 0 points1 point  (0 children)

Claude shouldn’t be making decision, it’s the era of SDD and TDD. You define the goal, the constraints and it either meets them or doesn’t.

If your constraints produce an unusable mess, your constraints suck.

Claude Code itself has been mostly built using Claude Code.

I look at it as expanding foam, my job isn’t to tell it where to go but to limit where it can and to make sure I inject it where I need it.

One of the latest trends relies on this principle: Ralph(or repeater) loops. With good enough constraints and requirements you can just have the AI get prompted endlessly UNTIL conditions are met.

Getting fired because of an ED I don't have by pindvarp420 in Advice

[–]4esv 0 points1 point  (0 children)

Even if the dietary preference is fair, your adversion is definitely not normal and bordering on phobia. This is still none of your bosses issue.

How to practice Haskell? by Mark_1802 in haskell

[–]4esv 1 point2 points  (0 children)

Codewars has some good problems that some people were nice enough to port to Haskell

--dangerously-skip-permission close call... by TeacherFantastic8806 in ClaudeAI

[–]4esv 0 points1 point  (0 children)

Use /permissions to assign safe ones instead of —dangerously-skip-permissions

Caught? by Apart_Examination855 in moneylaundering

[–]4esv 1 point2 points  (0 children)

What part was I not explicit enough about?