Wednesday, June 28, 2017

Dream device

I've always inclined towards all-in-one devices. I used one of my first salaries to purchase HTC Touch Pro (also Fuze or Raphael), compact Pocket PC smartphone with a slide-out five row QWERTY keyboard.


HTC Touch Pro (2008)

It was an awesome device and I was quite sad seeing the Windows Mobile platform and later XDA community around it die, because the phone effectively died with it. To this day, almost a decade later, I still consider it the best one yet.

I'm struggling to upgrade my current ThinkPad T430s, because it features everything I expect from a workhorse laptop, but it's starting to be out of its breath, despite 16 GB RAM and system SSD. Upcoming ThinkPads either miss dock connector, secondary hard drive option or dedicated GPU, or weight over 2 kg (4 lbs).

I'm happy with my iPhone SE, I did some critical work from it, so I appreciate what Apple and app developers did with iOS. But what I miss is to be able to dock the phone and use it as a desktop computer.

USB OTG is working, Android supports external peripherals (even mice) and what's missing is polishing the experience for everyday use (which is the “80” in Pareto principle). I'd basically either use the device as a phone (undocked) or as a desktop (docked via cable), therefore I'm willing to do some sacrifices.

The phone would still need to be able to call, but all the functionality will be replicated on desktop mode, so the display may be used as a controller – touchpad, gamepad, numpad. Meanwhile, the dock can provide GPU accelerator or even secondary CPU and memory. It would require a very fast and wide connection with the phone though.

I wouldn't carry around all the data, only those I can use on mobile. So no desktop binaries, no long term photo or movie storage. Those will be on external drives or data arrays, connected to the dock. On the device will be only changes to be propagated to the other drives, upon connection to a dock, the device will seamlessly sync all the changes I made in previous docks or on the go. It won't be possible to use it on two places at once.

So... if you're a manufacturer – can you please make this? :-)

Sunday, June 25, 2017

Coding standards

I know the industry standard is keep lines of code up to 80 characters. Also I know my FullHD computer screen has a pivot, so I can it to "portrait" mode to see much more lines.

But I don't.

PSR

tabs vs spaces

Idiomatic CSS and JS