idk for me it’s easier to rember ex xdna was merged on 6.14 than 2.253
- 0 Posts
- 99 Comments
composition can help with all of that. factories, strategies, injections are all composition patterns that work fine.
business logic that repeats? extract it to it’s own thing (class, function, etc) and pass it as a param to the supposed childs.
mvc? controllers don’t need to extend anything, just have them accept the framework through the constructor and request and response as args. views? same. models? perhaps only if doing an active record, but a repo pattern with plain objects is a good pattern too.
I never seen a clean inheritance implementation for a decently sized problem. it mostly works for tiny ones.
sip@programming.devto
Linux@programming.dev•Sudo's maintainer needs resources to keep utility updated
1·1 month agoit’s not a big deal for me, for the couple of daily sudos I type.
sip@programming.devto
Linux@programming.dev•Sudo's maintainer needs resources to keep utility updated
1·1 month agoI added “alias fucking=sudo” and I never remeber to use it :(
sip@programming.devto
Linux@programming.dev•Fedora 44 Will Be the First Distro to Adopt KDE's Plasma Login Manager
3·2 months agohopefully it doesn’t have the full kde ecosystem as deps and can be used standalone. <insert doubt here>
sip@programming.devto
Linux@programming.dev•What Have I Learned From Daily Driving Arch Linux For Three Years?
1·3 months agohttps://gitlab.freedesktop.org/drm/amd/-/issues/4284
btw, happens with that bitmask too. just happened.
sip@programming.devto
Linux@programming.dev•What Have I Learned From Daily Driving Arch Linux For Three Years?
1·3 months agorx 6650 xt, stock drivers that come with arch, amdgpu. issue is both on lts and latest. seems to be a ring buffer error. there’s an open ticket about it.
I don’t remeber the flag, but it’s to disable some power saving feature.
sip@programming.devto
Programmer Humor@programming.dev•You can pry pattern matching from my cold dead hands
34·3 months agoI despise python syntax.
sip@programming.devto
Linux@programming.dev•What Have I Learned From Daily Driving Arch Linux For Three Years?
34·3 months agoright. I got an AMD and the driver is utter shit. I had to disable features using kernel cmdline bitmask flags, so that it doesn’t crash every 2 hours. wayland + amd classic.
never had compositor or display server issues with nvidia on linux.
sip@programming.devto
Linux@programming.dev•Stackoverflow 2025 Developer Survey, OS Usage
6·3 months agochatgpt happened
sip@programming.devto
Programmer Humor@programming.dev•It was best as a silly toy language in the 1990's...
1·3 months agoI think ghcup is the simplest way
sip@programming.devto
Programmer Humor@programming.dev•It was best as a silly toy language in the 1990's...
1·3 months agoI used it either through my distro’s package or using stack install. there’s also cabal install, but that doesn’t install the compiler, at least not in 2017 when I played with it.
sip@programming.devto
Programmer Humor@programming.dev•It was best as a silly toy language in the 1990's...
1·3 months agoI asked chatgpt for a few languages with a good typesystem and it suggested ocaml among other (scala, rust, haskell, f#)
Then asked for a 100 line ocaml REST API example with a popular framework and db lib… and it looks mostly like Haskell.
edit: async is done with monads
sip@programming.devto
Programmer Humor@programming.dev•It was best as a silly toy language in the 1990's...
3·3 months agoi wish a more performing language would have this type system. the only other ones I know are Rust which is a bit strict and slow to dev on, and Haskell which is too much.
sip@programming.devto
Programmer Humor@programming.dev•It was best as a silly toy language in the 1990's...
17·4 months agoagreed. typescript is excelent, especially if you make it strict and know a bit of complex types to make sure things stay put.
hahaha. just don’t --continue at the last commit
sip@programming.devto
Technology@lemmy.world•A.I. Video Generators Are Now So Good You Can No Longer Trust Your EyesEnglish
4·5 months agoagreed. having a cryptography mark on the file and relying on chain of trust is the way.
link posts are low quality IMO.
yeah, minecraft version will be the next y2k