Simply put, destructuring in Clojure is a way extract values from a datastructure and bind them to symbols, without having to explicitly traverse the datstructure. It allows for elegant and concise Clojure code.
Here's what I did to get things working.
Yep, over at: https://developer.apple.com
#!/bin/bash | |
# where to store the sparse-image | |
WORKSPACE=~/Documents/workspace.dmg.sparseimage | |
create() { | |
hdiutil create -type SPARSE -fs 'Case-sensitive Journaled HFS+' -size 60g -volname workspace ${WORKSPACE} | |
} | |
detach() { |
- Probabilistic Data Structures for Web Analytics and Data Mining : A great overview of the space of probabilistic data structures and how they are used in approximation algorithm implementation.
- Models and Issues in Data Stream Systems
- Philippe Flajolet’s contribution to streaming algorithms : A presentation by Jérémie Lumbroso that visits some of the hostorical perspectives and how it all began with Flajolet
- Approximate Frequency Counts over Data Streams by Gurmeet Singh Manku & Rajeev Motwani : One of the early papers on the subject.
- [Methods for Finding Frequent Items in Data Streams](http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.187.9800&rep=rep1&t
There are a lot of ways to serve a Go HTTP application. The best choices depend on each use case. Currently nginx looks to be the standard web server for every new project even though there are other great web servers as well. However, how much is the overhead of serving a Go application behind an nginx server? Do we need some nginx features (vhosts, load balancing, cache, etc) or can you serve directly from Go? If you need nginx, what is the fastest connection mechanism? This are the kind of questions I'm intended to answer here. The purpose of this benchmark is not to tell that Go is faster or slower than nginx. That would be stupid.
So, these are the different settings we are going to compare:
- Go HTTP standalone (as the control group)
- Nginx proxy to Go HTTP
- Nginx fastcgi to Go TCP FastCGI
- Nginx fastcgi to Go Unix Socket FastCGI
Leaving this for historical reasons, but with the latest iteration I set up proper dotfiles. Check em out
After too many years of tinkering my machine is a bit all over. With Mojave High Sierra Montery I wanted to start fresh
Make sure everything is up to date.
(for booting on MacBookAir)
- My card: Transcend 32GB SDHC Class10
- a USB stick (for Archlinux bootable USB)
- A MacBook Air, of course
diff -cr ruby-2.0.0-p247.orig/file.c ruby-2.0.0-p247/file.c | |
*** ruby-2.0.0-p247.orig/file.c 2013-04-25 00:43:05.000000000 +0900 | |
--- ruby-2.0.0-p247/file.c 2013-10-29 14:21:53.112722600 +0900 | |
*************** | |
*** 4181,4187 **** | |
#ifdef __CYGWIN__ | |
#include <winerror.h> | |
- extern unsigned long __attribute__((stdcall)) GetLastError(void); | |
#endif |
; new mouse: microsoft comfort 6000, | |
; custom side-button behavior by autohotkey, | |
; => helpful for browser webpage (FB/blog/news) | |
XButton1::Send {PgDn} | |
XButton2::Send {PgUp} | |
~LButton & XButton2::Send {Home} | |
~LButton & XButton1::Send {End} |