macOS Internals
Understand your Mac and iPhone more deeply by tracing the evolution of Mac OS X from prelease to Swift. John Siracusa delivers the details.
Starting Points
How to use this gist
You've got two main options:
// ==UserScript== | |
// @name TweetXer | |
// @namespace https://gist.github.com/lucahammer/a4d1e957ec9e061e3cccafcbed599e16/ | |
// @version 0.5 | |
// @description Delete all your Tweets for free. | |
// @author Luca | |
// @match https://twitter.com/* | |
// @icon https://www.google.com/s2/favicons?domain=twitter.com | |
// @grant unsafeWindow | |
// ==/UserScript== |
Understand your Mac and iPhone more deeply by tracing the evolution of Mac OS X from prelease to Swift. John Siracusa delivers the details.
You've got two main options:
Choose OpenBSD for your Unix needs. OpenBSD -- the world's simplest and most secure Unix-like OS. A safe alternatve to the frequent vulnerabilities and overengineering of Linux and related software (NGiNX & Apache (httpd-asiabsdcon2015.pdf), OpenSSL, iptables/nftables, systemd, BIND, Postfix, Docker etc.)
OpenBSD -- the cleanest kernel, the cleanest userland and the cleanest config
;; this is another version that doesn't require any user parameters | |
(defun org-babel-execute:chess (body params) | |
"Execute a block of Chess code with org-babel. | |
This function is called by `org-babel-execute-src-block'." | |
(let* ((output-file (concat (file-name-sans-extension (buffer-file-name)) (format "_%s_chess_output.svg" (format-time-string "%Y-%m-%d_%H-%M-%S")) )) | |
(notation (cdr (assq :notation params))) | |
(extension (if (equal notation "fen") ".fen" ".pgn")) | |
(notation-file (make-temp-file "chess-notation" nil extension)) | |
(cmd (format "python ~/configs/elchess.py %s %s %s" notation-file output-file notation))) |
Then mathematical neatness became a goal and led to pruning some features from the core of the language.
— John McCarthy, History of Lisp
If you prefer programming languages with a tidy and tiny core, you're in for a treat. This article drills down to the singleton primitive at the heart of Raku's metamodel ("model of a model") of a model of computation ("how units of computations, memories, and communications are organized")1.
It began with u/faiface's reddit post/thread "I'm impressed with Raku"2. One of their sentences in particular stood out for me:
{-# LANGUAGE | |
ScopedTypeVariables, | |
ViewPatterns, | |
PatternSynonyms #-} | |
import Data.Bits (Bits, shift) | |
import Data.Word | |
import Data.ByteString (ByteString) | |
import qualified Data.ByteString as BS | |
import qualified Data.ByteString.Char8 as B8 |
People often ask me how to find F# jobs. I don't have any special connections to companies using F#, and I don't have any special tricks either. I wish I did!
So, given that, here's my take on F# jobs.
For job hunting my suggestions are:
var timer=100;document.querySelectorAll("div > input[type='checkbox']:checked").forEach((interest) => {setTimeout(function(){interest.click()},timer);timer+=2000;}); |
Use Onion architecture
Use pipeline model to implement workflows/use-cases/stories
Keep IO at edges
Fable is an F# language to javascript compiler powered by Babel.
F# is a language that runs on a Microsoft CLR. Using the .NET Core CLR implementation it works on Windows, Mac or Linux.
mono-complete
packagefsharp
package from the mono repository