Skip to content

Instantly share code, notes, and snippets.

View susam's full-sized avatar

Susam susam

View GitHub Profile

Summary of Stack Overflow Developer Survey 2022 Results

Survey results: https://survey.stackoverflow.co/2022/


Top 5 languages: JavaScript, HTML/CSS, SQL, Python, TypeScript

Top 5 loved languages: Rust, Elixir, Clojure, TypeScript, Julia

(defvar previous-line-number nil)
(defun detect-line-number-change ()
(let ((current-line-number (line-number-at-pos)))
(when (and previous-line-number (/= current-line-number previous-line-number))
(message "%d => %d" previous-line-number current-line-number))
(setq previous-line-number current-line-number)))
(add-hook 'post-command-hook 'detect-line-number-change)
This file has been truncated, but you can view the full file.
;;;; Beeper: See <https://news.ycombinator.com/item?id=43642123> for details.
;;;; Script: while true; do (echo ok | nc -q 1 -vlp 8000 2>&1; echo; date -u) | tee -a beeper2.log; for i in 1 2 3 4; do printf '\a'; sleep 1; done & done
;;;; Filter: grep -aE 'UTC|connect' beeper2.log | sed 's/.*\].*\[\(.*\)\].*/\1/' | paste -sd ' \n' - | sed 's/\([^ ]*\) \(.*\)/\2 \1/'
;;;; Filter: Client IP addresses have been anonymised as C0000, C0001, C0002, etc.
;;;; Started: 2025-04-10 10:00:00 UTC
;;;; Stopped: 2025-04-10 23:59:59 UTC
;;;; Clients: 1396
;;;; Connects: 352831
;;;; Beeps: 1411324
;;;; Beeper: See <https://news.ycombinator.com/item?id=43642123> for details.
;;;; Data: https://gist.github.com/susam/3cec5db1a78a9db527327460656daeae
;;;; Filter: cut -d' ' -f8 beeper2.txt | sort | uniq -c | sort -nr | awk '{printf "%6d %s\n", $1, $2}'
;;;; Clients: 1396
;;;; Connects: 352831
327209 C0276
6771 C0595
5650 C0936
2943 C1299