Archive | Nerdy RSS feed for this section

What the World Needs Now, Is Sarcastext, Sweet Sarcastext

24 Jan

Oh the difficulties of using sarcasm online! How are you supposed to get across the fact that you are being sarcastic when you can’t alter the tone of your voice, give a little wink-wink, or nudge-nudge? Anyone with a sense of humor that instant messages has surely encountered this problem first hand.

This week I was fooled once again. CNN published an opinion article on why Stephen Colbert’s bid for presidency must be stopped. Here is a sample that quotes Colbert and explains why he would be horrible running our country.

America’s role in world: “If our Founding Fathers wanted us to care about the rest of the world, they wouldn’t have declared their independence from it.” Under a Colbert administration, it appears America would just attack other countries for no valid reason.

The whole time I knew that Colbert’s candidacy and stances are simply a joke, but I thought the person writing the opinion article was taking it seriously. Apparently I was wrong. Upon closer inspection, that little blurb at the beginning introducing the author can be quite important. Usually it just toots the person’s horn and gives you links to their other material, but this time it actually contained something of real value. “Dean Obeidallah is a comedian”. And in case that isn’t evidence enough, if you take a look at the Story Highlights in the sidebar, you will see “he channels Colbert, satirically calls his candidacy a threat to our way of life ”

So the author was being sarcastic and I had no idea. Honest mistake, could happen to anyone. This is an obvious problem. And when there is a problem, we need a solution. Enter sarcastext.

Sarcastext is a idea for a specific font to be used whenever you are being sarcastic. The font itself alerts the user to the sarcasm, just as bold, italics, and capitalization are used for emphasis. Thus, whenever the reader encounters sarcastext font, the joke will not go over their head, which we have seen can have embarrassing consequences.
 


 
This idea goes back to my early days of AOL IMing and I can’t credit myself as the one that came up with it. Neither can I remember who did. So junior high friends, if you are reading, take credit in the comments …

The article even makes some Hitler references, as previously mentioned in my post on Godwin’s law.

Photo: ManyLittleBlessings

TwitterFacebookDiggStumbleUponDeliciousRedditShare

Baseball Litmus Test – Do You Find This Interesting?

3 Jan

Baseball is the most polarizing sport – you either love it or can’t understand how people could ever like it. Sports like basketball and football, you still have the die-hard fans, but it doesn’t seem to have the opposition calling it boring and refusing to watch that baseball has.

It’s been said that to be a baseball fan, you have to appreciate history, numbers, and statistics. It’s not so much that any given pitch is exciting, rather it is what happens over the course of an entire at bat, game, season, and many decades.

ESPN finished their year in review, in which they look at everything unbelievable that happened in major league baseball in the past year. I think this is a good litmus test to determine whether or not you have the potential to like baseball. If you are fascinated by any of these blurbs, you are in danger of becoming a baseball fan:

  • In an Aug. 30 game against the Padres, Andre Ethier did something that ought to be impossible: He got the Dodgers’ first AND second hits in the same inning. How’d that happen? It wasn’t easy. In between Ethier’s hits, those other Dodgers helped make this nugget possible by going walk, strikeout, walk, walk, sacrifice fly, walk, walk, walk.
  • Eugenio Velez went 0-for-37 this year, the most hitless at-bats in a season by any non-pitcher Zero Hero in the history of baseball.
  • The Mets went 299 games without hitting any grand slams – and then hit two slams in a span of six hitters.
  • In an Aug. 14 game against the Cubs, Braves rookie Arodys Vizcaino marched out of the bullpen, faced three hitters, struck out all three and still, somehow, succeeded in A) blowing a save and B) pitching only 2/3 of an inning. Those strike-three wild pitches make all sorts of strange-but-true feats possible, don’t they?

