Greggman
Greggman
Just looking to trim my deps so I thought I'd ask. That one little dep pulls in 4 other deps.
Why this ``` function random(max) { return Math.round(Math.random() * 1000) % max; } ``` Instead of this ``` function random(max) { return Math.random() * max | 0; } ``` PS:...
I'm trying to use chokidar on Windows Shares and finding it's extremely slow on the initial scan. For a relatively small tree of files (183 entries of directories and files)...
so first I wanted to just test so I created a folder, I manually cloned my repo git clone ssh://test.com/path/to/repo test The Caddyfile had this ``` git { repo ssh://test.com/path/to/repo...
I don't think this matters but I just thought I'd point out that according to the OpenGL ES 2.0 spec a driver is allowed to always succeed at glCompileShader time...
Go into examples/Axis.html and at line 32 set scale to 2 then view the page. It seems like all of the labels need to have their screen position multiplied by...
In markdown code blocks can be highlighted in VSCode. Example text ```` # Markdown Some text here with *italics* and **bold** and [links](#foo). Some JavaScript ```js console.log('hello world'); ``` Some...
Let's say I have 3 panes +-----+-----+-----+ | A | B | C | +-----+-----+-----+ And lets say it's split so the outer split is A vs BC and on...
TL;DR: Can you come up with a better anti-singleton example than your Log example? I pointed your chapter on Singletons being mostly useless and after a lengthy discussion it seemed...
Just passing on info, not a criticism. It used to be Apple's UX Guidelines suggested not to use "Yes", "No", "Cancel" but instead the verbs of the action Sn for...