From 9d2d08f5ea143e076947afe7a5ed85baa1d181d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mislav=20Marohnic=CC=81?= Date: Wed, 26 Dec 2012 01:36:17 +0100 Subject: [PATCH] spell check. most notably, switch to US English --- _posts/1900-01-02-konichiwa-ruby.md | 24 +++---- _posts/1900-01-03-quick-ride.md | 24 +++---- _posts/1900-01-04-floating-little-leaves.md | 10 +-- _posts/1900-01-05-them-what.md | 76 ++++++++++----------- _posts/1900-01-06-downtown.md | 30 ++++---- 5 files changed, 82 insertions(+), 82 deletions(-) diff --git a/_posts/1900-01-02-konichiwa-ruby.md b/_posts/1900-01-02-konichiwa-ruby.md index cb84c90..58dc3e3 100644 --- a/_posts/1900-01-02-konichiwa-ruby.md +++ b/_posts/1900-01-02-konichiwa-ruby.md @@ -51,18 +51,18 @@ Anyone who’s written a book can tell you how easily an author is distracted by visions of grandeur. In my experience, I stop twice for each paragraph, and four times for each panel of a comic, just to envision the wealth and prosperity that this book will procure for my lifestyle. I fear that the writing of this book -will halt altogether to make way for the armada of SUVs and luxury towne cars +will halt altogether to make way for the armada of SUVs and luxury town cars that are blazing away in my head. Rather than stop my production of the (Poignant) Guide, I’ve reserved this space as a safety zone for pouring my empty and vain wishes. -Today I was at this Italian restaraunt, Granado’s, and I was paying my bill. +Today I was at this Italian restaurant, Granado’s, and I was paying my bill. Happened to notice (under glass) a bottle of balsamic vinegar going for $150. Fairly small. I could conceal it in my palm. Aged twenty-two years. I’ve spent a lot of time thinking about that bottle. It is often an accessory in -some of these obsessive fantasies. In one fantasy, I walk into the restaraunt, +some of these obsessive fantasies. In one fantasy, I walk into the restaurant, toss a stack of greenery on the counter and earnestly say to the cashier, “Quick! I have an important salad to make!” @@ -73,9 +73,9 @@ Cold, hard cash, Mrs. Price. Soon, I will be expending hundreds for a block of myzithra cheese. -My imaginations have now gone beyond posessions, though. Certainly, I have -thought through my acquisition of grecian urns, motorcades, airlines, pyramids, -dinosaur bones. Occassionally I’ll see wind-tossed cities on the news and I’ll +My imaginations have now gone beyond possessions, though. Certainly, I have +thought through my acquisition of Grecian urns, motorcades, airlines, pyramids, +dinosaur bones. Occasionally I’ll see wind-tossed cities on the news and I’ll jot down on my shopping list: _Hurricane_. But, now I’m seeing a larger goal. Simply put: what if I amassed such a fortune @@ -112,7 +112,7 @@ So try this first bit of poignancy on for size: One day I was walking down one of those busy roads covered with car dealerships (this was shortly after my wedding was called off) and I found an orphaned dog -on the road. A wooly, black dog with greenish red eyes. I was kind of feeling +on the road. A woolly, black dog with greenish red eyes. I was kind of feeling like an orphan myself, so I took a couple balloons that were tied to a pole at the dealership and I relocated them to the dog’s collar. Then, I decided he would be my dog. I named him Bigelow. @@ -127,7 +127,7 @@ had previously only been lost once, he was now lost twice. I slowed my pace towards the life of Milkbones and an extra recliner. I had a dog for five minutes. -Stupid Benedict Arnold of a dog. I sat on a city bench and threw pinecones at a +Stupid Benedict Arnold of a dog. I sat on a city bench and threw pine cones at a statue of three sheep crossing a bridge. After that, I wept for hours. The tears just came. Now there’s a little something poignant to get you started. @@ -175,10 +175,10 @@ perfectly good chat. Their face doesn’t look so much like that childhood nemesis. You’ve met the Good Twin. You clicked. So whereas I should probably be pounding your teeth in with hype about Ruby and -the tightly-knit cadre of pertinent ancronyms that accompany it everywhere +the tightly-knit cadre of pertinent acronyms that accompany it everywhere (whetting the collective whistles of your bosses and their bosses’ bosses), -instead I will just let you coast. I’ll let you freefall through some code, -interjecting occassionally with my own heartfelt experiences. It’ll be quite +instead I will just let you coast. I’ll let you free-fall through some code, +interjecting occasionally with my own heartfelt experiences. It’ll be quite easy, quite natural. I should offer you some sort of motivation, though. So, Smotchkkiss, I’m going @@ -250,7 +250,7 @@ maniacal laughing thing going on deep into that night. It was a real mess. But, since I don’t get along well with people, I hadn’t invited anyone but myself to the Opening Ceremonies of This Book. So it wasn’t really that -embarassing. I kept it under wraps and no one found out about the whole ordeal. +embarrassing. I kept it under wraps and no one found out about the whole ordeal. So you’ve got to know that **synergy** doesn’t actually mean **synergy** in this book. I can’t do normal **synergy**. No, in this book, **synergy** means diff --git a/_posts/1900-01-03-quick-ride.md b/_posts/1900-01-03-quick-ride.md index 62902b6..cb0dda1 100644 --- a/_posts/1900-01-03-quick-ride.md +++ b/_posts/1900-01-03-quick-ride.md @@ -17,7 +17,7 @@ sections: ![The foxes show up.](../images/the.foxes-1.png "The foxes show up.") -Yeah, these are the two. My asthma’s kickin in so I’ve got to go take a puff of +Yeah, these are the two. My asthma’s kickin’ in so I’ve got to go take a puff of medicated air just now. Be with you in a moment. ![Foxes in boxes.](../images/the.foxes-2.png "Foxes in boxes.") @@ -38,7 +38,7 @@ finally realize the gravity of their predicament.") My conscience won’t let me call Ruby a _computer_ language. That would imply that the language works primarily on the computer’s terms. That the language is -designed to accomodate the computer, first and foremost. That therefore, we, the +designed to accommodate the computer, first and foremost. That therefore, we, the coders, are foreigners, seeking citizenship in the computer’s locale. It’s the computer’s language and we are translators for the world. @@ -148,7 +148,7 @@ farm of inky foxes. > **Sensible Hipster Standing on Curb in Urban Wilderness**: He calls himself > the lucky stiff. -> (Pulls aside curtain to reveal grey corpse on a gurney.) +> (Pulls aside curtain to reveal gray corpse on a gurney.) > **Hipster**: Some stiffs ain’t so lucky. @@ -186,7 +186,7 @@ How about making fun of asthmatics directly? Adapt the book into a movie. And since, you know, I’m a character in this book, you could get someone like Alec Baldwin to play me. Someone who’s at a real -lowpoint in his career. +low point in his career. You could make it seem like I did tons of drugs. Like I was insane to work with. Like I kept firing people and locking them in the scooter room and making them @@ -217,7 +217,7 @@ Now, I’ve got to thinking. See, and actually, Alec Baldwin did a decent voiceover in _The Royal Tenenbaums_. His career might be okay. You might not want to use him. He might not do it. -Tell ya what. I’ll play the part. I’ve made a career out of lowpoints. +Tell ya what. I’ll play the part. I’ve made a career out of low points. {% endcapture %} {{ sidebar | markdownify }} @@ -301,7 +301,7 @@ quotes. Both single and double **quotes** are used to create strings. When you enclose characters in quotes, they are stored together as a single string. -Think of a reporter who is jotting down the mouthnoises of a rambling celebrity. +Think of a reporter who is jotting down the mouth noises of a rambling celebrity. “I’m a lot wiser,” says Avril Lavigne. “Now I know what the business is like—what you have to do and how to work it.” @@ -443,7 +443,7 @@ Door::new( :oak ) As seen above, the `new` class method is most often used to create things. In the above example, we’re asking Ruby to make a new oak door for us. Of course, Ruby has to have an understanding of how to make a door—as well as a wealth of -timber, lumberjacks, and those long, wiggily, two-man saws. +timber, lumberjacks, and those long, wiggly, two-man saws. ![Plenty of chunky bacon to go around.](../images/the.foxes-4e.png "Plenty of chunky bacon to go around.") @@ -456,7 +456,7 @@ Variables which begin with a **dollar sign** are global. Most variables are rather temporary in nature. Some parts of your program are like little houses. You walk in and they have their own variables. In one house, -you may have a `dad` that represents Archie, a travelling salesman and skeleton +you may have a `dad` that represents Archie, a traveling salesman and skeleton collector. In another house, `dad` could represent Peter, a lion tamer with a great love for flannel. Each house has its own meaning for `dad`. @@ -773,7 +773,7 @@ This caterpillar partakes of finer delicacies. An _array_ starts this example. In the array, three _strings_ `'toast'`, `'cheese'`, and `'wine'`. The whole array is trailed by a _method_ `each`. -Inside of a _block_, the _block argument_ `food`, travelling down its little +Inside of a _block_, the _block argument_ `food`, traveling down its little waterslide into the block. The _method_ `capitalize` then capitalizes the first letter of the block argument, which has become _variable_ `food`. This capitalized _string_ is passed to kernel _method_ `print`. @@ -815,7 +815,7 @@ _string_ containing the path `'/en/LICENSE.txt'`. Now, notice that another method is chained onto `get`. The _method_ `body`. Then, the block closes with `end`. -Doing okay? Just out of curiousity, can you guess what this example does? +Doing okay? Just out of curiosity, can you guess what this example does? Hopefully, you’re seeing some patterns in Ruby. If not, just shake your head vigorously while you’ve got these examples in your mind. The code should break apart into manageable pieces. @@ -833,8 +833,8 @@ http.get( '/en/LICENSE.txt' ) We’re using Ruby to get a web page. You’ve probably used HTTP with your web browser. HTTP is the Hypertext Transfer Protocol. HTTP is used to -transfer web pages across the internet. Conceptualize a bus driver that can -drive across the internet and bring back web pages for us. On his hat are +transfer web pages across the Internet. Conceptualize a bus driver that can +drive across the Internet and bring back web pages for us. On his hat are stitched the letters HTTP. The variable `http` is that bus driver. The _method_ is a message to the bus diff --git a/_posts/1900-01-04-floating-little-leaves.md b/_posts/1900-01-04-floating-little-leaves.md index 41a4416..52a19f9 100644 --- a/_posts/1900-01-04-floating-little-leaves.md +++ b/_posts/1900-01-04-floating-little-leaves.md @@ -43,11 +43,11 @@ Yeah, that’s not the way I remember it. This Elf was paging me constantly. Whe I refused to call him back, he somehow left a message on my pager. Meaning: it beeped a couple times and then printed out a small slip of paper. The slip said something to the effect of, “Get down here quick!” and also, “We’ve got to rid -the earth of this scourge of enterpreneurial caterpillars, these twisted insect +the earth of this scourge of entrepreneurial caterpillars, these twisted insect vikings are suffocating my blue crystals!” Lately, the exchange rate has settled down between leaves and crystals. One -treegrown note is worth five crystals. So the basic money situation looks like +tree-grown note is worth five crystals. So the basic money situation looks like this: {% highlight rb %} @@ -261,7 +261,7 @@ similar way, `nil` has a slightly sour note that it whistles. Generally speaking, **everything in Ruby has a positive charge to it**. This spark flows through strings, numbers, regexps, all of it. Only two keywords wear -a shady cloak: `nil` and `false` draggin us down. +a shady cloak: `nil` and `false` draggin’ us down. You can **test that charge** with an `if` keyword. It looks very much like the `do` blocks we saw in the last chapter, in that both end with an `end`. @@ -461,7 +461,7 @@ message. To the value: “Are you nil? Are you empty?” If `at_hotel` is empty, Ruby doesn’t have any idea if I’m in the hotel or not. So `if` answers with the “No clue” string. In order to handle the `true` or `false` possibilities, the `elsif` keyword is used. While you can have only one -`if` and one `else`, you can fill the inbetween with an exorbitant number of +`if` and one `else`, you can fill the in-between with an exorbitant number of `elsif` keywords. Each `elsif` acts as **a further `if` test**. Checking for a positive charge. @@ -678,7 +678,7 @@ dangerous word matched with its code word, handing each pair to the `gsub!` method for the actual replacement. In Ruby, `gsub` is short for _global substitution_. The method is used to search -and replace. Here, we want to find all the occurences of a dangerous word and +and replace. Here, we want to find all the occurrences of a dangerous word and replace with its safe code word. With `gsub`, you provide the **word to find as the first argument**, then the **word to put in its place as the second argument**. diff --git a/_posts/1900-01-05-them-what.md b/_posts/1900-01-05-them-what.md index 0f28f04..bda56f5 100644 --- a/_posts/1900-01-05-them-what.md +++ b/_posts/1900-01-05-them-what.md @@ -35,7 +35,7 @@ by the end of the chapter, we can all start to look beyond the Doctor’s grievo past and stop calling him a madman. So if you need to call him a madman, I’d start heading down to the train tracks -to smash up some long flourescent light bulbs. Get it out of your system right +to smash up some long fluorescent light bulbs. Get it out of your system right now, before we dig in. @@ -351,7 +351,7 @@ alien whose waking day consisted of five-hundred and forty waking hours, I was incredibly elated and opened a contractual relationship with him which will last into 2060. -For three days (by his pocket watch’s account), Dr. Cham travelled the dark +For three days (by his pocket watch’s account), Dr. Cham traveled the dark shafts of air, sucking the dusty wind of the barren planet. But on the third day, he found the Desolate Season ending and he awoke to a brilliant vista, decorated with spontaneous apple blossoms and dewy castle tiers. @@ -412,7 +412,7 @@ definition, you’ll see the `initialize` method, which contains a single line o code: `@energy = rand( 6 )`. The `rand( 6 )` picks a number between 0 and 5. This number will represent the -number of wishes left in the day. So, occassionally there are no wishes +number of wishes left in the day. So, occasionally there are no wishes available from the wish maker. The random number is assigned to an **instance variable** which is named @@ -541,7 +541,7 @@ For a while he knocked. Which paid off. ![Blocky whale greeting.](../images/castle-1.jpg "Blocky whale greeting.") -He watched the baby whale rise like a determined balloon. He marvelled at his +He watched the baby whale rise like a determined balloon. He marveled at his first alien introduction and felt some concern that it had passed so quickly. Well, he would wait inside. @@ -571,7 +571,7 @@ pixel matter in porcelain scoops and buckets. He happened upon a room which had been burrowed out of the tunnel which had a few empty turtle shells on the ground and a large illuminated wall. He stared into the room, bewildered. What could this be? In one state of mind, he thought -of having a seat on a shell. This could be the entrace at last, some kind of +of having a seat on a shell. This could be the entrance at last, some kind of receiving room. On the other hand, spiders could pour out of the shell’s hollow when he sat. He moved on. @@ -612,7 +612,7 @@ yarn into a bundle. Which she takes to her mother, my sister, who is very good at humoring Hannah. She sews a dress to the doll’s dimensions, which Hannah takes back to the doll. -“And she tells the doll, ‘Here, look, your hard work and perserverance has +“And she tells the doll, ‘Here, look, your hard work and perseverance has resulted in this beautiful dress. You can now accept the Chief of Police’s invitation to join him tonight at the Governor’s Mansion.’ And she has a doll in a policeman’s uniform who plays the part of the Chief. He’s too scrawny to be an @@ -623,7 +623,7 @@ projector at the back wall. The film spun to life and the aardvark took a seat. A green square appeared on the wall. The attentive aardvark stared at Dr. Cham still. -“Your films are coloured,” said Dr. Cham. “What a lovely, little life.” +“Your films are colored,” said Dr. Cham. “What a lovely, little life.” The film played on: a blue square. Then, a red circle. Then, an orange square. The attentive aardvark turned away, watched the screen change to a pink @@ -860,13 +860,13 @@ tanned from the dermal remains of its martyrs; its whale cartels, ingesting their enemies and holding them within for decades, dragging them up and down the staircases of ribs; its poison fogs and its painful doorways; and, the atrocious dynasties of The Originals, the species which claims fathership to all of the -intellegent beings across the universe. +intelligent beings across the universe. But, eventually, I’d hear those pipes of a higher octave sing and I’d be back in the very same breezy afternoon where I’d left. How interesting that even the breeze of our planet is quite a strange thing to -some outsiders. For he had also told me of the travellers from Rath-d, who +some outsiders. For he had also told me of the travelers from Rath-d, who ventured to Earth five centuries ago, but quickly dissipated in our air currents since they and their crafts and their armor were all composed of charcoal. @@ -1008,7 +1008,7 @@ poke around inside the method, which really isn’t their business. They don’t know their way around in there. Fortunately, we can throw our own errors, our own **exceptions**, which may make -more sense to someone who inadvertantly hands the wrong object in for cleaning. +more sense to someone who inadvertently hands the wrong object in for cleaning. {% highlight ruby %} def wipe_mutterings_from( sentence ) @@ -1140,7 +1140,7 @@ Love_.) “Never say my name again!” screamed Chester, and with the same gusto, he turned back to the **File > Publish Settings…** dialog to further optimize his movie -down to a measley 15k. +down to a measly 15k. {% endcapture %} {{ sidebar | markdownify }} @@ -1390,7 +1390,7 @@ catsandtips = [0.12, 0.63, 0.09].collect { |catcost| catcost + ( catcost * 0.20 I say Paij-ree’s property is a very charming section of woods when it’s not raining cats and Doug. For many days, Paij-ree and I camped in tents by the river behind his house, subsisting on smoked blackbird and whittling little -sleeping indians by the dusklight. On occassion he would lose a game of spades +sleeping Indians by the dusklight. On occasion he would lose a game of spades and I knew his mind was distracted, thinking of Endertromb. All of this must have been stirring inside of him for sometime. I was the first ear he’d ever had. @@ -1416,7 +1416,7 @@ Reels of tape and film canisters and video tape everywhere. Dr. Cham hadn’t a clue what most of it was. All he saw was a big, futuristic mess. He called out again, stumbling through alleys of narrow shelves, “Hello-o-o?? -I’m looking for intellegent life! I’m a space traveller!” He tripped when his +I’m looking for intelligent life! I’m a space traveler!” He tripped when his foot slid right into a VCR slot. “Any other beings I can communicate with?” @@ -1447,7 +1447,7 @@ honest effort. I actually wrote something in Ruby back there.” The goat closed his mouth and Dr. Cham held his heart. “I’m actually very literate,” said the goat. “Albeit, more recently, I’ve -switched to movies. I love foreign films. One of my relatives just brough back +switched to movies. I love foreign films. One of my relatives just brought back _Ishtar_ from your planet. Wow, that was excellent.”