Posts

Showing posts from April, 2022

What is JavaScript?

Image
The History: JavaScript is a programming language written for the Netscape Navigator Browser by Brendan Eich in 1995 ( ECMA International, 2021 ), who later went on to co-found Mozilla in 2003 ( Eich. B, 2021 ).  Initially named "Mocha" during it's development, the language became known as JavaScript sooner after due to it's resemblance to Oracle Corporation's Java language ( Severance. C, 2012 ). It was standardised by ECMA International, a non-profit standards organisation for information and communication systems, as ECMA-262 in June 1997 and given the name ECMAScript (often shortened to ES) as it also incorporated technology from JScript, a legacy dialect from Microsoft ( ECMA International, 2021 ). Today, ECMA-262 is on it's 12th edition and continues to receive annual updates thanks to it's technical committee, TC-39: a group of collaborators including developers, implementers, academics and more ( TS-39, 2021 ). How It Works: According to Fireship (...

Building a website for sending WOL requests

Image
I have been tasked with building a website that allows users to wake their PC's remotely. Research Stage: How am I going to do it? No idea. Can I send a WoL packet directly from the browser? Doesn't look doable  The WoL needs to send a UDP broadcast package to the LAN. But browsers don't expose any API for UDP packages. You need either server-side coding or browser plugins. You can write your own plugin that uses  udp api . - ykaragol (2016) I need to build a local website that can handle user requests and send them to a local server, then I need to build a program(?) that can take those web requests and send the necessary magic packet. I've come across something called Web APIs, sounds useful 🧐 Website: Something JavaScript I guess. Server Program: Ok... Initial thoughts are that I should write a server side  web-socket ? (I have no idea if that's right but let's go with it) So, I looked at a web-socket, but it's a persistent connection suitable for online...

What's this blog for?

 This is a personal blog for me to write down all that I learn. All information may be incorrect, inaccurate and/or utterly useless to the reader.