Details
-
Abouthttps://jraleman.com
Joined devRant on 6/26/2016
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
-
One day when I was about 8 years old my friend and I were in the library. We decided we wanted to try to make a baseball website because we both likes baseball (this was around 1998). We picked up a book on HTML and my dad took it out for us. My dad was also a programmer so he said he would help us learn. We went home that afternoon and made a little website!
I knew right then that I really enjoyed programming and creating things with code, but I realized I wanted to be a programmer in middle school and high school. One of my friends and I started building Flash games. To see if people were playing them, I added in a call to each game that hit a PHP script on our server. I'll never forget the days/weeks that one of our most popular games caused our sever to get hammered and our shared host said they were going to boot us.
It was an awesome feeling knowing people were enjoying these games that we worked really hard on, and that's one of the main reasons I always wanted to be coding/creating things that people enjoy using.22 -
When you're coding during the weekend and your family are asking why you're working. They don't understand personal projects!3
-
“An omelette, promised in two minutes, when not ready in two minutes, the customer has two choices – wait or eat it half-cooked. Software customers also have the same choices.” - Brooks.
-
/* secret devRant script */
let joke = "why do Java developers wear glasses? Because they can't C#"
//check if rant was posted recently
if ( !recentRants.find(joke) ) {
postRant(joke)
}4 -
Spaces Vs Tabs - A real world case.
So one of the menial tasks I was given here was to take a pretty mock and turn it into an HTML email template. Needless to say, I hate emails and HTML.
After many weeks of trial and error, rejection and tweaks, we're doing our final tests when someone noticed that Google's clients are chopping off the footer and saying "View Full Email".
A few searches yield that Google has a 102KB cut off for email size. We did some checks and found that we were at 104KB. I immediately thought it was my CSS inliner being a little too verbose, but as I went in to edit things, I noticed that the file was intended with spaces!
Now I'm a fan of Silicon Valley, and I recalled an episode from this past season where Richard mentioned something about saving file size by using tabs. I had never really considered that point.
So I went back into VSCode and told it to convert all of the individual templates that make up this giant email to indent with tabs...
The file size dropped from 104kb to 82kb.
I wasn't very polarized on the Tabs vs Spaces debate, but this here has given me a nice real world example as to why tabs rule.20 -
"yeah, we want bundled products in our store, but we don't want to fill them in like such. Instead, you have to look at the product attributes, their values added in which sub sub sub category they're stored to automagically make such combinations. Also: of these combinations (that have no actual entity in the database) we want to be able to save images, descriptions, related products, etc."
I managed to fix it, but more than 50% of the time spent on this project was to explain to the customer why their combination wasn't working (they misconfigured the products), and writing a whole testing interface that showed the inner working of the algorithm, so they could debug their own products...
The worst part: we advised from day 1 not to take this road, but they had one "developer" who insisted on this approach because it would "prevent pollution in the database". in the end, we had to add 50-100 product attributes/values just to get the damn thing to work. -
The team had just created an analytics dashboard web application for a client. During the demo, client asks: "Can we have a download button that saves all the graphs in a powerpoint, 1 graph per slide with a title?"6
-
3 hours of productive coding in the morning then 8 hours of swearing, cursing, searching stack overflow, reinstalling eclipse and git only to realize in the end I was trying to push into a "protected" branch...
Why? because i'm stupid...5 -
I was explaining git and Github to one of my friends during our boring maths class when he asked : "What is the difference between git and Github?". Just then another friend of mine sitting in front turns out and said : "It's like the difference between porn and Pornhub".17
-
Got handed a CentOS 7 cluster, previous admin made kernel command line changes in grub.cfg instead of default/grub.
Ah, thank you.