The Core Dump The Core Dump is the online home of Nic Lindh, a Swedish-American man living in the Sonoran desert. 2015-03-01T18:56:32-07:00 http://thecoredump.org/ Licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Say hello to Brimful Podcast Nic Lindh http://thecoredump.org/ 2015-03-01T00:00:00-07:00 http://thecoredump.org/2015/03/say-hello-to-brimful-podcast/ <div style="float: right; padding: 10px;"> <img src="/images/operator-square-612.png" alt="Brimful Podcast logo" class="img-responsive" width="300" /> </div> <p>I love podcasting. I&rsquo;ve loved it since the days when listening to a podcast in the car meant burning it to a CD and loading the CD into the player in your dashboard. </p> <p>Dark days, those were. </p> <p>Podcasts have almost completely replaced radio and have provided me so many hours of enjoyment. Apart from the convenience of selecting from a smorgasbord of content at whatever time of my choosing, the <em>huge</em> leap is the breadth of content that&rsquo;s become available, content that&rsquo;s free from the economics of lowest-common denominator broadcasting. </p> <p>Whatever obscure thing you&rsquo;re into, there&rsquo;s somebody out there who&rsquo;s into it <em>more</em> and is talking into a microphone about it for you to listen to for free. </p> <p>And now I have my own. <em>Pinky finger to lip, Mohaha.</em></p> <p><a href="http://brimfulpodcast.com">Brimful Podcast</a> is a commute-length weekly podcast where I explain any technology in the news that week. The impetus for the show was my long-standing frustration with the mostly inept way mainstream media covers technology and a desire to set the record straight. </p> <p>Hence Brimful Podcast. </p> <p>On weeks where technology hasn&rsquo;t been that visible in the news, I explain the technology that&rsquo;s all around us every day and that most people don&rsquo;t know about.</p> <p>Please take a minute to <a href="https://itunes.apple.com/us/podcast/brimful-podcast/id965960216">check out Brimful on iTunes</a> and <a href="http://brimfulpodcast.com">visit the site</a>.</p> <p>And since I&rsquo;m quite the marketing maven, <a href="https://twitter.com/brimfulpodcast">the podcast even has its own Twitter account</a>.</p> <p>Do check it out and I hope you enjoy! Feedback is of course welcome.</p> Another shot of wet socks against net neutrality Nic Lindh http://thecoredump.org/ 2015-02-20T00:00:00-07:00 http://thecoredump.org/2015/02/another-shot-of-wet-socks-against-net-neutrality/ <p>Last Tuesday, Feb. 17, 2015, my hometown paper The Arizona Republic printed an <a href="http://www.azcentral.com/story/opinion/editorial/2015/02/16/fcc-takeover-internet-fair/23387863/">amazingly harebrained editorial arguing against net neutrality</a>, which I contested on <a href="http://thecoredump.org/2015/02/against-net-neutrality/">this blog</a>.</p> <p>But it seems net neutrality is a big enough talking point for the GOP these days that they had to go back to the well once again with <a href="http://www.azcentral.com/story/opinion/editorial/2015/02/20/google-fiber-phoenix-gigabit/23730643/">Why Phoenix needs ultra-fast Internet</a>.</p> <p>Here&rsquo;s the sub head: &ldquo;Our View: Fears that rich corporations will rule the Internet are best answered by building a bigger pipeline.&rdquo;</p> <p>And boy howdy, it goes full histrionic against net neutrality:</p> <blockquote> <p>In nearly all respects, this planned regulatory scheme is a radical and destructive proposition. By enacting industry controls designed in the 1930s to regulate railroads, the FCC drastically would refashion the most dynamic engine of wealth creation of this generation into… a utility. A federally controlled tool shaped according to the whims of politicians and bureaucrats.</p> <p>This plan for so-called &ldquo;net neutrality&rdquo; is a myopic, investment-stifling solution in search of a problem in all but one theoretical respect:</p> <p>Especially in the residential market, the Internet pipeline as it exists today is too narrow, too short on bandwidth. Absent infrastructure improvements, in the not-too-distant future, the question of how to accommodate all the video-saturated uses planned for the Internet will stop being merely theoretical.</p> </blockquote> <p>&ldquo;A federally controlled tool shaped according to the whims of politicians and bureaucrats&rdquo; most certainly deserves a golf clap: fitting &ldquo;federal&rdquo;, &ldquo;tool&rdquo;, &ldquo;politicians&rdquo; and &ldquo;bureaucrats&rdquo; into that short of a sentence really should win you some sort of Tea Party Scrabble prize.</p> <p>So, good job.</p> <p>Unfortunately the premise of this editorial is completely wrong, as anybody who has paid any amount of attention to the Internet well knows.</p> <p>The problem is <em>not</em>, most emphatically <em>not</em> that there isn&rsquo;t enough capacity on the Internet. The problem is that the carriers want to be able to extract blackmail money from innovative content creators to not slow down their content.</p> <p>I don&rsquo;t know how to put it more bluntly.</p> <p>Speed increases are great—personally I can&rsquo;t wait to see the things an order of magnitude higher Internet speeds will make possible and what companies will emerge from that shift. But speed increases will not take away the threat of carriers throttling content creators. And as speeds increase, the sizes of the content that gets pushed across the Internet also increases.</p> <p>A history lesson: In 1991 I downloaded the shareware game Solaris. It was (I think—it was a long time ago, obviously) about 600 kilobytes. It took <em>eight hours</em> to download. Which was worth it—it was an awesome game. Today the average home page is three times that size and pops onto your phone in less than a second. That&rsquo;s called progress.</p> <p>So, Republic editorial board, it&rsquo;s not a matter of increase the speed and then the problem goes away. Once the speed increases, the size of the content goes up. It always goes up. And the pathetic groveling for Google to magically come in and solve The Problems in the Name of the Market goes against the reality that the carrier market—or lack thereof—<em>is</em> the problem.</p> <p>Google is pushing Google Fiber to force the incumbent carriers to up their game because the current market is <em>not</em> a market—it&rsquo;s a monopoly or duopoly and Google is trying to disrupt it. How one huge company fighting the entrenched interests of an existing market means that the invisible hand of the market is working is difficult to comprehend. </p> Against net neutrality Nic Lindh http://thecoredump.org/ 2015-02-17T00:00:00-07:00 http://thecoredump.org/2015/02/against-net-neutrality/ <p>This morning The Arizona Republic published an editorial with <a href="http://www.azcentral.com/story/opinion/editorial/2015/02/16/fcc-takeover-internet-fair/23387863/">one of the worst arguments against net neutrality to ever waste innocent ink.</a></p> <p>Take it away, editorial board:</p> <blockquote> <p>Turning control of the Internet over to the FCC is an invitation to bring to a thudding halt the creative destruction that has marked the Internet from its outset.</p> <p>The changes wrought through a free, open, mostly unregulated Internet have been monumental, all in service to a ubiquitous, dynamic electronic web that evolves before our eyes.</p> <p>What part of that tidal flow of change might an Internet-controlling FCC impede in the name of lawyerly &ldquo;fairness&rdquo;? The spread of ultra-fast Google fiber? Wearable technology? Both those nascent innovations tread on someone&rsquo;s sense of fairness.</p> </blockquote> <p>Read those few short sentences again carefully—they are works of art when it comes to obfuscation. In those sentences, the editorial board manages to conflate two separate things not once but twice in a haze of purple prose.</p> <p>First, they mix up the <em>content</em> delivered through the Internet and the <em>distribution</em> of that content. Which is either so ignorant that you can only marvel at the arrogance of sitting down and writing a strongly worded opinion about something you don&rsquo;t understand or, more likely, a grossly cynical attempt at swaying the opinions of people who lack the grasp of basic technology by willfully lying to them.</p> <p>Second, the word &ldquo;fairness&rdquo; has two meanings which, again, are conflated. There&rsquo;s the actual meaning in this context, that of the content not being altered through things like artificial slow lanes, and the second an emotional response to perceived injustice.</p> <p>I&rsquo;m pretty sure the editorial board knows what they&rsquo;re doing by mixing those meanings, making people think the big bad government is getting involved in decreeing what is fair and what is not. (Can you smell the lurching liberal oppression?)</p> <p>The only thing <a href="https://en.wikipedia.org/wiki/Net_neutrality">net neutrality</a> is concerned with is that the pipes don&rsquo;t mess with the content. No matter what the content is and where it&rsquo;s coming from. <em>There could not be less of a value judgment.</em></p> <p>Golf clap for managing to sneak that piece of sleight of hand in there, I suppose.</p> <p>If you haven&rsquo;t been paying attention to net neutrality and don&rsquo;t understand why I&rsquo;m getting all bent out of shape about what is one of the most important issues facing America, huge expanses of the Internet can&rsquo;t wait to inform you. <a href="http://theoatmeal.com/blog/net_neutrality">This is a good place to start</a>.</p> As the rage rages in the Tea Party’s rage Nic Lindh http://thecoredump.org/ 2015-02-08T00:00:00-07:00 http://thecoredump.org/2015/02/as-the-rage-rages-in-the-tea-partys-rage/ <p><img src="/images/american-flag.jpg" /></p> <p>Like a lot of rational people I&rsquo;m continually baffled by the far right and especially the complete lack of reality they display: <em>Lower taxes are always better for the economy! Sharia law in Detroit and Paris! Women can shut down pregnancy from legitimate rape!</em></p> <p>Facts simply do not matter.</p> <p>Paul Krugman, a man who has put in more time in the trenches than most, recently wrote in the NYT <a href="http://www.nytimes.com/2015/01/19/opinion/paul-krugman-hating-good-government.html?partner=rssnyt&amp;emc=rss&amp;_r=0">about this issue</a>:</p> <blockquote> <p>And the list goes on. On issues that range from monetary policy to the control of infectious disease, a big chunk of America’s body politic holds views that are completely at odds with, and completely unmovable by, actual experience. And no matter the issue, it’s the same chunk. If you’ve gotten involved in any of these debates, you know that these people aren’t happy warriors; they’re red-faced angry, with special rage directed at know-it-alls who snootily point out that the facts don’t support their position.</p> </blockquote> <p>The rage is especially interesting. Go watch pictures from any Tea Party rally and you&rsquo;ll see a lot of older white people who are spectacularly angry. </p> <p>As they should be, if they were correct. If the things they believe were actually based in reality, their entire way of life would be under constant siege from gays, queers, hippies, immigrants and Muslims who have all joined in a slavering zombie horde with the sole purpose of eradicating God-fearing real Americans.</p> <p>Visit <a href="http://www.snopes.com/info/whatsnew.asp">snopes.com</a> and you&rsquo;ll see an endless parade of debunkings of far-right Facebook posts and mass emails about Sharia law being enacted, troops denied service, and on and on.</p> <p>The big question, though, when reading the stories and seeing the videos is why anybody would choose to live that way? It must be a <em>terrible</em> way to live. Always angry, always looking over your shoulder, always afraid, always convinced of the near-collapse of civilization.</p> <p>And it is a choice, make no mistake. No matter where you live and what circles you travel, it&rsquo;s your choice if you want to spend your time eating TV-dinners in front of Fox News, never ever googling any outré statements they make. Your choice to scowl at the guy with the turban behind the counter at the Circle K, watching his hands for any sudden Muslim moves as he rings up your slurpee. Your choice to look at a newspaper and smugly dismiss what it says as &ldquo;lamestream media&rdquo; without even glancing down at your phone long enough to do a casual search for the validity of the claim. </p> <p>You have the same Internet as everybody else and you have access to most of the written history of Western civilization. </p> <p>But no.</p> <p>For whatever reason, and it&rsquo;s one I have a hard time fathoming, a large fringe of Americans are making the choice to live in a mental state of siege, convinced disaster is looming and only hyper-vigilance will save society from ruin.</p> <p>Why would you do that? Why would you choose to doom yourself to a life of anger, frustration, fear and futility?</p> <p>There are so many real issues we should be coming together as a society to address, but instead … rage.</p> Death Traps and Fury Nic Lindh http://thecoredump.org/ 2015-01-30T00:00:00-07:00 http://thecoredump.org/2015/01/death-traps-and-fury/ <p><img src="/images/fury-wallpaper-4.jpg" /></p> <p><i>Credit: Fury Movie 2014.com</i></p> <p>There have been lots of strong, gritty World War II movies that do their best to show you the horror of that conflict, like <em>Saving Private Ryan</em>, <em>Flags of Our Fathers</em> and the German <em>Das Boot</em> and <em>Stalingrad</em>. All brutal and unrelenting.</p> <p>But <em>Fury</em> is grimmer.</p> <p>It does have problems as a movie: The characters never become more than sketches—and mostly unlikeable sketches at that—and the plot is thin and unimaginative, relying on plenty of the tropes of the genre. And of course having your face rubbed in the horror of war isn&rsquo;t what anybody would call enjoyable.</p> <p>But it&rsquo;s technically solid, with the most intense battle scenes since <em>Saving Private Ryan</em>. Watching it, I thought the take-away (apart from war being really freaking loud) was that the Germans kept fighting long after they by any rights should have stopped and that <a href="https://en.wikipedia.org/wiki/M4_Sherman">the M4 Sherman tank was a poor tank</a>. </p> <p>But <a href="https://en.wikipedia.org/wiki/Fury_(2014_film)">the Wikipedia article on the film</a> mentions it was inspired by <a href="http://www.amazon.com/Death-Traps-Survival-American-Division/dp/0891418148/ref=sr_1_1?sr=8-1&amp;ie=UTF8&amp;keywords=death%2Btraps&amp;tag=thecoredump-20&amp;qid=1422660817"><em>Death Traps</em>, the autobiography of maintenance company officer Belton Y Cooper</a>.</p> <p>If you read <em>Death Traps</em> you understand the tone of the movie as well as why the eponymous tank is named Fury. The M4 medium tank was not just bad: It was a literal death trap for the crews manning it, so poorly armored it stood little chance against German tanks and German anti-tank weaponry. </p> <p>M4 losses were appalling, but thanks to industrial might the American army were mostly able to replace or repair the machinery. This lead to a lack of tank crews so severe that replacement infantry soldiers were sometimes given a day of training before being thrown into battle against veteran German forces. Naturally, this was a recipe for disaster.</p> <p>The obvious question is, why would the army of the nation with the strongest industrial base of the conflict go to war with such an inferior battle tank?</p> <p>Turns out the M4 was designed by committee to satisfy several incompatible goals (all the following blockquotes are from <em>Death Traps</em>):</p> <blockquote> <p>The armored and cavalry officers favored a large-caliber, high-velocity antitank gun mounted in the turret. The infantry officers still thought of the tank as an infantry assault weapon. The artillery officers thought that if a tank was going to carry a gun larger than a 37mm, the gun should conform to artillery specifications, which required a gun to be capable of 7,500 service rounds in combat. To meet this, a 75mm gun and larger would require a relatively low velocity. It apparently never occurred to the artillery officers that few tanks would ever survive in combat long enough to fire 7,500 service rounds.</p> </blockquote> <p>When battle tested it was obvious the tank could not take on German armor. But the great tank general Patton decided <em>that didn&rsquo;t matter</em>. Here&rsquo;s what Cooper has to say about Patton&rsquo;s decision favoring the M4 over the heavier, <a href="https://en.wikipedia.org/wiki/M26_Pershing">better-armored M26</a>:</p> <blockquote> <p>He said that the tanks of an armored division were not supposed to fight other tanks but bypass them if possible and attack enemy objectives to the rear. [&hellip;] Patton felt that because the M4 tank was lighter and required less fuel than the M26, it would be faster and more agile and was better equipped to perform the mission of the armored divisions.</p> <p>In an excellent argument that the M26 heavy tank should be used, General Rose [who was later killed in combat] and other field commanders resisted the higher-ranking Patton. The experiences in North Africa at Kasserine Pass and also in Sicily had convinced them of the superiority of German armor and the need for a heavy tank to offset it. However, Patton persisted in his view; he was not above a hassle. He insisted that we should downgrade the M26 heavy tank and concentrate on the M4.</p> <p>Patton’s rank and authority overwhelmed the resistance of the more experienced commanders, and the decision was made to concur with Patton’s view. SHAEF immediately notified Washington to deemphasize production of the M26 heavy tank and concentrate instead on the M4 medium tank. This turned out to be one of the most disastrous decisions of World War II, and its effect on the upcoming battle for Western Europe was catastrophic.</p> </blockquote> <p>Turned out the Germans did not care what U.S armored doctrine dictated and insisted on meeting the underpowered M4s head-to-head with superior tanks.</p> <p>The weakest point in the movie is the ultimate night battle with SS troops after Fury has been disabled—weak because the SS troops who were urgently headed for a different location would have simply gone around the tank rather than attack it over and over <em>from the front</em> while displaying Star Wars Storm Trooper shooting skills with their <a href="https://en.wikipedia.org/wiki/Panzerfaust">Panzerfausts</a>—was based on a section of <em>Death Traps</em> in which a single and astonishingly bad-ass surviving tanker performed that same feat during an Allied advance:</p> <blockquote> <p>In the fighting around Hastenrath and Scherpenseel, the tankers, without adequate infantry support, performed almost superhuman acts of heroism to hold on throughout the night. It was reported that one of the tankers, in his tank on a road junction, was the only surviving member of his crew but was determined to hold his position at all costs.</p> <p>The lone tanker had previously sighted his 76mm tank gun down the middle of the road. He depressed the mechanism slightly and loaded a 76mm HE [high explosive—used against non-armored targets]. As the Germans advanced in parallel columns along each side of the road, he fired. The HE shell hit the ground about 150 feet in front of the tank and ricocheted to a height of about 3 feet before it exploded.</p> <p>The shock took the Germans completely by surprise. The American tanker continued to fire all the HE he had as rapidly as possible, swinging the turret around to spray the German infantry, who were trying to escape into the fields on both sides of the highway. Loading and firing the gun by himself was extremely difficult, because he had to cross to the other side of the gun to load and then come back to the gunner’s position to fire.</p> <p>After exhausting his HE and .30-caliber ammunition, he opened the turret and swung the .50 caliber around on the ring mount and opened fire again. He continued firing until all of his .50-caliber ammunition was exhausted, then he grabbed a .45 submachine gun from the fighting compartment and opened fire with this. After using all the ammunition from his Thompson and his pistol, he dropped back in the turret and closed the hatch.</p> <p>He opened his box of hand grenades and grabbed one. When he heard German infantry climb onto the back of the tank, he pulled the pin, cracked the turret hatch slightly, and threw the grenade. It killed all the Germans on the back of the tank and those around it on the ground. He continued to do this until all of his hand grenades were gone; then he closed the hatch and secured it.</p> <p>By this time, the German infantry unit apparently decided to bypass the tank. From the vicious rate of firing, they must have assumed that they had run up on an entire reinforced roadblock. When our infantry arrived the next day, they found the brave young tanker still alive in his tank. The entire surrounding area was littered with German dead and wounded. This, to me, was one of the most courageous acts of individual heroism in World War II. </p> </blockquote> <p><em>Death Traps</em> was written to be a dispassionate account of Cooper&rsquo;s experiences, but it&rsquo;s obvious he was still seething with rage and resentment about the lives he saw wasted.</p> <p>Read it, then watch <em>Fury</em>. And be happy you&rsquo;re not in an M4.</p> New technology requires new thinking Nic Lindh http://thecoredump.org/ 2015-01-23T00:00:00-07:00 http://thecoredump.org/2015/01/new-technology-requires-new-thinking/ <p><img src="/images/old-tech.jpg" /></p> <p><i>Mitsubishi 19" Diamondtron and Sony 17" Trinitron monitors back in 2004. Those were the greatest display technologies you could purchase at the time. And yes, cool people, you are correct: that’s a FireWire iSight camera perching on the Trinitron.</i></p> <p>Probably the biggest hurdle with new technology is that it requires people to change to get the most out of it.</p> <p>When you adopt a technology to help solve a problem—like, oh let&rsquo;s say, team work—if you just drop the technology in people will use it like a faster version of the old technology. It&rsquo;s analogous to what happens to new media: First there&rsquo;s radio and then there&rsquo;s TV, and TV shows are radio shows with a camera trained on them until enough time goes by that pioneers discovers the strengths of the new medium and develop it into its own thing.</p> <p>In offices today we&rsquo;re still in the early part of that transition—we have better ways to do things, but they&rsquo;re stuck in their old workflows.</p> <p>Like the dreaded e-mail chain, where everybody&rsquo;s sending e-mails around like they&rsquo;re little slips of digital paper. And then a document needs revising, so a Word document gets attached to the e-mails, like it&rsquo;s a bunch of papers. </p> <p>There&rsquo;s no sane reason to do this in 2015, but all over the world this happens in offices every day. Because it&rsquo;s such a natural analog. You&rsquo;re using new technology to make what you used to do faster and more efficient, but forcing it to conform to old habits.</p> <p>And in offices around the world, people open the Word file, read it, edit it, and pass it along, exactly like a piece of paper that gets marked up by different people.</p> <p>It may still be a win since sending e-mails is a lot easier, faster, and cheaper than couriering paper around, but it&rsquo;s still the same old process, only turbocharged.</p> <p>The hard part about adopting a digital workflow isn&rsquo;t to replace the manual tools—<em>the hard part is to change the workflow.</em> </p> <p>People fear change. Most people at this point have realized the benefits of using a word processor instead of a typewriter, but that doesn&rsquo;t change the writing <em>process</em>, only the physical act itself.</p> <p>(As a sidenote here, the people working so hard on the Word team to add new features would cry themselves to sleep every night if they knew how many millions—perhaps billions by now—people use Word like it&rsquo;s a typewriter with magic white-out.)</p> <p>Which is profoundly sad—the state of computers and networks these days has the potential to revamp the process itself.</p> <p>One obvious technology that has been mature and ready for the masses for a long time is shared documents. Let&rsquo;s use Google&rsquo;s implementation as an example, since it&rsquo;s free and polished.</p> <p><a href="http://docs.google.com">Google Docs</a> lets you create and edit text documents, spreadsheets and presentations on the Internet, which is great for people who move between different machines a lot, or for people who simply want to be able to work on a document at work, then pick up where they left off at home without resorting to kludges like e-mailing themselves the document or remembering to put it on a flash drive. That&rsquo;s a win, right there.</p> <p>But the real win is that other people can be invited to collaborate on the documents. So different people can change things at the same time. Which means <em>no more e-mailing documents back and forth.</em> No more having to figure out who has the latest version, or the even worse scenario of spending your time editing a document only to find out it&rsquo;s several versions old and all your work was for naught. Not a good feeling, that.</p> <p>So why aren&rsquo;t more teams using technologies like Google Docs when the benefits are so obvious?</p> <p>Because they <em>require</em> a new process. Why mess with something that works—well, that kind of works—but is grossly inefficient?</p> <p>This is the challenge for technologists and technology evangelists—getting people to understand why changing the entire workflow is sometimes necessary to get the benefits of the technology. It can be a hard sell.</p> <p>Lord, can it ever be a hard sell.</p> An HTML, CSS and JavaScript lesson plan Nic Lindh http://thecoredump.org/ 2015-01-14T00:00:00-07:00 http://thecoredump.org/2015/01/an-html-css-and-javascript-lesson-plan/ <p><img src="/images/nic-teaching.jpg" /></p> <p><i>Spreading knowledge. Yes, it’s scary for all involved.</i></p> <h3>Introduction</h3> <p>Teaching HTML to beginners is difficult. <em>Learning</em> HTML is difficult and frightening for beginners.</p> <p>This post contains a lesson plan for getting beginners started I&rsquo;ve used with good success. It includes supporting files.</p> <p>Why should you listen to me? I&rsquo;ve taught HTML for over 15 years and <em>I&rsquo;ve never made anybody cry.</em> Ask anybody who&rsquo;s taught beginners to create websites and you&rsquo;ll find I&rsquo;m a unicorn. Oh, sure, there have been trembling lips and moist eyes, but no crying.</p> <p>Web nerds should probably be close to your fainting couch for this: Most people, including &ldquo;digital natives,&rdquo; have <em>never seen</em> HTML. I&rsquo;ll give you moment to recover.</p> <p>HTML is alien and hostile for most people—one typo will make half the page disappear; you have to be in control of your files; and there&rsquo;s a strict non-obvious and non-discoverable syntax you have to learn.</p> <p>JavaScript in the context of the browser is even harder since you can&rsquo;t do anything without understanding the basics of HTML (and preferrably CSS). So there&rsquo;s a steep learning curve before a student can do anything to get excited about.</p> <p>And of course being able to see the results of your work and getting excited is a huge part of learning something new and intimidating; it&rsquo;s what insulates students from fear and frustration about the long road ahead.</p> <h3>Why teach HTML basics</h3> <p>It&rsquo;s true most people will never need to create a website from scratch but will only need to understand enough to be able to use a Content Management System (CMS), but I argue everybody should nevertheless understand the basics of how websites are created.</p> <p>HTML is one of the most fundamental pieces of technology that affects a first-world person&rsquo;s life on a daily basis and you should understand what it is. Even if you do all your webwork inside a CMS, you will sometimes need to tweak things and knowing how to sprinkle in some CSS or a custom HTML tag will make all the difference.</p> <p>Ignorance is not a good thing.</p> <h3>The two paths to teach the basics</h3> <p>One of the constant points of dissension between people who teach beginning Web skills is whether you should teach using <a href="https://www.adobe.com/products/dreamweaver.html">a tool like Dreamweaver</a> or make students type in a text editor. I&rsquo;ve tried it both ways and with that experience have come down hard on the text editor side of this argument.</p> <p>There are two reasons: </p> <ol> <li>If you want to use a tool like Dreamweaver you first have to teach the tool—this takes valuable time</li> <li>The tool will let students dig a deep, deep hole they can&rsquo;t get out of without understanding the things the tool has hidden from them, so you—and your students—end up in a frustrating <a href="https://en.wikipedia.org/wiki/Catch-22">Catch-22</a>.</li> </ol> <p>Teaching with a text editor (<a href="http://www.barebones.com/products/textwrangler/">Text Wrangler</a> by Bare Bones is a great, free option on the Mac) on the other hand lets you get to the topic at hand almost immediately. (If you use Text Wrangler in class, don&rsquo;t forget to tell your students about Soft Wrap.) Of course, typing HTML by hand is also more stark and forbidding, so positive reinforcement is important.</p> <p>(And don&rsquo;t be That Guy and try to have your beginners write HTML in <a href="http://www.vim.org">Vim</a> or <a href="https://www.gnu.org/software/emacs/">Emacs</a>. Don&rsquo;t. Just don&rsquo;t.)</p> <p>Note that <em>typing</em> is crucial: Have students type as much of their HTML as possible from your example up on the projector. Just reading is not enough. Typety-type-type. Though it&rsquo;s a good idea to distribute the HTML skeleton—after explaining it thoroughly—to save some time.</p> <p>As an instructor you will also discover the results of K12 schools cutting their typing classes: Most &ldquo;digital natives&rdquo; are horrendously slow typists. Build in enough time in the lesson plan to allow for this.</p> <p>(It would be an interesting experiment to have students do typing tests on both their phones and on keyboards—I&rsquo;d expect some of them to be faster on a slab of glass.)</p> <h3>Lesson plan</h3> <p>So here&rsquo;s how I broke the Web portion down for an online media class at the <a href="http://cronkite.asu.edu">Cronkite School</a>. Depending on the students and how long you make the lectures this will take two to six hours. </p> <p><a href="/downloads/html-css-js-resource-files.zip">Download a zip file of the example pages.</a></p> <h4>The Underpinnings</h4> <ul> <li>How the Internet works <ul> <li>TCP/IP, DNS, client-server relationships</li> </ul></li> <li>History of HTML <ul> <li>Why it is the way it is and the problem it solved <ul> <li>Why Sir Tim-Berners Lee is a hero</li> </ul></li> </ul></li> </ul> <h4>Naming files for the Internet</h4> <ul> <li>Use only lowercase, a-z, 0-9, no spaces, no special characters for filenames <ul> <li>Especially important on a Mac since it&rsquo;s case-insensitive and things seem to work if you mix upper- and lowercase, but then things break when put on a Linux server and the world can see your work</li> </ul></li> </ul> <h4>The importance of the root folder</h4> <ul> <li>Why you must get into the habit of creating one first thing in a project</li> </ul> <h4>Writing HTML</h4> <ul> <li>Distribute HTML skeleton and show the workflow: Edit in text editor, open in browser, save and refresh. Wax on, wax off</li> <li>Students create a root folder</li> <li>Students make a page with h1 and p tags</li> <li>Students copy the page and create a second page, change the headline and text on the second page and link them together</li> <li>Students download an image from the Web, put it in the root folder and include it in the page</li> <li>Students add a different image to the second page</li> </ul> <p>At this point students have created a two-page website with pages that link to each other and have images. This is big!</p> <h4>Adding CSS</h4> <ul> <li>Lecture on CSS, what problem it solves and why it&rsquo;s different from HTML</li> <li>Distribute HTML skeleton and have students build a <em>new</em> two-page site using skills from previous lesson</li> <li>Add CSS includes and create a simple CSS file to change colors and fonts</li> <li>Explain why we have hex codes for colors and show <a href="https://color.adobe.com/create/color-wheel/">Adobe Color CC</a> (née Kuler)</li> <li>Students experiment with fonts and colors</li> </ul> <p>Students now know how to customize the look of their pages.</p> <h4>Adding JavaScript</h4> <p>The objective of this part is to have students create a page they can interact with. </p> <p>The lesson has three parts. First, create a page with a text box students can type into and see a different box update with the same text. Second, add in a test to see if the text box is empty and display different text. Third, build in an easter egg that displays special text when a certain word is input.</p> <p>Yes, this is very basic. It will still bake the brains of students who&rsquo;ve never programmed before—there are a lot of concepts to absorb.</p> <ul> <li>Lecture on the basics of programming: variables, loops, functions, and conditionals</li> <li>Lecture on the history of JavaScript (Created in 10 days in 1995 by one man—which explains a lot)</li> <li>Distribute the first file (<code>js1.html</code>) and verify it works</li> <li>Explain we&rsquo;re going to change the page so the box doesn&rsquo;t disappear when there&rsquo;s no text in the text box</li> <li>Put up <code>js2.html</code> on the projector (don&rsquo;t distribute) and have students type in the changes</li> <li>Explain we&rsquo;re going to put in an easter egg. Because all programs must have easter eggs</li> <li>Put up <code>js3.html</code> (don&rsquo;t distribute) on the projector and have students type in the changes</li> <li>Have students change the easter egg to a word of their own choosing <ul> <li>(Only change the <code>if</code> statement)</li> </ul></li> </ul> <h4>Getting more advanced</h4> <p>Obviously the pages so far have been basic. To take it to the next level, introduce students to frameworks like <a href="http://getbootstrap.com">Bootstrap</a> that let them stand on the shoulders of giants.</p> <p>There&rsquo;s no better place to learn how to make the Web than the Web itself. Highlight resources like <a href="http://www.codecademy.com">Code Academy</a>.</p> <h3>Supporting documents</h3> <p><a href="/downloads/html-css-js-resource-files.zip">Download a zip file of the example pages.</a></p> <h3>Let me know how it goes</h3> <p>If you end up using this, please do let me know how it went and if you have any feedback via <a href="mailto:nicl@thecoredump.org">email</a> or <a href="http://twitter.com/niclindh">Twitter</a>.</p> Book roundup, part 17 Nic Lindh http://thecoredump.org/ 2014-12-27T00:00:00-07:00 http://thecoredump.org/2014/12/book-roundup-part-17/ <h2>Non-fiction</h2> <h3><a href="http://www.amazon.com/So-Anyway-John-Cleese-ebook/dp/B00KAFVNY2/ref=tmm_kin_swatch_0?qid=&amp;sr=&amp;tag=thecoredump-20&amp;_encoding=UTF8">So, Anyway…, by John Cleese</a> ★★★★☆</h3> <p>As you&rsquo;d expect from an autobiography by John Cleese, <em>So, Anyway…</em> is smart, funny, and conversational. Fair warning, though, that it stops just as Monty Python are formed, so apart from allusions to Cleese and Terry Gilliam not being on the best of terms, to put it mildly, there&rsquo;s little about that part of his life in here.</p> <p>There&rsquo;s plenty about his early life, strained relationship with his mom, and the escapades of his father, who clearly had an interesting time what with getting hurt in WWI then traveling around the waning Empire leading the life of a British gentleman before settling down in rural England to sell insurance.</p> <p>One feeling I kept having when Cleese wrote about his college years and his start in comedy was how incredibly implausible it sounded. Not casting any aspersions on his truthfulness, but wow, the coincidences and lucky breaks are astonishing.</p> <p>If you&rsquo;re interested in Cleese himself or you&rsquo;re a bit of an anglophile, <em>So, Anyway…</em> will do you solid.</p> <h3><a href="http://www.amazon.com/Yes-Please-Amy-Poehler-ebook/dp/B00IHZS39A/ref=sr_1_1_twi_2?sr=8-1&amp;ie=UTF8&amp;keywords=yes%2Bplease%2Bpoehler&amp;tag=thecoredump-20&amp;qid=1417563151">Yes Please, by Amy Poehler</a> ★★★☆☆</h3> <p>A funny and smart mix of stories about Poehler&rsquo;s life, advice, and general oddity. It&rsquo;s a fast, easy read, though the name dropping gets a bit heavy at times.</p> <p><em>Yes Please</em> made me binge-watch <em>Parks and Recreation</em>, which was enjoyable.</p> <h2>Fiction</h2> <h3><a href="http://www.amazon.com/The-Mirror-Empire-Worldbreaker-Saga-ebook/dp/B00IQQUYVK/ref=pd_sim_kstore_1?refRID=16WCS65A2TR4JE8D7DHZ&amp;tag=thecoredump-20&amp;ie=UTF8">The Mirror Empire, by Kameron Hurley</a> ★★★★☆</h3> <p>One of the best new fantasy novels I&rsquo;ve read in ages, <em>The Mirror Empire</em> does very interesting things with the tropes of the genre and is completely engrossing.</p> <p>Be prepared to concentrate, though—the plot is intense and dense. You&rsquo;ll be rewarded.</p> <h3><a href="http://www.amazon.com/London-Falling-Paul-Cornell/dp/0765368102/ref=la_B009OJYFUO_1_1?ie=UTF8&amp;sr=1-1&amp;s=books&amp;tag=thecoredump-20&amp;qid=1419532954">London Falling, by Paul Cornell</a> ★★★★☆</h3> <p>There&rsquo;s a whole sub genre of urban fantasy that takes place in London and <em>London Falling</em> is the darkest take on the genre I&rsquo;ve seen. It&rsquo;s a bit hard to discuss the plot without spoiling it, but basically four hard-case police officers working on a case accidentally acquire what they call the Sight, enabling them to see the supernatural elements and beings that crowd around London, including and centrally to the story a very terrible witch.</p> <p><em>London Falling</em> admirably sticks to being a noir police procedural with the supernatural elements added on top, providing another level of menace and straight-up creepiness.</p> <p>This is one of the most British books I&rsquo;ve read when it comes to vocabulary, to the point where I had to concentrate to understand some passages, which added to the atmo.</p> <p>It&rsquo;s also the first in the Shadow Police series and frustratingly the only one. If you happen across this review, Mr. Cornell, please write as fast you can—can&rsquo;t wait for the next installment!</p> <h3><a href="http://www.amazon.com/Broken-Homes-Peter-Grant-Book-ebook/dp/B00DYX9OPC/ref=sr_1_4_twi_2?sr=8-4&amp;ie=UTF8&amp;keywords=rivers%2Bof%2Blondon&amp;tag=thecoredump-20&amp;qid=1419627210">Broken Homes, by Ben Aaronovitch</a> ★★★★☆</h3> <p><em>Broken Homes</em> is the fourth installment in the great Rivers of London series and you should absolutely not start here but <a href="http://www.amazon.com/Midnight-Riot-Peter-Grant-Book-ebook/dp/B004C43F70/ref=sr_1_2_twi_1?sr=8-2&amp;ie=UTF8&amp;keywords=rivers%2Bof%2Blondon&amp;tag=thecoredump-20&amp;qid=1419731072">at the beginning</a>—the series is written with each novel having a stand-alone plot but there&rsquo;s also an arch that gets more and more interesting as it goes on.</p> <p>So Rivers of London is written like a TV series and rewards binge-reading. Which is great until you reach the end of the published novels and have to sit in a corner and wait for the next one to get your fix.</p> <p>Rivers of London is part of the London urban fantasy genre, like <em>London Falling</em>, but takes a much lighter tone. Our protagonist, Peter Grant, is a police officer with the ability to see the supernatural elements of London and is apprenticed to a wizard police officer who runs a tiny department in the police force that deals with the &ldquo;special&rdquo; sorts of cases.</p> <p><em>Broken Homes</em> gets deeper into the mythology and has Grant figuring out what is going on with a London slum skyscraper. Hint: Bad things.</p> <p>It moves the series along and there&rsquo;s a <em>huge</em> twist at the end, but it&rsquo;s not the best installment. Still, if you&rsquo;ve gotten this far in the series, you&rsquo;ll enjoy it and get excited for the next installment, which is January 6, 2015 according to Amazon.</p> <h3><a href="http://www.amazon.com/Perfidia-James-Ellroy-ebook/dp/B00J1IQUYC/ref=sr_1_1_twi_2?sr=8-1&amp;ie=UTF8&amp;keywords=ellroy%2Bperfidia&amp;tag=thecoredump-20&amp;qid=1417921612">Perfidia, by James Ellroy</a> ★★★★☆</h3> <p>Ellroy is back in LA in this first novel in a new series that takes place around the time of Pearl Harbor, before the events in the LA Quartet.</p> <p>As you&rsquo;d expect from Ellroy it&rsquo;s super densely plotted and written and the most hard core of hard core noir. Soooo dark and depressing. And incredibly impressive both for its own sprawling plot and for all the recurring characters from the LA Quartet. (You don&rsquo;t have to have read it to enjoy <em>Perfidia</em>, but if you have you&rsquo;ll gasp in places as you get the back story of characters in those novels.)</p> <p>If you&rsquo;re an Ellroy fan, <em>Perfidia</em> is a given.</p> <h3><a href="http://www.amazon.com/Peripheral-William-Gibson-ebook/dp/B00INIXKV2/ref=sr_1_1_twi_1?ie=UTF8&amp;sr=1-1&amp;s=digital-text&amp;keywords=gibson%2Bperipheral&amp;tag=thecoredump-20&amp;qid=1417564975">The Peripheral, by William Gibson</a> ★★★★★</h3> <p><em>The Peripheral</em> may very well be Gibson&rsquo;s best work ever, which is high praise indeed. It gives us not one but two dystopian near-futures and is lathered with his polished, smooth prose. It&rsquo;s impossible to talk about the plot without spoiling, so I&rsquo;ll leave it alone except to say that it&rsquo;s completely normal to start reading this novel and enjoying it while being utterly confused. Until that glorious moment when the plot clicks into focus.</p> <p><em>Glorious.</em></p> <h3><a href="http://www.amazon.com/Burning-Chrome-William-Gibson-ebook/dp/B00ICMWZH4/ref=sr_1_1_twi_2?sr=8-1&amp;ie=UTF8&amp;keywords=burning%2Bchrome&amp;tag=thecoredump-20&amp;qid=1418244022">Burning Chrome, by William Gibson</a> ★★★★☆</h3> <p>After reading <em>The Peripheral</em> I decided to revisit <em>Burning Chrome</em>, Gibson&rsquo;s classic short story collection. And even though some of the specifics of how cyberspace works and the prevalence of Japanese cyberdecks and conglomerates dates it pretty badly, they&rsquo;re still beautiful vignettes, and since the technology was never really the thing, it&rsquo;s still a great collection.</p> <p>Since the last time more than 20 years ago I last read it, I&rsquo;d forgotten how sad the stories are—regret is a constant theme.</p> <p>Well worth a re-read or a first read if you&rsquo;ve been living under a rock.</p> <h3><a href="http://www.amazon.com/Kameron-Hurley-Omnibus-ebook/dp/B00E257Y2G/ref=sr_1_1?ie=UTF8&amp;sr=1-1&amp;s=digital-text&amp;keywords=kameron%2Bhurley%2Bomnibus&amp;tag=thecoredump-20&amp;qid=1417563337">The Kameron Hurley Omnibus, by Kameron Hurley</a> ★★★☆☆</h3> <p>I was impressed enough with <em>The Mirror Empire</em> to pick up this omnibus of Hurley&rsquo;s entire Bel Dame Apocrypha series, <em>God&rsquo;s War</em>, <em>Infidel</em>, and <em>Rapture</em>.</p> <p>Far-future sci-fi, the series takes place on a planet colonized mostly by Muslim nations. The terraforming didn&rsquo;t go super well, and the nations have descended into a horrific never-ending war.</p> <p>Our protagonist is a former Bel Dame, what government enforcers-slash-sheriffs are called and she is most emphatically not a nice human being. And neither is anybody else. The series is grim and grimy with a strong sense of noir.</p> <p>With the general unpleasantness of everybody involved, it can be a bit of a slog, but Hurley&rsquo;s world building is first-rate and full of interesting details like the use of insects as technology-analogs (a result of the terraforming not going well) and plenty of misandry (women run the planet and are just as bad at is as men).</p> <p>The Bel Dame series is well worth checking out if you want a different flavor of sci-fi.</p> Introducing the Link Dump Nic Lindh http://thecoredump.org/ 2014-12-20T00:00:00-07:00 http://thecoredump.org/2014/12/introducing-the-link-dump/ <p><img src="/images/memtest.jpg" /></p> <p>As a maestro of being bad at marketing, I never even thought to talk about <a href="http://linked.thecoredump.org">the link blog I&rsquo;ve been running for a while</a>. Because with a blog and Twitter and whatnot, there sure wasn&rsquo;t any place for me to talk about the fact that I&rsquo;m finding interesting links and sharing them…</p> <p>Urgh. Bad at Internet.</p> <p>Still, I did. Run it, I mean. For what it&rsquo;s worth. And I intend to keep running it at <a href="http://linked.thecoredump.org">its new home</a>.</p> <p>Moving the link blog (aka &ldquo;The Flatline&rdquo; in an obvious William Gibson homage. And speaking of Gibson, it&rsquo;s upsetting that with all these new idiotic top-level domains like .plumbing there&rsquo;s no .cyber or .sprawl. Heathens.) to its new domain and obvious new name—&quot;The Link Dump&quot;—turned out to be not hard but annoying in that &ldquo;have to spend time in the Terminal fighting things&rdquo; way I&rsquo;d hoped we would be past in 2014.</p> <p>Still, there were things to learn in moving a WordPress site from one URL to the other without downtime.</p> <p>The most important is that by now you should only self-host your Internet presence if you enjoy dorking with computers.</p> <p>Seriously. Self-hosting is still hard and involves a lot of arcana. Which if you&rsquo;re the kind of person who have asked yourself, &ldquo;How does a BIOS actually work?&rdquo; and then figured it out only means you&rsquo;ll have to sink some time into it. But if you&rsquo;re normal you&rsquo;ll have to call somebody.</p> <p>So unless you enjoy knowing a lot about incredibly specific things or you have a tame nerd at hand, you should not self host your stuff.</p> <p>Newline. Newline. Italics. <em>Should not.</em></p> <p>Unless you get off on doing it yourself, you&rsquo;re going to have to pay somebody a lot of money. And the teenager across the street who says he can do it for a couple of movie passes? Maybe he can, and maybe he can&rsquo;t, but even if he can, will he take your call when the site goes down during the school day?</p> <p>So what should you do instead of self-hosting? For a simple blog like this or the link blog, just use <a href="http://tumblr.com">Tumblr</a>, <a href="http://wordpress.com">WordPress.com</a> or <a href="http://Squarespace.com">Squarespace</a>. (Disclaimer: I&rsquo;ve never used Squarespace, but the people who have seem to like it.)</p> <p>This way there are platoons of people who get paid to make sure your site stays up while you sit on the beach sipping a chilled beverage, plotting your next post.</p> <p>But, a lot of people say at this point, I have specific things my site must do that WordPress.com or Tumblr or whatnot doesn&rsquo;t do, so I must self-host!</p> <p>To which I say, How much money do you want to spend to have that particular specific feature? Because you&rsquo;ll need to hire a Web developer to make that happen. <em>And</em> how crucial is that feature? WordPress and Tumblr are pretty mature platforms at this point and have built in most of the functionality sane people want on their sites. So if you absolutely must have some functionality they don&rsquo;t have, you&rsquo;re either on to something great or you&rsquo;re nuts. Which one is it?</p> <p>The main thing to worry about is the URL: <em>You must own your own domain.</em> Fortunately you don&rsquo;t have to spend more than $10 or $20 per year for a domain.</p> <p>You must own your domain so you can move around. If you start on WordPress.com, then decide, You know what, I do need crazy feature X I can only get if I self-host, if you own your own domain you can just move all your content over and keep all your Google juice. </p> <p>But if you&rsquo;re on awesomeness.wordpress.com then decide to move to awesomeness.ninja you&rsquo;ll have to let your readers know about the change, hope they update their bookmarks, then wait for your Google juice to regenerate, which will suck.</p> <p>But Nic, you say, didn&rsquo;t you just move your link blog across domains? Isn&rsquo;t that what sparked this rant?</p> <p>You are correct. Did I mention I suck at marketing?</p> Our little sociopathic predator fluffballs Nic Lindh http://thecoredump.org/ 2014-12-13T00:00:00-07:00 http://thecoredump.org/2014/12/our-little-sociopathic-predator-fluffballs/ <p><img src="/images/helios-patio.jpg" /></p> <p><i>Our cat Helios, a.k.a The American Taliban. Terror and destruction are his middle names.</i></p> <p>Our relationship with cats is amazing when you think about it. We take these small predators that—unlike dogs—have had no evolutionary pressure whatsoever to consider us as anything but sources of food and warmth, invite them into our homes, provide food and shelter, and clean up their waste. </p> <p>Which, let&rsquo;s be real here, is <em>disgusting.</em> </p> <p>If you have a cat you&rsquo;ve had those moments when you&rsquo;re bent over the litter box, plastic shovel in hand and, tears in your eyes, choking back the urge to vomit.</p> <p>And this you do, because you love your little furry friend.</p> <p>Your little furry friend who is a sociopathic predator that lives to murder.</p> <p>One of our monsters, Helios, pictured above, has started to sleep with his helper monkeys now that the nights are getting colder, and he tends to come by as I&rsquo;m reading myself to sleep, purring up a storm next to me.</p> <p>Which is great—how can you not love that?</p> <p>But then the other night as I was petting him I realized, &ldquo;Wait. I&rsquo;m feeling super great that this animal I feed and clean up excrement from is allowing me to pet him and make him feel so good he purrs.&rdquo;</p> <p>Sucker. Just a sucker.</p>