Friends Who Like ________

There’s a link going around the Facebooks. Exciting! It’s usually implemented like this: Click here to see who you should de-friend! Ha Ha! That’s only funny because they’re the lamest lamers who ever lamed.

Do you want to create a similar facebook link but you don’t know how? Well, Your JoeDog is here to help.

First: Find something you don’t like. Something like this:

https://www.facebook.com/MiamiDolphins?fref=ts

Now copy the path from that URL. In this case, we’ll put this on our clipboard: /MiamiDolphins

Second: Construct another URL so we can graph search for its ID. You’ll append the text on your clipboard to graph.facebook.com. The finished URL should look like this:

http://graph.facebook.com/MiamiDolphins

When you hit that URL in your browser, it will return some JSON. Don’t worry if you don’t understand all that stuff. There’s only one small bit of information that matters to us. We’re looking for the page ID. In this case it’s right at the top:

{
   "id": "87132269610",
   "about": "Welcome to the official Facebook home of the Miami Dolphins.",
   "can_post": false,
   "category": "Sports Team"

Third: Use that ID (87132269610) to construct your link: De-friend these people!!!

NOTE: Ha Ha! Your JoeDog switched IDs on you….



Sleeping Aids (Or How To Sleep After Turning Caffeine Into Code All Day)

When Your JoeDog was a kid his parents tried to put him to bed with little success. They yelled, they bribed, they pleaded but nothing seemed to work. There was always another teevee show to watch, another coke to drink and another toy to play with. After about six or seven years of futility, his parents said “fsck it.” They went to bed while he watched McMillan & Wife on the CBS Late Movie.

The fact is Your JoeDog has always been a pretty shitty sleeper.

It’s a trait that doesn’t seem to run in the family, though. By the time he was ten, Your JoeDog was known to cook himself a 3:00 am breakfast. He’d clang pots pans while the parental-units slept through the clatter.

After he graduated from college, Your JoeDog was surprised to learn the boss wanted him at work … on time … in the morning. It was a revelation that prompted a life-long quest for the perfect sleep aid. When he sees ads for these products online, Your JoeDog is quick to click. “Well, hey, let’s see what this can do.”

Tonight he was all Clicky McClickums and found himself reading reviews for Somnapure on Amazon. It’s a pill which contains herbal supplements. Some reviewers loved it while others thought it worthless. In a field of over 400 reviews, one stood out.  J. Charlton loved this pill so much he gave it five stars:

this cream is magical. My wrinkles are gradually disappearing since I started using this product.. I am 90 yours [sic] old and my skin is amazing for my age.

Mmmmm think I’ll pass….

So what does Your JoeDog recommend for insomnia? After all this time he’s only found one product that consistently works: Bob Marley Mellow Mood Tea. It’s a decaffeinated tea with herbal additives. The key ingredient is valerian root.

Unfortunately, he can’t just take valerian pills. In the US, supplements aren’t regulated and they rarely contain the ingredients listed on the bottle. That doesn’t appear to be the case with Mellow Mood. If Your JoeDog downs one of these before bedtime, he sleeps like a little tiny baby. Well, somebody else’s baby. He never actually slept as a child.

NOTE: This is not a paid promotional piece of bullshit. Your JoeDog truly loves Bob Marley’s Mellow Mood. He thinks you might love it, too.



Paul Krugman And The Virtue Of Skepticism

Yes, this is a nerdblog. Yes, we focus on technology. No, this post isn’t about technology. Today we turn our attention to Paul Krugman. Why? Your JoeDog studied economics and sometimes he likes to distribute nerdy turd droppings. Consider this a dropping.

In a recent post Paul Krugman devoted time to the virtue of skepticism. In particular, he says, you should be leery of studies that neatly correspond with your own political preferences.

That’s good advice. For illumination he offers this nugget:

For example, I’ve been aggressively skeptical of studies that seem to show a negative relationship between inequality and growth, precisely because that result is so convenient for my political tribe (which doesn’t mean that it’s wrong.)

Now Your JoeDog’s high-level macroeconomic views generally align with the New York Times columnist. Like Krugman, he was schooled on Paul Samuelson’s Macroeconomics textbook. That book provides a framework that is recognizable to Krugman’s readers.  Sadly the similarities end there. Krugman is a Nobel Laureate and Your JoeDog is a guy who yells at him on the Internets.

When he sees Krugman is extra skeptical of views that support his political position, that gives cause for pause.

Why?

When Thomas Piketty made a stir with Capital In the 21st Century, Krugman was an early cheerleader. Consider this column. It was written ten days after the book was available in the US. Krugman may have had an advance but how long is the period of extra skepticism? Two months?

Look, Piketty also supports Your JoeDog’s priors but he remains skeptical of his economic analysis. It contradicts much of what he learned in Macro 101. It probably contradicts what Krugman teaches his own students. When we follow the framework that Samuelson provides, we expect wages to rise as unemployment falls, amirite? That’s what happens when companies compete for workers. Supply and demand, motherfsckers.

What stands in the way of 1990s employment levels is politics. When governments prioritize low inflation over low unemployment they do the bidding of wealthy benefactors. Piketty makes more sense when he’s viewed in this context. People with money can (and do) influence policy. From a macroeconomic perspective, his data seems to track the symptom rather than the cause.

If Krugman now practices aggressive skepticism, that’s a good thing. Piketty should be scrutinized. In the meantime, the answers for wage stagnation already exist in Krugman’s own textbooks. Let’s hope he avoids distraction and promotes those ideas more aggressively. In the long run, we’ll know if Piketty was onto something but we already have the tools to fix wage stagnation. That’s is where our focus should be now.



Search, Search, Search … The Boys Are Missing!

bad chart - downward spiralYour JoeDog is confused. He can’t help it; Google can’t keep its story straight.

For example, in Google’s Webmaster Tools, they tell him 16 people clicked search results that pointed to www.joedog.org last month. In Analytics, they tell him 11,696 people clicked links over that same period. That’s quite a discrepancy.

Here’s another head scratcher: In Analytics, they say Your JoeDog had just under 50,000 page impressions in May but Adsense says it was over 60,000.  That’s unexpected, right? Many of you are running ad blockers — hey! why are you blocking Your JoeDog’s ads? — shouldn’t we expect more Analytics impressions than Adsense impressions?

The only analytics program we really trust is Webalizer.  That’s a log analysis tool which provides summary reports of all activity. If you make a request, it’s in the logs and therefore in the report. So while Analytics says 50,000 page impressions and Adsense says 60,000 page impressions, Webalizer says “No, yo, it was actually 317,490.”

None of the 260,000 people who eluded Google’s detection are reading this post. They are login attackers, link spammers, referrer spammers and an assortment of other dicks. Your JoeDog doesn’t know all the things they’re doing to this site but he’s confident of one thing: there were at least 260,000 of them last month.



US Government: We Suck At Security; Trust Us With Your Records

navalwarcollegehackers_168457_372093-300x193Your JoeDog is not one of those knee-jerk anti-gub’mint guys but god damn sometimes they test his patience.

By now you’ve heard of that database breach in which the Chinese allegedly stole the personal information of approximately 4 million government employees. About half of those records represent current employees, the rest are for previous workers. According to an unnamed US “official,” the data goes back to 1985.

CNN interviewed “experts” who told the network that the Chinese appear to be building a large database of Federal employees which will help them model the organization and setup insider attacks.

One-third of Your JoeDog’s visitors are from China and we’re starting to feel like an abused spouse. We give you free software and you break down the door and steal our records. Thanks, China. Thanks, a lot.

But here’s the real kick in the ass: US government officials cite this breach as a reason to pass a host of legislature which will, among other things, put more personal information into the hands of government. Information-sharing clauses in these bills will essentially channel more personal data from businesses to the Federal government. That makes Your JoeDog’s head explode. The government is essentially saying, “We can’t secure our own records so give us more records.”

The chairpersons of the select committee on cybersecurity have their hair on fire. They predict dire consequences if we don’t grant them more personal data: “Business and industry leaders warned us of the growing threats during various hearings, and this attack shows why the Senate needs to move quickly on a cyber bill.”

The shittier a bill is the quicker is must be passed, people. Don’t worry your pretty little heads about its contents.

Funny thing: Newton’s Third Law applies to politics as well as physics. For every asshole, there’s an equal and opposite anti-asshole. Are you from Oregon, Dear Reader? Then pat yourself on the back because your senator is our anti-asshole.

I believe sharing information about cyber-threats is a worthy goal, it is unlikely that information sharing by private companies would have made any significant difference in protecting federal employee data. That’s why cybersecurity experts say that passing a bill like this will do little to reduce security breaches.

“This is a bad excuse to try and pass a bad bill.”

Amen, Senator Anti-asshole. Amen.



Now That’s Underhanded

The Underhanded C Contest challenges participants to write straightforward and clearly written code which doesn’t perform its intended purpose. Winning entries should easily pass inspection by other programmers so they can be added to the code base in order to execute their intended purpose which is to miscount votes, shave money from transactions or pass along information to another party, etc.

Some of the techniques used in this year’s contest include the use of K&R style function declarations to circumvent type checks, #include statements that change the package structure, swapping user space #define with system ones and a misleadingly long loop execution.

The winning entry leveraged the __isleap() function in time.h. Because that function is actually a macro it expands into an expression when a user defined macro is invoked multiple times. The winning author placed a subtle bug in that macro which plausibly turns the year into a 0 and writes past a buffer thereby performs the author’s intended purpose: to leak information to the outside world.

[Karen Pease: The Underhanded C Contest Winner]



Siege 3.1.0

With little fanfare and positively no hoopla, Your JoeDog released siege-3.1.0 to an unsuspecting world. This release is better able to handle concurrencies greater than 1024 — please don’t use concurrencies greater than 256 unless you know what you’re doing. Siege is able to accomplish this feat through a combination of select on its first 1024 socket descriptors and poll on each one after that. Again, please don’t use concurrencies greater than 256 unless you know what you’re doing.

Hat tips to Abhishek Bhuyan, cheshirecatalyst, Teoh Han Hui, scooby, webus and Dave Fink for input and testing leading up to this release. We still have more work to do this area but we’re in a better place.

Hey ho — that’s not all! Three-one-oh comes with a new feature. We applied a patch from Eric Abbott which provides improved delay granularity. You are no longer confined to the rigid world of integers, one, two, three, four, etc. You can now use decimal precision like this: –delay=0.05 or this: -d 1.5  But here’s the thing about this feature: It’s kind of embarrassing that we’re adding it in the sixteenth year of the project but you guys never asked for it!

One more thing: please don’t use concurrencies greater than 256 unless you know what you’re doing. If you lay siege to apache with an out of-the-box config, it will not be able to handle the load and all you’ll do is make a mess.

[JoeDog: http://download.joedog.org/siege/siege-3.1.0.tar.gz]



Is Ted Cruz A Retard?

A few months ago, Your JoeDog wrote about Ted Cruz. The topic was net neutrality. Your JoeDog favors it, the Senator opposes it. As a result, one of the more popular search phrases which drives traffic to this site is this question: “Is Ted Cruz a retard?”

Here’s the thing: we never called Ted Cruz a retard. We think he’s either stupid or evil.

And why is that?

In the article Your JoeDog wrote last November, Cruz told an audience that rotary phones became stagnant technology due to FCC regulation but iPhones thrived because the government kept its grubby laws off of them.  In the reality-based world, both devices fall under FCC jurisdiction. As a sitting senator, he should know that. After all, Cruz sits on the subcommittee of which oversees them both.

Now we’re not qualified to say whether or not Ted Cruz is a retard but if you typed that into the Internets and landed here, then you probably already have an answer to that question. Our hunch is this: Cruz doesn’t actually believe any of the stuff he’s peddling. Donors probably gave him large bags of cash to lobby in their interests. Unfortunately, those interests don’t correspond with mine. So if you want to call Cruz a retard, knock yourself out. Your JoeDog is sticking with “evil.”



Ransomware Creator: Sorry About That

By now you’ve probably heard of ransomware. It’s a form of malware that encrypts your files and demands a payment for the decryption keys. The whole concept of ransomware says a lot about humans, huh? It says we’re quite clever but we’re also basically dicks.

Last week a new strain of human dickishness was unleashed on an unsuspecting public. Locker is a form of ransomware known as a sleeper. That’s a variant that lies dormant until the administrator wakes it up. Last week the alarm rang. The program rolled out of bed and encrypted files on thousands of PCs.

Now this week an internet user who claims to be the author apologized for that whole making-your-life-suck thing. To prove his sincerity, he released this statement on PasteBin:

I am the author of the Locker ransomware and I’m very sorry about that has happened. It was never my intention to release this.

I uploaded the database to mega.co.nz containing ‘bitcoin address, public key, private key’ as CSV. This is a dump of the complete database and most of the keys weren’t even used. All distribution of new keys has been stopped.

He went on to say that automatic decryption will begin today. If your files are already borked by this program, then I suppose you don’t have much choice but to trust the author. Try to decrypt the files with the keys he provided. If that fails, make sure your computer is connected to the internet so you can receive the task signal.



The USA Patriot Act

safe, secure and contentedSee that little Frenchie on the right hand side of this here blog post? That was Your JoeDog under the Patriot Act. He slept the sleep of the contented then.

While the USA Patriot Act was in effect he didn’t worry about terrorists coming to chop off his head. He did lose sleep over bad guys with suicide bombs. He didn’t worry his pretty little head about creeping sharia law. But that was then.

Early this morning — at midnight to be exact — the United States Congress allowed the USA Patriot Act to expire. All those terror fighting tools are out the window now. With no eavesdropping, no metadata, no records seizures. and no extended Secret Service jurisdictions, how’s Your JoeDog supposed to sleep at night?

See that little Frenchie on the right hand side of this here blog post? That’s how.  Good riddance, USA Patriot Act.