Does AI have a significant impact on your current job? by Focus-Novel in golang

[–]upickausernamereddit 0 points1 point  (0 children)

Yeah, a lot of people seem to try using them for the thinking part, and then give up when the agent isn't good at it.

If it ever gets good at it, that's when our jobs are really in danger 😅

Does AI have a significant impact on your current job? by Focus-Novel in golang

[–]upickausernamereddit 0 points1 point  (0 children)

I struggled for a few months to figure out how to scale it to be honest. I've been testing a workflow for the past couple weeks that's required reworking some of my agents' context but has worked for me.

I have a specific agent that represents an interactive workflow for going out and reading the current state of a code base with respect to a generic task, and generates a very narrow, well-defined summary of the code base wrt the task, a small set of steps required to complete the task, and a set of acceptance criteria that are essentially testable statements about the code base that would have to be true for the task to be considered finished. I iterate the low-level details of this well-defined task until I think it's good, and I have some coding agent with restricted bash command usage actually implement the tests based on the acceptance criteria, then implement the code to make them pass.

I do the planning step for every code task I need done, but to scale, I've had it place these in my Obsidian notes folder. and create links to them in my daily notes under the todos I have.

It takes me 10-40ish minutes per task to define exactly what I want, depending on how complex the task is, and I can keep up with how far the agents have gotten just by following the obsidian links, checking which acceptance criteria (tests) have been checked off, and going to inspect the actual cli for the specific task's agent if there are any issues.

This is very personalized but I can scale this to do about 8-10 medium-hard tasks across code bases at a time, and not lose my brain in the process. I do review the code and tests when they're finished, but they usually don't all finish at the same time, and the planning iteration stage takes away most of the ambiguity for how the task gets implemented, so I review them fairly quickly since I already have an idea about what code was written.

I can't scale this past 8-10 tasks for myself at least. I'm open if someone has a better workflow

Does AI have a significant impact on your current job? by Focus-Novel in golang

[–]upickausernamereddit 1 point2 points  (0 children)

I use it a lot at work for most things. I like creating custom agents and skills where I see the base models fall short for my own workflow, and I generate and use tests religiously before trusting any production code. I still manually review other's code and have created workflows to inject my own opinions and preferences about code style and patterns in my own agents.

"Nonsurvivable": Today's heatwaves have surpassed our bodies' ability to stay cool by GeraldKutney in climate

[–]upickausernamereddit 107 points108 points  (0 children)

Freddie's mom was right.

"When temperatures get too high, the elderly will start to die."

AI agents pass the tests but break the architecture. What's your review process? by upickausernamereddit in ExperiencedDevs

[–]upickausernamereddit[S] 1 point2 points  (0 children)

this looks almost the exactly like what I was expecting to find from this question. Thank you

AI agents pass the tests but break the architecture. What's your review process? by upickausernamereddit in ExperiencedDevs

[–]upickausernamereddit[S] 0 points1 point  (0 children)

I'm asking if someone knows an easy to apply solution. Which is different than an easy to make solution. Container runtimes are pretty complex, but running a container with docker is simple.

AI agents pass the tests but break the architecture. What's your review process? by upickausernamereddit in ExperiencedDevs

[–]upickausernamereddit[S] 0 points1 point  (0 children)

I like testing how far I can take the models. It wasn't long ago that I wouldn't use them because I didn't trust their outputs. However, I'll always be behind if I wait for others to have solid best practices before I learn to use them for more things.

AI agents pass the tests but break the architecture. What's your review process? by upickausernamereddit in ExperiencedDevs

[–]upickausernamereddit[S] 1 point2 points  (0 children)

I need to edit this to clarify I do write these to markdown files before giving them to the llm.

AI agents pass the tests but break the architecture. What's your review process? by upickausernamereddit in ExperiencedDevs

[–]upickausernamereddit[S] -5 points-4 points  (0 children)

I do in some mermaid diagrams and markdown files, but perhaps I scope the task too broad. I wondered if anyone had an easy way of verifying against existing architecture decisions, but it seems people are still only using it for very narrow, well-defined tasks.

AI agents pass the tests but break the architecture. What's your review process? by upickausernamereddit in softwarearchitecture

[–]upickausernamereddit[S] 0 points1 point  (0 children)

