This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Aug 16 19:42:52 ~/.../muchsync$ git show --summary | |
commit 43ed0e7649ae46e43e47b3a1140d4b683df05eb9 | |
Author: David Mazieres <[email protected]> | |
Date: Sun Aug 16 16:22:52 2015 -0700 | |
also work around missing fstatat and fdopendir | |
Aug 16 19:42:57 ~/.../muchsync$ git status | |
On branch master | |
Your branch is up-to-date with 'origin/master'. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Aug 16 18:18:37 ~/Downloads/.../muchsync-2$ export sqlite3_CFLAGS=-I/usr/local/Cellar/sqlite/3.8.10.1/include | |
Aug 16 18:18:47 ~/Downloads/.../muchsync-2$ export sqlite3_LIBS="-L/usr/local/Cellar/sqlite/3.8.10.1/lib -lsqlite3" | |
Aug 16 18:18:52 ~/Downloads/.../muchsync-2$ make clean | |
test -z "muchsync" || rm -f muchsync | |
test -z "*~" || rm -f *~ | |
rm -f *.o | |
Aug 16 18:19:02 ~/Downloads/.../muchsync-2$ ./configure | |
checking for a BSD-compatible install... /usr/local/bin/ginstall -c | |
checking whether build environment is sane... yes | |
checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Jul 12 16:18:35 ~/.../notmuch$ git info | |
## Remote URLs: | |
origin git://git.notmuchmail.org/git/notmuch (fetch) | |
origin git://git.notmuchmail.org/git/notmuch (push) | |
## Remote Branches: | |
origin/0.3.x |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The following tests were run in 2014 (the November timestamps) and 2015 | |
(the March and May timestamps). | |
After initial email ingest, the following command-line demonstrate the | |
performance of re-checking the same maildir folders | |
'notmuch new' = 11-13 seconds (mean 12s) | |
'mu index' = 170-190 seconds (mean 180s) | |
Based upon these figures, notmuch offers a 180s / 12s = 15X improvement. | |
The above presumably represents the most-frequently-executed command for |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import sys, time, platform, calendar, subprocess as sp | |
from datetime import date | |
# from https://github.com/bear/parsedatetime | |
import parsedatetime as pdt | |
def print_parsedatetime_test_conversions(natural_langage_dates_list): | |
cal = pdt.Calendar() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sw_vers | |
ProductName: Mac OS X | |
ProductVersion: 10.9.5 | |
BuildVersion: 13F1077 | |
$ git checkout 56acc6b75c15f40f2766ca89751ba32648059352 | |
Note: checking out '56acc6b75c15f40f2766ca89751ba32648059352'. | |
You are in 'detached HEAD' state. You can look around, make experimental | |
changes and commit them, and you can discard any commits you make in this | |
state without impacting any branches by performing another checkout. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copied and modified from http://stackoverflow.com/a/12712362/605356 | |
from PyQt4.QtCore import * | |
from PyQt4.QtGui import * | |
from PyQt4.QtNetwork import * | |
import logging, sys | |
LOGVARSTR = "%25s = '%s'" | |
class QtSingleApplication(QApplication): |