Tuesday, January 2, 2018

Why Be Smart

I'm sad, I recently had to remove a person I like from my Twitter feed. I don't understand when smart people spend copious amounts of time obsessing over things they don't believe and getting down on others for their beliefs. I would much rather spend my time learning and memorizing.

All this has me pondering intelligence and knowledge. Why do we strive to become smart? Is it for others to see? Is it a status thing? Sadly sometimes this seems to be the case. I can't speak for others but as for me I enjoy learning new things and would like to become a better, more in-demand developer. I don't learn to become better than others or to impress them or to 'defeat' them.

Anyway. My head hurts from trying to understand the math behind a dice rolling probability puzzle. My maths are not strong.

Saturday, December 30, 2017

Skirts In Space

This post is sort of a part two to my previous one. I reiterate: I love retro future. When I think back, I've always liked sci-fi, but it wasn't until the family went back to Disney Land a few years ago and I waited in line for Space Mountain that I realized I absolutely love sci-fi and specifically retro sci-fi.
 
While I was waiting for an hour or two, in the heart of Tomorrowland I had plenty of time to look at what Disneyland had envisioned 1984 as. I imagined myself in the utopia of the 1960's-1970's. I world where the future was full of promise and technology existed simply because it was cool.
 
I DO love modern sci-fi as well, but I don't like how it ALL is dystopian... and is so eager to cast corporations as the ultimate evil when it is death by government that has racked up BY FAR the most murders in the 20th century. I have no problem using sci-fi as escapism. It doean't always have to be horror or political commentary.

As such, I have zero beef with miniskirts in space. Why can't the future be sexy? I'm cool with putting the guys in tight space shirts, why not? Let the future be sexy and fun. It's fiction. Make it what you want it to be. Why not create a future world that we all want to be in, not just worlds we fear?
 
Call me sexist all you want. I'm totally down for miniskirts in space.

Friday, December 29, 2017

A Thing For Its Own Sake

This is probably just me, and I'm sure I've touched on it before, but it seems like there is very little that we do simply for its own sake anymore. Maybe we've killed fun with our 'enlightenment'.

Still my favorite piece of graffitti:
A society that makes every form of recreation illegal, makes its own destruction the only possible recreation.

I love retro futurism because it seems to exist for its own sake. I'm sure it actually didn't (Maybe we were trying to show the communists how advanced we were), but looking at it from the future it sure seems to. Hovering cars, because future. Space age martini parties in flawlessly perfect suburbs, because future! Robots, rockets, cities in the sky, all because the future is amazing.

Or art. Pushing your ability at realism, or diving deeper into abstraction, or fully exploring an idea or vision. Hyper realism, because art. Abstraction, because art. Visions, surrealism, other worlds in images, because art!
Technology for the future's sake. Not because it's 'green' or responsible or whatever. Just because it's cool.
 
Art for art's sake. Not to piss people off or essentially be political satire.
And what about chatting for chatting sake? Good luck being on ANY social feed without being flooded with politics and other irritating topics.
Social media for chatting sake.

I think we need to quit taking ourselves so seriously and allow ourselves to have some fun... because it's fun.

Thursday, December 28, 2017

Working Out Algorithms

Knowing common algorithms is a major advantage for developers. Algorithms are powerful tools in our belts. If there is a complex or difficult to solve problem, knowing a proven algorithm that will solve it would immensely speed up the development cycle. Do I know many algorithms? Not many. Sadly.
But in my binary watchface I needed an algorithm for determining which squares need to be lit. I could do it by 'brute force' using a ton of ifs etc. But I wanted something more elegant (Although I hadn't really bothered to make the rect objects themselves very elegant - they're all hardcoded, not created programmatically).
I was hoping I could use bitwise checks, like:
if (2 & hr2 > 0) ...
if (4 & hr2 > 0) ...
If I had been more familiar with bitwise operations I would have never entertained the idea. I didn't work. I hit the internet but didn't find much. So I had to work out my own.
I need to get my binary valued squares to equal that column's time (Or battery) value. So I decided to create a variable to hold the sum. Then I started with the largest value. If adding that goes over the column's value, do nothing. Otherwise, add it and light up that square. Then move on to the next lesser value (From 8 to 4 to 2 to 1).
That was it. So much easier than I thought it would be. Thus is the beauty of algorithms.

VIM Cheat Sheet In Person

I just got one of my own VIM cheat sheet shirts. I have to say that it turned out better than I could have expected. I applaud Zazzle! The small text is very clear and it doesn't feel like the old custom shirts (like the ink is nothing more than a sticker put on it). We'll see how it stands up to time.

Wednesday, December 27, 2017

Fit Adventure Begins

My wife bought me a Fibit Ionic for Christmas. She's well aware of my frustrations with the lack of support for the Smartwatch3, and the horrible task of developing Android apps. I really have no idea how professional Android devs do it. I was doing the simplest of tasks and in spite of months of effort, failed to get a single watch running on the Smartwatch3. I'm sure it's just me although I was working on numerous boxes, fresh Linux Mint boxes, fresh Kubuntu boxes.
Before getting the Ionic I read a bit about developing for it. Javascript, Json, Svg based. So it should be nice and easy to create the watch layouts etc.

After getting the Ionic I looked further into it. The development studio is web-based so that alleviates the local dev env setup headache that android studio was until I got to know it. I created a watchface from the template. The project was so much simpler than Android projects - which makes sense since my target is one device and one device only... so far.

There's no emulator. Another headache removed - but a problem if you don't own a watch yourself. I don't mind testing on my Ionic. Sadly it seems the only way to use your watches is to load it in the studio and run it. Then your watch is set to that watchface until you change it. Switching watchfaces in general will be a nightmare as Fitbit adds more to their firmware and eventually their store. Hopefully they add a 'my watchfaces' or way to favorite apps and watchfaces.
Anyway, my first day with the Ionic I had successfully coded a terminal style watchface. A couple days later I successfully built a binary watchface. It has a settings companion but so far I've been unable to figure out how to access it, hehe.

The Ionic is more limited than a full on smartwatch but so far I really like it... And it looks super scifi - especially with my binary watchface :)

Monday, December 25, 2017

RIP Space Watch

I'm sad. My 01TheOne X watch is dead. It was one of the most scifi looking watches I own. Such amazing design! ... Wasted.
When I found the watch online I had to have it. It looked like Space Mountain. It had so many visual elements I was looking for. In fact it would have made a killer smart watch. It was large, square, and had cool transparent blue elements. It even ticked like a Swatch.
When it arrived it looked even cooler in person! It was well built, had a tough rubber strap, solid body, it was great!
But I found that I rarely wore it. The biggest problem was readability. It doesn't have a light in it and unless you are in decent light good luck seeing the time. But when it's on your wrist you feel like the pilot of a sweet 1980's spaceship.
After maybe half a year it went blank. The battery was already dead? Considering how small the digital display was, this seemed odd. I opened it to remove the batteries until I was ready to buy more. At that point I learned that it requires not one, not even two, but THREE batteries. Ugh. I just took it in to get two of the three replaced. I didn't really need it to tick at this point.
But when the batteries were replaced it still didn't work. It turns out the circuit board points were corroded. What? After less than a year? And I took amazingly good care of the watch. I was very sad. It has now become a neat looking bracelet.
The whole ordeal has soured me on novelty watches. So now when I'm hunting for scifi looking watches I look for surf watches. And my options are very limited. Diesel no longer makes any of their killer square scifi watches. The Stark lines are all discontinued and Tokyo Flash makes me nervous - they are novelty watches.
Rip Curl makes some cool watches, but I already have their green crystal Rifles watch (Now my fav scifi watch), and the others are either not quite as cool, or they're $100s of dollars. Nixon's clear Comp watches are cool, but I have one of those also. The FitBit Ionic is very 01TheOne X looking, but it is muktiple $100s also. Everything else is round, or VERY cheap.
The hunt continues. RIP Space Watch.

I'm Nervous About This - Apparently It's Just Me

 I just created a new project. It's going to be me hand coding a recreation of the first app I did as a paired programming project with ...