About LinuxChix Live

LinuxChix Live is a collection of weblog entries by members of LinuxChix.

LinuxChix Live is automatically generated from the RSS/Atom feeds of contributor's weblogs and includes personal, political and technical writing as they choose. All entries remain the copyright of the individual contributors.

If you would like your entries included, please contact us and tell us the URL of your RSS or Atom feed. Please use the Feed Validator to check your feed before sending it in.

Global key bindings in Emacs

Akkana Peck - Sun, 2014-09-14 22:46

Global key bindings in emacs. What's hard about that, right? Just something simple like (global-set-key "\C-m" 'newline-and-indent) and you're all set.

Well, no. global-set-key gives you a nice key binding that works ... until the next time you load a mode that wants to redefine that key binding out from under you.

For many years I've had a huge collection of mode hooks that run when specific modes load. For instance, python-mode defines \C-c\C-r, my binding that normally runs revert-buffer, to do something called run-python. I never need to run python inside emacs -- I do that in a shell window. But I fairly frequently want to revert a python file back to the last version I saved. So I had a hook that ran whenever python-mode loaded to override that key binding and set it back to what I'd already set it to: (defun reset-revert-buffer () (define-key python-mode-map "\C-c\C-r" 'revert-buffer) ) (setq python-mode-hook 'reset-revert-buffer)

That worked fine -- but you have to do it for every mode that overrides key bindings and every binding that gets overridden. It's a constant chase, where you keep needing to stop editing whatever you wanted to edit and go add yet another mode-hook to .emacs after chasing down which mode is causing the problem. There must be a better solution.

A web search quickly led me to the StackOverflow discussion Globally override key bindings. I tried the techniques there; but they didn't work.

It took a lot of help from the kind folks on #emacs, but after an hour or so they finally found the key: emulation-mode-map-alists. It's only barely documented -- the key there is "The “active” keymaps in each alist are used before minor-mode-map-alist and minor-mode-overriding-map-alist" -- and there seem to be no examples anywhere on the web for how to use it. It's a list of alists mapping names to keymaps. Oh, clears it right up! Right?

Okay, here's what it means. First you define a new keymap and add your bindings to it: (defvar global-keys-minor-mode-map (make-sparse-keymap) "global-keys-minor-mode keymap.") (define-key global-keys-minor-mode-map "\C-c\C-r" 'revert-buffer) (define-key global-keys-minor-mode-map (kbd "C-;") 'insert-date)

Now define a minor mode that will use that keymap. You'll use that minor mode for basically everything. (define-minor-mode global-keys-minor-mode "A minor mode so that global key settings override annoying major modes." t "global-keys" 'global-keys-minor-mode-map) (global-keys-minor-mode 1)

Now build an alist consisting of a list containing a single dotted pair: the name of the minor mode and the keymap. ;; A keymap that's supposed to be consulted before the first ;; minor-mode-map-alist. (defconst global-minor-mode-alist (list (cons 'global-keys-minor-mode global-keys-minor-mode-map)))

