Tuesday, March 25. 2008
Using Unison to sync files between linux hosts
I've been using rsync over ssh to copy changed files from one linux host to a backup. This works fine for moving files in one direction, but not to synchronize files that may be changed on either host. It also required that I be logged on so my ssh-agent would provide the password for the ssh connection. This prevented automated synchronization. So I wanted to find a solution that would:
- Allow me to make changes on either host
- Run automatically
- Maintain security
The solution was unison and a few tricks with OpenSSH public key authentication. More after the break....
- Allow me to make changes on either host
- Run automatically
- Maintain security
The solution was unison and a few tricks with OpenSSH public key authentication. More after the break....
Continue reading "Using Unison to sync files between linux hosts"
Monday, January 16. 2006
Gore's MLK Speech
Powerful stuff.
From truthout
Oh, and word point, Gore, for using the word "arrogates" as a verb. Of course, I get the feeling that it was precisely his ability to use interesting words that prevented him from becoming our President. Sad.
[T]he American values we hold most dear have been placed at serious risk by the unprecedented claims of the Administration to a truly breathtaking expansion of executive power.
As we begin this new year, the Executive Branch of our government has been caught eavesdropping on huge numbers of American citizens and has brazenly declared that it has the unilateral right to continue without regard to the established law enacted by Congress to prevent such abuses.
It is imperative that respect for the rule of law be restored.
...[T]he President not only confirmed that the story was true, but also declared that he has no intention of bringing these wholesale invasions of privacy to an end.
...
A president who breaks the law is a threat to the very structure of our government. ... As John Adams said: "The executive shall never exercise the legislative and judicial powers, or either of them, to the end that it may be a government of laws and not of men."
An executive who arrogates to himself the power to ignore the legitimate legislative directives of the Congress or to act free of the check of the judiciary becomes the central threat that the Founders sought to nullify in the Constitution - an all-powerful executive too reminiscent of the King from whom they had broken free.
From truthout
Oh, and word point, Gore, for using the word "arrogates" as a verb. Of course, I get the feeling that it was precisely his ability to use interesting words that prevented him from becoming our President. Sad.
Wednesday, November 9. 2005
v0.9 Upgrade
I've upgraded the blog software to v0.9 of Serendipity - www.s9y.org if you haven't checked it out. I'm a very small contributor to the code - I've done some English translation, worked on the RSS feeds and fixed some category stuff.
It's getting very close to a 1.0 release - this should be the last major pre-1.0 release. I'll be playing with some of the new capabilities and plugins over the next few weeks.
It's getting very close to a 1.0 release - this should be the last major pre-1.0 release. I'll be playing with some of the new capabilities and plugins over the next few weeks.
Thursday, November 3. 2005
Hooray Beer! Hooray Coffee!
Remember "Two great tastes that taste great together" ?I have a recipie for the next time I take out my brewing supplies. It's a coffee-flavored porter, and I'll use a Dark Sumatran to flavor it.
But Nestle has gone one better - a fermented coffee beverage!
A drink somewhere between coffee and beer could soon be on the menu. Nestec, part of the Nestlé empire in Switzerland, has filed patents in every major market round the world on a "fermented coffee beverage" that pours and foams like beer, but smells of strong coffee and packs a concentrated caffeine kick.
Here's the thing - no alcohol. It looks like beer, feels like beer, tastes like coffee and kicks like coffee.
From Slashdot.
Monday, October 24. 2005
Virtually Cool
VMWare just came out with a FREE version of VMWare called VMWare Player. It's obviously not the complete $200 VMWare Workstation, but what it lets you do is run any Virtual Machine that was created by someone else. And, of course, they provide a nice selection of pre-built virtual machines.
This is VERY USEFUL. A boon to students and people interested in trying out a different OS.
TaoSecurity has a nice writeup on it.
This is VERY USEFUL. A boon to students and people interested in trying out a different OS.
TaoSecurity has a nice writeup on it.
Tuesday, October 11. 2005
Referrer Spam Solution
The referrer SPAM has just gotten worse and worse. I see thousands of hits on my blog from zombies with references to various {xanax|cialis|viagra|phentenermine}, casino and porn websites.
I finally tooka little time and put in a blocking mechanism which seems to effectively stop them at the door - it's going to be like a SPAM filter, in that I'll need to keep tweaking it, but so far so good. If you need my solution, contact me. (I'm obviously not going to publicly comment on my actual solution).
But here's the somewhat scary part. Many of the refererring domains are subdomains of names that seem completely unrelated. That's not unusual - somehow I doubt that Jackie Zhao really runs a "blackfilmmakermag.com" website. (He doesn't. It's a gambling advertising domain). But at least one of them seems to be a legitimate site - did they sell access to their domain name, or has their DNS been hacked?
Northsky.com, check your servers! Michael, do you really want to be associated with buy-hydrocodone-online.superbikeclub.com ??????
I finally tooka little time and put in a blocking mechanism which seems to effectively stop them at the door - it's going to be like a SPAM filter, in that I'll need to keep tweaking it, but so far so good. If you need my solution, contact me. (I'm obviously not going to publicly comment on my actual solution).
But here's the somewhat scary part. Many of the refererring domains are subdomains of names that seem completely unrelated. That's not unusual - somehow I doubt that Jackie Zhao really runs a "blackfilmmakermag.com" website. (He doesn't. It's a gambling advertising domain). But at least one of them seems to be a legitimate site - did they sell access to their domain name, or has their DNS been hacked?
Registrant:
Mike Di Sabatino
*** deleted ****
Camarillo, CA 93011
United States
Registrar: DOTSTER
Domain Name: SUPERBIKECLUB.COM
Created on: 15-MAR-00
Expires on: 15-MAR-06
Last Updated on: 13-MAR-05
Administrative Contact:
DiSabatino, Michael ******deleted*******
**** deleted ******
Camarillo, CA 93011
US
****deleted****
****deleted****
Domain servers in listed order:
NS1.SJ1.NORTHSKY.COM
NS2.SJ1.NORTHSKY.COM
Northsky.com, check your servers! Michael, do you really want to be associated with buy-hydrocodone-online.superbikeclub.com ??????
Tuesday, August 9. 2005
Finally
The Shuttle is back in business. Sounded like everyone was holding their breath while it came down. Happened to be able to listen to the whole thing on NPR while driving to work.
Now if we could just get NASA back in the business of pure science, rather than this silly Mars expedition. But it needs to keep flying.
Oh, and I'm back from vacation.
Now if we could just get NASA back in the business of pure science, rather than this silly Mars expedition. But it needs to keep flying.
Oh, and I'm back from vacation.
Thursday, June 30. 2005
Too Little, Too Late
Years ago, I lusted after the non-existent Silicon Graphics laptop. With it's metal case and awesome power, it would have been sweet.
So now Sun finally announces a laptop - Years after an IBM T-Series Laptop running Linux will do everything I ever wanted it to do.
Glad I finally dumped all my Sun stock. Losers.
So now Sun finally announces a laptop - Years after an IBM T-Series Laptop running Linux will do everything I ever wanted it to do.
Glad I finally dumped all my Sun stock. Losers.
Wednesday, June 29. 2005
XML-RPC Vulnerability
BEEP BEEP *BEEP*
There's a serious vulnerability in the PEAR XML-RPC code. Serendipity uses this code, so a Update is available.
Blogs on this server have been updated. You know who you are.
We now return you to your regularly scheduled program.
There's a serious vulnerability in the PEAR XML-RPC code. Serendipity uses this code, so a Update is available.
Blogs on this server have been updated. You know who you are.
We now return you to your regularly scheduled program.
Wednesday, June 15. 2005
iCal to Remind script
Well, I've been playing with Remind, which I found over at 43 Folders. I loved the idea of a unix-style full-featured calendaring app - but I've gotten very used to using Mozilla Calendar to keep track of my family's crazy schedule. There were some Applescript iCal->remind scripts listed, but nothing full featured.
So I wrote one.
I discovered that the hashes returned from iCal::Parser contained DateTime values, so I was able to use the DateTime.pm module to manipulate the dates and times - very handy.
I got ambitious and got the ToDos to print out, too. It uses the Due Date as the Remind date, or the current date if there's no Due date.
I call it from cron every day and email my reminders to myself, so I get everything from the calendar, plus the .reminders file (which has birthdays, anniversarys, and other things I need to remember):
You can get the code here or in the extended entry.
UPDATE I long ago changed to running the script out of a cron and using INCLUDE to bring in the data. That way it's always in remind, no matter how I run the script. In./.reminders:
and in crontab:
So I wrote one.
I discovered that the hashes returned from iCal::Parser contained DateTime values, so I was able to use the DateTime.pm module to manipulate the dates and times - very handy.
I got ambitious and got the ToDos to print out, too. It uses the Due Date as the Remind date, or the current date if there's no Due date.
I call it from cron every day and email my reminders to myself, so I get everything from the calendar, plus the .reminders file (which has birthdays, anniversarys, and other things I need to remember):
0 6 * * * local/bin/ical2rem.pl | cat - .reminders | local/bin/remind -q - | mail -s "Reminders" jalcorn
0 3 * * 0 local/bin/ical2rem.pl | cat - .reminders | local/bin/remind -c+ - | mail -s "Weekly Calendar" jalcorn
0 3 * * 0 local/bin/ical2rem.pl | cat - .reminders | local/bin/remind -c+ - | mail -s "Weekly Calendar" jalcorn
You can get the code here or in the extended entry.
UPDATE I long ago changed to running the script out of a cron and using INCLUDE to bring in the data. That way it's always in remind, no matter how I run the script. In./.reminders:
INCLUDE ./.ical2rem
and in crontab:
0-59/15 * * * * local/bin/ical2rem.pl > ~/.ical2rem
Continue reading "iCal to Remind script"
Wednesday, June 1. 2005
Oh, Cool!
He was so proud of it, too
During his Rose Garden news conference, W not only used the wrong word but then he went on to define it for reporters, apparently because he interepreted the puzzled looks on the reporters faces to mean they didn't know his fancy new word:
dis·as·sem·ble
v. dis·as·sem·bled, dis·as·sem·bling, dis·as·sem·bles
v. tr.
To take apart: disassemble a toaster.
dis·sem·ble
v. dis·sem·bled, dis·sem·bling, dis·sem·bles
v. tr.
1. To disguise or conceal behind a false appearance. See Synonyms at disguise.
2. To make a false show of; feign.
disassemble - that means not to tell the truth.
dis·as·sem·ble
v. dis·as·sem·bled, dis·as·sem·bling, dis·as·sem·bles
v. tr.
To take apart: disassemble a toaster.
dis·sem·ble
v. dis·sem·bled, dis·sem·bling, dis·sem·bles
v. tr.
1. To disguise or conceal behind a false appearance. See Synonyms at disguise.
2. To make a false show of; feign.
Wednesday, May 25. 2005
Nitpicking
As long as I'm nitpicking, I had to put this in.
Kim Cameron's very interesting whitepaper The Laws of Identity gives those of us dealing with Identity Management a great place to start the conversations. An excellent read, and some good points (although as "Architect of Identity" for Microsoft Corporation, I keep seeing Kim in a Sith cloak
But there is one ironic word mistake. Talking about how Enterprises use identity:
Now as much as I like to think that Enterprises have my privacy in mind:
I think Kim meant that the enterprises were distinct, not circumspect:
Kim Cameron's very interesting whitepaper The Laws of Identity gives those of us dealing with Identity Management a great place to start the conversations. An excellent read, and some good points (although as "Architect of Identity" for Microsoft Corporation, I keep seeing Kim in a Sith cloak
But there is one ironic word mistake. Talking about how Enterprises use identity:
The differing contexts of discreet enterprises lead to a requirement
Now as much as I like to think that Enterprises have my privacy in mind:
dis·creet Pronunciation Key (d-skrt)
adj.
1. Marked by, exercising, or showing prudence and wise self-restraint in speech and behavior; circumspect.
2. Free from ostentation or pretension; modest.
[Middle English, from Old French discret, from Medieval Latin discrtus, from Latin, past participle of discernere, separate, to discern. See discreet.]
I think Kim meant that the enterprises were distinct, not circumspect:
dis·crete Pronunciation Key (d-skrt)
adj.
1. Constituting a separate thing. See Synonyms at distinct.
2. Consisting of unconnected distinct parts.
3. Mathematics. Defined for a finite or countable set of values; not continuous.
[Middle English, from Old French, from Latin discrtus, past participle of discernere, to separate. See discreet.]
Ferment/Foment
David Patel wrote me a nice reply to my post yesterday about his use of the word "ferment" in a radio report. Apparently, Microsoft's Encarta is in the "common use defines correctness" camp. Encarta defines Ferment:
Although David did say he would use "foment" in the future, as it is more correct.
(Note that MS defines it as both transitive and intransitive. Other dictionaries define it as intransitive only)
BTW - David is in Amman. Jordan, not sitting in an ivory tower at Stanford.
vti (past fer·ment·ed, past participle fer·ment·ed, present
participle fer·ment·ing, 3rd person present singular fer·ments)
1. subject to fermentation: to subject something to fermentation, or be
subjected to fermentation
2. stir up: to stir up somebody or something, or be stirred up
3. develop: to cause, develop or evolve something, or be developed or
evolved
Her brain was continually fermenting new schemes.
Although David did say he would use "foment" in the future, as it is more correct.
(Note that MS defines it as both transitive and intransitive. Other dictionaries define it as intransitive only)
BTW - David is in Amman. Jordan, not sitting in an ivory tower at Stanford.
Tuesday, May 24. 2005
On the other hand - Ferment
During BBC's The World yesterday, David Patel of the Department of Political Science at Stanford University, talking about the groups involved in the insurgency said that "foreign [some word] jihadists...want to ferment a real civil war in Iraq".
Well, the feelings that lead to insurgency can ferment:
But if you're going to cause the insurgency to start or continue, the word you want is foment
I hear this mistake a lot.
Well, the feelings that lead to insurgency can ferment:
fer·ment
v. intr.
1. To undergo fermentation.
2. To be in an excited or agitated state; seethe.
But if you're going to cause the insurgency to start or continue, the word you want is foment
fo·ment
tr.v. fo·ment·ed, fo·ment·ing, fo·ments
1. To promote the growth of; incite.
2. To treat (the skin, for example) by fomentation.
[Middle English fomenten, to apply warm liquids to the skin, from Old French fomenter, from Late Latin fmentre, from Latin fmentum, poultice, from fovre, to warm. See dhegwh- in Indo-European Roots.]
I hear this mistake a lot.
(Page 1 of 9, totaling 121 entries)
» next page


