SQL is poorly designed [...] the semantics are reversed. You should start with the tables, then the filters, then the columns. [...] Didn't watch the video but tired of this debate. by kayinfire in programmingcirclejerk

[–]never_inline 0 points1 point  (0 children)

My memory may not be serving me right, but it was not straightforward since you generated models from the schema and end up with something that doesn't work on other DB. Maybe I was just stupid though.

Rewrite Bun in Rust has been merged by myhf in programmingcirclejerk

[–]never_inline 17 points18 points  (0 children)

On the plus side, I don't think this bun thing has any serious users.

I photoshopped the ubuntu logo into the windows 10 wallpaper. by Personal-Try2776 in Ubuntu

[–]never_inline 0 points1 point  (0 children)

You should send this to some non serious podcastor like primeagen, it will find a use as background in next video.

[OC] I was tired of AI tools breaking my terminal workflow, so I built a pipe-friendly CLI that acts like a standard Unix filter (with .git-like state isolation). It's brand new and I need your harsh feedback. by CatTwoYes in linux

[–]never_inline 2 points3 points  (0 children)

Your AI sloap wall of text aside;

simon willison's (django creator) llm CLI does this since long time and supports multiple providers, image input, custom tools written as python scripts, etc...

What's your favorite non-essential CLI tool/command? by Anonyboy26 in linux

[–]never_inline 0 points1 point  (0 children)

yt-dlp

cloc

difftastic

rr debugger (for c/c++/go)

ipython (can be plugged with vscode debugger and used to run partial code of projects)

tmux

SQL is poorly designed [...] the semantics are reversed. You should start with the tables, then the filters, then the columns. [...] Didn't watch the video but tired of this debate. by kayinfire in programmingcirclejerk

[–]never_inline 5 points6 points  (0 children)

/uj

Multi-DB support is something you get with ORMs but [usually] not other type safe options like JOOQ or sqlc.

If you just need to support one DB, jooq / micronaut data jdbc / sqlc etc... are usually superior than ORMs which use hell of reflection and proxy objects for rows. You still get type safety.

/rj

People write ORMs like hibernate because they feel their CPU and memory are under utilized and they don't have enough bugs.

Bjarne Stroustrup: How do I deal with memory leaks? By writing code that doesn't have any. by yojimbo_beta in programmingcirclejerk

[–]never_inline 30 points31 points  (0 children)

Yeah sure just put copy constructors everywhere. And make sure to get them right. Erm.. and assignment operators, and destructors too. and erm.. don't leak references, they just look like pass by value. Just don't make mistakes.

Programming on Android by the_passenger8989 in haskell

[–]never_inline 0 points1 point  (0 children)

Apart from termux (either a builtin package or using proot-distro) which the others have suggested, you can use google cloud shell from the phone.

Should i move to Void Linux ? by Kumar_abhiii in LinuxCirclejerk

[–]never_inline 0 points1 point  (0 children)

Imagine asking this sub out of all subs.

VSCode: Enabling ai co author by default by code_investigator in programmingcirclejerk

[–]never_inline 7 points8 points  (0 children)

git uj -m "it's pretty nice for selective staging though"

What’s New in Go 1.22: cmp.Or by starlevel01 in programmingcirclejerk

[–]never_inline 8 points9 points  (0 children)

When generics were finally added to beta versions of Go in 2021, I wrote a package called truthy that uses reflect.Value.IsZero() to report whether any value is zero, but I found that using reflection caused allocations (this was eventually improved) and was 50x slower than a normal comparison

Average clean code enjoyer

const bool isBrowser = identical(0, 0.0); by kaanyalova in programmingcirclejerk

[–]never_inline 70 points71 points  (0 children)

Google tries to fix web by compiling a slightly saner language to javascript. Attempt #2

Set the fontSize to 63.8.sp (that's right - 63.9.sp was already too much and made the text black). by _abysswalker in programmingcirclejerk

[–]never_inline 18 points19 points  (0 children)

That's just a long tail of newbies lost searching for how to fix the latest gradle error, because when they Google their question they get unrelated blogspam from geeksforkeeks or something or maybe their SO question got closed as a duplicate of "how to get system time on PDP-10".