Details
-
AboutAmir Hormozi Iran🏳
-
Skillsphp,bootstrap,js
-
LocationIran,Arak
Joined devRant on 4/26/2018
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
-
I'll repeat what I wrote in an answer in another rant because I think it made a good story (I just realized it after writing it :p) :
I met a guy in my school who was the best of the school : I mean, he jumped over the first two years of the school (and he started from scratch, he never had programmed before).
I went to ask him how he got enough motivation to make all the two years projects in one and he told me something that made me understand why he was so good : "I'm fucking lazy, so when I code, I code something that I would use for a very long time, tools that will be useful in next projects".
By doing this, all he had to do in end-year projects was to assemble what he already had done to make the program. He had perfectly working tools that were awesome. So, he never had to work more than 10 hours a week after doing this.4 -
Woke up this morning feeling more devrant-y. Made a wallpaper. Download and Edit at will - https://goo.gl/44ju7N7
-
TLDR; Wrote an awesome piece of code, but there's no one capable of understanding how hard it is.
I spent an entire night building an insanely complicated automation script, that picks out certain configuration files (in javascript fml), does some crazy parsing to pick out strings, passes them into a free translation API, translates them, and does more insane parsing to insert those strings as javascript objects.
Spent 3 hours on the bloody parsing algorithm alone.
Manager: Oh this language is really nice. Good of you to discover it can do that.
I didn't "DISCOVER" it ffs! Its a product of my head! I built the damn algo from scratch.
Seriously, screw non devs who trivialize the complexities of writing a good program. Its NOT as simple as opening notepad and typing in
import {insanelyComplexSolution} from 'daveOnTheInternet'3 -
Reality of colleges(atleast in mumbai university)
I sit in class for attendance
Then I go home and teach myself10 -
"Could I get your wifi password?"
"Just use the neighbour's"
"Don't you have your own?"
"Yes, but it's just a repeater of his"
The neighbor has no idea.
I love how people from the Balkans don't give a fuck about anything.5 -
Java devs: grab a drink! You'll need it after seeing this.
The "Shit students do, even after almost a year of Java lectures" saga continues...46 -
We're using a ticket system at work that a local company wrote specifically for IT-support companies. It's missing so many (to us) essential features that they flat out ignored the feature requests for. I started dissecting their front-end code to find ways to get the site to do what we want and find a lot of ugly code.
Stuff like if(!confirm("blablabla") == false) and whole JavaScript libraries just to perform one task in one page that are loaded on every page you visit, complaining in the js console that they are loaded in the wrong order. It also uses a websocket on a completely arbitrary port making it impossible to work with it if you are on a restricted wifi. They flat out lie about their customers not wanting an offline app even though their communications platform on which they got asked this question once again got swarmed with big customers disagreeing as the mobile perofrmance and design of the mobile webpage is just atrocious.
So i dig farther and farthee adding all the features we want into a userscript with a beat little 'custom namespace' i make pretty good progress until i find a site that does asynchronous loading of its subpages all of a sudden. They never do that anywhere else. Injecting code into the overcomolicated jQuery mess that they call code is impossible to me, so i track changes via a mutationObserver (awesome stuff for userscripts, never heard of it before) and get that running too.
The userscript got such a volume of functions in such a short time that my boss even used it to demonstrate to them what we want and asked them why they couldn't do it in a reasonable timeframe.
All in all I'm pretty proud if the script, but i hate that software companies that write such a mess of code in different coding styles all over the place even get a foot into the door.
And that's just the code part: They very veeeery often just break stuff in updates that then require multiple hotfixes throughout the day after we complain about it. These errors even go so far to break functionality completely or just throw 500s in our face. It really gives you the impression that they are not testing that thing at all.
And the worst: They actively encourage their trainees to write as much code as possible to get paid more than their contract says, so of course they just break stuff all the time to write as much as possible.
Where did i get that information you ask? They state it on ther fucking career page!
We also have reverse proxy in front of that page that manages the HTTPS encryption and Let's Encrypt renewal. Guess what: They internally check if the certificate on the machine is valid and the system refuses to work if it isn't. How do you upload a certificate to the system you asked? You don't! You have to mail it to them for them to SSH into the system and install it manually. When will that be possible you ask? SOON™.
At least after a while i got them to just disable the 'feature'.
While we are at 'features' (sorry for the bad structure): They have this genius 'smart redirect' feature that is supposed to throw you right back where you were once you're done editing something. Brilliant idea, how do they do it? Using a callback libk like everyone else? Noooo. A serverside database entry that only gets correctly updated half of the time. So while multitasking in multiple tabs because the performance of that thing almost forces you to makes it a whole lot worse you are not protected from it if you don't. Example: you did work on ticket A and save that. You get redirected to ticket B you worked on this morning even though its fucking 5 o' clock in the evening. So of course you get confused over wherever you selected the right ticket to begin with. So you have to check that almost everytime.
Alright, rant over.
Let's see if i beed to make another one after their big 'all feature requests on hold, UI redesign, everything will be fixed and much better'-update.5 -
My programming teacher is a freaking degenerate. He spend 7 months teaching us basic stuff like if-clauses, while-loops and stuff like that over and over again - everyone was annoyed but he didn't listen to us because "some people still don't get it". (The reason for this could be their total absence during lessons but who am I to tell.)
Beginning of 2018 he realised we hadn't much time left to prepare for our final exam so he tried self-taught learning. 8 sorting algorithms, recursion, how to write classes and objects in less than a week. And of course there was a classtest about this - needless to say that like nobody passed it. He still has no clue why we are "so lazy and dumb".
One of his favourite code examples is a calculator. I don't know how many i've programmed and they've gotten more and more ridiculous. (Who the hell would want interfaces like IComparer in a calculator?)
He even wanted to convince us that for-loops can't count down (and that things like "i--" doen't exist.)
I could go on and on about this guy and his craziness.27 -
Hydrogen gas is fun. Really fun :D
Me and my brother were really bored earlier today. So what do two dudes, 14 and 17 do on a warm spring day?
1. Go to store.
2. Buy drain cleaner, aluminum foil, balloons and a big drink in a glass bottle.
3. Drink the drink.
4. Shred aluminum in a document shredder.
5. Mix alu, drain cleaner and water in the bottle.
6. Quickly put a balloon over the bottle opening.
7. Wait.
8. Get a lighter and blow that shit up! 🔥
9. Repeat until you run out of balloons.
10. Don't kill yourself doing this.7 -
That moment when...
You’re supposed to be doing work.
You have a deadline.
It’s your sister’s baby shower and you promised to help.
Sis comes over every day to hang with family.
I’ve still not managed to get any work done today, video games and hanging and baking have had my time 🤣
I was up from 12-1 making jelly shots from scratch because my mum wanted blue ones and couldn’t find any blue jelly 😂
They’re bubblegum and for my first attempt I think they look pretty sick.
Will have to find out whether they set in the morning 🙈2 -
System design meeting with the client.
Client: We need feature X in the design document
Me: But feature X was not a requirement, so it's not in the document and we will not add it.
Client: But feature X should be a common feature today.
Me: That doesn't matter, it wasn't a requirement. And besides that you don't even need it today, the planned system doesn't even support feature X, so we couldn't implement it, even if it was mentioned in the design document.
Client: But we may need it some day, and what do you do, when we decide to enhance the system in a few years and we need that feature then?
Me: Then we make you an offer for feature X.
Inner me: You ordered a bicyle and now you want it converted into a delivery truck next year without charge. That's not how things work.3 -
Yesterday I had my performance review discussion with my manager after about 6 months into the job, which is my first dev job. Before this, I had spent about 2 years in a support role after graduation, but always yearned to build something cool and be a full time developer. Hence I had made the lunge in spite of a pay cut into a development role.
For the past 6 months I was asked to develop a bunch of features on top of legacy code which is ~15 years old. I did my best and brought in the best ideas and practices onto the table and delivered on time. The features turned out great. I enjoyed working with the team and the team loved me back!
But at the back of my mind, I was hoping that I would get to work on something new and relevant. To quench this thirst, I used to spend my personal time on side projects.
The managers and the leads who have been observing me all along, told me yesterday that my manager got AMAZINGLY positive feedback from the leads and my teammates (who are like 10 years senior to me). Going forward, I get to work on any CRAZY idea and pick up any technology I like with the goal of revamping our product. Essentially I get to work on my side projects full time as long as it adds value to the company.
Ohhhhhh YEAH!
Wish me luck. 😎1 -
Help!!!
Motherfucking, 13 year old brother, manages to brick Mac with downgrade. He says he did it because the current version "was bad."
😧
I could use some help with this. The thing boots up. But it's stuck on a screen where it can't figure out which version to use.19 -
Hi every one!
I have to present kali linux on Monday and the presantation should take from 30 to 45 minutes.
What are the best and coolest topics I may have? ( other than aircrack or fluxion .I am going to show them a live attack on my sim wifi!!)
Thanks alot2 -
Online applications are so much worse than the classic snail mail ones, because some companies just don't seem to give a single fuck about the quality of their application application (hehe).
This results in such joyous things like:
• "Allowed file types: doc, docx, pdf, jpg, zip"
• "Max filesize 3mb"
• "One of your files does not meet the requirements" (doesn't tell you which)
• "Upload timed out, please try again"
• 403 forbidden
• "Your account does not have the necessary permissions to upload more than 4 files at once"
• clicking the submit button leads to a 404
• "Please explain why you want to work for us." 500 character limit
• Google forms2 -
Yesterday I was hanging with the guys from our Records dpt in the staff lounge. Their manager is a pretty nice talkative guy. Everything was going well until this happened..
Him: Hey you, I have an idea for an app. You can"definitely" help me, right? Or someone you know who also does the code thing..
Me: It depends. Just before you tell me about this idea, know that you'll be paying me or whoever will be doing this job unt..i..l *he interrupts
Him: Paying? I thought it was a one time or few hundreds of dollars. Why do I have to keep paying when you haven't finished the app?
Me: Did you finish your entire work this week?...but you're still getting paid next week, right?
Him: Oh crap, makes sense. Ok, how about I pay you the amount you charge then, that's it?
Me: See, you don't get it. I know once the app is done, you'll come back to me to fix and update things. When that time comes, you'll have to pay me again. And with the initial payment, don't just think you pay me and that's all... you'll...
Him: Crap, I have think more and come up with a plan for this.. nevermind, I'll keep you updated.
I think I made him sad knowing that, this sort of things doesn't happen easily.2 -
Someone with nothing to do changed everyone’s profile photo on the dev environment. I admit it was pretty funny. Not even the bosses escaped.2
-
rant
The Java course at our Uni requires us to do an end semester project - A Java App with Swing for GUI and some Multithreading code in it.
They asked us to upload the code to drive. I was bored and was checking out my friends' projects.
The code below is what I saw in one of the projects. They have simply called a thread with an empty run method because the project required to use multithreading concepts, wtf.
But then, It is no surprise to me cause these are the people who memorize code and vomit code for marks.
I am worried that people are going to be awarded degrees and called software engineers.
God save the software industry!24