tobarja.com
About Me - Andrew Writes Code
http://www.tobarja.com/about.html
Andrew Thompson is a software developer who lives in North Carolina with his wife and three children. I've always thought biographies like that were cool, like someone else wrote them describing an important person. Perhaps one day I'll hire someone to write one for me. I ignore the mainstream news, but keep up with things I care about with podcasts. I am interested in opportunities with companies that are interested in DevOps, testing, and Continuous Delivery.
aleph.nu
university - aleph.nu
http://aleph.nu/university
פתרונות למטלות מהאוניברסיטה הפתוחה. ניתן למצוא כאן את המטלות שכתבתי במחשב במהלך לימודיי באוניברסיטה הפתוחה. את המטלות כתבתי ב-LaTeX (קומפלו בעזרת XeTeX). מעבדה בתכנות, 20465 מטלות 2015א. פרויקט סיום, מימוש של קומפיילר. מערכות הפעלה, 20594 מטלות 2015א. שפות תכנות, 20905 מטלות 2014ב. קומפילציה, 20364 מטלות 2014א. פרויקט סיום, מימוש קומפיילר ל-CPL ב-python. אלגוריתמיקה, 20290 מטלות 2013ג. אוטומטים ושפות פורמליות, 20440 מטלות 2013ב. מבוא לאלגוריתמים, 20407 מטלות 2012א. הסבר יחסית מפורט לשאלה 3 נמצא כאן.
aleph.nu
kth smallest element in union of sorted arrays - aleph.nu
http://aleph.nu/blog/2011/kth-smallest-element-in-union-of-sorted-arrays
Kth smallest element in union of sorted arrays. Thu 08 December 2011. Given two sorted arrays A and B of length n, find the kth smallest element in the union of the two arrays (imagine the two arrays are merged into one sorted array of length 2n). Do so in $ Theta ( lg n) $. If we pick two elements, (A[i] ). And look at the bigger of the two, let it be (A[i] ). We know that it is at least. The (i j ). Smallest element in (A cup B ). Because it is bigger than everything in (A[1.i-1] ). And (B[1.j] ).
aleph.nu
sub-second precision is not enough - aleph.nu
http://aleph.nu/blog/2011/sub-second-precision-is-not-enough
Sub-second precision is not enough. Sat 04 June 2011. Turns out relying on st mtime having sub-second precision is not reliable enough, as this small test demonstrates:. Touch a b ;. Grep Modify Modify: 2011-07-28 15:36:19.505160175 0300 Modify: 2011-07-28 15:36:19.505160175 0300. Opening one more process seems to delay enough to show a difference:. Touch a ;. Touch b ;. Grep Modify Modify: 2011-07-28 15:37:50.082659665 0300 Modify: 2011-07-28 15:37:50.085158931 0300. Diffs out of 10000 iterations.
aleph.nu
upstart script section exits prematurely - aleph.nu
http://aleph.nu/blog/2012/upstart-script-section-exits-prematurely
Upstart script section exits prematurely. Sat 13 October 2012. I wrote my first Upstart script today, and like anyone wanting to get the job done quickly I haven't read the entire cookbook. So after spending a couple of minutes trying to figure out why my two line script is only executing the first command, I returned to the cookbook and searched for. And lo and behold:. Remember that Upstart runs every script section using /bin/sh -e. This means that if any simple command fails, the shell will exit.
aleph.nu
aleph.nu - Tags
http://aleph.nu/tags.html
aleph.nu
the python road not taken - aleph.nu
http://aleph.nu/blog/2015/the-python-road-not-taken
The python road not taken. Mon 13 April 2015. Imagine you have a road that people have been driving on for years. This road is solid. Damage would be fixed quickly. Every now and then it would be upgraded by adding a lane or raising the speed limit. It was connected to many other roads. Meanwhile the old road was still there with many drivers using it every single day. Holes in the road would still be fixed, but the owners ceased to improve it, now that they had built the new road.
vioan.eu
Ionut's Blog
https://www.vioan.eu/blog
Mon 10 October 2016. Deploy your Flask Web Application on Ubuntu 16.04 with Apache, Gunicorn and systemd. I still get questions from time to time about how to deploy a python web application using Apache and not NGINX. Here is a quick tutorial to deploy your Flask application on Ubuntu 16.04 or any linux distribution (considering relevant changes) using Apache, Gunicorn and systemd. Until some weeks . Sat 16 July 2016. Smartmontools, ZFS Snapshots with zfs-periodic and OpenSMTPD on FreeBSD 10.3 NAS.