According to a report by Forrester
https://hackernoon.com/2018s-software-engineering-talent-shortage-its-quality-not-just-quantity-6bdfa366b899
My online tech scrapbook where I keep my notes in case I need to look them up later
Friday, March 6, 2020
Saturday, October 12, 2019
Monday, July 22, 2019
Market Share Comparison for Frontend JS Frameworks
Tuesday, May 14, 2019
Monday, March 11, 2019
Unicode References Especially Relating to Control Characters
- https://en.wikipedia.org/wiki/Unicode_control_characters
- https://unicodebook.readthedocs.io/good_practices.html
- https://en.wikipedia.org/wiki/Plane_(Unicode)
- https://www.soscisurvey.de/tools/view-chars.php
- https://japanese.stackexchange.com/questions/6872/are-the-4-byte-utf-8-kanji-rare-enough-that-i-can-ignore-them
Tuesday, January 15, 2019
VueJS Supported Web Browsers
VueJS supports all ECMA5 compliant browsers.
Use the following link to find out which these browsers are
https://caniuse.com/#feat=es5
Source: https://vuejs.org/v2/guide/installation.html
Use the following link to find out which these browsers are
https://caniuse.com/#feat=es5
Source: https://vuejs.org/v2/guide/installation.html
Thursday, November 29, 2018
Articles About Building REST API Servers in Golang
- 7 Frameworks To Build A REST API In Go
- Building a RESTful API with Golang: Gorilla mux example
- How I structure production grade REST API’s in Golang: Chi example
- Building RESTful web API service using Golang, chi, and MySQL: Another Chi example
Monday, November 26, 2018
Vue Date Pickers
Blog article listing date pickers for Vue: https://madewithvuejs.com/blog/best-vue-js-datepickers
Wednesday, August 8, 2018
When to Hire a CTO
Excellent Article: https://www.techinasia.com/right-time-to-hire-cto
Friday, August 3, 2018
Monday, July 30, 2018
Saturday, May 12, 2018
Wednesday, February 21, 2018
SKLearn Metrics Precision, Recall, F-Score and Support
Precision:
Support: Number of occurrence in each category
Reference: http://scikit-learn.org/stable/modules/generated/sklearn.metrics.precision_recall_fscore_support.html
- If it's 1 it means all positives are correct
- It may be that many other positives for this class are wrongly labelled as negative (and categorised in other classes), but that's not measured in this metric
- The lower it is, it means more entries from other categories are being mis-classified here
- If it's 1 it means it managed to find all the positive samples
- It may be that it wrongly classified other samples for other categories here, but that's not measured in this metric
- The lower it is, it means more entries from this category are being mis-classified into other categories
Support: Number of occurrence in each category
Reference: http://scikit-learn.org/stable/modules/generated/sklearn.metrics.precision_recall_fscore_support.html
Thursday, October 12, 2017
Article About Business Rules Versus Machine Learning
We usually program logic using business rules. However, there are cases where business rules are not clear cut and need continuous iterations to get right. This can be costly and difficult. In these cases, the machine learning approach might help.
Article: https://www.linkedin.com/pulse/data-science-machine-learning-vs-rules-based-karthik-guruswamy/
Article: https://www.linkedin.com/pulse/data-science-machine-learning-vs-rules-based-karthik-guruswamy/
Monday, June 26, 2017
Tuesday, February 14, 2017
Resume SCP Transfer
No way to do in SCP. Use rsync:
Reference: https://yyab.wordpress.com/2006/12/18/resume-a-large-scp-transfer/
rsync --partial --progress --rsh=ssh ec2-user@xxx.xxx.xxx.xxx:abc.tgz abc.tgz
|
Reference: https://yyab.wordpress.com/2006/12/18/resume-a-large-scp-transfer/
Thursday, January 12, 2017
Tomcat Connections Getting Disconnected After Period of Inactivity
In some network environments, the firewall or router might terminate some connections after a period of inactivity.
However, this is not enabled by default:
To prevent this, KeepAlive must be enabled in Tomcat. This is done by editing the Connector configuration in the server.xml file and adding the "socket.soKeepAlive" attribute.
However, this alone may not be enough, because by default in some Linux distros, the default KeepAlive time is 2 hours, which means the first KeepAlive packet does not get sent until 2 hours later. For networks that disconnect idle connections within e.g. 15 minutes, this is too late. To reduce this to e.g. 5 minutes:
Note: this change will not survive reboot. To make this change permanent the /etc/sysctl.conf needs to be edited.
After restarting Tomcat, the connection will look like this:
References:
However, this is not enabled by default:
# netstat -anpo | grep :80
tcp6 0 0 192.168.1.7:80 123.123.123.123:38123 ESTABLISHED 21345/java off (0.00/0/0)
|
To prevent this, KeepAlive must be enabled in Tomcat. This is done by editing the Connector configuration in the server.xml file and adding the "socket.soKeepAlive" attribute.
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443"
socket.soKeepAlive="true"
/>
|
However, this alone may not be enough, because by default in some Linux distros, the default KeepAlive time is 2 hours, which means the first KeepAlive packet does not get sent until 2 hours later. For networks that disconnect idle connections within e.g. 15 minutes, this is too late. To reduce this to e.g. 5 minutes:
echo 300 > /proc/sys/net/ipv4/tcp_keepalive_time
|
After restarting Tomcat, the connection will look like this:
# netstat -anpo | grep :80
tcp6 0 0 192.168.1.7:80 123.123.123.123:38123 ESTABLISHED 21345/java keepalive (82.52/0/0)
|
References:
Friday, December 9, 2016
Ansible 2.2 with_items Deprecation
Prior to 2.2, this worked
However, this has been deprecated. Changelog item: "with_ 'bare variable' handling, now loop items must always be templated {{ }} or they will be considered as plain strings"
It's now required to do this:
- name: do something
# do something here
with_items: ec2.instances
|
However, this has been deprecated. Changelog item: "with_ 'bare variable' handling, now loop items must always be templated {{ }} or they will be considered as plain strings"
It's now required to do this:
- name: do something
# do something here
with_items: "{{ ec2.instances }}"
|
References:
Tuesday, November 1, 2016
MongoDB: Setup Replica Set
Simple guide: https://blog.ajduke.in/2013/05/31/setup-mongodb-replica-set-in-4-steps/
Additional steps with keyfile auth:
Additional steps with keyfile auth:
- https://docs.mongodb.com/v2.6/tutorial/deploy-replica-set-with-auth/
- https://docs.mongodb.com/v3.2/tutorial/enforce-keyfile-access-control-in-existing-replica-set/
Subscribe to:
Posts (Atom)