Two Types of Knowledge There are two types of knowledge and most of us focus on the wrong one. The first type of knowledge focuses on knowing the name of something. The second focuses on knowing something. These are not the same thing. The famous Nobel winning physicist Richard Feynman understood the difference between knowing something and knowing the name of something and it’s one of the most important reasons for his success. In fact, he created a formula for learning that ensured he understood somethin
Sunday, June 26, 2016 Creating Start-up Script in Ubuntu I installed Redmine in an Ubuntu Server at Windows Azure and was successful in doing so. However, Azure did some maintenance in my server and has to restart it. So, when I accessed Redmine again, Nginx redirected me to its Error 502 page. Upon checking, I realized that there was really a restart that happened and I thought I have to create a start-up script to avoid this since it was not only me who is using the Redmine which I installed but also my
This led Damasio to formulate what might be his great contribution to the understanding of the brain (and the human body): what he calls the somatic (as in body) marker hypothesis. Essentially, he reasons, when you’re thinking about a course of action, you imagine your body to be in the potential situation, and you get, in layman’s terms, a “good” or “bad” feeling about it. It’s not that right decisions come from that sort of feeling alone, but, Damasio argues, those “somatic markers” filter away lots of alternatives; they’re a shortcut to decision-making. While Elliot’s landscape of potential realities all had “flat” values, healthy people weigh the potential outcomes that are left after “somatic markers” filter the other possibilities out.As Damasio said in a later interview, wisdom, if you choose to accept it, is what happens when you accrue lots of somatic knowledge in your life: If you’ve been through lots, then you know how you would feel in a wide variety of situations, allowing you to make better decisions (and give, as one does, better advice). Therein lies the problem of the high-reason view: without the filtering provided by emotions and their somatic markers, the data sets for any given decision — whether it’s what to get for lunch or whom to marry — would be overwhelming. The working memory can only juggle so many objects at once. To make the right call, you need to feel your way — or at least part of your way — there.
This article is a month old. I’ve read it maybe 30 times at least. I read it to be connected to a sensible development manager mind, something that can’t be said of my boss (not our CTO, I think he will mostly agree with this). haha.
If you are a developer/programmer and you are passionate about your job. You would probably love this article.
In my current position as Senior Development Director there are six Development Managers that report to me. There are just under fifty software developers in my organization. We have enviably low employee turnover and very high customer satisfaction. Over the years I’ve given my direct reports and their direct reports the same insights I’m going to share with you now. These insights are hard-won wisdom rather than something I intuitively knew or read about. That is to say, I learned the hard way. The reason
Under Genghis Khan’s direction, the Mongols were as ruthless about stealing and absorbing the best of each culture they encountered as they were about conquest itself. Though there were essentially no technological inventions, no beautiful buildings or even great Mongol art, with each battle and enemy, their culture learned and absorbed something new. Genghis Khan was not born a genius. Instead, as one biographer put it, his was “a persistent cycle of pragmatic learning, experimental adaptation, and constan
There’s a funny blog post about how to download SQL Server Express from Long Zheng. It surprisingly how complex some companies make downloading things. I’ve always thought that a giant Download Now button is the best way, but perhaps that’s just me?Downloading SQL Server Express is unnecessarily hard, and it’s made harder by the new Microsoft Download Center “download multiple files” interface that doesn’t include descriptions or primary file recommendations. It should be a list of links, and you should be able to right click and Save As.
This is such a fucking useful blog. Direct links to sqlexpress installer downloads.
In a unix shell, how to get yesterday’s date into a variable?
You can use GNU date command as shown below
Getting Date In the Past
To get yesterday and earlier day in the past use string day ago:
date –date=’1 day ago’
date –date=’10 day ago’
date –date=’10 week ago’
date –date=’10 month ago’
date –date=’10 year ago’
Getting Date In the Future
To get tomorrow and day after tomorrow (tomorrow+N) use day word to get date in the future as follows:
date –date=’1 day’
date –date=’10 day’
date –date=’10 week’
date –date=’10 month’
date –date=’10 year’
I basically google everything when making a shell script for linux. Blame projects with component that require windows stuff which has helped me forget what I used to know about shell scripting
Here is a way of using GNU date which is fortunately present in the linux installed in the oracle servers where our weblogic application servers are installed.
This was used in a CRON job that had to look at a file that is stored in a directory which is formatted with yesterday’s date <YYYYMMDD>.
another useful stackoverflow link regarding the date command.
The secret is that % have to be escaped with \