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.

As an Amazon Associate, I earn from qualifying purchases. Affiliate links in green.

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!

Saturday, March 25, 2023

From neowin.net:

Oddly enough,ย a documentary called "Code: Debugging the Gender Gap"ย would seem to dispute the notion that Clippy was popular with focus groups before its launch. Former Microsoft executive Roz Ho stated."

Most of the women thought the characters were too male and that they were leering at them. So weโ€™re sitting in a conference room. Thereโ€™s me and, I think, like, 11 or 12 guys, and weโ€™re going through the results, and they said, โ€˜I donโ€™t see it. I just donโ€™t know what theyโ€™re talking about.โ€™ And I said, โ€˜Guys, guys, look, Iโ€™m a woman, and Iโ€™m going to tell you, these animated characters are male-looking.โ€™

Omg. They're absolutely right.

Be as open to seeing bias as you'd like, you will always have a blindspot. Until today, this was one of mine.

Labels: , , ,


posted by ruffin at 3/25/2023 06:14:00 PM
Friday, April 30, 2021

Here's a nice command template for Pandoc which, in spite of its foibles, is still a very cool library.

It turns out to be quite simple to convert a docx to markdown. The following example is from the Pandoc demos site.
pandoc -s example30.docx -t markdown -o example35.md

However the generated markdown from the above command has a few issues.

The lines are only 80 characters long. I do not know why an 80-character line length is the default but I do not like it. This is fortunately quite easy to fix with the option โ€“no-wrap.

Links do not use the reference style. I prefer the reference style links because it makes the text less cluttered by moving the link it self to the bottom of the file. This is also easy to fix with the option โ€“reference-links.

With the two options added the command looks like this.

pandoc -s example30.docx --no-wrap --reference-links -t markdown -o example35.md

Now the generated markdown is very readable and close to what I would write myself. 

Okay, I might quibble, well, vehemently deny "quite simple" and "very readable" are accurate. I just tried it on a complicated outline that was making Word throw up, you know, a doc where you try to add another line to your outline and Word gives up, not matching up indent or numbering with the rest of the content. 

I wanted to move to Markdown so I could define precisely where each bullet level was and who belonged to it. It's painful that we're in 2021 and we haven't come to the realization that you have to use some sort of markup code for complex document authoring. No rich text editor will ever achieve true WY[intend]IWYG.

Pandoc results were... not great. Here's a snippet:

3.  Unchecked and Enabled when instructor has access for none of the selected questions (I-I/F) -- TC 697849
iii. 
iv. User perms none \<\<\< Impossible! User owns some in this situation.
    1.  
    2.  
    3.  
```{=html}
<!-- -->
```
e)  Transfer Ownership is visible -- TC 694132
f)  Remove is visible -- TC 694132

Yuck. It didn't even convert bulleted lists with a), b), c) to a list in Markdown at all. To be clear, I don't have empty 1., 2., 3. in the original. Those are hidden in Word's DOM somewhere. Ugh.

So now I'm in VIm setting things right.

But it's still a good command template:

pandoc -s in.docx --no-wrap --reference-links -t markdown -o out.md

Labels: , , ,


posted by ruffin at 4/30/2021 05:16:00 PM
Wednesday, February 04, 2015


I hate hitting page down and getting breaks in the middle of the view, you know, like what's pictured, above

It's a common trope in pdf viewers to offer two sorts of page viewing. One is to show the pages "continuously", even though your doc is still displayed as independent pages. I've never really understood this. It's the worst of two worlds. You have pages you can't really flip, and they're presented in a scrolled format with giant, distracting breaks between them. Either scroll as a scroll (iOS iBooks has this as an option, which I like -- on those rare occasions that I'm reading via iBooks) or show discrete pages, you know? No, "online" viewing mode doesn't count. What the heck kind of formatting is that? I'm writing a document, not a web page, man! ;^) Even worse is when you view a "continuous" style document, hit page down, and find yourself with a shifting blank spot between your pages which keeps moving as you keep paging down, sort of like when your vertical hold was broken on your TV years back.

I like, obviously enough, "Single Page" viewing in pdf readers. But how do I get that in Word?

Googling for a "single page" setting in Word would be a mistake, I've found. What you're really looking to do, in Word's parlance, is zoom to the whole page. If you have a little less or more than a whole page on your screen, it'll start getting creative when you hit page up and page down, which stinks. But if you zoom to exact page size, it'll behave as if you were viewing as a single page in your favorite pdf viewer, even if you resize the window.

On most Words I've used, from the 90s on up, you can get to this setting by hitting `Alt-V` then `Z`, the selecting "Whole page".

Labels: ,


posted by ruffin at 2/04/2015 09:04:00 AM
Friday, November 25, 2011

I've been using Word Starter a lot recently. For some reason, it's all I've got at work, and it's also on the new HP subcompact (d1m) I finally received last week. It's not bad, and it even is nice enough to support the menu-based keyboard shortcuts I'm used to using. But when I tried to add a footnote -- I think that's Alt-I-N -- nothing happened. It sat around waiting for me to hit something after I. Perhaps I'm using Word 2000 shortcuts, or perhaps I just didn't remember correctly. But perhaps I can't add a footnote?

If you check the help to see how to add a footnote, Word Starter'll tell you that, sure enough, you can't add a footnote to a document.

Microsoft Word Starter 2010 is a simplified version of Word that comes pre-loaded on your computer. Word Starter includes features that are basic to creating and working with documents, but it does not include the rich set of features found in the full version of Word. This article lists the differences in features between Word Starter and the full version of Word.

If you find that you need a richer set of features than what Word Starter provides, you can easily upgrade from Word Starter to Word. On the Home tab, click Purchase to visit an online retailer, where you can purchase and download Office right away.


That's cute. Here's the footnote specific jive:

Footnotes and endnotes

Not available to create

If you open a document that contains footnotes or endnotes, you can click the footnote or endnote link to jump to the footnote or endnote. You can also cut, copy, or paste the footnote or endnote, and you can format the text.


Hrm. That seems weird. What if I want to move text that has a footnote by cutting and pasting? What if I want to duplicate text by copy and pasting? Does the footnote go away?

No, and that's how you add 'em. Highlight the footnote, copy, and paste in somewhere else. Now edit from the old footnote text to the new.

Of course, this requires that you have a doc to cut and paste from that already has a "donor" footnote. Hey, look! Here's one now! (Though always be wary of taking Word docs from strangers.)

It's an interesting move by Microsoft -- you're essentially giving Word away for free, except for those who don't like feeling constricted when they edit, in spite of the fact that pretty much everything is still there. Wonder how much we can thank OpenOffice for this?

Labels: ,


posted by ruffin at 11/25/2011 04:29:00 PM
Wednesday, November 17, 2010

Okay, <3 might be a little strong, but I've been using Word 2004 on my MacBook (and some 98 [sic] on an old iMac!) for a while, and it stinks. Though I still think Rosetta was made predominantly for running Office, 2004 and Rosetta on 10.6 (and Intel, natch) simply don't get along. It was slow, and often held up the entire box while preparing to open a doc. I was considering buying Pages once it was available on the App Store for $14.99, as OpenOffice's bloat is even worse than 2004 at times.

Well, I recently scored Word 2008 as part of a $25 iMac G3 clearout. Between Office 2008 and the Airport card, it's as if I got paid to take the old box. (Which reminds me, I have a really cheap, indigo iMac G3 with 10.4 and a fried ethernet connection for sale...)

But let's just say that if you've been waiting to upgrade from 2004, it's worth it. 2008 is getting more plentiful with the release of 2011, and if you're creative, well, somebody might pay you to take it. It's nice to have a native word processor again; I'm not sure how I put up with emulated PPC so long, honestly. And 2008 doesn't even pretend to have ribbons.

Maybe I <3 Word 2008 >> Word 2004?

Labels: ,


posted by ruffin at 11/17/2010 04:36:00 PM
Tuesday, March 30, 2010

Forget the arms race, in software we get the great interface race (via AppleInsider):

The Ribbon feature has proven controversial, with Microsoft's supporters hailing it as the future of user interfaces, and its critics arguing that the move is simply an arbitrary change intended to derail any familiarity with (and therefore potential for competition from) its free OpenOffice doppelg๏ฟฝnger. [emph mine]


I wonder how accurate that is. I've been teaching composition for a while, and did notice that Word on the university computers sports a much different interface than the 2000, 2004, and 98 [sic] that I'm using myself. It's a little disorienting, but not a big switch once you've used it for a while. And most of the keyboard shortcuts I've learned (Alt-F-A for Save As) still seem to work.

So I wonder how much of this new interface is to ensure Word looks like it isn't OpenOffice. That is, I seriously doubt the interface of OpenOffice is going to make the same jump; that seems, from an engineering point of view, at least, like a complete misuse of resources.

AppleInsider's report of a conspiracy theory around the ribbon makes some sense if there's an easy mental upgrade from older versions of Word or OpenOffice users to the new Word, but not the other way around. Can that be done? Is Microsoft that clever, really?

Labels: , , ,


posted by ruffin at 3/30/2010 09:22:00 AM
Sunday, November 22, 2009

