Updated version can be found on my website.
Given the following haskell script generate-random-samples.hs
that requires mwc-random ...
{-# LANGUAGE ScopedTypeVariables #-}
import System.Random.MWC
/* | |
********** | |
2024-06-05: | |
On recent versions of macOS (14/Sonoma+), this code no longer works. | |
However I found that this project does still work: https://github.com/damieng/setledsmac/tree/master | |
Though if anyone knows how to fix this script I'd love to learn more. |
Updated version can be found on my website.
Given the following haskell script generate-random-samples.hs
that requires mwc-random ...
{-# LANGUAGE ScopedTypeVariables #-}
import System.Random.MWC
Layer 3 Communications is a professional services organization and network systems integrator. We use Haskell to build network security applications that revolve around either analyzing network data or configuring networks.
Networking knowledge can be learned on the job, and thus is not required.
Our stack:
addEventListener('fetch', event => { | |
event.respondWith(handleRequest(event.request)) | |
}) | |
const string2buffer = string => { | |
let tempArray = new Uint8Array(string.length) | |
for(let i = string.length; i--) tempArray[i] = string.charCodeAt(i) | |
return tempArray.buffer | |
} |
;;; package --- Fix permissions for Emacs.app on macOS Catalina | |
;;; Author: Artem Loenko | |
;;; Mail-To: <[email protected]> | |
;;; Commentary: | |
;;; Code: | |
(defconst _default-emacs-app-plist-path "/Applications/Emacs.app/Contents/Info.plist") | |
(defconst _temp-buffer-name "*fixing Emacs permissions*") | |
(defconst _temp-buffer (get-buffer-create _temp-buffer-name)) | |
(with-current-buffer _temp-buffer (erase-buffer)) |
(function() {// Input 0 | |
var $jscomp = {scope:{}}; | |
$jscomp.defineProperty = "function" == typeof Object.defineProperties ? Object.defineProperty : function(a, b, c) { | |
if (c.get || c.set) { | |
throw new TypeError("ES3 does not support getters and setters."); | |
} | |
a != Array.prototype && a != Object.prototype && (a[b] = c.value); | |
}; | |
$jscomp.getGlobal = function(a) { | |
return "undefined" != typeof window && window === a ? a : "undefined" != typeof global && null != global ? global : a; |
Make application settings (e.g. default window size, checkboxes in the Traces tab etc) persistent
Switch to GTK+3 for better HiDPI support
Display duration in the status bar when dragging on the timeline
Checkbox to display/hide event markers
Drag support in the raw events
Search text in the raw events
Filter by thread ID (like "follow tcp stream" in wireshark)
Tooltip that displays the thread name or ID of the area under the cursor
Build index (with succinct/compact data structures) to save memory usage