SMTPAuthenticationError : 534

One of the website suddenly stopped sending emails from the “Contact Us” form My fellow engineer tried to debug the problem, but could not. so I stepped in. The first thing I tried was to verify that the username/password was correct, by logging into the gmail account via the browser. It was. So then I considered changing to TLS from SSL, but before I did that on production setup, I decided to do all the trials locally.

Create and update timestamp in DB

I have following defined in my sqlalchemy models file. 1 2 3 4 class CommonColumns(Base): __abstract__ = True _created = Column(DateTime, _updated = Column(DateTime,, 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.

Sense of completion in org-mode

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.

Cost of buying

In the “Tim Feriss show” podcast, Episode #248 : Ten commandments of Startup Success, there is a story about “Buying 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 .

Sending Rich Text emails with mu4e

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.