| Or-ing procmail rules |
[Jan. 30th, 2007|02:57 pm] |
Is there no better way to OR procmail rules than these horrid kludges?
For now I'm going with the DeMorgan Rule method, because it's more efficient and to the point that the alternative kludges. I still feel a little dirty writing things this:
:0
* ! condition1
* ! condition2
{ } # official procmail no-op. MUST LEAVE SPACE
:0 E
action_on_condition1_or_condition2
It would be nice to have a recipe flag that means "OR the conditions below" |
|
|
| De-Scheming MIT |
[Nov. 19th, 2006|07:03 am] |
I am amazed by MIT's decision to move it's EECS curriculum away from scheme, doubly so at the fact that they're swapping it for Python. It has been part of their definition, at least in my mind. It makes sense to me, but I suppose I have some bias. I see it as a move from a language with deeper cognitive benefits to a language with stronger pragmatic benefits-- a move towards actually building things. Of course, it's just a language, and the same course could be taught with either one. |
|
|
| /~xtat/debian-security-talk06 |
[Oct. 4th, 2006|07:28 pm] |
Debian Security talk went well!
I broke my glasses about 2 minutes before starting and a kind Lehigh student (engineer?) repaired them--- with a staple? Thanks, whoever you are!
My 150 (!) slides are here: PDF, ODP, SWF. |
|
|
| USPTO/ US Homeland Sec and OSS |
[Jan. 12th, 2006|01:20 am] |
"Through its Science and Technology Directorate, the [US] Homeland Security Department has given $1.24 million in funding to Stanford University, Coverity and Symantec to hunt for security bugs in open-source software and to improve Coverity's commercial tool for source code analysis." Link
"The United States Patent and Trademark Office plans to announce today that it will cooperate with open-source software developers on three initiatives that it says will improve the quality of software patents." Link
Two optimistic things in US Gov't.... (It's not April 1 yet, right?) |
|
|
| >_< |
[Nov. 28th, 2005|10:47 pm] |
We're Sorry...
You seem to be viewing the system in more than one window. This functionality is not currently supported. Please close this browser window and continue working in the second browser window.
(In the future, if you need to have more than one browser window pointing to the system, please make sure you DO NOT launch a new window from an existing window, using -N or from File -> New -> Window. This can cause the windows to interact with each other. Instead, please launch a separate window by double- clicking your browser icon. Thank you.) ...and thank you! - for having awesome restrictions like this on your web app.
- for not telling me this in advance, forcing me to retype 2 paragraphs.
- for not giving me any way to navigate away from this page, and breaking the back button.
|
|
|
| dumb asses |
[Nov. 19th, 2005|01:27 pm] |
Found this under heading "What is a statement of verifiable fact" while browsing EFF's Legal Guide for Bloggers
A statement of verifiable fact is a statement that conveys a provably false factual assertion, such as someone has committed murder or has cheated on his spouse. To illustrate this point, consider the following excerpt from a court (Vogel v. Felice) considering the alleged defamatory statement that plaintiffs were the top-ranking 'Dumb Asses' on defendant's list of "Top Ten Dumb Asses":
A statement that the plaintiff is a "Dumb Ass," even first among "Dumb Asses," communicates no factual proposition susceptible of proof or refutation. It is true that "dumb" by itself can convey the relatively concrete meaning "lacking in intelligence." Even so, depending on context, it may convey a lack less of objectively assayable mental function than of such imponderable and debatable virtues as judgment or wisdom. Here defendant did not use "dumb" in isolation, but as part of the idiomatic phrase, "dumb ass." When applied to a whole human being, the term "ass" is a general expression of contempt essentially devoid of factual content. Adding the word "dumb" merely converts "contemptible person" to "contemptible fool." Plaintiffs were justifiably insulted by this epithet, but they failed entirely to show how it could be found to convey a provable factual proposition. ... If the meaning conveyed cannot by its nature be proved false, it cannot support a libel claim. |
|
|
| Yahoo 2.0 |
[Nov. 10th, 2005|03:41 pm] |
|
looks like Zawodny has made the same conclusion about Google that I wrote about earlier. Re: moving in on existing markets rather than creating new ones. Like I said before, isn't that what they've always done? |
|
|
| babygrep |
[Oct. 11th, 2005|04:24 am] |
I made a baby grep.
sushi% ls -lh babygrep -rwxr-xr-x 1 xtat xtat 3.6K 2005-10-11 04:10 babygrep sushi% ls -lh /bin/grep -rwxr-xr-x 1 root root 70K 2005-03-10 18:09 /bin/grep
I am wondering if using something similar would make logcheck faster. It needs work in any case. I just think it's cute.
code |
|
|
| Logcheck Rulefiles Analyzer |
[Sep. 27th, 2005|02:31 am] |
I spent some time making a rulefiles analyzer for Logcheck.
Noticing that logcheck-database had 1000+ rules made me curious about utilization. This tool will report the number of matches for each individual rule. The output looks like this right now:
*cut* file: rulefiles/linux/ignore.d.server/dhclient: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 124, 124, 0, 0, 0, 0, 0, 0, 124] file: rulefiles/linux/violations.d/logcheck: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] file: rulefiles/linux/ignore.d.server/policyd: [0, 0] file: rulefiles/linux/ignore.d.workstation/winbind: [0] file: rulefiles/linux/violations.ignore.d/logcheck-cyrus: [0, 0, 0] file: rulefiles/linux/ignore.d.paranoid/cron: [0, 0, 18, 0, 0, 0, 0, 0] file: rulefiles/linux/ignore.d.server/nscd: [0] *cut*
The numbers in the arrays correspond to line numbers in logcheck rulefiles. This output will be improved eventually. It should also calculate the top N and bottom N matched rules. This should aid us in tracking down stale rules.
analyzeRules - Get statistics about logcheck rule effectiveness
You'll need python 2.4. |
|
|
| (no subject) |
[Aug. 12th, 2005|04:56 am] |
John Markoff's new book sounds interesting: What the Dormouse Said: How the 60s Counterculture Shaped the Personal Computer link |
|
|
| openssh continues to impress |
[Jun. 25th, 2005|05:01 pm] |
OpenSSH can act as a SOCKS4 proxy directly! I had no idea. It is quite handy for encrypted AIM if you don't trust your intermediate link, for example over open wifi, or in my case, an untrusted satellite network.
Anyway to get it set up add "DynamicForward 1080" to ~/.ssh/config That's it. Config your gaim to use localhost:1080 as it's SOCKS4, ssh to remote host, connect with gaim.
You probably want to do it from the command line each time if you're often connecting to untrusted hosts. |
|
|
| (but I still don't like apple) |
[Jun. 16th, 2005|02:46 pm] |
I caved in. I have an iPod. It contains a full i386 Ubuntu mirror. This will be useful while at sea.
Hfsplus on hoary is buggy. It seemed to work at first, but then when I later remounted the iPod, kernel said that it was previously unmounted uncleanly and that I should run fsck.hfsplus. I tried the hfsck utility from the hfsplus package and it exited fatally without fixing anything.
If you're going to try this, be sure to format your iPod with FAT32 using the cd that came with it if you expect any sort of data integrity. The windows version will do this without asking. |
|
|
| OpenID |
[May. 18th, 2005|05:24 am] |
Brad Fitzpatrick of Livejournal fame has started an interesting new project called OpenID which calls itself a "distributed identity system."
Think Passport, minus the evil and unpractical bits.
Or for a better summary: "Logging in to a dozen websites every day is lame." |
|
|
| navigation |
| [ |
viewing |
| |
most recent entries |
] |
| [ |
go |
| |
earlier |
] |
| |
|
|