Rog rio Brito: Changing Some Configuration from Defaults
Two of my most frequently used tools are, hands down, Emacs and bash. Having a pleasant configuration of one s toolbox is necessary for long-term productivity.
However, newer versions of the programs (any programs) don t always have good, comfortable defaults. That is the case with Emacs 23 and bash 4.
With Emacs 23, by default, the scratch buffer shows some text that, if you want to quickly enter text to be saved, has to be deleted. This can be tolerated for some invocations of the editor. But at some point, it gets on one s nerves.
Luckily, Emacs is so fully customizable that this is not a problem, unless you have to hunt down the right knobs and you are an e-lisp illiterate. That is my case.
After reading an admittedly small amount of documentation, some good lines that ought to be put into one s
.emacs file are:
(setq inhibit-startup-echo-area-message "rbrito") (setq initial-scratch-message nil); show an empty scratch buffer (setq inhibit-startup-message t); remove splash screenAnother line that may make things more comfortable (especially if you, like me, use Emacs s dired as a filemanager to navigate your folders):
(defalias 'yes-or-no-p 'y-or-n-p)But configuring Emacs is not always that hard. Seeing a change of behaviour with your shell is scarier. When bash 4 was released, one thing that got implemented is the echo of some characters from the terminal to the screen. In practice and with my usage pattern, this meant that whenever I was typing a command line, changed my mind and pressed C-c, I got a ^C printed on the screen, usually overwriting one or two characters of what I had typed. And this prevented me from automatically copying and pasting the command that I had typed. Looking for an answer to that was much harder than to see how to change a parameter on Emacs: every search that I tried on Google with the words bash and Ctrl-C or some variants of that eventually lead me to how do I trap a Ctrl-C on my shell script? . Decided to see what changed, I read the documentation of readline. It didn t help, because I was reading something from version 5. I, then, downloaded the source code and started looking for
SIGINT. Then, perusing the code (and the changelog), I saw that with bash 4 and readline 6, a new configuration option was introduced: the echo-control-characters option of readline.
Of course, after knowing this, stopping the undesired behaviour was a simple matter of inserting set echo-control-characters off in my .inputrc and think about how much time I spent with that uncomfortable behaviour in some of my preferred tools.
As an addendum to the previous paragraphs (written on February of this year, but only now published), the Debian package of Emacs 23.2, the newest version as of this writing, comes with some configuration that makes it ignore the settings that are used with fontconfig. I did not spend any time trying to see the cause of the problem, but adding a simple
Emacs*font: Monoto my
.Xdefaults file did the trick and restored back the ability to use DejaVu Sans Mono at the right size on my system.
We had a Microsoft salesperson stop at our offices today to tell people about wonders of cloud computing and Microsoft s Azure will save us all.
The following is a short and non-exhaustive list of what Azure does not do according to their own experts:
[107108.433300] chrome[12262]: segfault at bbadbeef ip 0000000000fbea18 sp 00007fffcf348100 error 6 in chrome[400000+27ad000]
When I first tried running the
The fact that it's only two weeks feels totally surreal. I think
it's the feeding approximately every 3 hours. That's approximately 100
interactions that we've had with her in only 2 weeks.
We had her two week weight check at the paediatrician's today. She's now
weighing 6 lbs 12 oz (3061 grams), so she's made back her birth weight and
then some.
We're still largely bottle feeding her with pumped breast milk. The
paediatrician said that once she's 7 pounds she should have enough strength
to breastfeed exclusively, so we'll get a lactation consultant involved if
that isn't the case in another week or so.
Other than that, everything's going swimmingly. She eats, sleeps and poops.
She sleeps amazingly well. I keep telling myself it won't last, but we're
making the most of not needing to tip-toe around the house. In the last
week, we had a new stove installed, which involved the contractor using a
hammer drill to install the anti-tip brackets. He also used a drop-saw to
modify one of the drawers. Didn't bother her. We had some shutters installed
in the kitchen, which involved a lot of cordless drilling. Also didn't
bother her. The gardeners for the complex were mowing the lawn and using a
leaf blower right outside her window. Not a peep.
Today, after the paediatrician's appointment, we dropped in to
I find it surreal to have people
I spent last week at the
So for awhile, I've been questioning on why very few FOSS programs use newsgroups (or USENET on moderated groups) as their primary means of communication between developers. I personally find email to be a clunky way dealing with mass-mailings, and while switching to alpine and mutt have helped, I feel newsgroups would work better in place of mailing lists.
Part of the problem that we face in providing Linux hardware support is that we're lucky if there's a spec, and even if there's a spec there almost certainly isn't a test suite. Linux still isn't high on the list of things that vendors test with, so as a result hardware and firmware tend to be written to work with Windows rather than some more ideal notion of what a spec actually says.
It is now possible to subscribe to Ubuntu bugmail for the packages you care about, without having to use Launchpad (and subscribe on a per-package basis there). This is implemented as a new opt-in
We appear to have a government again, which is always helpful. Let's see how they do. While all the deliberation was going on Dad and I had a ponder about exactly what your chances of voting for a winner were. The
A mini-meme that has been spreading round the IT team at my workplace is 