/r/softwaredevelopment

Photograph via snooOG

Software development methodologies, techniques, and tools. Not to be confused with programming. Covering Agile, RUP, Waterfall, Crystal, Extreme Programming, Scrum, Lean, Kanban and more.

Software development methodologies, techniques, and tools. Not to be confused with programming. Covering Agile, RUP, Waterfall, Crystal, Extreme Programming, Scrum, Lean, Kanban and more.

Smokey says: avoid using wood-fired stoves, fireplaces and barbecues to fight climate change! [see more tips]

Note: this subreddit is not for career advice. It's also not for general programming chat, new releases, requests for developers, etc. Posts on topics other than software development methodologies may be removed.

Other subreddits you may like:

Does this sidebar need an addition or correction? Tell me here

/r/softwaredevelopment

93,860 Subscribers

0

How do you find the code in a compiled program that's necessary to make a language patch?

I've been looking into doing this for a few programs I use but can't find any resources about how to do this online. I've tried using dotPeek to find where the UI info is stored, but I don't think that's the best thing to use cus I can't find anything. It also only works for 1 of the 2 programs. I've tried looking for other decompiles, but the sites they're on are either fishy, or are blocked on my college's wifi. So I'm stuck. Any and all help is appreciated.

4 Comments
2024/10/29
01:47 UTC

1

Simple program like Ajenti / cockpit for Embedded System

Is there a simple alternative for Ajenti for an embedded system ?

I want to monitor resources / system load / memory use over a webpage. So it can be way simpler than Ajenti / Cockpit. Also it needs to be open source.

0 Comments
2024/10/28
15:09 UTC

46

What do you call it when someone programs in an overly obfuscated way such that only they will ever be able to understand it?

I'm looking for an easy label to talk about it in a negative light but not insulting, so I don't have to repeat the whole explanation every time it comes up. For example, "expert-reliant" system.

155 Comments
2024/10/27
23:10 UTC

3

How to secure your app from your own developers?

Assuming you developed a web app that is now ready to generate profit/launch. You did it with the help of a developer from Timbuktu (not really from there), cause you had very low budget and therefore needed to outsource. You yourself know very little about development and therefore rely on his work and maintenance. Hence you provided him full acces to the server in the past.

How do you launch it, without worrying, that he may take over your app one day?

I'm in the situation. I trust the guy, but I can't rely on trust forever. Especially when money starts to flow. Also I still need him for now, cause of lack of skills on my side.

Sure, we can set up contracts, ndas etc. But that stuff doesn't mean much, where this person is from. I do have full access to hosting and registrar, but I doubt that means anything.

I'm very young and living on my own. Therefore low budget.

Would appreciate some advice on how to continue.

28 Comments
2024/10/27
22:35 UTC

1

Looking for complex API doc & mocking tool for integration

I work in a team where most of the time the development is to do API integration with service providers outside of my organization.

For each of these partners, they show us a different set of APIs and we are fitting it to our payment system. So it turns out that managing API docs and flow for each partner, and if sometimes they don't provide a test environment, we need to mock everything for our test environment. The experience is so horrible.

Is there any better way to handle this kind of multi-partner, multi-API flow Integration?

0 Comments
2024/10/27
09:09 UTC

5

Controversial: does Github have any flaws?

To me, Github a genuinely great product which I don't take for granted. Like, it just works.

But I'm curious to any devs out there, does anyone actually have any issues with Github? Like small things that annoy them

113 Comments
2024/10/26
22:04 UTC

5

What's the industry standard on how to auto push new features to production?

