Skip to content

Instantly share code, notes, and snippets.

View oguzhanogreden's full-sized avatar

Ozan Öğreden oguzhanogreden

View GitHub Profile
@oguzhanogreden
oguzhanogreden / gist:dd5ecd40e4f27a167d7169ca4905640d
Created April 26, 2021 19:41
On "The Art of Doing Science and Engineering"

On "The Art of Doing Science and Engineering"

Books written for a different audience are hard to read. I don't belong to the wide audience of Hamming's "The Art of Doing Science and Engineering." I admit parts of the book cost me way too much time. So you can imagine the comfort I felt when I read that I could skip the maths:

Later sections will be understandable [...]. General results are always stated in words [...]"

I kept on reading. The book is about "style", after all. I am interested in his general results. It did, however, hurt a bit to read:

"Later sections will be understandable provided you are willing to forgo the deep insights mathematics gives into the weaknesses of our current beliefs."

@oguzhanogreden
oguzhanogreden / ArbttWrapper.swift
Last active March 10, 2020 20:32
Wrapper for running Arbtt on macOS Catalina 10.15
////
//// ArbttWrapper
///
//// Starting with macOS Catalina, `arbtt-capture` was not able to read the window titles:
//// https://github.com/nomeata/arbtt/issues/30
///
//// I'm not a Swift programmer and I didn't want to spend too many hours on this, therefore there
//// are a few obvious improvements. The most crucial ones, the ones that are likely to hurt any
//// user who uses this script as is, are:
//// - System signals (e.g. SIGINT) are not handled. You may stop the script, the arbtt process