Posts

KAKEGURUI : A TASTE FOR GAMBLING

Image
Is there anything better than food reactions? Yes. Insane gambling reactions.
If you thought Shokugeki no Soma was full of excessive reactions on 2015, well, buckle up as you watch Kakegurui this year. I have to say, the new anime releases this season are really great especially Shingeki no Bahamut: Virgin Soul * I have my eyes on Nina Drango, she’s so cute* but that’s for another topic. What made this anime unique in its own kind of way is the fact that it has its own charisma. Anyone who has seen Prison School could surely sense that the way the students treat the “house pets” were much like how the boys in Prison School were treated minus the prison cell. Kakegurui has this creative visual presentation within each episode wherein they showcase different forms of gambling and how each game has their own sets of thrills and risks.
The main character herself is very interesting and mysterious. I should say, I am very impressed as to how the anime tells its story. Not often do you see…

A Year with Her

Image
I’ll be taking my time spending my life
Falling deeper in love with you One person is enough to touch your life.
She is that person for me.

History...over a year ago.

It was a rainy evening.
I had an umbrella though.
I was wearing a blue shirt, grey pants and a Nike Shoe.
Before going for dinner to meet her, I went to store to buy school materials for my sister.
The store is not that far from our meeting place, so I decided to walk going there.
It was still raining but I managed to arrive there first.
I waited a little bit then she showed up without me noticing her.
I think I was busy browsing and checking with my phone.
I was surprised.
Well, I haven't seen her for almost a decade.
But how can I forget my first love?
That was young love but she is.
I took an order already, it was a full meal.
She just ordered cake and shake if my memory serves me well.
We talked, we exchanged words.
She has a lot to say about something.
She's still the same.
I was amazed.
Time passes, rai…

Revamped Our Rainfall Monitoring System

I had mentioned that I was digging ReactJS in my last post, so I applied what I have learned about it to revamp our rainfall monitoring system.

It's funny how we code last day, month or year is very much different compared today. It's not bad though, that means we're (I'm) improving or there's a progress. The system before uses JavaScript, JQuery, Openlayers and  a JavaScript library for date formatting.

Here's how it works:
Request data from a different (an external) domain(server)Get the latest value and append it to the pre-defined GeoJSON objectEvaluate the value to determine its rainfall intensity Finally, plot it on the map Downside, upon clicking each points, the system needs to request again the data to display it in graph.

Now, like I said, there's a progress.

Aside from using ReactJS, I also changed how it works.
Request data from a different (an external) domain(server).Get all the data (not just the last value) from all available stations and sto…

My Adventure with ReactJS and Django I

Image
I am digging ReactJS these past days. I am trying to figure out how it works this is because of my curiosity looking at the source code of a certain website with clean html structure--like having just a head, body and a division within it only. I was wondering how the HTML elements have been rendered on that page, and there I found out that it is possible by using ReactJS (I don't know if there are other library that can do it).

Just an introduction what is this ReactJS--it is developed by Facebook (made it more appealing to me). If they are using it, therefore, it must be really efficient and fast. As the description on the website states, it is "A JavaScript library for building user interfaces". Based on my understanding, it utilizes the Virtual DOM, meaning instead of directly changing or re-rendering the DOM when updates is needed,  ReactJS will determine and calculate if there are changes in the UI in Virtual DOM and if there is, it will re-render the entire UI in…

Publish PostGIS Layers in GeoServer Automatically using cURL and REST

Disclaimer: The idea came from this blog.

So, what's the difference? I'm using Windows.
 cURL should be installed already.

If you have lots of tables in your database that you wanted to publish in GeoServer, you can use this method. Just prepare a list of tables (separated by new line) you want to publish in a text file format.

Before proceeding in publishing layers, you need to setup a workspace and store in your GeoServer first. Although this can be done using cURL and REST API, but it is more convenient in that way.

After a minute.... :D :D

Create ".bat" file Use the code below but (of course) change the necessary inputs

for /f %%a in (<list of tables you want to publish>.txt) do  curl -v -u <username>:<password>  -XPOST -H "Content-type: text/xml" -d "<featureType><name>%%a</name></featureType>" http://localhost:8080/geoserver/rest/workspaces/<name of workspace>/datastores/<name of store>/fea…

Confianza x Amor

Image
Confidence.

That word does not run in my veins.
I always have doubts with my being.
As if, in every step I take, worst can happen.
I don't know.
I was not raise like this.
I've changed a lot.
As I grew older, I am becoming more doubtful with myself.

Love.

I have found love.
A love that suits for my being.
As if, it was meant for me, specifically prepared.
I don't know.
It's a mixed feeling but not a mishmash.
It has changed me.
As this love goes deeper, I am believing that the best is yet to come.


#bestyearever

Image
I am declaring that 2016 was my year!




Less sick days. Able to help my siblings with their needs. My mom is healthy. What more could I have asked for? I'm so blessed!  💫😝💥