Speed Up That Site

Being a web developer, I’m used to learning new things.  If I didn’t, my skills would quickly become useless as technology passed me by.  The latest new set of skills I’ve picked up on is site speed optimization.

Now, don’t get me wrong, I’ve understood the basic principles of making your site run faster for awhile now.  Larger files means longer download times.  Images should be scaled down with sizes specified (so the browser doesn’t have to guess at the size).  JavaScript should be minified.  Unneeded code should be removed instead of just commented out.

Still, there was a lot I didn’t know how to do.  My education began with the infographic at this site.  Intrigued, I checked out HeadJS.  This is a small JavaScript library designed to load other JavaScript files.  The problem with having many JavaScript files is that they download one at a time.  This means they can become a serious drag on page load times.  HeadJS, instead, loads many script files together to that the load times drop.  I put it into place on a project at work and was amazed at how quick it became.

After HeadJS, I found a hidden (to me) gem on Google’s website: PageSpeed Insights.  Enter your URL into this tool and it will analyze your web page.  The resulting report will tell you how fast your page is (using a score from 0 to 100) and how you can make it run faster.  (There are extensions for Chrome and Firefox as well.  These are useful if your site isn’t accessible to the outside world.  For example, if you must log in to view it.)

Using this, I took the latest beta of FollowerHQ from a score of 60 to 91.  I didn’t record before and after load times, but the application certainly feels snappier.  In fact, at this point, the main drag on the site is the fact that the Twitter avatars that it loads aren’t optimized.  (This is obviously something that isn’t under my control.)

I’m going to turn this tool loose on TechyDad.com and TheAngelForever.com next.  Using the recommendations here, I should be able to get the two blogs running much faster.

What steps have you taken to ensure that your blog or other website is running as fast as possible?

Designing a Car on Disney’s Test Track

Test Track has long been a favorite of mine.  I always loved riding in the car as it got put through the paces of testing.  Then, at the end, it would zoom outside for a fast loop around the track.

When they closed it down for revamping, I was intrigued.  Then, I heard that the new Test Track would let you design your own cars.  I wondered how they would do it.  Then, in December, I got to find out.

When you first enter, the change is immediately apparent.  Instead of a "factory testing grounds" atmosphere, Test Track now seems futuristic with many types of concept cars.

concept-cars

You are given a white card.  These are tapped against a small glowing circle to link the station you are at with your car design.  If you take the Fast Pass line, you will be given thirty seconds to customize some pre-built car templates.  However, if you go on the regular line, you get five minutes.  That might seem like a lot of time, but there are a lot of options.

First you select your vehicle type.

vehicle-type

Next, you draw the outline of your car.

draw-a-line

You can then refine it to maximize capability, efficiency, responsiveness, and/or power.  (This is a recurring theme.  Nearly everything you do affects those four variables.)

adjust-line adjust-line2

Next, you further customize the sculpt.

sculpt

Then, you drag the wheels together or apart to adjust the length.

length

You drag the headlights apart or together to set the width to your liking.

width

And you choose your engine.  (I went for the power-filled Plasma Burner.)

engine

You can customize the face of the car by dragging elements of it around to reshape the car.

face

You can paint it any color you desire.

color

And even add graphics.  (Flames make cars go faster, right?)

flames

Next, you get to choose which wheels you want to use for both the front and back.  You can even resize them to your liking.

wheels

Finally, it’s time to accessorize the front, hood, side, top, and rear.

accessories

At last, your vehicle is ready!  (Tip: You can spin it around to see all sides.)

car-front car-back

The design possibilities are endless!

car2

With your car designed, it’s time to ride on Test Track.

Disclosure: I was invited to the New Fantasyland media event December 5th through 7th. Disney paid for my travel, our park tickets, room, and a few other items. I was able to take B along as my guest, but we paid for her own travel as well as an extra night in the resort. The opinions expressed above are my own.

Note To Savannah Guthrie: Stop Linking Newtown To Asperger’s

Yesterday, during the Today Show, Savannah Guthrie hosted a segment where they discussed some new details about the Newtown shooter.  (NOTE: I refer to him as thus because I don’t want to give him any more fame.)  Four minutes into the segment, she said this:

"Josh, there has been a lot of talk that he may have had Asperger’s."

Sigh. Here we go again.

Just after the Newtown shooting, people were desperate to find out information on the killer.  Any little nugget of information would do no matter how trivial.  If it set him apart from "normal people" then all the better.  During one interview, the killer’s brother mentioned that he might have had Asperger’s Syndrome.

Suddenly, news organizations began asking "Did Asperger’s cause him to do this?"  After all, people with Asperger’s Syndrome are highly anti-social, lack feelings and empathy, are highly obsessive, and are prone to violent outbursts, right?  Just like a killer would be.

There’s only one problem: It’s not true.

Many, many other people have covered the reasons behind this.  I thought about blogging it but figured it was well covered ground.  (Besides, I covered this myself after the Aurora shootings when some people blamed Asperger’s.  At the time, we hadn’t mentioned our son’s diagnosis publicly.) Savannah’s mention of Asperger’s in relation to the shooting shows that there are still those who think Asperger’s = Potential Killer.  Clearly, the more education the better.

Craving The Spotlight Then Blinded By The Spotlight

First of all, people with Asperger’s Syndrome aren’t anti-social.  We Aspies actually tend to want to socialize a lot.  The problem is that we don’t instinctively know the rules for socialization.  What others "just get", we have to simulate by remembering and applying tons of rules on the fly.

Imagine going to a strange country with a strange language. If you needed to ask for something but could only remember individual words, you could string words together to make yourself understood. ("Milkshake banana please would like I.") Still, you’d be seen as highly awkward in your speech pattern compared to natives who knew the language inside and out.

In addition, Aspies have a tough time picking up on non-verbal and non-literal cues.  These can make up 70% or more of a conversation.  For example, suppose you said "Joe just got his girlfriend a ring for her birthday.  She really loved it."  You might roll your eyes and emphasis "really loved" to indicate sarcasm.  Someone not on the spectrum would pick up on this and understand that she thought the ring wasn’t very nice.  Someone with Asperger’s would think Joe’s girlfriend was happy with him.  Otherwise, why would you say that she really loved it?

To simulate this, imagine instead that 70% of the letters in this blog post were missing.  How successful would you be in reading it?  Even if I provided dashes where the letters should go, a luxury that Aspies don’t have, it would be nearly impossible.  A—- -l-, -i–o– m-s- — –e -e–e–, –u- a—-g- –n—c- -i– —o– c—–t–y -n–a–b-e.  (Translation: "After all, without most of the letters, your average sentence will become completely unreadable.")

All of those rules to remember and blanks to fill in (along with other issues such as problems filtering out background noise or issues with loud noises) can make socializing mentally taxing.  So while people with Asperger’s might want to socialize, they find it hard to do so.  It’s much easier to sit on the social sidelines wishing you could be part of the game.  When I was in high school, I always pictured it as craving the spotlight, only to find it blinding when in it.

Killers, on the other hand, are anti-social not because they don’t know the "rules of the road", but because they hate people completely.  Aspies don’t feel like this at all, but, sadly, many neurotypicals (those without Autism Spectrum Disorder, NTs for short) don’t see the distinction.

Aspies Feel Deeply and Intensely

A big myth about Asperger’s (and Autism in general) is that those on the spectrum lack empathy or are cold and emotionless.  This couldn’t be further from the truth.  Remember those blank dashes?  Well, they work against Aspies here as well.  Aspies have a hard time telling a person’s emotional state without them explicitly stating it.  This means that it is easy for an Aspie to make an NT upset without meaning to.  Once they realize how the person feels, however, Aspies will feel highly upset over causing such hurt.

In fact, this can feed into the "anti-social" aspect of Asperger’s.  If you socialize, you risk hurting someone badly (emotionally).  Why take the risk?  Why not avoid people and thus avoid hurting people?  Contrast this with a disturbed individual who find pleasure in hurting people.  Which is more likely to go on a killing spree?

What You Call Obsession, I Call A Special Interest