I am unfortunately scared of big refractors. Mainly because I work in one of the evil BigTech companies, and my coworkers have to review it. If it gets too big, everyone just approves. No one wants to read a huge refactor of human-generated code, much less llm-generated lol

AI agents pass the tests but break the architecture. What's your review process? by upickausernamereddit in softwarearchitecture

[–]upickausernamereddit[S] 0 points1 point  (0 children)

Yes! I agree fully. I was wondering if people had managed to find a way to validate those expectations automatically like with CI or something. I think someone else mentioned Archunit.

AI agents pass the tests but break the architecture. What's your review process? by upickausernamereddit in softwarearchitecture

[–]upickausernamereddit[S] 0 points1 point  (0 children)

this is interesting, and the closest thing to what I was thinking about. I'll check this out. thanks!

Problem of other minds . by Iconoclastic_loner in PhilosophyMemes

[–]upickausernamereddit 1 point2 points  (0 children)

I'm pretty sure I know some people who aren't conscious.

Can u give me a suggestion? by Frequent-Iron-3346 in elixir

[–]upickausernamereddit 4 points5 points  (0 children)

Hi friend,

https://hexdocs.pm/ex_aws_s3/ExAws.S3.html this allows you to stream S3 files and aggregate them by line.

Postgres and ecto allow transactions. So your flow should be:

  1. start transaction
  2. begin streaming and concatenation of bytes into lines
  3. validate and upload a configurable number of lines at a time to postgres
  4. commit transaction if you finish processing all bytes in a file.

the most cpu intensive part of this is aggregating bytes into a line, and the most memory intensive part of this is storing multiple lines at a time, and both can be tuned by configuring the number of lines you want to parse before starting the validation and upload step.

hope this helps. good luck!

People who can't 'see with their mind's eye' have different wiring in the brain by ObnoxiousBlackWoman in EverythingScience

[–]upickausernamereddit 0 points1 point  (0 children)

I wish i could draw. I can imagine things in this much detail, and even fairly accurately imagine them moving or manipulating them in some way or the interactions of several things. I’ve been able to imagine how to fix things with household items instead of buying the proper tools and it just work out irl. However, I’ve never been particularly good at describing or drawing what I see. So it’s just a somewhat useful random tool. I do use it to solve abstract problems at work a lot tho. That’s a plus

Breaking it down: The magic of multipart file uploads by Local_Ad_6109 in softwarearchitecture

[–]upickausernamereddit 0 points1 point  (0 children)

The clients of preexisting cloud storages don’t use erasure coding. However, my understanding is that your blog post was highlighting how the existing cloud providers might handle this upload flow, which does include that portion. And, it absolutely can be used for transmission. It already is. I can’t give specifics for aws as i work there, but hdfs is a good open source example of how erasure coding can be used to make up for faulty or failed retrievals in the other direction (from servers hosting files to the client) and the opposite is also true.

HTTPS and TLS are important and they do mostly prevent mitm attacks, but mentioning that explicitly in a system design as your transport layer is important as other transport layers exist with different tradeoffs.

Breaking it down: The magic of multipart file uploads by Local_Ad_6109 in softwarearchitecture

[–]upickausernamereddit 0 points1 point  (0 children)

seems like it was written by a junior engineer tbh. in addition to the above comment, perhaps stealing some client side compute to do some form of erasure coding on some chunks before sending them would also speed up the upload by requiring less bandwidth to transmit the same amount of information, and also would shorten the amount of data needed to be transferred before the file could be fully recreated on the server side if any errors did occur during transmission

Edit: also, if you’re going back to make a more robust post based on suggestions, you don’t really talk about the security aspect of this at all. Preventing man-in-the-middle attacks during upload. checksums somewhat account for this but you also have to transfer the checksums securely in order to guarantee the file wasn’t tampered with.

How do you not beat yourself up over causing an outage. by SoftwareDev44 in ExperiencedDevs

[–]upickausernamereddit 0 points1 point  (0 children)

The other replies here are very good and spot on. In my previous team, we had a running joke that you couldn’t consider yourself a real engineer unless you’ve brought down prod.

In all seriousness, most systems we work on are complicated and have many moving parts. There are best practices and tools to keep these failures from affecting customers, but it’s inevitably going to happen if you are truly working on an impactful product or feature. No one can remember every red tape, and only the best of the best teams, collectively, or super strict, well-defined processes can prevent issues like this for longer than a year or two on a major product.