06.05.09
On the efficiency of Virtual Machines
…so here I am, running the Windows 7 RC under VMWare on my mac laptop, connecting over the internet to a Windows XP machine under VMWare on my linux server at home, in order to do Outlook development. I guess somewhere deep down inside I can appreciate that this is more efficient than having a pair of actual windows boxes, but somehow it just doesn’t feel right…. Maybe someday people will just stop using Windows/Outlook, and I won’t have to do this any more.05.11.09
links for 2009-05-11
-
Some promising replication & distribution features which seem a little more powerful then Tokyo Tyrant probably. Should take a close look at this sometime.
03.23.09
Stupid Lynx Tricks
I just discovered that the ‘lynx’ console web browser has two neat command line arguments:-cmd_log — record keystrokes to a logfile
-cmd_script — play back a recorded keystroke log
Use these in combination with -accept_all_cookies, -cookie_file and -cookie_save_file for web automation goodness!
03.16.09
links for 2009-03-16
-
Holy shit, the government builds a useful SOAP/REST XML api for weather forecasting.
03.13.09
Picket lines
What is the purpose of a picket line during an industrial strike action? I can think of a couple possible goals:- Discourage non-striking workers from “crossing the line” and working in defiance of the strike
- Communicate to the customers/suppliers/etc of the striken industrial concern that some of its workers/employees are involved in a dispute with the concern
- Communicate same to passers-by, perhaps under the implicit assumption that these might potentially become customers of the striken concern
- Demonstrate to the striken industrial concern that the strikers are serious
- Give the striking workers something to do other than just sit home all day watching pr0n on the internets
Now let us observe an actual in-progress-right-now strike and see which of the above seem to be the focus.
For perhaps a month now, maybe longer, a union has been striking against a contractor hired by a local sport club. I have observed this passively, as I drive by the club most mornings, and again in the opposite direction often around noon-1pm. The strikers are always there (perhaps 10 or a dozen of them) in the mornings. I have seen then from about 8am through about 10am. By noonish, they’re gone. Some days they have one of the picketers dressed in a giant rat costume. On rainy days, they have a little tent/marquee thing, but I’ve seen many of them standing in jackets in the rain cos the marquee really doesn’t offer all that great a shelter. So — why only in the mornings? To me, it looks like this is basically timed to correspond with the morning prime commute hours. Certainly, the rat, when he’s there, is generally gesticulating at passing traffic. I have often observed what are presumably local patrons of the sports club walking in and out of the club wearing bathrobes, presumably over swim suits; the strikers seem to completely ignore these folks, despite the odd spectacle of people walking on public streets wearing bathrobes. I have seen delivery trucks presumably for the contractor’s job site go in and out without interaction with the pickets. So the 2nd option above, influencing the customers/suppliers of the concern does not seem to be a primary focus of the pickets.
The third option, that passers-by might become customers or in some way influence the concern seems unlikely; I am perhaps somewhat more likely to not hire Mission Electric to do a job for me, but I can’t imagine there’s a ton of impact on M.I. Similarly, the first option seems unlikely — I can’t believe that anyone probably walked off the job with M.I. because they didn’t want to cross the line, though I could be wrong I guess. This is not an action where these guys were employed on the job by M.I. and walked out due to disagreement; as I understand it, from the start of this job M.I. has been using non-union workers are non-union rates. Those guys seem unlikely to want to join the union and strike too, since they presumably would have done so by now.
#4 is a possibility, but does the union think Mission Electric is going to fold and pay 20% more to the electricians on the job, when they’ve likely got a fixed-price contract with the club? M.I. is just going to eat the 20% on the job after bidding it? Seems unlikely. Will they likely up their next bid to include 20% extra in electrician wages? Also seems unlikely, but perhaps they might compromise with the union somehow.
#5 doesn’t quite work either. These guys are only out of the house for a couple hours in the morning. They don’t seem to have walked off *this* job, which presumably means they’re otherwise unemployed on some other job, so might profitably spend their mornings looking for new work rather than standing around with a man in a mouse suit, though perhaps they are seeking job experience for their resumes so they can apply to work later at Disneyland. Or perhaps they are hired by the union specifically as pickets? The mouse costume guy is certainly good enough that he might be a professional picket rat and move from job to job for the union. He might even do basketball games sometimes as a sideline. Really, he’s pretty good.
So anyway, what’s the deal here? Who is the union trying to influence to do what with this action? Their stated objective of getting M.I. to pay the workers on the job 20% more just seems very implausible.
03.12.09
Neat. A new way to track website visitors!
For some reason, there seem to be very few “dynamic” DNS servers, which use DNS to server things which aren’t really “normal” DNS records, or that have much in the way of side-effects.But Firefox 3.5 has a new feature which may start to change that. Now, for Firefox 3.5 users anyway, you can embed a link in a webpage and use that link’s presence on the page to track someone (à la 0-pixel image tag) in a new way. eg:
<a href=”someuniqueid.mydomain.com” style=”visible:false”> </a%gt;
Now, left as an exercise for the reader: integrate the DNS lookup logs for that unique ID with your web logs.
There’s other neat stuff I’ve been thinking of doing with a customized “dynamic” DNS server (ie one not backed by a zone file to do the resolution, but which returns results based on logic operations on the queried record). Here’s 2 examples:
- Email sender verification stuff; ie receive email from craig@rungie.com, get info about craig by looking up TXT record for craig._mailsender.rungie.com; or maybe get RBL-like 127.0.0.0/8 style A records instead of TXT but about the SENDER not just the sending domain/IP
- Heck, ask if a msg ID really came from the domain in question. Receive message-id:
“from” rungie.com and lookup FF06863C-4FD9-42C3-95F4-A62A73ABA773_rungie_com._messageids.rungie.com
DNS caching can be neat/useful in all of the above cases when you can control TTL.
02.27.09
links for 2009-02-27
-
Very neat point-and-click CSS selector code snippet generator for any web page
