News You Can Bruise

Permalink [No comments] Beautiful Soup Users Do The Darnedest Things:

Like make RSS feeds for MP3 files of the day's news, spoken slowly, in German. How long until a Nuntii Latini feed?

technology/software technology/languages

Permalink [Comments] (5) Word Of The Day:

"Timepass". One of India's most recent contributions to the English language. It seems to mean "the ability to distract you enjoyably but without making you accomplish anything", as with Tetris. It's all over the place but I saw it in an ad for an Indian movie that claimed to be "Full of family timepass" and also "A laugh-packed rib-tickler". You can tell it's a rib-tickler because it features the only comedic actor in all of Bollywood, making faces of surprise. You know who I mean. The chubby guy.

film technology/languages

Permalink [Comments] (3) :

I don't know why I could find no Python library equivalent of The Demoronizer, but today I got fed up with not just Microsoft smart quotes but with ISO-Latin-1 in general, and I wrote ASCII, Dammit, which will remove those characters from your string once and for all, replacing them with HTML encoded entities or with my lame guess at a plain-ASCII rendering.

I'm sure there's something you're supposed to do ahead of time to prevent Python from choking on those characters, and that I'll hear all about it soon, but this is still useful because you can use it to get rid of the Microsoft smart quotes. Everyone hates Microsoft smart quotes, right?

development/NewsBruiser technology/languages/python technology/languages

Permalink [Comments] (3) Curse of the well-meaning tourist:

Seth is encountering the same problem I did in Brussels, where you brush up on the local language and think you're hot stuff and everyone just speaks English to you because it's faster.

people/Seth David Schoen technology/languages

Permalink [Comments] (5) People Named After Programming Languages:

A couple weeks ago Sumana and I went to lunch with Rachel Chalmers and Jeremey Fitzhardinge. Their daughter is named Claire, and Rachel mentioned how they were jealous of Ada Norton for having been named after the same name as a programming language. But then they found out there's a programming language named Claire, which satisfied their child-naming programming language lust.

That made me curious as to what other programming language names you could give a kid. Despite (or perhaps because of) my own better judgement I am limiting the list to reasonable names and avoiding names like "Bullfrog" that I like, and individual people might like, but that a couple would never agree on.

Girls' names: Ada, Alice, Alma, April, Aura, Bliss, Charity, Claire, Eleya, Ember, Emerald, Envy, Euphoria, Ewe, Friend (if you're a Puritan), Glee, Godiva, Hope, Io, Ivy, Jade, Joy, Juliet, Lakota, Leta, Libra, Lua, Maple, Mary, Maude, Mila, Miranda, Muriel, Onyx, Pandora, Pe[a]rl, Ruby, Sally, Theta.

Boys' names: Ace, Al, Alan, Alf, Alvyn, Bob, Cecil, Chuck, Crow, Darwin, Dino, Dylan, Euclid, Heron, Hugo, Igor, Kermit (not really a programing language, but it's got an embedded scripting language), Kid, Mercury, Oberon, Occam, Pascal, Peter, Pike, Rene, Rex[x], Slate, Saul, Tom, Yorick, Zeno.

technology/languages

Permalink [Comments] (2) Not Invented Here:

If you think there are too many skinnable MP3 players or Python web frameworks, whatever you do don't look at this list of HUMAN LANGUAGES.

technology/languages

Permalink [Comments] (1) Finally!:

Hack bytecode to subclass allegedly "final" Java classes. Combine with Multiple inheritance for Java and really piss off the Java designers. Link found at Deft Code.

technology/languages

Permalink [Comments] (1) :

Long, retrospective Ars Technica interview with Scott Collins of the Mozilla Foundation, where he's quoted as saying "Well, you can't put 50 pounds of [crap] in a ten pound bag." Then later he says "I checked in stuff that broke the tree on two occasions and the same guy fixed my [crap] twice," except Ars Technica didn't censor it that time. I don't know, I just notice these things. This makes me think that they didn't censor it the first time and he said something obscure like "50 pounds of myxomitoxic bread."

technology technology/languages

Permalink [No comments] NewsBruiser, Citoyen du Monde:

Thanks to persistent prodding from Jean-Pierre Chretien (not, despite appearances, the former prime minister of Canada), NewsBruiser now has an internationalization framework. It acts like gettext but it's not. I couldn't get gettext to do what I wanted it to do, and wrestling with gettext was costing valuable time that could be better spent sipping lemonade while my users do translations for me. Now that Jean-Pierre can translate in peace, I'm free to improve the framework or maybe even get gettext to do what I want. Jarno, the door is now open to the Finnish translation you wanted to do. I'd wait until Jean-Pierre finishes I18Ning all the bare strings, though.

