Skip to content

Instantly share code, notes, and snippets.

View steshaw's full-sized avatar
👨‍💻
Loves programming languages

Steven Shaw steshaw

👨‍💻
Loves programming languages
View GitHub Profile
From: Katsuhiro Ueno <katsu@riec.tohoku.ac.jp>
Date: Thu, 10 Apr 2014 23:16:47 +0900
To: sml-evolution@mailman.cs.uchicago.edu
Subject: [Sml-evolution] SML# version 2.0.0 release
Dear SML-Evolution Colleagues,
We are pleased to announce the release of SML# version 2.0.0 from:
http://www.pllab.riec.tohoku.ac.jp/smlsharp/

"What I want in a build tool is [snip] what was described over a decade ago by Peter Miller: never [have to] run a clean build, and reliably build any sub-target you like. These are properties, not features, and you don't get properties by accumulating more code."

This is the conclusion from Lex Spoon's http://blog.lexspoon.org/2012/12/recursive-maven-considered-harmful.html

steshaw@zilch: ~/Repos/lens-inference (master)
➯ cabal configure
Resolving dependencies...
cabal: Could not resolve dependencies:
trying: lens-inference-4.1.2 (user goal)
next goal: lens (dependency of lens-inference-4.1.2)
Dependency tree exhaustively searched.
set numTabs to 0 -- initial number of tabs
tell application "Safari"
set numWin to number of windows -- get number of Safari windows open
repeat with WinNo from 1 to numWin
tell window WinNo -- for each window, check how many tabs are open
set numTabs to numTabs + (number of tabs) -- sum those tabs up
end tell
end repeat

I’m an old Lisp enthusiast who has many loves: Scheme with Dylan being my favourite dialect and Racket a close second; Common Lisp as implementations are often quite fast with native compilers such as SBCL; and Shen by Dr Mark Tarver which is a very innovative Lisp including pattern matching (ala ML), opt-in lazy evaluation, static type checking, integrated Prolog language and runs on top of multiple “lisp” implementations (including CLisp, SBCL, Clojure, Scheme, Ruby, Python, JVM and JavaScript) — the only downside seems to be the complicated licence. I highly appreciate the work of early Lisp researchers, particularly the “Lambda Papers” such as Lambda the Ultimate Imperative, … Declarative, … GOTO … Opcode etc, and others on [first-class] continuations, macros, partial evaluation, staging, concurrency and distributed programming (Termite was light years ahead

#!/bin/bash
#
# Adapted from http://blog.strug.de/2012/06/my-homebrew-multi-user-setup/
#
sudo dseditgroup -q -o create brew
sudo dseditgroup -o edit -a ${USER} -t user brew
sudo chgrp -R brew /usr/local # Change the group of homebrew installation directory.
sudo chmod -R g+w /usr/local # Allow group members to write inside this directory.
@steshaw
steshaw / winning-workflow.bas
Last active August 29, 2015 14:02
Continuous Wins development workflow
10 REM Winning at work
20 LET it = Dequeue(work)
30 DO it
40 GOSUB Celebrate
50 GOTO 20
$ brew cask install intellij-idea
$ plist='/opt/homebrew-cask/Caskroom/intellij-idea/13.1.3/IntelliJ IDEA 13.app/Contents/Info.plist'
$ /usr/libexec/PlistBuddy -c 'Print :JVMOptions:JVMVersion' "${plist}"
1.6*
$ /usr/libexec/PlistBuddy -c 'Set :JVMOptions:JVMVersion 1.8*' "${plist}"
$ /usr/libexec/PlistBuddy -c 'Print :JVMOptions:JVMVersion' "${plist}"
1.8*
@steshaw
steshaw / modern.ie.virtualbox.in
Created December 2, 2014 07:53
wget -ci modern.ie.mac.virtualbox.in
https://az412801.vo.msecnd.net/vhd/VMBuild_20131127/VirtualBox/IE8_Win7/Mac/IE8.Win7.For.MacVirtualBox.part1.sfx
https://az412801.vo.msecnd.net/vhd/VMBuild_20131127/VirtualBox/IE8_Win7/Mac/IE8.Win7.For.MacVirtualBox.part2.rar
https://az412801.vo.msecnd.net/vhd/VMBuild_20131127/VirtualBox/IE8_Win7/Mac/IE8.Win7.For.MacVirtualBox.part3.rar
https://az412801.vo.msecnd.net/vhd/VMBuild_20131127/VirtualBox/IE8_Win7/Mac/IE8.Win7.For.MacVirtualBox.part4.rar
https://az412801.vo.msecnd.net/vhd/VMBuild_20131127/VirtualBox/IE9_Win7/Mac/IE9.Win7.For.MacVirtualBox.part1.sfx
https://az412801.vo.msecnd.net/vhd/VMBuild_20131127/VirtualBox/IE9_Win7/Mac/IE9.Win7.For.MacVirtualBox.part2.rar
https://az412801.vo.msecnd.net/vhd/VMBuild_20131127/VirtualBox/IE9_Win7/Mac/IE9.Win7.For.MacVirtualBox.part3.rar
https://az412801.vo.msecnd.net/vhd/VMBuild_20131127/VirtualBox/IE9_Win7/Mac/IE9.Win7.For.MacVirtualBox.part4.rar

Keybase proof

I hereby claim:

  • I am steshaw on github.
  • I am steshaw (https://keybase.io/steshaw) on keybase.
  • I have a public key whose fingerprint is 3BB0 1AC7 F2EC 4D25 0FAC 6805 1E78 5C68 5059 8514

To claim this, I am signing this object: