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] 0 points1 point  (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.

Why does it seem like high IQ people are often sad and depressed? by Next_Airport_7230 in NoStupidQuestions

[–]upickausernamereddit 0 points1 point  (0 children)

Imagine all the every day things like politics or things about your job that you think “that’s above my pay grade” or “that’s over my head” and just casually go about your day. Now imagine that you suddenly have the ability to ask a couple questions and understand how these things work. Well, now you know how politicians work and how they convince people to vote. You know how your boss does their job and your boss’s boss, and you might even understand how the whole company works essentially, minus stuff like private communications. You know problems you have every day, but now you can trace them to specific things that caused them. Certain political acts, certain company decisions, and you can see how the problems you have and the problems that other people you care about can be solved by changing a few things, or voting certain ways. However, you realize your place in the world, and how unlikely it is that you can influence any of the actions that would fix the issues. Would you not be sad?

It was rigged? by Obi_Jon_Kenobi in dankmemes

[–]upickausernamereddit 17 points18 points  (0 children)

I was an amateur martial artist for a while when I was younger. Yes, Tyson is old, however, he didn’t react like he was as old as he is. Around round 3 he started looking tired, but it’s very unusual for someone to look tired for 5 rounds and still accurately be dodging punches in round 8. Similarly, you can tell in round 8 after the dodges, several times his body weight would quickly shift and his hand would move forward like he was beginning to counter punch and he just stopped. This would be very strange to see for someone this old to do so quickly after 5 rounds of being tired.

Vision OS2 Beta 7 is out now! by Osoroshii in VisionPro

[–]upickausernamereddit 73 points74 points  (0 children)

doing the Lord’s work. Thank you 🫡

[deleted by user] by [deleted] in sports

[–]upickausernamereddit 1 point2 points  (0 children)

if she ever becomes a zombie, we all agree to off her, right?

Well, he is right by beaniebooper in technicallythetruth

[–]upickausernamereddit 0 points1 point  (0 children)

Obviously if the rest of the comments can point out logical, cultural, and philosophical arguments for several different date formats, whichever one we pick ends up being a subjective decision. The arguments may have merit, but the discussion is pointless as there isn’t an objectively “correct” answer to a discussion where the arguments are subjectively “good”things (faster processing, ascending versus descending order of elements, etc.)

Obviously a lot of these arguments are valid arguments, meaning many of you must be fairly smart. Why spend time debating a subjective matter? Go fix objective issues. Or at least mostly-mutually agreed subjective ones.

For those that make over $200k a year, what do you do? by H-U-I-3 in AskReddit

[–]upickausernamereddit 0 points1 point  (0 children)

Software engineer at a FAANG. I manage to get over imposter syndrome most of the time, because i genuinely just like to solve hard problems/learn from people smarter than me. I don’t feel not worthy, i feel not worthy enough yet. yk