Skip to content

Instantly share code, notes, and snippets.

View chipset1's full-sized avatar

chipset chipset1

View GitHub Profile
@mmarshall540
mmarshall540 / my-mode-line.el
Last active November 30, 2025 23:15
A clean and minimal mode-line configuration (requires Emacs 30.1)
(setopt mode-line-format
'("%e"
mode-line-front-space
;; removed mode-line-mule-info
mode-line-client
mode-line-modified
mode-line-remote
mode-line-window-dedicated
;; removed `display' property from the above constructs
"\t" ; added

During the past days, this great article by Sam Pruden has been making the rounds around the gamedev community. While the article provides an in-depth analysis, its a bit easy to miss the point and exert the wrong conclusions from it. As such, and in many cases, users unfamiliar with Godot internals have used it points such as following:

  • Godot C# support is inefficient
  • Godot API and binding system is designed around GDScript
  • Godot is not production ready

In this brief article, I will shed a bit more light about how the Godot binding system works and some detail on the Godot

@AndrasKovacs
AndrasKovacs / ZeroCostGC.md
Last active January 13, 2026 20:27
Garbage collection with zero-cost at non-GC time

Garbage collection with zero cost at non-GC time

Every once in a while I investigate low-level backend options for PL-s, although so far I haven't actually written any such backend for my projects. Recently I've been looking at precise garbage collection in popular backends, and I've been (like on previous occasions) annoyed by limitations and compromises.

I was compelled to think about a system which accommodates precise relocating GC as much as possible. In one extreme configuration, described in this note, there

@ssrihari
ssrihari / clojure-learning-list.md
Last active March 13, 2026 08:26
An opinionated list of excellent Clojure learning materials

An opinionated list of excellent Clojure learning materials

These resources (articles, books, and videos) are useful when you're starting to learn the language, or when you're learning a specific part of the language. This an opinionated list, no doubt. I've compiled this list from writing and teaching Clojure over the last 10 years.

  • 🔴 Mandatory (for both beginners and intermediates)
  • 🟩 For beginners
  • 🟨 For intermediates

Table of contents

  1. Getting into the language
@dustingetz
dustingetz / electric-todomvc.md
Last active August 6, 2023 03:30
Photon TodoMVC, with a twist!

TodoMVC, with a twist! — Electric Clojure

  1. it's multiplayer! 0 LOC cost
  2. state is durable! (server side database) 0 LOC cost
  3. See those pending spinners? We've added a server delay to demonstrate managed load states.
20220817.todomvc.mp4

Electric is a "multi tier" Clojure/Script dialect for full-stack web application development. It uses macros to let you interweave client and server code in a single .CLJC file, so you can define a full-stack frontend/backend webapp all in one place. Electric is designed for rich dynamic applications with reactive user interfaces and complex frontend/backend data sync requirements.

@NiallMoody
NiallMoody / text2speech-in-bipsi.md
Last active January 3, 2025 13:54
Code snippet for using javascript text-to-speech in bipsi

To use javascript text to speech in bipsi, add the following code to a javascript event field called touch, before any of the await... lines:

let voice = new SpeechSynthesisUtterance();
voice.pitch = 1;
voice.rate = 1;
voice.text = "TEXT HERE";
window.speechSynthesis.speak(voice);

Replace TEXT HERE with your own text.

@totocptbgn
totocptbgn / pewds_stream_screen.pde
Created November 22, 2020 16:44
Code for a Waiting Screen made for PewDiePie
// PewDiePie Wait Screen Stream
// by Thomas Copt-Bignon (github.com/totocptbgn)
// Nov 2020 - done in Processing (https://processing.org/)
PImage img;
float zoff;
float x;
float phase;
float zoof;
@digikar99
digikar99 / lisp-resources-digikar-2020.md
Last active January 29, 2025 06:24
If programming is more than just a means of getting things done for you, then Common Lisp is for you!
@vindarel
vindarel / Common Lisp VS Racket - testimonies.md
Last active December 29, 2025 18:31
Common Lisp VS Racket. Feedback from (common) lispers.

Developer experience, libraries, performance… (2021/11)

I'll preface this with three things. 1. I prefer schemes over Common Lisps, and I prefer Racket of the Schemes. 2. There is more to it than the points I raise here. 3. I assume you have no previous experience with Lisp, and don't have a preference for Schemes over Common Lisp. With all that out of the way... I would say Common Lisp/SBCL. Let me explain

  1. SBCL Is by far the most common of the CL implementations in 2021. It will be the easiest to find help for, easiest to find videos about, and many major open source CL projects are written using SBCL
  2. Download a binary directly from the website http://www.sbcl.org/platform-table.html (even for M1 macs) to get up and running (easy to get started)
  3. Great video for setting up Emacs + Slime + Quick Lisp https://www.youtube.com/watch?v=VnWVu8VVDbI

Now as to why Common Lisp over Scheme

@beesandbombs
beesandbombs / rgbHexes.pde
Created September 8, 2020 22:56
RGB hexes
int[][] result;
float t, c;
float ease(float p) {
return 3*p*p - 2*p*p*p;
}
float ease(float p, float g) {
if (p < 0.5)
return 0.5 * pow(2*p, g);