Archive for the ‘Technical Blogging’ Category

Hackers vs audiophiles: which headphone do they prefer?

August 12, 2012 Leave a comment

Hackers vs audiophiles: which headphone do they prefer?.

Headphones for Hackers

– Anonymous Hacker

Headphones are ingrained in startup culture. If you visit a startup office, more often than not, it seems like everyone is wearing headphones. The same workplace norm doesn’t appear to exist at law firms, medical practices or anywhere else really.

A hacker needs to concentrate without interruption for long periods of time and yet has almost no quiet personal space at work. A pair of headphones is a great solution to the contradiction inherent in this situation.

Beyond the practicalities, hackers seem to be personally invested in their choice of headphones. Headphones are a tool of the trade, and like many craftsmen, programmers like to talk about their tools (what other professions could have lively debates about Text Editors?). Ask a programmer about his headphones and you’re likely receive a more detailed response than you care to hear.

At Priceonomics we became curious about what types of headphones programmers actually … (Read more here)


WordPress Blog not posting to Facebook « Forums

August 11, 2012 Leave a comment

Blog not posting to Facebook « Forums.

Blog not posting to Facebook

  1. Blog not posting to facebook. I’ve gone through the process of disconnecting, removing the Facebook app, and reconnecting, but it’s still not auto-posting to my fanpage. Is there anything else you would recommend to get this to work?
    Blog url:

  2. I’m having the same problem. Worked a couple of times when I first set it up, hasn’t worked since.

  3. Aside from reconnecting I have no solutions to offer you.

    I can suggest two alternatives. You can use Networked Blogs or RSS Grafitti posting to Facebook walls if you prefer. RSS Graffiti periodically checks the RSS/Atom feeds that you specify and posts any new entries it finds to the Facebook Walls that you specify. You can get any feed written on any wall (Facebook Profiles, Fan Pages, Groups, Events and Application Profile Pages). In fact, multiple feeds to multiple walls. You choose the combination.

Facebook Obsoletes Less Than Year-Old Facebook Application Development For Dummies Book!

Facebook Obsoletes Less Than Year-Old Facebook Application Development For Dummies Book!


Just a quick rant here.  In what must be some kind of record, Facebook has pretty much made obsolete the book Facebook Application Development For Dummies (Wiley, by Jesse Stay), which I purchased about 7 months ago (August 2011 — only 3 months after it was released!).

Most of my other programming books (mostly O’Reilly, Head First, Head Rush, etc.) are good for at least 5 years before they are useless.  But in this case, Facebook has redesigned their developer portal so much that where once there was a canvas page and canvas url, now only the canvas url is present.  Not only that, when you hover over secure canvas url it says that a secure canvas url is required by October 2011 (Oops! — That deadline has passed).

Such is the developer’s roadmap of progress.  I want to look at this with an open mind, and as such I’ll take this as an opportunity to look for more recent online Facebook Application Development tutorials.  I found one on Facebook’s developer site here.  I’ll try to follow that but right now my ass hurts from hemorrhoids and sitting in an uncomfortable chair too long (an upcoming article will aggregate reviews of several task chairs, ergo and otherwise — WATCH FOR IT!) so I’m retiring for the moment.

Until next time …

– CodeSlayer2010

Zemanta Puts Unwanted HTML Comments In Pre-Formatted PHP Code (Sourcecode) In WordPress Posts

April 9, 2012 4 comments


I  have recently determined through trial and error and process of elimination that Zemanta is responsible for adding extraneous HTML comments to my pre-formatted (with “pre” tags) PHP code that I have placed between “sourcecode” tags to activate’s built in programming code syntax highlighting.

Here is a screenshot (fig 1.) that demonstrates the problem:

codeslayer2010 blog with zemanta extraneous html comment errors

fig. 1

See, all that green is what commented my code out and made it so it doesn’t display correctly.

I am not totally sure Zemanta is to blame, but it seems the most likely culprit.  Here’s why:

  1. Identified 3 possible suspects: Zemanta, proofreading, and pasting pre-formatted code in Visual view instead of HTML view.
  2. Disabled Zemanta and retested –  problem remained.
  3. With Zemanta disabled, disabled proofreading as well.  No change.
  4. With Zemanta and proofreading disabled, went Edit>HTML View.  In each instance where I had posted code, deleted all the code from in between “sourcecode” tags.
  5. Re-copied and pasted code from each original PHP file.  Re-tested: Worked!  Syntax highlighting works properly now.  Made multiple edits to both code and text, updated and viewed the post — Good to go every time.
  6. Re-enabled Zemanta, made a test edit, saved and previewed the new post.  Everything is messed up again!  This is why I think Zemanta is the issue.


The solution I have come up with is this.

  1. If you want to use Zemanta, do so before adding any preformatted code or sourcecode tags.  Always turn Zemanta off when you are done using it.
  2. DO NOT, (under any circumstances) have Zemanta enabled if you have preformatted PHP code in your blog.  Chances are, Zemanta will mess your code up and you will have to re-paste your code again.  During my tests, I have had to paste all my sourcecode from scratch 3 times and let me tell you — it gets very tedious and wastes valueable time.
  3. Always paste sourcecode in HTML view only.

These are my recommendations based on my personal experience with this issue.  I’d love to hear from anyone else who is having similar issues.  Please let me know if this solution worked for you!

– CodeSlayer2010

Why you Should Tweet your Post Multiple Times?

Powershell – Executing commands which require quotes and variables is practically impossible!

March 30, 2012 4 comments

Executing commands which require quotes and variables is practically impossible: Microsoft Connect

This is an interesting forum thread about what I’ve spent the last 2 hours researching:  How to properly quote commands with parameters and interpolated paths so that they will execute as a command.  Doesn’t seem like it should be so hard.  Here is an example of the code I’m working with:

The command I’m trying to run:

C:\Program Files\Mozilla Firefox\firefox.exe -createprofile myTest

# Here is what works in MS-Dos / Windows XP command prompt:

"C:\Program Files\Mozilla Firefox\firefox.exe" -CreateProfile myTest

However, run the same thing in powershell and this is what you get:

PS C:\Documents and Settings\nunya> “C:\Program Files\Mozilla Firefox\firefox.exe” -CreatProfile myTest
You must provide a value expression on the right-hand side of the ‘-‘ operator.
At line:1 char:48Unexpected token ‘CreatProfile’ in expression or statement.
At line:1 char:49Unexpected token ‘myTest’ in expression or statement.
At line:1 char:62

Building a new computer | V TECHblogs


Only a few months since I last posted this and the hosting domain seems to be gone.  It would be a shame to remove this post, so I’m updating it with some related photos of neon home-build PC mods.  I hope you enjoy these excellent works of art & function.

(The original article was posted here: Building a new computer | V TECHblogs. I’m leaving this link in case it ever comes back on line)

Build Your Own Computer (2012) - Sick Neon Cutaway Home System

Build Your Own Computer (2012) – Sick Neon Cutaway Home System

head1 head2 head3
pics pics
pics pics
pics pics