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 - "swish"
-
If doctors were like software engineers, they would say things like "Have you tried killing yourself and letting yourself be reborn?"2
-
Late update to the party, but I’m temporarily occupying the newly decorated living room while my room / office is being prepared for a swish new look.
Obligatory code included. -
We hired two developers (out of country). Got them set up with the repo and running the app (mobile). One was complaining the login was failing, after 5 minutes, realizes hes not connected to the wifi on his phone.
I am unsure who we are hiring -
))| THE BEST AND WORST WAY|((
))| TO DELETE A LINE IN BASH |((
(Think you can do better? Vote
now on your phones!)
WORST: Hold backspace until satisfied
BEST: Using a pen or other pointing device capable of causing semi or permanent damage to your screen, count how many characters the line in question consists of. Write this down on a piece of paper (after all, your terminal is occupied) and using long division, or any other means, divide this number by two, rounding as you please. Press the "right arrow" key as many times as necessary to reach the end of the line. This might be 0 - if so, congratulations, you may skip this step! Once complete, refer to your piece of paper, and taking your newly calculated number, press the "left arrow" key exactly that many times. If you have a short attention span or are worried you will lose count, take a tally or use some other primitive count recording method. Once the key has been pressed the correct number of times, hold down either control key on your keyboard and take a deep breath - there's no going back now (!) - press the "k" key (you should still be holding a control key!) and take a sigh of relief. You're halfway there! If you need a break, take one. When you're ready to finish the task, hold a control key again and take another deep breath. When you are ready to complete the task (don't hold your breath too long!) press the "w" key. Congratulations!! Your line has been deleted!! Some may call you a fucking idiot for not just pressing ctrl-w at the start, but don't listen to those people! They probably delete stuff by accident all the time! Now, take a lie down, and give a moment's silence for the poor poor line you just brutally dissected and murdered.
Think you can do better? Vote now on your phones!9 -
Starting a new job on Thursday after 2 years as software engineer at a different company. I feel like a know no transferable (language) skills; I was mostly "the expert" of the framework at the previous company and now feel like I'm starting from scratch.
How do you handle starting a new position? Do you prepare yourself or just go and see? Am I overthinking?4 -
As opposed to my horrific experiences with PayPal, Swish, a Swedish (really smooth) payment processor has some really nice documentation. An example:
"The callback, in the happy case, will return an intermediate response with the status DEBITED."
And other nice things such as clear numbered lists describing user flows, with images for extra clarification. Also, they provide full lists of error responses and in many cases suggested way to proceed with these error cases.
And as the cherry on top, this is developed as a cooperation between a few Swedish banks. The banks, who are the most thick type of companies when it comes to IT, does it better than PayPal.6 -
What's up with recruiters calling the office? Today, a coworker got a call from a recruiter. 5 minutes later I got a call from a lady from an IT Management consulting company asking me if I'm the right person to talk to which I'm quite obviously not (she apparently sent me an email last week, which, if I got it, marked as spam).
In my last job several recruiters called; how could I even talk open on the phone -.- -
Belts are nice and all, but I've always found them to be particularly unfriendly towards laptops.
Buttons aren't much better, which I try to explain to people, but for some reason I still get strange looks when I go bottomless in the public library.
Fucking noobs.undefined stupidnormals itscalledalaptopnotabelttop scrubs itscalledalaptopnotaboxerstop itscalledalaptopnotatrouserstop4 -
I added a class to our data classes that could be represented as a button in the dataview in the GUI instead of creating a proper UI for my problem
- It was quick
- I wasn't a full dev yet (more a student) and didn't want to learn how to create a GUI
- I saw it used in different places by more experienced devs even though I put a comment some time later to not use it because it breaks several concepts
- I get annoyed everytime I see it now ^^