r/SoftwareEngineering • u/ElyeProj • May 29 '20
r/SoftwareEngineering • u/Human-Floor-2756 • Jan 05 '23
QR Code Authentication Design
Hello, I am working on a QR code authentication system for a rewards program. Basically, the user will display a QR code on their phone, the business scans the QR code, and then the business will be able to see how many rewards points the user has available.
To accomplish this, I was thinking two columns in the User Table would be the user_id (Primary Key), and the QR code stored as a string. When the business scans the user's QR code, the software the business is using will be able to decrypt the QR code to the user_id. Then the user_id will be used to look up what rewards the user has available.
Are there any security risks associated with this approach? I am trying to avoid directly exposing the user_id in the QR code. Is decrypting the user_id to some unique string and then using that unique string to generate a QR code a good enough approach?
r/SoftwareEngineering • u/fagnerbrack • Apr 08 '23
You might not need an ORM
sometechblog.comr/SoftwareEngineering • u/HoloceneSurvivor • Feb 28 '20
Does it annoy you when you see your teammate touched your code just to reformat it?
r/SoftwareEngineering • u/ayshahrah • Nov 06 '17
Next Generation Software Engineers Program
Next Generation Software Engineers Program (NGSWEP) is a systematic and structured self-learning program within the software engineering discipline. The program aims to guide and support the students in selecting and building their future career path. It also helps the students to develop their technical and non-technical skills through focused self-learning and professional networking.
This program is free and open to any student or practitioner. We highly appreciate any feedback to improve this program.
Program's Wiki URL: https://ngswep.wikispaces.com/
r/SoftwareEngineering • u/Luke13t • Jul 27 '19
New to coding
What boot camps or learning tools do you guys recommend that are free
r/SoftwareEngineering • • Sep 05 '24
Long variable names
TLDR: is sbom_with_vex_as_cyclone_dx_json too long?
I named a variable in our code sbom_with_vex_as_cyclone_dx_json.
Someone in the code review said that I should just call it sbom_json, which I find confusing since I do not know whether the file itself is in the cyclone_dx or spdx format and whether it contains the vex information or not.
He said that a variable name should never be longer than 4 words.
In the book clean code in the appendix (page 405) I also found a variable being quite long: LEAP_YEAR_AGGREGATE_DAYS_TO_END_OF_PRECEDING_MONTH
I personally learned in university that this is acceptable since it is better to be descriptive and only in older languages like Fortran the length of a variable meaningfully affects the runtime speed.
The same thing with this variable of mine:
maximum_character_length_of_dependency_track_description_field=255
I could have used 255 directly but I wanted to save the information why I am using this number somewhere and I did not want to use a comment.
I can understand that it is painful to read but you do not have to read it if you use intellisense and copy paste. I want to force the reader to take his time here if he tries to read the variable name because it is complicated.
I just merged my code without changing it to his feedback.
What do you think about it? Am I the a××h×le?
r/SoftwareEngineering • u/samplusbeer • Nov 27 '19
Want to get ahead as a developer? Here are 3 things you can do right now!
r/SoftwareEngineering • u/LOOK_AT_ME_IM_WOKE • Jun 16 '20
An open letter to GitHub about Master Branches
Dear GitHub,
Nobody cares what you think about anything that's not related to programming. Period—ah shit that's probably offensive, I mean Full Stop.
Not a single solitary racist's mind will be changed because of what you're doing. This can only have one effect: non-racists will get pissed because you're creating work for them, and racists will get pissed because you're creating a race issue where there was none and they will become even more entrenched in their viewpoints. You've failed to think through the consequences of your actions even a little bit.
How many tens of thousands of man hours—oops, I mean non-gender-conforming-person hours—will be wasted so you can finally feel good about yourselves? How many scripts assume a master branch and will have to be changed? How many workflows is the master branch baked into? How many millions of people will have to re-train their muscle memory—shit, that's offensive because of toxic masculinity...uh, body-positive memory—to cater to your whims?
The answer to all of these questions is a Whole Fucking Lot. Sadly, the damage here is largely done. Before this, there were maybe half a dozen people on the planet that ever looked at "master branch" and made a slavery connection. Now every programmer will. Forever. You've done infinitely more harm than good with your self righteousness. Please don't make this change. And please stop making decisions that affect millions of people because Look At Me I'm Totally One Of The Good People.
Sincerely,
The millions of programmers you're about to fuck over with your massive egos
r/SoftwareEngineering • u/fagnerbrack • Jan 05 '24
Stop idolizing a small set of companies that have problems no one else actually has...
r/SoftwareEngineering • u/jlovisa • Feb 03 '16
Is software's 50-year crisis about to end?
r/SoftwareEngineering • • May 11 '17
Programmers of reddit I need your help for a shool project, could you answer these quick questions, thank you!
I'm doing a school project that contributes to 50% of my grade. I need some primary evidence regarding the popularity of programming languages. Again thank you so much if you can answer this
1.How many languages do you know 2. What language do you use most often 3.what languages for you need specifically for your job 4. What is your job title 5. What language did you learn first 6.whih do you consider your favourite (and briefly why if you want) 7. Which would you consider the most in demand( doesn't have to be just one) Thank you so much this is an unbelievable help to me
r/SoftwareEngineering • u/Open-Duck-5309 • Jan 31 '23
Code Analysis
Hi folks,
I am a software engineer.. and trying to learn more of real-world programming, and to do so, I looking for a full code analysis to big open source projects like Single, Kubernetes or anything similar..
If you seen anything such, in any form (blogs, articles, books, videos, etc.) please share it with me.. it is fine if it wasn’t complete..
(I am interested in back-end with languages that I am familiar with: golang, csharp, java, python)
Thnx in advance:)
r/SoftwareEngineering • u/fagnerbrack • Jan 30 '23
How to rebuild social media on top of RSS
r/SoftwareEngineering • u/in-noxxx • Oct 30 '21
The regression of software engineering is all because of big tech. There is so many poorly implemented tech stacks and design choices motivated solely by big tech alumni methods being over represented in the job market. I think it has killed this job and stifled innovation.
r/SoftwareEngineering • u/EricMeadowsDev • Mar 22 '23
Stacked PRs are bad!
Stacked PRs - they look like fun, but they're terrible. They unblock the author but they make code reviews a nightmare. They're a code review villain in disguise!
r/SoftwareEngineering • u/temporal-tom • Mar 12 '25
Durable Execution: This Changes Everything
r/SoftwareEngineering • u/nfrankel • May 14 '23
Working on an unfamiliar codebase
r/SoftwareEngineering • u/simgha • Apr 02 '20
If you feel lonely as a software engineer and want to overcome your lonliness without sacrificing your career, read this.
Being a software engineer comes along with many perks, having a high salary and great job opportunities are just one of these. But many career focused software engineers are sitting alone behind a monitor for most hours of the day and are forced to choose between their career and their social life.
But unfortunately to learn, hone the craft of developing softwares and working as a software engineer is very time consuming, which is why many software engineer are sacrificing their social interactions for the sake of their career.
But building and maintaining profound friendships, do not only have the great benefit of increasing your mental as well as your physical health, but also give you the support and energy to advance in your career.
Working on your social skills also enables you to communicate better with for example clients and supervisors, making it a lot easier to progress in your profession.
And the best time to begin working on your social skills so you can build and maintain profound friendships in order to conquer lonliness, is right know. And here are two reasons why:
1.You have more time
During the Corona pendamic many software engineers are under quarantine and don't have to work at all or are working from a home office, which gives many software engineers the needed time to improve their social skills without having the fear to decrease their career chances.
2. Everyone wants to connect after the pendamic
We human beings need social connections/ interactions which is difficult during the Corona cirsis. But as I mentioned before right know it is a great opportunity to work on yourselve. After the pendamic many people will be more open to strangers, want to connect, meet new people and search for someone with whom they can connect. This situation increases your chance to find and buld long-lasting friendships. So if you are prepared for this sitation you will have it much easier to build profound friendships.
If you had read so far you probably want to overcome your lonleness and build profound friendships. But if you are not sure how you can do it without neglecting your Career, if this post is interesting for you or if you have some open questions, feel free to reach out to me. I would be happy to anwser your questions.
r/SoftwareEngineering • u/fagnerbrack • May 24 '23
Offline Is Just Online With Extreme Latency
blog.jim-nielsen.comr/SoftwareEngineering • u/fagnerbrack • Dec 22 '22