Thoughts and more

I’ve been doing my studies on IoT seriously, and dug up some books about IoT I had in my house. I’m also trying to tidy up my books, which I buy quite often these days.

Location aware devices will probably be very interesting in the near future, where devices will know its position and orient itself to the world around it. A sort of exploratory gadget / robot companion like M-TD in the Young Jedi Knights series of Star Wars (http://starwars.wikia.com/wiki/M-TD) will be really cool. In order to envision the future devices, I believe you should really read Sci-Fi books. The line between reality and Fiction is getting blurred everyday.

I will be eating breakfast from now!

Advertisements

Stocks

So, I’ve been investing in AMD stocks a bit these past few months. The return was pretty good. So I’m happy with that. I’ve invested in IBM now so I will be following them a lot more from now.

It’s getting lively here in Starbucks, as it’s 8:22AM here in Kanagawa at the usual place I go. There were only me and another person earlier today around 7-8AM.

I’m also intersted in buying Mercari’s stock when it gets out. I think I will not buy right after it gets public, I will be wise this time learning from my experience with Gunosy, which dipped quite a bit after IPO.

I need to do a little more of editing my search engine layout soon.

See you soon!

-Tsubasa Kato

Java code for a Simple Benchmark App

 

I’ve written a very simple benchmark app for Android. It is targeted for Android 4.0 and up. Thought I might share it for everyone to use it as a reference for more advanced benchmarking app.

package com.ppctweakies.blazingbenchmark;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import java.lang.System;
import android.view.View.OnClickListener;
import android.view.View;
import android.widget.EditText;
import android.widget.Button;
import android.widget.Toast;

public class MainActivity extends AppCompatActivity{

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        Button button = (Button) findViewById(R.id.buttonStart);

        button.setOnClickListener( new OnClickListener() {

            @Override
            public void onClick(View v) {
                long startTime = System.nanoTime();
                Benchmark();
                long estimatedTime = System.nanoTime() - startTime;

                EditText results = (EditText) findViewById(R.id.txtResult);

                String value = results.getText().toString();

                String resultString = Long.toString(estimatedTime) + "\n" + value;

                results.setText(resultString);
            }
        });

    }



    public void Benchmark(){
        long a;
        long b;
        long c;
        long d;

        a = 0;
        b = 0;
        c = 1000000;
        d = 0;

        while ( a < c ){

            a++;
            b++;

            d = a + b;
        }

        Toast.makeText(getApplicationContext(),"Finished Benchmark!",Toast.LENGTH_SHORT).show();



    }
}

These days…

So, how’s everything going? I hope everything is going well for you.

I’ve been taking the IoT MIT xPro course online, and it has been a great experience. I’ve learned quite a lot about the fundamentals, it also covers a lot of topics aside from just the hyped IoT, but the components which make IoT work and the issues that engineers are facing right now.

So yes, that’s that. I’ve also looked into investing these days, and bought a little more XRP since it went down about 14% yesterday. Also, I think I will be doing some more research in chaos theory. I’ve read Edward Lorenz’s book in Japanese in Starbucks today, and it has been inspirational. All that sensitivity from mutiple variable stuff is interesting to say the least.

 

Thoughts

I’m writing this post as it approaches midnight. There are quite a few projects going on with me, and one is that I might finally incorporate my business. I have to figure out a good name, although I have a good candidate I might use.

I will be focusing the to be corporation on search, blockchain, big data and quantum computing. I will report back on this blog on how it will go.

Today was a terrific day, got a lot of things done. See you soon. -stingraze

Golden Week

So, the Golden Week started in Japan. So far, I’ve studied mostly today about IoT and the internet. I also studied about perceptron and Bayes hybrid. I think I might keel that in my mind for future research and implementation. I might post some project on Freelancer.com for freelancers to code up my ideas for me.

That will be interesting, since I have $60.00 of spare credits lying around in Freelancer.

It’s getting a bit humid today, I hope it doesn’t rain so much tomorrow. It’s already pretty cloudy.