Posts

Link Post: You May Be Losing Users If Responsive Web Design Is Your Only Mobile Strategy

I've been trying to get my head around the idea of just pushing out the code that a mobile site would need and I find it interesting. I'm wondering if you could create a SASS file that would use conditionals instead of @media queries and then serve out the correct CSS file based on the script tag...

http://www.smashingmagazine.com/2014/07/22/responsive-web-design-should-not-be-your-only-mobile-strategy/

Link Post: A Tale of Two PHP Devs

Experimental tools like HHVM (the successor of HipHop) offer huge potential, in terms of performance, deployment, and syntactic improvements to the language. But just like a new version of PHP itself, 99.9% of the market doesn't care because they can't use it, no matter how much they want to.

http://www.garfieldtech.com/blog/two-types-of-devs

Link Post: 3 PHP LOOPS GOTCHAS

This was news to me:

When dealing with nested loops, break allows you to exit them all at once

I'm also totally behind "Do your best not to initialize variables or call functions inside loops". I've run into horrible problems with DB queries in loops and it always causes a problem.

https://www.codepunker.com/blog/3-php-loops-gotchas

Link Post: My experience with using cp to copy a lot of files (432 millions, 39 TB)

For those of use who have to worry about copying huge data sets this is an interesting read. I've never had to work with anything large than 2 TB and I think I would have broken it into multiple steps but it's interesting.

http://lists.gnu.org/archive/html/coreutils/2014-08/msg00012.html

Link Post: The Hidden Costs That Engineers Ignore

"It’ll only take me a few hours to implement the feature,” we sometimes say. But after finishing, we find that every few weeks, we’re either fixing a bug with the feature, explaining it to another engineer, or helping answer a question from customer support about how it works. The total investment of time to maintain the feature far exceeds the initial few hours of development.

http://www.theeffectiveengineer.com/blog/hidden-costs-that-engineers-ignore

Link Post: Google got it wrong. The open-office trend is destroying the workplace.

Our new, modern Tribeca office was beautifully airy, and yet remarkably oppressive. Nothing was private. On the first day, I took my seat at the table assigned to our creative department, next to a nice woman who I suspect was an air horn in a former life. All day, there was constant shuffling, yelling, and laughing, along with loud music piped through a PA system. As an excessive water drinker, I feared my co-workers were tallying my frequent bathroom trips. At day’s end, I bid adieu to the 12 pairs of eyes I felt judging my 5:04 p.m. departure time.

This paragraph sums up why I don't miss working in an open office perfectly. Other than the loud music on the PA I had all these problems.

On the other hand, companies could simply join another trend — allowing employees to work from home. That model has proven to boost productivity, with employees working more hours and taking fewer breaks. On top of that, there are fewer interruptions when employees work remotely. At home, my greatest distraction is the refrigerator. ​

And this one reiterates what I think. If possible, people should be able to work from home.

http://www.washingtonpost.com/posteverything/wp/2014/12/30/google-got-it-wrong-the-open-office-trend-is-destroying-the-workplace/

TPT 2015

Happy New Year!

There now that that's out of the way I can get down to some business.

2014 was a rough year for me personally and I wasn't able to add as much new content to this site as I had wanted to (a baby, new house, and cancer don't really make it easy) but I'm going to try and do better this year (famous last words I know). I'm actually surprised I was able to get anything written this year between work and all my personal issues. That being said in 2015 I'm hoping to do the following:

  1. Produce 52 new "content" blog posts (not link posts). I'm hoping to create a couple longer term series that I'll break into weekly posts.
  2. Produce a couple screen casts to see if people watch them (this will be an experiment)
  3. Double my readership. In 2014 I had at most 20 people on the RSS feed (hi peeps) and 66,308 page views (according to Google Analytics) so hopefully this time next year I can say I have 40 people on the RSS feed and 150,000 page views.

Link Post: My $2375 Amazon EC2 Mistake

Learn from this person's mistake. I knew people were getting API keys from GitHub but didn't know they were running 24/7 to create bitcoins.

http://www.devfactor.net/2014/12/30/2375-amazon-mistake/

Link Post: Don’t Forget to Take Vacation

I'm not on vacation this week but this is a good list of stuff to do when you are.

DO spend time face-to-face with your family. If you are unsure how to do this, pretend you are texting with them via Siri, but omit the “Hey Siri, text X that…” part. Note that this only works over local-area network and does not generally work well through doors.

http://bitquabit.com/post/how-to-vacation-an-experts-guide

/bin/rm: Argument list too long?

Today, I was trying to remember the name of a file and typed ls and the command didn't return for a couple seconds. My first thought was crap what did I just break? Then I started getting results...

Read More

RSS

Join Our Mailing List!

View previous campaigns.

Top Posts

  1. Working With Soft Deletes in Laravel (By Example)
  2. Fixing CMake was unable to find a build program corresponding to "Unix Makefiles"
  3. Upgrading to Laravel 8.x
  4. Get The Count of the Number of Users in an AD Group
  5. Multiple Vagrant VMs in One Vagrantfile
  6. Fixing the "this is larger than GitHub's recommended maximum file size of 50.00 MB" error
  7. Changing the Directory Vagrant Stores the VMs In
  8. Accepting Android SDK Licenses From The OSX Command Line
  9. Fixing the 'Target class [config] does not exist' Error
  10. Using Rectangle to Manage MacOS Windows

subscribe via RSS

All content copyright This Programming Thing 2012 - 2021
Blogging about PHP, MySQL, Zend Framework, MySQL, Server Administration and Programming in general