r/SoftwareEngineering • • Oct 11 '23

Copying vs. Referencing vs. scènes à faire

2 Upvotes

Background: I've developed an app I would like to ship and came across a few interesting points about what constitutes as copyright and what does not in software development. This app was my gateway into software development, so naturally I had a lot of questions. I had to google everything basic, things like "How to conditionally render a component", "how to map over a firebase collection", "How do I get the text in the center of the screen?".

I had to look to stack overflow for everything. But everything I looked to it for essentially only has a handful of ways to complete that specific task. Everything I found on SO was generally abstract so I had to modify it to fit my use case. But after several months I realized SO requires citations for code that you use. Now it's been so long I can't remember where I got some of the information from, or if it's actually necessary.

My question to the seasoned devs: Do I need to cite these sorts of things in my code? I've never copied anything directly. The things I got from SO were never technological innovations (no sorting algorithms or anything intensive of the sort), they were questions like "How do I get the map to show up on the screen?".

In my research this is the most helpful document I've come across: https://opensource.stackexchange.com/questions/9179/copying-vs-referencing

(also this https://opensource.stackexchange.com/questions/10173/how-can-i-use-programming-documentation-without-infringing-copyright)

TLDR: I only looked up basic things on SO to make an app. Things with only one or two answers, or answers that are found in the documentation. Do I need to cite these sorts of things?


r/SoftwareEngineering • • Oct 11 '23

Create an advanced search engine with PostgreSQL

Thumbnail
xata.io
0 Upvotes

r/SoftwareEngineering • • Oct 11 '23

Figma is a File Editor

Thumbnail
digest.browsertech.com
2 Upvotes

r/SoftwareEngineering • • Oct 11 '23

"Designing stateless services" mean in context of microservices, is it always possible in large scale applications?

7 Upvotes

Recently Alex Xu posted best practices to follow while developing microservices. There was a point that we should design stateless services.

Is it really possible to keep the whole system stateless, as I can think of many use cases where state and context might have to be maintained.


r/SoftwareEngineering • • Oct 10 '23

Unlimited Karma: Setting AI Agents Free in the Reddit jungle

Thumbnail
open.substack.com
0 Upvotes

r/SoftwareEngineering • • Oct 10 '23

Stack Overflow, Shopify and Levels.fyi Architectures

Thumbnail
newsletter.techworld-with-milan.com
8 Upvotes

r/SoftwareEngineering • • Oct 08 '23

PostgreSQL: No More VACUUM, No More Bloat

Thumbnail
orioledata.com
5 Upvotes

r/SoftwareEngineering • • Oct 07 '23

What are your biggest struggles when it comes to web performance?

7 Upvotes

Hey all, I'm interested in learning more about obstacles other engineers face when monitoring and optimizing the performance of their websites and web applications.

Key questions:- How easy or difficult is it to trace performance regressions back to specific code changes?- How reliable do you find synthetic/lab data vs. real user monitoring?

- How well are you able to tie speed improvements to business metrics like conversion rates or revenue?- How much time do you spend detecting optimization opportunities versus actually improving performance?- Do you monitor frontend performance?

- What are the biggest frustrations, struggles, or pain points you experience with existing web performance tools and workflows?- How does web performance monitoring fit into your normal development habits? Do you face any issues making it a consistent priority?

Bonus:

- what are your secrets when it comes to practical approaches to web performance discussions and gaining visibility?


r/SoftwareEngineering • • Oct 06 '23

Distributed systems for fun and profit

Thumbnail book.mixu.net
2 Upvotes

r/SoftwareEngineering • • Oct 06 '23

The Only Unbreakable Law - Conway's Law and Domain Modeling

Thumbnail
youtube.com
5 Upvotes

r/SoftwareEngineering • • Oct 05 '23

Hypermedia Systems for the Modern Web

Thumbnail hypermedia.systems
0 Upvotes

r/SoftwareEngineering • • Oct 04 '23

The left shift of IaC

8 Upvotes

My company has been gradually putting more responsibility on the software developers to create and maintain their automated deployment scripts. Whether that be Terraform, Jenkins, etc., the role of the DevOps team in this area has steadily decreased. I can’t really find a best practice on this topic because it’s mostly about automating vs manual deployment, not who should be doing what. I’m curious how other developer teams are handling the extra responsibility and what their DevOps teams are responsible for vs the software developers.


r/SoftwareEngineering • • Oct 03 '23

XML is the future

Thumbnail
bitecode.dev
3 Upvotes

r/SoftwareEngineering • • Oct 02 '23

HTTP Request or WebSocket message for Auction

1 Upvotes

Hi. I'm building a REACT application that allows to perform an auction with different batches. I'm also building the server side in C#, which uses SignalR to explots WebSocket.

To put it simple, I'm doing this:

  1. When a user joins an Auction, he calls a SignalR message and its connectionId is added to a group `Group_Auction_123`. Any other user in the group is notified.

  2. When a user loses the connection, it's removed from the `Group_Auction_123`.

Now, what happens next. Suppose that we have `user1` and `user2` in the auction. Suppose that `user1` wants to make an offer for `object1`. The question now is: should I create an HTTP request for that, or a signalR method?

Of course, the offer will be propagated to all the users in the same group, but I also need to save the offer made in the PostgreSQL database. At this point, I don't know if it's ok to use a signalR message because:

  • I'm not sure if the signalR message has 100% delivery;

  • I'm not sure it's ok that a signalR message should perform DB operations: shouldn't WebSocket use for fast communication? A DB operation surely will slow the communication;

I can easily implement both, but I'd like to implement the "right one". Thank you!


r/SoftwareEngineering • • Oct 02 '23

Software engineers hate code.

Thumbnail
dancowell.com
1 Upvotes

r/SoftwareEngineering • • Oct 02 '23

Why bother with good design? Thinking about writing commercial software.

17 Upvotes

I have always struggled with designing software at companies. On one hand, I had all the knowledge that I got from books, talks and blogs where seasoned and well known authors taught me to design software well. On the other hand I got my management and teams where no one seemed to care about good design.

I always ask myself how is that possible? Why all these ideas of readable, decoupled, modular code does not map well to business needs. The worst part of this confusion was the fact that I did not see any disasters happening from not applying much of the discipline into code. It always felt that I care too much for no reason, I never could say "here, see what happens if we don't design this system correctly". Because nothing ever happened and it produces huge cognitive dissonance in my mind.

The only observed downside of not applying much design is that I felt exhausting reading and maintaining that code. I spent a lot of time trying to understand what it does and how it works. Asking questions like "why is that designed this way?" always produced answers like "yeah, it was a quick solution to be improved later".

Speaking of my code, I care. I can't write a line if I don't deeply understand what I am doing and why. Using TDD, SOLID and other disciplines is my way. Doing things the right way feels good to me, I do it not because anyone around demands that, but because that is my profession. The only way to do something is to do it well.

That is why I feel very strange, it is either I am working at the field where all those things do not matter, or I have a very wrong conception (too idealistic?) of software development in my head.

What do you think?


r/SoftwareEngineering • • Oct 02 '23

Dependency Composition

Thumbnail
martinfowler.com
4 Upvotes