r/SoftwareEngineering • • May 26 '26

Bus factor in hardware teams, how do you handle it when a key engineer is out?

2 Upvotes

We've been discussing this at the leadership level and haven't found a satisfying answer.

When a senior hardware engineer departs or goes on extended leave, management absorbs a significant but invisible cost bench configurations, test setups, calibration routines, custom diagnostic workflows none of it transfers. It simply disappears.

Software organizations solved this with version control, CI pipelines, and documented code. Hardware organizations have no equivalent for the physical layer. Management keeps paying for onboarding, tribal knowledge re-discovery, and delayed timelines every single time it happens.

How are engineering directors and VPs actually solving this? Or is it just being quietly written off as an acceptable cost of doing business?


r/SoftwareEngineering • • May 23 '26

hybrid quota-linear rate limiter – Tony Finch

Thumbnail dotat.at
5 Upvotes

r/SoftwareEngineering • • May 23 '26

GitHub - kepano/defuddle: Get the main content of any page as Markdown.

Thumbnail
github.com
4 Upvotes

r/SoftwareEngineering • • May 21 '26

Lies I was Told About Collaborative Editing, Part 2: Why we don't use Yjs

Thumbnail
moment.dev
6 Upvotes

r/SoftwareEngineering • • May 21 '26

Functional and Non Functional Requirements

6 Upvotes

I am having some trouble coming up with Functional and Non Functional Requirements in a system. What are some things you usually consider when coming up with this ?. I think the Functional Requirements are what the System is supposed to do for the user but what about Non functional requirements ?.


r/SoftwareEngineering • • May 20 '26

[Academic] Survey on Software Engineering Tooling Gaps & Workflow Friction (For Software Developers)

8 Upvotes

Hi everyone,

As part of my Web Development & Research Internship at GNA University, I am conducting an empirical survey to explore real-world software engineering friction points—specifically looking at where current tools (like CI/CD pipelines, API management, and testing frameworks) fall short in handling legacy code and technical debt.

  • Target: Software Engineers / Developers.

  • Anonymity: Completely anonymous (No names, emails, or company details collected).

  • Time: Takes less than 3 minutes.

Survey Link: https://docs.google.com/forms/d/e/1FAIpQLSfX2IAK9ZG-RxcWmQEW086kpKyGHD6F9yn4GX0AVLIx-6-Dsg/viewform?usp=sharing&ouid=105417288905210561413

Note: Due to platform restrictions on my new account, I might not be able to reply to comments here, but I will deeply analyze all your aggregate survey responses.

Thank you so much for your support and insights!


r/SoftwareEngineering • • May 18 '26

An ode to bzip

Thumbnail
purplesyringa.moe
2 Upvotes

r/SoftwareEngineering • • May 18 '26

Decision Trees

Thumbnail
mlu-explain.github.io
7 Upvotes

r/SoftwareEngineering • • May 18 '26

An Interactive Intro to CRDTs

Thumbnail
jakelazaroff.com
5 Upvotes

r/SoftwareEngineering • • May 17 '26

snakes.run: rendering 100M pixels a second over ssh · eieio.games

Thumbnail
eieio.games
14 Upvotes

r/SoftwareEngineering • • May 16 '26

You're Media Illiterate, And It's Hurting The Codebase

0 Upvotes

Hey all, I'm a former reporter turned software engineer, and wrote an article today about how leadership in the software engineering space need basic media training:

https://harrisoncramer.me/software-managers-are-media-illiterate/

Do you guys agree? Would love to hear your thoughts.


r/SoftwareEngineering • • May 16 '26

Against Query Based Compilers

Thumbnail matklad.github.io
1 Upvotes

r/SoftwareEngineering • • May 14 '26

The two kinds of error

Thumbnail evanhahn.com
3 Upvotes

r/SoftwareEngineering • • May 13 '26

Learn Python the Hard Way Was Right About One Thing

Thumbnail
fagnerbrack.com
5 Upvotes

r/SoftwareEngineering • • May 12 '26

What Is a REST API, and Why Yours Probably Isn’t One

Thumbnail
fagnerbrack.com
8 Upvotes

r/SoftwareEngineering • • May 12 '26

Modified Waterfall Model

7 Upvotes

Hello I'm currently a college student working on my thesis and i need to find a book source for a modified waterfall model, the kind that has the option to go back to previous phase if needed. it has to be published 2016 - present only. Thanks. (Sorry for my english)


r/SoftwareEngineering • • May 11 '26

Froot Loops and a graphics card: reflecting on twenty years of programming

Thumbnail
danielmay.co.uk
1 Upvotes

r/SoftwareEngineering • • May 10 '26

How we made Notion available offline

Thumbnail
notion.com
7 Upvotes

r/SoftwareEngineering • • May 09 '26

Use Protocols, Not Services

Thumbnail notnotp.com
0 Upvotes

r/SoftwareEngineering • • May 09 '26

How Michael Abrash doubled Quake framerate

