Details
-
LocationPakistan
Joined devRant on 3/30/2017
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
-
Well seasons always shift too late
Spent too much time now on paths sideways
Everything that is connected and beautiful
And now I know just where I stand
Thank god it's over
(Pikul is a criminally underrated album of the band Silversun Pickups)1 -
Why are there bots on devrant now this app has like 50 active users and we’re all tech savvy enough to know not to fall for a shit crypto scam damnit I hate crypto just shut up about blockchain we get it you’re compensating for something9
-
hi guys, do you have extra work and need a budget friendly dev to help you? hit me up for quality work on a deadline. my tech stack is html, css, js, react, and currently learning ruby on rails. i need to gain some experience working on projects + be able to pay up some bills
-
i work with someone,and looks like he want to run away,if he run away with the half done project and not pay me i want to make his API broken,how to do that?4
-
It’s been a while since I have posted here but I felt like I want to rant without any thought of being judged.
I had take a break from work and it was working well for me. I had my ups and downs. I was always working on something but on the outside everyone just assumed that I did nothing.
I had other personal incidents that affected me. I started to get trigger with my environment and how much ever effort I made to make it lower it was still triggering.
For that reason I thought to pick up course in a different country and work on myself w/o these triggers existing.
Even though I have a plan to get started to work on things. There is this huge heaviness in my head that doesn’t seem to go away. It makes me doubt wether I am good enough to be a developer.
The previous two companies that I worked for keep reaching out to me to join them back but it still doesn’t feel like enough.
I think I am just scared to fail at this point.
Plus with everyone constantly asking me about the recession it’s adding up to my cloudy head.
I know this cloudy feeling is temporary but it’s this that stops me from being an optimal person and that mildly infuriates me. -
When managers look at my code, it’s shit, it’s over complicated, it’s overly difficult to read, it took too long, it’s too much for a simple ticket, i handled too many edge cases, we’ll never need most of it, why did I bother making it extensible when it’ll never need to change, how dare I use “unless”, why did I bother writing all these comments, why did I update the documentation that nobody reads because it’s outdated, etc. They say I should be more like the legendary devs and push janky code quickly, and complain that I don’t have any flops (problems in prod) like those are a good thing.
When my coworkers look at my code, they say it’s clean, amazingly easy to read, a monster feature that’s somehow still a joy to review and work on, it makes their lives easier, that it does exactly what it should in all cases, that they learned something from reading it, and thank me for the comments and documentation. And marvel that I finished it so well in so little time.
Am I bragging? Not intentionally; I’ve heard these things repeatedly since I started here, and the contrast between the above is so stark.
In reality, the managers are just idiots who were promoted far above their competence, and make everything worse. (Gee, who woulda thought?) It’s just so frustrating.19 -
*Me enjoying life*
Brain: You're wasting your potential. You should work more.
*Me on the job working*
Brain: You're wasting your youth. You should go out and enjoy life.
WHAT THE FUCK DO YOU WANT, BRAIN?
Brain: No productivity! Only Guilt!19 -
I'm at an Indian restaurant and I love how their ticket system (showing when you food is ready to be picked up) has a very, very rough and homemade feeling. It's fitting the place very well.11
-
I've fallen asleep while trying to finish this series so many times that I must've changed the "Trending now" Netflix's listing for the whole country.
I wonder why do I always wake up right when the last episode ends, though... -
I have more of those with personal life affecting job. I am currently going through one of those when my emotional attachments stop my brain from functioning (those damn hormones! 👊) and I am literally too old to be played with via feelings, but here I am. 🙄 Owner of a stupid fucking heart.3
-
Dropping out of college because it was useless, and getting a job in the industry while continuing to teach myself.
That way I was paid to learn instead of the reverse — and I learned newer and actually useful things. I also saved time to boot.
I might not have a masters degree, but that doesn’t matter, either. Experience is always better than a comparable amount of education.
Honestly, none of the good devs I have worked with held masters degrees. To a one, they were all self-taught.7 -
Am I in developer hell already? A shitty project is about to come to an end (hopefully), or should I rather say: It needs to come to an end. But I am still quite lost in how to deal with it, hence procrastinating on it - making the deadline come closer and with it the realization that I'll probably have to rewrite almost everything. I'm not sure how, but I do know that the current code is a dumpster fire.
Basically what I need to do is dealing with the APIs of different payment providers/gateways (like PayPal, AmazonPay). For most cases I'll get a payment ID from the shop and need to act on it later, e.g. capture the authorized money in the case of a credit card transaction or do refunds (without user interaction, unless there is an error). Now at first I put something together where I try to abstract the payment information into two tables:
orders{1}<->{0..n}payments
payments{1}<->{1..n}paymentDetails
Unfortunately trying to abstract the different payment methods and to squeeze them (and their different possible stati and functions) in these tables was not very successful, it's a total mess with magic numbers, half-broken behavior and without any consideration for partial payments/captures or unfinished requests (i.e. if there is an exception before the response is dealt with, there is no indication that anything has ever been sent). Also the current amount is calculated through the history of the paymentDetails table, which basically works differently for each payment type.
How to fix this mess in a way that I'll still have a job by next week?
I'm trying to improve the db schema first, as I think my biggest problems are lying there. Through some research I've come across a recommendation for making payment type specific subtables (with a magic number/string in the main table to prevent having to look up all subtables). That way I can record what I send and receive without having to abstract it too much, so I'll have an acceptable transaction log. The paymentDetails table can be removed (necessary fields go to the payments table). The payments table gets multiple fields for the amount (differentiating between open, authorized, captured, processing and refunded values) and always reflects the current status.
Tables:
payments
paymentRequestsPaypal
paymentRequestsAmazonpay
paymentRequestsXyz
I think I'm going in the right direction here. hm. Maybe there's some light at the end of this long, dark tunnel. Or a train. I'll have two days to find out.question kill me already send help thank you for being my rubber duck payment gateways deadline approaching rant/question burnout6 -
+++ Sudo team adopting Adobe's Flash player, uniting security with design +++
Could we please stop pretending, that the choice of language has no security impact:
https://sudo.ws/alerts/...25 -
What do you think of this Language? It is a game changer or just another language which will soon die?
https://vlang.io/31 -
If you want to make a startup but don't because there is a similar product or "every niche is already occupied", quit thinking this way.
Yahoo could once easily buy Google. They even received the offer but rejected it. But as for now, Yahoo is nothing.
Tumblr was once a top social network, but they crumbled. Foursquare once was preinstalled to smartphones, and now it pretty much doesn't exist.
Blackberry was a giant, the number one smartphone manufacturer. Where are they now? It wasn't betrayal like it was with Nokia and Stephen Elop.
Matter of fact, I'm now working for the company that entered a heavily occupied niche and over the course of three years pushed every competitor out.
Sometimes giants crumble. Small products crumble way more often, just because there are more of them.
There is always enough room in every niche of every industry. Just enough for your startup. Now, as you can't hide under "it's already occupied, and I can do nothing about it" mindset, the only reason your startup won't make it is that you don't work on it. Yes, accepting it is way less comfortable than hiding, but now you're able to change things. You _can_ do something about it.
Evaluate your goals, ask yourself whether making this startup would be just wasted time in case it never takes off, and if you think it's still worth doing, do it.
There is always enough room for your masterpiece.2 -
In the USA, the country where same-sex marriages are legal, 65% of people do believe in a religion that explicitly states that gay people should be beaten to death with rocks.
Make up your mind. You're either pro-equality or you're a christian. You can't be both.8 -
That time when I ranted about wanting to commit suicide but not having enough energy to go and buy a gun.
That day in the evening, I asked my GF: "I think that the whole life is a humongous rationalization on top of biological avoidance of death".
She has an untreatable neurological disease. She told me "I found out it's a consensus among different philosophers. It absolutely is. I just prefer not to think about it".5 -
My manager’s manager (my superboss)..
Every time we go for a design discussion, this guy goes into his own world of inspiration, motivation, religion and damn things.. the more you think of pulling him back, the more lame jokes he starts to crack, the more you’ll bring in work related talks, the more stupid his output will be.. it is now resulting in a late delivery date, a frustrated manager, and a frustrated team. Moreover he says, he’s inspired from Elon Musk, dafuq, I mean seriously? What part of his approach on productivity you actually got inspired by? Sleep?4 -
Failed the interview I was hoping for.
I already had 3 tech rounds, this was 4th and god I couldn't solve anything. Other rounds were fine but only this one was bad. I feel so exhausted, I finally thought that I'm out of this shit hole but no I have to continue working day and night. :( :(2 -
The amount of energy spent to just write ‘Hi’ and click a send button is so big that we should consider banning of sending hi messages.
Instead of just saying “Hi!” we are now using analog to digital preprocessors that convert it to bunch of 0 and 1 to send it over communication layer and deliver it to other human being that will convert it from digital to analog by reading it but that is simple.
By sending message using phone we also:
- save it to local phone
- convert it to couple protocols
- transmit it over air so make connection to internet provider services that would generate logs on this provider as well as whole routing table before it gets to the target person
- save it on messaging provider disk
- probably be processed by filters by provider, sometimes be reviewed or listened by third parties and also processed in bulk by artificial intelligence algorithms
- finally delivered to target phone and saved there where that person would just change this text to their inner voice and save it
- sometimes encrypted and decrypted
- sometimes saved on provider
- sometimes saved on phone manufacturer cloud backup
- don’t get me started on people involved to keep this infrastructure in place for you just to say hi
There are also some indirect infinite possibilities of actions for example:
- emit sound and light that can lead to walking from one room to other
- the floor in your house is destroyed cause of it so you need to renovate your floor
- sound can expose your position and kill you if you’re hiding from attacker
- sound can wake you up so you wake up in different hours
- it can stop you from having sex or even lead to divorce as a result simple hi can destroy your life
- can get you fired
- can prevent from suicide and as a result you can make technology to destroy humans
and I can write about sound and light all day but that’s not the point, the point is that every invention makes life more complicated, maybe it saves time but does it really matter ?
I can say that every invention we made didn’t make world simpler. The world is growing with complexity instead.
It’s just because most of those inventions lead to computer that didn’t make our world simpler but made it more complicated.1 -
> phone rings during worktime hours
> "Yeah, I was contacting you on behalf of YADDAYADDA, I just found your CV in our database and I wanted to know if you were open to work for us"
Excuse me, how long ago did I submit my application?
> "Mmmmh... it says 2020"
What exactly am I even supposed to answer.4 -
So;dfjkhijasdfkjq;sdfhjkl;asdf
I copy a line from one spec (to create a user) and paste it in another spec. It works just dandy in the first, and throws MySQL missing column errors in the other.
Fucking what.
This codebase is full of shit like this. Things work in one place but not another, and it’s never obvious why. Tens of thousands of gotchas and quirks. The only way I can get an answer to things like these is to either beg my boss for an explanation, which I’m sure he’s long since tired of, or spend a full day (or more) wading through several rabbit holes filled with raw sewage.
I wasted two hours today trying to get a simple fucking factory to work. And you know what? I just gave up and used the existing admin user. Yeah it’s a bad idea, but it’s fucking good enough.
They can yell if they want.
I have no cares left.rant non-deterministic this train went off the rails long ago so done so tired trainwreck idc puffing billy15