Better HN
topnewbestaskshowjobs
Log inSign up

lintfordpickle

60 karma · joined Aug 19, 2024 (2y ago) · 30 submissions

Submissions

comment 2mo ago · link · parent

yes, that and I've noticed many scrollbars have very little contrast with the background color, making them ever more difficult for me to see.

comment 2mo ago · link · parent

Thanks for the reply. I didn't mean to be dismissive or discredit the article.

The problem you described is real, and one I face daily at work. Anecdotally, every time we've tried to curate the comments and organize them (especially when referencing external documentation, as you also mentioned), it invariably ends up becoming stale and just another point of contention down the road.

I'm now more of a proponent of either not commenting, or putting the context and rationale in the commit message instead.

comment 2mo ago · link · parent

I disagree with the overall sentiment of this article. I wouldn't say comments are never useful, because they certainly can be. But once verbose commenting becomes the norm, people (and now especially LLMs) will overuse them, making the code unnecessarily obtuse and difficult to read. And the point about maintenance is real.

There are also a couple of 'pointless' statements in the article itself:

> "Use a combination of in-line and standalone comments, depending on the situation"

isn't that just every kind of comment?

comment 2mo ago · link · parent

I think the point is, if you click the '2.0s' button, you cannot re-focus on the input field for those 2 seconds.

comment 3mo ago · link · parent

What an incredibly obnoxious comment.

comment 3mo ago · link · parent

> How would you call decades of ...

I'd call it a whataboutism

comment 4mo ago · link · parent

only to be followed by a bout of targeted advertisements for Ozempic and diarrhea tablets :(

comment 5mo ago · link · parent

It sounds like you are massively overthinking it. When you pre-order anything, you need to enter a shipping address. Why would you need to consider anything beyond that or require 'dedicated' logistics?

that's not to say I don't like Valve's solution - I agree, it is very nice

comment 5mo ago · link · parent

although, somewhat ironic to your argument, I bet the intro that fornite plays when starting the game uses ffmpeg

comment 6mo ago · link · parent

>> and still largely understand the code [...] ,that, I feel has made me a better engineer

the cynic in me would say that a good engineer should fully understand the code you write.

I'm not suggesting that AI is the problem here - you could vibe code with the AI have have it explain the reasoning and patterns - or else tell it to use 'simpler' patterns from the outset. For any one problem in software engineering, there are always multiple solutions; some slower, some faster, some more flexible etc. The code you produce should, imo, but at the level that you can understand it.

How can you reason about code you don't fully understand? How can you judge the future impact (technical debt and the cost of maintenance) of your projects?

A.I makes it easier to get yourself into problems early on.

comment 6mo ago · link · parent

>> "We've been working through some significant changes inside GitLab over the past few days"

I can't seem to get past this - all these decisions (and a work-force reduction :() are the result of a few days of pondering? I've had stomach aches that have lasted longer ..

comment 1y ago · link · parent

I found the article interesting, but I don't think I understand what is meant by 'Write Last, Read first' rule - even after reading it a few times. It seems to be too ambiguous a statement to be helpful.

Under the section 'Order of Operations':

> "Since the system of reference doesn’t determine existence, we can safely write to it first without committing anything. [...]"

Then the next paragraph

> "This principle—Write Last, Read First—ensures that we maintain application level consistency."

What I think it means is, 'writing-last to the system-of-record' and 'a read-first from the system of record' yields authoritative results, but I don't get that just from the title. Is my understanding correct?

comment 1y ago · link · parent

If the UK news is made up of 90% US politics, and 10% UK politics, then I would say that is definitely bizarre.

comment 1y ago · link · parent

yeah, the confirmation box makes the issue slightly less egregious, but having trash and delete next to each other in the context menu is imo still an issue.

comment 1y ago · link · parent

yeah I just tried the windows build and they are indeed behind a confirmation box (for both trash and delete). That's not the impression I got this morning from reading OP's comment

comment 1y ago · link · parent

I have to ask because I just can't wrap my head around it, what does 'ability to listen to audio files inside the editor' mean for a text editor?

comment 1y ago · link · parent

While I understand your point, and think you are correct - if the 'Trash' button is not behind a confirmation box, and it's not undoable, then that is a pretty terrible design choice.

comment 1y ago · link · parent

> "That has been repeated in the comments many times now, but the very headline says that this tutorial was indeed also intended for non developers"

tbf, that's not how I read the headline. The headline is: "How I, a non-developer, read the tutorial you, a developer, wrote for me, a beginner"

The author is a beginner, which puts them in the field - so the parent comment is valid no?

comment 1y ago · link · parent

I'm not necessarily disagreeing with you (because apparently this is missing), but a descriptive constant/variable name would be even less clutter than even a 1-line comment

comment 1y ago · link · parent

>> No one would implement a bunch of utility functions that we already have in a different module.

to be fair on this one, and while I don't flat out disagree, lots of people reinvent utility functions simply because they don't know they exist elsewhere, especially on huge code bases. This seems to get mostly rectified within the PRs, when a senior dev comments on it - the problem then is, you've only increased the number of people who now know by 1.

comment 1y ago · link · parent

I was contemplating writing something similar, but am often hesitant to post negative comments, but the pricing (without even considering the user and seat restrictions) of this is just crazy considering it's ultimately a GUI wrapper of the CLI tool.

comment 2y ago · link · parent

> as the problem seems to be general conduct in social media

is that the problem? I'd have thought the problem is more about the ill effects of social media on children, not the children's behavior on said social media.

comment 2y ago · link · parent

Signing in to MS to use notepad? Nah I don't think so

comment 2y ago · link · parent

A really cool project and I like the layout a lot. There a a few things that would be nice to be able to customize, like heading sizes and font, but on the whole this is great work.

comment 2y ago · link · parent

I don't think the problem is necessarily space, but rather write-limits being used by superfluous logging