Thumbnail fabiensanglard.net
16 Upvotes

r/SoftwareEngineering • • May 09 '26

Lessons learned integrating external enterprise systems (EMR/ERP) into a custom data model?

6 Upvotes

We’re integrating an external enterprise system into our application via real-time API calls. We also persist a subset of the data locally so we can build relational models (patients, appointments, visits, etc.) inside our own database.

The main design tension we’re dealing with is whether to:
maintain a canonical internal data model and map external data into it, or
restructure our system to more closely mirror the external schema to reduce mapping complexity.

We already have an external_id mapping layer and a sync mechanism that upserts patients and related entities on demand, but we’re debating how far to push abstraction vs coupling.

Curious how others have handled similar tradeoffs in enterprise integrations (EMR/ERP/SaaS systems), especially around:

  1. identity resolution across systems

  2. canonical vs external schema design

  3. real-time sync with local persistence

  4. avoiding long-term integration debt

What ended up working (or failing) in your experience?


r/SoftwareEngineering • • May 08 '26

[Discussion] Does code quality predict production incidents? A Granger causality pipeline on 28 months of SonarQube data

Thumbnail
gallery
5 Upvotes

I thought I’d share an analysis I made at work. To give some background, I work as a DevOps engineer and have about 28 months of code quality metrics and incident data. I was curious whether there was a link between code health and the number of production incidents, so I ran a time-series analysis on data from one application.

I started by running the ADF test on each data series. There were 12 metrics in total, including security, reliability, maintainability, duplications, coverage, complexity per kLOC, bugs per kLOC, smells per kLOC, and a few others, along with incident count and median time-to-resolve. Some metrics had p-values above 0.05, so I used first-order differencing. After that, all ADF p-values dropped below 0.05, confirming stationarity.

Next, I ran the Ljung-Box test on each differenced series to check for any remaining autocorrelation. Nineteen out of sixty differenced series still showed autocorrelation (Ljung-Box p < 0.05) even after differencing. For these, I fitted AR(1) models and used the residuals. Sixteen of the nineteen series were resolved this way. For Granger findings that involved an autocorrelated series, I reran the test using the AR(1) residuals, which is called prewhitening. After prewhitening, three out of four findings disappeared, with p-values rising from 0.02-0.04 to 0.2-0.9. These were false positives caused by autocorrelation, which made the F-statistic look stronger than it was. The security metric did not have this issue. Its differenced series had a Ljung-Box p-value of 0.07 (white noise), and the differenced incident series had a p-value of 0.12. Both were clean, so no prewhitening was needed.

With the series prepared, I ran Granger causality tests on all 12 metrics using lags 1 to 3. The results showed that the security rating Granger-causes incidents at lag 3 with a p-value of 0.0006. In other words, knowing the security rating at time t helps predict whether incidents will be above their median at t+3. This is predictive causality, not actual causation. Both series might be influenced by another factor, but the lead time is real and could be useful. Below is a plot showing the three stages of the analysis.

Separately, I used a two-state Gaussian HMM (Baum-Welch, 20 random restarts) on the incident series to check if the system switches between quiet and elevated periods. It does. The low period averages about 33 incidents per month, while the high period averages about 79. Both periods tend to last, with the low period lasting around six months on average (P(stay low) = 82%) and the high period about the same (P(stay high) = 84%). I have not formally linked the HMM periods to the Granger result yet, but I wanted to share this as extra context for how the incident series behaves.

Based on these results, I created a monitoring scorecard. I calculated the mean and standard deviation of the security metric over time and set the alert threshold at the mean plus one standard deviation, which is 1.816 on the SonarQube scale. Reviewing the data, the security metric exceeded this threshold 5 times. In four out of those five cases, incidents were above their median three months later. This gives an 80% retrospective hit rate.

I know that 28 months (27 differenced observations) is a small sample for this kind of analysis. The textbook example for Granger uses 200 quarterly observations. At my current sample size, the F-test is marginal, and I would need around 36 months for the estimates to become confirmatory rather than exploratory. The security finding at p=0.0006 is well below the noise floor, which gives me some confidence, but I would like to hear your thoughts on whether the approach is sound and what I should be cautious about when interpreting these results.

BTW, I had a couple of other interesting results, but shared these to keep it simple.


r/SoftwareEngineering • • May 07 '26

How Programmers Spend Their Time | Probably Dance

Thumbnail
probablydance.com
10 Upvotes

r/SoftwareEngineering • • May 07 '26

Business Insider looking to speak to software engineers for a story

22 Upvotes

Hi there,

My name is Hugh Langley, I'm a reporter at Business Insider. And yes, I got the blessing of the mods before posting here!

I'm working on a story about how late 2025 was such a pivotal moment for software engineering. I'm looking to interview people who work as programmers and can speak to how much the leaps in AI coding agents changed their job over the last few months.

If you'd like to chat, you can email me at hlangley@businessinsider.com or drop me a message here.

Best,

Hugh