development/NewsBruiser technology/languages

Permalink [No comments] Smooth Operators:

I can't make this stuff up, but other people can. There are enough Perl operators to make a periodic table. Bizarrely, Perl still lacks most of these vital operators.

technology/languages

Permalink [Comments] (2) Cross-Cultural Hijinx:

So, I know all the standard British English and when I went to England a while back I thought I would have no problem communicating with the natives. And for the most part I got along fine. Nobody even tried to confuse me with double-talk about boots and lifts and parliamentary governments. But I did run into some verbal confusion for which no guidebook or web page had prepared me, and these experiences were kind of embarrassing in a that-aggravating-American or a Leonard-suffers-in-silence kind of way. For the benefit of future tourists I will now commence a vocabulary of lesser-known differences between UK and US terminology.

Exhibit A. In the US, when you order an "x salad sandwich" (eg. "chicken salad sandwich"), you get a sandwich made of x salad, which is x mashed up with mayonnaise and celery and other unsavory things. I'd never order any kind of "x salad sandwich" here.

But in the UK "x salad sandwich" means "do you want a sad little slice of tomato and piece of lettuce on your sandwich, or do you just want the bread and cheese and meat and whatever?" And clearly you want the x salad sandwich in preference to the x sandwich, because you need that tomato and vegetable to lubricate the sandwich which is otherwise pretty dry or slathered with some obscure Qwghlmnian sauce.

Exhibit B. I ran into some confusion between "chocolate" meaning a candy bar and meaning an individual, unwrapped piece of chocolate candy and meaning a piece of candy in general. I never did figure this out, and in the end I just went chocolate-less rather than navigate what seemed to be another country's "Want a Coke?" "Sure, I'll have a Sprite" issue. Now that I think about it it's kind of weird that it was easier for me to buy chocolate in French in Belgium than in English in England. Anyway, can anyone clear up this point? It's possible I was merely faced with a surly or inexpert cashier.

food technology/languages places

Permalink [Comments] (1) Suddenly, out of nowhere, an abjurer!:

Inspired by Brendan's inadvertent discovery that "Furby" turns into "Sheol" when ROT13ed, I thought I'd write a little script to find words that turn into other words. Of course, now that I've written it all I have to do is search for some of those words to find people who've done the same thing. So, a whole TEN MINUTES wasted! Some interesting potential names for fictional characters discovered, though: Cheryl Purely, Glen Tyra, Barny O'Neal, Ryan Elna, Penny Craal, Eben Rora, Anil Navy, Terryl Greely, and Ivan Vina the Pyrex clerk. My favorite combinations: tang/gnat and green/terra.

Silver Lining Department: the SCOWL Word List seems to have a very high percentage of real words, as opposed to strings found in trusted pieces of text. Maybe I'll grab it for the Eater.

Sour Grapes Department: Who cares what words yield other words when ROT13ed? The real question is, what words are composed of a string concatenated to its ROT13 equivalent? There are five common words that fit this vital criteria, not counting proper nouns:

Also the abbreviations "Re", "PC", and "SF", and the editor "vi".

technology/languages

Permalink [No comments] I Am Not An Ideogram! I Am A Free Man!:

Another gem from Steve's Chinese Word Of The Day: "Prisoner". If I ever need to write "Concave prisoner", I'm all set.

There must be little cartoons where the lines of ideograms frolic and interact in vocabulary-building ways.

technology/languages

Permalink [Comments] (2) New Theory of the Manahmanah:

I think Brendan and I thought of this on the way to California. Here are previous theories, all of which pale in comparison to the shiny new theory.

The new theory is that the hippie Muppet is trying to communicate with the Snowths, but the only thing he can get across in their language is the phrase "Manahmanah", a context-free friendly expression that translates roughly to "Hey hey!" So the lyrics of the song, translated, go something like this:

Hey hey! (It's good to see you)
Hey hey! (I said it's good)
Hey hey! (It's good to see you, to see you, to see you, it really is a good thing that you came)

Then the hippie Muppet whips out his Advanced Snowth and starts talking about how lovely the Snowth country is, and asking where are the most beautiful landscapes, and they can't understand a word he's saying.

music biology/organisms/muppet technology/languages

Permalink [Comments] (5) Just Back Away Slowly:

Workin' on a Perl farm. Trying to raise some hard code. Getting out my dollar sign. Initializing your variable. Looking in your manual. Useing all your modules. Downloading you from CPAN. Exporting your name.

Perl farm woman. I'll cast you to array. Perl farm woman. Cast you to scalar too. Perl farm woman. Don't you know I'll cast to hash... hash!

music technology/languages

Permalink [No comments] Almost A Word:

"Fictoral". Self-describing, too.

technology/languages

Permalink [No comments] Concave Horror Dragon:

I know I've mentioned that Steve Minutillo's Chinese Word of the Day weblog-within-a-weblog is great. Today he talks about dinosaurs, and links to a list of dinosaur names in Chinese.

PS: some people write a transliteration of their name in Chinese characters and think they're cool. I think I'm cool because Steve wrote a made-up translation of my website's name into Chinese.

biology/organisms/dinosaur technology/languages

Permalink [No comments] Words That Sound Like Newslang But Aren't:

technology/languages

Permalink [No comments] I can never forget those policemen that saved my life.:

Life is easy when you have a phrasebook.

politics technology/languages

Permalink [No comments] Senritsu no Cardassia-seijin:

Proving that other countries lack the uptight spoilerphobe attitudes of we provincial hicks here in the States (and that it's not just the metaphorical "other country" of the past), I give you Japanese translations of Star Trek episode titles and the more literally translated movie titles (from messy-78). A lot of them just flat-out give away the main plot point if not the whole premise of the episode, like "Man Become Computer" and "High-speed People on Planet Scalos", and some of them miss the point, like "Neuro Cure Expert Doctor Russell". Some of them are actually really good, though, like "Roving Bajorans", "Beyond Rancor", and "Alice In Wonder Space".

Update: You could make the Enterprise theme song a lot more bearable by replacing key lyrics with old episode titles from these lists:

'Cause I got dark side of heart
Goin' gorgeous transfiguration
I got Earth martial law
I can Rom's mutiny
I got terrible people-weapon
No one's gonna stolen Spock's brain
I can nature regression
I got dark (I got dark)
I got daaaaark...
Dark side of heart

television technology/languages

Permalink [No comments] Bug Comedy Showcase:

I fixed a funny bug today, which was caused by the fact that "pl" is both the extension for a Perl file and the language code for Polish. This has happened to others.

technology/software technology/languages

Permalink [No comments] For All N, There's More Than N Ways To Do It:

I was never able to get my programming language to work that would be able to interpret any arbitrary file as a valid program. Adding to the indignity was the fact that neither was I able to think of a cool name for it. Cliff Biffle's Beatnik is a much more clever idea than mine, has a cool name, and encourages the authorship of programs that read well, whereas mine would only have encouraged you to use random other programs as standard input. Pretty neat, even if Beatnik is limited to standard ASCII.

Also check out HQ9+, from the same author.

technology/languages

Permalink [No comments] :

Steve Minutillo has a Chinese word of the day feature which shows up in my aggregator and is pretty cool even though usually the details of the character and its meaning always slip right through my head. But the character for "concave" is so cool and obvious that I could actually remember it and use it if I am ever stranded in China.

Leonard: 凹! 凹!
Chinese Person #1: What is he saying?
Chinese Person #2: It appears he is saying "Concave! Concave!"
Chinese Person #1: Look, he is writing it down!
Chinese Person #2: What brushwork!
Leonard: 美国使馆在哪里是?

technology/languages

Permalink [No comments] Birth Of an Email Forward:

Collated from IRC:
Fitz and I [kfogel] were just speculating about what various programming languages sound like when you drop them.
Fortran       crunch
Perl          *thud* +bounce+ ~quiver~ (fading into silence)
C++           loud and messy, like if you took everything in a
              junkyard, connected it all together with cable, and
              dropped the whole mess from a cliff.
Lisp/Scheme   same sound as dropping a slinky
Java          no sound, already been dropped

The Inevitable Update: From Brendan.

PHP            sproing sproing ("stupid blasted") sproing ("off my 
               lawn") sproing
Python         Just like anything else, if air was Jell-O
Smalltalk      "Ouch!"
Pascal         *Crash.*  Now, did you notice how that sounded?  If you 
               were actually dropping something, it would have sounded 
               a lot like that.  Let's try again.
COBOL          (THUD)
Visual Basic  "I'm sorry, Dave, I'm afraid I can't let you drop me."

readers technology/languages

Permalink [No comments] :

Jarno: "Stop Promoting Python" was a joke talk. The premise was that promoting Python would lead to the existence of more Python programmers, which would impair the abililty of the preexisting Python programmers to charge high fees for their services. The conclusion was that Python programmers should contrive to keep Python a secret so as to mantain a competitive advantage relative to Java programmers. This, you'll recall, is the strategy that has worked so well for Lisp.

technology/languages/python technology/languages

Permalink [No comments] EuroPython Day #2:

My French is getting a little better; at least it seems that way now that I've met people whose English is worse than my French, such that it's most convenient to talk in French. I was able to ask for the check and to have a door opened, although the check was not forthcoming and the person I asked was powerless to open the door. My presentation went pretty well, but I'm very glad I omitted the jokes because the one I left in, thinking it had cross-cultural appeal, was not greeted with any hilarity at all.

I talked with Moshe Zadka a bit after my talk. I talked to some other people as well but I bring up Moshe because there were several talks he was going to give yesterday but he didn't get here in time. These include his "text steganography" talk and his "Writing web clients in Python" talk. I've asked him for copies of the notes for each, and they'll be part of the inevitable EuroPython roundup, coming sometime next week to this space. I was able briefly to recharge my battery, but it's only at 50% and I want to write another rambling, incomprehensible entry tomorrow, so I'll sign off now.

Best talk so far: a talk about PyPy, a Python interpreter written in Python, which is currently up to 20,000 times slower than the one written in C. Armin Rigo, author of PyPy, also wrote his own presentation softwareusing PyGame, which presented his presentation as a brainstorm diagram that he navigated as he gave his talk. It's only a matter of time until Steve Jobs steals that idea.

technology/languages/python technology/languages

Permalink [No comments] Hello:

I'm at EuroPython, squandering my precious laptop battery power that I need for my presentation tomorrow. I bought a wide variety of adapters and power convertors but they're all useless because my laptop won't plug into them due to its grounding plug. Fortunately, I'm supposedly about to meet up with someone who has an IBM power cord with a European connector.

I went to Amsterdam. I've been hanging out a lot with Jarno and his girlfriend PrustiTaina, because their travel plans have overlapped with mine to an unbelievable extent (eg. they planned to go to Amsterdam the same day I planned to, they chose the same hotels that I did, etc.) I also ate a waffle. My French is only good for reading and not for hearing what people are saying, nor for talking because when I try to talk to someone in French they just respond in English.

food technology/languages/python people technology/languages places

Permalink [No comments] You'll Be Perfect For My Experiments:

Another for my collection: Thai spam.

advertising/spam technology/languages

Permalink [No comments] :

The latest SourceCast site: java.net. (Random relevant news article)

development/CollabNet technology/languages

Permalink [No comments] Leonard's Easy Guide To French Pronunciation:

Don't pronounce the last letter.

technology/languages

Permalink [No comments] Je m'appele Leonard, je suis un informaticien américain:

Adam Parrish's suggestion, that to get my French back I buy a French phrasebook and simply read it cover to cover, has been surprisingly helpful. However, the phrasebook is full of ridiculous phrases like "Where are the most beautiful landscapes?", which implies that Francophones have some device that measures the beauty of a landscape, and that they are keeping this information secret from the rest of us. Also, the phrasebook assumes you're going to France, and contains precious little information about Belgium other than an injunction to check out the fine linens and crystal, which I have no intention of doing.

Finally, the vowels in my phrasebook have all sorts of weird lines on top of them, like sprigs of linguistic parsley. So Kevin and I are starting our own phrasebook, dealing with situations likely to occur specifically in Belgium, and with no funny accents on the characters to confuse things. The English phrases are Kevin's; the French, my half-assed translations.

"Give me the large waffle with herring."
"Je voudrais du grand gaufre des harengs."

"Please place the kippers under my shoe in the morning."
"S'il vous plait, mettez les kippers sous mes chausseures le matin."

"You heard me; you know where the damn kippers go."
"Tu m'entende; tu sait ou vont les kippers!"

"Get out of my way; I'm heading to France."
"Allez! Allez! Je vais au France!"

people/Kevin Maples people/Adam Parrish people/Allison Parrish technology/languages

Permalink [No comments] :

If you need to jump-start your personal slang dictionary, try Kevan's Infinite Teen Slang Dictionary. Works especially well if you have catchphrases you use but you've been holding off writing a dictionary because the catchphrases have no meaning. Works not at all unless you're a high school student, and not the nerdy kind of high school student all of us reading this were, either.

technology/languages

Permalink [No comments] Sumana - protocol heb ei gofrestru:

Mozilla messages, localized to Welsh. From Sumana.

people/Sumana Harihareswara technology/languages

Permalink [No comments] Woohoo! La Deuxieme Partie:

I'm going to give my configuration framework talk at EuroPython! It's in Charleroi, Belgium, and it looks like the easiest way to get there is to fly into Brussels and take the train. Charleroi is in the south of Belgium, so I should brush up my French (call me provincial, but I'm not going to learn DutchFlemish for a one-week trip to the part of Belgium where they don't speak DutchFlemish). What's the best way to regain lost fluency in a language?

technology/languages/python technology/languages

Permalink [No comments] :

If it's enormous word lists you crave, try YAWL, a word list about 5 times the size of the one that comes with Red Hat. YAWL comes with Scrabble cheating help anagram and multi-word anagram finder multi, which according to the README "can provide some cheap thrills when a party gets dull." Maybe you should just adjourn the party early.

More similar word lists at wordlist.sourceforge.net, including a list with part-of-speech data which made me waste time this evening writing an eater that replaces a word with another word of the same part of speech. It's not up yet because I'm not yet sure how good it is.

development technology/software technology/languages

Permalink [No comments] ┏━━━☎━┓:

A few years ago I developed an interest in Unicode, and went over to unicode.org to see what I could see in the way of actual Unicode characters. I couldn't see very much, and I assumed they were trying to get you to buy the Unicode book I've never encountered anywhere. Since then applications that support Unicode have actually started existing, and unicode.org has bowed to the collective will of snoopy people like myself and put up little graphical Unicode character charts in PDF form. There's also a character name index, allowing you to answer burning questions like "Are there Unicode characters corresponding to the phases of the moon?" (Answer: yes, but only first and last quarter. I guess for a half moon you'd use one of the half-filled circles from Geometric Shapes ◖ ◗, and for a full moon the white circle from same ○, or a happy face ☺).

Of course, time has once again left unicode.org in the dust, as there are now websites that show you Unicode characters in your web browser. Take heart, though: I don't yet have a font for Byzantine Musical Symbols, so for that it's gotta be the PDF.

technology/languages

Permalink [No comments] :

Todd, who is always good for some quick NYCB material, comments on used books:
i was very, very well read in my youth, before i forgot everything. all of that reading did not prevent me from trading 10 or so ratty paperback editions for one fine hardbound, sewn-in-signatures, best translation/commentary extant version of a personal favorite, over and over again. i was ruthless and systematic.

the result is that i have a personal library reflecting well below 10% of the harder books i've read, mostly in immaculate editions that quite naturally show no sign of use. the ones i chose to get the immortal versions of tended to be the ones that spoke most to me at the time. i wish i had the scribbled-up profusion around to remind me of important things from time to time, now that i'm older.

I'm noticing the same sort of thing, except that I buy good copies of things, new or used, at random intervals, and the rest of my library is distilled at intervals from a large number of cheap paperbacks to a smaller number of different but equally cheap paperbacks. Most of the stuff I want to keep is well-known and public domain, hence already on the web, and I'm not sentimental about paper, so it can go. Exceptions for particular authors I'm collecting, like Chesterton, and my awesome hardcover copy of Extraordinary Popular Delusions and the Madness of Crowds, which is available Gutenberg-style but which I hang on to with the slim justification that there are woodcuts not reproduced in the ASCII edition.

Second, Todd on links with multiple targets:

there is a specification called xlink that matches your description for links across xml-based documents, including xhtml (1.1 and later) potentially: http://www.w3.org/TR/xlink/ . like most xml fabulousness, the existence of some how-to documentation, schema etc., does not imply the existence, much less wide deployment of software designed to support said fabulousness. mozilla does support some xlinkish stuff - not sure whether the bits you describe: http://www.mozilla.org/newlayout/xml/#linking . in the meantime, there's javascript. <shudder/>

I've barely played with Mozilla's XLink support, preferring to waste this evening writing a syndication feed file writer for NewsBruiser, but the functionality covered by Mozilla's single test case didn't fill me with confidence. Here's an article on XLink which I find only slightly opaque. Perhaps there's hope for me yet; it took me years to comprehend XML, but once I finally figured out the left angle bracket, the right angle bracket was easy.

technology/languages

Permalink [No comments] Start The Insanity!:

For some reason, discussions of Unicode inevitably contain the phrase "This is madness!" (via Kevin)

technology/languages

Permalink [No comments] :

Packed full of useful hints and sarcasm, it's How To Write Unmaintainable Code

technology/languages

Permalink [No comments] :

A dictionary of rhetorical terms and devices. Read this, or a ten-year-old Roman kid will whup your ass!

technology/languages