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...
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.
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.
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
"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
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.
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:
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.
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.
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...
subscribe via RSS