What is the fastest way to clone a git repository over a fast network connection? – Stack Overflow
“git bundle create” — neat trick
(tags: git distribution copying git-bundle cli)
-
a regex-based, Turing-complete programming language. It’s main feature is taking some text via standard input and repeatedly applying regex operations to it (e.g. matching, splitting, and most of all replacing). Under the hood, it uses .NET’s regex engine, which means that both the .NET flavour and the ECMAScript flavour are available.
Reminscent of sed(1); see http://codegolf.stackexchange.com/a/58166 for an example Retina program(tags: retina regexps regexes regular-expressions coding hacks dot-net languages)
Time on multi-core, multi-socket servers
Nice update on the state of System.currentTimeMillis() and System.nanoTime() in javaland. Bottom line: both are non-monotonic nowadays:
The conclusion I’ve reached is that except for the special case of using nanoTime() in micro benchmarks, you may as well stick to currentTimeMillis() —knowing that it may sporadically jump forwards or backwards. Because if you switched to nanoTime(), you don’t get any monotonicity guarantees, it doesn’t relate to human time any more —and may be more likely to lead you into writing code which assumes a fast call with consistent, monotonic results.
(tags: java time monotonic sequencing nanotime timers jvm multicore distributed-computing)
Anatomy of a Modern Production Stack
Interesting post, but I think it falls into a common trap for the xoogler or ex-Amazonian — assuming that all the BigCo mod cons are required to operate, when some are luxuries than can be skipped for a few years to get some real products built
(tags: architecture ops stack docker containerization deployment containers rkt coreos prod monitoring xooglers)