Details
-
AboutRain Discord Bot Developer, 16yo.
-
Skillsjs, html, css, java, C# mainly for Node and Discord
-
Location192.168.1.1
-
Website
-
Github
Joined devRant on 4/3/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
-
I just love refactoring :) that feeling when an agonic 50loc method with ifs, loops, streams, other shit shrinks down to 3 lines with descriptive and SRP-compliant method calls.. When you can actually read code as a nicely written story. When there are no rubbish comments, cryptic variables and no overly complex if-else skyscrapers jamming all the logic in one conditional chain. When all the abstractions are designed so nicely and design patterns applied so perfectly that extending either of the components is as easy as a walk in a park.
When everything is nice and neat. Only then can I sleep well and enjoy the autumn :)
just some random thoughts after today's coding session :)5 -
Me : The website renewal bill is up and it will due in 30 days
Client : Sleep
Me : 14 days
Client : Sleep
Me : 7 days
Client : Sleep
Me : Last notice, it'll be dead tommorow if we dont pay today
Client : Sleep
*website dies*
Me : F
Client the day after suspension : Hey, we can't access the site.
Me : Play dead
***
I think i should say "email service will die if you don't pay the renewal bill" instead
based on how quick they react when shit stopped working8 -
I'm trying out a new rendering engine, it's pretty slow but I'm getting somewhere.
My (6 years old) client is sitting next to me and is kind of picky and tells me exactly what to do.
No payout though 🤔15 -
Finally got a good working new phone. Rooted and XPosed. Anyone any tips for good XPosed modules?21
-
My girlfriend doesn't talk to me anymore after I said I helped the new girl to do some penetration testing.27
-
"Are you familiar with uploading your code to Google Drive?"
I left the building at that exact moment.41 -
- Sir, you must put away your laptop before the flight takes off.
- Is a tablet okay?
- Yes
- *Uncouples keyboard from Surface*
- ಠ_ಠ
- (⌐■_■)17 -
"You gave us bad code! We ran it and now production is DOWN! Join this bridgeline now and help us fix this!"
So, as the author of the code in question, I join the bridge... And what happens next, I will simply never forget.
First, a little backstory... Another team within our company needed some vendor client software installed and maintained across the enterprise. Multiple OSes (Linux, AIX, Solaris, HPUX, etc.), so packaging and consistent update methods were a a challenge. I wrote an entire set of utilities to install, update and generally maintain the software; intending all the time that this other team would eventually own the process and code. With this in mind, I wrote extensive documentation, and conducted a formal turnover / training season with the other team.
So, fast forward to when the other team now owns my code, has been trained on how to use it, including (perhaps most importantly) how to send out updates when the vendor released upgrades to the agent software.
Now, this other team had the responsibility of releasing their first update since I gave them the process. Very simple upgrade process, already fully automated. What could have gone so horribly wrong? Did something the vendor supplied break their client?
I asked for the log files from the upgrade process. They sent them, and they looked... wrong. Very, very wrong.
Did you run the code I gave you to do this update?
"Yes, your code is broken - fix it! Production is down! Rabble, rabble, rabble!"
So, I go into our code management tool and review the _actual_ script they ran. Sure enough, it is my code... But something is very wrong.
More than 2/3rds of my code... has been commented out. The code is "there"... but has been commented out so it is not being executed. WT-actual-F?!
I question this on the bridge line. Silence. I insist someone explain what is going on. Is this a joke? Is this some kind of work version of candid camera?
Finally someone breaks the silence and explains.
And this, my friends, is the part I will never forget.
"We wanted to look through your code before we ran the update. When we looked at it, there was some stuff we didn't understand, so we commented that stuff out."
You... you didn't... understand... my some of the code... so you... you didn't ask me about it... you didn't try to actually figure out what it did... you... commented it OUT?!
"Right, we figured it was better to only run the parts we understood... But now we ran it and everything is broken and you need to fix your code."
I cannot repeat the things I said next, even here on devRant. Let's just say that call did not go well.
So, lesson learned? If you don't know what some code does? Just comment that shit out. Then blame the original author when it doesn't work.
You just cannot make this kind of stuff up.105 -
The day I got hired because my (now) boss saw me showing off my super powers as a dev to some fellow students. He liked that I was so energetic.
Now I make quite a lot of money (for my age) and learn so fucking much. By the way, I'm only 17, so it's quite nice.6 -
I'd say that one of the most emotional days for my entire team was when a potential client called us and told us that they just rescued a teenage girl and prevented her from making a suicide by using our service.
The service itself is extremely simple and does not even work in all cases (due to various limitations). But when it does, it saves time, money and above all lives. When you realise that the girl who has already wrote her goodbye letter and ran away is saved at the top of the cliff... Well, then you know that you are doing at least something right!9 -
public static void BackStory () {
Before i started working as a developer, I was working in tech support at a larger school environment.
In the department there was 8 employees, all youngsters like myself, so pranks was a daily thing(who needs to actually get some work done, right?).
}
One day we found a wireless mouse and decided to plug the dongle into my co-workers pc, and keep the mouse.
A couple of times a day, i would just wiggle it, click it or start scrolling.
The following weeks this guy was going absolutely insane,mumbling and ranting, thinking his computer had been infected with a virus or was about to break down. -
Every single time I visit my family during holidays they expect one to fix their computer/smartphone/printer/whateverFuckingShittyIOT-Device... Just printed them postcards this time ¯\_(ツ)_/¯
Also: Hello devRant! Just been reading here for a week and every single day was full of gold - Thanks :)12 -
!multirant
1. MonoDevelop
Installed Unity for a game I'm working on. Realized I didn't reinstall VS when my SSD got corrupted. Didn't install VS plugin w/ Unity.
So now I have MonoDevelop. It's not a bad editor, but PLEASE. IF YOU ARE GOING TO HIGHLIGHT A FUNCTION WITH RED BECAUSE IT DOESNT EXIST IN THE CLASS, THEN TELL ME, WHAT THE FUCK EXISTS IN THE CLASS!
2. UnityJS
Unity's JS implementation is terrible.
First, let's throw basic syntax shit out on the window. string.toUpperCase? Nah, let's make it string.ToUpperCase to annoy the shit out of devs.
AND SOME OF THE STANDARD FUNCTIONS ARENT EVEN FUCKING WORKING!
Need to use parseInt(string, 2)? WELL GO FUCK YOURSELF, BECAUSE WE DIDNT IMPLEMENT THAT SHIT.
...or use C# I guess...
FUCK UNITY.
🖕🖕🖕15 -
So I have a script that runs every time I turn on my PC. The script copies a few files to a ftp server in my basement. Forgot to turn off logging....
Opend the file in Notepad, and would you look at that, 1 GB of ram..? WTF?
Edit: Managed to open the file, turns out that it's been exactly one year since I started using the script.3 -
When you write print(string), which type of people are you:
A) 1. ( 2. string 3. )
B) 1. () 2. string
C) Autocomplete guys
D) hodor
*applies for echo, printf, println, etc.
** python2 and c++ are discriminated on purpose9 -
I found this in the HTML for Hackerrank. I started laughing and thought you guys would enjoy it as well.8
-
Interviewer told me to go to the window and jump.
I jumped in front of the window and came back on my seat6 -
So my Windows installation is getting the creators update. Let's see if it even installs. Stuck on here for about half hour.4