05 Mar 23

CoffeeScript is a little language that compiles down to JavaScript. The syntax is inspired by Ruby and Python, and implements many features from those two languages. This book is designed to help you learn CoffeeScript, understand best practices and start building awesome client side applications. The book is little, only five chapters, but that’s rather apt as CoffeeScript is a little language too.

by eli 2 years ago


Mediocre programmers know they’re not great programmers (yet). Mediocre programmers see the distance between where they are and the greatness they want in their programming careers. They see the work that goes into a being great programmers and believe that if they do the work they too will become great programmers.

by eli 2 years ago saved 2 times


This document was originally written around 1997 for GNU Emacs version 19.29 and published under the title A Tutorial Introduction to GNU Emacs. It has subsequently been updated for version 28.2, and thoroughly revised and expanded. This is document version 28.2.43 and is an unfinished work-in-progress.

by eli 2 years ago

CLI and local web plain text note‑taking, bookmarking, and archiving with linking, tagging, filtering, search, Git versioning & syncing, Pandoc conversion, more, in a single portable script.

by eli 2 years ago saved 2 times

04 Mar 23

I eventually developed an extremely crude shell script that automated at least a little bit of that.

But the other thing that kept happening is that I would need to run different release versions of Zig in addition to the dev build. (Some Zig software authors wisely pick a release version for their applications. So you need to use those release versions to build that application.)

So now I’ve got two scripts:

zignew extracts a new Zig build tarball and updates my symlink.

zigswitch uses fuzzy matching (so cool!) to let me pick from a menu of installed Zig versions and updates the symlink.

by eli 2 years ago
Tags:

In this post, I’ll describe the two algorithms for creating complex procedural worlds from simple sets of colored tiles and constraints on the placements of those tiles. I will show that by carefully designing these tile sets, you can create interesting procedurally generated content, such as landscapes with cities, or dungeons with complex internal structure.

by eli 2 years ago saved 2 times
Tags:

Dithering, so my original understanding, was a technique to place pixels using only a few colors from a palette in a clever way to trick your brain into seeing many colors.

by eli 2 years ago saved 8 times

The Icelandic Saga Database is an online resource dedicated to publishing the Sagas of the Icelanders — a large body of medieval Icelandic literature. The sagas are prose histories describing events that took place amongst the Norse and Celtic inhabitants of Iceland during the period of the Icelandic Commonwealth in the 10th and 11th centuries CE.

by eli 2 years ago


03 Mar 23

Dak is a Lisp like language that transpiles to JavaScript.

by eli 2 years ago saved 2 times

Bitwise operations are a fundamental part of Computer Science. They help Software Engineers to have a deeper understanding of how computers represent and manipulate data, and they are crucial when writing performance-critical code.

by eli 2 years ago

‘Eat local’ is a common recommendation to reduce the carbon footprint of your diet. But transport tends to account for a small share of greenhouse gas emissions. How does the impact of what you eat compare to where it’s come from?

by eli 2 years ago

02 Mar 23

For unknown reason very smart programmers are using Clojure, I haven’t figured out why. The writing of this book is to figure out why. My last job was in a medical coding company where we maintained 3 Rails app, I got to code in two of them, one had 0.1 million lines of code, was headed by a guy who knew how to code and was maintained okay, other one had 0.2 million lines of code, had no test, headed by a guy who did not know how to code but could just do politics, that project prior to him was headed by people who did not know how to write maintainable software and senior developers in the project had to bear the brunt of history. It showed me how screwed Rails app can get if left unattended, so I want to search for something that’s more idiot-proof.

by eli 2 years ago

Literate works with any programming language, generates HTML as output (which can be converted to pdf), and generates readable code. The code that is generated is indented properly and is automatically commented using the titles you have written for the code blocks.

by eli 2 years ago

My son Otis wants me to help him make a video game. When he says “we should make a game”, he means “me” because despite a lot encouragement from his parents he hasn’t shown interest in coding classes. I also have a lot going on with the whole “starting a company” deal, so I was hesitant to pick up another big project… but he’s persistent and I’ve been in the mood to make a video game.

by eli 2 years ago