I have following defined in my sqlalchemy models file. 1 2 3 4 class CommonColumns(Base): __abstract__ = True _created = Column(DateTime, default=func.now()) _updated = Column(DateTime, default=func.now(), onupdate=func.now()) I then derive most of my classes from CommonColumns This automatically inserts the creation and updation timestamps for the each row. But this works for the records created via the python/sqlalchemy script using db.session.add(...) Recently I needed to quickly insert records directly from psql prompt.
If you use org-mode to keep track of your TODO lists, then this might be useful. Assuming you have tasks in an hierarchical manner, you should Put [/] and/or [%] in the header Use TODO keywords in the child node, as you normally would. When an entry is marked DONE, values are updated automatically. In case you need to update the values manually, do C-c C-c I needed this when I refiled the entries.
In the “Tim Feriss show” podcast, Episode #248 : Ten commandments of Startup Success, there is a story about “Buying eve.com domain” Turns out this domain was owned by 5 year old girl named Eve Rogers. How does one negotiate with a 5 year old ? Luckily (?) the negotiations were with her mom, and the price of the deal was : Equity in the company (exact details not shared) (Observer) seat on the board of directors for the daughter (Eve Rogers) Multiple trips to Disney Land per year $50000 A funny little story worth sharing .
I recently started using mu4e exclusively for emails. I haven't opened the browser based email client in more than a week. I almost never use “rich text” emails, so I didn't miss sending “rich” emails much. But sometimes it is nice (useful?) to make certain word(s) bold for the impact. and if one is using “rich text”, marking code/commands in fixed width font is always nice. I always used to manually change the font in such cases, when using browser based email client.
Beethoven's music has three distinct phases - early, mid and late. This is very uncommon, since most musicians have a “set” style through out their career. Fifth symphony was written during the “mid” part of his career. Beethoven was working on the fifth for four years. Beethoven had started going deaf around this time, that may be the reason parts of the symphony are “loud” Four letter motif of the Beethoven's Fifth symphony was used by BBC during the second world war because :