Saturday, December 14, 2013

Chrome Dev Tools - Code Collapsing / Folding in Source Editor On Its Way!

I should be able to highlight some code or act on an entire file by hitting a keyboard shortcut (I'm accustomed to Ctrl-M, Ctrl-M to collapse/expand a selected chunk) and have that code visually collapse to just the definition/signature line and a + show up on the left side of the IDE which I could click to re-expand that collapsed piece of code. Ideally, collapsing would also work anywhere there are mandatory closing symbols on a separate like (such as each/while/do/if/else/etc...)

What went wrong? The behavior just doesn't exist as of right now that I can find.

Did this work before? No

How to solve the issue? Ask the Chrome Dev Team to implement it via the bug submitted below :)

The value of this behavior is evident when you consider how often it appears elsewhere even in Chrome (any collapsable treeview demonstrates this). Elements tab does it, all the tabs in the right-pane of Elements (Styles, Computed, Event Listeners, etc..) also do it. Nearly every major IDE does it (Netbeans, VIM, Eclipse, Visual Studio, etc..)

This is extremely valuable to me when working with larger code files to the extent that I'm still using other IDEs instead of DevTools when working with larger or more complex files.

If you're not familiar with this behavior somehow, does a great job at showing the behavior, some potentially configurable options and perhaps a pattern to emulate since it's VIM and oss.

