Status of the Smileyhash project after relaunch

After I deleted Smileyhash I had no hobby project to show I felt. I only had some demo work not working and not available online. Therefore it was a great feeling to relaunch the AWS backend and I am looking into improving the site with server side rendering and live updates on the front page from time to time.

I see that there is some noise involved in my hashtag, especially someone is using the hashtag #smiley2 repeatedly and this affects the main site and the general smileyface but the average of all smileys is not an interesting measure of anything so it does not really matter.

I want you to know that you can create a panel of searches. Here is an example showing a panel of two searches.

I have been thinking of more use cases for the Twitter API and there are lots of potentials for developing apps with Twitter features.

Internet abuse and trolling

I will not by writing on this theme attempt to take ownership to my statements as these are thoughts I have adopted through my LinkedIn connections. I am not a founder of these thoughts but want to share some thoughts on «trolling» and how this is something very many are subject of conducting in online discussions.

I find that my language contains a lot of my emotions and this is a pattern in my behaviour that has given me a lot of challenges.

A statement I agree on in online discussions: «Do not write anything about a person you could not say to the person in real life». Being unemployed, a statement on data science and prerequisite knowledge was presented in my LinkedIn feed. A lot of theories were presented as prerequisite knowledge and none of the theories were in my curriculum as information scientist in my degree. Therefore, one could perhaps based on this person’s opinion derive that I am not a data scientist. I am not able to understand low level concepts and I have to accept that meltdown and spectre is too complex for me to fully understand.

I first wrote a comment stating something like «shame on you, if you interviewed me I would want to throw my coffee at you». I realized, through someone else posting about trolling that I had been a troll in some way, although it depends how you define «trolling» as it is a vague new term. At least I reacted to my language and emotional behaviour and the fact that I was so biased. I redefined my comment in to suggesting that every person he interviews has a different curriculum and I stated that education should be a proof that you are able to learn. I also suggested that instead of labelling this as being a prerequisite that he was more willing to find candidates who had not been presented to these theories, hire them and educate them.

I see many discussions on facebook and very many show traces of my pattern of behaving based on emotions. #metoo have been a great example. I have decided to work on being aware of the pattern of «trolling» online. When I feel like characterising a person as a «pig» or otherwise I try to bear in mind that this is not constructive at all. If you have disagreements, both online and in real life, the discussion is much better if you can be constructive and make a point without poor lingual characteristics. Otherwise, in my opinion, it is best to keep silent.

Ever since Facebook arrived I have been making huge mistakes on usage of social media. I believe most people do or have done in the past or feel the same thin line in the participation of the social media world. There is however no reason prior mistakes should prevent anyone from not improving and that also includes me. I will thrive to improve my language online and become one of those examples I find both in social media and for instance in debates on TV. The ones who really gets their thoughts put up front in a debate are the ones who work on not becoming too emotional in their language and don’t fall into the temptation of verbally attacking the other debaters and really have a well thought out reasoning for their opinion.

Using React for more than an intranet SPA application

Single Page Applications can be written in many ways with many frameworks, I have decided to concentrate on reading about React. In many cases, the standard application where an application is mounted in to a point in an almost empty html document is sufficient. I have previously written about the possibility to include a react app only in a part of a web site.

You should know that the standard SPA React app does not work well online, and server side rendering should be applied if you want to plan a web app based on React that is supposed to work online and get indexed by search engines. What you want is html to be served when the page loads – search engines read this and does not care to wait for JavaScript to populate the site.

Single Page Application written in React are popular in the IT industry and many projects I have seen is about creating an application for use internally in an organisation. It is then fine to use the boilerplate «create-react-app» and just write an API for the app. But if you are creating an online experience today you might want to look into server side rendering.

I have been struggling to find a good architecture but yesterday I found efforts online to server side render using PHP. I have seen efforts on node.js before but let’s face it – most web hotels use PHP and I feel that still using PHP perhaps with a framework is most suitable if you want your code to be reused or sold on a broad scale.

I will look into this more carefully by writing some example code if I have time. It turns out there is a PHPJsV8 extension and there are several ways of rendering React directly with PHP. With the extension installed in React-PHP-V8Js and there is also an effort from the Symfony community that seems not to need the extension called ReactRenderer.