Many Aspies have what some NTs might call obsessions.  They aren’t true obsessions, however, but rather special interests that Aspies love.  Other people have interests like these too.  Some might build model airplanes.  Some might knit.  Some might read books.  Aspies, however, tend to go all in when it comes to their interests.  Instead of building a model airplane, they’ll make sure it is perfectly accurate and know all of the historical facts about each one.  Instead of knitting, they’ll know every type of yarn and needle by heart as well as which is best of which project and will design their own patterns from scratch.  Instead of merely reading books, Aspies will focus on a subject, say Dinosaurs, and read everything they could possibly get their hands on regarding that topic.  Remember "Aspies Feel Deeply and Intensely" from the last section?  Well, in this section if means that our interests are deeper and more intense as well.  In the end, though, they’re just interests, not unhealthy obsessions like one might find in a killer.

Reactive, Not Planned

Can someone with Asperger’s be violent?  Yes, of course.  But so can any person, whether on the Autism Spectrum or not.  If someone is violent and has green eyes, you wouldn’t claim that their green eyes are what caused the violence.  The same goes for Asperger’s.

The Newtown shooter cased the school for weeks, planned his crime, shot his mother, loaded her guns in the car, drove to the school, and followed his plan to maximize his killing.  This level of planning is completely the opposite of the kind of violence that someone with Asperger’s is likely to exhibit.

An Aspie’s violence (again, IF they come… not all Aspies experience this) aren’t planned. They are blind, reactive strikes due to feeling intense frustration and anger and not knowing how to properly express this feeling.  The violence, in this case, is likely going to be limited to pushing or hitting.  If the Aspie is given time and space to calm down, they will feel highly embarrassed and saddened over what they did.

In fact, people with Asperger’s are more likely to be the victims of violence instead of the perpetrators.  Bullying is a big problem for those with Asperger’s.  Bullies love to pick on those who are different and "doesn’t understand how to socialize" certainly qualifies.

The Truth and Damaging Lies

Asperger’s is not a disease.  It’s not a mental illness.  It doesn’t lead people to become killers.  Asperger’s Syndrome is a high-functioning version of Autism which, in turn, is a developmental disorder.  People with Asperger’s might think differently than neurotypicals, but – at their core – they aren’t so different.

Spreading lies about Asperger’s being a reason for a killer’s actions only adds meaningless sensationalism to a news story and exposes Aspies to danger.  After initial stories about the killer’s alleged Asperger’s hit, some people began to fear those on the spectrum.  Facebook groups calling for Aspies to be rounded up and (if the group was feeling generous) locked away were formed.  One group asked for a certain number of likes, after which they would set a kid with Asperger’s on fire.  (I’m not sure who is the worst here: The people who formed this group of the people who liked it before Facebook removed the group.)  In one mall, a child who was known to have Asperger’s was tackled and beaten up – because his hand was in his pocket and they feared he had a gun.

These are the kinds of actions that people like Savannah Guthrie inspire when they continue mentioning Asperger’s when the topic of the Newtown shooter comes up.  This apparently isn’t the first time that Savannah has mentioned this, but I implore her to make it her last.  She should do some research into what Asperger’s really is, meet some people with Asperger’s Syndrome, and host a segment where some myths are busted about Autism Spectrum Disorder – including the one that she herself perpetuated.

Here’s hoping that long, explanatory articles like this one won’t be needed in the near future.

NOTE: The Autism Awareness ribbon icon above was created by Melesse and comes from Wikimedia Commons.

The Pet Persuasion Paper

NHL recently had to complete a "persuasive essay" project for school.  He needed to write a paper to convince someone of something.  The topic he decided on was pets and why we should get him one.  Here’s his essay (and yes, I got his approval to share it here):

essay

Of course, before he even showed this essay to me, he mentioned what he was writing about and I gave him our arguments against getting a pet.

Our first argument is simply that B is allergic to most dogs and cats.  That limits our pet options considerably.  Secondly, pets cost a lot of money to take care of.  Food, medical care, housing, and/or toys for the pet don’t come cheap.  When your budget looks like ours, taking on another expense for a pet isn’t a big option.  Finally, pets require space to live in.  This isn’t as big of a problem if the pet is a goldfish in a small bowl, but our house is so small and so tightly packed that even that would be a problem.  (Seriously.  We have that little room.)