If you like the idea, go vote (not sure if it matters now, but it can't hurt) by clicking the star at the top left of the bug report below.

Friday, December 13, 2013

Another from Tony - How Babies Are [NOT] Made

Wish I'd have thought of this with both my children. Priceless!

How Babies are Made - Who Knew

Canadian photographer Patrice Laroche surely will have no trouble explaining to his kids about the birds and the bees. 

During his wife Sandra’s pregnancy, the artist created this hilarious explanatory photo series titled “How to Make a Baby”...

The creative couple planned and carried out their project throughout the whole period of 9 months, taking pictures in the exact same settings as Sandra’s belly expanded. 

The pregnancy saga of Sandra and Patrice basically denounces all the traditional cabbage and the stork stories. 

Now how could I not have shared this with you -?

Go ahead, smile, and enjoy your day!!

Courtesy of TonyD (He'll be blogging directly soon)

Monday, December 9, 2013

AirTame - Screencasting to HDMI - Wifi Bridge - Chromecast companion (not a competitor) That I'm Definitely Investing In

I just learned about a upcoming and very interesting product called AirTame (currently funding on

I think the description is a bit misleading, but if you consume media from a computer (Windows, OSX, Linux) and use HDMI, it's worth a good look. Likely has some serious Mobile device potential to follow.

I don't agree with their comparison with ChromeCast (especially due to its price and lack of built-in apps) and in fact, will travel with both dongles once I have AirTame but as much because of its value as a network appliance as anything.

It's basic purpose is to broadcast your computer screen to a small HDMI dongle which I like the idea of, but that's not even where it REALLY shines for me.

I have Google Glass, an Android phone, an Android tablet, a laptop, a Chromebook Pixel, multiple Eye-Fi cards and Google ChromeCast with me when I travel. Configuring (and reconfiguring) all these devices to deal with the captive portals that almost always exist while I travel (AirPort, conferences, hotels, etc..) is a real PITA. What's worse is that some devices like my Glass, ChromeCast and my Eye-Fi cards cannot use them due to the captive portals (well, not without some serious monkey business anyway).

AirTame is actually a small networking appliance with hardware media decoders and has TWO WiFi systems so it can act as a Wireless Bridge (be an AP and client at the same time) which means that you connect to it then tell it how to connect to other WiFi networks then it acts as a NAT Router allowing you to configure all your devices to one, well-known device then you only have to configure and manage that one device as you travel. As a result, you get Wifi that's useful to you anywhere you can get it connected to Wifi.

This means that I can now connect my laptop to a TV in the hotel room and also use ChromeCast and Glass where I previously couldn't (without a good bit of hacking anyway) AND all my other devices will "just work" as I'm accustomed to. A side benefit is that it is managing traffic and can prioritize for streaming media.

Since Airtame can be powered by through HDMI MHL OR external USB, I'm betting that I could power it up without having the HDMI plugged in and still get the WiFi Bridge behavior I want (good for the airport), powered off a portable charger even (battery or solar and not even need A/C).

All that AND it's only $89 for one or $169 for two (more options available on their indiegogo campaign). For the networking potential alone in such a small, battery-powered system (using USB and portable chargers), I'd say it's well worth the price. Add the screen casting (especially if the latency is decent in the real world) and it's a steal. If they do some decent Android integration (something like ChromeCast, Miracast, Cheapcast functionality), it's a no-brainer for many, but especially those of us to travel constantly and find ourselves stranded by captive portals.

I'm going to see about a review loaner so keep an eye out for more info.

Thursday, December 5, 2013

Why soldiers should be old men and not young ones

Credit to my buddy TonyM. He always send the funniest .... (the large font is for he and his other legally blind buddies that don't rely on screen-readers)

This is funny & obviously written by a Former Soldier... The New Direction for any war.

I am over 60 and the Armed Forces think I am too old to track down terrorists. You cannot be older than 42 to join the military. They have the whole thing ass-backwards.

Instead of sending 18-year olds off to fight, they ought to take us old guys. You should not be able to join a military unit until you are at least 35.

For starters, researchers say 18-year-olds think about sex every 10 seconds. Old guys only think about sex a couple of times a month, leaving us more than 280,000 additional seconds per day to concentrate on the enemy.

Young guys have not lived long enough to be cranky, and a cranky soldier is a dangerous soldier. 'My back hurts! I can't sleep, I'm tired and hungry.'
We are bad-tempered and impatient, and maybe letting us kill some asshole that desperately deserves it will make us feel better and shut us up for a while...

An 18-year-old doe’s not even like to get up before 10am. Old guys always get up early to pee, so what the hell.
Besides, like I said, I am tired and cannot sleep and since I am already up, I may as well be up killing some fanatical son-of-a-bitch.

If captured we could not spill the beans because we would forget where we put them. In fact, name, rank, and serial number would be a real brainteaser.

Boot camp would be easier for old guys...
We are used to being screamed and yelled at and we are used to soft food. We have also developed an appreciation for guns.
We have been using them for years as an excuse to get out of the house, away from the screaming and yelling.

They could lighten up on the obstacle course however... I have been in combat and never saw a single 20-foot wall with rope hanging over the side, nor did I ever do any pushups after completing basic training.

Actually, the running part is kind of a waste of energy, too... I have never seen anyone outrun a bullet.

An 18-year-old has the whole world ahead of him. He is still learning to shave, to start a conversation with a pretty girl. He still has not figured out that a baseball cap has a brim to shade his eyes, not the back of his head.

These are all great reasons to keep our kids at home to learn a little more about life before sending them off into harm's way.

Let us old guys track down those terrorists.
The last thing an enemy would want to see is a couple million pissed off old farts with bad attitudes and automatic weapons, who know that their best years are already behind them.

HEY! How about recruiting Women over menopause! You think MEN have attitudes.
Ohhhhhhhhhhhh my God! If nothing else, put them on border patrol. They will have it secured the first night!

You may want to send this to all of your senior big type so they can read it.

Chrome Dev Tools moves Rendering tab and its children such as "Show potential scroll bottlenecks"

Not sure if the beta channel will be effected, but for those bleeding edge web developers running Canary and following tips from rather smart people like +Paul Irish (since May or so), there is a VERY nice tool available in the Rendering options called "Show potential scroll bottlenecks". Recently I needed to turn it back off and couldn't find it or the rest of the Rendering section that was previously in the Dev Tools option dialog.

Thanks to some rather argumentative people in #chromium-support on FreeNode, I did eventually find where it moved to and explained that many of us might find it a bit too hidden considering the publicity it's seen, but apparently the powers that be have their reasons so I wanted to do my best to make sure everyone knows where it went. I'm including a screenshot below to clarify but you must open the "Console Drawer" (where you find the new emulation tab also) and you will find the Rendering tab.

P.S. If anyone know of a Chrome option/extension/start-up-switch/etc.. that might be responsible for that red tint you see, I'd love to hear about it. It's ONLY happening to Chrome, happens on all 4 of my monitors, and occasionally doesn't affect context menus but I cannot figure out the cause.

UPDATE: If you don't see the Rendering tab, go to your DevTools settings and check "Show 'Rendering' view in console drawer."

G+ Post