I work on a small dev team (like 10 of us) - and currently we are sort of manually picking which files to move from our staging server to production. We use GitHub to house and build new features, but then also sort of move files over manually to staging to test (none of the environments are connected to repos. So we don't really have any automation built in. I know we can use GitHub actions to create a pipeline but our issue is that some PRs need to stay in staging for more testing/fixes, but some can be pushed into production.

Is there a way to pick and choose which PRs go into production from staging (or something similar).

10 Comments
2024/10/24
20:44 UTC

1

Would you call this Unit test or Integration Test?

we are essentially mocking return value of controller itself. Am I wrong?

Language : Python

```

@@patch(
      "metadata_manager_api.repository.datasource_repository.DatasourceRepository.save_datasource_data"  # noqa: E501
    )
    @patch(
        "metadata_manager_api.services.datasource_service.DatasourceService.get_existing_datasource"
    )
    @patch("metadata_manager_api.services.domain_service.DomainService.get_domain_by_id")
    def test_save_metadata_datasource(
        self, mock_domain_id, mock_get_existing_datasource, mock_datasource_data
    ):
        mock_get_existing_datasource.return_value = None
        from metadata_manager_api.db_models import Domain


        domain = Domain(domain_id=1, domain_name="test_domain", domain_ownership="test_ownership")
        mock_domain_id.return_value = domain
        mock_datasource_data.return_value = mock_save_datasource_db_model()


        mock_db_session = patch(
            "metadata_manager_api.config.beans.get_db_session", return_value=MagicMock()
        ).start()
        response = self.client.post(
            "/api/v1/metadata/datasources",
            json=mock_save_datasource_request(),
            headers=self.headers,
            params={"args": mock_db_session, "kwargs": mock_db_session},
        )


        self.assertEqual(response.status_code, 200)
        self.assertEqual(response.json(), expected_save_datasource_response())

```

15 Comments
2024/10/24
18:48 UTC

2

Monorepo tooling?

Hey guys just wanted to ping the community and see what everyone is using these days. I'm starting a new project that uses both python (Django) and TypeScript (vite) + React. I was wondering if anyone has an opinion on a monorepo setup for something like this and what tools you used to manage dependencies and tasks. Or if the better option is to just maintain separate repos and use a more manual setup with language specific tooling. Thanks!

3 Comments
2024/10/24
14:53 UTC

1

GNU GPL license question

Hi! I bought some software licensed under GNU GPLv3 with some additional statements that the license was entrusted to some individual and that, if I want to sell this software, I have to get the agreement from the first owner beforehand.

The owner sold me the software with only this LICENSE in the repository. Now, he’s asking for my personal information to sign me under this license, but as far as I read, I’m well within the rights provided by GNU to read, modify and distribute this software internally within my coding team. I do not intend to sell it or make it public, but the owner keeps telling me that I can’t use it in any way.

Any thoughts on this?

0 Comments
2024/10/23
15:59 UTC

2

[Request for Features] OneUptime: Open source observability platform.

We're building an open source observability platform - OneUptime (https://oneuptime.com). Think of it as your open-source alternative to Datadog, NewRelic, PagerDuty, and Incident.io—100% FOSS and Apache Licensed.

Already using OneUptime? Huge thanks! We’d love to hear your feedback.

Not on board yet? We’re curious why and eager to know how we can better serve your needs. What features would you like to see implemented? We listen to this community very closely and will ship updates for you all.

Looking forward to hearing your thoughts and feedback!

0 Comments
2024/10/23
17:21 UTC

1

Is canban the right fit for me? I (finally) need progressive results!

I (ceo of startup) run multiple software development projects with 50 developers total. They are about 6 large projects. These are implementing an erp to replace a custom built erp tool we made in the 10 years before. One is a powerful web shop system with many mods Others are tools that do various business processes, algorithms for genetics evaluation etc.

The problem i experience is that in 2 years of development still virtually nothing is pushed to production. It is all 70 to 90% done but from a user perspective virtually nothing is available for use. We zave project leqders, architects, project owners etc. My head of it keeps ensuring me that soon all will be ready (like in 2 months) but i have my doubts. We just had a 1 year deadline reached where all should have been ready but nothing is. We work with scrum and 2 week sprints atm.

5 years ago i had a very different experience. Back then i had a talented freelancer that just got feature requests from variius people continously and he developed them and released them one by one... we typically had 3 bugs and some of the instructions we gave were nonsense so we changed things and then it worked. Every few days we saw progress on the production version of the software. It was great.

I now wonder if i should change the development system. With the 2 week sprints it means even tiny features take 2 weeks, then are buggy, take another sprint to fix and so it is all very slow. Then they focus on building all features into one big system that "will come soon" when all is ready. The result is we see no progress in production.

What i think might be a solution is a system like this: We kill the sprints. Every developer gets single feature tickets he has to finish asap and push to production before starting the next one.

This should achieve the following benefits: We see a production system we can work with that grows on a daily basis We have simple feature ready in 3 days... again It forces the developers to finish things instead of just building it all in the dev and staging environments that are of no use for users.

From my shallow understanding, this is close to the canban method. Am i correct? I know developers dont like this fragmented thinking, but i need results and i need them in a progressive continous way. It worked so much better with the freelancer setup. There were no week long questions and discussions on every small feature... je just made what we requested... good, bad and all. No bloated several levels of owners and managers etc.

Would really appreciate some expert opinion on my idea how to restructure.

38 Comments
2024/10/23
07:01 UTC

1

File (images) Cloud manager tagging and sharing software/website anyone ?

I don't know where to look for it/ask for help, so I'm trying here.

I'm looking for something like Cloud Storage to create sort of a image library with the following features:

  1. First of all - adding TAGS in an easy and advanced way, creating their different configurations

  2. Advanced search/filter using different combinations of tags (adding/substracting tags, etc.)

  3. Ability to use and make changes in the cloud on different computers

  4. Ability to easily share the library for browsing/searching for everyone

So far, the closest is something like "Tabbles", but I'm not sure if it's possible to easily give everyone access to view images/search the library, without permisson to make changes and if it's working ?

4 Comments
2024/10/22
19:14 UTC

1

Just Built a Python API for Downloading TikTok, Instagram Reel/Video, and Youtube music! 🎥✨

I’ve been deep into channel Python automation lately, and I’m excited to share that I just built an API in python to download TikTok and Instagram Reels and videos effortlessly! This tool has become a crucial part of my automation workflow, and I think you’ll love it too.

TikTok https://apify.com/apilabs/tiktok-downloader

Instagram: https://apify.com/apilabs/instagram-downloader

Youtube: https://apify.com/apilabs/youtube-downloader

2 Comments
2024/10/22
15:54 UTC

1

Stuck on Planning a Project Management App

Hey, I’m a junior in Computer Engineering, and I’ve finally decided to really commit to learning and applying my skills. I spent the first two years of my degree feeling overwhelmed and avoiding taking on any real projects, but now I’m ready to make the most of my time. As part of my lock-in, I’m building a project management app in Java. The good news is, things are starting to click! I’m finding that what I’ve been learning in class actually makes sense now, and it’s not as hard as I thought it would be.

However, I’ve hit a bit of a roadblock. When I started, I just dove in and began coding, but now I’m realizing that I need some kind of plan or blueprint. Things are getting messy, and I’m losing track of how everything fits together. I feel like I need some sort of architectural design to keep my project organized: how the objects and classes should relate, what their roles are, etc but I’ve never done this before.

For those of you who build software or apps as a hobby or professionally, how do you approach planning and structuring your projects?

0 Comments
2024/10/22
13:08 UTC

0

How to communicate with ex manager trying to poach

Hello

My old manager at my previous company reached out and asked if I was interested in applying for open positions at my previous company

How can I communicate to him that I would love to but I just suck at these technical leetcode interviews and would not be able to pass especially since I am very rusty

Is there a way to indirectly get them to help me with the questions?

7 Comments
2024/10/21
19:01 UTC

2

How do email read-receipts work?

I am trying to implement my own simple read-receipts feature for gmail.

How does it work?

component 1: Tracking pixel embedded in the email

component 2: Free deno deploy serverless endpoint to keep the count

My first goal is to demonstrate that opening the email does trigger the endpoint, registering the read count.

Reference img tag I embed in the email (by appending this element as a child to the gmail text editor div element) <img style="display: none; height: 1px; width: 1px;" src="https://my-custom-deno-deploy-endpoint.deno.dev?id=123" />

The problem

Gmail is caching the img src (my deno endpoint) thus breaking my logic.

Question:

Is there a workaround? How do the established apps do this?

Edit: Forgot to add that the tracking endpoint will be hit once when Google's server fetches the img for caching but after that the img is served from Google's cache and we never get a hit on our tracking endpoint.

Update: Using path param worked - I don't know why!

15 Comments
2024/10/21
15:07 UTC

2

Having problems with Paypal Subscriptions integration on my site.

Hi ,

I am having a problem with subscriptions using Paypal on my site.
Whenever the subscription is clicked the subscription is getting generated successfully using the apis with status as "Pending". The pending status can be moved to active only when the approval url generated in previous step is used to capture the amount requested. here I am getting this error "ngrlCaptcha.min.js:1

POST https://www.paypal.com/webapps/hermes/api/checkout/xxxxxxx/session/create 400 (Bad Request) " This step happens automatically and is no way integrated by me. I'm responsible for passing the creation of subscription and then using approval url to make the subscription active so no place to give a Bad Request. Any help would be greatly appreciated as the support has not replied on the case for a few days.

0 Comments
2024/10/21
04:13 UTC

0

Just Built an API for Downloading TikTok, Instagram Reel/Video, and Youtube music! 🎥✨

Hey, dev community! 🌟

I’ve been deep into channel automation lately, and I’m excited to share that I just built an API to download TikTok and Instagram Reels and videos effortlessly at cheaper price! 😄 This tool has become a crucial part of my automation workflow, and I think you’ll love it too.

TikTok: TikTok API

Instagram: Instagram Downloader

Youtube: YouTube Downloader

1 Comment
2024/10/20
16:37 UTC

5

What does it take?

What does it take to create a software similare to morpholio trace. A place to create architectural designs? Where does someone start to do such a thing.

6 Comments
2024/10/20
15:52 UTC

0

Hey I'm pretty new to software development but want a simple project I can code, any ideas of what I should make?

I'm using tkinter in Thonny IDE and just making very quick and easy stuff rn like a button maze or a unit converter

13 Comments
2024/10/19
15:30 UTC

1

API server better?

Hello Software developer,

I am building web app with nextjs. And at some point I think I have to start developing ios app and android app too.

I was wondering if I should be creating API server that would benefit by all - web & mobile.

What do you think on that?

17 Comments
2024/10/19
15:24 UTC

1

help me start my journey

i want to make a alarm app all by myself, from frontend to backend everything.

Is making the whole app on my own possible?

what should i learn?- i am familiar with python.

i was thinking of using python for backend, what should i use for the front end?

how is backend and frontend integrated together to complete the app

4 Comments
2024/10/18
12:23 UTC

1

Figma professional

Is Figma professional worth it? I am a software developer and i would like to use a program that is used in the industry for graphic design but which could also assist me with the development of my programs. If not Figma, please provide other recommendations

2 Comments
2024/10/18
07:57 UTC

14

Is java really worth it to stick with, feeling like the learning curve just stops or becomes stagnant after a point

I am a backend junior dev. Its been a fews years for me working in java, as much overwhelmed I am with the tech stack, I want to know is it good enough for me to stick with it? I feel like there are advancements in java but performances on other languages are way better also learning curve is also less as compared with other languages like golang and python. I am deciding to switch soon and want to know if I should aim for java specific companies or change my tech stack.

Ik that in long term tech stacks wont matter but I am also aiming for doing masters in distributed systems, so preferably looking for exploring new tech stacks with better optimisations with distributed systems.

44 Comments
2024/10/18
07:10 UTC

6

Anyone here come from a QA/Test Automation background and switched to dev

How is it?

I decided to internally switch by the end of 2025, coming from a QA/test automation background. its been about 2.5 years now

In the meantime, I am trying to build a good foundation in JS and other transferable skills. and afterwards, React (which I dabbled in but it was a distraction from the fundamentals in retrospect)

Aware that application code can be a lot more complex (arguably over-engineered too lol)

I was originally going the dev route anyway.

7 Comments
2024/10/17
17:04 UTC

0

Help with Development?

Hi there! Not sure if this is the right spot for this so apologies in advance and if you can direct me to the right place that would be amazing!

So I’m looking at having an AI voice generator/modifier developed for commercial purposes. This would be one that sings and would be voice to voice as opposed to text to voice. I’d like to have my own as a lot of the AI programs out there have been trained on copyrighted material and I don’t want to be vulnerable to legal issues. I just have no idea what kind of developer to reach out to. Would a regular AI developer be sufficient? Are there certain qualifications I should look for? If you have any suggestions or guidance I would greatly appreciate it as I am well out of my depth here, I’m not a tech person unfortunately haha. Thank you!!

1 Comment
2024/10/17
15:26 UTC

49

How do you deal with developers that overengineer?

From all the software acronyms we learn along the way, KISS for me has shown to yield the most workable and maintainable code. How do you deal with over-ambitious colleagues that drop PRs full of unnecessary structures and patterns? I mean it does the job, but in 4 months time when we have to extend it or fix a bug it's going to take us 3 days to reverse engineer everything. While if we fix the thing simpler and less academically fancy way we can just read what it does.

57 Comments
2024/10/16
20:59 UTC

2

Learning how to code - Researching best coding languages for my software

Hi all!

I am a Cybersecurity Consultant with a strong business background but minimal coding experience. However, now that I have some downtime I am enrolled at a masters program at Virginia Tech that requires me coding. As a prerequitiste for my classes, I have to learn Java, and that got me thinking on something I have wanted to build for a long time.

In the following link, (located at the end of the post) you can see the whole spectrum of what I aim to build, but for those not clicking on links, I can summerize it as: I want to build a platform that collects answers from users and compare them to different databases that act as benchmarks and the platform will tell you how far off you are from such benchmark. It will only be accesible to users that paid for access and the results should be visible for the user but not editable. Once a fair amount of data has been collected, it would be moved to a separate datalake anonimized for its analysis, helping creating general ways on how improve the users results.

I thought of learning javascript for the frontend, but I need to learn if that would suffice for the rest of the project.

All help is welcome!

Thank you everyone!

Project and milestones

3 Comments
2024/10/16
16:58 UTC

10

Source Code Visualizer?

Is there a simple tool to visualize in bubbles a source code package as to where the includes/headers are pointing to the larger code set? Something where you can click on each bubble and see highlights/lines to where it relates to itself contextually?

9 Comments
2024/10/14
16:02 UTC

Back To Top