Having seen NHL’s essay, I’d also argue that there are other ways he can learn to be responsible and not use his Nintendo DS as much.  He could read some books, play with the many toys he has and put them away when he’s done, and even volunteer to clean up areas of the house.

Finally, and most importantly, I talked to NHL about people who might try to bully him because they have pets and he doesn’t.  I let him know that bullies try to define what is "good" and what isn’t.  They are trying to define having a pet as "good" and not having one as "bad."  However, they have no right to define what is good and bad in his life.  If he doesn’t have a pet, that’s just fine.  He can’t live his life by doing things only because doing said things might get some people to stop picking on him.  Getting a pet just so some kids will stop bullying him is a poor reason to get a pet.

In the end, it was an admirable attempt by NHL, but he’ll need to try harder in order to convince us that we should get him a pet.

The Facebook-McAfee Lockout

Yesterday, while relaxing at home, B decided to check her Facebook account on her iPad.  She immediately told me that she thought she might have been hacked.  To make sure, she went on her laptop.  Sure enough, I came and saw that she had been locked out.  Not just locked out, though, but locked out due to a virus.

lockout1

Wait… a virus?  Mind you, this was without Facebook having any ability to scan our computer.  Also, this was after being locked out on the iPad.

lockout2

Nice lesson in malware prevention.  Of course, we’re both well versed in the "don’t run programs from sources you don’t trust" rule.  We also have anti-virus software running all the time on our computer just in case anything slips by our "common sense filter".  (Security is all about layers.)  Still, we can just click Continue to re-enable the account and scan using our anti-virus of choice, right?  After all, the next screen does say "you can also remove them yourself."

lockout3

I’d click the "We’ll remove them ourselves, please unlock the account" button, but all I see is a "Download and Run McAfee" button.

At this point, I began to wonder just how valid this notice was.  I didn’t doubt it was from Facebook, but I began to question whether this was just an isolated incident.  So I did what anyone would do: I searched Twitter and Google.  On Twitter, I found numerous people who were locked out due to "virus infections."

Two stood out to me in particular.  First was @grilledcheez.  She responded to one of my tweets with the following:

grilledcheez

If this was an actual virus infection, why weren’t both of the accounts locked out?

And then there was @jason_michael who was locked out of his Facebook page due to a "virus infection"… on a Mac:

jason_michael

This was looking very fishy.  Especially when a Google search turned up a deal between Facebook and McAfee.  Facebook will helpfully "detect" viruses on your computer and offer to clean it for you using McAfee’s software.

Of course, if you don’t want to install McAfee on your system, that’s fine.  You can use your own anti-virus software, as this Facebook post illustrates.  However, there’s a catch.  You first need to agree to the McAfee Scan and Repair Terms of Service.  (That’s why I don’t have a screenshot.  I didn’t want to agree to their TOS.)

I do have one more screenshot, though, from @jason_michael.  Apparently, he got back in without running McAfee.  You see, his third screen didn’t display a "Run McAfee now" message, but this instead:

 lockout-mac

Yes, he was able to simply click to certify that he ran anti-virus software and then was able to get back into his account.  No forced downloads and no required TOS agreements.  So why did he get the optional treatment and we didn’t?  My only guess would be that Mac-Windows difference.  After all, you can’t require a Mac user to install Windows software.  (It’s trivial to detect what operating system you are running.  In fact, I use Google Analytics which does – among other things – just that.  Hello to the 22.25% of TechyDad visitors who used Macs or iOS devices in the past month!)

In the end, after writing almost this entire post, I got back into B’s Facebook account again by using Internet Explorer instead of Chrome.  However, I’m not sure if it was a matter of IE being allowed in where Chrome wasn’t or if the lockout was only for a certain amount of time.  Still, the big red warning bar and only presented choice of running McAfee seems very scammy to me.

It looks like I’ve got yet another reason not to use Facebook.  And, if Facebook insists on pushing McAfee on its users due to "virus infections" that it "finds", they will give many users a good reason to move away from them and to a different social media platform.

1 74 75 76 77 78 300