<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>t+1 - Latest Comments</title><link>http://tplus1.disqus.com/</link><description></description><atom:link href="https://tplus1.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Fri, 01 Feb 2019 13:57:37 -0000</lastBuildDate><item><title>Re: Git bundle converts your whole repository into a single file kind of like webpack</title><link>http://blog.tplus1.com/blog/2018/12/11/git-bundle-converts-your-whole-repository-into-a-single-file-kind-of-like-webpack/#comment-4317994437</link><description>&lt;p&gt;Thanks for writing that!  Blogging can be lonesome these days :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt</dc:creator><pubDate>Fri, 01 Feb 2019 13:57:37 -0000</pubDate></item><item><title>Re: Git bundle converts your whole repository into a single file kind of like webpack</title><link>http://blog.tplus1.com/blog/2018/12/11/git-bundle-converts-your-whole-repository-into-a-single-file-kind-of-like-webpack/#comment-4236765277</link><description>&lt;p&gt;Nice post. Didn't even know about the bundle flag until now.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Arthur Bowers</dc:creator><pubDate>Wed, 12 Dec 2018 07:04:05 -0000</pubDate></item><item><title>Re: Meaningful primary keys beat sequences and UUIDs</title><link>http://blog.tplus1.com/blog/2018/03/18/meaningful-primary-keys-beat-sequences-and-uuids/#comment-3812958038</link><description>&lt;p&gt;Nice idea, but there are a few problems.&lt;/p&gt;&lt;p&gt;1) What happens when the same golfer plays two rounds of golf at the same club in the same day? Might not be that common of an occurrence, but if it could happen we either need to support it or prevent it.&lt;/p&gt;&lt;p&gt;2) What if we have two golfers with the same initials? We have to query the table  until we find a variation that works. To make matters worse initialst distributed evenly over the alphabet, so the most common names will take the most time to enter since they have to hunt for an available variation.&lt;/p&gt;&lt;p&gt;3) What happens when a golfer changes thier name? Maybe it was entered wrong the first time, or they changed their name. Whatever the case people and clubs change their names. Do we update all the keys? What if we have archived some data, do we need to update the keys in all the data warehouses too? This brings us back to point 2 again if we have an initial collision.&lt;/p&gt;&lt;p&gt;At some point, the amount of data required to uniquely and clearly identify a row, and not result in collisions, will exceed that required for a UUID and will approach the number of bits in the other columns.&lt;/p&gt;&lt;p&gt;We had a system we were designing that had multiple disconnected databases that would eventually sync up. There was no way to have a centralized sequece generator. We finally came up with a system involving timestamps, unique identifiers, and local sequences that was satisfactory for uniquely identifying rows. It was 2 bytes short of a UUID, so we went with a UUID.&lt;/p&gt;&lt;p&gt;Oh, and that is not the usage of an HMAC.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jim McKeeth</dc:creator><pubDate>Mon, 19 Mar 2018 00:57:59 -0000</pubDate></item><item><title>Re: Book report: Winter&amp;#8217;s Gambit by Dana McSwain</title><link>http://blog.tplus1.com/blog/2017/04/29/book-report-winters-gambit-by-dana-mcswain/#comment-3743030811</link><description>&lt;p&gt;I really like the cultural context of movies and literature that you bring to your reviews.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nick W.</dc:creator><pubDate>Sun, 04 Feb 2018 21:55:07 -0000</pubDate></item><item><title>Re: virtualenvwrapper postactivate and screen is a wonderful combination</title><link>http://blog.tplus1.com/blog/2009/08/16/virtualenvwrapper-postactivate-and-screen-is-a-wonderful-combination/#comment-3005398091</link><description>&lt;p&gt;Wonderful idea man Congrats!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Fes</dc:creator><pubDate>Wed, 16 Nov 2016 14:09:20 -0000</pubDate></item><item><title>Re: How to use vimdiff as the subversion diff tool</title><link>http://blog.tplus1.com/blog/2007/08/29/how-to-use-vimdiff-as-the-subversion-diff-tool/#comment-3004579744</link><description>&lt;p&gt;The right side of the diff is the not the editable file but some temp file . Need help !!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Suresh Iyer</dc:creator><pubDate>Wed, 16 Nov 2016 03:27:42 -0000</pubDate></item><item><title>Re: My advice to new programmers looking to start their career</title><link>http://blog.tplus1.com/blog/2016/05/28/my-advice-to-new-programmers-looking-to-start-their-career/#comment-2701971923</link><description>&lt;p&gt;Well I'm not starting my career, but you made some valid points. Thanks&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Salman Khan</dc:creator><pubDate>Sun, 29 May 2016 16:53:21 -0000</pubDate></item><item><title>Re: Sometimes I think validate + formencode is more hassle than it is worth</title><link>http://blog.tplus1.com/blog/2008/10/28/sometimes-i-think-validate-formencode-is-more-hassle-than-it-is-worth/#comment-2546868350</link><description>&lt;p&gt;Yes, validino looks nice. Thanks.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mirek Zvolsky</dc:creator><pubDate>Wed, 02 Mar 2016 01:42:29 -0000</pubDate></item><item><title>Re: Sometimes I think validate + formencode is more hassle than it is worth</title><link>http://blog.tplus1.com/blog/2008/10/28/sometimes-i-think-validate-formencode-is-more-hassle-than-it-is-worth/#comment-2546864449</link><description>&lt;p&gt;Form me FormEncode is pain. I like easy approach. Something like Web2py at data level defined easy validators: Field(xxx, requires=IS_EMPTY_OR(IS_DATE(..))).&lt;br&gt;Does some separate library for validation other then FormEncode exist? And is FormEncode the mainstream?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mirek Zvolsky</dc:creator><pubDate>Wed, 02 Mar 2016 01:37:24 -0000</pubDate></item><item><title>Re: Undo a fast-forward git merge</title><link>http://blog.tplus1.com/blog/2011/09/23/undo-a-fast-forward-git-merge/#comment-2108602550</link><description>&lt;p&gt;Thanks, this post just saved my day&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">firewolf006</dc:creator><pubDate>Tue, 30 Jun 2015 10:46:19 -0000</pubDate></item><item><title>Re: The python logging module is much better than print statements</title><link>http://blog.tplus1.com/blog/2007/09/28/the-python-logging-module-is-much-better-than-print-statements/#comment-1872405778</link><description>&lt;p&gt;Thanks a lot meow mix.... great explanation.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Teja Ram Seervi</dc:creator><pubDate>Tue, 24 Feb 2015 05:39:14 -0000</pubDate></item><item><title>Re: How to use vimdiff as the subversion diff tool</title><link>http://blog.tplus1.com/blog/2007/08/29/how-to-use-vimdiff-as-the-subversion-diff-tool/#comment-1811857225</link><description>&lt;p&gt;I ran into that problem plenty too!  I created these two aliases in my ~/.bashrc file:&lt;/p&gt;&lt;p&gt;    alias boringdiff='svn diff --diff-cmd=/usr/bin/diff'&lt;br&gt;    alias prettydiff='svn diff --diff-cmd=$HOME/bin/&lt;a href="http://diffwrap.sh" rel="nofollow noopener" target="_blank" title="diffwrap.sh"&gt;diffwrap.sh&lt;/a&gt;'&lt;/p&gt;&lt;p&gt;Then I commented out the line in the .subversion/config file.&lt;/p&gt;&lt;p&gt;I hope that helps!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Wilson</dc:creator><pubDate>Thu, 22 Jan 2015 17:07:53 -0000</pubDate></item><item><title>Re: How to use vimdiff as the subversion diff tool</title><link>http://blog.tplus1.com/blog/2007/08/29/how-to-use-vimdiff-as-the-subversion-diff-tool/#comment-1811843060</link><description>&lt;p&gt;Is there a way to make this automatically switch to the old spew-the-diff-to-the-terminal mode when piping or redirecting the output to a file? That'd be really nice for patch creation (rather than having to do `svn diff --diff-cmd=...` every time for that).&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jroelofs</dc:creator><pubDate>Thu, 22 Jan 2015 16:58:49 -0000</pubDate></item><item><title>Re: Python: log uncaught exceptions with sys.excepthook</title><link>http://blog.tplus1.com/blog/2012/08/05/python-log-uncaught-exceptions-with-sys-excepthook/#comment-1643201445</link><description>&lt;p&gt;Awesome! Thanks for sharing.. great for catching leaking exceptions without making the codebase all icky..&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">yazinsai</dc:creator><pubDate>Sun, 19 Oct 2014 06:30:31 -0000</pubDate></item><item><title>Re: python: allow only one running instance of a script</title><link>http://blog.tplus1.com/blog/2012/08/08/python-allow-only-one-running-instance-of-a-script/#comment-1526296292</link><description>&lt;p&gt;Thanks for the note!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Wilson</dc:creator><pubDate>Mon, 04 Aug 2014 08:19:13 -0000</pubDate></item><item><title>Re: python: allow only one running instance of a script</title><link>http://blog.tplus1.com/blog/2012/08/08/python-allow-only-one-running-instance-of-a-script/#comment-1514370583</link><description>&lt;p&gt;OR you can just do it in two lines of code: &lt;a href="http://stackoverflow.com/a/1265445/699864" rel="nofollow noopener" target="_blank" title="http://stackoverflow.com/a/1265445/699864"&gt;http://stackoverflow.com/a/...&lt;/a&gt; You're welcome hun.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bruno Gelb</dc:creator><pubDate>Wed, 30 Jul 2014 23:43:18 -0000</pubDate></item><item><title>Re: The python logging module is much better than print statements</title><link>http://blog.tplus1.com/blog/2007/09/28/the-python-logging-module-is-much-better-than-print-statements/#comment-1494032792</link><description>&lt;p&gt;Thank you for this article. It really helps me with switching to logging !&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Shank</dc:creator><pubDate>Sun, 20 Jul 2014 09:12:21 -0000</pubDate></item><item><title>Re: How to connect to a wireless network from the Ubuntu command line</title><link>http://blog.tplus1.com/blog/2008/06/13/how-to-connect-to-a-wireless-network-from-the-ubuntu-command-line/#comment-1488208011</link><description>&lt;p&gt;Tried this. It spat out a load of text, the last line of which was: Daemonize..&lt;br&gt;and then it just hung. I Ctrl-C'ed out and I of course was still not connected.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dan</dc:creator><pubDate>Wed, 16 Jul 2014 11:27:36 -0000</pubDate></item><item><title>Re: How to use vimdiff as the subversion diff tool</title><link>http://blog.tplus1.com/blog/2007/08/29/how-to-use-vimdiff-as-the-subversion-diff-tool/#comment-1487518897</link><description>&lt;p&gt;Thanks you man. It helped. All I want to add that inside ~/.subversion/config file character `~` is not expanded to $HOME. It is recommended to pass the full path of the script or to keep the script in $PATH.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dilawar Singh</dc:creator><pubDate>Wed, 16 Jul 2014 01:20:11 -0000</pubDate></item><item><title>Re: Python: log uncaught exceptions with sys.excepthook</title><link>http://blog.tplus1.com/blog/2012/08/05/python-log-uncaught-exceptions-with-sys-excepthook/#comment-1479335836</link><description>&lt;p&gt;What is the profit of logging.critical(''.join.traceback.format.... in hook? why not just use logging.exception(ex) oneliner there?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Василий Макаров</dc:creator><pubDate>Thu, 10 Jul 2014 15:43:08 -0000</pubDate></item><item><title>Re: RIP hen #1</title><link>http://blog.tplus1.com/blog/2014/03/10/rip-hen-1/#comment-1382894949</link><description>&lt;p&gt;Sorry dude, that does suck!  Get those Racoons!!!!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Scott McCarty</dc:creator><pubDate>Tue, 13 May 2014 10:43:50 -0000</pubDate></item><item><title>Re: RIP hen #1</title><link>http://blog.tplus1.com/blog/2014/03/10/rip-hen-1/#comment-1280163505</link><description>&lt;p&gt;Thanks Phil.  Live trap is set.  Watching some kickass youtube tutorials on how to make snares.  And this guy offers private tutoring: &lt;a href="http://snareone.com" rel="nofollow noopener" target="_blank" title="snareone.com"&gt;snareone.com&lt;/a&gt; &lt;br&gt;Maybe in a few months I'll get people to endorse me on LinkedIn for making First Blood style traps.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Wilson</dc:creator><pubDate>Tue, 11 Mar 2014 12:29:28 -0000</pubDate></item><item><title>Re: RIP hen #1</title><link>http://blog.tplus1.com/blog/2014/03/10/rip-hen-1/#comment-1279985859</link><description>&lt;p&gt;Sorry dude. That sucks. The next step is to trap that critter, bite its head off and leave it outside as a message to the others.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Phil Peron</dc:creator><pubDate>Tue, 11 Mar 2014 09:57:41 -0000</pubDate></item><item><title>Re: How to use vimdiff as the subversion diff tool</title><link>http://blog.tplus1.com/blog/2007/08/29/how-to-use-vimdiff-as-the-subversion-diff-tool/#comment-1174061827</link><description>&lt;p&gt;That's great!  Glad it helped.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Wilson</dc:creator><pubDate>Sun, 22 Dec 2013 16:49:06 -0000</pubDate></item><item><title>Re: How to use vimdiff as the subversion diff tool</title><link>http://blog.tplus1.com/blog/2007/08/29/how-to-use-vimdiff-as-the-subversion-diff-tool/#comment-1173012293</link><description>&lt;p&gt;Awesome! I was able to set it up without any hiccups, it works like a charm. Thanks!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexander Bird</dc:creator><pubDate>Sat, 21 Dec 2013 15:03:10 -0000</pubDate></item></channel></rss>