Details
-
AboutI am a professional developer lives in jalandhar, punjab. Development is my passion and intrest.
-
Skillsjs, jquery, css, css3, html, html5, php, codeignitor, wordpress, bootstrap, laravel, lumen
-
Locationjalandhar, punjab
Joined devRant on 7/9/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
-
Still as a scholar who has had his intership I decided that I was finally confident enough in my ability to apply for a small part-time programming job. I had an internship at a cool exhausting place with tons of expertise and I've proven myselve over there. So now I wanted a job on the side. Nothing special, just something that would make a little money with programming instead of washing dishes at the restaurant.
So I started at this small internet based startup (2 or 3 progammers) as a backend-oriented programmer. The working hours were amazingly compatible with my school schedule.
The lead dev also sounded like a smart guy. He had worked as a backend guy for years and had code running on verry critical public infrastructure that if it were to fail we'd be evacuated from our homes.
As a first asignment I got an isolated task to make an importer for some kind of file format that needed integration. So I asked for access to the code. I didn't get it since they were going to re-do the entire backend based on the code I wrote. I just needed to parse the file in a usable object structure. So I found out that the file format was horrible and made a quite nice set of objects that were nice. At the end of the first week or so I asked if I could get access to the code again, so I could integrate it. Answer was no. The lead dev would do that. I could however get access to my private repository.
Next week a new intern was taken to build a multiplatform responsive app. Only downside was that all the stuff he had ever done was php based websites. It wasn't going anywhere anytime soon, but I figured that that was where internships were for. So I ended up helping him a lot and taught him some concepts of OOP and S.O.L.I.D. and the occasional 30 minute rants of IndexOutOfRangeException, ArgumentException and such.
So one day he asked me how to parse a json string and retrieve a specific field out of it.
I gave him something like the following to start with:
"
JObject json;
if(!JObject.TryParse(jsonString, out json))
{
//handle error
}
string value;
if(!json.tryget("foo", out value).../// code continues
"
but then the main dev stepped in and proposed the following since it wouldn't crash on an API change:
"
dynamic json = new JObject(jsonString);
string value = json.myJsonValue;
"
After me trying to explain to him that this was a bad choise for about 15 minutes because of all kinds of reasons I just gave up. I was verry mad that this young boy was forced to use bad programming pracises while he was clearly still learning. I know I shouldn't pick up certain practises. But that boy didn't.
Almost everytime the main dev was at the office I had such a mindboggling experience.
After that I got a new assignment.
I had to write another xml file format parser.
Of course I couldn't have any access to our current code because... it was unnecesary. We were going to use my code as a total replacement for the backend again.
And for some reason classes generated from XSD weren't clear enough so after carefull research I literally wrapped xsd generated code in equivalent classes.
At that moment, I realized I made some code that was totally useless since it wasn't compatible with any form of their API or any of the other backend code. (I haven't seen their API. I didn't have access to the source.) And since I could've just pushed them generated XSD's that would've produced thesame datastructure I felt like I was a cheat. I also didn't like that I wasn't allowed to install even the most basic tooling. (git client or, Ide refactoring plugins, spelling checker etc...)
Now I was also told that I couldn't discuss issues with the new guy anymore since it was a waste of my valuable time, and they were afraid that I taught him wrong concepts.
This was the time that my first paycheck came in so I quitted my job.
I haven't seen any of the features that I've worked on. :) -
So they are going to make me wait for how long my mobile number is!!
Okay, qualified for being my next rant! 😁7 -
!rant
I'm so happy with my full stack basic test web application made with: raspberrypi, uwsgi,nginx,python3,flask,sqlite3,render_template,html
I have 2 pages:
/users where I can see the whole users table and filter by id
/insertuser (in the image) where I can add an user to the table users4 -
I have come to the conclusion that certain people have a tech aura that can fix or break things just by being near them. Apparently I can do both. Have you had a similar experience?
The other day a colleague was trying to play a YouTube video for the class (I work in a primary school) and the page refused to load. After 20m of failed page refreshes they called me. I walked in, sat next to the computer, and before I even touched anything YouTube suddenly appeared on the screen like it was trolling us the whole time. Much to the amazement of the class of kids who bow think I am some kind of tech-witch.
On the flipside - Linux hates me. It always has. Some years ago I decided to force myself upon Linux so I got a friend to install a dual boot on my machine. Knowing the effect I seem to have on Linux he demanded I stay out of the room until he was done. Two hours later and some stability testing later he called me back in to introduce me to my new setup. The moment I walked into the room Linux kernel panicked and never booted again.
If only I could learn to control this mystical power over technological life and death!13 -
devRant bugreport
Im getting more and more bugs in devRant on my LG G2.
- Links cannot be opened
- profiles can not be viewed
- double tapping a rant opens the rant twice (tapping five times opens it 5 times) instead of voting it up.
- once in a while an opened rant shows up again under all the comments (with all comments as well). When this happens its exactly the ammount of comments.
Im not sure where to report this. If @dfox could take a look at this?
Gonna look up my android version in a sec. (edit version: 4.4.2)9 -
Of course you can call me at 9 o'clock on a saturday morning to fix your f****** login problem!
My private life is just a rumor!1 -
A convo with my !dev colleague.
Her: Can i use your PC for a while?
Me: Yeah sure.
Her: Why is this so wierd? Why i can't refresh?
Me: It's Ubuntu.
Her: Man, this sucks, you should use windows 10, it's the latest!
End of Convo.
After that day, i heard her talking to my other colleague.
Her: "Go ask him. The one with the weird PC."
--------------------
SHOULD I KILL HER?22 -
The new company I'll work in told me that I have to use windows because they have an ad and Linux login does not work proper with it...4
-
Unpopular opinion: Fuck laptops
Even with proper care and monthly maintenance, they're still loud as a vacuum cleaner, and hot as a fucking stove. Yes I know it's a bit hotter these days and maybe mine isn't the latest top of the line model, but even my gf's Inspirion 17R (old I know, but she got one unused) tho relatively quiet, heats up as all hell even when it's on a cooling pad as soon as you try to do anything on it.
Maybe I'm alone on this, but I just think that when it comes to laptops, it's go big or go home. My Desktop PC is a relic of the past, but it still purrs like a fucking kitten, even under heavy loads in this weather20 -
I'm seeing a lot of these rants today and I just felt jealous so...
FUCK YOU MICROSOFT!!
You can pivot to something more your pace like whittling or something... -
Currently building code for an app for a website using nothing more than my tablet, it sucks being out of country when you're trying to work😡😡😡14
-
First I thought it might be the FBI that contacted me, but then I got real excited when I saw I got my devRant stickers!21
-
Every time I compile an open source project I can feel the pain and time that went into developing it and if it compiled successfully, a little bit of happiness is surrounding me
-
Hacking is like sex. You get in, you get out, and hope that you didn’t leave something that can be traced back to you.10