Finally, set emulation-mode-map-alists to a list containing only the global-minor-mode-alist. (setf emulation-mode-map-alists '(global-minor-mode-alist))

There's one final step. Even though you want these bindings to be global and work everywhere, there is one place where you might not want them: the minibuffer. To be honest, I'm not sure if this part is necessary, but it sounds like a good idea so I've kept it. (defun my-minibuffer-setup-hook () (global-keys-minor-mode 0)) (add-hook 'minibuffer-setup-hook 'my-minibuffer-setup-hook)

Whew! It's a lot of work, but it'll let me clean up my .emacs file and save me from endlessly adding new mode-hooks.

Categories: LinuxChix bloggers

Simcoe’s August 2014 Checkup

Elizabeth Krumbach - Mon, 2014-09-08 00:57

This upcoming December will mark Simcoe living with the CRF diagnosis for 3 years. We’re happy to say that she continues to do well, with this latest batch of blood work showing more good news about her stable levels.

Unfortunately we brought her in a few weeks early this time following a bloody sneeze. As I’ve written earlier this year, they’ve both been a bit sneezy this year with an as yet undiagnosed issue that has been eluding all tests. Every month or so they switch off who is sneezing, but this was the first time there was any blood.

Simcoe at vet
“I still don’t like vet visits.”

Following the exam, the vet said she wasn’t worried. The bleeding was a one time thing and could have just been caused by rawness brought on by the sneezing and sniffles. Since the appointment on August 26th we haven’t seen any more problems (and the cold seems to have migrated back to Caligula).

As for her levels, it was great to see her weight come up a bit, from 9.62 to 9.94lbs.

Her BUN and CRE levels have both shifted slightly, from 51 to 59 on BUN and 3.9 to 3.8 on CRE.

BUN: 59 (normal range: 14-36)
CRE: 3.8 (normal range: .6-2.4)

Categories: LinuxChix bloggers

Bash Arrays

Renata - Wed, 2014-08-27 17:47

Arrays are helpful, and I’ll give some examples for reference. They can be a little bit confusing, but once you get used to them, it’s easy!

First you initialize the arrays

cat[1]="Bub"
cat[2]="Grumpy"
cat[3]="Luna"

feat[1]="cute"
feat[2]="terrible"
feat[3]="fashion"

Then you use them as you wish. You can, at first, just list them individually

echo "${cat[3]} is ${feat[1]}"

or list all of the items in a specific array
echo “Cats I like: ${cat[@]}”

Something like that would also work:

for i in {1..3}
do
echo "${cat[i]} is ${feat[i]}!"
done

That opens many possibilities. Life is not only about internet cats (although it sometimes seems so).

Make good use of your arrays, they’re great!

(I takes me 8 months to update the site and I write a silly post about bash arrays, I know. Sorry, I was thinking about them.)

Categories: LinuxChix bloggers

Ditch Agile, Go With Common Sense

L J Laubenheimer (Iconoclast Blast) - Tue, 2014-07-15 17:40
I am so sick of Agile I could puke. Agile "methods" and "processes" are often used as a bludgeon to enforce the great speedup, doing more, faster, with fewer resources. I see estimations forced into the PM or manager's demanded hard deadline, hours getting longer because of wasted time in meetings, and "rapid" deployment of garbage code that needs to be rolled back because no integration testing was done (eliminating QA does that to you.)
Categories: LinuxChix bloggers

How To ***REALLY*** Advocate for the Customer

L J Laubenheimer (Iconoclast Blast) - Tue, 2014-07-15 17:32
I occasionally see job ads for "customer advocates" or "customer evangelists". They all turn out to be sales and marketing, that is, advocating or evangelizing stuff to the would-be user. That is so ass-backwards that it makes me foam at the mouth.
Categories: LinuxChix bloggers

Haecksen organisers mailing list

Oceania Women of Open Tech - Mon, 2014-05-26 03:54

With OWOOT closing, the OWOOT list will no longer be available to volunteers organising the Haecksen miniconference at linux.conf.au.

If you're interested in helping out with Haecksen in future years, please join the new Haecksen organisers mailing list hosted by Linux Australia.

Categories: News about LinuxChix

OWOOT to close

Oceania Women of Open Tech - Mon, 2014-05-26 00:29

Unfortunately, the OWOOT list members have agreed that there is not enough interest amongst our members to continue OWOOT as an organisation. Over the next few days, this website will close.

The Haecksen miniconf will continue to run at linux.conf.au for as long as there is interest, we've requested a separate organisers be established for this.

Those interested in receiving news of open source technical events in Australia should join the Linux Australia announcement list. Those interested in in-person meetups of technical women can consider Girl Geek Sydney, Girl Geek Dinners Melbourne, Girl Geek Dinners Brisbane, Wellington Girl Geek Dinners, or Auckland Girl Geek Dinners; or look for a Girl Geek Coffees group.

OWOOT grew out of LinuxChix Sydney and Melbourne chapters founded by Julie Gibson and Alex Bayley respectively. After the founding of the LinuxChix (now Haecksen) miniconf at linux.conf.au 2007, AussieChix and New Zealand LinuxChix were founded, and both merged into OWOOT in 2011. Thank you to the many key volunteers for these groups over the years.

Categories: News about LinuxChix

SCaLE 12x Pics From Around the Web!!!!!!!!!!!!!!!

Los Angeles Chapter - Fri, 2014-03-14 23:14
The Tres Chix rocked it @ SCaLE 12x!!!!

The Tres Chix rocked it @ SCaLE 12x!!!!
Picture From the SCALE 12x Official Pics Site
https://www.flickr.com/search/?q=scale12x&s=rec

We won!!!! by Phillip Banks!

We won “Biggest SCaLE Spirit” and “Best Crowd Pleaser” Awards @ SCaLE 12x!  We won!  We won!!  We won!!!
Picture by Phillip Banks

And we got our own hashtag on Instagram thanks to TrueAbility!

Thomas Stocking ‏@ThomasStocking Feb 22 Expo has plenty of life for open source software geeks like me at #scale12x pic.twitter.com/3pXObnsF6p

Thomas Stocking ‏@ThomasStocking Feb 22
Expo has plenty of life for open source software geeks like me at #scale12x pic.twitter.com/3pXObnsF6p

 

A penguin on the loose at #scale12x pic.twitter.com/1Djo0ckPy3

A penguin on the loose at #scale12x pic.twitter.com/1Djo0ckPy3

 

randalschwartz 3 weeks ago · SCaLE 12x Audience for my talk at #scale12x

Audience for my talk at #scale12x
randal-schwartz

Categories: LinuxChix bloggers

#New project problems

Brianna Laugher - Sat, 2014-02-22 23:21

I-know-how-to-program wankery (get to the content already)

Categories: LinuxChix bloggers

New project: Crowdfunded Free Software (CFFSW)

Brianna Laugher - Wed, 2014-02-19 12:27

The launch of a new blog, which aims to chronicle crowdfunding campaigns for free software and related endeavours.

Categories: LinuxChix bloggers

Some Newsblur fangirling

Brianna Laugher - Tue, 2014-02-11 06:19

Notes on customising your Newsblur shared items page, intelligence training and the Android app.

Categories: LinuxChix bloggers

What will we count?

What Will We Use? (Maco and Bethlynn) - Wed, 2012-03-21 18:39

Hello Readers…

This blog has been about Microsoft and its market share.

Specifically, on June 2009 I bet my friend Nick that Microsoft would lack a majority market share come June 2011. We discussed the three products that HAD the majority market share as of the summer of 2009:

  1. Microsoft Internet Explorer for browsers
  2. Microsoft Office for office suites
  3. Microsoft Windows for operating systems

Due to personal reasons, we did not conclude this project properly.

It was too time intensive to research the true market share of Microsoft products. It is without question that Microsoft no longer holds the majority market share on browsers, now with about 30% of the market share. The office suite question is still under debate due to Google Apps. Also under consideration is if tablets replace the desktop.

In summary, the question all along should have been “What will we count?” as office suites and operating system platforms instead of “What will we use?”

Without question, Microsoft is struggling to stay relevant as revenues plummet. Indeed, upon 2011 year close Microsoft is a different company. It is sad. I do not want Microsoft to fold. Competition is good even for the Apple and Linux-based products I prefer using.

After-all, I am a MSFT stock-holder.

Categories: LinuxChix bloggers

Ramadan Mubarak

Lilandra - Sat, 2011-08-13 05:10

Ramadan is here again. Actually we are about 13 days in…so almost half way done.

And you’re wondering what could I possibly doing that is new, right?
More pictures of dates and fried stuff?
An artistic shot of a glass of water?

Well I intend to host my very first Iftar.

I’m going to give people food to break fast.

Now my mom is not very happy about this.
She may not like the menu either.

But I had a plan…for how I could cook everything…bake bake bake…I really need a second oven…

However I was saved. I am outsourcing the meat and one side.

I am making one side and salad (well I informed my sister in law that she is making the salad).

I’m excited and petrified at the same time.

Wsh me luck!

Categories: LinuxChix bloggers

Transmissions from 2011-06-26

Teri Solow - Sun, 2011-06-26 12:50
Categories: LinuxChix bloggers

gothiccharmschool: I don’t care if Monday’s blueTuesday’s gray…

Teri Solow - Sat, 2011-06-25 21:00

gothiccharmschool:

I don’t care if Monday’s blue
Tuesday’s gray and Wednesday too
Thursday I don’t care about you
It’s Friday, I’m in love

Monday you can fall apart
Tuesday, Wednesday break my heart
Oh, Thursday doesn’t even start
It’s Friday I’m in love

I don’t care if Mondays black
Tuesday, Wednesday – heart attack
Thursday, never looking back
It’s Friday, I’m in love

Monday, you can hold your head
Tuesday, Wednesday stay in bed
Or Thursday – watch the walls instead
It’s Friday, I’m in love

Via l0vechild

Categories: LinuxChix bloggers

Transmissions from 2011-06-25

Teri Solow - Sat, 2011-06-25 12:50
  • One placeholder sentence to replace and I guess I'm ready to figure out this deploy. But, oh, what a sentence. #
  • @travisezell Oh man, he had such a cute little website and now it's contemplating sympathy death. http://bit.ly/kXiWQu in reply to travisezell #
  • Procrastination is a muse and the paradox. @ Reed College – Educational Technology Center http://instagr.am/p/GTxqY/ #
  • Taking my cats to the vet just now was my $500 nam. Seriously, the wisdom tooth extraction Monday was way cheaper and slightly more pleasant #
  • To be clear, the vets were great. It was the screaming murderous cats which were the problem. #
  • @palomint You're supposed to tell us. in reply to palomint #
Categories: LinuxChix bloggers

Transmissions from 2011-06-24

Teri Solow - Sat, 2011-06-25 05:50
  • One placeholder sentence to replace and I guess I'm ready to figure out this deploy. But, oh, what a sentence. #
  • @travisezell Oh man, he had such a cute little website and now it's contemplating sympathy death. http://bit.ly/kXiWQu in reply to travisezell #
  • Procrastination is a muse and the paradox. @ Reed College – Educational Technology Center http://instagr.am/p/GTxqY/ #
  • Taking my cats to the vet just now was my $500 nam. Seriously, the wisdom tooth extraction Monday was way cheaper and slightly more pleasant #
  • To be clear, the vets were great. It was the screaming murderous cats which were the problem. #
  • @palomint You're supposed to tell us. in reply to palomint #
Categories: LinuxChix bloggers

Procrastination is a muse and the paradox. (Taken with…

Teri Solow - Fri, 2011-06-24 20:16

Procrastination is a muse and the paradox. (Taken with Instagram at Reed College – Educational Technology Center)

Categories: LinuxChix bloggers
Syndicate content