Better HN
topnewbestaskshowjobs
Log inSign up

disillusionist

92 karma · joined Aug 27, 2024 (2y ago) · 17 submissions

Submissions

comment 1w ago · link · parent

Emotionally I agree with you but practically I don't. Who today is actually "taking full responsibility" for the software that they write? AI written or not? Aren't all licenses and user agreements laced with "use at your own risk" and suitability clauses? If my software has a bug in it that causes a catastrophic head-crash in your hard drive, should I be expected to reimburse you for the cost of the drive and the value of its content? Could you clarify what "full responsibility" you're hoping to see?

comment 1w ago · link · parent

I feel similarly about this. I spent time on-and-off over the course of a week "vibecoding" a project that will hopefully meet a particular need of mine. Once I've worked out the bugs, I'll probably open the repo public and if others also find the project useful then that's great! If not, move along. Could someone vibecode it yourself? Yes, go ahead- and it will probably meet their specific need better! But if you want something now, "off the shelf", that will probably do most of what what? Well, I've done that week of slop-work for you.

comment 1w ago · link · parent

This is a question I'm also grappling with. I undergrad I took C++ classes but my Computer Engineering / Electrical Engineering friends were taking C or assembly classes and there seemed to be a slight undertone that more abstracted languages were "lesser" because you didn't understand things at the machine level. I believe people feel that AI is different from "just another abstraction layer" because of the nondeterministic nature?

comment 1w ago · link · parent

I've worked on a couple vibe coded pet projects now. I wouldn't say that I "wrote" them but I would say that I "designed" them and might even say that I "made" them as it took quite a few back-and-forth passes before I was happy with the results. But to your point, one one of those projects I don't fully know "what's going on". Even though I could open the source and grok the code after a brief inspection that's not really the point of that exercise.

On a different note, AI tools have been great at combating corporate bureaucracy! If the Big Man says that all modules need unit tests with 80% code coverage, you can give the agent that task and then move on to more interesting hard-thinks.

comment 1w ago · link · parent

My personal opinions on AI and AI usage in software development have fluctuated in the past year, especially as I've used it more in my professional work. As AI becomes more deeply embedded in the tools that I use, I struggle to identify a hard line on what "Made with AI (tm)" actually means. If I'm using it for refactoring work as basically a glorified "find-and-replace" or to help me track down the cause of tricky bugs through trace files, does that make my work "made with AI"? (I think "yes it does" and would follow up with "but does it matter?") If I send an agent to complete a JIRA ticket on a system that I designed, read the diff, and approve the changes - does that invalidate my prior design and development work? (I think "no".) If I use a website builder, a 3rd party library, or one more abstraction layer past what is currently acceptable, should that change how others or I feel about that project? I'm not really sure, but since I work on business software I don't think my customers really care about how the sausage is made; they're mostly looking for results.

I do, however, see a massive difference between "AI as tools" and "AI as creative director". I agree with the mindset of "I want to hear stories from humans" and "I want to experience creative expression from humans". But some of the current discussion feels like the arguments we had back in the day of whether Photoshop/digital media/video games were "real art" or not. If a human has creative vision and uses a robot stir-er to mix their paints, I don't think that should invalidate their painting. We can still judge it, though.

comment 1mo ago · link · parent

I seem to remember a hidden menu option in Monty Python and the Holy Grail's DVD menu labeled something like "Menu Reader for the Hard of Hearing" that, when selected, had a cast member start shouting the menu options at you. It was quite humorous to me as a kid.

comment 4mo ago · link · parent

holy gorilla! i think QBasic Gorillas is the first graphics game i have memory of playing as a child. i remember attempting to read the code as a kid and being wildly confused by it. thanks for the brief trip down memory lane.

comment 6mo ago · link · parent

I've been using this pattern for the past couple years for the benefits the author mentions. In addition to that, it can help with overly complicated functions (which, ok, could probably be refactored) that have multiple optional arguments.

comment 10mo ago · link · parent

