|
title: Put the knife down and take a green herb, dude. |
descrip: One feller's views on the state of everyday computer science & its application (and now, OTHER STUFF) who isn't rich enough to shell out for www.myfreakinfirst-andlast-name.com Using 89% of the same design the blog had in 2001. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
x
MarkUpDown is the best Markdown editor for professionals on Windows 10. It includes two-pane live preview, in-app uploads to imgur for image hosting, and MultiMarkdown table support. Features you won't find anywhere else include...
You've wasted more than $15 of your time looking for a great Markdown editor. Stop looking. MarkUpDown is the app you're looking for. Learn more or head over to the 'Store now! |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Thursday, March 29, 2012 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Allegedly from Computers and the Law (Bigelow 1981), referenced from Garbage in, garbage out - Wikipedia, the free encyclopedia: Decision-makers increasingly face computer-generated information and analyses that could be collected and analyzed in no other way. Precisely for that reason, going behind that output is out of the question, even if one has good cause to be suspicious. In short, the computer analysis becomes the gospel.[4] Labels: pseudo-academic posted by ruffin at 3/29/2012 09:42:00 AM |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 0 comments | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Wednesday, March 28, 2012 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
At least when running against ExtJS 2.2, the example from Listing 7.1 on page 159 of ExtJS in Action, (c) 2011, has a few careless errors. If you use the GridPanel source from Building_our_simple_gridpanel.html to finish things up, you need to make a number of changes. First, he's changed the mapping for the first column from 'name' on page 159 to 'fullName' (case is important) in the example code. That's not technically an error, but is an inconsistency that's surprising given the quality of most of the sample code, which is usually quite thorough down to its whitespace. That said, there are a number of errors where the code in Listing 7.1 is misdescribed in the corresponding paragraphs. There are numbers that are supposed to match from text to code, and they often don't. So I'm guessing Listing 7.1 isn't up to snuff. There are two serious, outright errors, afaict. The first is that the Ext.data.Store is never loaded. The second is in the nameRecord declaration. It's an oboe error with indices -- again, at least when used against 2.2 (the book assumes 3.1). He's got the first column at 1 and second at 2. That borks. You want 0 and 1. Let's just cut to the chase and spit it all out here. Note that I also put in a hardcoded height, since I wasn't rendering to the body. // Call createGrid from Ext.onReady() to render the simple gridVoila. That works, providing you have a DIV with id name divUiHook2 in your file and that you call the createGrid function. Labels: code, ExtJS, obo, problem solved posted by ruffin at 3/28/2012 11:04:00 AM |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 0 comments | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Tuesday, March 27, 2012 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I'd been running an ExtJS app that throws params to a .NET WCF server and expected JSON returned. It worked from within the application, but every time I tried with a much more generic request from a test app, it borked with a "communication failure" error. If I sent back null as a return object, it serialized and was processed perfectly. Strange. I haven't chased this down definitively, but after limiting my results fairly severely (first from an unencumberedly huge number of returns, then to 800, then finally to 80), things started working again. I think I hit a memory ceiling somewhere before this, but it's still good to know that there is a max size on IIS for AJAX returns. From "How to configure maxJsonLength in ASP.NET AJAX applications": Invoking web methods from client scripts is fun. But before you roll out your cool applications into the production, please don't forget to reconfigure the max JSON string length, represented by either the maxJsonLength value in the web configuration file or the MaxJsonLength property of the JavaScriptSerializer class. posted by ruffin at 3/27/2012 02:35:00 PM |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 0 comments | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I'd wondered if the "CAPTCHAs digitize books!" story wasn't an urban legend for a while, though the font certainly looks like it came from something being digitized. But then I saw, "Stop spam. Read books" next to a CAPTCHA, and figured it was finally worth googling. Turns out they're really just captcha-ing one word. Then the second is all labor donation. What is reCAPTCHA?: But if a computer can't read such a CAPTCHA, how does the system know the correct answer to the puzzle? Here's how: Each new word that cannot be read correctly by OCR is given to a user in conjunction with another word for which the answer is already known. The user is then asked to read both words. If they solve the one for which the answer is known, the system assumes their answer is correct for the new one. The system then gives the new image to a number of other people to determine, with higher confidence, whether the original answer was correct. So if you've figured out which is more likely to be the known word, you could type "watermelon" for the second and protest, I guess. Still, I'm not sure how I feel about CAPTCHAs required for logging in to a system/creating an account also requiring that you donate your time to Google. I understand how it benefits the web site admin that installed the CAPTCHA, but there's an implicit ethics embedded into the free labor requirement. Labels: Google, hats of money, labor posted by ruffin at 3/27/2012 10:36:00 AM |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 0 comments | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Saturday, March 24, 2012 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
The good is that Apple doesn't seem as scared to go after the money post-Jobs. If the iPhone gets a little bigger for the iPhone 5, then we know they made a compromise "for the people". That will bring in more of the business Jobs intentionally left on the table, which is great in the short term. But it also says that the company is becoming less disciplined, which is eventually going to catch up with it long term. Take this popular story from today: Former Apple TV Engineer Claims New Apple TV Interface Discarded 5 Years Ago [Updatedx2] - Mac Rumors: Margolis goes on to say that "now there is nobody to say 'no' to bad design", referring to Steve Jobs' passing. He does a heck of a backpedal later, apparently. "One of my favorite parts of working at Apple was knowing that SJ said “no” to most everything initially, even if he later came to like it, advocate for it, and eventually proudly present it on stage." Yeah, good save, dude. I think we know what you meant. Jobs killed this UI, and now not only is it not better than it was the first time, the culture at Apple has changed. It doesn't matter if the blind dog catches a squirrel, and if the AppleTV is one of those or not. What matters is that he's now blind. And that he learns better metaphors. $600 is starting to look like a good, safe time to sell. It'll probably kick up to the $750 predicted this year, but in 4 or 5? Irrational exuberance tends to end badly. Labels: apple posted by ruffin at 3/24/2012 10:47:00 PM |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 0 comments | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Thursday, March 22, 2012 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I'm finally getting to the point that my hands hurt from typing too much, especially my index fingers, thumb, and wrists. I use a Microsoft Natural Keyboard Pro, which has helped in the past, but it's not enough. I think the reaching for gthy is getting to me. The mouse isn't helping either. So for the usual reasons, I'm considering Dvorak. How to Switch to a Dvorak Keyboard Layout: 8 steps - wikiHow: In this sample paragraph, 70% of the letters are on the home row in Dvorak, with 15% top and 15% bottom. In QWERTY 30% are on the home row. Beware, it takes a little getting used to, especially if you're transitioning from a standard QWERTY keyboard. The problem is, of course, that we don't just use keyboards for typing English any more. And there's a good negative in that piece, however, that got me thinking... "Depending on your operating system, keyboard shortcuts such as CTRL+C may lose their convenient placement." So the question for becomes, even if I could rethread my head around the layout, how would I do in VIm? Let's check the vim Wikia entry for "Using Vim with the Dvorak keyboard layout": Many Dvorak users have no problem learning the normal Vim commands with a Dvorak layout. The movement keys may not look it at first but are in fact pretty intuitive -- J and K are on the middle and index fingers of the left hand, right next to each other in the same order as on the qwerty layout, while H and L are the index and pinky fingers of the right hand, so the one for left is on the left -- again perfectly accessible. [from the comments from the same page:] I have been using Dvorak (as X keyboard map) and Vim for about two years now, without *any* adjustments (concerning Dvorak) to Vim at all, and it works great. The solution imho is to simply remember Vim commands by their name, rather than their keyboard position (e.g. I think I want to d(elete) 2 w(ords), and hit d2w without thinking about the key positions (my fingers know the position themselves). I have a hard time buying that. Why do I want to leave roguelike controls again? Sounds like a mess. It's an interesting example of standards inertia. Guess I'm looking for a new keyboard. EDIT: I think I'm trending towards this camp. Effectively my brain was trying to wire three kinds of cursor movement modes: posted by ruffin at 3/22/2012 09:33:00 AM |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 0 comments | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
And it gets more complicated... The Science Fiction Book Club seems to run a lot of deals. They had a buy two books, get a third (of lesser or equal value) for $1.99. Then they had, at least briefly, a buy two, get one free special, just to rub it in that I'd fallen for the previous deal. The current deal? 1 Book for $12.50 or 3+ for $10 each is valid for a limited time. So now, they're trying to get me to order the three most expensive books -- up to $35 -- that I'd considered, but didn't bite because they were too steep. I don't really have any in that category, but it does make for another level of bargain gaming. I needed to buy 4 books in a year of $10 or more. So with the buy two, get 1 reduced or free, I shoot for two relatively close to $10 and another that I would like to get for cheap. Now, with 1-3 for under thirteen, the deal is to scour the site for the most expensive books I could want and order them now, while the gettin' is good. They're clever. I'm guessing the Club pays a flat rate to print X copies of a certain edition, and then how they pull the cash back out is totally up to them. If they've got a backlog of older $20+ books, this is a good way to clear them out. To feel like you're getting a deal, you have to go out of your way to search for ones with higher prices. Also keep in mind that this deal is largely for those who have already purchased their commitment and have stuck around. None of these would count towards my four for the year. They're additional books, no matter who is buying. Also strange -- when I remove the automatically entered coupon code for the book-for-$12.50-and-three-for-$10 promotion, the buy two, get one deal pops back in, which, for people shooting closer to $10 books, is a much better deal. You can knock two off your requirement and bag another newish book, the real strength of the SFBC, for under market price. But the main reason for marking this deal's existence here is for those who join and do find books who aren't necessarily the newest and whose prices are a ways above $10, keep those in mind & wait a while. Your deal might be coming soon. Labels: SFBC posted by ruffin at 3/22/2012 07:21:00 AM |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 0 comments | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Wednesday, March 21, 2012 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I've learned two important things about my underpowered Optimus V Android phone this week. First, even apps that's aren't stored on your phone's internal memory may be eating up a pretty hefty chunk of that limited resource. Use the indispensable DiskUsage app to look around in "App Storage" and see what's silently eating your space. I took off lots of seemingly innocuous, rarely used apps (Walgreens (order pictures directly from phone), StubHub, and a few others) that seemed to plant small (1 meg or so) souvenirs into internal memory, and got a ton of space back. Secondly, I've been wondering why Google's Maps app didn't keep at least a high-level, coarse map on SD card just so you could know you're in, say, Texas, not South Dakota, even without internet. All too frequently, when I'm off the beaten path, all I get is a situated triangle/arrow stuck in a Tron-like grey grid. Because I didn't have much space on internal memory, I'd kept uninstalling Maps' updates and hadn't noticed this new feature... “Download map area” added to Labs in Google Maps for Android - Official Google Mobile Blog: When you’re visiting an unfamiliar location, Google Maps for mobile is great for getting an idea of how close you are to your destination, where streets and landmarks are in relation to each other, or just for getting “un-lost.” But what if you don’t have a data signal, or you’re abroad and don’t have a data plan? We say that if you use Google Maps for mobile, you’ll never need to carry a paper map again. The “Download map area” lab in Google Maps 5.7 for Android is a step in making that statement true even when you’re offline. Since I've freed up a good deal of internal memory, I was able to download and hang onto Maps comfortably. Nice feature. Now a cached 10-mile by 10-mile square isn't coarse data all over, but it's a huge improvement. I've been riding the train a good deal recently, and it tends to go into places really near large roads, but apparently not close enough to get a good signal with Virgin Mobile. So I've filled in the dead spots with caches to know about where I am even when the phone's 3G connection would prefer not to tell me. posted by ruffin at 3/21/2012 06:50:00 PM |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 0 comments | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Monday, March 19, 2012 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() One thing that initially looked interesting about the Science Fiction Book Club that I'd seen in a few reviews was that you could find popular books by using the search box that weren't viewable on the SFBC site if you simply browsed around by clicking. I'd read a little of The Night Swimmer on my Android's Kindle app, and liked it enough to see how expensive it'd be to grab from the SFBC. 1.) Pretty expensive. $17.50. Kindle is $12 and the hardback (cheapest is new) is $12.25 shipped, so close to the usual SFBC markup. 2.) It won't count towards my required purchases. That second discovery is what got me. I'm not sure why I'd pay the extra $5-6 to order from the Book Club if there's no benefit for doing so. The "learn more" link about the Book Search Plus "feature" even goes so far as to say... These books may ship separately from other books in your order. Since Book Search Plus orders are shipped by third party businesses, we are unable to control or track the shipment of your order. ... so my guess is that you're simply using the SFBC as the middle man. There's also a buy 2, get 1 free (of course, since I just bought two to get one for $1.99 last month) deal going now as well, and Book Search Plus books (here called BooksearchPLUS) don't count there either. DVDs, merchandise, audio, BooksearchPLUS, and Clearance titles are not eligible for this offer. For additional books excluded from this offer, please see list below. So the review that said Book Search Plus was a neat feature doesn't click with me. Seems easier to hunt those down on Amazon than to use the SFBC as a buyer. That said, I'm quite enjoying REAMDE. Not sure how many times it can be read before the glue binding gives out, but n > 1, so I'm happy enough. I think if you like to buy books the moment they're released (or like to preorder them) to read, not keep in crazy pristine condition and sell later, the club is actually a relatively decent deal -- iff you limit your buying to new releases and a few omnibuses. I've had three books come with slight damage, obviously from the mailing (two damaged by the off-spec sized Steve Jobs bio, which ground into two books while in the mail, and some damage to the top left corner of the front cover of REAMDE with a little damage to the tops of the pages) out of 8, so we're not going great getting books in super condition. But, again, the pages are all there. Labels: SFBC posted by ruffin at 3/19/2012 10:44:00 PM |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 0 comments | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Friday, March 16, 2012 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Help.GitHub - Git cheat sheets: To ignore whitespace (Ruby is whitespace insensitive) Labels: git, noteToSelf posted by ruffin at 3/16/2012 10:33:00 AM |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 0 comments | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Thursday, March 15, 2012 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Pro Git - Pro Git 1.5 Getting Started First-Time Git Setup: $ git config --global user.name "John Doe" Labels: git, noteToSelf posted by ruffin at 3/15/2012 10:13:00 AM |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 0 comments | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Monday, March 12, 2012 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Another quick Science Fiction Book Club update. Ordered three more books on the 6th which arrived no later than today, and potentially as early as the 9th; I'm afraid I hadn't checked mail in the interim. So that's pretty quick. ![]() I'd also like to show how my new Hollows series book from the SFBC stacks up to my (okay, yes, signed!) copy of The Outlaw Demon Wails, an older Hollows title (yes, the names are atrocious, in stark contrast to the writing in the rest of the book). First off, the "real" hardback has a much better binding than I remembered, shown above, even better than the Jobs bio I showed last time. Second, the fresh SFBC printing is, as we already knew, much smaller than the "real" book. Thought it'd be worth viewing here quickly. ![]() My purchases this time were two that'll go against the four I have to buy during the year -- one a relatively new release, Umberto Eco's Prague Cemetery, and the other Heinlein's Outward Bound, an omnibus which includes Have Spacesuit, Will Travel, Starship Troopers, and Podkayne of Mars. I've listened to much of the last one on audio via Overdrive, the app that lets you "check out" digital jive from your library, and have enjoyed it. I just don't drive enough now to finish it, and have been waiting to have a chance to read it. Also wanted to read Starship Troopers at some point, so this one isn't a horrible deal. I also bagged A Pleasure to Burn by Ray Bradbury. They don't have Fahrenheit 451, but this collection apparently tracks other stories he wrote preparing for 451. I wouldn't've bought this except for their $1.99 third book deal, so I guess they "got me" on that one. So even with a few obvious mistakes on that list (Brooks, Hamiliton), I'm still decently ahead of a long trip to Amazon.com.
If I lose more than $31 on my last two books, I'm in trouble! I think I can get close there, though. I have purchased two books I didn't really want -- Terry Brooks and Ray Bradbury -- but I hope I'll enjoy them anyhow. Labels: SFBC posted by ruffin at 3/12/2012 07:27:00 PM |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 0 comments | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I've been trying to set up git on Windows. It's a pain for me for some reason. Lots of stuff not there by default (I'm using the MINGW32 hosted version) that does seem to be in the Mac package. Now I just have to figure out how to link to git difftool. /sigh Core Dump: Quick and Dirty : Vimdiff Tutorial: Keyboard Shortcuts: posted by ruffin at 3/12/2012 09:43:00 AM |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 0 comments | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Thursday, March 08, 2012 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Finding out the name of the original repository you cloned from in Git - Stack Overflow: You can also use git remote show origin to see much more information about just that remote. And in case I missed this earlier... For example, to show the 4th last commit of the file src/main.c, use: Labels: git, noteToSelf posted by ruffin at 3/08/2012 11:59:00 AM |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 0 comments | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Where is the Hosts File on Windows x64? | sepago: Navigate to C:\Windows\System32\drivers\etc.QED. And just for fun, here's where the Mac OS X hosts file is to (and how to edit it): sudo pico /private/etc/hosts (sure, I'd use vi, not pico, but if you can't figure pico out... Pico is awesome for anyone introducing themselves to *NIX.) Labels: problem solved, windows posted by ruffin at 3/08/2012 10:13:00 AM |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 0 comments | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Wednesday, March 07, 2012 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I'd been thinking about setting up RSS for a few random mailinator addresses I use, but then today I see this... POP3 Access! You can now access all Mailinator inboxes via POP3.In other news, Blogger just changed BlogThis after, what, 8+ years of the same box. Crazy. I'd say I miss the old one (the new one dumps you directly into an HTML WYSIWYG editor), but so far, I'm not sure I do. They need to add a keywords spot to it, though. posted by ruffin at 3/07/2012 09:36:00 PM |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 0 comments | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I shoulda linked this in a while back (Feb 17th, apparently), when I used it. The bottom line is that you find the package, right-click the appropriate shin-dig (see below), and then use a GUI. Because Oracle said so, that's why. How can I use Oracle SQL developer to run stored procedures? - Stack Overflow: I highlight it in the SQL*Developer Object Navigator, invoke the right-click menu and chose Run. (I could use ctrl+F11.) This spawns a pop-up window with a test harness. (Note: If the stored procedure lives in a package, you'll need to right-click the package, not the icon below the package containing the procedure's name; you will then select the sproc from the package's "Target" list when the test harness appears.) Labels: oracle posted by ruffin at 3/07/2012 11:56:00 AM |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 0 comments | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
You don't want myFile.cs~ littering up your file system. There are some really heavy-handed fixes out there (like deleting all the files ending in tilde every so often), but that's a far cry from a best practice. In vim, I just set up a backup directory for those files so that they're all in one place, not over the file system. I think that causes some trouble when I edit files of the same name, but I haven't really checked. Still, a much more elegant solution than combing the whole system to blast every backup. But how to do this in JEdit? Here we go... Saving Files: The behavior of the backup feature is specified in the Autosave and Backup pane of the Utilities>Global Options dialog box; see the section called “The Saving and Backup Pane”.` So on a Mac, that's a Cmd-, for Preferences, then the below... ![]() Step 3.) Profit. Labels: jedit, problem solved posted by ruffin at 3/07/2012 09:56:00 AM |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 0 comments | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Apple Creates a New App Store Category Called 'Catalogs' on Eve of Media Event - Mac Rumors: Joaquin Ruiz, CEO of Catalog Spree, seems to believe that the timing could be related to the media event tomorrow. Ruiz said in an email, "Adding an app category is not something that Apple does lightly and we believe Apple's decision reflects the importance of this usecase in the Apple App Store ecosystem." [emph mine] That's a winner. posted by ruffin at 3/07/2012 08:12:00 AM |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 0 comments | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Android Market, Books, Music rebranded "Google Play" to compete with Apple's iTunes: Google has rebranded its Android Market mobile software store as Google Play, folding in Google Music and the company's eBookstore to create a single brand for all of its digital and cloud based content services, similar to Apple's iTunes. Amazon already had a good, self-sustaining ecosystem for the Kindle Fire with its own app store and music app and, of course, Kindle reader, and now Google's finally following. Google's initiatives do often feel disjointed, as if each was born in Google Labs and left as it grew up to fend for itself. Putting them under the same marketing umbrella will undoubtably get those teams working together a little more closely, which is a good thing for Android. I still wonder how long before Google tries to close Android and turn Nexus into a Google-Motorola-only event. Lots of Google rebranding. Google+, Google Play... Maybe Nexus/Android is next. posted by ruffin at 3/07/2012 08:11:00 AM |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 0 comments | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Tuesday, March 06, 2012 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Google Kills Its Other Plus, and How to Bring It Back | Epicenter | Wired.com: On Wednesday, Google retired a longer-standing “plus”: the operator, a standard bit of syntax used to force words and phrases to appear in search results. The operator was part of Google since its launch in 1997 and built into every search engine since. So how many stupid searches have I run since October of last year? It didn't seem to be working... guess I should listen to my intuition more closely. posted by ruffin at 3/06/2012 10:07:00 AM |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 0 comments | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Monday, March 05, 2012 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I was trying to get an ExtJS 2.2 JsonStore to send raw parameters to a WCF service. Catch-22 was that WCF doesn't accept raw params, and JsonStore seems to like to throw POSTs only (by default) when requesting data. And this breaks the deadlock. Very nice. Edgardo Rossetto’s Blog � Raw HTTP POST with WCF: Here’s how you read the input Stream:public void DoWork(Stream input) Labels: ExtJS, problem solved posted by ruffin at 3/05/2012 02:28:00 PM |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 0 comments | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Thursday, March 01, 2012 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() Let's start by playing, "One of these things is not like the others." I guess the picture plates (the slick pages with reproductions of pictures) make the Jobs biography more difficult to print independently, though I'm not sure I would have known if the plates were missing. The four non-Jobs biographies are all exactly the same height and width, if not thickness. The fonts are different, which I expected, but what I didn't expect is that the paper itself changes from book to book. I'd really be interested to see how the Science Fiction Book Club's deal reads. It's not so strange that they can print essentially every book the same size (wonder if they make special SFBC bookshelves too), but that the paper used inside comes closer to mactching the full-sized books is surprising. To be clear, as an example, A Perfect Blood has the slightly pulpy, textured paper (sort of an older paperback feel) that I'm used to the Hollows series having, I think. Evolutionary Void is white, smooth, hybridized-with-Bible-paper stuff. I can't figure out exactly what they've changed. This page's criteria so far is the closest to helping me see what's different other than size. End papers are, indeed, white in these books, even when the paper isn't. There isn't a price on the books, on the jacket or the jacket's bar code, just as that page suggests. Strangely, that's true for the dust jacket for Steve Jobs as well -- it looks like it too has an SFBC jacket. There is a pretty plain looking, seven digit number on the back, outside dust jacket cover for each book that I don't recognize. For these books, those numbers are... Jobs: 1349911 Perfect Blood: 1350398 Evolutionary Void: 1316162 (I'd somehow missed that this is 2¢ in hardback at Amazon. ARGH. IDIOT.) Reamde: 1344352 Brooks omnibus: 1348717 So it looks like that number represents the order that the book club publisher got 'em. (I'm a little steamed over my stupidity on Evolutionary Void right now. ARGH. Stupid. I actually overpaid on this one... $4.01 for Amazon used shipped, $1+(18.70/5) = $4.74 for the SFBC edition. STUPID.) Oh well. So that's interesting. I'll see if I can't get some pictures up of the paper changes that are a little higher quality than the picture, above. ![]() UPDATE: While reading last night, I think I figured out where the obvious cost cutting is. I mean, less paper is one, the slightly cheap feel of the cover is another (this is not a library friendly cover by any stretch), but the way the pages are bound is exceptionally suspect. It's just glued in. I'm pretty sure I read something about that process while Googling around before, but it wasn't quite so obvious until last night. The Isaacson Jobs bio has real, threaded binding, so I'm sticking with my guess that that's publisher printed with SFBC jacket. I'll compare the Harrison book to a hardback I have at home and post some pictures. For anyone keeping score, the SFBC standard printing is... 1.) Smaller than a "real" hardback 2.) Often on different paper (though that needs more research) 3.) Has an inexpensive hard cover that's pretty light. 4.) Has a dust jacket without a price, but with what's now a nine digit "order of release" (potentially) book club number printed on the back. 5.) White endpapers. 6.) Is inexpensively glue-bound. Labels: SFBC posted by ruffin at 3/01/2012 10:59:00 PM |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 0 comments | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Now that's pretty neat. As the page says... It's like TiVo for your terminal! Not sure how often I'll use it, but that's one neat enough to wait until someone's watching and make up a reason to use it. And, btw, to invoke, it's Option-Cmd-B. Kinda hard to find; there's no "Instant Reply" in the menus. It's "Step back in time" instead. posted by ruffin at 3/01/2012 10:48:00 AM |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 0 comments | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
All posts can be accessed here: Just the last year o' posts: |
|||||||||||||||||||||
|
||||||||||||||||||||||
|
|
|
|