web page hot reload in plain JavaScript + Apache & PHP 4

web page hot reload in plain JavaScript + Apache & PHP
Hot re-loading, that is automatically updating the web page, when its content changes on the server, into the browser is a convenient developer aid for modern tooling like, webpack, AngularJS, ReactJS, VueJS etc.  I created   super simple  way  by just adding one JavaScript include at the bottom of your file and it works with a ...

Javascript demo of Server Sent Events SSE (EventSource) tutorial 2

Javascript demo of Server Sent Events  SSE (EventSource) tutorial
This  easy to follow tutorial will show you how to stream server data  (sometimes called SSE’s, Server Sent Events) , in real-time to your browser. Using  Javascript’s EventSource API  interface we can seamlessly update and display on a web page real-time  server-sent data  all without the complexities of setting up a web socket server. There’s ...

my Retirement calculator – can you retire now? 2

my Retirement calculator - can you retire now?
I decided to create a modern, easy to use and practical on-line retirement calculator, and I open-sourced it too!  There are ton’s of these available all over the internet, but none really quite had enough details or the specific details I wanted to make them useful.  So I approached this  retirement calculator from the FIRE ...

Top 10 incredibly useful Javascript / Jquery code snippets 1

Top 10 incredibly useful Javascript  / Jquery  code snippets
Here’s my list of 10 useful  JavaScript &  some Jquery code snippets.  The  code snippets below are pretty useful and find myself reusing them again and again in all sorts of situations.  I have created full-page examples of these snippets, go grab them over at my Javascript Github Repo  Note: For the examples the use ...

most Americans will likely retire into poverty 3

most Americans will likely retire into poverty
Came across an interesting 2¢ video on Youtube basically discussing what you need to do to have a shot at retirement.. needless to say it got me thinking..  and here’s my own 2cents conclusion..  Great video but oohhh 2¢ , way too optimistic with those projections. The short answer is that thanks to wealth inequality , probably ...

Log events via PHP to database with Windows or Linux command line

Log events via PHP to database with Windows or  Linux command line
Here’s a neat example (for Linux and Windows systems) of how to easily capture (log) and store the result of some script or program or really anything, in a central database table. Sure you could use just a log file, but spinning up an instance of MySQL (or SQLite) is trivial, and in the long ...

US taxes : why doesn’t the I.R.S Automate our tax returns?

US taxes : why doesn't the I.R.S Automate our tax returns?
It’s 2019 and the US government already has all the major  information about your annual taxes, so why are we still filing tax forms like its 1950’s? Sadly automated tax filing already exists in many countries, so  why not here in the US? simple answer corporate greed.,the tax preparation industry and lobbyists have pushed hard ...

Deepmind’s AlphaStar crushes best StarCraft 2 players

Deepmind's AlphaStar crushes best StarCraft 2 players
So today’s Deepmind’s StartCraft AI, named AlphaStar  neural network AI thoroughly trounced a couple of top StarCraft players. The first set of matches against Dario ” TLO ” Wünsch (StarCraft II player from Germany. TLO is a former Brood War and Supreme Commander player currently playing for Team Liquid.). AlphaStar beat TLO 5 games to ...

Aruba 2018 travel

Aruba 2018 travel
My annual vacation posting. This year’s trip was to the island of Aruba one of the Dutch Antilles islands (the other major ones being Bonaire and Curaçao) . I’ll keep this short as there a tons of travel blogs out there that do a much better job of providing a more complete review of an ...