And the postseason was even a little crazier:

  • The Cardinals have played 19,387 regular-season games in their history. Not once had they won a game in which they trailed five times. But that’s the mess they overcame to win Game 6 — when all that was riding on it was losing the World Series. That’s all. The Cardinals trailed in this game by scores of 1-0, 3-2, 4-3, 7-4 and 9-7 — and won. Unreal.
  • Never had both teams homered in extra innings at any point during an entire Series. Then, naturally, each team homered in extra innings just in GAME 6 (Josh Hamilton in the 10th, David Freese in the 11th).
  • In back-to-back-to-back at-bats in Games 6 and 7, David Freese hit a game-tying triple, game-winning homer and game-tying double. How incredible was that? Only one other time in World Series history had a player gotten game-tying or go-ahead hits in three consecutive trips to the plate. And naturally, it was Allen Craig, earlier in this same World Series.
  • In Game 1s of this postseason, the Yankees, Tigers, Rangers, Phillies, Cardinals, Brewers and Diamondbacks started pitchers who had been around long enough to make a combined 1,469 regular-season starts in the big leagues, plus another 30 postseason starts. But the Rays had other plans (as always). They started Matt Moore in Game 1. How many big league games had he started in his life before that game? That would be one. So, naturally, Moore went out and threw seven shutout innings (giving up two hits), the first time any rookie starter had done that in a postseason game. So it took 107 years for it to happen once. It then took four days, of course, for it to happen a second time — thanks to Arizona’s Josh Collmenter.
  • Finally, there was Albert Pujols’ picturesque little box-score line in that very same Game 3: 6 AB, 4 R, 5 H, 6 RBIs, with three majestic homers and 14 total bases tossed in there just for fun. Feel free to stare at that line for as long as Albert stared at his long home runs, because in the entire live-ball era — all nine decades of it — there has been only one regular-season 6-4-5-6 three-homer game, by Dave Winfield against the Twins on April 13, 1991.

Head over to ESPN.com for the full articles on the regular and post-season 2011.


Photo: Shutter Daddy

TwitterFacebookDiggStumbleUponDeliciousRedditShare

Big Game and Ninja Turtles

17 Nov

Coming off an emotionally rough Stanford loss last week to Oregon, pissing away the chance at a PAC-12 and national championship, Stanford football fans are shell-shocked like a ninja turtle. But if there is one thing we know about ninja turtles, it is that they are resilient – they came from the gutter, became a force to be reckoned under the tutelage of Master Splinter, and bounce back after eating a little pizza. Do you see the parallels here to the Stanford football team, rising from an embarrassment to a national powerhouse under Master Harbaugh?

I thought it would be fun to take a closer look at the Stanford and Cal football teams in recent years considering the 114th Big Game is this weekend. Even though Cal has taken home the Axe 7 of the last 9 meetings, this hardly tells the story. The Cal and Stanford programs have flip flopped in recent years – Stanford going from horrible to great, Cal going from great to mediocre.

Here is an interactive chart you can use to examine the last 6 seasons for the Stanford and Cal football teams. You can play around with it, but these settings are my favorite to show the trend: y-axis = Point Differential, x-axis = Win Percentage, Colors = Unique, Size = Wins, check all the boxes, and hit play (sadly Google doesn’t allow me to set the default values and it wasn’t worth the effort to explore other charting packages).

I’m no statistician, but it looks like Cal is trending nowhere and Stanford has the up and to the right trajectory that follows the group of overachievers everywhere in life. Tough break Cal, at least you’ll always have The Play to cheer you up. Go Card!

TwitterFacebookDiggStumbleUponDeliciousRedditShare

Brogramming 101: What Is It and Why Should You Care?

1 Sep

Oh brogramming! What a beautify made up word. It is a combination of two words I hold near and dear to my heart. BRO + PROGRAMMING = BROGRAMMING. Yes, the meaning matches your current mental picture – a sickass dude programming a computer.

What does this involve? It is up to interpretation, but it definitely involves wearing your sunglasses indoors while using the computer. Lifting weights is important – and don’t forget your protein shakes. Drinking alcohol while programming is encouraged. The more caffeine consumed the better.

