Details
-
Skillsc++, javascript, php, html, css, java
Joined devRant on 9/13/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
-
Told my boss i planing to leave...he just started to breathe heavily...and left office.... tomorrow will be interesting day4
-
So i am a trainee at a Software Company in germany. Im in My thir year. We got a new trainee who has a better degree then me and is 3 years older (hes 23). yesterday we was in our Office working and My "teacher/Boss") was talking with a customer. Then the new trainee asks me at least 5 fucking stupid questions. I stay calm and answer them normally because i think He dosent kwow any better and would Learn it. So this fucker works on a typo 3 Website and ask me why He cant Put Java Inside his Website to animate some articles. I ask him why He would want to do this with Java? He says (like a ignorant fucker) because its only working using Java. I kindly ask him if He maybe means javascript and Not Java. And He says: oh yes i mean That but thats the Same thing. I say no its not javascript and Java are different languages. He responds with no Java is just a shorter Form of saying javascript. I quit helping this guy. The fact That he thinks He knows better its just killing me.7
-
My dumb CEO just hired an even dumber CTO. The new CTO asked me the following questions...
1. What is GitHub?
2. What is JSON?
3. What’s an array?
4. What is Get and what is Post?
5. When an iPhone is offline, can it call an API on our server to tell us it’s offline?
6. I know you’ve spent 11 month the writing this backend in PHP but can you change it to Java now?
Me: Why?
Dumb CTO: Because it’s better.
Me: How?
Dumb CTO: because it is.
7. I know you’ve started to rewrite this codebase I Java but can you convert it to Node.JS now?
Me: Why?
Dumb CTO: Because Facebook uses it.
8. What is MySQL? Why aren’t you using a database instead?
9. What does NULL mean?
Somehow, I doubt that asshole is remotely qualified for the job.
Fakin shyt for brains.180 -
Things I've changed since joining devRant:
- started coding more;
- switched to dark themes;
- switched to DuckDuckGo;
- possibly switching to Mint.8 -
How many times do I have explain the rookiees in java developer team, that implementing an interface is not inheritance. You are not actually inheriting any member - variable or method or otherwise. You are just getting a skeleton, according to which you have write your class. THAT IS NOT INHERITANCE.
So MULTIPLE INHERITANCE does not exist in java. Period.
There is no way around it. Stop misunderstanding stuff and passing that misconceptions to newbies.1 -
Samsung Pay > Apple Pay
There I said it. After testing Apple Pay, Google Wallet, and now Samsung Pay I am convinced that Samsung Pay is the best. It works great and the rewards points that you get for using it are just awesome.
Side note: wtf Apple!? The iPhone 8 is the iPhone 7 plus wireless charging and the iPhone X is just a $1000 piece of flashy ass shit that's only real "innovations" are Face ID and animojis.6 -
Going through Master Card API docs to see how to integrate it, saw that they have sample code, checked Java sample code and found this:
String data = MessageFormat.format(
"'{'\"apiOperation\":{0},"
+ "\"sourceOfFunds\":'{'\"type\":{1},\"provided\":'{'\"card\":'{'\"numbe\":{2},"
+ "\"expiry\":'{'\"month\":{3}, \"year\":{4}'}',\"securityCode\":{5}'}}}',"
+ "\"order\":'{'\"reference\":{6}'}',"
+ "\"transaction\":'{'\"amount\":{7},\"currency\":{8},\"reference\":{9},\"targetTransactionId\":{10}'}'," + "\"customer\":'{'\"ipAddress\":{11}'}}'",
apiOperation,
sourceOfFundsType,
cardNumber,
cardExpiryMonth,
cardExpiryYear,
cardSecurityCode,
orderReference,
transactionAmount,
transactionCurrency,
transactionReference,
targetTransactionId,
customerIpAddress );
FOR FUCK SAKE what happened to JSONObject (for Android) class, I'm sure it is a waaaay better solution than that mess ...
And from Oracle:
JsonObject value = Json.createObjectBuilder()
.add("firstName", "John")
.add("lastName", "Smith")
.add("age", 25)
.build();
I guess that is a cleaner understandable solution than what master card has.8 -
Idk man. I can't be the only one that thinks the new iPhone looks stupid, can I? It's too glassy and glossy. It looks like a makeup case or something my sister would use to hold mascara.
And WTH is with the border-radius on that bottom menu bar? Like, either choose to make it a background strip like a normal nav menu or leave it out, but don't just give me more of that weird recta-bubble shit.8 -
Thank you dear mr. boss for fucking up our master branch by adding local changes to a 2 months outdated master branch (250 FUCKING COMMITS BEHIND), pull the remote and then just push without resolving any conflicts!!!1!!!
But thank you so much for sending me an email at 10pm asking me to resolve the conflicts.
It is 3 in the morning and it took 1 hour to get it clean.
Sometimes I want to break some necks...9 -
To people who don't know how to use Linux: Just because I use nano instead of gedit or any other GUI text editor does not mean I'm showing off. Why can't you understand that ssh-ing into a server and opening a file in the terminal itself to edit three lines of configuration is much easier than opening FileZilla, connecting, downloading the file, making the changes and uploading it again. It's fine if you want to do it that way. But please don't judge me for doing it my way.
To people who are good with Linux: Can you please stop suggesting me to use vim instead, EVERY FUCKING TIME? I know it's more powerful, but I haven't been using Linux enough to have surpassed it's learning curve. Plus I google up how to use it and do use it when I have the need. Please let me be?
To people who tell me to use Windows for everything: Go suck a fat dick, you uncultured morons.10 -
Acceptable places to leave your bag when you get in, in the morning:
- Under your desk
- On your desk
- Infront of your locker
- On the back of your chair
- etc.
Unacceptable, is to throw your bag behind you and to the right, so it ends up in the middle of the floor and behind my chair.
Consistent use of this space, and me tripping over it will result in 2 things:
1. I will intentionally run over your bag, back and forth until I am satisfied everything is broken.
2. I will then pickup said bag and throw it, with force, at your head.4 -
Me (5 days ago): A major, life-threatening hurricane is coming. I need to prepare. I know you have a need to launch so I will do my best to finish your project.
Client: Ok, stay safe.
Client (today): I know you're not done. You're late actually. To provoke you into further action, we went ahead and announced the launch and people will begin using the website now.
Me (at the store buying food for the next two week): What in the actual ... Here is your code. Finish it yourself. May God have mercy on your cold, dark soul.7 -
Years ago we had a visit from a startup company developing a firewall and I got the chance to talk with one of their devs.
He explained the subtleties of security holes in websites and after I said something about our site being secure thanks to being behind a firewall he gently asked what would happen if he entered a specially crafted test into one of the text fields ... and he gave an example ...
I got a chill, went back to my seat and traced what it would do ...
That was when I learned about sql injection and his example would have killed the DB :/
Before going home I designed a way to secure the input which I then refined over a few days.
We still use that today after 17 years.
That one single sentence really showed to never be to proud of our security and I realized how vulnerable our site was.2 -
When I was a kid, I used Dreamweaver and my mother would watch me doing things and she used to say "Oh, my dear there are lots of icons and buttons!!! How do you manage that? How do you know which one is for what purpose? You are really brilliant."
And now I use Atom IDE and she says "This looks very easy. Technology has evolved so much that you don't have to click so many buttons and just write simple lines, just as simple as writing letters and the software does the rest of the things. These softwares have done a brilliant job."
Seriously the technology has changed (and my mother too) !!!11 -
Oh, man, I just realized I haven't ranted one of my best stories on here!
So, here goes!
A few years back the company I work for was contacted by an older client regarding a new project.
The guy was now pitching to build the website for the Parliament of another country (not gonna name it, NDAs and stuff), and was planning on outsourcing the development, as he had no team and he was only aiming on taking care of the client service/project management side of the project.
Out of principle (and also to preserve our mental integrity), we have purposely avoided working with government bodies of any kind, in any country, but he was a friend of our CEO and pleaded until we singed on board.
Now, the project itself was way bigger than we expected, as the wanted more of an internal CRM, centralized document archive, event management, internal planning, multiple interfaced, role based access restricted monster of an administration interface, complete with regular user website, also packed with all kind of features, dashboards and so on.
Long story short, a lot bigger than what we were expecting based on the initial brief.
The development period was hell. New features were coming in on a weekly basis. Already implemented functionality was constantly being changed or redefined. No requests we ever made about clarifications and/or materials or information were ever answered on time.
They also somehow bullied the guy that brought us the project into also including the data migration from the old website into the new one we were building and we somehow ended up having to extract meaningful, formatted, sanitized content parsing static HTML files and connecting them to download-able files (almost every page in the old website had files available to download) we needed to also include in a sane way.
Now, don't think the files were simple URL paths we can trace to a folder/file path, oh no!!! The links were some form of hash combination that had to be exploded and tested against some king of database relationship tables that only had hashed indexes relating to other tables, that also only had hashed indexes relating to some other tables that kept a database of the website pages HTML file naming. So what we had to do is identify the files based on a combination of hashed indexes and re-hashed HTML file names that in the end would give us a filename for a real file that we had to then search for inside a list of over 20 folders not related to one another.
So we did this. Created a script that processed the hell out of over 10000 HTML files, database entries and files and re-indexed and re-named all this shit into a meaningful database of sane data and well organized files.
So, with this we were nearing the finish line for the project, which by now exceeded the estimated time by over to times.
We test everything, retest it all again for good measure, pack everything up for deployment, simulate on a staging environment, give the final client access to the staging version, get them to accept that all requirements are met, finish writing the documentation for the codebase, write detailed deployment procedure, include some automation and testing tools also for good measure, recommend production setup, hardware specs, software versions, server side optimization like caching, load balancing and all that we could think would ever be useful, all with more documentation and instructions.
As the project was built on PHP/MySQL (as requested), we recommended a Linux environment for production. Oh, I forgot to tell you that over the development period they kept asking us to also include steps for Windows procedures along with our regular documentation. Was a bit strange, but we added it in there just so we can finish and close the damn project.
So, we send them all the above and go get drunk as fuck in celebration of getting rid of them once and for all...
Next day: hung over, I get to the office, open my laptop and see on new email. I only had the one new mail, so I open it to see what it's about.
Lo and behold! The fuckers over in the other country that called themselves "IT guys", and were the ones making all the changes and additions to our requirements, were not capable enough to follow step by step instructions in order to deploy the project on their servers!!!
[Continues in the comments]26 -
My girlfriends mom asked whether I could fix her coworkers laptop. She claimed that it had viruses installed and laptop is laggy..
So... I got that laptop just now, got home and turned it on. It doesn't have WiFi drivers installed and I do not have any free Ethernet cable right now.
About the lags... Well you won't believe how many custom tool bars and security programs there were. McAffe, AVG, ESET and some Russian made firewall which asks for license key every 5mins.
And she asked me to reinstall windows and keep every file of hers, and she didn't bother to point which files of 300gb of photos/videos/docs are worth keeping and which are not.. HDD is 300GB :A fuck me
P. S. Since it's my first rant I can say ranting helps a lot to calm down23 -
A super creepy webcrawler I built with a friend in Haskell. It uses social media, various reverse image searches from images and strategically picked video/gif frames, image EXIF data, user names, location data, etc to cross reference everything there is to know about someone. It builds weighted graphs in a database over time, trying to verify information through multiple pathways — although most searches are completed in seconds.
I originally built it for two reasons: Manager walks into the office for a meeting, and during the meeting I could ask him how his ski holiday with his wife and kids was, or casually mention how much I would like to learn his favorite hobby.
The other reason was porn of course.
I put further development in the freezer because it's already too creepy. I'd run it on some porn gif, and after a long search it had built a graph pointing to a residence in rural Russia with pictures of a local volleyball club.
To imagine that intelligence agencies probably have much better gathering tools is so insane to think about.53 -
1/3 of US bandwidth is used by Netflix...
the rest is used by `rm -rf node_modules && npm install`4 -
After interviewing tens of candidates, finally found that one guy who doesn't start the conversation by mentioning jQuery 😂
Too many people started off with jQuery and didn't even bother to learn more about Javascript itself.11