Friday Picks 023

Read more →

Friday Picks 017

Read more →

Friday Picks 016

Today the “Friday Picks” are a day late. Sorry. Problem Solving and Clojure 1.9 Podcast transcript - Rich Hickey, creator of Clojure, talks about problem solving - worth a read, even if you’re not interested in Clojure Jest Tutorial for Beginners: Getting Started With Jest for JavaScript Testing (2019) by Valentino Gagliardi Web Development Simplified With Svelte by Mark Volkmann - excellent in-depth introduction into Svelte.js Docker series - learn Docker from the beginning, in the Cloud, microservices etc.
Read more →

nrepl Frustrations

A few months ago I worked through the book Web Development with Clojure, 2nd Edition. The book was written in 2016 and some code is outdated. That was frustrating but I could get it to work by looking up the documentation for Luminus and googling everything else. When I tried to start another project today, I got tons of errors from the nrepl. And I have no clue if it’s related to VSCode, Luminus, Clojure, leiningen or whatever tool I use.
Read more →

FreeCodeCamp: Sum All Odd Fibonacci Numbers

Here is one of the Algorithm challenges from FreeCodeCamp: Intermediate Algorithm Scripting: Sum All Odd Fibonacci Numbers: Given a positive integer num, return the sum of all odd Fibonacci numbers that are less than or equal to num. The first two numbers in the Fibonacci sequence are 1 and 1. Every additional number in the sequence is the sum of the two previous numbers. The first six numbers of the Fibonacci sequence are 1, 1, 2, 3, 5 and 8.
Read more →

Truthy and Falsy Values in JavaScript, Python and Clojure/ClojureScript

Here are all falsy values: JavaScript Python 3 Clojure/ClojureScript Falsy false False false null None nil NaN undefined 0 (zero) 0 0.0 0.0 "" (empty string) "" (empty string) [] (empty list) () (empty tuple) {} (empty dict) set() (empty set) b” (empty byte) Everything else is truthy.
Read more →