Hacker Newsnew | past | comments | ask | show | jobs | submit | eithed's commentslogin

When I read articles like this I find myself agreeing with finitists = accounting for infinities in real scenarios isn't worth it (and should be capped). This worked for Heartstone.

To be fair I worked with engineers who used codebase as their own playground. You're interested in this methodology, language, pattern? Fuck anything else, fuck any standards that the team has, fuck other people that will have to cleqn after you and the outages you're causing - you just go hog wild, your friend approves PRs, nobody else understand what's going on because you decided to write something in brainfuck and then, after you leave I can see you give presentation about how brainfuck driven development is the next big thing and how your consultancy will solve every problem one might have

scenario you describe not far from the situation we are now in, except the brainfuck code is being written by general requests to one kind of coding LLM or another

I can see where the code so brilliantly crafted today, and unintelligible to it's inheritors, would result in the same kind of frustration...

...except no human to stare in the face and scream at


Agree. The problem is that managers tend to move their responsibility onto engineers. Should I need to understand why do you want to build X that does Y? No, I should get a spec where you describe the outcomes. Each to their domain - devs to technical, product to business. Instead I learn why the sprockets are of flubber color because it resonates with women aged 10-30

Yes, completely agree.

I don't know about the first one - depends on the culture and the team. In my current place: I've made the team care about DDD, documentation, static analysis, standardisation. Similarly other joiners have made me care about things I didn't. What I'm saying here - if you're alone, you're correct

What does if you are alone, you are correct mean?

Sorry, I meant

> Don't force business to care about something that they don't (it won't end well for you) Equally Don't force yourself to care about something that you don't (it won't end well for you)

this is correct if you're the only person that cares about something


Ada is missing from that list

> Kurtaj hacked Rockstar using an Amazon Fire Stick plugged into his hotel room television along with a Bluetooth keyboard and mouse.

I'm now wondering what is the state of cybersecurity at Rockstar


Well, a Fire Stick runs a fork of Android, so you could probably get Termux running on it, at which point you've got the nearly same set of cybersecurity tools you'd get on a proper Linux workstation.

The creativity of thinking about doing that is impressive, but the actual act isn't more complicated than if he'd hacked from a laptop.


Agree here. At my current place we have LLM apply deterministic rules where given thing cannot be checked statically. For example - all unit tests shouldn't access database. This can be checked statically. All comments should document why, rather than what - this cannot.

Humans tend to bring up things that matter to them + correctness, when they have time to think about it.


You can test comments with a decision model like Jev.

The context is: > At my current place we have LLM apply deterministic rules where given thing cannot be checked statically.

So in this example quality of comments is checked my LLM and not statically


We've done similar thing as the OP, I think it will be 2 months now. Our processes were pretty focused on spotting defects beforehands already: we have standardised tasks defined with ACs following given/when/then format that we can write behaviour tests for, we have automated linting, static analysis, automated tests. Then there's also round of tests: both QA (LLM/human driven) and UAT (human). Since I joined we have added architecture tests to that mix, including static as well as LLM guided that look at how code is built and organised + writing documentation for what is being built / product rules (LLM driven). Looking at the stats - the amount of merged PRs has trippled, the amount of issues is decreasing, PRs time-to-merge went down to roughly a day (I don't attribute this particular metric to usage of LLMs in review process).

What I've noticed = good sides: LLMs are better than humans in spotting edge cases and reviewing code, given they have established conventions and standards (I saw PRS that I'd approve, but LLM was pedantic in reviewing a comment or class name); they are good in finding connections, ie I've had many cases where an agent built something where there was no guidance in the ACs and the reason was that it found related tickets in Jira mentioning given thing and filled in the functionality. LLMs are "cheap" to run = one can run review process for multiple PRs at the same time and forget while they run; they code defensively requiring developer to intervene - for example: I'm working on functionality where user is assigned to review a thing. Only one user can be assigned to review given thing at a time and there are checks for this. In last 3 PRs LLM is telling me - add locks because if there are multiple people reviewing given thing at the same time then the data will be lost. Yes, if we ever change business rules in this place this can happen. Finally LLMs are semi-consistent; sure sometimes they'll do stuff for shits and giggles following some convention I've not seen anywhere in the codebase, I ask what happened, and it tells me it picked it up from some tangentially related legacy place. Most often they follow already established conventions / adhere to rules in place.

Now the bad points: many times QA catches things that would emerge during planning or if developer would question what they're building or look at their work thinking critically (I find it that people are loosing the ability to question things) - LLMs dont help with preventing this from happening. People are loosing track of domain and product rules - in the places I've worked I was never just a developer, I was always a developer/something (forever to my dismay), so during planning or review I could say, from product perspective: this doesn't make sense, we don't need to build this. This no longer happens - there's no time where I can remember the rules that govern the product; PM often becomes the bottleneck of what the rules should even be. I'm also finding that people do not develop good taste - this piece of code that LLM used? Sure, looks good, go ahead, ship it. Path of least resistance is becoming a norm. It's also easier to create bigger PRs.

Anyhow - I'm old and tired, so sometimes I'm finding the LLM pros are greater than cons


PRs with conflicts will display the same way as without. The only difference is a button "Resolve conflicts" button in the middle of the screen that does nothing (your conflicts are unresolvable in web interface).

edit: not even that! getting conflicts is a separate API call, that you've got not indication whether is happening or not ie just had a PR, everything is fine, can be merged! go back to classic view - it's unmergable because it has conflicts.


You can annotate the method as `@return array<array-key,string>` or even `@return list<string>` (array of strings = indexed via anything that can be used as a key in PHP vs list of strings = indexed via incrementing integers, starting from 0). I guess the OP suggestion was to use Arrayable / Iterable interfaces, which would work as well, but would require more effort (= yes, declare a class)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: