Thursday, September 14, 2017

The human walking notebook.

A 2-time memory world champion, Yanjaa Wintersoul. (What a cool name btw!) Born in Mongolia, and raised in Stockholm, Kenya and Tokyo. She was recently invited by Ikea to face a series of campaigns in Singapore, Malaysia and Thailand. She will need to study and memorised on every page of the Ikea catalogue book. 

Sunday, May 14, 2017

Project Home Automation - Thought process - Part 1

Last year I have been so busy with working and planning for my new home and decided that I should plan on working on home automation. The earliest video which I encounter that triggers me to work on automation was this video.



Back then it was so cool that I have a lot of inspiration and thoughts on this. Somehow, along the way, when I try to think of the thought process, I realised that home automation is are cool but are they practical?

I started out experimenting stuff by doing it manually and see why automation is needed and why some are not. I need to plan carefully to be smart home ready before my renovation completed, I will not expect any wires to run around my house to fit into the automation plan.

There are also a lot of ideas and things I wanted to do and since I am revamping my whole house I should start thinking about these few items for a start.

Fundamental of Automation
There are 3 components that make up the Automation
  • Controllers, making an intent to trigger an event
  • Sensors, to react on system states
  • Actuators, the mechanics that output the result of the finished state
Automation Action
2 basic principles to think about.
  • Reactive, when you need to switch on and off something, you need to act on a command so that it sends a signal to the device to act on it effortlessly.
  • Proactive or events, scheduled action that will be acted upon automatically and effortlessly.
Lights
The basic needs for every home automation if you cannot even control your lights, you can forget about automation. In smart lighting automation world, there are a few things that you need to plan before committing.
  • Should you control your light from the bulbs or should you control from the switch?
  • How should you run your wires? Is there different between a normal wiring and automation wiring?
  • Did you do any research that what kind of communication to use? Zigbee? Zwave? Wifi?
Fan and Airconditioning
Fans and Aircon are the 2nd most touched on for automation. In the current market, not a lot of these devices are smart. Most of these device's sensors are using infrared devices. A hard one to picked on.

Securities
This one is optional but useful to have it. I only have 2 ideas on it. Planting surveillance camera and door lock. For the camera, I have no idea which will be better for me and I am not going to drill a hold on my door just for this one. I probably will place in my living room pointing towards the main door. As for the door lock, I will check if there are any APIs which I can work on to connect back to my main controller. This will be my roadmap.

Reminder
It will be cool to have this feature but not too annoying, I will probably take note of it and ran some experiment.

Information
It should have weather reports, bus status and probably my stats. So far I think room temperature is a gimmick which I don't think I will put that in my plan.

In my next few posts, I will be explaining the reasons how did I conclude my decisions and my selections for each of the thought process which I have mentioned above.

To end this post, remember this point, Automation is to help you to improve your life quality and not making you lazier.


Thursday, February 2, 2017

Generate dynamic script using Qlikview Script

Having to use Qlikview for around 1-2yrs, I find that Qlikview script is quite easy to pick up for those developers who have the basic programming foundation. Having to work on QV in my job, I have discovered 'hacks' that you can use qv scripts to eg. generate dynamic scripts, manipulate directories, creating ETL and many more.

One of the ways I am going to show you is to be creative and do something that is out of the box.

Generate dynamic ftp script.

NoConcatenate myscript:
LOAD * Inline [
# MyCodeTitle
open sftp://mysite.com,
cd myremotedir,
]
;

LOAD 'get c:\myloaddir' AS '# MyCodeTitle' AutoGenerate 1;

LOAD * Inline [
# MyCodeTitle
bye
]
;

STORE myscript into [C:\script.txt] (txt);

What I did is to load an inline script to create 1 column cannot be more than 1) name as # MyCodeTitle which will be shown as remarks on the generated script. The column cannot be more than 1 as it will be tabulated.

The middle part is where the magic happens.
LOAD 'get c:\myloaddir' AS '# MyCodeTitle' AutoGenerate 1;
This part of the code can be dynamic and you can actually create a for loop wrapping around this code if you need to read data from somewhere.

and Finally
LOAD * Inline [
# MyCodeTitle
bye
]
;STORE myscript into [C:\script.txt] (txt);
You end your ftp script by concatenating your previous dataset and save it as your ftp script. script.txt.

Now you can open your script and it should look like exactly like an ftp script.
It's that easy! And remember to drop table after storing it!

Tuesday, November 8, 2016

The Next Gen of Augmented Reality


A very well made video envisioning the future of Augmented Reality in future how google glass or hololens will be like if the devices are perfect.

HYPER-REALITY from Keiichi Matsuda on Vimeo.

Sunday, November 6, 2016

Pixar Latest Short Film, Piper, is so adorable!

Pixar Animation Studio's latest Theatrical Shorts, Piper. Showing a young sandpiper learning how to hunt its own food without her mom's help.

Wednesday, October 26, 2016

Time to work out something with these.

Time to have some fun time with it.

Friday, October 21, 2016

Nintendo latest console coming in 2017


Nintendo has finally revealed the new console after Nintendo Wii U. Their next gen console, Nintendo Switch, was reported that it runs on Nvidia Tegra processor and perform comparable or better than Ps4 and XBox One. Its very interesting that such a slim and small profile device can bring such monster performance power? We shall wait for Nintendo to reveal more details in the later weeks.

Sunday, October 9, 2016

Final Fantasy 15 orchestra at Abbey road studio

Probably would attend the concert if it was available in my country. Such amazing piece of music composed byYoko Shimomura.

Monday, October 3, 2016

Carousell Ultimate Rival. Facebook Marketplace.

Looks like Singapore startup Carousell has finally met his ultimate rival after Trezo, Facebook Marketplace.

From the video, it seems that its more of a social platform which requires you to login your fb profile.
There are still chance people would still go for Carousell to remain anonymous.

Sources from Facebook Newsroom.


Friday, September 16, 2016

For the Lego Fans to wants more flexiblity

Just backed this project because I want more flexibility of creating stuff compatible with Lego.
Can't wait to try out soon.



Here's the link to the Kickstarter page.