Follow

Info

All opinions on this site are solely those of the author unless specified otherwise. All affiliations and endorsements will be disclosed if present. If no disclosure, no affiliation exists.

August, and everyone is planning and packing for Burning Man!

Revisit and Refactor

Revisit and Refactor

Today I revisited some code I'd written about a month ago and reduced the time it takes to run a data loading job from 52 minutes down to sub-10 minutes by replacing a relatively slow API call with a direct call to local code. This is something that was "good enough" until now, but was on my radar as being eligible for improvement. Since I had a new data loading job that would take over 10 hours using the API call, I had to write the new job a better way. Copying this better code back where it could make a difference meant that all of my data loading jobs were now refactored and much faster.

The takeaway here for developers is to periodically revisit your code and refactor it. Find new efficiencies. Examine how your code has been working and consider what you might have learned since the last time you worked on it. You may notice something now that you didn't notice the last time you were in the code.

A small amount of time doing this can pay off in huge improvements.

MicroRevenge

MicroRevenge

I just invented a new term:

MicroRevenge: The act of clicking on the ads of companies you don't like, knowing it'll cost them half-a-dollar.

Facebook Bans Likes for Content

Facebook Bans Likes for Content

As reported by Gizmodo, Facebook is banning (in 90 days) the practice of requiring a user to like a page in order to see or have access to content.

You must not incentivize people to use social plugins or to like a Page. This includes offering rewards, or gating apps or app content based on whether or not a person has liked a Page. It remains acceptable to incentivize people to login to your app, checkin at a place or enter a promotion on your app's Page. To ensure quality connections and help businesses reach the people who matter to them, we want people to like Pages because they want to connect and hear from the business, not because of artificial incentives. We believe this update will benefit people and advertisers alike.

Source: https://developers.facebook.com/policy

Coding like it's 1994

Coding like it's 1994

I'd like to see a contest to see who can design the best web site using only HTML 1.0 and no more than 40k in graphics, GIF and JPG only. That's right, what's the best 1994-era web site that someone with today's skills could design, if they were sent back in time.

This should be sponsored by TechCrunch with a suitably cool prize.

Tags:

Workday Music

Workday Music

Consider this another strike against the "open floor plan" office - I'm refining my Pandora station to play the perfect workday mix. Since I get into the office around 0730, I can just turn it on low and get to work. On weekends, I even get to blast it because I'm often the only one here when I come in to get stuff done in peace. But as soon as 0930 or so rolls around, people start filtering in, and I have to go to the headphones. It's just not as comfortable.

Maybe it's me, but headphones get warm. I prefer the "big cans" like my coveted pair of DT-770 Pros. They sound great, but at work, getting up and moving while tethered with headphones is also a pain. And cow orkers never seem to know when I've got them on because I want music or because I am trying to get into the zone. With an office, a closed door makes this clear.

This isn't a rant. Honest. But I'm going to write one some day.

Tags:
Error while rendering position.
Bit.Parts: Much Ado About Technology
Follow on Twitter

@TheDogberry

Twitter

Facebook Social

@TheDogberry

Facebook

Connect on LinkedIn

LinkedIn

LinkedIn