Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "handling"
-
If Gordon Ramsay made code reviews, I would watch that show. Especially the insults he would use for handling clients.
"This code has so much spaghetti, it decided to open it's own restaurant"23 -
*Me Coding with a laptop and desktop when friends enter *
Friends : u r a coder right? Hack something in front of me.
Me : *sick of explaining ppl*
*SSHs into lap from desktop and shuts it down*
See. I hacked my lap
Friends : whoa! Cool man8 -
#wannaCry :
*US engineers trying to find antivirus.
*Europe engineers finding preventing tools
*Meanwhile Indian engineers already updated their resume with " Worked/Implemented anitvirus for wannyCry"
Meanwhile. .
Indian HR consultants asking for minimum 5 years experience in handling "wannacry"6 -
Me: We should change the http response code to anything but 200 OK in the error response case of our API.
Other dev: No, it's fine.
Me: Why?
Other dev: The client successfully receives an error message.
Me: ┻━┻ ︵ヽ(`Д´)ノ︵ ┻━┻15 -
Sales Guy: Hey Man, you know what? you should go back to college and advance your knowledge in Software Engineering. This way you will be an expert in programming and handling the Servers.
Me: I started programming at the age of 17 and started handling servers by the age of 18. Can I ask you something if you don't mind?
Sale Guy: Yea sure I don't mind anything
Me: Get the fuck out of here8 -
At customer site with my boss.
Boss: let's check this code which is not working
Me: ok (starting the debugging session)
I found this code, which was failing during the writing on disk for some reasons.
try
{
....
writer.writeline(some data);
....
}
catch(Exception ex)
{
....
}
Boss: ok it fails to write data but we need to, let's manage it like this:
try
{
....
writer.writeline(some data);
....
}
catch(Exception ex)
{
writer.writeline(some data);
....
}12 -
Is Microsoft going to ruin GitHub? NO!
Are we going to get amazing git integration in VSCode? ABSOLUTELY!
They're a 600 billion dollar company and they're one of the leading contributors to open source. They know the community they are handling and how fragile it is. This is just a developer trust move from them.
Stop pretending this is the end of GitHub, cause it isn't.23 -
I have been work at a company for about a year now and i havent seen an exception correctly handled ONCE.11
-
So a coworker wrote this -- a function that returns a view if a specific object exists in the database. Now what would happen said object doesn't exist in the database? Forget about returning false and handling it properly, he decides that the function should print (echo) a zero! Not to mention almost all his if-else blocks prints a fucking zero when the if condition is false (there are 8 of them, if you're asking). Error messages? The hell with those.
He is now the PM btw. I've had enough of this shithole.14 -
Why do people (Some devs too...) bloody hell think that devs have Hard time fixing the Semi Colon issue, we have a lot of other issues to figure out, like the Structure of Data, Code Fragmentation, API Creation, Invalid Data Handling, Injection Prevention. But no, since we are developers, we are having sleepless nights because of one fucking semicolon? FUCKING NO, it hardly takes 30 seconds to figure out that there is a missing semi-colon. Really People, stop the ; thing!10
-
Last week I almost lost my belief in everything..
A friend of minde, he's currently learning programming (Delphi 😂) in some kind of university, just told me:
"Hey, why do you spend so much time caring about error handling? I just surround all my programs with one try catch block and I never have to think about errors!"
Ehm. No statement needed, right?2 -
3 years, part time, $0.
I used to volunteer my time to an old text based rpg, handling code changes, sysadmin maintenance and the likes - back when those were a thing in the mid 2000's and money wasn't my issue in life - free for them, experience for me - win win!
Was something to get my hands dirty back in the day and contribute to an active community, but since then that place has shut down and been disbanded.24 -
I really like JS, but sometimes it's just incredibly stupid.
NaN stands for Not-A-Number
typeof NaN
> 'number'
why are you doing this to me8 -
When I managed to minimize the processing time of the project I'm currently handling. It went down from 30min-1hr to 7min-15mins. The project owner was so happy, said it made his life easier. I was told I did a good job by my manager.
I feel like a real dev then and there. So whenever I'm having a bad day, feeling insecure, I try to remember that day when I was able to do something right. :) -
#wannaCry Ransomware:
US engineers trying to find antivirus
Europe engineers finding preventing tools
meanwhile...
Indian engineers already updated their resume with " Worked/Implemented fix for wannaCry ransomware"
Meanwhile...
Indian HR consultants asking for minimum 5 years experience in handling "wannacry"
And meanwhile....
in Hyderabad Ameerpet - people might be seeing banners of training institutes mentioning that they have trainers available with 10 years of industry experience on this.😜😜😝😝6 -
Python be like
"During handling of the above exception, another exception occurred" ... Exception : exception not defined.
Well fuck you too goddammit5 -
This code isn't working right, better check the log...
ERROR: There was an error.
Alright, cool, chill. Thanks for the top notch error handling. 👌2 -
Whenever a language has a goto statement I can't resist :
On error goto hell
// code
Hell:
// error handling3 -
I absolutely hate the way we are taught programming in Indian colleges.
FML #1: I'm pursuing a UG CS course, and this semester, I only had one subject of Computers, that too only 1 credit. The rest with all electronics.
FML #2: In that 1 credit course, we had to make a C++ project which had "data handling". No one cares if you build something cool or not, just that a project should have "extensive use" of data handling.
FML #3: Source code had to be >= 1000 lines. This is the only place where ADDING MORE LINES OF CODES THAN REDUCING IT is appreciated. Had to stuff my code with all kinds of comments and violating the basic principle of DRY.
So, yeah, we're fucked big time. 😥14 -
Got a call for work around 0100. Missed it. Got a call at 0530, got that one. Now handling the other call at 0700. I have a requirement to be on within 15 minutes. It's been 6 hours.21
-
CVs be like:
"Voluntarily worked as a tech consultant in impoverished communities to promote social mobility and empowerment through the implementation of a specialized computer science learning program and interactive software handling sessions."
Translation: helped my parents attaching word docs to their emails. -
Worst part of devving? Handling fucking time. GMT, EST, daylight savings, DHCP settings overriding the actual time because some fuckwit runs a server incorrectly, dealing with Voip phones and their super flaky time profiles. Fuck time.4
-
Fuck software assurance.
Fuck functional specifications, fuck software requirements, fuck V-model bullshit documentation, fuck integration test plans.
Fuck trying to shoehorn waterfall requirements into what clearly was an interative development.
Fuck me for being a single dev handling all this bullshit by myself.3 -
Early in my database developer career, I started a new job at a mortgage company. I was poking around the code, just getting familiar with things.
One script identified properties in certain states/territories for special handling:
AND STATECD IN (‘PR’, ‘HI’, ‘AL’)
I thought “Puerto Rico, Hawaii, and ALABAMA?? One of these things is not like the other…”
Yeah, that was supposed to be Alaska (AK)… But they’ve been special-handling properties in Alabama for years. -
So my boss booked me a spot at a conference about "the future of online payments" and I received an email with auto created account (there was no sign up) with a clear text password.
I'm feeling pretty confident that I can trust them to guide and advise me on best practices when it comes to handling sensitive information.8 -
Spent 2 years slaving for a “start up” building not only the core framework but also handling clients, operations and logistics while being yelled at constantly for not delivering even though I was clearly over worked.
Once it finally hit my head that none of this was my mistake, quit, took a few months off and started working as a freelancer for no code development platforms.
Have been working with multiple amazing clients for more than a year now who understand and appreciate the work I do.2 -
I am going to create a new language called Yoda that is identical to Java but it has no exception handling and no for loops.6
-
I was working with this "friend" in a supposedly "partnership" way. He was handling the customer getting all the info for the product and doing all the communication.
fRiEnD: So I talked with the customer, the website will be delivered on 10th of June.
Me: yOu &%@!ing WhAt?!
*he didn't ask before if it would have been possible12 -
So. My mobile bill is due 24/01/17 and yet it is supposedly "357 days overdue", but a previous one due on 24/11/16 has "295 days left to pay". Some funky handling of the new year going on here....
-
How do I know when I’m ready for a junior dev job? Currently I’m very familiar with syntax rules, data structure, I even created my first p2p app and I’m feeling more comfortable with server side programming and handling dependencies.
But I can’t like code blindfolded and I’m very slow and have to think very deeply and concentrate very hard before doing any minor thing.
How do I know??10 -
This is literally me! I'm handling multiple projects with overlapping timelines. Pressure comes from all directions!4
-
I hate handling DNS issues... every time I try to explain how DNS works, users come back even more confused.
-
WHAT FUCKING PAYMENT PROVIDER SENDS ALL THEIR TECHNICAL STAFF ON VACATION?!?!?
Leaving customer service to tell me to "wait until they get back... In three weeks"
Unbelievable, I'm actually thinking there are laws and regulations about this if you are providing money handling services, but the sheer stupidity in itself!!2 -
Shitty-Clent-side: Onclick of submit button, send request to server
Server: Responds with a 500 error.
Shitty-Client-Side: change "Submit" to "Submitted" and backgroumd color to green(because UX is important and error handling can go to hell)1 -
Exception handling: when you really like a cute girl and are about to ask her out. Still you kinda also chit chat with her slighly less cute friend in case something goes wrong.2
-
Went to the ATM to get some cash.. entered an amount of 800 INR and to my surprise got an error saying "Your account does not have sufficient funds for this transaction" .. Instantly thought that my account has somehow been compromised.. checked the bank app and found out that I everything was normal..
As it turns out the ATM machine did not have 500 or 100 INR notes, thus it could not dispense my requested amount..
Now that's what we call a "Good" error handling..4 -
Did a bunch more cowboy coding today as I call it (coding in vi on production). Gather 'round kiddies, uncle Logan's got a story fer ya…
First things first, disclaimer: I'm no sysadmin. I respect sysadmins and the work they do, but I'm the first to admit my strengths definitely lie more in writing programs rather than running servers.
Anyhow, I recently inherited someone else's codebase (the story of my profession career, but I digress) and let me tell you this thing has amateur hour written all over it. It's written in PHP and JavaScript by a self-taught programmer who apparently discovered procedural programming and decided there was nothing left to learn and stopped there (no disrespect to self-taught programmers).
I could rant for days about the various problems this codebase has, but today I have a very specific story to tell. A story about errors and logs.
And it all started when I noticed the disk space on our server was gradually decreasing.
So today I logged onto our API server (Ubuntu running Apache/PHP) and did a df -h to check the disk space, and was surprised to see that it had noticeably decreased since the last time I'd checked when everything was running smoothly. But seeing as this server does not store any persistent customer data (we have a separate db server) and purely hosts the stateless API, it should NOT be consuming disk space over time at all.
The only thing I could think of was the logs, but the logs were very quiet, just the odd benign message that was fully expected. Just to be sure I did an ls -Sh to check the size of the logs, and while some of them were a little big, nothing over a few megs. Nothing to account for gigabytes of disk space gradually disappearing.
What could it be? I wondered.
cd ../..
du . | sort --sort=numeric
What's this? 2671132 K in some log folder buried in the api source code? I cd into it and it turns out there are separate PHP log files in there, split up by customer, so that each customer of ours (we have 120) has their own respective error log! (Why??)
Armed with this newfound piece of (still rather unbelievable) evidence I perform a mad scramble to search the codebase for where this extra logging is happening and sure enough I find a custom PHP error handler that is capturing (most) errors and redirecting them to these individualized log files.
Conveniently enough, not ALL errors were being absorbed though, so I still knew the main error_log was working (and any time I explicitly error_logged it would go there, so I was none the wiser that this other error-catching was even happening).
Needless to say I removed the code as quickly as I found it, tail -f'd the error_log and to my dismay it was being absolutely flooded with syntax errors, runtime PHP exceptions, warnings galore, and all sorts of other things.
My jaw almost hit the floor. I've been with this company for 6 months and had no idea these errors were even happening!
The sad thing was how easy to fix all the errors ended up being. Most of them were "undefined index" errors that could have been completely avoided with a simple isset() check, but instead ended up throwing an exception, nullifying any code that came after it.
Anyway kids, the moral of the story is don't split up your log files. It makes absolutely no sense and can end up obscuring easily fixable bugs for half a year or more!
Happy coding.6 -
Frontend dev for 10+ years here.
"We can't afford to hire you as a senior, so your job title will be 'Frontend Developer' and your tasks will carry less responsibility than expected from a senior"
One year in, team of 2 handling 3 projects.
After merging with the parent company, we got business cards, mine describe me as a "Senior Frontend UI Engineer".
"Well, our customers only trust seniors, otherwise we can't send you to them".
Meanwhile a former colleague earns >1000€ more a month.
Yeah, fuck you too bosses!3 -
Porting Java Code to Kotlin manually, just to get a better understanding of the language. Best thing so far, NO more Assertive Exception Handling.
Damnit Java, I know it for a fact that the damned thing won't throw an exception! There's Careful and Paranoid. KNOW THE DIFFERENCE5 -
Using pokemon exeption handling on some very important and sensitive back end stuff to meet a deadline.7
-
Serveral users complain that the error messages our software produces are completely useless, so I get assigned to improve the error reporting.
Starting the task by checking what's there and how it works together.
Looking through the code I discover 4 completely different error reporting implementations, each having the same intent and promised functionality. All of them are used somewhere, sometimes next to each other. Needless to say: None of the implementations actually implements all it promises.
My favourite part is the setErrorMessage(string) method that is defined in one header and used in many places, which has the implementation
void setErrorMessage(string){}
Fuck my life.2 -
I'm beginning to think that it's not important to know how to code anymore, but how good you are at handling management.5
-
Pokemon exception handling is now my favourite antipattern. I can't believe I've never heard of it until today. I laughed way to hard in that lecture.5
-
I had to buy a mobile printer for my company for an "emergency" for a demo. I sent my boss 3 prices and he just said "go get it, we'll pay you back." After I deliver the features my boss says "Just take it back and demand a refund" this made me feel like such a douche with the supplier, plus I had to pay a 15% handling fee.6
-
Ladies and gentlemens, my everyday workstation.. at work.
i5-5300 2,30Ghz, 8gb ram and 128ssd. Bloated external screen with low resolution and even lower colour saturation.
Running VM, handling big as images, editing and a tiny bit coding.. and they wonder why I'm asking for a new setup..
(._.) ( l: ) ( .-. ) ( :l ) (._.)
Cheers ☕3 -
Im the only dev at our app company. Beta due tomorrow. Im learning im astonishingly bad at handling stress2
-
Meetings, responding to emails, handling urgent tickets, etc. If I could just get four uninterrupted hours of coding in a day, I'd be happy. But I'm basically in meetings all morning and usually have at least 1 more in the middle of the afternoon.2
-
WORST:
Resignation of my colleagues due to burnt out and stress. It is sad to see them lost their passion in coding because of the crappy system of handling projects by our p.managers.6 -
So much mess is in this project I'm working on that I wonder which AI would be capable of handling it.3
-
One of our juniors was adding a feature and made a small mistake in one of their (copy-pasted) unit tests by forgetting to cast a return value of a mock
So he spent a ton of time changing the main code to do type checks, try/catching and error handling.
Poor soul realized the mistake in code review one day later2 -
When your offshore co-worker pronounces your colleagues' names like this :|
Hardik - HARD DICK
Dipesh - DEEP ASS
Pinkesh - PINK ASS
"So DeepAss and PinkAss are handling Backend and Harddick is Frontend right"
Me: right 😁😁 -
A friend of mine once buried an exception deep in some code that any reasonable programmer shouldn't ever come across that said "you're the worst person I know"
A few days later when a guy in our project was working on his awful patchwork of a database mapping he managed to somehow actually hit this exception. We all got a good laugh out of it! -
I coded the app so good
I optimized the UX SO GOOD
I made the UI look GOOD
I made the error handling and input validation ROCK HARD SOLID BULLETPROOF
NO FUCKING WAY COULD YOU FUCK THIS UP
NO WAY COULD YOU BE DUMB ENOUGH NOT TO KNOW HOW TO USE IT AND NOT FUCK IT UP
I GAVE IT TO MY DAD AS A NORMAL USER TO TEST THE APP AND HE FUCKED IT UP ON THE FIRST TRY
HE DIDNT UNDERSTAND THE UX.
.10 -
Today I explained to my wife why my night stand is a mess, and hers is clean and ordered by using the backend/frontend metaphor.
I am the backend, handling bills, bank accounts, taxes, warranties and all the paperwork.
She is my frontend, handling my social interactions.
Now she hates me, but she admitted I'm right.
She still want me to clean my night stand though.4 -
I hate lying customers.
Today a customer opened a support ticket related to his website account. Apparently he is losing his session right after the login success.
I've debugged everything, checked all logs and couldn't reproduce it.
I know every bit of business logic on the website by heart.
The only explanation could be that his browser either doesn't allow cookies or expires them after page change.
So I asked him to check.
"Yes, cookies are allowed in my browser" he wrote.
Well... fuck me... I will change the code to put the session ID in the URL as well. If it works - and I'm 100% sure of that - I will personally mail him a collection of the finest turds.4 -
Finding the right balance between well written, need-one-week, maintainable software, and fast-written, ready-in-2-hours-and-never-look-at-it-again software.
Last time it took me 20 minutes to integrate with a new API. I had a script that did everything you needed. I then spent 2 weeks on handling error responses, unexpected responses, exceptions, intelligent retries, logging, unit tests, integration tests, caching, documentation, etc. -
So our team is scaling and we've been handling increased workload and I've been wanting to hire two juniors ever since. Finally narrowed down the candidates to three, but I couldn't decide between them so after some careful considerations, I've decided to hire all three. Fingers crossed I have enough time to mentor and manage the three of them and I don't fuck them up.1
-
I forgot to put myself out of office today on our call schedule... Thought I'd get away with it because I shouldn't get calls anyways. Got a call. Not handling it, passed it on, but it woke me up... :(2
-
I am .net developer which doesn't work with .net core(yet) and obviously i have windows as work os, while at home elementary OS is my main(again dual booting win10). I don't get why so many linux/windows rants are around. Get best of both worlds. I personally constantly need both and each are very different and better at handling different stuff, so why don't you (fanboys) stop it :)3
-
I spammed a colleagues email to test my exception handling method, I didn't feel like using just my email.
My email to him: "muh bad"1 -
Okay, so I have to write a script that will get user data from an AD, additional information from an XML, combine those two to get boss user relationship and output that mess into an excel sheet.
Oh, and both sources are ofc completely inconsistent. So I need full error handling on everything.
Aaaaaaand I have to write it in VB script... Using np++... Without plugins...
I hate my life!8 -
Forget the people that don't use tests.
If you are a guy that doesn't even use error handling,
F U C K Y O U
I can't move on my tasks because the fucker doesn't have any error handling and he is absent so i have to fix them.
fucker.1 -
During handling of the above exception, another exception occurred. I have to confirm I'm not in Inception.1
-
Programmers: working tirelessly to create ever more advanced tech for handling information 💻
Governments around the world: oh, the citizens want something from us? They better get ready for PAPERS 📃
The year is 2022, ok¿13 -
I started learning Golang today and really like it.
The error handling is *excellent*. It always works the same way and is standardized, unlike the hell that NodeJS error handling is (.catch(), try).
Modules confused the fuck out of me. I eventually figured out how they worked, but Go really doesn't try to make it easy to have multiple source folders...
I'll probably be re-writing my Discord Bot in Golang soon. Being able to have just one binary output will make things infinitely easier. Compile-time variables are another feature that's nice and easy to implement.
The goal is only having to upload a single binary to deploy on production from my CI script that has all keys and stuff inside. Feels good to finally throw all that old bad JS code out and starting completely fresh.7 -
dear deutsche bahn developers: please review you handling for dynamic contents width. yours sincerely
ps. riding in a full train and not enough space to handle my computer is boring.5 -
When you're in a rush to write a new feature but your compiler keeps nagging about not handling exceptions2
-
No error handling at all, not even a single try catch. Program crashes when the wind changes direction. Previous developer developed his test plan around his bugs. 😭1
-
We bitch about JavaScript a lot, but I have never encountered a language with better out of bounds index handling for its array methods. It does make some projects considerably easier!7
-
Randomly reviewing a coworker's c++ codebase revealed he was locking at the beginning of a critical section, but explicitly calling unlock for each and every error-handling branching within it. And yes, he forgot to unlock at several places.
That's just not RAIIght. -
I worked for this Chinese company, one of their systems that was supposedly handling millions of US$ in transactions per day had an API that returned HTML tables...
I stop you right there commenter, there was no format=json parameter.
Another of their API I gave up on:
Status = 200
Content = "error"3 -
"If you don't return something in the catch block it will crash"
Isn't it interesting how a sentence can be true yet so infuriatingly wrong.3 -
I'm a .Net developer from Morocco, i'm currently working on an accounting software for this fucking company owned by an American boss. And i'm handling every single aspect of the project including the back-end (C#), Database (Sql Server), Reports (crystal reports, ABAP, VSTO), and design (UI, logos, animation...). For a salary of 300 USD/month, with no insurance, no transportation fees, and no fuck given about my health or my coworkers'. Not mentioning the shitty working hours and condition.
This is my first (job)9 -
I just realize I made QA wait for 5 minutes while testing session handling on the app when I missed just a single zero and made the session expire after 30 seconds instead (instead of 300000 milli calculation produced 30000)
He tried 3 times and then opened a ticket not knowing why session is always expired
wonder if I should tell him >_> -
Me(handling 3 simultaneous apps): we have too many projects need another dev to share the load
Boss: don't worry...
Proceeds to hire one more Dev and take 3 more projects on :/
Logic!=present.1 -
Created a simple bot for an online game using puppeteer.
After an evening (and night) of dev and debugging (quite some rejected promise errors), it worked fine and was ready for a 10-minutely cron job.
Fixed a couple bugs in the first three hours. Then started playing minecraft, which lagged like hell.
Opened task manager and saw a list of about 25 headless chrome processes. They had not been closed because of unhandled errors before the close method call 😵
Now added some basic error handling ☺2 -
Deployment to production last night, and the whole thing is halted because the DBA didn't find it necessary to show up. 2 hours of calling everyone possible and nothing. Thanks DBA, for your prompt and timely handling of the deployment... 😑
-
So one of my co-partner in a website development business we started, took up back end responsibilities from me, didn't complete a simple form handling in 3 months and then complained the 3rd partner that it was my work and I didn't do it and now I am the bad guy.
FUCK YOU BRO!6 -
#Ransomware :US engineers trying to find antivirus, Europe engineers finding preventing tools, meanwhile Indian engineers already updated their resume with " Worked/Implemented anitvirus for ransomware"
Meanwhile. . Indian HR consultants asking for minimum 5 years experience in handling "ransomware"3 -
I love VSCode Insiders. The daily builds (today there were already 3 of them) are coming fast as hell and always with cool new features. (new workspace handling, multiple source control providers simultaneously, TypeScript 2.5.2,...). Great job, MS.1
-
How to fix issues the easy way:
1. Provide users a way to raise issues
2. Immediately respond to new issues saying you added them to the internal ticketing system
3. Wait till the affected product reaches EoL
4. Tell the customer you are sorry, but as the product is now after EoL, you cannot use any resources on fixing the issue
5. Close the issue -
"The job description requires Java, and this candidate knows Javascript, are they interchangeable?"
No they are not, lawyer handling H1B immigration cases. No they are not.3 -
Curious. What's your definition of a full stack developer?
Is it just about knowing all necessary languages? Does it also include various business oriented soft-skills? What about handling server and stuffs?
It is a new term I have been seeing a lot lately (especially after 2016, if I'm not wrong). Of course, I could google and look for the answers but I prefer to know devrant community edition 😀6 -
Do you suffer from low motivation ? For three easy installments of $79.95 plus shipping & handling , the secrets of overcoming low motivation can be yours . Act now , don’t delay !
Operators are standing by & the first caller will receive a free set of dollar general steak knives in a faux wood gift box , excellent for regifting for that team party or potluck where if you’re lucky , you might get tofu .7 -
Right now I need to fix 10 years old php code handling data sets coming from a database. Normally I work mostly on C#.
God, do I miss LINQ!8 -
Apple: "We're justified in taking 30% of all our customer's in-app purchasing revenue because we've implemented an awesome super-secure in-app payment system"
Me, after spending the last week wrestling with Apple's shitty, horrible, unbelievably obtuse, poorly documented system for handling subscription renewals and having to write my own god damn crypto shite for reading receipts: "You're shitting me, right?"
What a complete scam.1 -
The only reason I ordered a new phone today is there are bunch of apps that no longer work on my phone.
Including Amazon and even work related apps.
Been 5+ years I am using my current phone and not a single scratch on screen, though the body is affected a little. All of this without protection.
I must admit my handling game is good. Lol11 -
What's your opinion on the error-value vs try-catch debate?
I'm usually on the error-value side of things.
Its the preferred error-handling in Go and the pretty much only decent solution in C.
Also, frequently thrown exceptions seem to impose a larger overhead than the constant checking of the error-value.23 -
Fuck Arch wifi handling!!! Why can’t you fucking just have the needed software in the base package!!! Because when you take YOU FUCKING USB INSTALLATION SOMEWHERE THERE’S NO ETHERNET!!! You’re FUCKED!!! What’s the point! Now I need to boot from my lubuntu usb dual boot install, FUCKING INSTALL the Arch iso, VirtualBox and then the needed wifi packages!! Fuck!4
-
TO ANY UWP DEV HERE.
If you aren't handling it in a different way,
//hide mobile status bar
if (ApiInformation.IsTypePresent("Windows.UI.ViewManagement.StatusBar"))
{
var i = StatusBar.GetForCurrentView().HideAsync();
}
this is ALL you have to friggin add to hide that hideous white space above in the app on windows 10 mobile.
Coming across too many apps which don't implement this simple thing.2 -
Hell is programming in a language where everything is global, strings have a maximum length and error handling is nonexistent.6
-
good evening folks,
im living in germany and want to get my first domain...
should i use ". de" or ". com", what would you prefer?
It should be an portfolio of myself if i finished it.
We have people from around the world here, how are you handling this? Does it matter at all?
thanks for help.7 -
As I haven't seen anyone post about it yet, Go's error handling and contract (Go's generics) drafts are out: https://blog.golang.org/go2draft2
-
Just came across a site with TERRIBLE CSS and some sort of event handling to block the user from accessing the dev tools.
So in my Chrome, no F12 and no Ctrl+Shift+I.
Well, guess what. The Tools menu in the title bar also contains a link to Developer Tools.
Me: 1 Them: 010 -
Most of my time coding in Javascript goes to handling null checks and fixing crashes caused due to missed null checks.
`"abc" is undefined` is an error which I must have seen more number of times than any other bug in console and even in real life.2 -
Just thought of this meme template when I got that error. Hope you like it 😅
BTW it was a KeyError in a pandas DataFrame during which, somehow, another KeyError for the same key occurred. I'm not sophisticated enough in Python to explain this though. -
So I actually prefer npm to most other package managers (with the exception of go's package handling).
Like you need to look no further than to pip's hell of package management, to start appreciating how clean npm is.
***Shots fired***6 -
Why is netbeans, or Java in general, so fucking bad at handling memory ? I mean, I'm literally doing nothing on my code and I see my IDE consuming more and more RAM, to some point it goes over 1GB so I have to close then reopen it to "flush" the memory taken...
It's 2017, how the fuck can't we still manage to actually use a correct amount of RAM when I open a barely 10MB project ??
And it applies to everything related to Java. Like Android, Minecraft and other Java based softwares...18 -
I would like to murder postgres and the awful requirements of this damn project... Plus, I practically didn't sleep more than a blink last night so either postgres fucks off and gets its shit together with its transaction handling shit, or imma about to stab a bitch! 🗡 ⚔️18
-
A dev in the team just found out about JavaScript promises. Now he is putting them everywhere but never handling errors, so it's impossible to tell where the app is actually failing because the error points to the Babel polyfill and the stack trace is not long enough.1
-
Golangs error handling is really annoying. I'm writing a cli that does a bunch of stuff, and a lot of that could cause an error. Now I have to either explicitly ignore the errors everywhere or write an abundant if, that simply checks if the error exists and print it to console. So I either won't see any errors when something goes wrong, or I will have ugly bloated code... wtf, I want "throw" back8
-
So I snapped during pointing session and told the BA that I didn’t have time to explain software engineering to the team….then they proceeded to make up new requirements that the client didn’t ask for which resulted in more complex error handling that presents the user with a list of generic message; I try really hard to keep implementation details out of those meetings, because all it does is bog down the team and waste time, but I suppose I fell into that trap.1
-
So after the team have been digging through to work out why the app is spitting out errors it turns out that turning off developer mode clears the issue up.
This thing has been spitting out errors since its release in 2012 but the engine was handling it internally 🤣2 -
Recently I have started working with a company with a codebase older than I am. Hundreds of different projects with GoTos everywhere, and all error handling rendered useless by the continuous use of On Error Resume Next.
I feel like a mixture of Indiana Jones amd Gordon Ramsay...2 -
My workplace keeps moving more and more teams into the building, but the number of restrooms remains the same.
All it will take is one bad food-handling day in the cafeteria to enable battle royale mode. -
"Let's just add a logging system to our dependency"
No. You fucking idiot. DON'T INCLUDE A CUSTOM LOGGING SYSTEM INTO A DEPENDENCY FOR IMAGE MANIPULATION. I DON'T WANT YOUR FUCKING BULLSHIT LOGGING WHEN I'M FUCKING HANDLING IT MYSELF FOR MY ALREADY EXISTING SOFTWARE!! HOW DUMB CAN YOU STUPID MOTHERFUCKER BE TO TELL ME TO JUST "IGNORE" THE MESSAGES IN THE CONSOLE WHEN I'M BUILDING A FUCKING CLI BASED SOFTWARE??!!1 -
Setting up npm private registry and mirror is like setting up machine for handling ddos attack.
Last time I was tuning linux kernel tcp ip stack by adjusting default variable values was ages ago but if you see 100 open sockets in a matter of second after you try to install single frontend dependency you start questioning your life. -
Earlier I used to say "I am good at throwing and catching." After learning Expcetion Handling in C++, now I am saying, "I'm good at throwing and catching EXCEPT in C++."
-
I had perfect code until the exception handling was on my Todo list... Fuck my beautiful architecture I guess6
-
Hey devs!!
I just can't stop myself from sharing this.
Its been two years now ... my junior is working. and now she is handling standalone WP projects.. but somehow her task got stucked so I was asked to help her.
So I just said check the count of variables and she messaged me with code .. Ma'am this isn't working .. Haha.. I mean come on she better can google out atleast for syntax :(
<?php if(count($content2 == 3) && count($interestt2 == 3))
{
print_r($content2);
print_r($interestt2);
}else{
echo "not checked";
}
?>2 -
I REMOVED every single thing that EVEN REMOTELY looked like it's handling redirections, I REMOVED ALL PLUGINS, and I STILL GET FUCKING REDIRECTIONS and THERE IS NO WAY TO DEBUG IT BECAUSE I GET REDIRECTED AND I DON'T GET A RESPONSE FROM THE CODE I WRITE and OF FUCKING COURSE it does not in any form LOG THIS SHIT ANYWHERE because fuck me that's why.
Truly, wordpress was created to punish us for our hubris.4 -
"It should be fairly simple to find a service to do this thing."
Then why are you assigning me the task instead of handling it yourself? Obviously if it's that simple you already did all the research on the possible options, right? In which case, why waste my time? :P -
Maybe I am just a fucking idiot, but I don’t get error handling at all. I’m always torn between what level the error should go, where it should go, and what to even do about it. Why has this burden of choice plagued me?!?
It’s like this question I can never figure out. How to react to certain things appropriately, because who can say that and be 100% correct about their opinion.3 -
When you testing your exception handling by throwing an exception, but the code throwing the exception has a bug and throws an exception, so you think it works... d'oh
-
I am so sick of this place. Production deployment shouldn't be such a massive cluster fuck of different departments and sometimes redundant configurations. Knowing who to talk to about a problem shouldn't change daily, and it shouldn't be hard to figure out.
My jvm doesn't appear to be running in production. I hunt down the fucker who is supposed to be handling this problem today...but he's out of office and no one knows who his stand in is...GODDAMNIT!2 -
!!metarant
Every time I write a rant or a comment from my phone, and I want to temporarily switch to another app to search or copy something, it's a fucking Russian roulette.
Will there be enough RAM, or will Android stop devRant thus losing all my content forever? Let's find out! The gun is loaded.
(What about handling the full activity lifecycle like Android requires?)
Now, I would like to attach a picture of the feared "task switch button", but I'm too afraid to lose everything, so fuck it3 -
The more I surrond stuff in try{...} statements, and handle with geeky error messages that should actually never happen (e.g. "TransactionId 73545 not find for UserId 10. Look for Interaction 212345 at the logs."), the more I think our Customer Support area will someday need a Customer Support Support area.2
-
Apple denies jelly scroll problem on new iPads: https://arstechnica.com/gadgets/...
This is nothing new: Steve Jobs himself told people to “just avoid holding iPhone 4 that way” in response to people being mad because iPhone 4 lost connection.
Apple is the WORST in handling user feedback, on par of Microsoft sponsoring concentration camps for immigrants (https://github.com/drop-ice). Though I still stand by my words of Apple products being engineering marvels.28 -
I usually just block every possible entry point of errors instead of handling them directly with try-catch or on-error callbacks. Is that a good practice?
In case you ask, yes, i am that lazy.3 -
Someone please explain to me how error messages such as
"Something went wrong" or "Critical error" are valid and provide little to no follow up explanation in the GUI, Logs, or client logs.
I get that not all error cases can be displayed on a GUI, but at least have decent error handling. Especially if your $8+ billion company.1 -
For the first time in a very long time, I am out of a software engineering job. I have no idea why I am handling this so well. I literally have no idea if I will get another job or not but for this month, I am working on myself and learning more on FP which is really fun btw. Is this maturity?9
-
I'm developing a new (just for fun) programming language and I'm wondering what features I should add next? These features are already implemented:
- Printing text
- Variables
- user-input
- Datatype conversion (String, Int, Float, Bool, List, Dictionary)
- lists/arrays
- dictionaries
- Sorting
- Shuffling
- random numbers & choices
- Math stuff like: log, abs, floor, ceiling, sin, etc...
- Time & Date
- Working with files
- If-else statements
- Ternary operators
- Loops (for & while)
- Functions
- Classes
- Error handling
- Importing libraries & other scripts
- Arrow/callback functions
- Escaping (\)
is there anything you often use missing?11 -
*Earlier today, asked a colleague to add exception handling for some (around 20) source files.*
*Just now, he walked over to my desk and this is the conversation that took place between us*
He: Hey, I've handled exceptions in those source files. But now the build is failing.
Me: Let me check. *pulled up the code and saw compilation errors 😠*
Me: Hmm, there are compilation issues. Did you try running those in your local machine?
Him: No, should I?
Me: *still trying to figure out why on earth the code is not compiling* Ah, you should have. That would have saved us some time.
Him: Oh, I see. Adding exception handling was an easy task, so I didn't bother to run it.
Me: *After seeing curly braces being missed out or added all over the files, I lost my fucking mind😡😠*
Me: Hey, don't worry. I'll take it from here 😊. *IN MY MIND: Thanks for being an ass hole and doubling my work on a day before a long weekend 😠😡🤬*2 -
I really hate the term fullstack developer. Just call it what it really is. Javascript react developer who dabbles in node occasionally.
If you don't have some knowledge of tuning a database, tuning your runtime, handling issues with networks and latency in your code, dealing with issues with message queues, writing abstraction layers for the database, etc. you aren't a backend developer, sorry to say.
Being able to reason about a mean stack running on digital ocean doesn't not make you proficient in the backend.3 -
About getting Help.
Hey guys
I've been needing lots of Help and explanations about small electronics and Arduino stuff.
What is the best to place such questions, where we do really get answers and replies to noobs?
Or anyone here, one of the Arduino / Electronic Pros who doesn't mind handling my questions :p
Thanks47 -
> 9h05 AM
> Sit at my desk, time to work bitches, tomorrow's a vacation day!
> "Fuck Drupal, anyway where was I yesterday?"
> "Right, I needed to fix this load of crap"
> "Let's see what happens when I do this"
> Computer starts to overract
> Computer (Windows) is updating while running Virtualbox while handling a cancer mutated Drupal project
> Even the mouse is lagging like there is no tomorrow
> Manage somehow to make Windows reboot and update so he'll stop do shit
Currently posting this while said Windows is doing its thing3 -
In my current job, I was let go of the project I was handling for almost two years in place for a new hire with less experience. The reason is that I got complacent while sacrificing code quality as more similar tasks were assigned. I'm glad it happened and grateful for all the code practices I've learned. Transferring to a new project with the same client though. 😂1
-
SO , i just ran into this database called ArangoDB and it claims to single handedly beat Mongo,Neo4j,Postgres and claims to be capable of handling any use case you can throw at it.
If anyone could verify this claim , such an ideal database just makes me question it's existence.5 -
JESUS FUCKING CHRIST
Working with google shit is a fucking nightmare.
WHY DO THEY HAVE TO REINVENT EVERYTHING ALL OVER AGAIN?
Javascript already have a very standardised way of handling env variables. It's called dotenv. It's simple. It's efficient. But of course google can't have it and must use their own version WITH ENV VARIABLES BEING SETTABLE ONLY THROUGH CLI. Because who would ever want some kind of end user friendliness. That's for the weak, like users of netlify.
Fuck you, google. I wish you could rot in hell.5 -
SSO = (P)ain in (T)he (A)SS!!
I really like to build upon all the existing awesome open source projects out there. Contributors are heros.
But handling a single user session for n to the fucking x sub sessions to all these backend applications is simply a pain in the ass. -
Mine and @jacoKotze's final exams for the year (maybe for a while too) are finally starting today. Up first: programming! The most ~complicated~ subject according to our classmates. (Did you notice the sarcasm?)
C# events and delegates, file streams, and LINQ are the "new" content next to the tests where we did exception handling and inheritance.4 -
When you wake up with a tension headache, you take something for it, everything is fine, the moment you sit in front of your desk, it comes right back with this horrible lack of empathy and care topped with the lovely lethargic feeling of burnout.. Yay me. I know what I have to do, I just really wish I could get a bit of slack once in a while.... - Packs shit to take to shit museum- psh maybe my internal error handling for slackoverflow is just too good 🤣
-
Bug handling advice #1337:
Do it like Pöttering at systemd:
- Bug incoming[1]
- "That's not a bug!"
- Wait for CVE with 9.8 critical score[2]
- "Ok, well...might be a bug..."
[1]: https://github.com/systemd/systemd/...
[2]: https://nvd.nist.gov/vuln/detail/... -
Sometimes angular can be really damn annoying with it's "Error handling".
When just one component has an error (For example using an non-existent form-control) it'll not only crash the component like it should, but the entire app.
whyyyyy do you do this to me -
A React dev in our company proudly announced a script they built for handling data processing of over 200 lines of code, no separation of concern, and all responsibilities mixed together in a large cocktail of bullshit.
Thank our servers, it's Wednesday!7 -
My 60th Day of learning Html and Css,
#Kindly comment on Font colors. And font family🙏
#I now think am capable of handling javascript🙌
#Anyone with Javascript ROADMAP , kindly help🙏12 -
Am I the only one who after some hour of frustration in the first part of the day, when it comes to do other things later on, feel messy and unable to pursue other things well?2
-
Process forking, signal handling, socket communication and race conditions. If I smoked I would have gone through a carton today.
-
Why the fuck is midnight 00:00 and midday 12:00? Every other hour is the same for Am and Pm in 12 hour time. I can’t find any explanation other than all of humanity being unable to count.
All date/time libraries must encounter this bullshit. There are so many similar levels of bullshit with everything related to time handling. Time zones, stamp formats, minimum intervals overflows are all so fucked.14 -
I am happy today cause I manage to write a query in which two table have inner join and with third left .. haha...
I mean I was thinking of handling that situation with foreach.. But managed to do it in query by myself :)
Just hoping that query won;t break for different scenarios. But let just be me happy while it last .. I mean my client make some test -
I'm currently handling 2 projects simultaneously. The other developer recently resigned, so now I've got 5. Kill me nowwwwwww1
-
Ugh... those feels when your 2 year old gaming PC is already falling way behind on benchmarks and handling games. AMD FX sucks so hard.4
-
Someone wrote some error handling middleware for the whole application.
Then someone wrote some default classes for HTTP errors; BadRequest, Unauthorized and so on.
If I didn't know any better, I'd think throwing one of these default errors would give the proper status code, instead of default everything to 500.
But alas, I do know better.1 -
When your job description says you are a mobile developer, but when you started working, you have started handling teams and doing web penetration testing. Then after 2 yrs of that still no salary raise. =.=3
-
I am supposed to make a module that does sftp to third parties. Users put in their credentials and we connect and dump files on their servers. It seems like a terrible idea. We don’t administer those computers or define anything about their security. We don’t know if they are entering third party credentials or handling data according to our TOS. Can’t we just send them a presigned link by email on a schedule or something?2
-
I should try to put ascii arts of pepe memes instead of meaningful error handling messages in my code, this way I would know for sure if people are actually not just patching fucking try catch silence everywhere instead of doing proper code.
I should probably do the same with documentation as well while being at it. -
Am currently handling a very bad code, once you add any feature the app crash and you have to fix the whole POKER application ( as you know poker is a really complicated and everything related to each other). The app crash and every single line of code goes wrong. As well i do barely have a break and am working overtime and during the weekend.
In addition to all of this i have a very complicated design and animation to the chips. Adding to this am the only developer working on this project.
Summing-up am working 10 to 11 hours per day 7 days a week. And still the manager is dissing me as if am not a good developer.
I feel so bad, i cant describe how am currently feeling.
So guys do you believe handling a very bad code might reflect your coding skills ?3 -
!rant
Coming from a pure sysadmin environment and profession, I feel a great sense of accomplishment when I've successfully managed to use a ruby library properly instead if shelling out to use it's cli interface, with optparse, proper rake task in the lib folders and proper exit code handling.
It's never too late to learn how to program in any language for your personal project.1 -
Hello fellow Devs,
I have developed a small Android library for handling HTTP POST and GET requests. Anyone who is looking for an easy way to perform HTTP calls, can use this library. It supports post requests with JSON and Multipart Form data, file uploading and Get request with URL parameters.
Hope it will help you guys.
https://github.com/shubhadeepb14/...8 -
Coming from NodeJS, writing APIs with Express, I now do my first steps writing APIs in golang with gin.
Now I know, Express is not the fastest solution out there, but I mean - a good 30ms is alright for non-high-performance backends. And I always thought that's on the faster end of HTTP handling..
..but then I used gin. A GET request doing a MongoDB-write and returning some json. 3ms response time. THREE MILISECONDS. holy fuck. By it's debug logs the actual handling took 540 MICROSECONDS. holy fuck I'm in love.8 -
When you spend ages making a really nice for loop for handling multiple classes similar functionality, only to have it all messed up by one overloaded method1
-
Is it just me or is the error handling in Go and/or Rust just.. tideous?
Maybe I'm biased because I grew up on C# and error handling has always been Exceptions and try+catch for me, but I find having to manually check errors everywhere not only annoying to code, but also horrible to look at.
Am I alone on this one?13 -
Making my first larger scale project in C...
Every time I take a look at my code, I realise I should implement better error handling here and there.
And then every time I try to break my programme with erroneous input, it actually blows up, despite all my effort to prevent that 😖😖3 -
First Rant on here!
One of the most frustrating things I have come across in PowerShell is non properly implemented ErrorAction methods in Microsoft maintained modules.
When you are attempting to write a quick script with simple yet proper error handling and Microsoft fumbles the ball at the 1 yard line! -
Program seems to work better when there is about 2-3 times the amount of code related to error handling the task than just the task. I'm always glad to see quality stuff that accounts for the edge cases especially with helpful error messages.1
-
2013 I guess. It's the year I jumped on the IT train. As a unix/linux sysadmin in a worldwide bank, been there for over 3 years. It was an amazing experience. Used a lot of my knowledge and learned even more. Got a chance to play around with enterprise software and hardware [remotely], deal with various vendors, have business with folks from all around the globe, learn enterprise processes, incident handling, be the initiator of automation of our processes,...
Boy it was an amazing year. In both professional and personal lives :) -
Project Zero team found that a specially crafted URL could make the Git client into sending credential information of an alternative host to an attacker's host. In this case, the specially crafted URL needs to contain a newline character to trick the credential handling (performs url decoding on most possible url components, no additional validation) and sending the data off to an alternate host.
Updated Now : Credential protocol code is now forbidding newline characters in any values.
More : https://lore.kernel.org/lkml/...1 -
Digistore24 is a steaming pile of shit!
The whole product creation and purchase integration is covered by ugly smelling donkey shit. This whole dumb service is made by idiots.
The 'scripts' they provide to throw at your server for generic customer handling is a joke. Just a raw php mess. But nothing works and debugging this piece of shit is nearly impossible because they don't even provide a proper documentation on how they make the request to your machine.
🤬2 -
Customer: It doesn't do what we wanted it to do, we have this issue, this particular usecase doean't work because you didn't use the patch we sent you. Please use it!
Me: I used most of it, I just fixed few broken parts and dropped part handling the hardware you realized you don't have and I just retested this particular usecase and it works! -
How do you deal with code/project burnout?
I've been refactoring and bugfixing my script for a week now. The project seems simple on the surface but the edge cases and methods to handle certain subsets of data are breaking it because handling them is vague and takes time to figure out and every day something is fixed and something else ends up as the issue preventing completion.
On the surface the idea seems sound so I'm also under pressure to get something "this easy" done.
Starting to feel some burnout on this.1 -
Rust's Result is definitely the best error-handling experience I have ever had. I started working on some Typescript stuff after using Rust for a few weeks and had to implement my own Result. It's just so easy and clean that it leaves exceptions in the dust. I don't think I can live without Results anymore.
Now I understand why everyone loves rust so much. It's just so clean, safe, easy (after you get the hang of it) and so fucking powerful (procedural macros are awesome).
I want to use Rust everywhere now <35 -
Devrantron leads to a deb in the AUR? makepkg isn't handling it, and it litterally just tosses me an error saying "file format not recognized"
-
I challenge you to start a process from php.
The following criteria must be fulfilled:
- php-fpm
- the process is started on http request by user
- the response does not wait for the process to be finished
- the process must finish, possibly after the response reached the user
- the running process does not block a fpm thread/worker from handling further requests
Simple, right?8 -
Today I found this while filling my examination form, I think somebody gone crealess while handling production db........
-
Java8: "the prevoius 2 api set of handling datetime were cumbersome, and not friendly so we introduced a whole new set of api's from jodatime"
(Looks at the new api trying to figure out how to get milis difference between a date and a timestamp, wants to kill everything and everyone in sight)
If i have to Google every simple date operations someone needs to pay -
Men fo real! I dont rant so much because I think its a negative attitude but let me do it anyway! Listen. My boss boss told me to create a dynamic drop which I did. A backend request then display it on the frontend which is easy, then on code review he ask why do we need this error handling. Bruh as soon as I heard that question, I got covid. Bitch we do need that error handling because if theres error on requests it will set to default options, but I didn’t say anything tho. I just ask what will happen if there’s an error?, he said I don’t think a simple request will respond error if you did it right. Then I agreed and remove the code. Hot damn! Mind you guys. When they started the app there are no test code. 0, nada, nothing inside the spec folder.7
-
I was casually browsing some issues for a project on github, and I certainly across an issue where someone wanted support for for URI handling (there's a good reason for his request).
I was bored, and I just wrote a script to do exactly that. I'm gonna polish it on Sunday, and then upload it, (plus add a PR). -
4 hours until major release goes live, should I be worried that the lead dev on handling releases called in sick today? If it goes badly I have no access to fix it until tomorrow.4
-
There is normal to have an unexpected exception in a life.
If you learn to code, you know thats why there is try/catch exist, so when you try something and there is an exception you know how to pass it.
Why? So whenever something goes unexpected from your expectation you already have an exception for it and just pass it rather than making your entire mind crashing!24 -
When your project partner tells you not yo use database constraints, know that he's about to do some messy handling of the database.
How can someone make a user deletable and leave his other data lying around in other tables? I'm tired.
Messy codes everywhere.2 -
Im handling One of my senior's project who left the company last year. And now when I'm implementing new things it turns out that he has hardcoded the array lengths which should have been dynamic😤😤😤😤😭😭😭
-
Anyone find it a little worrying the when amazon AWS goes down a large portion of sites goes down. Just my opinion but shouldn't there be more than one company or subset of that company handling smaller portions of sites?2
-
Show me how you made an http server with an arduino nano and an esp8266 via AT commands from the arduino, the arduino handling the clients.
No you didn't, this shit is fucking impossible.4 -
I had this pretty good experience of handling teams through working and leading projects and being a part of multiple organisations.
The best way to learn something is to teach it to several others with you, so growing together is the best way to learn aa it not only benefits you but people with you.
Sharing is the best thing that can happen to anyone in this entire world. -
I'm starting a project from scratch using Node MySQL Angular stack api based. Which hosting is best for handling file uploads? Vultr, Digital Ocean, Heroku or Linode? This is for a startup so AWS, Azure and GCP may not be an option for now. Maybe in the future but for now I want simple pricing.
What hosting can you recommend to me? Thanks!3 -
Can anyone suggest any websites or resources for a breakdown of how to handle requests for features or handling bugs. Basically, I want some kind of background on best practices for managing the process of receiving a feature request/or bug report from a user to it reaching the dev team, to production/user acceptance testing.5
-
Our team has to add some features to an existing application/platform. Its a mobile application with a server handling all the logic and a database for records storage. Fairly big project, a few 1000 lines. Ohh and did I mention that there is absolutely NO DOCUMENTATION???! Why on earth would you even be like ohhh let's do this project but write absolutely no documentation for it! Why???1
-
Struggling to write my Engineering Thesis code. Not because I'm afraid of tech, but because I have no idea what it should do.
I'm testing mobile apps performance, but getting the right idea is pain in the ass. :(
Never been too creative, but always have been over ambitious and lazy.
So the deadline is coming slowly, I have specified my 'tests' (authorization, API connection, heavy calculations, graphics, database handling) and still don't know what my app should do.
And ideas or suggestions what else is to test? -
My biggest dev sin in my rather short dev live would be my telegram bot written in node.js without any knowledge about JS. Running for almost 1 year without any error handling - oh I almost forgot I haven't documented the code - but the bot is open source, although I haven't worked on it in months1
-
Experimented with embedded Rust. Fuck that. C is a brilliant small language. Trustworthy. Rust is just C++ killer, it doesn’t belong in embedded domain. Bloated syntax, verbose error handling, crap quality crates with little to no documentation.18
-
The project that our client is providing as a service to Heathrow Airport as main system for handling any deliveries from and to the Airport and also other big companies in UK. But the code sucks :(
-
Reversed a TSOP programmer software that only ran with Win2K (due buggy HID handling) and rewrote to run multi platform :)
-
I don't know why GNOME decided to mess their keyboard layout handling at some point. All of their US INTL keyboard variants don't work one way or another.
So much for purple Java mainstack….
setxkbmap was, always the way to go. -
How is everyone handling their day job lately? I'm feeling pretty safe about my position, but my day-to-day is definitely suffering as my mind wanders off.
Cost of living crisis, trying to have a social life, impending fatherhood, all while trying to do good work and improve my knowledge. Not easy.3 -
What are your use cases for noSql dbs? I haven't really found a reason beyond stuff like chat messages or logs, but even those tend to work perfectly fine with SQL.
I imagine they're pretty good for prototyping, but haven't really tried them out for that yet. Perhaps for cases where you're handling billions of records?9 -
Is it normal to use rabbitmq AND kafka in the same backend?
Rabbitmq for email verification, password reset etc and all that email bullshit handling
While kafka handles real time chat communication?
Since i noticed both of them work exactly the same. Producer/consumer. Pub/sub shit. Cant tell the difference other than a slightly different syntax10 -
Thanks past developer for not only one bug but also the bug in your exception handling attempting to catch this bug which resulted in confusing the hell out of us for way too long due to output that made absolutely no sense
-
So here I am debugging a factory in an algorithm I didn't write in a library I didn't write all so I can jam an exception throw into the code to handle input validation.
I am being forced to use exception handling. To handle input validation.
What is my life? It wasn't supposed to be this way. I was supposed to work with smart people who do smart things. Why? -
Getters and setters vs property accessors?
The instructor of my Android development class is manually and purposefully using setters and getters when the Kotlin language and Android Studio is strongly pushing for this property accessor way of handling private data fields. He says that it goes against the philosophy of hiding the data and keeping data fields private.
I’m all for property accessors, but I’m struggling to come up with a response for what he says. Modern programming languages like Kotlin and Swift have been strongly encouraging the use of property accessors.8 -
is there any way to convert python straight to C yet? i just barely can't get PyInstaller working on PythonD because no os.fork() (because DOS. no, not cmd.exe, actual fucking DOS.)
one broken function between me and victory
"just use C" DJGPP is kicking my ass all the same, random unknown segfaults are a bitch and also i can't get quite what i want in the memory layout restrictions i have to work under
"just use Assembly/BASIC" their file handling makes me wanna die and BASIC is fucking massive as well18 -
I'm trying to improve my code and I found a place where you can find problems and you can upload the answer and it says if it works or if it doesn't.
The funny thing is that it asks for handling the exceptions but it says it's wrong if u handle them.10 -
Procrastinating as I had to deliver a full working Android app and it'd Backend to feed data to it. I had 6 months. I pulled 2 all nighters and finished the entire project in just one week. I and I totally ducked it up. No backend optimization means with 100 users online the server will go stupid and don't know how to handle the pressure. The Android app just doesn't work on some devices due to a poor error handling. So yeah, I totally love to procrastinate, but I'll just leave that for later.
-
What would all you guys say is a good (preferably easy) language for writing CLI applications? Something that runs fast, the less dependencies at runtime the better, and (this goes lower on the list)of thess logic required for argument handling the better.26
-
When you've been handling multiple production defects and software PMR tickets for the last couple of months and the morning of a new sprint your JIRA/SCRUM/Kanban/task/whatever board is empty under your name. Feels good man.
-
Everytime anywhere any programming language, the example for exception handling is always
a/0;
Why god why??1 -
Finally after 3 fucking months, 15-20 fucking meetings, I got sign off for a feature release. The development took 3 weeks and was completed in March end.
I know being a financial institution and feature was regarding system handling funds, business guys need to worry a bit as any mistake in code can mess up the funds disbursal. But fuckers took 3 months to give sign off.
However, it's finally released and I can relax for now. #peace -
I hate AWS ec2 instanced with it shitty handling of environment variables...Why in hell it is so hard to set an environment variable which will be re-set in case the instance will be restarted? For hours I'm fighting through manuals and non of the described procedures work2
-
Ahh most of my development time includes, handling JIRA tickets and arranging them in their respective state.. 😅
-
GLFW is the cleanest, well documented, most convinient API for creating and handling windows in Linux and Windows I've ever used.
The only thing that bugs me is that valgrind detects memory leaks on it.4 -
I am so habitual to handling unexpected behaviours in Android to avoid crashes that even in real life most of my conversation with my brother is like what if it happens.. he'll be like we'll see when it does... I'll be like why not handling now... And the conversation goes on and on...
I guess my mind is trained now to handle null crashes, even in real life.1 -
1.Ignoring the warnings during compilation of program and executing it.
2.After random crashes,trying to fix the system by handling errors one by one. -
Seems like Windows 11 has some nice improvement for file handling performance; though I am not sure whether they're implemented on the system level or on the Explorer app level. What I have been noticing is that a folder with 25k files in it gets opened in Explorer instantly on Windows 11; while on Windows 10 the same folder was pretty slow to appear
-
So glad I decided to use Spring Boot... Love it's bean configuration for dependency injections... Also love the RowMapper interface that's used with the JdbcTemplate. No more redundant Exception handling over and over again and I can still get close to the metal with writing my own queries. DOPE.
-
I don't know why do we need to entertain our clients for each and every thing. I mean I'm handling every fucking exception out there I have like 10 flags handling individual stuff. and if I raise this to my boss he will just say. if they are paying then we are doing it. I mean come on!
-
For the employee goals evaluation, my manager suggested to word "the higher-ups difficult to deal with on the other parts of the world" as "handling complex and challenging situations due to time zone differences"1
-
Why is the prettus repository package shit at handling mass inserts. The documentation says:
$this->repository->create(Input::all())
WTF does that even mean.3 -
Web dev (JS, node) question since there are so many here... I think...
I want to return a JSON array as a stream so the server passes whatever the DB returns but also normalize each record.
Also the data is across several collections. Is it possible to return this in a single request?
And how do I add in error handling? If there's an error in between the user already has part of the data?3 -
haha I just thought of the perfect training device.
so many guns can have hair triggers. why not create a wifi enabled composite replica of guns someone is training with and get them all excited and psyched out and add a tracker to the trigger that opens a simple circuit and reports 'weapon fire' and gun orientation to the computer to help with training and reinforcing the training of proper weapons handling during apprehension or holding of a person so you can take control without shooting them accidentally in war or law enforcement actions, you could add a system that plays a very alarming bad noise when someone in the scenario is accidentally shot or you accidentally shoot the person being apprehended :P you know like you hold a pair of scissors with the point away, train them to hold their finger somewhere when handling a certain way to prevent misfire.
yes i'm thinking about shooting certain people or holding pedo money bags hostage atm. -
My jobs requires me to be at office 6 days a week but I am learning a lot. But I am stressed out and on the edge. One day off is not working out for me and they won't change their policy. Is there anyone else who is in a same situation like me? How are you handling it? Should I be part of this company anymore? Because sometimes I feel like quitting.
-
hey guys i need your advice about backend integration for android. I have this junior and I want to teach him about integrating REST API and handling it with volley+caroutines or retrofit+rxjava. currently the junior is using firebase for authentication and firebase realtime db for all CRUD operations. problem is that by using firebase backend the junior won't learn networking/multithreading stuff. Is there a way to use firebase realtime database like a REST API?
-
I never had a problem with daylight savings, that was until I tried handling it along with date and times in different time zones in Java. FML.
-
Fastcsv is my knight in shining armour. After reliving the horrors of handling utf-8 csv files with the built in library of Python 2.7 it made my day to see everything work.1
-
I want to finally implement a minor pet project I spent some time designing a while ago. It's a web service based on encrypted data handling. I'm willing to get out of my comfort zone (that is .NET) and practice the use of different tech. What do you recommend for it?1
-
I'd like to one day work on security consulting/advising (incident response, opsec, SOC, etc). For those of you here that are currently in or have worked with people in that field: what advice do you have for handling cyber risk situations?1
-
Question for devs:
How are y’all handling copy changes in your app? What’s ur process? Do you put up a PR for every small copy change or do you use a special tool or something?4 -
Just want to ask a question here to avoid the downvote on stackoverflow.
Does apache + mpm_event + PHP-FPM capable of handling 500 simultanous requests, on a server with 4CPU cores and 16Gb of RAM? -
What do you tell yourself when you are struggling to resolve an issue? Or when you solve an issue only to find another, and then solve that only to repeat that cycle over and over? Do you have any tips for dealing with the frustration of errors?2
-
fucking hate implementing a chat feature in the apps! a couple of moving parts and edge case handling!2
-
I asked a team member about a simple update for a customer's country/state code and he started saying we should build an event handler and publish and event and I'm like "woah woah... this is before they're engaged."
Thankfully he said, in that case, my original idea of just handling the update is correct. Phew ... that could have been way more complicated than it needed to be.1 -
Drupal 7 was a pain in the ass to learn. And handling contrib modules that didn't work or weren't patched in years was an awful experience.
-
Anyone use docker in production handling monies and hundreds accounts? In Django in my case but doesnt matter the framework. More concerned with security and stability moving from paas to docker based paas. Worried I'll move everything to docker and end up moving back to vms bc of some issues or some vulnerability.
-
Handling null like null is to be handled in production. And in current times null is good news (The app is of one of the most important german newspapers)
-
Friend asked me to help him with his excel file, as I know a bunch of that, it was just a small and quick thing he said, I just can't get this function to work...
Now I've rewritten all of that excel files functions and, without error handling and anomaly processing every function is an average of 500 chars. Times 500 unique functions...
QUICK AND EASY YOU SAID -
I'm probably doing something wrong because I cannot think of a good implementation (or alternative) for this pattern in Rust.
trait Terminal {
fn color_manager(&mut self) -> &mut dyn ColorManager;
}
All I want is having things in their own tidy little class with a specific job. In this case handling color conversion, having a registry for indexed colors, stuff like that...
It's composition which Rust should be good at so I assume there's a better way
How can I do something like this properly? -
Why every time Adsense reject my website
At first, due to not finding the URL, because at the same time I was handling the server
Then, Some errors in the AdSense code.
And now, they are not finding any quality content.6 -
How are you handling junior/senior relationships, were you are the junior and have the feeling of being a burden on the senior?6
-
I think I broke our intern.
All I did was set up an alias command to copy a war file. It of course has all the error handling and crap -
Guys, I know this is not stackoverflow, but do you think it will be an overkill to use RxJava for the event handling of a simple uber like app ?
-
My PC fried a couple of weeks ago, and while handling that for awhile, I had to stay in an ICU. It's been too long and I think God or whatever may he be doesn't want me ricing my distro anymore...