Posts

Showing posts from September, 2017

The MIT License

Image
The MIT License is a software license that gives permission for reuse, modify, or sell as the programmer sees fit. The License is written in lots of big words, and I am a programmer not a lawyer so it's hard to understand it all. In my Open Source course, I learned of the acronym "IANAL", or I am not a lawyer. For an assignment, I am to write a simple blog about what do I think the MIT license means, explain it in my own words versus how a lawyer would read this. Image obtained from https://opensource.org/licenses/MIT The license starts off stating that the software code can be used free of charge in whatever way the person obtaining it sees fit. This includes using it, modifying the code, redistributing it, or even selling copies of the software. Now that may see weird, why would I allow someone to use my code free of charge and then let them sell my software while I make no profit? Well the next paragraph explains it. The software is provided "as if&qu

Learning the ins and outs of my favourite code editors

Image
Everyone has their favorite Code editor to use. I've tried multiple editors to see which one I like the most. I love the simplicity of Notepad++ and have been using it for years, however once I started using Linux, it wasn't there! I was pretty bummed out a bit that, but I wanted to start doing some coding in Linux and wasn't going to give up that easily, and so my quest for a new code editor started. I've tried multiple different code editor: vim is interesting however the learning curve is a little too steep for me, emacs keyboard-only navigation is interesting however it also turned me off from the editor, Gedit was a little too simple for me, and finally sublime was very nice but the occasional "trial end" message pops up and annoys me. I then stumbled upon Atom. I liked the visual components and simplicity of the Code Editor, along with the ability to customize anything and everything. Atom became my predominate code editor for Linux. I knew some of t

Building Mozilla web browser from source

Image
This week I built the Firefox web browser from source. Mozilla currently has about 17,998,723 line of code, it is mostly built with C++ but also includes other languages such as HTML, C, JavaScript, Rust, and many more. I personally use Mozilla as my preferred browser, so it was interesting to download and modify the source code. Mozilla has easy to read  instructions  that I followed for downloading the source code, building it, then running. I'm using Mozilla on a Windows 10 system. Some of the prerequisites include installing Visual Studio with certain workloads, Rust, MAPI Header Files, and MozillaBuild. Once I installed everything necessary, I was ready to pull the Firefox source code using the command hg clone https://hg.mozilla.org/mozilla-central And then the wait begins. After patiently waiting for the a while, the downloading aborts. Uh oh, what happened? The message read: "Rust compiler not found". I have installed the Rust compiler and have

Rythm - making your page dance

Image
If you've ever wanted to add some life into your web pages, Rythm is a simple JavaScript library that will do just that. Rythm enables you to make each component on your page dance to your music. There is even a variety of dance moves to choose from. There is the pulse, The jump,       The twist,       The slide,      The fade        And finally the color change            Rythm is a great way of making a site more lively. Buttons, images, text, and more can be animated. The project was started earlier this year and is still getting updated today. It is written in both JavaScript and HTML More details including all demos can be found at https://okazari.github.io/Rythm.js/