Readit News logoReadit News
PickledChris commented on What is “good taste” in software engineering?   seangoedecke.com/taste/... · Posted by u/olayiwoladekoya
pbalcer · 3 months ago
Readable code is code that has empathy for the reader and tries to minimize the cognitive load of interpreting it. That's one of the goals of abstraction layers and design patterns.

Yes, it's all subjective, and depends on the reader's expertise and existing familiarity with the codebase. But arguing that code readability isn't at thing, because it's subjective, is an absurd take. Would you claim that Joyce's Ulysses is equally readable as Seuss's The Cat in the Hat?

PickledChris · 3 months ago
I see this argument pattern a lot, so looked into what the name is. Apparently it's called Sorites paradox: https://en.wikipedia.org/wiki/Sorites_paradox or the "continuum fallacy" in which something that's continuous is dismissed as not existing because we can't divide it into clear categories.
PickledChris commented on Do the simplest thing that could possibly work   seangoedecke.com/the-simp... · Posted by u/dondraper36
egorfine · 4 months ago
> What’s wrong with doing the simplest thing?

Staff. You've got developers and they will continue working on a product oftentimes way past the "perfect" stage.

Case in point: log aggregation services like Sentry/etc. It always starts with "it's so complex, let's make a sane log ingestion service with a simple web viewer" and then it inevitably spirals into an unfathomable pile of abstractions and mind-boggling complexity to a point where it is literally no longer usable.

PickledChris · 4 months ago
This is an interesting point, but there's slightly more to it than that. When something is simple and does the job well, it has limitations. The problem is that adding each subsequent feature has a small benefit and a small, but immeasurable cost. Sometimes that cost outweighs the benefit, but knowing that before the fact is very hard, and removing features is almost impossible as people shout disproportionately loudly about losing things.

It's similar to the problem of regulation. Looking at each individual law, it often seems reasonable. It's only when there are 10,000, and everything grinds to a halt, that people realise there's a problem.

PickledChris commented on 'Positive review only': Researchers hide AI prompts in papers   asia.nikkei.com/Business/... · Posted by u/ohjeez
IshKebab · 6 months ago
Agent-style AI can run shell commands. You have to accept them but some people live dangerously and say Yes To All.
PickledChris · 6 months ago
I've been letting Gemini run gcloud and "accept all"ing while I've been setting some things up for a personal project. Even with some limits in place it is nervewracking, but so far no issues and it means I can go and get a cup of tea rather than keep pressing OK. Pretty easy to see how easy it would be for rogue AI to do things when it can already provision its own infrastructure.
PickledChris commented on We're not innovating, we're just forgetting slower   elektormagazine.com/artic... · Posted by u/obscurette
alganet · 6 months ago
You're changing your argument.

Before, you said people _can't_ (in general, anyone that knows how to code cannot possibly learn how circuits work).

Now, you're saying that _you don't want to learn_. That's on you, buddy. Don't project your insecurities on the whole IT field. People can, and will, learn across many layers of abstraction.

PickledChris · 6 months ago
That is because you are replying to two different people.

People can learn across layers of abstraction, but specialisation is generally a good thing and creates wealth, a Scottish guy wrote a good book on it.

PickledChris commented on LLMs are cheap   snellman.net/blog/archive... · Posted by u/Bogdanp
prmoustache · 6 months ago
LLMs aren't cheap if you consider the impact on the climate and the cost that comes from it.
PickledChris · 6 months ago
I will preface this by saying that I care a lot about climate change and carbon usage and AI usage is not a big issue, it is in fact a distraction from where we should be focusing our efforts.

https://www.sustainabilitybynumbers.com/p/carbon-footprint-c...

PickledChris commented on The Guardian flourishes without a paywall   nymag.com/intelligencer/a... · Posted by u/bookofjoe
smcl · 9 months ago
It is one of the better UK papers but the bar there is extremely low. They're often still painfully "both sides" on things, they're slow on the uptake and they're often quite credulous. Wonderful example that I had scrolled past shortly before I switched tabs and read your comment: https://x.com/Obseyxx/status/1906396387031368067

As I said, they're the best of a bad bunch but that's damning with faint praise.

PickledChris · 9 months ago
They've gone downhill in the last few years in my opinion, they've become more overtly partisan and got substantially downgraded on factual reporting by MediaBias Fact check: https://mediabiasfactcheck.com/the-guardian/

They've always been left of centre, but they're lazy and jump more into the predictable culture war pandering.

The FT is streets ahead of anyone else, they've become more centrist and less dry in recent years. I don't know what their revenues are like but I'd wager that they're doing better as they're one of the only ones with a business model that allows them to pay for good journalism.

PickledChris commented on Claude can now search the web   anthropic.com/news/web-se... · Posted by u/meetpateltech
Workaccount2 · 9 months ago
It's kinda like online games. Most people who play a game are not too great at it, a large subset is pretty good, and then it's smaller and smaller groups as the ability increases.

At the top you get the people who are true pros, they write the books, the guides, they solve the hardest problems, and everyone looks up to them. But spin the wheel and get a random SWE to do some work? It's not gonna be far off from an random 1v1 lobby.

PickledChris · 9 months ago
PickledChris commented on Natural occurring molecule rivals Ozempic in weight loss, sidesteps side effects   medicalxpress.com/news/20... · Posted by u/pseudolus
crazygringo · 9 months ago
Please, if you write regexes like these, comment them...

A great way to do it is to split them up by concatenating them across a bunch of lines, and put a brief explanation at the end of each non-obvious part (to the right, on the same line).

Plus that also lets you indent within nested parentheses, making it that much more understandable.

I'm baffled when I come across a file like this where the code itself is heavily commented, but a gnarly regex is not. Regexes are not strings, they are code -- and with their syntax, they need comments even more.

PickledChris · 9 months ago
Great advice that is a bit redundant with LLMs, no? They're pretty great at all forms of translation.

u/PickledChris

KarmaCake day37August 26, 2024View Original