Had an Epson Workforce 610. Started getting error “A printer error has occurred. Turn power off and then on again. For details, see your documentation or Epson.com.” Decided to get a Brother 2270-DW (I’ve always wanted a duplex laser) but thought it might still be useful to use the scanner feature on the Workforce (especially since it was networked).
Unfortunately, the above error locks you out of any of the all-in-one features, even ones that don’t involve the actual printer. However, this little trick appears to have given new life to the Workforce.
- Open printer such that the cartridge housing is accessible (flip the scanner housing up).
- Turn printer off.
- While printer is off, gently slide cartridge housing to the left about halfway.
- Turn printer on.
- After cartridge housing moves all the way to the right (which it will do on startup), gently push up and back on the housing and continue pressing/gently jiggling as the housing tries to free itself.
- Eventually, the housing will snap back to the left which will stop tripping the error message, and free you to use the scanner, copy, fax, etc.
- This may even allow you to keep using the actual printer, although I haven’t tested!
This took me a few tries, but eventually fiddling around with the cartridge housing while it was over on the right edge of the printer freed it enough for it to become “functional” again. No clue how long it will last, but prevents me from having a useless paperweight sitting on my home office shelf!
How to use sed to insert a block of lines from an external file into the second-to-last line of file
Let’s say you have file #1 that says…
You have file #2 that is:
Using this sed command first goes through file1 and sets a MARKER by replacing the line right before the ENDFILEFLAG. The second pass (after the pipe) adds the contents of file2 into file1 at the MARKER, deletes the MARKER and outputs it as a newfile.txt
sed '/ENDFILEFLAG/i MARKER' file1 | sed -e '/MARKER/r file2' -e '/MARKER/d' > newfile.txt
The NCDC and Jeff Masters have gotten a lot of press in both major media and the blogosphere with this Washington Post snippet from earlier this week:
The National Climatic Data Center has just released its “State of the Climate” report for June 2012. The last 12-month period on the mainland United States, it notes, were the warmest on record. What’s notable, however, is that every single one of the last 13 months were in the top third for their historical distribution–i.e., April 2012 was in the top third for warmest Aprils, etc.
“The odds of this occurring randomly,” notes NCDC, “is 1 in 1,594,323.”
Meteorologist Jeff Masters puts it this way: “These are ridiculously long odds, and it is highly unlikely that the extremity of the heat during the past 13 months could have occurred without a warming climate.”
Sounds like a pretty long bet; anyone want to take it? Apparently Steven Goddard does…
Now I am going to apply the same math to the ice age scare of the 1970s. In 1974, the CIA reported that Eastern Canada had been below normal for 19 months in a row.
The odds of being below normal are one out of two. So if we raise two to the nineteenth power, we can conclude that the global cooling of the 1970s was a one in 524,288 event, colder than the last three or four ice ages! No wonder Hansen had to erase it!
This is incorrect. The odds of 19 statistically independent 50/50 events (such as a coinflip) coming up in a row is 524,288 ( 1 / 2^(19) ).
However, like an elite baseball player such as Albert Pujols performing above league average, a train of XX months in an integrated system like the climate is not statistically independent. Having multiple warm (or cold) months in a row implies an atmospheric setup conducive to warm or cold. This shows that months are correlated with their neighbors (being mostly strongly tied to those months immediately preceding and following them) and therefore the odds aren’t 50/50.
In addition, the NCDC argued that it was a 13 month period that was “this warm,” which meant that it was a 13 month running period which had temperatures YY degrees above some baseline. This is fundamentally different from saying “it was 13 months above average” which, it also was, but it’s obviously more likely to get 13 months above-average from a statistical standpoint because not every string of 13 months of above-average temperatures can be the warmest string of 13 months in a row (example, not every 20+ game hitting streak can be DiMaggio’s 56 game hitting streak).
This also raises issues with the NCDC/Masters number as well. The 1-in-1.6 million figure appears to have arisen from estimating the odds of piling 13 month chunks in a row with this degree of heat (assuming each month has a 1-in-3 shot of reaching that benchmark, which seems arbitrary), and then extrapolating forward ( (1.6 million / 13 months) -~ 2012 AD ) to get the projected 124,652 AD date that Masters uses. This also suffers from the same fundamental flaw the Goddard analysis did (although not as significant because of the magnitude vs. sign effect noted above).
The recent heat wave likely remains unprecedented in the North American historical record, however, bad statistics have certainly not endeared those on either side of the AGW debate to educated readers.
Coming across the SSD wire is news of a tropical storm (01M) spinning around in the Mediterranean Sea. Tropical cyclones are not actually unheard of there, however, they are extremely rare.
Earlier this month my e-mail inbox became incredible crowded with messages from Twitter– every single reply, mention, favorite, retweet, etc. was causing Twitter to send me an individual message. Turns out Twitter added these notifications (which had previously been reserved for direct messages– DMs), but then opted all their users in by default (semi-obnoxious).
Luckily, they can be easily turned off by logging into Twitter, going to your Twitter profile page and clicking on the “profile edit” (your username with a picture) link (top right). On the dropdown, click settings, then click on the notifications tag, where you’ll be presented with the image below. Uncheck/check as you see fit. You can also just click here which will bring you to this page (will probably prompt for credentials) until Twitter changes their site structure.
Now that I have essentially become a fully-converted Mac user, I’ve pretty much smoothed out all the “transitional” kinks going from Windows to OS X. This involved making sure my computer could do everything that I had asked of it before.
One thing that was a hinderance for the longest time was being unable to find a simple graphics editor to approximate Microsoft Paint (which ships with the OS). While OS X ships with basic utilities (e.g., TextEdit), it shocked me that there was this “hole” in the provided base apps. I need to emphasize, that I was not looking for a Photoshop equivalent, but merely needed something that would allow me to edit images quickly, typically before uploading them online.
Enter Paintbrush. Now I can quickly take a screenshot, use Paintbrush to circle/underline material for emphasis, resize, and save a file ready for rapid upload to my server. I can open, use, and be done with Paintbrush in the same time it takes Gimp or Photoshop to boot up.
For those that need quick edits for use in the fast-paced world of media like Twitter, you’re welcome. For future Colin who might have forgotten this software exists, shame on you.
Kind of a cool feature on the 12Z run of the GFS (actually has persisted for the last few runs– figured I’d post the most recent one).
We can see our midweek storm system beginning to take shape. In this first picture we see the strong northern and southern vortmaxes (vorticity maxima) that will phase to amplify the upper level trough and spin up the low pressure center.
In this next slide, we see the phasing beginning to occur (cyan trough — “U” shape). The southern vortmax is being drawn northward on the front side of the trough while the northern vortmax is being dragged southward on the backside. Follow the northern vortmax.
We can see the trough become elongated, with the former northern vortmax drifting SW into Arizona. The vorticity signatures in the northeast are correlated with the storm system moving through on Wednesday (this forecast slide is for ~ 8 PM Wednesday night).
The former northern vortmax tracks a bit east and shows signs of spinning itself off from the now extremely elongated trough. We also begin to see another piece of energy diving south through Canada.
The former northern vortmax has now separated from the initial trough and is becoming the southern vortmax in another series of phasing. A new northern stream has dove down from Alberta to take it’s place.
The GFS takes this setup and spins up yet another coastal storm for the Mid-Atlantic and New England on Saturday into Sunday.
In other words, this piece of energy has meandered from SW Canada on Saturday down through the central US to spawn storm #1. It then slowly drifted SW away from the action into Arizona and Mexico, before moving back east to join up with one of it’s Canadian brothers to potentially spawn storm #2 a week later for the east coast of the US.
Dropbox is doing a special promotion called “Dropquest,” which is essentially a puzzle game created by some of the employees of the companies. It consists of ~25 clues and for each challenge you successfully complete you get a parcel of bonus space on their server– it totals 1 GB in the end. The challenge is rather difficult, so if you get stuck, feel free to Google “Dropquest hints” or something to that effect– there are loads of forum posts around the web that should help you move on.
If you don’t have Dropbox, you can sign up for free here. Dropbox is a web-based system that uses cloud computing to enable users to store and share files and folders with others across the Internet using file synchronization.
I use it for doing clever things like syncing my Keepass database, sharing presentation files after I give a seminar, and other miscellaneous tasks that require file use between my three computers and iPhone (and it allows me to access these files in a pinch through a web browser somewhere else), but other individuals also use it purely for off-site backup in the event something goes horribly, horribly wrong inside her laptop (since Dropbox syncs with the cloud it preserves a copy of your files on their servers– these files can be restored in the event of a hard drive failure).