I enjoyed thinking through Should we fight for Ogg Vorbis?, a contribution to the Linux Journal by Glyn Moody back in 2007. The most problematic statement in the piece, I think, is this one.

So my doubts about this campaign have nothing to do with any weaknesses in Ogg. It's just that I wonder whether this is really something the free software world should be expending much energy on when there are other more pressing problems. Whereas DRM and software patents, for example, are manifestly and unequivocally bad for free software (and indeed for everyone), that doesn't seem to be true for the MP3 format.


Is there a reason to have an open and free format when patent holders don't seem to care much about the folks who are making free software and aren't paying royalties/license fees? Rather, aren't there more pressing places where license holders are worried about enforcing patents where someone could be turning their OSS coding resources?

I'm not sure how to feel about this one. I know that I'm getting to the point that I prefer PDF over any other file format for printed works. I'm so freakin' tired of dealing with the way doc, docx, rtf, etc keep fookin' slightly whenever I open them in the wrong application. I used to make do with Microsoft Word, 1998 and 2000, and as long as those apps kept working I figured I'd make do. They don't work so well any more. Now that Word 2100 or whatever it's at now can save in pdf, I'd rather just see pdf files. It's harder for me to edit a pdf than even a wacky docx at times, but there are a wealth of fairly reasonably priced apps that'll allow one to mess with pdfs. At worst, I just print them out and scrawl.

Perhaps ODF is the best alternative, but PDF is the practically open format that seems to be doing best, and I don't even have to Google LAME to display it on most OSes.

Does this disinclination to support ODF more directly comprise my politics? Yes, I believe it does. We need a standard that will display well outside of its contemporary platform, and display that way for the foreseeable future and beyond. That seems to be pdf to me (and yes, I realize pdf can sometimes be no more descriptive than avi; you really don't know what's in the wrapper. Again, egg + face).

Still, is there "practically free" that should be good enough? I'm not sure. I don't like the mp3 reasoning any more than I did for gifs years earlier or pdfs, even after they've been declared an open standard (thanks wikipedia) in 2008. OOXML is open too, you know. Yet there's a certainly practicality to using these formats not designed to be open to humans and machines at the same time.

I hate bluffing. Is GNU/hurd ready yet?

Labels: , , , , , , ,


posted by ruffin at 11/22/2009 01:00:00 PM
Tuesday, December 02, 2008

Use AbiWord to convert filetypes on the command line - The Open Source Weblog (though I've changed it to rtf):

For instance, let's say you have a Word document named foo.doc, and you want to convert it to Rich Text Format without having to open the program.

$ abiword --to=rtf foo.doc


Works on Windows too. Woohoo.

Labels:


posted by ruffin at 12/02/2008 10:00:00 AM
Saturday, November 29, 2008

Thank heavens. I'm going to need more chicken today:

Another method for deleting comments is to use Find and Replace. Select Edit->Replace and do the following:-

1) Leave the Find What box empty.

2) Click the Format button, choose Style, and select the Comment Reference style. (Donโ€™t see the Format button? Click the More button to make it visible.)

3) Leave the Replace With box empty.

4) Click the Replace All button.

Labels:


posted by ruffin at 11/29/2008 04:57:00 PM

Getting rid of "Quicktime and and a TIFF (uncompressed) decompressor..." errors in Word, from here and edited quickly for appearance and truncated a bit.

Here's the simple solution if you are on a PC and have no access to a macintosh. The solutions mentioned above aren't really complete and therefore don't work.

download GZIP from www.gzip.org
save the document (word, powerpoint etc - whatever it is) as a webpage (htm/html).
Go to the subdirectory created along with that web file and find the .pcz file
Rename it as .gz (eg. REN *.PCZ *.GZ).
copy GZIP.EXE into the same directory as the picture file.
use the command GZIP -d *.gz
in the directory and you'll find a file without a file extension.
Rename the file and give it the extension .PICT

Now you'll be able to open the picture, assuming you have quicktime installed, by simply double clicking on it.


Winner, winner, chicken dinner.

----------------
Now playing: Dolores O'Riordan - Ecstasy

Labels:


posted by ruffin at 11/29/2008 11:58:00 AM
Tuesday, August 05, 2008

Sub MacroPaste()
'
' MacroPaste Macro
' Macro created 6/6/07 by Bailey
'
'http://word.mvps.org/Mac/PasteText.html

'
' equivalent to Edit>Paste Special>Unformatted Text and to using
' the smart button in Word 2004 to select "keep text only"
'
Selection.PasteSpecial datatype:=wdPasteText

End Sub

Labels:


posted by ruffin at 8/05/2008 10:33:00 AM

<< Older | Newer >>


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.