AboutYoung webdev who has no idea what he is doing with his programming life
Joined devRant on 11/5/2016
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
You can tell a lot about a person solely by their writings, including style and topic tendencies. You can also learn about a person from their sense of humor. So when you combine a strong yet creative writing style with a sarcastic sense of humor intended to mock the stereotype of the person's own generation and themselves _and_ allow emoji to be used...
You get the most Millennial thing I have ever written. I'm a tad surprised I even came up with this monstrosity.30
I'm in the first semester at my third college, working on my B.S. degree. I get a job in the finance and operations IT department doing web development. I get to use lots of tech I've never used before, like Python Flask, Docker, Redis, Azure, Slack, Microsoft VSTS, Portainer, MongoDB, Oracle database (weeeeeeeeeeee), and who knows what else awaits me. It took a week to get me access permissions to various systems but that's fine. I expected that.
* It's the first time I've ever touched Docker. I manage to break it so badly (somehow) that I BSOD my Win10 machine. Everyone in the office congratulates me on such a feat.
* I get assigned to an internal app management site to not only patch because it's currently broken but also improve. Coming from a PHP background, I've seen some nasty code. What I didn't expect was the same exact same anti-patterns and coding "practices" (examples: everything in a single file, all forms on a page POSTing back to itself for submission, sloppy, mostly uncommented, densely packed code) in a Python Flask project. I was told it was thrown together quickly by a previous employee who made this as his first Flask app, but this was not what I envisioned.
It's as if everything I do in my career is to prepare me to untangle the next monster code base I come across. I feel like the universe is mocking me.
That's cool. Bring it on. I'm ready. I'm enjoying this job anyway. 😎3
> Sees mysql_ bindings, XSS/SQL injection vulns
*Logs into webhost*
> Running PHP 5.4 by default
> Doesn't support PHP 7
Sadly, I'm sure this is a common scenario, particularly the webhost part4
Correct data entry is essential to maintain an orderly database and clean code.
It's e-commerce. If someone is going to order something, they will order at least 1 of the thing. Therefore, logically, the minimum quantity for a product will be at least 1. So why the heck do some products have a minimum quantity of 0 (zero) and multiple places in this (horrible) code base have conditions like `$minQty = $minQty < 1 ? 1 : $minQty`???
I quickly wrote an UPDATE query to fix my local installation, removed the conditions, and submitted a PR with the query.
It may be small, but every little bit helps.5
So much for that.
✖️ My razor broke and I haven't bought a new one or bothered to use a disposable one, so I have a beard for now.
✖️ My girlfriend broke up with me, after dating for a super long one week and three days.
It's hard when you devote yourself solely to one person for almost a year and upon taking a step forward, it triggers thoughts and evaluations in her mind and she concludes we're not meant to be. We're still friends, neither of us wanted to lose that, but it's going to be hard for me, especially with her moving 20 minutes away next month (for something unrelated to me). I'm not mad in the least, but the heartbreak has had a major effect on me all way.
On the "plus" side I have more time, time I would have spent talking to her. I still don't have more money than before.1
Breaking developer stereotypes one step at a time:
✅ No beard and has job
✅ Girlfriend (as of Thursday evening, 2017/06/29)
Now to work on getting some more money and free time 😀11
I'm slowly migrating the primary e-commerce, highly outdated Joomla site at work to a licensed, out-of-the-box, designed for a printing company e-commerce system. The first step, in order to understand the system, is to migrate a business card generator to this platform. The original generator (which deserves its own rant) is for a very large and well-known client. In order to transfer to the new system, I have to recreate each business card in the specified format. However, the system requires PDFs made in Adobe Acrobat Pro. The original projects are from Adobe InDesign (which I do not have), so I have a lot of manual, very tedious work to do. Because the client is strict about their card designs, I need to remake them exactly. Well, exactly includes the font they used.
It's not as if we do not have the font at work. On no, we have copies alright. It's just that the InDesign projects, and the font, are on Macs. And the font is a PostScript file. The system requires OTF or TTF fonts. Which nobody has. So I spend my first week (last week) trying to get this paid font. I feel as if I was making a fiasco. We finally identify the exact font, even the weights, and purchase them. Today after lunch. Great! I can finally get these four cards finished. Timing is alright, I've had a busy morning trying to track down emergency issues that arose from deploying some code yesterday morning for a different system (my internship project from last year, actually).
I finish the cards. Not wanting to tackle the vertical cards or deal with the incorrect and inconsistent info on one card type right now (the client really doesn't need to know I'm remaking these and I don't need to tip them off), I start this other card from the same client. I get everything roughly in place. I even stay late to work on this to make up for lost time trying to get that font. I open the model PDF to check what font it uses, as it is different from the one we just bought, the one every other card from this client uses.
I check my computer, don't have it. I check multiple co-worker's computers, even old ones. Nothing. The Macs have it... in PostScript format.
I should have started on the vertical cards. Oh, and my Acrobat Pro trial says it has "1 day left". I'm expecting it to be dead in the morning. Which means I can't get any work done until the lady gets in office and purchases me a license, which won't be until after 9:30 AM....1
Theatre performer, comedian (with a partner because my humor only works that way), possible motivational speaker, maybe a teacher of some sort. I'm already good at these things. 😁
Last month I called my employer from last summer (the same place I had my internship and still have untold stories from) and asked if they could use a summer employee. "Certainly" was the reply, and whatever date I give, I can start then.
On my way to a college tour Friday, I stopped by to say hello to my (again) co-workers. There were some new faces (including my replacement) but all were happy to have me back. They treated me as if I never left.
I start tomorrow on a different project. I am excited. And now that I have devRant in my life, I'm sure I'll have some stories to tell. Maybe this summer I won't have to send code I find to The Daily WTF. 😁
I had been working on the mess of custom-written PHP ecommerce site that was my internship. I had been reworking some code for two weeks and everything worked. Time to push to prod. Because who has heard of auto-deployment (I dumped the site in Git day 1), it was a manual process to identify new/modified/deleted files.
Naturally, this process is error-prone.
Within maybe an hour, we get a call from a customer about an outrageous charge. The site reported everything correctly, but his credit card alert was a different matter.
I discovered I missed one file in my changes that needed to be updated (why I missed it is another rant). Without this file, a customer would be charged 100x the total. In this case, a $40 purchase ended up being $4,000.
In fixing the issue, I also created a rounding error of $0.18 on the next transaction (thanks whoever thought it was a good idea to store money as a decimal instead of an integer).
On the same day, I also accidentally broke reports for 4 different people and had to quickly (in an ugly manner) patch them back in and ensure correct output throughout the day.
Oh, and all this happened on a Monday.
Talk about a strong fear of getting fired from my first webdev job that day, and an interesting conversation with my carpool home.4
Yesterday, friend asked me to help her with some homework that used Microsoft Access. Reluctantly, I agreed. Upon seeing her textbook, I realized why on earth she's using Access. It's a Shelly Cashman Series textbook, a brand I hate with an utter passion for many reasons. Her book was an updated version of the one I used for "Introduction to Computers" at my first school 3 years ago, in which I learned how to use Win7, Word, PowerPoint, Excel, and Access. Nothing, in Access or that book, has changed since then.
Additionally, mom is planning on going back to college hopefully this summer, the same one I first went to. She too will have to take the Intro to Computers class, and the next semester (which may be fall if she gets summer classes), she'll have a whole class that solely uses Access for everything.
My friends and especially family should be glad I've worked with databases and Access before and can explain everything...2
I've only been in college for 2.5 years, but oh the stories I could tell... I'll tell just one (for now), and this is not the worst of it.
Had this one instructor. She could teach and explain things well, but I'd be lying if I didn't say she was strict and often rude and flat-out a pain. Had her about every other semester.
SQL class: Using Oracle SQL and a cheap book with printing issues (my first copy was illegible), we learned about database design, management, and lots of things we can do in SQL. I learned a good bit, but then again, I was an online student and self-learned from the book.
It was near chapter 5. Literally every single student had trouble that week. I think the semester was starting to take its toll. Even I had trouble. It seems 0 of 25 students in class submitted their work by Sunday evening (this was before the COLLEGE changed the universal policy that assignments were due on Monday night (THANK GOODNESS)), so she extended the assignment to be Monday night and told the class (nevermind her assignments were dreadful and hated doing them. Fun fact: I probably still have them and can dig them up if wished).
Except she didn't tell her (multiple!) online students.
As I said, even I was having trouble that week. I ended up getting all my homework that week mixed up and thought I submitted my work. When I discovered I hadn't which was after the deadline, I asked her about it when I was on campus.
Instead of listening to my claim that she never emailed the online students, she protested claimed she did (I could have pulled up my email with proof, as could she, but she never did), said it was my fault for not submitting my work (true) and not checking that it was extended (???), that I should have be grateful she even extended it (um), she was not accepting any late work, and shrugged off everything I said.
I was likely one of (if not the) best students. To this day, that is the only assignment I've gotten a zero on. I still passed with an A, but I did my best to try to find classes without her from then on.
Up next (when I find time to type it): My first encounter with this instructor (which happened before this story) which created some sweet justice two years later.
Yesterday (March 13) was the start of spring break. I get to do statistics homework, write a political term paper, and prepare a biology presentation this week. Yesterday was also my 22nd birthday. I listened to Taylor Swift's song and declared it my theme song for the next year (I'll regret this decision in a few days). In about 9 hours (9 AM EDT), I will be getting my wisdom teeth removed. I will be on pain medication and eating soft foods and soup all week. Fun stuff right there. At least I'll have an awesome video game called LEGO Worlds to retreat to. I kept typing regret instead of retreat right there. Here, have a picture of my mouse pad at my desk. My dad gave it to me. This post is already pretty random and I'm not on any medicine yet. It must be the nervousness and perpetual collegiate sleep deprivation talking.
Driving 45 minutes one way to work, 40 hr/wk, making only slightly above min. wage, dealing with an absolutely horrible codebase, pay only permitting a small bit of spending money after bills, and the prospect of having no change for a year. I was the only dev on that code, so I was basically a senior dev but being paid at an intern level. I loved my job and the people, but that almost pushed me over the top. :\1
I am an IT student assistant at the college. However, I don't really do much. I sit at the entrance to an oft-empty study lab for hours all week (but hey, I basically get paid to study). My boss tells me he wants to use me in other IT work but hasn't yet.
Tuesday morning, I had an idea. I've talked to the guy who works on the school website and heard a lot, including how he can't really do it all himself. So, what if I asked if I could swap some of my lab hours for learning from the guy and working on the website? After all, I'm already employed by IT and I am a Web major.
I start this morning. I heard they've already set up my desk and workstation. 😃😃😃3
Was cleaning up a super slow, malware-riddled laptop last week. Years of cruft and multiple users (according to the owner) made it pretty much unable months ago. I managed to remove the malware and a lot of junk software installed, but I held off on the 155 (!!!) pending updates Windows 7 wanted to install. See, the malware layers had damaged the registry and broke some things (especially after I removed it). I intended to perform a clean installation of Windows to clear it all up, making the updates pointless. I then realized there was a BIOS update. So I downloaded the update, ran the installer, agreed to the warning to not disconnect power, and "understood" that a restart would be required.
I forgot about pending updates until they started to install when Windows was going to restart. It took from 4:45 PM to 8:30 PM to install all 155 pending updates, then the computer restarted.
So it's Valentine's day/singles day. All those programmers who don't have an S/O to spend the day with, we will likely turn to some pet project and continue working on it. After all, it's our love child. We painstakingly craft every part, remove as many defects as possible, and ensure it has the potential to grow. There's just one problem. Even though it is our child, it cannot love us back. Through we care for it, it can not return the affection. When we realize that we are still alone on this day, with no one to spend it with and a code base that is hardly from bae, there's one place we will always turn to for companionship.
I have a brand new personal website nearly done to launch and a Django learning project I want to do, but I first need to finish this Grav-powered website I promised half a year ago, but the semesters and computer problems keep delaying that... 😢 #NoTimeForCode
I'm working on my Python book and am debating deleting this chapter on Python 2 vs Python 3. It is not an attack or slander against either version. It's simply a high-level explanation of why there are two major versions, which one I'm using, and concluding by basically saying it doesn't matter which you learn because it's the same language with many internal differences. I mean, in terms of syntax differences, Angular 1->2 is worse than Python 2->3.
I'm just not sure if the chapter is worth keeping. This is a brand new book from scratch, being written square in the Python 3.x development cycle. I even plan on introducing the Py3.6 string interpolation syntax. Has the Py 2 vs 3 war calmed down enough yet to toss it or is it still a necessary evil to keep dragging it up?2
Currently taking a statistics class. Can't wait to write some Python to solve the equations for me! 😀😀😀1
My brother is smart. He has technical skills. He's also super creative, an artist and an animator. He uses software I cannot explain. It's not as if he is dumb or ignorant by any means. Sometimes I think he's smarter than me. However, like all people, he tends to get his words mixed up at times.
I'm working in a Linux terminal. He walks into my room to see what's up. I explain that in order to do what I need, I'll need to quickly download a package.
Brother: "Well, can't you easily download that from sudo?"
I instantly started laughing. He caught what he said and started laughing too. We laughed way too much at that for the next three minutes. 😂😂😂 #Brotherhood