You may be absolutely puzzled right now. How the heck did these two worlds collide? Well, in the land of software, the Silicon Valley, pretty much the coolest thing you can do is code. And to show how sweet you are, instead of pictures on your desk of your loved ones, people here decorate their desks by displaying the largest and most intense energy drinks you can find. Yes, it is a unique place.

Starter Kit

Now that I have you excited, how do you join the team? Copy this desk setup:

You must be concerned about health – at least to an extent. Eat healthy food and be sure to pair it with a workout regiment that focuses on the beach muscles. Bicep curls, bench press, calf raises, repeat. Next, (this may seem in direct conflict with the previous point, but just go with it) drinking a ton is cool. Beer, vodka, or Jager. You can drink while at your computer, or alternatively you can return to coding after a wild night in the club. Be sure to have powerful energy drinks within arm reach to stave off the inevitable crash when it arrives.

Congrats, you have passed Brogramming 101 are now a brogrammer! This answer on Quora provides some addition reading material for those of you that want to advance to 201 next semester. Let me give a sneak peak for the Pedantic Post readers that don’t click on links…

Here is a flow chart to study before next semester (programming logic is similar to the logic of flow charts so they are useful for communicating how a program should behave):

If you are ready to start writing code, here is a pretty solid example. Do the same for the song Lip Gloss or any Little Wayne jam and email it to me for extra credit:

 

Why should you care?

Nerdy and cool are colliding whether you like it or not. Need evidence? Chess-boxing is the fastest growing sport in America (I always thought it was hilarious how many sports claimed to the fastest growing in America, so what’s one more claim?):

This collision is great news for everyone. If you are a nerd, you get the opportunity to battle the jocks that made fun of you in high school. If you are a hella chill dude, you get the opportunity to compete with people way smarter than you on a slightly more even playing field. What a great opportunity!

Faithful readers, what bro-sports and dude-tivities can we invent? The top idea gets to challenge me for slammers and/or pink slips.
 


 
Everyone is trying to hire programming talent these days. But the smart start-ups are trying to hire brogramming talent.

If you liked this post, join the mailing list to receive weekly email updates.

TwitterFacebookDiggStumbleUponDeliciousRedditShare

Pedantic Posts Was Hacked!!!

27 Aug

Yes, it is true – after a series of posts alerting the world to the methods of hackers and how to protect yourself, I was hacked. Here is what happened.

On Thursday I received an email from GoDaddy, my hosting provider for this site, alerting me that I had two hours to remove several phishing attempt pages that I had up. If I didn’t remove them within two hours they would shut down my site. Needless to say, this was news to me!

For those of you that don’t know, a phishing is when a fake site tries to steal a user’s login information or credit card number. Most of the time this is done by sending you an email with a link. Let’s take Bank of America for example. If a hacker were able to obtain the login and password for a Bank of America account, they could steal money by transferring it to another bank account. So the hacker would send you an email that looked like it was from Bank of America, telling you to check your account urgently. But the link in the email wouldn’t go to the Bank of America website, it would go to a nearly identical web page the hacker created to collect your login info (a phishing page).

Why the hell were there phishing pages up on Pedantic Posts? I can assure you I did not place them there, which means I was hacked and someone else did it. You see, a hacker doesn’t want to use his own domain name to host these pages. The site would quickly get reported and shut down. Instead they hack a site and put the page up there.

Realistically, the phishers don’t go out and hack a site. They probably pay a tiny amount of money for the username and password to a site that someone else hacked. Either way, they gained access to my site and put up a number of pages including several phishing attempts and porn advertisements.

It turns out that I had a pretty weak password setup for my site. 8 characters, only 1 capital, 1 number, no special characters. You better believe I have fixed this. Lesson learned. What was the damage? The site was down for 2 days due to my slow response time, but it could have been much worse!

TwitterFacebookDiggStumbleUponDeliciousRedditShare