Udemy periodically has a $10 sale where most of their classes are simply $10. Their sale is similar to the Steam sales. I purchased one last time this came around. This time I had bookmarked about 6 courses. And waited. Then I fell asleep forgetting to make the purchase. Once course on sale was $10. Today it is $300. Oh well. I suppose I didn’t need that anyway. Next time.
Thank you Internet!
Worth watching all the way through.
Drug Store Magic – Chapter 1: (1) Wine to Water
Fill a small pitcher full of water and dissolve a small amount of ferric ammonium sulfate in the water. Then make up a small amount of sodium salicylate solution. Get two wine glasses, and in the first wine glass do not put anything; in the second wine glass put a few drops of sodium salicylate solution. Then you pour some water from the pitcher into your first wine glass. It will remain clear, but when you pour from the pitcher into the second wine glass it will take on the color of wine.
Ingredients required:
A calm Saturday
After what feels like running a marathon for 6 months or more and surrounded by storms, I find myself looking out a window, at a clear sky and calm day, and I am at ease. I’ve been working my day job and then coming home in the evenings to deal with family business and client projects. The weekends have mostly been devoted to client projects. The work is still there. I have deliverables I owe to clients and I MUST drum up more work. The pace must not wane. However, I may take a brief pause to collect myself, mentally assess, and enjoy a single day.
That said, the lawn needs cutting, plumbing needs repair, cars need washing, the mosquito magnet needs troubleshooting, personal projects need completely, fun projects need starting, money needs to be saved, earned and spent, and so much more. Being the first Saturday of the month, I think I’ll take a trip to the solid waste facility downtown and get rid of some chemicals. Ah! And I need to buy some chemicals for my lab.
Never shop hungry
Today I shopped for a cheap, healthy lunch at Earth Fare and because I was starving ended up buying $10 of "WTF was I thinking!"
Of Grasshoppers
Student: I’m good at getting things done when I’m angry.
Master: Like a tornado is really good at making wind when it’s stormy.
Confessions of a programmer
Open office floor plans are awkward on the days you need to work naked. #coap
Of Grasshoppers
Student: I don’t understand.
Master: FO
Now this is a Monday
How shall Monday begin? Late on two client projects, late on one skills assessment, did not accomplishment a single planned personal task over the weekend, and the kitchen sink is clogged. And my calf locked up. Nothing makes a Monday like trying to get he kids ready for school while removing pipes and snaking the plumbing.
Of Grasshoppers
Student: Every time I think I’ve become a better person, I have a setback.
Master: Two steps forward, one step back is still better than no movement at all.
DARPA now has steerable smart bullets
For people not paying attention, DARPA now has smart bullets.
Hollywood inspired: https://youtu.be/heMboVN12r0
http://en.wikipedia.org/wiki/Runaway_%281984_film%29
http://www.technovelgy.com/ct/content.asp?Bnum=1037
Making a website look good on all devices
N.b. Be sure to read this.
Responsive design is actually pretty straight forward. Use standard practices and don’t overcomplicate your html. But when we start to tweak something here or there, you quickly find yourself having to make sure that the code has adjustments for various devices. What does this mean to your programmer? Basically having to make changes to all of these:
/*********** Phones and handhelds ***********/ /*********** iPhones ***********/ /* ----------- iPhone 4 and 4S ----------- */ /* Portrait and Landscape */ @media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2) { } /* Portrait */ @media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) { } /* Landscape */ @media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape) { } /* ----------- iPhone 5 and 5S ----------- */ /* Portrait and Landscape */ @media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (-webkit-min-device-pixel-ratio: 2) { } /* Portrait */ @media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) { } /* Landscape */ @media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape) { } /* ----------- iPhone 6 ----------- */ /* Portrait and Landscape */ @media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (-webkit-min-device-pixel-ratio: 2) { } /* Portrait */ @media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) { } /* Landscape */ @media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape) { } /* ----------- iPhone 6+ ----------- */ /* Portrait and Landscape */ @media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (-webkit-min-device-pixel-ratio: 3) { } /* Portrait */ @media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: portrait) { } /* Landscape */ @media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: landscape) { } /*********** Galaxy Phones ***********/ /* ----------- Galaxy S3 ----------- */ /* Portrait and Landscape */ @media screen and (device-width: 320px) and (device-height: 640px) and (-webkit-device-pixel-ratio: 2) { } /* Portrait */ @media screen and (device-width: 320px) and (device-height: 640px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait) { } /* Landscape */ @media screen and (device-width: 320px) and (device-height: 640px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape) { } /* ----------- Galaxy S4 ----------- */ /* Portrait and Landscape */ @media screen and (device-width: 320px) and (device-height: 640px) and (-webkit-device-pixel-ratio: 3) { } /* Portrait */ @media screen and (device-width: 320px) and (device-height: 640px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait) { } /* Landscape */ @media screen and (device-width: 320px) and (device-height: 640px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape) { } /* ----------- Galaxy S5 ----------- */ /* Portrait and Landscape */ @media screen and (device-width: 360px) and (device-height: 640px) and (-webkit-device-pixel-ratio: 3) { } /* Portrait */ @media screen and (device-width: 360px) and (device-height: 640px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait) { } /* Landscape */ @media screen and (device-width: 360px) and (device-height: 640px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape) { } /*********** HTC Phones ***********/ /* ----------- HTC One ----------- */ /* Portrait and Landscape */ @media screen and (device-width: 360px) and (device-height: 640px) and (-webkit-device-pixel-ratio: 3) { } /* Portrait */ @media screen and (device-width: 360px) and (device-height: 640px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait) { } /* Landscape */ @media screen and (device-width: 360px) and (device-height: 640px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape) { } /*********** Tablets ***********/ /*********** iPads ***********/ /* ----------- iPad mini ----------- */ /* Portrait and Landscape */ @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 1) { } /* Portrait */ @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 1) { } /* Landscape */ @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1) { } /* ----------- iPad 1 and 2 ----------- */ /* Portrait and Landscape */ @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 1) { } /* Portrait */ @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 1) { } /* Landscape */ @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1) { } /* ----------- iPad 3 and 4 ----------- */ /* Portrait and Landscape */ @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 2) { } /* Portrait */ @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2) { } /* Landscape */ @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2) { } /*********** Galaxy Tablets ***********/ /* ----------- Galaxy Tab 10.1 ----------- */ /* Portrait and Landscape */ @media (min-device-width: 800px) and (max-device-width: 1280px) { } /* Portrait */ @media (max-device-width: 800px) and (orientation: portrait) { } /* Landscape */ @media (max-device-width: 1280px) and (orientation: landscape) { } /*********** Nexus Tablets ***********/ /* ----------- Asus Nexus 7 ----------- */ /* Portrait and Landscape */ @media screen and (device-width: 601px) and (device-height: 906px) and (-webkit-min-device-pixel-ratio: 1.331) and (-webkit-max-device-pixel-ratio: 1.332) { } /* Portrait */ @media screen and (device-width: 601px) and (device-height: 906px) and (-webkit-min-device-pixel-ratio: 1.331) and (-webkit-max-device-pixel-ratio: 1.332) and (orientation: portrait) { } /* Landscape */ @media screen and (device-width: 601px) and (device-height: 906px) and (-webkit-min-device-pixel-ratio: 1.331) and (-webkit-max-device-pixel-ratio: 1.332) and (orientation: landscape) { } /*********** Kindle Fire ***********/ /* ----------- Kindle Fire HD 7" ----------- */ /* Portrait and Landscape */ @media only screen and (min-device-width: 800px) and (max-device-width: 1280px) and (-webkit-min-device-pixel-ratio: 1.5) { } /* Portrait */ @media only screen and (min-device-width: 800px) and (max-device-width: 1280px) and (-webkit-min-device-pixel-ratio: 1.5) and (orientation: portrait) { } /* Landscape */ @media only screen and (min-device-width: 800px) and (max-device-width: 1280px) and (-webkit-min-device-pixel-ratio: 1.5) and (orientation: landscape) { } /* ----------- Kindle Fire HD 8.9" ----------- */ /* Portrait and Landscape */ @media only screen and (min-device-width: 1200px) and (max-device-width: 1600px) and (-webkit-min-device-pixel-ratio: 1.5) { } /* Portrait */ @media only screen and (min-device-width: 1200px) and (max-device-width: 1600px) and (-webkit-min-device-pixel-ratio: 1.5) and (orientation: portrait) { } /* Landscape */ @media only screen and (min-device-width: 1200px) and (max-device-width: 1600px) and (-webkit-min-device-pixel-ratio: 1.5) and (orientation: landscape) { } /*********** Laptops ***********/ /* ----------- Non-Retina Screens ----------- */ @media screen and (min-device-width: 1200px) and (max-device-width: 1600px) and (-webkit-min-device-pixel-ratio: 1) { } /* ----------- Retina Screens ----------- */ @media screen and (min-device-width: 1200px) and (max-device-width: 1600px) and (-webkit-min-device-pixel-ratio: 2) and (min-resolution: 192dpi) { } /*********** Wearables ***********/ /*********** Apple Watch ***********/ /* ----------- Apple Watch ----------- */ @media (max-device-width: 42mm) and (min-device-width: 38mm) { } /*********** Moto 360 Watch ***********/ /* ----------- Moto 360 Watch ----------- */ @media (max-device-width: 218px) and (max-device-height: 281px) { }
Of Grasshoppers
Student: I overcomplicated it.
Master: You couldn’t have phrased that more simply.
FaarrrakkkkK!
Smashing Morning
I woke up this morning feeling very groggy. Not hung over. I didn’t drink that much. Just that ache of exhaustion punishment on the body after giving in to a decent night’s sleep.
I approach the coffee maker and there is plenty of water but I think it would be nice to fill it up so Cathy has enough for her coffee. In the process, the cup that I use to transfer water into the reservoir slips from my hand landing perfectly on a vase with the correct angle and velocity to shatter the vase into a million pieces.
Cathy’s response? "Oh, that’s just from way back when you used to bring me flowers. It’s no big…wait, I’m devastated! Only a Starbucks will make me feel better."