Better HN
topnewbestaskshowjobs
Log inSign up

needfish

33 karma · joined Jan 15, 2024 (2y ago) · 29 submissions

Submissions

comment 5d ago · link · parent

I think I would start by finding analogies to something familiar, then dig into detail comparison to find where that analogy breaks down. Refine your mental model on the way, like how textbook memorisation breaks down when encountering practice problems.

comment 6d ago · link · parent

Basically Scapegoat Engineer; sit there, can't own the process, but be the face of responsibility if something goes wrong.

comment 1w ago · link · parent

The text itself reads to me like AI-edited.

comment 1w ago · link · parent

first time I have seen someone mentioning connascence since my obsession into program design research.

comment 1w ago · link · parent

Kafkaesque systems at scale

comment 1w ago · link · parent

> Can they translate business requirements into code?

I have been looking for resources that tackle/teach/learn this translation part, but so far hasn't gotten any hits. Can anyone here point me to such a resource, if it exists?

comment 3w ago · link · parent

Thank you, this is what I've been seeing. Structs and objects are easy, but the hard part is encoding the domain most accurately into given data types of the computer (or creating new data structures to solve the problem!)

If anything, I do expect the casual non-tech users to be making the most adaptable software because they have what they want in their head. Although, part of what the dev does is figuring out the weeds, and only a part of users have the patience to sit through detail corrections. And the AI user has to verbalize their wants exactly too.

comment 3w ago · link · parent

In my opinion code works when it works so there is less reason to care about the weeds. When code is a communication of intent between people, or even just between a person and their future self, learning to encode that intent well into the code takes practice. There are entire fields people have developed over this, like domain-driven design or data-oriented programming, ensuring the data shows what it means semantically.

It is impossible to reconstruct the intent/spec from the code. More often than not the intent is not clear in the code, and one has to track down the original author to check their context and decision at the time.

As the saying goes, naming things well is a hard problem. It's kinda mystical in a way, where only by knowing an entity's true name will one understand it.

However if it's communicated between agents one may care even less.

comment 1mo ago · link · parent

I have a custom build of this font, use it everywhere now. One thing is that the width by default is too compact and the extended is too wide for my taste. Upon searching I found somebody's build that has width 576. I don't know why that number, but I used it in my current builds and it turns out pretty much perfect for terminal use for me, just wide enough.

The hookiest tail for lowercase l man, love it.

Even for my own website, with some tighter tracking and it can work okay as a text font.

Another great customizable font is Maple Mono [0]

[0] https://font.subf.dev/en/

comment 1mo ago · link · parent

Attention is the limit for consumers, agree. I do wish for more Games that stay their course and don't overstay their welcome with fetch/grind quests, although balancing that pacing within storylines, or maintaining engagement/overwhelm balance is pretty much in the game maker's art form. Also retiring the concept of game hours per dollar spent.

comment 1mo ago · link · parent

The recently popped up clean room implementations of software, along with the video game decomp/recomps, make me believe this is the case. That would mean only those with significant legal representation/protection are safe (big corporations, institutions, govt and military). Protection comes from applying strong legal force through TOS and a favoring law environment. Also means the big players can strongarm taking ideas from individuals without recourse, which is already happening right now, just going to be even more onwards.

Protection of law in this way, I believe stops at the national borders (e.g the Chinese cleanrooming US software would be safe), so I do expect this clean room trend to be a war of attrition at the nation state levels.

comment 1mo ago · link · parent

Not even needing the AI to think that, US consumers of the electric grid are already subsidising the unpaid bill of data centers. Just need those who are in charge of infrastructure to prioritize the AI consumption over humans, and shifting the books to make humans pay more for resources.

comment 1mo ago · link · parent

I had a server-side app made for personal stuff, and pico.css drop-in is a pretty good baseline for an usable UI/page. Also visited some web hosts and their sites look perfectly serviceable with Bootstrap. I think it's a good way to railroad some of the more egregious things LLMs might do with regards to CSS.

comment 1mo ago · link · parent

Jetbrains Mono seems far from boring in my eyes though. It's for code and it's annoying me quite a bit when I see it in big H1 sizes.

comment 1mo ago · link · parent

