DNS Caches

This article shows how to get browser and OS DNS caches. According to Cloudflare docs, the sequence of a DNS query from Chrome to the recursive resolver looks something like this: 1 2 3 4 Check browser DNS cache --miss--> Check OS DNS cache --miss--> Recursive resolver | | V V hit hit Firefox DNS Cache Firefox’s DNS cache about:networking#dns can be flushed with a button and lists entries. Chrome DNS Cache Chrome’s DNS cache chrome://net-internals/#dns can be flushed with a button.

Making a Julia Binary

Compile your Julia project with PackageCompiler for portability Julia is a JIT language; however, sometimes it might be nice to have an executable. There are two ways to interact with PackageCompiler: Using the CLI using juliac and by adding PackageCompiler as part of your script. This article will go over both. ASSERTS If you are using powershell, make sure you have Setup Your Powershell Profile Initial Setup Install Julia 1.

Julia Versions

Which version of Julia should you install? Minor Differences If at all possible, you should install Julia for latest versions of Julia. >=1.0.0 Julia jumped from v0.6 to v0.7/v1.0.0 on 8 August 2018, which created breaking changes. On the upside, there are significant mathematical optimizations. <1.0.0 There are many libraries that depend on older Julia versions. For example, Mocha (ML Framework), FemtoCleaner (Upgrades deprecated syntax), ACME (Circuit Modeling), and Playground (Julia VENVs) are all tied to v0.

Installing Julia

Install Julia locally to your $System This article covers the local installation of Julia using packages from the Download Page. Other options for using Julia include an Online REPL, a Docker image, and a Desktop Julia IDE. Installs can either be without sudo/admin USER or GLOBAL. For context, most other programming languages default to being installed with GLOBAL scope. Choose one and follow the instructins for that target. Installation Windows (Windows 7/Server 2012 only): Enable Windows Management Framework 3+

Setup A Powershell Profile

Create a $Profile without Admin Privileges Like ~/.bashrc for bash, a Powershell profile allows you to load aliases or functions when you open a new terminal. While there are technically 6 Powershell profiles, we are only concerned with $Profile, which aliases to $Profile.CurrentUserCurrentHost. Open powershell and create a profile file if it does not exist. 1 2 # New-Item = bash's touch New-Item -Path $Profile -ItemType "file" (Required only on Windows) Set your ExecutionPolicy to allow local scripts.