AboutWeb developer, tech enthusiasts and love wake up all night and sleep all day. i like cats while i code they go un intrupted unless I leave my chair
Skillsjs, codeigniter, mysql, bootstrap
Joined devRant on 11/9/2016
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
21 hours, i worked most with sane concentration.
I remember when i was fresh in programing, felt for the first time that i have challenge to solve and it was a chain reaction i kept doing tasks 1 by 1 and volla 21 hours are passed.
I came office at 10 am and left 7 am other day.
After Finnish my work i felt so relive like i have concurred the world lol.
It was a feeling like i have all the time in the world and this is what i am passionate about so all i have to dive in this field.
During this session when i gained the momentum of work i could see that the production become double triple as long as you get sync with your brain. Felt like you are in some other time space where you spend more time but in reality its less same as we dream.
One Thursday noon,
operation manager: (looking at mobile)what the.....something is wrong i am getting bunch of emails about orders getting confirmed.
Colleague dev: (checks the main email where it gets all email sent/received) holy shit all of our clients getting confirmation email for orders which were already cancelled/incomplete.
Me: imediately contacting bluehost support, asking them to down the server so just that we can stopp it, 600+ emails were already sent and people keep getting it.
*calls head of IT* telling the situation because he's not in the office atm.
CEO: wtf is happening with my business, is it a hacker?
*so we have a intrusion somebody messed the site with a script or something*
All of us(dev) sits on the code finding the vulnerabilities , trying to track the issue that how somebody was able to do that.
*After an hour*
So we have gone through almost easch function written in the code which could possibly cause that but unable to find anything which could break it.
Head asking op when did you started getting it actually?
Op: right after 12 pm.
*an other hour passes*
Head: (checking the logs) so right after the last commit, site got updated too?. And....and.....wtf what da hell who wrote this shit in last commit?
* this fuckin query is missing damn where clause* 🤬
Me: me 😰
*long pause, everyone looking at me and i couldn't look at anyone*
The shame and me that how can i do that.
Head: so its you not any intrudor 😡
Further investigating, what the holy mother of #_/&;=568 why cronjob doesn't check how old the order is. Why why why.
(So basically this happened, because of that query all cancelled/incomplete orders got updated damage done already, helping it the cronjob running on all of them sending clients email and with that function some other values got updated too, inshort the whole db is fucked up.)
and now they know who did it as well.
*Head after some time cooling down, asked me the solution for the mess i create*
Me: i took backup just couple of days before i can restore that with a script and can do manual stuff for the recent 2 days. ( operation manager was already calling people and apologising from our side )
Head: okay do it now.
Me: *in panic* wrote a script to restore the records ( checking what i wrote 100000000 times now ), ran...tested...all working...restored the data.
after that wrote an apology email, because of me staff had to work alot and it becomes so hectic just because of me.
* at the end of the day CEO, head, staff accepted apology and asked me to be careful next time, so it actually teached me a lesson and i always always try to be more careful now especially with quries. People are really good here so that's how it goes* 🙂2
How do I install linux wifi drivers when I have no internet in that pc?
Can u tell me any package which I can transfer on that laptop and install and get my internet there?23
I wouldn't call any rejection worst.
I learnt new things everytime I had interview actually they came to me like steps of learning and when I get to know enough I got my first job :)
Alright so this I have been feeling from sometime now, this abnormal energy to work till dawn n dusk and then realizing that this body needs time to heal back and I have to take rest before starting any work.
I want to meet focus of a saint1
Alright I have a question for android/ios app dev, as being a web dev I see one has to do so much for tech stack as there are tons of web languages. And to keep themselves upto date according to the latest tech stack they have to learn new every day.
What about app devs you don't have so many languages like web do so can I say a person spending more time in one lang can learn it way better than web devs who have to look for the latest tech stack and start from the scratch?7
My family don't even know what dev is, one day my mom sat with me and I was working on my project using sublime. She watching monokai theme and asked me:
Why are these words in different color everywhere?
And I told her that which color means its a variable and which color means its a function, constant.
even though she didn't get a thing but I told her
I just done know what happened to me, now I miss semicolons In code.
when I use to read people ranting how they miss semicolon and I was like " how can somebody miss it" and look at me now I have the same problem.
Somebody's messing with our site again. I thinks he's tha hacker who pulled the code from a demo version of our site now every other day he's running malicious script to do damage.
Currently we are monitoring site traffic and one user is active from 4 days and 10 hour long everyday with UK location.
Do anyone knows how to catch him and what to do?
Currently he was able to delete all images from a folder.14
So finally i said goodbye to ubuntu forever but I stayed on debian have installed and setup crunchbang its performance is much better and this os is so lighter.
my wifi issue is fixed here didn't do anything at all. I'm loving this os
thanks all those guys who tried to help me fix wifi issue6
Dell is such awful machine to use with ubuntu even it was officially ubuntu installed machine it has so much issues and my work is suffering because of this machine which costs me 70k PKR. Having 8gb ram 500hdd, core i3 processor 4th gen.
I'm suffering from wifi getting disconnected time to time I couldn't find help on ubuntu forms nor on official dell site
I guess both sucks pretty bad
will atleast never buy dell machine again nor with stupid ubuntu os just5
Ubuntu 16 lts wifi drivers have problem and i am unable to fix this shit, everytime there's a new problem with ubuntu I hate ubuntu now for these many problems I'm not going to use it again.
If I didn't find any good linux distro I think I should switch to mac40
I noted music is disaster for my work. It distracts I loose my focus and efficiency decrease also.
mood swingings when I listen too much music I have a hated feeling l. So I decided to quite listening music during work.
It may help me in the rest of thr time when I am alone and need to really distress myself3
I found a empty space (placeholder for foobar) while searching on Google :/ was expecting to get real one, refreshed it multiple times inspected elements tried to just display:block it but no luck.
I want to go to Google :'(8
Earlier i ranted about how someone hacked our site and he had our source code.
Now finally we found how was our site code stolen, thanks to @dfox he mentioned how can we pull code from got server at that time I checked trying commamds to dowload git folder but it was secure but later we found that we had another subdomain running for pur project and its git folder was not secured16
This is really shitty from ubuntu the reason I switched to linux was I had crappy windows error slow performance and that I gets hanged time to time.
Guess what I have same problem.on linux :/ fuck this ubuntu gnome.
Can anybody tell if there's any fucking os which doesn't get hang?
because Ubuntu is pissing me off
I have dell core i3 running with 8 g ram35
So I have noticed if I think I know much of logic in programming and I can solve this problem better way I actually code better.
And when I think no I'm just a noob programmer I ask stupid question to myself and get my self confidence blown.
Thing is don't think you are bad, think of just you'll put all the experience all the knowledge you got in this program (according to its requirement)
Having an argument about "empty" function in php.
someone told me that we shouldn't use this function because this is deprecated and doesn't work on php 5.3.
He has this opinion because once we took a site live and there few conditions broke. And they were like this " if ( empty($this->input->post())"
While I was trying to tell basically it wasn't empty fault I used it wrong, because the docs says nor its deprecated neither it'll break if we just use variables in it and not functions.
Argument ends up in "not getting any reply" :/
will u leave a problem in center while you are tired as hell and prefer sleep over completing your program ?6