Pretty funny that I came up with the exact same thing for run-on sentences and passive voice, no sentence fragments, no if, no contrast-ives (not X, it's Y). Everyone is fighting the same battle with their LLMs it seems

comment 1mo ago · link · parent

Side point regarding the hand the author draws on whiteboard: it looks off because the finger joint closer to the fingertip cannot bend as much as the joint closer to the knuckle. Some artist taught me this on a YouTube video. It does make me think about how to teach and explain these intuitions you have to really put to words what is different, what looks off etc. and more importantly how to fix them. Coding might be the same case, I think? Maybe LLMs can help here.

comment 2mo ago · link · parent

No hope, huh.

comment 2mo ago · link · parent

The issue that I have with this "skill issue" argument is that it is essentially "screw you, got mine". Whether it is teaching programming or going up to making software, it has always been an intractable problem to bring experience, heuristics and intuition to words, something teachable, transferrable. Ok, senior engineers with 30+ years of experience say they are using it right and I'm using it wrong, what do I do with that information? Back to sink or swim, just at a massively faster pace than before.

For the part, I do believe there is a way to gain the "eyes of experience" without spending the years, just not sure exactly how.

comment 2mo ago · link · parent

I wish AI could do my chores. Laundry, folding clothes, dishes, cleaning... That would be nice.

comment 2mo ago · link · parent

Personal two cents, I have friends whose music work posted on YouTube were scraped to be in LAION-DISCO-12M, so yeah not very open.

comment 2mo ago · link · parent

It's just a markdown file. To pack it up and call it a skill people often add some metadata to the top of the file. Here's a fancy guide https://agentskills.io/home

comment 2mo ago · link · parent

Text is very AI-flavored...The author may consider reading applies to normal text too...

comment 2mo ago · link · parent

Useful read, but man the AI writing makes me glaze it over. Could have been much shorter and to the point.

24.

Ask HN: Software Design resources on the lower/class/module level

1 points · by needfish · 3mo ago · discuss

comment 3mo ago · link · parent

Hi, CS graduate here. during my post-graduation unemployed year I have been wrestling with this question a lot. The answer is that there is none - the research on the practice of translating requirements into code has stopped in the 1970s with Structured Programming (Dijkstra) and Problem Frames (Jackson). There is a certain inspiration people had with reusable patterns of problems a la Alexander, but after some time people got lost in the Java enterprise world and started making "design patterns" (which has very much dominated the online space and I cannot search properly for general software design anymore). The second problem is with Clean Code, which to me is a really bad set of "if you know you know" hand-wavy advice that is purposefully vague, because observable, actionable advice is actually very hard to come by.

I think when people say software engineering, they confuse the high level designs (server, caching, db, etc. generally interaction constraints) and the lower level designs (modules, abstractions, classes, data structure design). There is a lot of content on the former but really few on the latter - which is some people cannot write new code, but can work on existing systems fine. Two main problems is 1. How to break down the problem at hand and 2. Organizing data into abstractions, and often creating new ones.

For (1) the advice everyone resorts to is "just do more" and rely on pattern recognition, because you can't really break down a thing you haven't seen nor can relate to what you've seen before. But there is [A Framework for Decomposition in Computational Thinking](https://www.researchgate.net/publication/334579725_A_Framewo...) that's the best attempt at it so far in my opinion. Some other approaches involve observation from ideal user flow and software ideal behaviour, or UI wireframing to see what elements should be there.

For (2), this also has the problem of organizing (which code goes into which file, which function does this belong to) and naming. For organizing data, I will recommend [The Many Forms of a Single Fact](https://www.bkent.net/Doc/manyform.htm) and the first chapter of [Data and Reality](https://cmpct.info/~calvin/Papers/Data%20and%20Reality.pdf) to see how impossible it is to create exactly correct representations in code. In areas that's entirely inside the box (e.g graphics) people don't often deal with messy representations of real world domains, but in business software they will do much more.

On the naming side, the first chapter of [Elements of Clojure](https://elementsofclojure.com/) was a really good attempt, making me realize it is way deeper into philosophy than anyone would like to wander in.

That said, the way software engineering discussion has been so far is very much influenced by the programming languages of the time (see Java), and so my recommendation is to try to learn concepts of organization independently, and see what its workaround is in your active language (e.g algebraic data type is sometimes useful, and people try to do it with sealed classes in Kotlin or interfaces in TypeScript). Once you have a good grasp of one tool (with all their warts, they all have pains), you'll find the capability to experiment.

comment 2y ago · link · parent

This might be what push me to buy Townscaper

comment 2y ago · link · parent

As a college student learning Web stuff on my own, this is a pretty nice thing to spend summer on.

comment 2y ago · link · parent

Looks like SocialFocus, but more extensive options and only for YouTube. Seems great.