My company just finished a several week review period of Greptile. Devs were split over the usefulness of the tool (compared to our current solution, Cursor). While Greptile did occasionally offer better insights than Cursor, it also exhibited strange behavior such as entirely overwriting PR descriptions with its own text and occasionally arguing with itself in the comments. In the end we decided to NOT purchase Greptile as there were enough "not quite there" issues that made it more trouble than worthwhile. I am certain, though, that the Greptile team will resolve all those problems and I wish them the best of luck!

comment 1y ago · link · parent

i can only speak to my personal experiences and not the entire "Job Market" but i have seen qualified, competent team members let go during "positive transformations" and expectations that their workload will be covered by others while corporate crows about how using AI will be such a force multiplier for those who remain.

comment 1y ago · link · parent

To me, I see pushing rules boundaries as part and parcel with exploring fantastical worlds. Elves, dwarves, and dragons exist. Those aren't "real". Magic spells that allow you to fly and shoot fire from your finger-tips also exist but also aren't "real". If we're already breaking biology and meta-physics, why assume basic physics works exactly the same way either? For some, I think it is re-capturing the child-like attitude of wonder, excitement, adventure, and asking the question "what if?". This, of course, may be tempered by campaign tone; something that might happen in a DnD campaign but likely not in Call of Cthulu, Kids on Bikes, Monster of the Week, etc

comment 1y ago · link · parent

If we were trying to create a real-time simulation system, then YES you are totally correct. However, many table-top RPGs rules only make sense in the context of adjudicating atomic actions (such as one creature passing an item to another) rather than multi-part or longer running activities. Readied actions are already a bug-a-boo that break down when pushed to extremes. While not listed in the rules, it might make sense for a DM to limit the distance or number of hand-offs that the "rail" can travel in a single round to something "reasonable" based on their own fiat.

comment 1y ago · link · parent

I just Write Like That. It always takes me longer to write things than intended because I tend to overthink things, too. :/

comment 1y ago · link · parent

I personally adore the Peasant Railgun and other such silly tropes generated by player creativity! Lateral problem solving can be one of the most fun parts of the DnD experience. However, these shenanigans often rely on overly convoluted or twisted ways of interpreting the rules that often don't pass muster of RAW (Rules As Written) and certainly not RAI (Rules As Intended) -- despite vociferous arguments by motivated players. Any DM who carefully scrutinizes these claims can usually find the seams where the joke unravels. The DnD authors also support DMs here when they say that DnD rules should not be interpreted as purely from a simulationist standpoint (whether physics, economy, or other) but exist to help the DM orchestrate and arbitrate combat and interactions.

In the case of the Peasant Railgun, here are a few threads that I would pull on: * The rules do not say that passed items retain their velocity when passed from creature to creature. The object would have the same velocity on the final "pass" as it did on the first one. * Throwing or firing a projectile does not count as it "falling". If an archer fires an arrow 100ft, the arrow does not gain 100ft of "falling damage".

Of course, if a DM does want to encourage and enable zany shenanigans then all the power to them!

comment 1y ago · link · parent

because i'm likely going to refactor this function "tomorrow" with additional properties. :)

comment 1y ago · link · parent

you can do this rather easily by returning an object rather than a primitive. if you're using a language like TypeScript, destructuring the resulting returned object is rather trivial and (in my opinion) delightful to read. eg

  function combineNames({ first, last }) {
    const fullName = `${first} ${last}`;
    return { fullName };
  }
  const { fullName } = combineNames({first: 'John', last: 'Doe' });

comment 1y ago · link · parent

I started using this pattern years ago and haven't looked back. React components are defined using a single properties param and it feels natural to extend the practice to other methods and helper functions that I write.

One nice unexpected side effect is that I end up with more consistency in variable naming when using a param object in order to benefit from object definition shortcuts.

ie I will usually write something like

  const firstName = getFirstName(); doTheThing({ firstName });
rather than

  const fName = getFirstName(); doTheThing({ firstName: fName });