I just want to start off this blog by saying that I am a teenager, so I don't have all the answers, but I constantly think about things. Accept or appreciate the past Don't linger on things that have happened in the past. Those things have already happened, so being upset about them does not give you any benefit. You should try and prioritize looking to see the good in what happened. It may not be…
Some of you might not have heard of Jpeg XL, but I am sure you have heard of Jpeg. Jpeg XL is the successor to jpeg by a long shot. Jpeg XL adds support for transparency in images that many liked from png images. It also adds support for lossy compression. It even adds support for HDR and animated images. This is the all-in-one jpeg, png, gif, and webp file format. Jpeg XL can be 60% the size of a…
Many people will look at a projects line count. Many people see the line count as being small, so this is better. Line count can heavily depend on the coding style of a project. These two lines are not the same in line count: int example() { return 42; } int example() { return 42; } These two lines of code mean the same thing but take up different amounts of space. This might look like a small…
Cloudflare is a DNS provider that is famous for its DDOS protection for websites. This sounds harmless, as this company is offering DDOS protection for websites, probably at a cost. That is where you would be wrong; Cloudflare's DDOS protection is completely free. We all have heard the saying, "If you're not paying for it, you're the product" (unless it's FOSS, where everyone actively makes the…
Disclosure: The material in this blog has not been reviewed, endorsed, or approved by the Rust Foundation. For more information on the Rust Foundation Trademark Policy , click here . I just wanted to talk about the Rust® compiler . It has some amazing programs called Clippy™ a linting tool and Cargo™ a build system and package manager . The GCC compiler for Rust® can compile rust into a native…
A parser can just be a program that takes an input or a file and converts it into something usable, but if you do more with a parser, you have the ability to create amazing things. I have wanted to make some sort of parsing program for a while. I was wondering what I should code, and I thought about it: why not a TailwindCSS clone? Tailwindcss is a CSS library where everything is a class. You…
This blog was written on Zig version 0.10.1, and some information is subject to change. Zig is a programming language that tries to be even lower level than C but tries to be easier. The goals are to have no hidden control flow, no hidden memory allocations, no preprocessor, and no macros. They have no hidden control, as they don't do anything more than you tell them to do. With most C compilers,…
Iframes are where you put a website inside your website. This can be useful if you want to embed a YouTube video on your website, and thats it. Having iframes on your site is just dumb and not helpful; putting a YouTube video inside your website might look cool, but it adds so much clutter to your website. This can easily be fixed by just making a link to a YouTube video , as this does not take up…
Asking for permission is the wrong way to learn something. I used to make this mistake by asking people if I should learn X language or X framework, but I have learned that this is not actually the best way to live life. Most people get into IT, specifically programming, because they want to learn and are interested in how computers work. Fulfilling yourself and learning about computers was fun,…
Calculating PI with a computer is actually really fast and easy to code. Using the Chudnovsky algorithm is the best algorithm currently available to compute pi. The algorithm is this: We can simplify this down to: C = 426880*sqrt(10005) Changing with Q Q = 0 L_(q+1) = L_q + 545140134 L_0 = 13591409 X_(q+1) = X_q * (-2625374126440768000) X_0 = 1 K_(q+1) = K_q + 12 K_0 = -6 M_(q+1) = M_q *…