MacBook, defective by design banner

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.

FOR ENTERTAINMENT PURPOSES ONLY!!!
Back-up your data and, when you bike, always wear white.
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!

Friday, December 25, 2009

How do I assign myself the sysadmin role in SQL Server Express? : Microsoft, SQL Server Express 2005, Installed on Vista Home Basic, User does not have permission to perform this action; Error 15247:

With Vista's User Account Control (UAC) turned on, you're really not an Administrator after all. If you turn off UAC (or launch the Studio with the 'Run As [Administrator]') everything will be back to the way you're used to it working.


Thank heavens. Was pulling hair over here.

posted by ruffin at 12/25/2009 11:25:00 PM
0 comments
Sunday, December 13, 2009

I've recently come up against a file of sql that's too big for SQuirreL SQL to handle... I keep getting a Java Memory Heap error when I try and paste it all in. The quick answer appears to be csplit. To break a giant file into files of 10,000 lines each, you can call this:

csplit tokenLinks.sql 10000 {100} <<< Don't use!

That basically says to chunk the sql file into 100 groups of 10,000 lines each.

The problem here is if your file doesn't have 100 groups of 10,000 lines... I used 100 b/c the number of lines often changed from file to file, and I didn't want to have long last files if I pitched low. That is, 15 groups of 10,000 lines isn't really enough if the file's got 200k lines.

So csplit gives you an "out of range" error if you shoot too high and then, get this, erasing all the files it made. Nice. So it's worthless.

Not so fast. [Chapter 35] 35.10 Splitting Files by Context: csplit:

Unfortunately, if you tell csplit to create more files than it's able to, this produces an 'out of range' error. Furthermore, when csplit encounters an error, it exits by removing any files it created along the way. (A bug, if you ask me.) This is where the -k option comes in. Specify -k to keep the files around, even when the 'out of range' message occurs.


csplit -k tokenLinks.sql 10000 {100}

Happy and reponsitive [sic]. And, at least on my iBook running 10.4, the last file does have the last entry, so nothing's missed.

Labels:


posted by ruffin at 12/13/2009 03:03:00 PM
0 comments
Friday, December 11, 2009

Just passing it along. Google CEO Eric Schmidt Dismisses the Importance of Privacy | Electronic Frontier Foundation:

Yesterday, the web was buzzing with commentary about Google CEO Eric Schmidt's dangerous, dismissive response to concerns about search engine users' privacy. When asked during an interview for CNBC's recent 'Inside the Mind of Google' special about whether users should be sharing information with Google as if it were a 'trusted friend,' Schmidt responded, 'If you have something that you don't want anyone to know, maybe you shouldn't be doing it in the first place.'

Labels: , ,


posted by ruffin at 12/11/2009 11:04:00 AM
0 comments
Thursday, December 10, 2009

One of the blogs I most enjoy reading is Trace Ramsey's Cricket Bread. I'm not going to go through the excuses I'm not living like he is, where it certainly seems like his approach to the grid is one that's wholly defensible and consciously crafted on every level. There's a [near?] minimalism at work in Ramsey's approach to life, from his 100 mile diet to his self-published Quitter zines/books.

Today's post contains a few especially graphic images of animals-becoming-meat as well as this excellent bit of perhaps slightly controversial, but genuinely good writing.

My grandfather’s task was brutal regardless, but maybe less so as there were no mounted heads on the walls of his home like there were in our home. The need for those stuffed and preserved reminders is something that I couldn’t explain back then, but know now is an indication of small mindedness, a dedication to the outward projection of dominance when you know that you are inescapably weak inside.

posted by ruffin at 12/10/2009 08:02:00 PM
0 comments
Thursday, December 03, 2009

AppleInsider | Google launches free Public DNS:

The new service enables users to bypass their own Internet Service Provider's DNS to use Google's performance-optimized name lookup server
...
Other free DNS services are already available, but most cover their costs by redirecting failed lookups (for mistyped or incorrect URLs) to ad supported pages that suggest alternatives. So far, Google isn't performing any such commercial redirects. Instead, the company is providing the service for free as a way to collect information about how users use the Internet on an anonymous and aggregated level.


Of course it's anonymous. It's worth more to Google as anonymous data.

Anyhow, the advantage is no 404 ads? Is that really a huge advantage? And then you provide Google free labor? Interesting. Are we really so excited to use Google that we'd like to give up some privacy -- maybe not individually specific privacy, but our privacy as collective demographics -- to avoid a few cruddy ads?

There's a politics of the collective that is being almostly entirely forgotten in our age of "postmodern" individuality (let's just call it "late capitalism", right?).

Labels: , ,


posted by ruffin at 12/03/2009 07:33:00 PM
0 comments
Tuesday, December 01, 2009

I think the decision for Psystar to Change Tactics and Sell Mac OS X-Ready Computers? (Mac Rumors) is a more important test case than might be immediately evident.

With Apple having already won a judgment against Psystar for copyright infringement, Psystar's tactic of shifting the burden of OS X installation to the customer appears to be its new primary strategy for attempting to remain in business.

This reminds me of the GIMP without gif support or Audacity without LAME or Handbrake without whatever does the DeCSSing (in this case VLC, and the strange battle in Handbrake of making VLC be installed in the OS X Applications folder only). At what point is the gun close enough to being loaded that when it goes off somewhere it shouldn't that it's the seller's fault?

Boy, that was a horribly botched metaphor. Still, I think the point is a useful one. To butcher another, if there's this potentially illegal combination of a square hole and a square peg and I'm not only making the hole, but pointing it out in neon lettering and giving you instructions, as well as some, let's say, coupling technology that helps you insert it (I hate Freud), have I breached copyright? At what point might the law come back to attack Handbrake and Audacity? Pystar's is, it would seem, an important precedent-setting case.

posted by ruffin at 12/01/2009 01:48:00 PM
0 comments

Support freedom
All posts can be accessed here:


Just the last year o' posts:

URLs I want to remember:
* Atari 2600 programming on your Mac
* joel on software (tip pt)
* Professional links: resume, github, paltry StackOverflow * Regular Expression Introduction (copy)
* The hex editor whose name I forget
* JSONLint to pretty-ify JSON
* Using CommonDialog in VB 6 * Free zip utils
* git repo mapped drive setup * Regex Tester
* Read the bits about the zone * Find column in sql server db by name
* Giant ASCII Textifier in Stick Figures (in Ivrit) * Quick intro to Javascript
* Don't [over-]sweat "micro-optimization" * Parsing str's in VB6
* .ToString("yyyy-MM-dd HH:mm:ss.fff", CultureInfo.InvariantCulture); (src) * Break on a Lenovo T430: Fn+Alt+B
email if ya gotta, RSS if ya wanna RSS, (?_?), ¢, & ? if you're keypadless


Powered by Blogger etree.org Curmudgeon Gamer badge
The postings on this site are [usually] my own and do not necessarily reflect the views of any employer, past or present, or other entity.