<?xml version="1.0" encoding="UTF-8" standalone="no"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
<channel>
<title>timbroder.com</title>
<description>Tim Broder is a creative technologist</description>
<link>https://timbroder.com</link>
<atom:link href="https://timbroder.com/feed" rel="self" type="application/rss+xml"/>
<language>en</language>
<lastBuildDate>Fri, 13 Nov 2026 05:00:00 GMT</lastBuildDate>
<item><title>Gatsby Is on Autopilot. Time to Think About Replatforming.</title><description>Since Netlify acquired Gatsby in 2023 and cut most of its team, the framework has been coasting: four minor releases in three years, and nothing since February. My site is along for the ride, and it might be time to get off.</description><link>https://timbroder.com/2026/11/gatsby-on-autopilot-time-to-replatform/</link><guid isPermaLink="false">https://timbroder.com/2026/11/gatsby-on-autopilot-time-to-replatform/</guid><pubDate>Fri, 13 Nov 2026 05:00:00 GMT</pubDate><content:encoded><![CDATA[<p>This site runs on Gatsby. Has since 2018. And lately I've realized Gatsby itself is running on autopilot.</p>
<p><strong>Not dead. Autopilot.</strong></p>
<p>The sites still build. <code>npm install gatsby</code> still works. Every so often a release still shows up. But nobody seems to be flying the plane anymore.</p>
<h2>How we got here</h2>
<p>In February 2023, Netlify <a href="https://www.devclass.com/development/2023/02/01/netlify-acquires-gatsby-inc-with-focus-on-plugin-ecosystem-and-valhalla-content-hub/1620236">acquired Gatsby</a>. Netlify's CEO was pretty upfront about it at the time: the open source framework was "not the focus of our acquisition." What they were after was Gatsby Cloud, the source plugin ecosystem, and the Valhalla content hub (which became Netlify Connect).</p>
<p>Then came the layoffs. Juan Diego Rodríguez's <a href="https://www.smashingmagazine.com/2024/03/end-of-gatsby-journey/">The End Of My Gatsby Journey</a> in Smashing Magazine lays it out well. A restructuring cut deep into Gatsby's engineering team, and commits to the repo more or less stopped. At one point a former Gatsby and Netlify developer suggested there might be one person left.</p>
<p>Gatsby Cloud didn't make it either. Netlify <a href="https://www.netlify.com/blog/gatsby-cloud-evolution/">folded it into its own platform</a> later that year.</p>
<h2>What autopilot looks like</h2>
<p>I pulled the <a href="https://github.com/gatsbyjs/gatsby/releases">release history</a> from npm. It tells the story better than I can:</p>
<ul>
<li>From 5.0 (November 2022) through 5.12 (August 2023), a new minor release landed every few weeks. Thirteen of them in about ten months.</li>
<li>Since then? Four. 5.13 in December 2023. 5.14 almost a year later. 5.15 in August 2025. 5.16 in January 2026.</li>
<li>The last release of any kind was 5.16.1, back in February. That's nine months of nothing.</li>
</ul>
<p>The releases that do ship read like upkeep — security fixes, dependency bumps, performance tweaks. To be fair, that's roughly what Netlify promised: a focus on stability. And it <em>is</em> stable. It's just not going anywhere.</p>
<p>Don't get me wrong — keeping the lights on matters. The current release even accepts React 19. But keeping the lights on isn't the same as having a plan. There aren't new features to speak of, and from what I can tell the plugin ecosystem that made Gatsby great is aging out one abandoned package at a time.</p>
<h2>Credit where it's due</h2>
<p>Kyle Mathews and the original Gatsby team pushed the whole industry forward. The idea that a static site could pull content from anywhere — markdown, a CMS, an API — and stitch it together at build time? That idea won. It's the reason my posts can live in a git repo and in <a href="https://www.contentful.com">Contentful</a> at the same time.</p>
<p>It just doesn't feel like the framework will be around to enjoy the win.</p>
<h2>So, this site</h2>
<p>I'm on Gatsby 5.16.1. The latest. Being fully up to date on a framework that hasn't shipped in nine months isn't as reassuring as it sounds.</p>
<p>The short list is <a href="https://astro.build">Astro</a> and <a href="https://nextjs.org">Next.js</a>. I haven't decided. But I'd rather pick on my own schedule than wait for some future Node upgrade to pick for me.</p>
<hr>
<p><em>This post was written by Claude (Anthropic's AI assistant) based on my outline, some digging into Gatsby's release history, and the voice guide in this repository.</em></p>]]></content:encoded></item>
<item><title>I Built a Robot to Move My Books From Goodreads to StoryGraph</title><description>I've been meaning to move my reading life over to The StoryGraph for a while. Goodreads still has all my history, though. And honestly, Goodreads is where the rest of my reading friends live. So I wanted both. Without thinking about it. Neither site has a public API I could lean on. (Goodreads shut theirs down years ago.) What they do have is an export button on one side and an import button on the other. Click, download, click, upload. Every time I finish a book. That's not hard. It's just tedious, and…</description><link>https://timbroder.com/2026/11/goodreads-to-storygraph-sync/</link><guid isPermaLink="false">https://timbroder.com/2026/11/goodreads-to-storygraph-sync</guid><pubDate>Thu, 12 Nov 2026 00:00:00 GMT</pubDate><content:encoded><![CDATA[<p>I've been meaning to move my reading life over to <a href="https://www.thestorygraph.com/">The StoryGraph</a> for a while. Goodreads still has all my history, though. And honestly, Goodreads is where the rest of my reading friends live.</p>
<p>So I wanted both. Without thinking about it.</p>
<p>Neither site has a public API I could lean on. (Goodreads shut theirs down years ago.) What they do have is an export button on one side and an import button on the other. Click, download, click, upload. Every time I finish a book.</p>
<p>That's not hard. It's just <em>tedious</em>, and tedious things don't happen.</p>
<h2 id="so-i-automated-the-clicking">So I automated the clicking</h2>
<p><a href="https://github.com/timbroder/Goodreads2Storygraph">Goodreads2Storygraph</a> is a Docker container that runs on a schedule (3 AM by default), logs into Goodreads, exports your library, and gets it into StoryGraph. Set it up once, forget it.</p>
<p>The browser part is <a href="https://playwright.dev/">Playwright</a> driving headless Chromium, because there's nothing else to drive. It reuses saved login sessions so it isn't logging in from scratch every night, and when something breaks it drops a screenshot and a per-run log in a folder so I can see what the page looked like.</p>
<p>Don't get me wrong, scraping through a browser is not elegant. It's the thing you do when the front door is locked. All the selectors live in one file (<code>selectors.py</code>), so when either site changes its markup I'm fixing one place.</p>
<p>One caveat up front: you have to turn off 2FA on both accounts. That's a real tradeoff and I'm not thrilled about it. Run it on a machine you trust.</p>
<h2 id="version-one-dumb-on-purpose">Version one: dumb on purpose</h2>
<p>The first version did the least clever thing possible. Export the CSV, hash it, and if the hash matches last night's, skip. Otherwise upload the whole file and let StoryGraph sort out duplicates.</p>
<p>No transformation, no database. I wrote the plan down first (it's in <code>PROJECT_PLAN.md</code>), and then built it in phases: core package, Docker, config, tests, CI, deployment. Claude did a lot of the typing on those, one PR per phase. I mostly reviewed and argued with it.</p>
<p>Then I added multi-account support, mainly because I wanted to run it for a couple of other people's libraries too. Each account gets its own state, its own browser session, and its own error handling, so one broken login doesn't take down the rest.</p>
<h2 id="where-upload-everything-falls-apart">Where "upload everything" falls apart</h2>
<p>Here's the problem I kept running into. An import is a blunt instrument. It's great at "here's a pile of books, add the ones you don't have." It's not great at "I <em>finished</em> this one yesterday, it used to be on my to-read shelf."</p>
<p>I'll be upfront: I haven't tested every way the importer handles status changes, and I wasn't happy with having to wonder. I wanted the sync to know what had <em>changed</em> and apply only that.</p>
<p>So the latest piece is a delta sync.</p>
<h2 id="how-the-delta-sync-works">How the delta sync works</h2>
<p>Here's what it does on each run:</p>
<ol>
<li><strong>Seed a baseline from StoryGraph.</strong> The first time, it scrapes what's <em>already</em> on StoryGraph and stores it in a local SQLite database (one row per book, per account). That's the "what the other side looks like right now" snapshot.</li>
<li><strong>Read Goodreads.</strong> It parses the export CSV and keeps four shelves: to-read, currently-reading, read, and did-not-finish. Anything else gets ignored.</li>
<li><strong>Compute the delta.</strong> Compare the two. Books that aren't on StoryGraph are <em>additions</em>. Books that are there with a different status are <em>updates</em>.</li>
<li><strong>Apply just those changes</strong> through the browser.</li>
</ol>
<p>The heart of it is small enough to show:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="python"><code><span class="line"><span style="color:#fa4f8d">for</span><span style="color:#F8F8F2"> book_key, desired </span><span style="color:#fa4f8d">in</span><span style="color:#F8F8F2"> desired_books.items():</span></span>
<span class="line"><span style="color:#F8F8F2">    current </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> current_books.get(book_key)</span></span>
<span class="line"><span style="color:#fa4f8d">    if</span><span style="color:#F8F8F2"> current </span><span style="color:#fa4f8d">is</span><span style="color:#AE81FF"> None</span><span style="color:#F8F8F2">:</span></span>
<span class="line"><span style="color:#F8F8F2">        additions.append(desired)</span></span>
<span class="line"><span style="color:#fa4f8d">        continue</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">    if</span><span style="color:#F8F8F2"> current.status </span><span style="color:#fa4f8d">!=</span><span style="color:#F8F8F2"> desired.status:</span></span>
<span class="line"><span style="color:#F8F8F2">        updates.append(</span><span style="color:#AE81FF">...</span><span style="color:#F8F8F2">)  </span><span style="color:#94907d"># same book, new shelf</span></span></code></pre>
<p>The interesting question is what "same book" means, since the two sites don't share IDs. The key is the ISBN-13 when I have one, and otherwise a normalized <code>title|author</code> string (lowercased, punctuation stripped, whitespace collapsed).</p>
<p>That's why the ISBN stuff matters. Goodreads exports ISBNs in a weird <code>="978..."</code> format (a spreadsheet-formula trick, I think), and plenty of books come through with none at all. So there's an <a href="https://openlibrary.org/developers/api">Open Library</a> and <a href="https://developers.google.com/books">Google Books</a> lookup that fills in missing ISBNs, rate limited and cached on disk so I'm not hammering anyone.</p>
<h2 id="what-it-doesnt-do-yet">What it doesn't do (yet)</h2>
<p>Honest list:</p>
<ul>
<li><strong>Rereads.</strong> If you've read a book three times, it keeps the first row and moves on. There's a comment in the code that literally says "rereads and richer history come later."</li>
<li><strong>Dates, ratings, reviews.</strong> Right now it's shelves only. Status is the thing I cared about most.</li>
<li><strong>Fuzzy matching.</strong> If the ISBN is missing and the title is spelled differently on each site, it'll see two books. I'd rather have a duplicate than a wrong merge, but it's still a duplicate.</li>
<li><strong>Resilience to redesigns.</strong> Both sites can change tomorrow. Selectors are centralized, but I'll still be the one fixing them.</li>
</ul>
<p>There's a <code>DRY_RUN</code> mode that does everything except the final write to StoryGraph. Use it first. I did.</p>
<h2 id="why-bother">Why bother</h2>
<p>At the end of the day, it's a small thing. A few hundred lines of Python so I don't have to remember to click four buttons.</p>
<p>But I like that my reading history now lives in two places and I don't have to be the one keeping them in step. It's the kind of automation I like best — boring, quiet, and checked by a log file instead of my attention.</p>
<p>The code's <a href="https://github.com/timbroder/Goodreads2Storygraph">on GitHub</a>. If you try it and something breaks, I'd like to hear about it. (Bring the screenshot from the artifacts folder.)</p>
<hr>
<p><em>This post was written by Claude (Anthropic's AI assistant) based on my notes, the code and commit history in this repository, and the voice guide in my blog repository.</em></p>
]]></content:encoded></item>
<item><title>Reading on My Kobo, Listening on My Phone, Never Losing My Place</title><description>I sometimes read on a Kobo. I also listen to audiobooks on my phone. What I've wanted for a long time is for those to be the same book. Switching formats mid-book is miserable. You finish a chapter on the Kobo, switch to the audiobook, and then spend five minutes scrubbing around trying to find the sentence you stopped on. Amazon solved this ages ago with Whispersync. But I don't always read on a Kindle, and my books and audiobooks live on my own server. So I built my own. Put the Kobo down, pick up the…</description><link>https://timbroder.com/2026/11/kobo-audiobook-sync/</link><guid isPermaLink="false">https://timbroder.com/2026/11/kobo-audiobook-sync</guid><pubDate>Wed, 11 Nov 2026 00:00:00 GMT</pubDate><content:encoded><![CDATA[<p>I sometimes read on a Kobo. I also listen to audiobooks on my phone. What I've wanted for a long time is for those to be the <em>same</em> book.</p>
<p>Switching formats mid-book is miserable. You finish a chapter on the Kobo, switch to the audiobook, and then spend five minutes scrubbing around trying to find the sentence you stopped on.</p>
<p>Amazon solved this ages ago with Whispersync. But I don't always read on a Kindle, and my books and audiobooks live on my own server.</p>
<p>So I built my own. Put the Kobo down, pick up the phone, hit play, and the audio starts where I stopped reading. And the other way around.</p>
<p>Here's how it works.</p>
<h2 id="the-short-version">The short version</h2>
<p>There are two separate problems hiding in here:</p>
<ol>
<li><strong>Processing.</strong> Something has to figure out which second of the audiobook matches which sentence of the epub. This happens once per book.</li>
<li><strong>Syncing.</strong> Something has to watch my position on every device and translate it between "page in a book" and "timestamp in an audio file." This happens all the time.</li>
</ol>
<p>Three containers do the real work, with a fourth in a supporting role:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="plaintext"><code><span class="line"><span>iPhone audiobook app  &lt;--&gt;  Audiobookshelf</span></span>
<span class="line"><span>                                 ^</span></span>
<span class="line"><span>                                 |   audio time &lt;-&gt; text position</span></span>
<span class="line"><span>                                 v</span></span>
<span class="line"><span>                            BookBridge  &lt;--  Storyteller</span></span>
<span class="line"><span>                                 ^           (word-level alignment)</span></span>
<span class="line"><span>                                 |</span></span>
<span class="line"><span>                     built-in KOReader sync server</span></span>
<span class="line"><span>                         ^                 ^</span></span>
<span class="line"><span>                         |                 |</span></span>
<span class="line"><span>                  Kobo (KOReader)    iPhone (Readest)</span></span></code></pre>
<h2 id="the-containers">The containers</h2>
<p>Everything on my home server runs as a <a href="https://www.docker.com">Docker</a> container out of one Compose file. These are the ones involved:</p>
<p><strong><a href="https://audiobookshelf.org">Audiobookshelf</a></strong> is the audiobook server. Think Plex, but for audiobooks. It holds the audio files, serves them to its iOS app, and remembers how far into each book I am. This is the <em>audio side</em> of the whole thing.</p>
<p><strong><a href="https://storyteller-platform.dev">Storyteller</a></strong> is the alignment engine. You hand it an epub and the matching audiobook, and it works out exactly where every sentence of the text lands in the audio. It also serves the finished ebooks to my devices through an OPDS catalog (basically a bookstore feed that e-reader apps know how to browse).</p>
<p><strong><a href="https://github.com/cporcellijr/bookbridge">BookBridge</a></strong> is the sync engine, and the piece that ties it all together. It used to be called abs-kosync-bridge. It knows about my Audiobookshelf progress and my e-reader progress, and it translates between them.</p>
<p><strong><a href="https://calibre-ebook.com">Calibre</a></strong> (and <a href="https://github.com/janeczku/calibre-web">calibre-web</a>) is where my epubs live in the first place. It isn't part of the sync loop. It's just the library that Storyteller and BookBridge read from.</p>
<p>And one that's on its way out: a <strong>standalone KOReader sync server</strong>. <a href="https://koreader.rocks">KOReader</a> (the reading app I run on the Kobo) has its own little progress sync protocol, and I originally ran a separate container for it. BookBridge ships with that server built in now, so the standalone one is retired. One less thing to keep running.</p>
<p>On the devices:</p>
<ul>
<li><strong>Kobo:</strong> <a href="https://koreader.rocks">KOReader</a>, instead of the stock Kobo reader.</li>
<li><strong>iPhone, text:</strong> <a href="https://readest.com">Readest</a>, which speaks the same KOReader sync protocol.</li>
<li><strong>iPhone, audio:</strong> an Audiobookshelf app.</li>
</ul>
<h2 id="how-a-book-gets-processed">How a book gets processed</h2>
<p>This is the part I find really cool.</p>
<p>An epub and an audiobook are the same words in two totally different shapes. One is text in chapters. The other is eleven hours of someone talking. Nothing in either file tells you how they line up.</p>
<p>Storyteller figures it out with <em>forced alignment</em>:</p>
<ol>
<li><strong>It transcribes the audiobook.</strong> It runs the audio through <a href="https://github.com/openai/whisper">Whisper</a>, OpenAI's open source speech-to-text model. Out comes a transcript where every word has a timestamp.</li>
<li><strong>It matches the transcript to the book.</strong> The transcript won't be perfect, but it doesn't have to be. Storyteller already has the real text from the epub, so it only needs to find where each sentence of the book shows up in the transcript. That's why I can get away with Whisper's small "base" model. It's not writing the book, it's just finding it.</li>
<li><strong>It writes out the results.</strong> One is a new "readaloud" epub with the audio baked in and a <a href="https://www.w3.org/TR/epub-33/#sec-media-overlays">media overlay</a>, which is the epub standard's way of saying "this sentence plays from 4:31:07 to 4:31:12." The other is the word-level timeline itself, saved alongside the book.</li>
</ol>
<p>That timeline is the thing I actually care about. It's the map between the two formats.</p>
<p>Don't get me wrong, this is not fast. My server is a little mini PC with no GPU, and I cap Storyteller at two CPU cores so it doesn't starve everything else. An eleven hour audiobook takes roughly overnight. I queue it up and check on it in the morning.</p>
<p>Then BookBridge picks it up. I match the Audiobookshelf audiobook to the Storyteller book in its dashboard, and it ingests Storyteller's timeline and builds its own set of <em>anchors</em>: points where it knows a specific piece of text equals a specific moment in the audio. For the first book I set up, that was a bit over 52,000 anchors.</p>
<p>Because Storyteller already did the heavy lifting, this step takes seconds.</p>
<p>The whole pipeline, per book:</p>
<ol>
<li>Epub goes into Calibre, audiobook goes into Audiobookshelf.</li>
<li>Storyteller aligns the two. (Overnight.)</li>
<li>BookBridge links the audiobook to the aligned book. (Seconds.)</li>
<li>I download the ebook to the Kobo from Storyteller's catalog.</li>
</ol>
<h2 id="how-the-sync-works">How the sync works</h2>
<p>Once a book is linked, here's what happens when I actually read.</p>
<p><strong>Kobo to audio.</strong> I read a few chapters and put the Kobo to sleep. KOReader pushes my position to the sync server built into BookBridge. BookBridge looks at where I am, pulls out the sentence at that spot, finds that sentence in the alignment, and gets a timestamp. Then it tells Audiobookshelf "Tim is at 4:31:07."</p>
<p>Next time I open the audiobook app, that's where it starts.</p>
<p><strong>Audio to Kobo.</strong> Same thing backwards. BookBridge checks Audiobookshelf for my listening position, maps the timestamp to a sentence, finds that sentence in the epub, and updates the reading position. When I wake up the Kobo, KOReader asks the sync server where I am and offers to jump ahead.</p>
<p>Readest on my phone works exactly like the Kobo. It's just another text client on the same sync server, so all three stay together.</p>
<p>The trick BookBridge uses is matching on <em>the actual sentence</em> rather than a percentage. "43% through the epub" and "43% through the audio" are not the same place. Audiobooks have intros and credits, narrators speed up and slow down, some chapters are dense. Anchoring on the text lands me on the right sentence, not just the right neighborhood.</p>
<p>It's not instant in both directions. When I stop reading, the Kobo pushes right away. Going the other way, BookBridge checks Audiobookshelf about once a minute, so if I stop listening and grab the Kobo immediately, it can be a beat behind.</p>
<h2 id="the-part-that-bit-me">The part that bit me</h2>
<p>For a while, nothing synced and nothing complained. Everything looked healthy. Positions just never moved.</p>
<p>After a lot of debugging with Claude, the cause turned out to be how KOReader identifies a book. It doesn't use the title or the ISBN. It uses a <em>fingerprint of the file itself</em>, a hash built from small samples of the file's contents.</p>
<p>Which means every device has to have the <em>byte-for-byte identical</em> epub, and BookBridge has to know that same fingerprint.</p>
<p>Two things were breaking that:</p>
<ul>
<li>Storyteller offers two downloads for every book: the big readaloud epub with audio inside, and the small text-only one. Different files, different fingerprints. If the Kobo grabs one and the phone grabs the other, they're different books as far as the sync server is concerned.</li>
<li>BookBridge had fingerprinted its own copy of the big file, while my devices were reading the small one. So my Kobo's updates were arriving and getting filed under a book the bridge didn't recognize.</li>
</ul>
<p>The fix was boring once I understood it: always download the small text-only epub, on every device, and tell BookBridge which fingerprint my devices are actually sending. It has a spot for exactly that on each book.</p>
<p>Here's my rule now: <strong>one epub file, one fingerprint, everywhere.</strong></p>
<p>The same rule means that if Calibre rewrites an epub after I've aligned it (say, I fix the metadata), the file changes and I need to align it again.</p>
<h2 id="whats-still-rough">What's still rough</h2>
<ul>
<li><strong>Linking a book is manual.</strong> There are a few clicks per book, plus a wait overnight. This is not "buy a book and it just works."</li>
<li><strong>Storyteller's status can fib.</strong> The UI will sometimes say a book is aligned while it's still chewing on it. I've learned to check the logs before moving on.</li>
<li><strong>I haven't run my whole library through it.</strong> I do this one book at a time, for books I know I'll both read and listen to.</li>
<li><strong>Storyteller has its own apps</strong> that play the readaloud books directly, with the text highlighting as it's narrated. That's genuinely neat, but the iOS app was flaky for me, which is how I ended up using Audiobookshelf for audio and letting BookBridge do the syncing instead.</li>
</ul>
<p>At the end of the day, though, I finish a chapter on the Kobo, pick up my phone, hit play, and I'm on the next sentence. That's all I ever wanted from this.</p>
<p>Huge thanks to the folks behind <a href="https://storyteller-platform.dev">Storyteller</a>, <a href="https://github.com/cporcellijr/bookbridge">BookBridge</a>, <a href="https://audiobookshelf.org">Audiobookshelf</a>, and <a href="https://koreader.rocks">KOReader</a>. I just plugged their work together.</p>
<hr>
<p><em>This post was written by Claude (Anthropic's AI assistant) based on my setup notes and my conversations with it while building this, and the voice guide in this repository.</em></p>
]]></content:encoded></item>
<item><title>Making WhatsApp Searchable from Claude</title><description>A big chunk of my Scout-life runs through WhatsApp group chats: Campouts, cabin bunk counts, who's tenting, who's bringing cots, what's happening next month. And WhatsApp search is... fine. If you remember the exact word someone used. What I actually want to ask is something like "find the messages from yesterday where we talked about camping planning in the scoutmaster chat." That's a Claude question, not a search box question. So I set out to make it one. The problem There's no official API for reading…</description><link>https://timbroder.com/2026/10/whatsapp-claude-connector/</link><guid isPermaLink="false">https://timbroder.com/2026/10/whatsapp-claude-connector</guid><pubDate>Sat, 24 Oct 2026 00:00:00 GMT</pubDate><content:encoded><![CDATA[<p>A big chunk of my Scout-life runs through WhatsApp group chats: Campouts, cabin bunk counts, who's tenting, who's bringing cots, what's happening next month.</p>
<p>And WhatsApp search is... fine. If you remember the exact word someone used.</p>
<p>What I actually want to ask is something like <em>"find the messages from yesterday where we talked about camping planning in the scoutmaster chat."</em> That's a Claude question, not a search box question. So I set out to make it one.</p>
<h2 id="the-problem">The problem</h2>
<p>There's no official API for reading your own personal WhatsApp chats. The Business API is for businesses sending messages, not for me searching my history.</p>
<p>What <em>does</em> exist is the same trick WhatsApp Web uses: a <strong>linked device</strong>. You open WhatsApp on your phone, go to Linked devices, and scan a QR code. From then on, that device gets a copy of your messages, just like the desktop app does.</p>
<p>A handful of open source projects do exactly this and then expose your messages over <a href="https://modelcontextprotocol.io">MCP</a>. MCP (Model Context Protocol) is the standard way Claude talks to outside tools. You run an MCP server, tell Claude where it is, and Claude can call the tools it offers: "search messages," "list chats," that kind of thing. In the Claude apps these show up as <strong>connectors</strong>.</p>
<p>So the plan: run one of these on a machine I own, and plug it into Claude as a connector.</p>
<h2 id="my-setup-briefly">My setup, briefly</h2>
<p>If you've never seen my home setup, here's the 30-second version, because all of it comes up below.</p>
<ul>
<li><strong>The HTPC.</strong> A small Linux box at home. It started as a media server and grew. Everything on it runs as a <a href="https://www.docker.com">Docker</a> container, all defined in one <a href="https://docs.docker.com/compose/">Docker Compose</a> file: Plex, Jellyfin, Audiobookshelf, the *arrs, and now this.</li>
<li><strong>Ansible.</strong> I don't hand-edit the server. An <a href="https://www.ansible.com">Ansible</a> playbook copies the config files over, creates folders, and runs <code>docker compose up</code>. If it's not in the repo, it doesn't exist.</li>
<li><strong>Caddy.</strong> <a href="https://caddyserver.com">Caddy</a> is a web server acting as a <em>reverse proxy</em>: it's the one front door on ports 80/443. A request for <code>jellyfin.mydomain</code> comes in, Caddy hands it to the Jellyfin container. It also gets and renews HTTPS certificates from <a href="https://letsencrypt.org">Let's Encrypt</a> automatically, which is the main reason I love it.</li>
<li><strong>Cloudflare.</strong> My domain's DNS lives at <a href="https://www.cloudflare.com">Cloudflare</a>. My home IP address changes every so often, so a little container called <a href="https://github.com/favonia/cloudflare-ddns">cloudflare-ddns</a> keeps the DNS records pointed at wherever my house currently is. Caddy also uses the Cloudflare API to prove I own the domain when it asks for certificates.</li>
<li><strong>Tailscale.</strong> <a href="https://tailscale.com">Tailscale</a> is a private network (a <em>Tailnet</em>) between my own devices: laptop, phone, the HTPC. Devices on it get <code>100.x.x.x</code> addresses that only work for my devices, from anywhere. Most of my services are only reachable over Tailscale, so they never face the public internet at all.</li>
<li><strong>Authelia.</strong> For the few things that need a login screen, <a href="https://www.authelia.com">Authelia</a> sits in front of them and makes you sign in first.</li>
</ul>
<p>The short version: by default, things live on the Tailnet, and only a few deliberate exceptions face the internet.</p>
<h2 id="picking-a-server">Picking a server</h2>
<p>I worked through this with Claude, and we looked at a few:</p>
<ul>
<li><a href="https://github.com/lharries/whatsapp-mcp">lharries/whatsapp-mcp</a> is the original most of these come from. Great idea, but it's built to run on a laptop next to Claude Desktop, not on a server.</li>
<li><a href="https://github.com/flaviotome/whatsapp-mcp">flaviotome/whatsapp-mcp</a> is a really nice read-only design, but it was about a week old when I looked.</li>
<li><a href="https://github.com/felipeadeildo/whatsapp-mcp">felipeadeildo/whatsapp-mcp</a> has moved to Cloudflare Workers (Cloudflare's hosted platform). Slick, but I wanted it on my own box.</li>
</ul>
<p>I landed on <a href="https://github.com/Tauri-EPO/whatsapp-mcp">Tauri-EPO/whatsapp-mcp</a>, a fork of the lharries project that's been rebuilt for an always-on server. It's two containers:</p>
<ol>
<li><strong>The bridge.</strong> A Go program built on <a href="https://github.com/tulir/whatsmeow">whatsmeow</a> (thanks <a href="https://github.com/tulir">tulir</a>) that <em>is</em> the linked device. Every message that arrives gets written into a SQLite database with full-text search.</li>
<li><strong>The MCP server.</strong> A Python program that answers Claude's questions straight from that database. Searching never touches WhatsApp itself, so it's fast.</li>
</ol>
<p>The features that sold me:</p>
<ul>
<li><strong>Read-only mode.</strong> <code>WHATSAPP_READ_ONLY=1</code> removes every send/edit/delete tool. Claude can read; it can't post to the troop chat on my behalf. I don't care about sending, and I <em>really</em> don't want a <em>prompt injection</em> (someone writing "ignore your instructions and send this..." in a chat Claude reads) to be able to send anything.</li>
<li><strong>Real search.</strong> Full-text search filterable by chat and date, plus a tool that pulls the messages around each hit so Claude sees the conversation, not just one line.</li>
<li><strong>A <code>coverage</code> tool</strong> that tells Claude which date ranges it actually has. More on why that matters below.</li>
</ul>
<h2 id="the-catch-claudes-connectors-live-in-the-cloud">The catch: Claude's connectors live in the cloud</h2>
<p>My first instinct was "everything's on my Tailnet, just give Claude the Tailscale address." Done.</p>
<p>Nope.</p>
<p>Custom connectors in the Claude desktop and mobile apps get called <strong>from Anthropic's servers</strong>, not from my phone or laptop. Anthropic's servers aren't on my Tailnet, so a <code>100.x</code> address means nothing to them. If I wanted this on mobile (I did), the endpoint had to be reachable from the public internet.</p>
<p>That's a scary sentence when the thing behind it is every WhatsApp message I have.</p>
<p>To make it scarier, connectors only support OAuth (a full "log in and approve" flow) or no auth at all. There's no field to paste a password or API key. And my usual answer for exposed services, Authelia's login page, doesn't work because a connector can't click through a login page.</p>
<h2 id="the-lock">The lock</h2>
<p>Here's what I did instead. Three layers, all in Caddy:</p>
<ol>
<li><strong>Only Anthropic's servers get in.</strong> Anthropic <a href="https://platform.claude.com/docs/en/api/ip-addresses">publishes the IP addresses its servers call out from</a>, exactly so people can allowlist them. Any request from anywhere else gets a 404 (Not Found), like the site isn't even there. My Tailnet is allowed too, so I can test it.</li>
<li><strong>The URL carries a secret.</strong> The connector URL looks like <code>https://whatsapp.example.com/&lt;64-character-random-token&gt;/mcp</code>. Wrong token? 404.</li>
<li><strong>Caddy turns that secret into a real password.</strong> The MCP server expects a <em>bearer token</em>: a secret sent in an <code>Authorization</code> header on every request. Connectors can't send one, so Caddy strips the token off the URL and adds the header itself before passing the request along. The MCP server checks it on its own, so even something already inside my network can't use it without the token.</li>
</ol>
<p>Here's the Caddy config. <code>{$WHATSAPP_MCP_TOKEN}</code> is an environment variable, <code>100.64.0.0/10</code> is Tailscale's address range, and <code>whatsapp-bridge:8000</code> is the container's name and port on Docker's internal network:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="plaintext"><code><span class="line"><span>whatsapp.example.com {</span></span>
<span class="line"><span>    @mcp {</span></span>
<span class="line"><span>        remote_ip 160.79.104.0/21 100.64.0.0/10</span></span>
<span class="line"><span>        path /{$WHATSAPP_MCP_TOKEN}/mcp</span></span>
<span class="line"><span>        expression `{env.WHATSAPP_MCP_TOKEN}.size() &gt;= 32`</span></span>
<span class="line"><span>    }</span></span>
<span class="line"><span>    handle @mcp {</span></span>
<span class="line"><span>        uri strip_prefix /{$WHATSAPP_MCP_TOKEN}</span></span>
<span class="line"><span>        reverse_proxy whatsapp-bridge:8000 {</span></span>
<span class="line"><span>            header_up Authorization "Bearer {$WHATSAPP_MCP_TOKEN}"</span></span>
<span class="line"><span>            flush_interval -1</span></span>
<span class="line"><span>        }</span></span>
<span class="line"><span>    }</span></span>
<span class="line"><span>    handle {</span></span>
<span class="line"><span>        respond 404</span></span>
<span class="line"><span>    }</span></span>
<span class="line"><span>}</span></span></code></pre>
<p>Reading it top to bottom: <code>@mcp</code> only matches when the request comes from an allowed IP <em>and</em> has the right path. Matching requests get the token stripped and forwarded with the header; everything else gets a 404. The <code>expression</code> line is a little paranoid: if the token ever failed to load, the path would collapse to <code>//mcp</code>, so this keeps the route closed instead. <code>flush_interval -1</code> makes Caddy pass streamed responses through right away instead of buffering them.</p>
<p>The rest of the plumbing:</p>
<ul>
<li>A new DNS record for the subdomain, added to the list cloudflare-ddns already keeps up to date.</li>
<li>My router already forwards port 443 to the HTPC for the handful of public services, so nothing changed there.</li>
<li>The two WhatsApp containers don't publish any ports at all. The only way in is through Caddy.</li>
</ul>
<p>The token itself never touches git. My Ansible playbook generates it on the server the first time it runs (<code>openssl rand -hex 32</code> is 32 random bytes written as 64 hex characters) and saves it to a file only my user can read. Caddy and both containers load it from there as an environment variable:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="yaml"><code><span class="line"><span style="color:#F8F8F2">- </span><span style="color:#fa4f8d">name</span><span style="color:#F8F8F2">: </span><span style="color:#E6DB74">Generate WhatsApp MCP token if missing</span></span>
<span class="line"><span style="color:#fa4f8d">  ansible.builtin.shell</span><span style="color:#F8F8F2">: </span><span style="color:#fa4f8d">|</span></span>
<span class="line"><span style="color:#E6DB74">    umask 077</span></span>
<span class="line"><span style="color:#E6DB74">    printf 'WHATSAPP_MCP_TOKEN=%s\n' "$(openssl rand -hex 32)" &gt; /mnt/whatsapp-mcp/secrets.env</span></span>
<span class="line"><span style="color:#fa4f8d">  args</span><span style="color:#F8F8F2">:</span></span>
<span class="line"><span style="color:#fa4f8d">    creates</span><span style="color:#F8F8F2">: </span><span style="color:#E6DB74">/mnt/whatsapp-mcp/secrets.env</span></span>
<span class="line"><span style="color:#fa4f8d">    executable</span><span style="color:#F8F8F2">: </span><span style="color:#E6DB74">/bin/bash</span></span></code></pre>
<p><code>creates:</code> means Ansible skips this if the file already exists, so re-running the playbook doesn't rotate the token out from under me.</p>
<p>Is this as good as proper OAuth? No. But a 256-bit random secret <em>plus</em> an IP allowlist <em>plus</em> read-only tools felt like the right amount of lock for the amount of setup. The server supports OAuth if I ever want to go further.</p>
<h2 id="testing-it-and-a-dumb-moment">Testing it (and a dumb moment)</h2>
<p>Before deploying, Claude downloaded a real Caddy binary, pointed the route at a dummy backend, and threw bad requests at it: wrong token, no token, <code>//mcp</code>, path tricks, a disallowed IP. All 404s. Only the right token from an allowed IP got through, with the header attached.</p>
<p>Then I deployed it and ran the checks, one layer at a time, so a failure would point at the broken piece:</p>
<ol>
<li><strong>Pairing.</strong> The bridge printed a QR code in its logs. Scanned it from my phone: <code>connected (authenticated)</code>.</li>
<li><strong>The token.</strong> Confirmed Caddy's container actually had the 64-character token loaded.</li>
<li><strong>The MCP server alone.</strong> Sent a request straight to the container from inside Docker's network, skipping Caddy: <code>200 OK</code>.</li>
<li><strong>Through Caddy.</strong> Same request through Caddy over the Tailnet, with the token in the URL: <code>200 OK</code>.</li>
<li><strong>The connector.</strong> Added it in claude.ai under Settings → Connectors → Add custom connector. It shows up in the desktop and mobile apps from there.</li>
</ol>
<p>Then the real test. I asked Claude about camping planning in the scoutmaster chat. It found the group, checked the day I asked about (nothing that day, a quiet one), and surfaced the actual planning thread from a few days earlier: who's in the cabin, who's tenting, the upcoming cabin trip and ski weekend.</p>
<p>That's the thing I wanted. 🎉</p>
<h2 id="what-it-doesnt-do">What it doesn't do</h2>
<p>Being honest about the gaps:</p>
<ul>
<li><strong>History is patchy.</strong> A linked device only gets the old messages your phone decides to send when you pair. I have about 11,600 messages, solid from this spring on, but with real holes in late 2024 and over last winter. Everything from now on gets captured, though. Claude checks <code>coverage</code> before claiming nothing happened, which is exactly what I want.</li>
<li><strong>It's unofficial.</strong> Linked-device clients like this break WhatsApp's terms of service. The ban risk for a quiet read-only device seems low, but it's not zero.</li>
<li><strong>No voice notes yet.</strong> Transcribing them needs a <a href="https://github.com/ggml-org/whisper.cpp">whisper.cpp</a> server (local speech-to-text) that I haven't set up.</li>
</ul>
<p>At the end of the day, though, it was fast to spin up, it lives on hardware I already own, and now my group chats are something I can actually <em>ask questions of</em>. For a scout dad, that's a real win.</p>
<hr>
<p><em>This post was written by Claude (Anthropic's AI assistant) based on my conversation with it while building this, and the voice guide in this repository.</em></p>
]]></content:encoded></item>
<item><title>Updating Natural Scroll using AppleScript in Tahoe</title><description>For ever and ever, Mac OS has not handled natural scrolling and switching between a mouse and a trackpad gracefully, or at least the way I want it. Without some kind of intervention, scrolling feels backwards on the opposite input mechanism. The "right" way to fix this is to use UnnaturalScrollWheels and never have to think about it. But, that doesn't help locked-down work machines. I've used an applescript in a shortcut to fix this for a while but Tahoe broke it. After some debugging with Claude over lunch…</description><link>https://timbroder.com/2026/01/natural-scroll-applescript-tahoe/</link><guid isPermaLink="false">https://timbroder.com/2026/01/natural-scroll-applescript-tahoe</guid><pubDate>Mon, 05 Jan 2026 00:00:00 GMT</pubDate><content:encoded><![CDATA[<p>For <a href="https://www.google.com/search?q=alfred+update+natural+scroll+site:www.alfredforum.com">ever</a> and <a href="https://www.google.com/search?q=applescript+update+natural+scroll">ever</a>, Mac OS has not handled natural scrolling and switching between a mouse and a trackpad gracefully, or at least the way I want it. Without some kind of intervention, scrolling feels backwards on the opposite input mechanism. The "right" way to fix this is to use <a href="https://github.com/ther0n/UnnaturalScrollWheels">UnnaturalScrollWheels</a> and never have to think about it. But, that doesn't help locked-down work machines.</p>
<p>I've used an applescript in a shortcut to fix this for a while but Tahoe broke it. After some debugging with Claude over lunch, here is the new one:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="plaintext"><code><span class="line"><span>-- Open trackpad settings directly</span></span>
<span class="line"><span>open location "x-apple.systempreferences:com.apple.Trackpad-Settings.extension"</span></span>
<span class="line"><span></span></span>
<span class="line"><span>tell application "System Events"</span></span>
<span class="line"><span>	tell application process "System Settings"</span></span>
<span class="line"><span>		</span></span>
<span class="line"><span>		-- Wait for window to be ready</span></span>
<span class="line"><span>		repeat until window 1 exists</span></span>
<span class="line"><span>			delay 0.1</span></span>
<span class="line"><span>		end repeat</span></span>
<span class="line"><span>		</span></span>
<span class="line"><span>		-- Wait for the tab group to exist</span></span>
<span class="line"><span>		repeat until exists tab group 1 of group 1 of group 3 of splitter group 1 of group 1 of window 1</span></span>
<span class="line"><span>			delay 0.1</span></span>
<span class="line"><span>		end repeat</span></span>
<span class="line"><span>		</span></span>
<span class="line"><span>		-- Click "Scroll &amp; Zoom" tab (radio button 2)</span></span>
<span class="line"><span>		click radio button 2 of tab group 1 of group 1 of group 3 of splitter group 1 of group 1 of window 1</span></span>
<span class="line"><span>		</span></span>
<span class="line"><span>		delay 0.2</span></span>
<span class="line"><span>		</span></span>
<span class="line"><span>		-- Click "Natural scrolling" checkbox</span></span>
<span class="line"><span>		click checkbox "Natural scrolling" of group 1 of scroll area 1 of group 1 of group 3 of splitter group 1 of group 1 of window 1</span></span>
<span class="line"><span>		</span></span>
<span class="line"><span>		delay 0.1</span></span>
<span class="line"><span>		</span></span>
<span class="line"><span>	end tell</span></span>
<span class="line"><span>end tell</span></span>
<span class="line"><span></span></span>
<span class="line"><span>-- Quit System Settings</span></span>
<span class="line"><span>tell application "System Settings" to quit</span></span></code></pre>
]]></content:encoded></item>
<item><title>My Leadership Style</title><description>As part of taking a new position at Highlights For Children, I participated in "new leader assimilation". It's a way for leaders to get to know their new teams, and visa versa. The most-asked question I got in advance was "What is your leadership style?" Now, I know what my style is in my head. What my core principles are and how they govern my leadership. But I've never taken the time to write it down. I had ChatGPT interview me so I could write it out. It was a fun exercise. I had no disagreements by the…</description><link>https://timbroder.com/2025/03/my-leadership-style/</link><guid isPermaLink="false">https://timbroder.com/2025/03/my-leadership-style</guid><pubDate>Fri, 21 Mar 2025 00:00:00 GMT</pubDate><content:encoded><![CDATA[<p>As part of taking a new position at <a href="https://shop.highlights.com/">Highlights For Children</a>, I participated in "new leader assimilation". It's a way for leaders to get to know their new teams, and visa versa. The most-asked question I got in advance was "What is your leadership style?" Now, I know what my style is in my head. What my core principles are and how they govern my leadership. But I've never taken the time to write it down. I had ChatGPT interview me so I could write it out. It was a fun exercise. I had no disagreements by the end of the process. Both the summary of my leadership style and the chat itself is below. The only editing I've done is for spelling to protect the innocent ;)</p>
<p><strong># My Leadership Style</strong></p>
<ol>
<li>
<p><strong>Visionary and Strategic</strong>: You emphasize the importance of a clear strategic vision and actively work to ensure the team has resources and support. Your approach shows that you value both a big-picture outlook and day-to-day execution.</p>
</li>
<li>
<p><strong>Supportive and Empathetic</strong>: You value open communication and make a consistent effort to understand the personal and professional challenges your team faces. Your responses reflect a compassionate approach, especially in areas like handling underperformance or navigating work-life balance.</p>
</li>
<li>
<p><strong>Hands-On and Engaged, but Non-Micromanaging</strong>: You take a “trust but verify” approach, especially with more senior members. By balancing autonomy with support, you respect the team’s expertise while remaining available to unblock and guide when needed.</p>
</li>
<li>
<p><strong>Resilient and Adaptable</strong>: You approach risk and change with thoughtful planning and adaptability, recognizing the importance of both structure and flexibility. This approach helps your team remain steady amid shifting priorities and challenges.</p>
</li>
<li>
<p><strong>Consensus-Builder with Authority</strong>: You work toward building consensus, especially in decision-making, but also set a clear expectation that final decisions are yours to make. This balances respect for team input with an understanding of your role as the ultimate decision-maker.</p>
</li>
<li>
<p><strong>Trust-Oriented and Transparent</strong>: Building and maintaining trust is clearly central to your style. You earn trust by being transparent, advocating for the team, and following through on commitments. You also set an example by being willing to step in where needed and sharing decision rationale openly.</p>
</li>
<li>
<p><strong>Calm Leadership with High Standards</strong>: You admire leaders who bring calm and centered energy, and you strive to bring a collected, supportive presence to the team even in high-stress situations. This goal adds a layer of steadiness and reliability to your leadership.</p>
</li>
</ol>
<p>In summary, your style combines strategic vision with empathy, structure with adaptability, and trust with accountability. You set a high standard for yourself and your team, aiming to foster a collaborative, growth-oriented environment where everyone feels supported, motivated, and respected.</p>
<p><strong># The ChatGPT Conversation</strong></p>
<p><strong><strong>You:</strong></strong>
I am trying to write out and define my leadership style. Can you ask me 20 prompts and then explain to me what my leadership style is?</p>
<p><strong>ChatGPT:</strong>
Absolutely! Here are 20 prompts that will help you reflect deeply on your leadership approach. After you answer them, I can help you analyze your responses to articulate your unique leadership style.</p>
<h3 id="prompts-for-reflecting-on-your-leadership-style">Prompts for Reflecting on Your Leadership Style</h3>
<ol>
<li><strong>What do you believe are the core responsibilities of a leader in a team setting?</strong></li>
<li><strong>How do you handle conflict within your team?</strong></li>
<li><strong>How do you make decisions when team members have differing opinions?</strong></li>
<li><strong>When a team member is struggling with their work, how do you typically respond?</strong></li>
<li><strong>What are your top priorities when it comes to team culture?</strong></li>
<li><strong>How do you balance the need for innovation with the need for consistency and stability?</strong></li>
<li><strong>How often do you provide feedback, and what’s your approach when giving constructive criticism?</strong></li>
<li><strong>What role do collaboration and individual accountability play in your leadership approach?</strong></li>
<li><strong>How do you encourage your team to grow and develop their skills?</strong></li>
<li><strong>What steps do you take to ensure that the goals you set are understood and achievable by your team?</strong></li>
<li><strong>What’s your approach to risk and failure within a team setting?</strong></li>
<li><strong>How do you motivate your team, especially during challenging times?</strong></li>
<li><strong>How much autonomy do you typically give to team members on projects?</strong></li>
<li><strong>How do you like to be involved in the day-to-day work of your team?</strong></li>
<li><strong>What’s your preferred way of handling underperformance?</strong></li>
<li><strong>How do you ensure that you stay adaptable to changing needs within your team or industry?</strong></li>
<li><strong>What do you do to build trust within your team?</strong></li>
<li><strong>How do you handle situations where your decisions or actions might not align with the majority of your team?</strong></li>
<li><strong>How do you measure success within your team?</strong></li>
<li><strong>What’s a leadership approach or philosophy you’ve admired in others?</strong></li>
</ol>
<p>Once you answer these, I can analyze and help you define your leadership style based on common patterns and values in your responses.</p>
<p><strong>You:</strong>
Should I answer them all at once with referencing numbers or one at a time?</p>
<p><strong>ChatGPT:</strong>
You can answer them in whichever way feels most comfortable! Here are two options that might make the process smoother:</p>
<ol>
<li>
<p><strong>Answer All at Once with Numbers</strong>: This lets you share your thoughts more freely without needing back-and-forth, and I can then review everything in one go to identify patterns and key themes.</p>
</li>
<li>
<p><strong>Answer One at a Time</strong>: If you prefer reflecting in smaller chunks, answering one or a few at a time gives you the chance to dive deeper into each prompt. I can respond with insights after each set, building up to a complete view of your leadership style over time.</p>
</li>
</ol>
<p>Let me know what suits you best!</p>
<p><strong>You:</strong>
Let's do #2. Can you feed them to me one at a time?</p>
<p><strong>ChatGPT:</strong>
Absolutely! Let's start with the first one:</p>
<p><strong>1. What do you believe are the core responsibilities of a leader in a team setting?</strong></p>
<p><strong>You:</strong>
A leader should craft and hold the strategic vision of the time. He should make sure the team has all of the information and resources in order to execute on this vision. He sometimes needs to be a shield for the team in order to keep them focused. He should be a strong advocate for the team elsewhere in the organization</p>
<p><strong>ChatGPT:</strong>
That’s a thoughtful answer that highlights both strategic direction and active support for the team. Here’s the next question:</p>
<p><strong>2. How do you handle conflict within your team?</strong></p>
<p><strong>You:</strong>
The first step is being able to identify that conflict is happening or at the very least, have open lines of communication where the team feels comfortable bringing me notice of a conflict. I will they talk to each party separately first, and then if needed have a meeting with all of us involved, together</p>
<p><strong>ChatGPT:</strong>
Great approach—identifying conflict early and creating a safe space for open communication is key. Here’s the third question:</p>
<p><strong>3. How do you make decisions when team members have differing opinions?</strong></p>
<p><strong>You:</strong>
I try to mediate to build consensus, but at the end of the day, I will be a tiebreaker</p>
<p><strong>ChatGPT:</strong>
Effective balance! Seeking consensus first but being prepared to step in as the decision-maker shows a structured yet flexible approach. Next up:</p>
<p><strong>4. When a team member is struggling with their work, how do you typically respond?</strong></p>
<p><strong>You:</strong>
First I need to identify what might be leading to the struggle. Is it work or home-related? If it's a home issue, sometimes just lending an ear is enough. Sometimes recommending outside counseling is appropriate. Is it a skill or motivation issue? If it's a skill issue, is there training that can be attended? Or is there a mentor that could help, whether that's myself or someone else in the organization. If it's a motivation issue: is that driven by compensation or lack of understanding of why we're working on what we are. Then, try to work through any of these issues with them. First I would talk to them about it, but then would put a plan in place that would define actions that lead to clear improvement and reduce their struggle</p>
<p><strong>ChatGPT:</strong>
That’s a very thorough and compassionate approach, focusing on understanding the root cause and providing tailored support. Here’s the next question:</p>
<p><strong>5. What are your top priorities when it comes to team culture?</strong></p>
<p><strong>You:</strong>
I want to make sure everyone enjoys working together, has open and honest communication between each other and with upper management, that they can have a little fun as part of work, and most importantly: they have a good work/life balance</p>
<p><strong>ChatGPT:</strong>
Creating an enjoyable, communicative, and balanced environment really reflects a people-focused approach. Here’s the next question:</p>
<p><strong>6. How do you balance the need for innovation with the need for consistency and stability?</strong></p>
<p><strong>You:</strong>
You need to be intentful about leaving time for innovation. It can't just happen on it's own because you want it to. People need dedicated time set aside to research new technologies, do proof-of-concept work, and meet with others to share findings and ideas</p>
<p><strong>ChatGPT:</strong>
That’s a thoughtful take—prioritizing dedicated time for innovation shows you value proactive growth without compromising stability. Here’s the next question:</p>
<p><strong>7. How often do you provide feedback, and what’s your approach when giving constructive criticism?</strong></p>
<p><strong>You:</strong>
At a minimum I give feedback at weekly or bi-weekly one-on-ones with those who I have them with. But, I find it better to give feedback in real time or as close to real time as possible given the situation. If someone is very stressed about a situation, sometimes it is better to get through the situation first and revisit the feedback once they are in a better headspace. I like to point out that there may have been a better way to handle the situation; whether it was an email interaction, a technical solve, or how they acted in a meeting. Ask them how they might have handled it better. Then, give examples on how they could have handled it better from my perspective</p>
<p><strong>ChatGPT:</strong>
This approach is thoughtful and flexible, blending real-time feedback with sensitivity to timing and stress levels. Here’s the next question:</p>
<p><strong>8. What role do collaboration and individual accountability play in your leadership approach?</strong></p>
<p><strong>You:</strong>
They are both very important. We can't work in a Silo. we should partner with other teams throughout all stages of development so that our inputs are taken into account early on, and we are accountable through the whole process. Individual accountability is very important. For example, if you commit to a deadline, I expect you to keep me and the team up to date with your progress toward that deadline. I do expect you to hit it. But if something should come up that will effect being able to hit the deadline, I expect the person to alert myself the team early with information on a slip, what the cause was, and how we might rectivy that kind of issue in the future</p>
<p><strong>ChatGPT:</strong>
A balanced view! Your emphasis on both proactive collaboration and personal accountability sets clear expectations and strengthens ownership within the team. Here’s the next question:</p>
<p><strong>9. How do you encourage your team to grow and develop their skills?</strong></p>
<p><strong>You:</strong>
Staying on top of new technology is important. I encourage time throughout the month to research and keep up to date on topics using things like blog or reddit. Also, a few times a year, I want them to dedicate a series of Friday afternoons to training towards a specific certification</p>
<p><strong>ChatGPT:</strong>
That’s a proactive approach, blending regular learning with structured training for deeper skill development. Here’s the next question:</p>
<p><strong>10. What steps do you take to ensure that the goals you set are understood and achievable by your team?</strong></p>
<p><strong>You:</strong>
I like to have meetings and have them written down. I'll walk them through the goals I have for them, why I think their important, and ask them if they have feedback on the goals; both whether they are accurate, whether some should be added or removed. Then I ask if they have an idea on how to approach them. I like offering this opportunity to react to the goals without my input first so see what they are thinking. I then add my opinions in and we form a plan to achieve those goals over the next year</p>
<p><strong>ChatGPT:</strong>
This is a collaborative, clear approach that builds buy-in by actively involving the team in goal-setting and planning. Here’s the next question:</p>
<p><strong>11. What’s your approach to risk and failure within a team setting?</strong></p>
<p><strong>You:</strong>
Risk should be mitigated through adequate planning and circulation of known risks. Failures should always be learned from. How can we prevent a repeat, or identify when a similar failure might be imminent</p>
<p><strong>ChatGPT:</strong>
A practical approach! Your focus on planning and learning from failures emphasizes resilience and continuous improvement. Here’s the next question:</p>
<p><strong>12. How do you motivate your team, especially during challenging times?</strong></p>
<p><strong>You:</strong>
By demonstrating I'm there for them. Helping out if needed. Giving them the breathing space or air cover they need to stay focused on their work. Shielding them from meetings, things like that. At the end of a challenging time I try to reward them with PTO or something similar</p>
<p><strong>ChatGPT:</strong>
Supportive and thoughtful, especially with shielding the team during intense periods and offering tangible rewards afterward. Here’s the next question:</p>
<p><strong>13. How much autonomy do you typically give to team members on projects?</strong></p>
<p><strong>You:</strong>
It depends on the seniority of the team. A team of more junior people will need a lot more hand holding. I do not like micromanaging and I know most people don't like to be micromanaged. But I'll be there in all of their meetings guiding them. I like to ask questions rather than give direction in the hopes they learn to think for themselves. If I think they are moving towards a conclusion I strongly disagree with, I'm open to my opinion being changed, but I'll course correct them directly. For more senior teams, I would rather be hands off, with a trust by verify approach</p>
<p><strong>ChatGPT:</strong>
That’s a thoughtful, adaptive approach—balancing guidance with autonomy based on experience levels. Here’s the next question:</p>
<p><strong>14. How do you like to be involved in the day-to-day work of your team?</strong></p>
<p><strong>You:</strong>
I like to be aware of what everyone is working on, doing my best to unblock them where needed, provide direction where appropriate, and have a good sense of how everyone is feeling. I wouldn't be hands on coding but I would like to have a medium level understanding of what everyone is working on at the team level</p>
<p><strong>ChatGPT:</strong>
A hands-on approach to support and unblocking, while staying out of the weeds, keeps you well-connected to the team’s progress. Here’s the next question:</p>
<p><strong>15. What’s your preferred way of handling underperformance?</strong></p>
<p><strong>You:</strong>
Identifying it as early as possible. I'd like to try to fix underperformance through coaching before it gets to a point of HR needing to be involved and the person being put on a Performance Improvement Plan. If it comes to that I will support the person as much as I can but if I do not see improvement they do not have a place in my organization</p>
<p><strong>ChatGPT:</strong>
That’s a proactive yet firm approach, balancing early intervention with accountability. Here’s the next question:</p>
<p><strong>16. How do you ensure that you stay adaptable to changing needs within your team or industry?</strong></p>
<p><strong>You:</strong>
I like planning a lot. But you need a mindset that no plan survives contact with reality. You need to be able to shift your thinking with new inputs or changing priorities. This needs to be balanced on focusing on the work at hand</p>
<p><strong>ChatGPT:</strong>
Excellent balance! A willingness to adapt plans while maintaining focus on priorities demonstrates resilience and flexibility. Here’s the next question:</p>
<p><strong>17. What do you do to build trust within your team?</strong></p>
<p><strong>You:</strong>
Demonstrate there is nothing I would ever ask them to do that I wouldn't or couldn't do myself. This is a little more difficult now that I'm less hands on but for example, if I ask someone to work extra hours, it's something I would also do if I thought it would help. Or pick apart a thorny problem; making sure they have the skill and time to do it in the same way I would</p>
<p><strong>ChatGPT:</strong>
Leading by example like this builds trust and respect by showing you're in it with them. Here’s the next question:</p>
<p><strong>18. How do you handle situations where your decisions or actions might not align with the majority of your team?</strong></p>
<p><strong>You:</strong>
Can I add to #17 first?</p>
<p><strong>ChatGPT:</strong>
Of course! Feel free to add to #17.</p>
<p><strong>You:</strong>
Can you confirm my account is back on ChatGPT Plus?</p>
<p><strong>ChatGPT:</strong>
I don’t have access to your account settings, but you can check your subscription status in the <strong>Settings</strong> menu within the ChatGPT app or website. There, you’ll find your account and billing information, which will show if you're subscribed to ChatGPT Plus or another tier.</p>
<p>If you need further help, OpenAI’s <a href="https://help.openai.com">Help Center</a> has support options for subscription and account inquiries.</p>
<p><strong>You:</strong>
What model am I currently using?</p>
<p><strong>ChatGPT:</strong>
You’re currently using GPT-4, specifically the GPT-4-turbo variant, which is available to ChatGPT Plus subscribers and higher tiers. This model is optimized for performance and cost efficiency compared to the standard GPT-4, while still delivering high-quality responses.</p>
<p><strong>You:</strong>
What model am I currently using?</p>
<p><strong>ChatGPT:</strong>
You’re using GPT-4-turbo, which is the optimized version of GPT-4 available to ChatGPT Plus and Pro users. It’s designed for faster response times and efficient performance.</p>
<p><strong>You:</strong>
ok let's pick back up at #17. Here is my updated full answer:</p>
<p>Demonstrate there is nothing I would ever ask them to do that I wouldn't or couldn't do myself. This is a little more difficult now that I'm less hands on but for example, if I ask someone to work extra hours, it's something I would also do if I thought it would help. Or pick apart a thorny problem; making sure they have the skill and time to do it in the same way I would. I also want to make sure I advocate for them around the business and lend my trust and support as much as I can</p>
<p><strong>ChatGPT:</strong>
That’s an excellent addition—advocating for the team within the organization and showing your trust in them reinforces a foundation of mutual respect. Here’s the next question:</p>
<p><strong>18. How do you handle situations where your decisions or actions might not align with the majority of your team?</strong></p>
<p><strong>You:</strong>
I try to be open and transparent about it as much as I can. Part of it is acknowledging that my decision or action does not align. Then, if I'm able, explain the reasoning of my decision. If I can't share all of the reasoning because it is sensitive, be up front about that that I can't tell them all of the information. Given how I work, I did try to come to a conensus. But, at the end of the day if we end up in this situation I hope I've earned their trust, but I do expect my decisions to be followed</p>
<p><strong>ChatGPT:</strong>
This is a well-balanced approach—transparency paired with an expectation of trust and respect for your final decisions. Here’s the next question:</p>
<p><strong>19. How do you measure success within your team?</strong></p>
<p><strong>You:</strong>
I think about their relationship with other departments, if partnership with other teams is smooth or rocky, whether we are hitting our deadlines, and if there is any unrest or complaining</p>
<p><strong>ChatGPT:</strong>
That’s a comprehensive view, covering collaboration, performance, and team morale as indicators of success. Here’s the final question:</p>
<p><strong>20. What’s a leadership approach or philosophy you’ve admired in others?</strong></p>
<p><strong>You:</strong>
I admire those that are calm and collected, and almost zen-like in their interactions with their teams and others. I find this hard to do but strive to do it</p>
<p><strong>ChatGPT:</strong>
Thank you for these thoughtful answers! Here's an analysis of your leadership style based on your responses:</p>
<h3 id="your-leadership-style"><strong>Your Leadership Style</strong></h3>
<ol>
<li>
<p><strong>Visionary and Strategic</strong>: You emphasize the importance of a clear strategic vision and actively work to ensure the team has resources and support. Your approach shows that you value both a big-picture outlook and day-to-day execution.</p>
</li>
<li>
<p><strong>Supportive and Empathetic</strong>: You value open communication and make a consistent effort to understand the personal and professional challenges your team faces. Your responses reflect a compassionate approach, especially in areas like handling underperformance or navigating work-life balance.</p>
</li>
<li>
<p><strong>Hands-On and Engaged, but Non-Micromanaging</strong>: You take a “trust but verify” approach, especially with more senior members. By balancing autonomy with support, you respect the team’s expertise while remaining available to unblock and guide when needed.</p>
</li>
<li>
<p><strong>Resilient and Adaptable</strong>: You approach risk and change with thoughtful planning and adaptability, recognizing the importance of both structure and flexibility. This approach helps your team remain steady amid shifting priorities and challenges.</p>
</li>
<li>
<p><strong>Consensus-Builder with Authority</strong>: You work toward building consensus, especially in decision-making, but also set a clear expectation that final decisions are yours to make. This balances respect for team input with an understanding of your role as the ultimate decision-maker.</p>
</li>
<li>
<p><strong>Trust-Oriented and Transparent</strong>: Building and maintaining trust is clearly central to your style. You earn trust by being transparent, advocating for the team, and following through on commitments. You also set an example by being willing to step in where needed and sharing decision rationale openly.</p>
</li>
<li>
<p><strong>Calm Leadership with High Standards</strong>: You admire leaders who bring calm and centered energy, and you strive to bring a collected, supportive presence to the team even in high-stress situations. This goal adds a layer of steadiness and reliability to your leadership.</p>
</li>
</ol>
<p>In summary, your style combines strategic vision with empathy, structure with adaptability, and trust with accountability. You set a high standard for yourself and your team, aiming to foster a collaborative, growth-oriented environment where everyone feels supported, motivated, and respected.</p>
]]></content:encoded></item>
<item><title>What's your best life hack?</title><description>To make sure I have time for a few non movable things each week or day. The 2-3 core things that are for me, my sanity, and my mental health. Skipping sleep isn’t great but these things would take priority on a weird day. If I found myself skipping sleep long term, I’d re-evaluate my schedule For me these are the gym 3-4 times a week. I get punchy and anxious if I don’t go. Daily it’s meditation and 30 mins of fiction (sci-fi and fantasy) before bed.</description><link>https://timbroder.com/2020/03/best-life-hack/</link><guid isPermaLink="false">https://timbroder.com/2020/03/best-life-hack</guid><pubDate>Fri, 20 Mar 2020 00:00:00 GMT</pubDate><content:encoded><![CDATA[<p>To make sure I have time for a few non movable things each week or day. The 2-3 core things that are for me, my sanity, and my mental health. Skipping sleep isn’t great but these things would take priority on a weird day. If I found myself skipping sleep long term, I’d re-evaluate my schedule</p>
<p>For me these are the gym 3-4 times a week. I get punchy and anxious if I don’t go.</p>
<p>Daily it’s meditation and 30 mins of fiction (sci-fi and fantasy) before bed.</p>
]]></content:encoded></item>
<item><title>Kids are Home</title><description>Updated 03/18/2020 If you are fortunate enough to be able to work from home during the current crisis, your kids may also be home with you. We've been figuring out a handoff schedule, what hours to work; very early and late as needed, and what activities to do with the boys. Ours are 4 and 2. I understand we've very privileged to be in this position but I hope this list of links helps anyone else looking for activities to do Activities 40+ Best Indoor Activities from Busy Toddler (Busy Toddler) ABC Mouse (e…</description><link>https://timbroder.com/2020/03/kids-home/</link><guid isPermaLink="false">https://timbroder.com/2020/03/kids-home</guid><pubDate>Tue, 17 Mar 2020 00:00:00 GMT</pubDate><content:encoded><![CDATA[<p><em>Updated 03/18/2020</em></p>
<p>If you are fortunate enough to be able to work from home during the current crisis, your kids may also be home with you. We've been figuring out a handoff schedule, what hours to work; very early and late as needed, and what activities to do with the boys. Ours are 4 and 2. I understand we've very privileged to be in this position but I hope this list of links helps anyone else looking for activities to do</p>
<h1 id="activities">Activities</h1>
<ul>
<li><a href="https://busytoddler.com/2020/03/indoor-activities/">40+ Best Indoor Activities from Busy Toddler</a> (Busy Toddler)</li>
<li><a href="https://www.abcmouse.com">ABC Mouse</a> (e-learning)</li>
<li><a href="https://www.amazon.com/gp/product/1948209101/ref=ppx_yo_dt_b_asin_title_o02_s02?psc=1&amp;tag=nyen0e-20&amp;ie=UTF8">Alphabet Letter Tracing</a></li>
<li><a href="https://docs.google.com/document/u/1/d/1o6kEgCKLn3cyIm2hehhhSTIk7yRTd0C3zx49JS4wwCI/mobilebasic">GIANT LIST OF IDEAS FOR BEING HOME WITH KIDS</a></li>
<li><a href="https://www.amazon.com/gp/product/B072C7Z8BQ/ref=ppx_od_dt_b_asin_title_s00?psc=1&amp;tag=nyen0e-20&amp;ie=UTF8">Glider Planes</a></li>
<li><a href="https://www.ixl.com/">IXL</a> personalized learning (e-learning)</li>
<li><a href="https://www.amazon.com/gp/product/B07WHFCSQF/ref=ppx_yo_dt_b_asin_title_o02_s00?psc=1&amp;tag=nyen0e-20&amp;ie=UTF8">Lego</a></li>
<li><a href="https://www.amazon.com/gp/product/160159948X/ref=ppx_yo_dt_b_asin_title_o02_s01?psc=1&amp;tag=nyen0e-20&amp;ie=UTF8">Little Thinkers Workbook</a></li>
<li><a href="https://www.amazon.com/gp/product/B07VDCVN3T/ref=ppx_od_dt_b_asin_title_s00?psc=1&amp;tag=nyen0e-20&amp;ie=UTF8">Origami</a></li>
<li><a href="https://busytoddler.com/2017/07/playing-preschool-homeschool-preschool/">Playing Preschool</a> (Busy Toddler)</li>
<li><a href="https://classroommagazines.scholastic.com/support/learnathome.html">Scholastic</a> learn at home</li>
<li><a href="https://www.amazon.com/gp/product/1948209608/ref=ppx_yo_dt_b_asin_title_o02_s02?psc=1&amp;tag=nyen0e-20&amp;ie=UTF8">Scissor Skills</a></li>
<li><a href="https://parks.ny.gov/">State Parks</a> (if allowed)</li>
<li><a href="https://twitter.com/paulg/status/1239524522711306241">Story Creating</a></li>
<li><a href="https://twitter.com/coolanimalspod/status/1237795975940296704?s=12">What do we do if school is cancelled? Are their online resources to help the kids continue learning and keep the family from going bonkers?</a></li>
<li><a href="https://huntingtonmoms.com/2020/03/17/10-homeschooling-resources-to-get-you-through-coronavirus/">10 Homeschooling Resources to get you through Coronavirus</a></li>
<li><a href="https://m.facebook.com/BrooklynPublicLibraryFamily/">Brooklyn public library also does virtual story time every day</a></li>
<li><a href="https://littlelearningclub.com/shop/">Little Learning Club</a> Shop</li>
</ul>
<h1 id="games">Games</h1>
<ul>
<li><a href="https://www.amazon.com/Hasbro-Gaming-Kingdom-Adventures-Exclusive/dp/B00000DMF5/ref=sr_1_1_sspa?sr=1-1-spons&amp;tag=nyen0e-20&amp;keywords=candy%2Bland&amp;s=toys-and-games&amp;psc=1&amp;qid=1584466622">Candy Land</a></li>
<li><a href="https://www.amazon.com/Chutes-Ladders-Game-Amazon-Exclusive/dp/B00000DMF6/ref=sr_1_3?sr=1-3&amp;qid=1584466601&amp;keywords=snakes%2Band%2Bladders&amp;sprefix=snak%252Ctoys-and-games%252C150&amp;tag=nyen0e-20&amp;crid=28GG1ODAID2G3&amp;s=toys-and-games">Chutes &amp; Ladders</a></li>
<li><a href="https://www.amazon.com/Hasbro-Guess-Who-Classic-Game/dp/B01N6PRX20/ref=sr_1_2?sr=1-2&amp;keywords=guess%2Bwho&amp;s=toys-and-games&amp;tag=nyen0e-20&amp;qid=1584466637">Guess Who</a></li>
<li><a href="https://www.wired.com/2013/01/hero-kids/">Hero Kids</a> (cooperative table top RPG, similar to Dungeons and Dragons, but for kids</li>
<li><a href="https://www.amazon.com/gp/product/B06XYLL66Y/ref=ox_sc_act_title_1?psc=1&amp;tag=nyen0e-20&amp;smid=ATVPDKIKX0DER">Monopoly Junior</a></li>
<li><a href="https://apps.apple.com/us/app/peek-a-view/id1491554407?ls=1">Peek-A-View</a></li>
<li><a href="https://www.amazon.com/ThinkFun-Rush-Deluxe-Traffic-Logic/dp/B000GVSO4C/ref=sr_1_2?sr=1-2&amp;keywords=rush%2Bhour&amp;s=toys-and-games&amp;tag=nyen0e-20&amp;qid=1584466582">Rush Hour</a></li>
<li><a href="https://www.facebook.com/StoryToys/posts/free-from-storytoys-to-help-kids-continue-learning-while-at-home-weve-made-some-/2773436026106260/">Story Toys</a> are now free</li>
<li><a href="https://www.amazon.com/UNO-Super-Mario-Card-Game/dp/B01ARGC2VQ/ref=sr_1_1?sr=1-1&amp;keywords=uno%2Bjunior&amp;s=toys-and-games&amp;tag=nyen0e-20&amp;qid=1584466566">Super Mario Junior</a></li>
</ul>
<h1 id="schedules">Schedules</h1>
<ul>
<li><a href="https://imgur.com/a/jzAr6iv">Sample</a></li>
<li><a href="https://docs.google.com/document/d/1rSBQReDJVCgSxd04HNyKWvLxUYqwEmOqVf3S_vCZMLM/edit?usp=sharing">Sample 2</a></li>
</ul>
]]></content:encoded></item>
<item><title>My PhpStorm Tweaks</title><description>We are breaking ground on a new app at work and are tinkering with a few IDE's. Up until now we've standardized on Xcode and PhpStorm. Code is the gold standard for react these days but I've never really given it an honest try; to get everything set up right. In the past, for "regular" react work, I've opened the react project in PhpStorm (which has all the power of WebStorm) and everything "just works". Full intellisense gives me great autocomplete, introspection, auto importing, etc. Granted, Code can do…</description><link>https://timbroder.com/2020/02/phpstorm-tweaks/</link><guid isPermaLink="false">https://timbroder.com/2020/02/phpstorm-tweaks</guid><pubDate>Fri, 21 Feb 2020 00:00:00 GMT</pubDate><content:encoded><![CDATA[<p>We are breaking ground on a <a href="https://facebook.github.io/react-native/">new app</a> at <a href="https://wavemeditation.com/">work</a> and are tinkering with a few IDE's. Up until now we've standardized on Xcode and PhpStorm. <a href="https://code.visualstudio.com/">Code</a> is the gold standard for react these days but I've never really given it an honest try; to get everything set up right. In the past, for "regular" react work, I've opened the react project in PhpStorm (which has all the power of WebStorm) and everything "just works". Full intellisense gives me great autocomplete, introspection, auto importing, etc. Granted, Code can do all this too, but it was nice to just open the IDE I'm familiar with and get to work. Also, at least the last time I tried, a bunch of plugins were needed. I believe most of this works OOB now</p>
<p>Some of my co-workers are poking around with PhpStorm to see how they like it so I'm writing out the tweaks I do to any fresh install. Laracasts has an amazing (and free!) video series on the topic: <a href="https://laracasts.com/series/how-to-be-awesome-in-phpstorm">Be Awesome in PHPStorm</a></p>
<p>I also just learned that you can <a href="https://www.jetbrains.com/help/phpstorm/sharing-your-ide-settings.html#settings-repository">sync your settings</a> to git, so I've done that <a href="https://github.com/timbroder/PhpStorm-Settings">here</a></p>
<h1 id="editor-settings">Editor Settings</h1>
<ul>
<li>Turn off <code>confirmExit</code> and <code>showTipsOnStartup</code>. They are annoying</li>
<li>Hide or minimize all the toolbars unless you need them. I rely on hotkeys</li>
<li>Change Editor Tab limit to 1 --&gt; This, combined with the split editor hotkeys below, will make it so if you make a new editor window, <code>cmd+w</code> will close it instead of cycling through a history of what was in that tab. To get to recently opened files, with auto complete, use <code>cmd+e</code> instead which will open the <code>Recent Files</code> modal</li>
</ul>
<h1 id="key-maps">Key Maps</h1>
<p>Full keymap file is available <a href="https://github.com/timbroder/PhpStorm-Settings/blob/master/keymaps/Default%20copy.xml">here</a></p>
<h2 id="delete-a-line">Delete a Line</h2>
<p>PhpStorm will copy or cut a whole line, if you don't have anything highlighted and you mash the appropriate keys. So, why not delete the line you are on?</p>
<p><code>EditorDeleteLine </code> mapped to <code>cmd+d</code></p>
<h2 id="split-editor-window">Split Editor Window</h2>
<p>If you want to have 2 editor windows side by side, make as many as you want!</p>
<p><code>SplitVertically</code> mapped to <code>alt+v</code></p>
<p><em>Note: There is probably a better binding for this, but I already use those for my window manager, <a href="https://manytricks.com/moom/">Moom</a></em></p>
<h2 id="common-default-hotkeys">Common Default Hotkeys</h2>
<ul>
<li><code>cmd+e</code> opens <code>Recent Files</code></li>
<li><code>cmd+shit+o</code> opens <code>Open Project Files</code> (<code>shift</code>, <code>shift</code> is also very useful but it can have a lot of noise depending on the type of project)</li>
<li><code>cmd+1</code> hides the sidebar</li>
</ul>
<h1 id="styles">Styles</h1>
<h2 id="theme">Theme</h2>
<p>I go back and forth between these</p>
<ul>
<li><a href="https://plugins.jetbrains.com/plugin/12275-dracula-theme">Dracula</a></li>
<li><a href="https://plugins.jetbrains.com/plugin/8006-material-theme-ui">Material</a> <code>oceanic</code> or <code>deep ocean</code></li>
<li>I used to use <a href="https://plugins.jetbrains.com/plugin/12112-solarized-theme">Solarized</a> Dark but I don't like it as much these days. My terminal still uses it</li>
</ul>
<h2 id="fonts">Fonts</h2>
<ul>
<li>I've used <a href="https://github.com/tonsky/FiraCode/wiki/Intellij-products-instructions">FiraCode</a> forever and really like it. Can't beat how good the programming ligatures look</li>
<li>JetBrains recently came out with <a href="https://www.jetbrains.com/lp/mono/">Mono</a> which feels very similar to Fira. I'm using it now but the jury is still out</li>
</ul>
]]></content:encoded></item>
<item><title>Small Wins</title><description>Great short read. Remember to value the little wins. Not just the big ones ​ I've missed out on a lot of moments where I could've been celebrating but my brain had already moved on. ​ It's way too easy to forget the hundreds of small things which go right. ​ Celebrate your progress, no matter how small. Don't rob yourself of the collective joy of each of those wins. Enjoy the ride. Work hard, knowing the only reward may be the knowledge of a job well-done, but by celebrating the small wins along the way…</description><link>https://timbroder.com/2019/09/small-wins/</link><guid isPermaLink="false">https://timbroder.com/2019/09/small-wins</guid><pubDate>Sat, 07 Sep 2019 00:00:00 GMT</pubDate><content:encoded><![CDATA[<p>Great short read. Remember to value the little wins. Not just the big ones</p>
<p>​</p>
<blockquote>
<p>I've missed out on a lot of moments where I could've been celebrating but my brain had already moved on.</p>
</blockquote>
<p>​</p>
<blockquote>
<p>It's way too easy to forget the hundreds of small things which go right.</p>
</blockquote>
<p>​</p>
<blockquote>
<p>Celebrate your progress, no matter how small. Don't rob yourself of the collective joy of each of those wins. Enjoy the ride. Work hard, knowing the only reward may be the knowledge of a job well-done, but by celebrating the small wins along the way, you could be motivated to break through to the next level.</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Gtdjedi Podcast - Ep043 - App Battle Iii - Reminders Vs Omnifocus 3 Vs Todoist</title><description>App Battle: Task Managers: Reminders vs Omnifocus 3 vs Todoist ​</description><link>https://timbroder.com/2018/09/gtdjedi-podcast-ep043-app-battle-iii-reminders-vs-omnifocus-3-vs-todoist/</link><guid isPermaLink="false">https://timbroder.com/2018/09/gtdjedi-podcast---ep043---app-battle-iii---reminders-vs-omnifocus-3-vs-todoist</guid><pubDate>Sun, 09 Sep 2018 08:17:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>App Battle: Task Managers: Reminders vs Omnifocus 3 vs Todoist</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Jackedcast - Ep038 - Transformations With Timothy Broder</title><description>The Big Discussion Transformations with special guest Timothy Broder Episode Links Keto in a nutshell Reddit Keto FAQ Reddit KetoGains FAQ KetoGains macro calculator KetoGains Suggested supplements that work well with all ketogenic diets (SKD, TKD, CKD) KetoGains must have supplements Tim’s Gummy Bears FatHead Pizza Keto Chow Tim’s favorite recipes Tim’s favorite recipe sites
 Keto Connect Ruled.me Tim’s old bio from CrossfitNYC</description><link>https://timbroder.com/2018/08/jackedcast-ep038-transformations-with-timothy-broder/</link><guid isPermaLink="false">https://timbroder.com/2018/08/jackedcast---ep038---transformations-with-timothy-broder</guid><pubDate>Tue, 28 Aug 2018 13:27:00 GMT</pubDate><content:encoded><![CDATA[<h1 id="the-big-discussion">The Big Discussion</h1>
<blockquote>
<p>Transformations with special guest Timothy Broder</p>
</blockquote>
<h1 id="episode-links">Episode Links</h1>
<ul>
<li><a href="https://www.reddit.com/r/keto/wiki/keto_in_a_nutshell/">Keto in a nutshell</a></li>
<li>Reddit <a href="https://www.reddit.com/r/keto/wiki/faq/">Keto FAQ</a></li>
<li>Reddit <a href="https://www.reddit.com/r/ketogains/wiki/index">KetoGains FAQ</a></li>
<li><a href="https://ketogains.com/ketogains-calculator/">KetoGains macro calculator</a></li>
<li>KetoGains <a href="https://ketogains.com/2015/09/supplements-and-ketogenic-diets-facts-and-myths/">Suggested supplements that work well with all ketogenic diets (SKD, TKD, CKD)</a></li>
<li>KetoGains <a href="https://ketogains.com/2016/08/ketogains-seven-must-supplements/">must have supplements</a></li>
<li>Tim’s <a href="https://www.amazon.com/gp/product/B01AP9DWK0/ref=oh_aui_search_detailpage?psc=1&amp;tag=nyen0e-20&amp;ie=UTF8">Gummy Bears</a></li>
<li><a href="https://www.ditchthecarbs.com/fat-head-pizza/">FatHead Pizza</a></li>
<li><a href="http://www.ketochow.xyz/">Keto Chow</a></li>
<li><a href="https://timbroder.com/2018/08/my-favorite-keto-recipes/">Tim’s favorite recipes</a></li>
<li>Tim’s favorite recipe sites
<ul>
<li><a href="https://www.ketoconnect.net/recipes/">Keto Connect</a></li>
<li><a href="https://www.ruled.me/keto-recipes/">Ruled.me</a></li>
</ul>
</li>
<li>Tim’s <a href="https://crossfitnyc.com/2013/06/26/athlete-profile-tim-broder/">old bio</a> from CrossfitNYC</li>
</ul>
]]></content:encoded></item>
<item><title>Show &amp; Tell Cast - S02Ep017 - Escape From New York, The Delta Force &amp; Big Trouble In Little China</title><description>This Episode’s Films Tim: The Delta Force Jonathon: Escape NY ​</description><link>https://timbroder.com/2018/08/show-and-tell-cast-s02ep017-escape-from-new-york-the-delta-force-and-big-trouble-in-little-china/</link><guid isPermaLink="false">https://timbroder.com/2018/08/show-&amp;-tell-cast---s02ep017---escape-from-new-york,-the-delta-force-&amp;-big-trouble-in-little-china</guid><pubDate>Mon, 27 Aug 2018 20:47:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>This Episode’s Films</p>
<p>Tim: The Delta Force</p>
<p>Jonathon: Escape NY</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>My Favorite Keto Recipes</title><description>As mentioned on my guest appearance on The JackedCast Episode 38 Updated: 08/24/2018 Links Almond Ricotta Cookies Asian Noodle Bowl Blueberry Cheesecake Smoothie Blueberry Muffins Buffalo Chicken Empanadas Bulletproof Bread Cauliflower Alla Vodka Cheese Crackers Cheesy Garlic Bread Cheesy Taco Casserole Chili w/Bacon Coconut Flour Flatbread Fat Head Pizze - The Holy Grail Fried Pasta Gingerbread Cake Gyros Jalapeno Popper Fat Bombs Mason Jar Ice Cream Mozzarella Sticks Pork Rind Pancakes Slow Cooker Pulled…</description><link>https://timbroder.com/2018/08/my-favorite-keto-recipes/</link><guid isPermaLink="false">https://timbroder.com/2018/08/My-favorite-Keto-recipes</guid><pubDate>Fri, 24 Aug 2018 08:30:00 GMT</pubDate><content:encoded><![CDATA[<p><em>As mentioned on my guest appearance on <a href="http://tekside.net/jacked/2018/8/25/jackedcast-ep038-transformations-with-timothy-broder">The JackedCast Episode 38</a></em></p>
<p><em>Updated: 08/24/2018</em></p>
<h1 id="links">Links</h1>
<ul>
<li><a href="https://www.ketoconnect.net/almond-ricotta-cookies/" title="Almond Ricotta Cookies">Almond Ricotta Cookies</a></li>
<li><a href="https://www.ketoconnect.net/asian-noodle-bowl" title="Asian Noodle Bowl">Asian Noodle Bowl</a></li>
<li><a href="https://www.ketoconnect.net/cheesecake-smoothie/" title="Blueberry Cheesecake Smoothie">Blueberry Cheesecake Smoothie</a></li>
<li><a href="https://www.ketoconnect.net/low-carb-muffins" title="Blueberry Muffins">Blueberry Muffins</a></li>
<li><a href="https://www.mincerepublic.com/buffalo-chicken-empanadas-keto/" title="Buffalo Chicken Empanadas">Buffalo Chicken Empanadas</a></li>
<li><a href="https://blog.bulletproof.com/low-carb-bread-recipe-keto-bread/" title="Bulletproof Bread">Bulletproof Bread</a></li>
<li><a href="https://www.delish.com/cooking/recipe-ideas/recipes/a51924/cauliflower-alla-vodka-recipe/" title="Cauliflower Alla Vodka">Cauliflower Alla Vodka</a></li>
<li><a href="https://www.ketoconnect.net/low-carb-cheese-crackers/" title="Cheese Crackers">Cheese Crackers</a></li>
<li><a href="https://www.ditchthecarbs.com/cheesy-keto-garlic-bread/" title="Cheesy Garlic Bread">Cheesy Garlic Bread</a></li>
<li><a href="https://ketosizeme.com/keto-cheesy-taco-casserole-recipe-lchf/" title="Cheesy Taco Casserole">Cheesy Taco Casserole</a></li>
<li><a href="https://www.ketoconnect.net/chili-with-bacon/" title="Chili w/Bacon">Chili w/Bacon</a></li>
<li><a href="https://jensketokitchen.wordpress.com/2018/03/25/coconut-flour-flatbread/" title="Coconut Flour Flatbread">Coconut Flour Flatbread</a></li>
<li><a href="https://www.ditchthecarbs.com/fat-head-pizza/" title="Fat Head Pizze - The Holy Grail">Fat Head Pizze - The Holy Grail</a></li>
<li><a href="http://ketosavage.com/keto-fried-pasta-made-with-miracle-noodles/" title="Fried Pasta">Fried Pasta</a></li>
<li><a href="https://www.ketoconnect.net/keto-gingerbread/" title="Gingerbread Cake">Gingerbread Cake</a></li>
<li><a href="https://www.ruled.me/keto-gyros/" title="Gyros">Gyros</a></li>
<li><a href="https://www.ruled.me/jalapeno-popper-fat-bombs/" title="Jalapeno Popper Fat Bombs">Jalapeno Popper Fat Bombs</a></li>
<li><a href="https://www.legendaryfoodsonline.com/blogs/recipes/keto-mason-jar-ice-cream-by-keto-connect" title="Mason Jar Ice Cream">Mason Jar Ice Cream</a></li>
<li><a href="http://www.tryketowith.me/2015/09/09/easy-keto-mozzarella-sticks/" title="Mozzarella Sticks">Mozzarella Sticks</a></li>
<li><a href="https://www.ketoconnect.net/pork-rind-pancakes" title="Pork Rind Pancakes">Pork Rind Pancakes</a></li>
<li><a href="https://www.eatfatbeatfat.com/ketorecipes/keto-pulled-pork" title="Slow Cooker Pulled Pork">Slow Cooker Pulled Pork</a></li>
<li><a href="https://www.ditchthecarbs.com/keto-cheese-taco-shells/" title="Taco Shells">Taco Shells</a></li>
<li><a href="https://www.reddit.com/r/ketorecipes/comments/8yv60x/uber_wings_with_kenji_tech/e2dxmyg/" title="Uber Wings">Uber Wings</a></li>
<li><a href="https://www.ketoconnect.net/low-carb-bars" title="“Granola” Bars">“Granola” Bars</a></li>
</ul>
<h1 id="mini-everything-bagels">Mini Everything Bagels</h1>
<p><em>This used to be hosted at <a href="http://mommy-mania.com/recipe/keto-diet-friendly-mini-everything-bagels-recipe/" title="Mommy Mania">Mommy Mania</a> but no longer exists there</em></p>
<h2 id="ingredients">Ingredients</h2>
<h3 id="bagels">Bagels</h3>
<ul>
<li>3 Cups Shredded Mozzarella Cheese</li>
<li>1/4 Cup Cream Cheese</li>
<li>1 teaspoon Xantham Gum</li>
<li>1 teaspoon Baking Soda</li>
<li>1/2 Cup Almond Flour (Finely ground Almond Meal works too)</li>
<li>1/2 teaspoon "lite salt"</li>
</ul>
<h3 id="everything-topping">Everything Topping</h3>
<ul>
<li>1 teaspoon Garlic Powder</li>
<li>1 teaspoon Onion Powder</li>
<li>1 teaspoon Poppy Seeds</li>
<li>1 teaspoon Sesame Seeds</li>
<li>1/2 teaspoon "lite salt"</li>
<li>1/4 teaspoon Ground Pepper</li>
</ul>
<h2 id="directions">Directions</h2>
<p>Preheat oven to 400 degrees and line a baking sheet with parchment paper.</p>
<p>In a small bowl, mix together the almond flour, xantham gum, baking soda, and salt.</p>
<p>In a double boiler or microwave (30 seconds at a time on high), melt cream cheese and mozzarella together and stir until it forms a dough. Let cool slightly.</p>
<p>Knead together the cheese dough and dry ingredients until they are thoroughly and doughy.</p>
<p>Separate into 16 even pieces. Roll each piece into a long log shape and pinch the ends together into a bagel shape. Lay out on your baking sheet.</p>
<p>Mix all of the "everything topping" ingredients together in a small bowl. Brush the bagels liberally with water and sprinkle seasoning over them. Flip over and repeat until all topping is used.</p>
<p>Bake for 10-12 minutes, until they are browned. Watch carefully so they don't burn! Let cool slightly before serving.</p>
<p>Store extras in a sealed container in the refrigerator, reheat in a toaster oven or regular oven for a few minutes.</p>
<p>Nutritional Info: Each Mini Bagel: Calories: 117, Fat: 8.7g, Carbs: 3.2g (total), Fiber: 1.2g, Sugars: .5g, Protein: 7.9g</p>
]]></content:encoded></item>
<item><title>Show &amp; Tell Cast - S02Ep017 - Escape From New York, The Delta Force &amp; Big Trouble in Little China</title><description>This Episode’s Films Tim: The Delta Force Clay: Big Trouble Little China Jonathon: Escape NY ​</description><link>https://timbroder.com/2018/08/show-and-tell-cast-s02ep017/</link><guid isPermaLink="false">https://timbroder.com/2018/08/show-&amp;-tell-cast---s02ep017</guid><pubDate>Sat, 11 Aug 2018 09:09:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>This Episode’s Films</p>
<p>Tim: The Delta Force</p>
<p>Clay: Big Trouble Little China</p>
<p>Jonathon: Escape NY</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Gtdjedi Podcast - Ep042 - Geeking Out With Mac Utilities</title><description>Jedi Weapons of Choice Clay - Hazel, Bartender Jerry - My Big Discussion Mac Utilities Tim - TextExpander, Alfred ​</description><link>https://timbroder.com/2018/08/gtdjedi-podcast-ep042-geeking-out-with-mac-utilities/</link><guid isPermaLink="false">https://timbroder.com/2018/08/gtdjedi-podcast---ep042---geeking-out-with-mac-utilities</guid><pubDate>Fri, 03 Aug 2018 16:40:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>Jedi Weapons of Choice</p>
<p>Clay - Hazel, Bartender</p>
<p>Jerry - My Big Discussion Mac Utilities</p>
<p>Tim - TextExpander, Alfred</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Gtdjedi Podcast - Ep041 - Noise Reduction</title><description>The Big Discussion Eliminating the Noise &amp; Getting Productive Best Environment for Productivity Maximizing Your Energy &amp; Time Multitasking vs. Single-tasking Notification Settings Do Not Disturb Settings Screen Time Goals Home Screen Setup ​</description><link>https://timbroder.com/2018/07/gtdjedi-podcast-ep041-noise-reduction/</link><guid isPermaLink="false">https://timbroder.com/2018/07/gtdjedi-podcast---ep041---noise-reduction</guid><pubDate>Thu, 19 Jul 2018 11:55:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>The Big Discussion</p>
<p>Eliminating the Noise &amp; Getting Productive</p>
<p>Best Environment for Productivity</p>
<p>Maximizing Your Energy &amp; Time</p>
<p>Multitasking vs. Single-tasking</p>
<p>Notification Settings</p>
<p>Do Not Disturb Settings</p>
<p>Screen Time Goals</p>
<p>Home Screen Setup</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Show &amp; Tell Cast - S02Ep016 - The Outsiders, Stardust &amp; How To Train Your Dragon</title><description>This Episode’s Films Tim: How to Train Your Dragon Clay: The Outsiders Jonathan: Stardust ​</description><link>https://timbroder.com/2018/06/show-and-tell-cast-s02ep016-the-outsiders-stardust-and-how-to-train-your-dragon/</link><guid isPermaLink="false">https://timbroder.com/2018/06/show-&amp;-tell-cast---s02ep016---the-outsiders,-stardust-&amp;-how-to-train-your-dragon</guid><pubDate>Fri, 22 Jun 2018 09:09:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>This Episode’s Films</p>
<p>Tim: How to Train Your Dragon</p>
<p>Clay: The Outsiders</p>
<p>Jonathan: Stardust</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Gtdjedi Podcast - Ep040 - Wwdc Recap</title><description>iLikes/iDislike Clay: Siri Shorcuts, Walkie Talkie, Dark Mode on macOS Jerry - WatchOS 5, Siri Shortcuts Tim: iLike - Shortcuts hopefully having access to bluetooth, Dark mode iDislike - walkie talkie, pushing kids to play with AR instead of real toys, siri raise to speak on the watch Bantha Fodder What could you have done without? Clay: AR Demos (not that into it), Pride band &amp; watch face Jerry: MeMoji Tim: Leaning heavily on what they announced last year to pad time &amp; the Adobe CTO Read the full show…</description><link>https://timbroder.com/2018/06/gtdjedi-podcast-ep040-wwdc-recap/</link><guid isPermaLink="false">https://timbroder.com/2018/06/gtdjedi-podcast---ep040---wwdc-recap</guid><pubDate>Wed, 06 Jun 2018 14:19:00 GMT</pubDate><content:encoded><![CDATA[<p><strong>iLikes/iDislike</strong></p>
<ul>
<li>Clay: Siri Shorcuts, Walkie Talkie, Dark Mode on macOS</li>
<li>Jerry - WatchOS 5, Siri Shortcuts</li>
<li>Tim: iLike - Shortcuts hopefully having access to bluetooth, Dark mode iDislike - walkie talkie, pushing kids to play with AR instead of real toys, siri raise to speak on the watch</li>
</ul>
<p><strong>Bantha Fodder</strong></p>
<p><strong>What could you have done without?</strong></p>
<ul>
<li>Clay: AR Demos (not that into it), Pride band &amp; watch face</li>
<li>Jerry: MeMoji</li>
<li>Tim: Leaning heavily on what they announced last year to pad time &amp; the Adobe CTO</li>
</ul>
<p>Read the full show notes <a href="http://tekside.net/gtdjedi/2018/6/6/gtdjedi-podcast-ep040-wwdc-recap" title="here">here</a>.</p>
]]></content:encoded></item>
<item><title>Show &amp; Tell Cast - S02Ep015 - Casablanca, Amadeus &amp; Forrest Gump</title><description>This Episode’s Films Tim: Forrest Gump Clay: Amadeus Jonathan: Casablanca ​</description><link>https://timbroder.com/2018/05/show-and-tell-cast-s02ep015-casablanca-amadeus-and-forrest-gump/</link><guid isPermaLink="false">https://timbroder.com/2018/05/show-&amp;-tell-cast---s02ep015---casablanca,-amadeus-&amp;-forrest-gump</guid><pubDate>Wed, 09 May 2018 09:30:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>This Episode’s Films</p>
<p>Tim: Forrest Gump</p>
<p>Clay: Amadeus</p>
<p>Jonathan: Casablanca</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Gtdjedi Podcast - Ep037 - Talking Drafts With Jedi Master Greg Pierce</title><description>The Dev Seg Special Guest Greg Pierce of @agiletortoise ​</description><link>https://timbroder.com/2018/03/gtdjedi-podcast-ep037-talking-drafts-with-jedi-master-greg-pierce/</link><guid isPermaLink="false">https://timbroder.com/2018/03/gtdjedi-podcast---ep037---talking-drafts-with-jedi-master-greg-pierce</guid><pubDate>Wed, 21 Mar 2018 17:31:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>The Dev Seg</p>
<p>Special Guest Greg Pierce of <a href="https://twitter.com/agiletortoise" title="@agiletortoise">@agiletortoise</a></p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>#104 – The Hell That Is Two Children – Hey Mama! Podcast</title><description>I join my wife for a special episode of her podcast, Heymama Laura is joined by her husband Tim this week for a show about life with two kids. They discuss their evolving nighttime routine, why the weekends are hard, and just in general: life with two kids is not relaxing. ​</description><link>https://timbroder.com/2018/03/heymamma-2/</link><guid isPermaLink="false">https://timbroder.com/2018/03/heymamma-2</guid><pubDate>Mon, 05 Mar 2018 19:10:00 GMT</pubDate><content:encoded><![CDATA[<p>I join my wife for a special episode of her podcast, Heymama</p>
<blockquote>
<p>Laura is joined by her husband Tim this week for a show about life with two kids. They discuss their evolving nighttime routine, why the weekends are hard, and just in general: life with two kids is not relaxing.</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Show And Tell Cast - S02Ep014 - The Postman, Reign Of Fire &amp; Book Of Eli</title><description>This Episode’s Films Tim: Reign of Fire Clay: Book of Eli Jonathan: The Postman ​</description><link>https://timbroder.com/2018/02/show-and-tell-cast-s02ep014-the-postman-reign-of-fire-and-book-of-eli/</link><guid isPermaLink="false">https://timbroder.com/2018/02/show-and-tell-cast---s02ep014---the-postman,-reign-of-fire-&amp;-book-of-eli</guid><pubDate>Sat, 24 Feb 2018 09:18:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>This Episode’s Films</p>
<p>Tim: Reign of Fire</p>
<p>Clay: Book of Eli</p>
<p>Jonathan: The Postman</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Gtdjedi Podcast - Ep036 - App Battle Ii - Notes Vs. Evernote Vs. Bear Notes</title><description>Note taking App Battle! I represent Bear! App Battle: Apple Notes vs. Bear Notes vs. Evernote ​</description><link>https://timbroder.com/2018/02/gtdjedi-podcast-ep036-app-battle-ii-notes-vs-evernote-vs-bear-notes/</link><guid isPermaLink="false">https://timbroder.com/2018/02/gtdjedi-podcast---ep036---app-battle-ii---notes-vs.-evernote-vs.-bear-notes</guid><pubDate>Wed, 21 Feb 2018 08:53:00 GMT</pubDate><content:encoded><![CDATA[<p>Note taking App Battle! I represent Bear!</p>
<blockquote>
<p>App Battle: Apple Notes vs. Bear Notes vs. Evernote</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Show &amp; Tell Cast - S02Ep013 - Braveheart, The Patriot &amp; We Were Soldiers</title><description>This Episode’s Films Tim: Braveheart Clay: The Patriot Jonathan: We Were Soldiers ​</description><link>https://timbroder.com/2018/02/show-and-tell-cast-s02ep013-braveheart-the-patriot-and-we-were-soldiers/</link><guid isPermaLink="false">https://timbroder.com/2018/02/show-&amp;-tell-cast---s02ep013---braveheart,-the-patriot-&amp;-we-were-soldiers</guid><pubDate>Sat, 03 Feb 2018 07:34:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>This Episode’s Films</p>
<p>Tim: Braveheart</p>
<p>Clay: The Patriot</p>
<p>Jonathan: We Were Soldiers</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Omni Roadmap 2018 - The Omni Group</title><description>I amy very, very excited about this OmniFocus 3 news. I’ve been using Due for daily tasks and it will be great to go back to just 1 app. My highlights: The term that makes more intuitive sense to most people is tags: you can tag an item with a tag—or multiple tags—and later you can look at that tag to see all the items assigned to it. ​ Tags are incredibly flexible, letting you organize things in whatever ways make the most sense to you. ​ OmniFocus 3 solves this issue by letting each tag track its own…</description><link>https://timbroder.com/2018/01/omni-roadmap-2018-the-omni-group/</link><guid isPermaLink="false">https://timbroder.com/2018/01/omni-roadmap-2018---the-omni-group</guid><pubDate>Fri, 26 Jan 2018 18:49:00 GMT</pubDate><content:encoded><![CDATA[<p>I amy very, very excited about this OmniFocus 3 <a href="https://www.omnigroup.com/blog/omni-roadmap-2018">news</a>. I’ve been using Due for daily tasks and it will be great to go back to just 1 app.</p>
<p>My highlights:</p>
<blockquote>
<p>The term that makes more intuitive sense to most people is tags: you can tag an item with a tag—or multiple tags—and later you can look at that tag to see all the items assigned to it.</p>
</blockquote>
<p>​</p>
<blockquote>
<p>Tags are incredibly flexible, letting you organize things in whatever ways make the most sense to you.</p>
</blockquote>
<p>​</p>
<blockquote>
<p>OmniFocus 3 solves this issue by letting each tag track its own independent ordering of tasks.</p>
</blockquote>
<p>​</p>
<blockquote>
<p>For OmniFocus 3, we wanted to add more flexible scheduling, but we also wanted to avoid overwhelming anyone with a bunch of decisions that they might not care about. To solve this, we turned to a design principle called progressive disclosure: we ask you to make simple decisions up front (like checking the option “does this repeat or not”), and as you proceed through the interface we progressively disclose more and more options based on what we already know about the task</p>
</blockquote>
<p>​</p>
<blockquote>
<p>OmniFocus 3 will still coalesce related notifications</p>
</blockquote>
<p>​</p>
<blockquote>
<p>Finally, for those cases where there is something that really absolutely must get done now, without delay (like taking your medication), we’re adding a new type of repeating notification that will keep reminding you about a task every few minutes until you tell OmniFocus that you’ve completed that task.</p>
</blockquote>
<p>​</p>
<blockquote>
<p>or OmniFocus 3, we’ll be adding powerful JavaScript-based automation much like what we’ve already shipped in OmniGraffle</p>
</blockquote>
<p>​</p>
<blockquote>
<p>This will enable dual-platform scripts which can be used to manipulate tasks in all sorts of ways, such as filtering, reporting, or creating content based on templates.</p>
</blockquote>
<p>​</p>
<blockquote>
<p>For OmniFocus 3, we’re adding support for linking tasks between unrelated databases. The idea is that I can send you a task (with its notes and attachments and due date) and propose that our tasks be linked, and you can choose whether to accept the link or not. While our tasks are linked, we can each see updates to the status of that specific task</p>
</blockquote>
<p>​</p>
<blockquote>
<p>we’re building OmniFocus for the Web. It will be greatly simplified from the OmniFocus you know</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Gtdjedi Podcast - Ep034 - Our Favorite Things Of 2017</title><description>The Big Discussion 2017 Favorites Favorite Device: Jerry: iPhone X Tim: Abstain (only new device was iPhone 8) Clay: iPhone X Favorite Accessory: Jerry: Bose Soundsport Free Clay: AirPods Favorite New Software Feature: Jerry: Multitasking on iPad Pro Tim: Flashlight mode on Watch Clay: Swipe Gesture Navigation on iPhone X Favorite Productivity App: Jerry: 1Password Tim: Due Clay: Newton Mail Favorite Social Network App: Jerry: Tweetbot Tim: Narwhal (Reddit) Clay: Twitterrific Favorite Game: Jerry: N/A Tim…</description><link>https://timbroder.com/2017/11/gtdjedi-podcast-ep034-our-favorite-things-of-2017/</link><guid isPermaLink="false">https://timbroder.com/2017/11/gtdjedi-podcast---ep034---our-favorite-things-of-2017</guid><pubDate>Wed, 22 Nov 2017 16:40:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>The Big Discussion</p>
<p>2017 Favorites</p>
<p>Favorite Device:</p>
<p>Jerry: iPhone X</p>
<p>Tim: Abstain (only new device was iPhone 8)</p>
<p>Clay: iPhone X</p>
<p>Favorite Accessory:</p>
<p>Jerry: Bose Soundsport Free</p>
<p>Clay: AirPods</p>
<p>Favorite New Software Feature:</p>
<p>Jerry: Multitasking on iPad Pro</p>
<p>Tim: Flashlight mode on Watch</p>
<p>Clay: Swipe Gesture Navigation on iPhone X</p>
<p>Favorite Productivity App:</p>
<p>Jerry: 1Password</p>
<p>Tim: Due</p>
<p>Clay: Newton Mail</p>
<p>Favorite Social Network App:</p>
<p>Jerry: Tweetbot</p>
<p>Tim: Narwhal (Reddit)</p>
<p>Clay: Twitterrific</p>
<p>Favorite Game:</p>
<p>Jerry: N/A</p>
<p>Tim: Baldur’s Gate</p>
<p>Clay: Conquist 2</p>
<p>Favorite Podcast (Non-TEKSide):</p>
<p>Jerry: MacBreak Weekly</p>
<p>Tim: The Glass Cannon</p>
<p>Clay: The Savage Nation</p>
<p>Favorite Movie:</p>
<p>Favorite TV Show:</p>
<p>Jerry: Real Time With Bill Maher</p>
<p>Tim: Stranger Things</p>
<p>Clay: Game of Thrones</p>
<p>Favorite Musical Artist:</p>
<p>Jerry: Bruno Mars</p>
<p>Tim: Dragonforce</p>
<p>Clay: The Chainsmokers</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Show &amp; Tell Cast - S02Ep011 - Star Wars Rogue One, Holiday Special &amp; Force Awakens</title><description>This Episode’s Films Star Wars: The Force Awakens Rogue One: A Star Wars Story The Star Wars Holiday Special</description><link>https://timbroder.com/2017/11/show-and-tell-cast-s02ep011-star-wars-rogue-one-holiday-special-and-force-awakens/</link><guid isPermaLink="false">https://timbroder.com/2017/11/show-&amp;-tell-cast---s02ep011---star-wars-rogue-one,-holiday-special-&amp;-force-awakens</guid><pubDate>Sun, 05 Nov 2017 08:39:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>This Episode’s Films</p>
<p>Star Wars: The Force Awakens</p>
<p>Rogue One: A Star Wars Story</p>
<p>The Star Wars Holiday Special</p>
</blockquote>
]]></content:encoded></item>
<item><title>Gtdjedi Podcast - Ep033 - Watching Forward</title><description>The Big Discussion watchOS 4 My take on my Apple Watch Edition Series 3 with LTE How has watchOS 4 changed how we use our Apple Watch? What does the future hold for the Apple Watch? Could it become a primary device in the future? And what changes need to be made and what features need to be added for that to become a possibility? Revisiting the Dock: The apps that have earned their place How is the Series 0 handling it? Our recommendation to listeners who are on the fence about a purchase? ​</description><link>https://timbroder.com/2017/11/gtdjedi-podcast-ep033-watching-forward/</link><guid isPermaLink="false">https://timbroder.com/2017/11/gtdjedi-podcast---ep033---watching-forward</guid><pubDate>Thu, 02 Nov 2017 08:38:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>The Big Discussion</p>
<p>watchOS 4</p>
<p>My take on my Apple Watch Edition Series 3 with LTE</p>
<p>How has watchOS 4 changed how we use our Apple Watch?</p>
<p>What does the future hold for the Apple Watch? Could it become a primary device in the future? And what changes need to be made and what features need to be added for that to become a possibility?</p>
<p>Revisiting the Dock: The apps that have earned their place</p>
<p>How is the Series 0 handling it?</p>
<p>Our recommendation to listeners who are on the fence about a purchase?</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Show &amp; Tell Cast - S02Ep010 - Dune, Mystic River &amp; Final Girls</title><description>This Episode’s Films Tim: Mystic River Clay: Dune Jonathan: Final Girls ​</description><link>https://timbroder.com/2017/10/show-and-tell-cast-s02ep010-dune-mystic-river-and-final-girls/</link><guid isPermaLink="false">https://timbroder.com/2017/10/show-&amp;-tell-cast---s02ep010---dune,-mystic-river-&amp;-final-girls</guid><pubDate>Thu, 12 Oct 2017 08:33:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>This Episode’s Films</p>
<p>Tim: Mystic River</p>
<p>Clay: Dune</p>
<p>Jonathan: Final Girls</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Gtdjedi Podcast - Ep032 -Mixed Emotions On Ios 11</title><description>The Big Discussion How iOS 11 and macOS High Sierra can make us more productive Our take on the latest builds. Favorite new iOS features Favorite app updates that take advantage of the new APIs? What software changes we don’t like? Where do we go from here? Jedi Weapons of Choice (apps or features) Clay - new device setup method, drag &amp; drop Jerry - iOS miscellaneous- new Screen shots, screen recording, Notes PDF capture.. Tim - Siri for todos -&gt; Omnifocus ​</description><link>https://timbroder.com/2017/09/gtdjedi-podcast-ep032-mixed-emotions-on-ios-11/</link><guid isPermaLink="false">https://timbroder.com/2017/09/gtdjedi-podcast---ep032--mixed-emotions-on-ios-11</guid><pubDate>Wed, 27 Sep 2017 08:28:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>The Big Discussion</p>
<p>How iOS 11 and macOS High Sierra can make us more productive</p>
<p>Our take on the latest builds.</p>
<p>Favorite new iOS features</p>
<p>Favorite app updates that take advantage of the new APIs?</p>
<p>What software changes we don’t like?</p>
<p>Where do we go from here?</p>
<p>Jedi Weapons of Choice (apps or features)</p>
<p>Clay - new device setup method, drag &amp; drop</p>
<p>Jerry - iOS miscellaneous- new Screen shots, screen recording, Notes PDF capture..</p>
<p>Tim - Siri for todos -&gt; Omnifocus</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Show &amp; Tell Cast - S02Ep009 - The Dark Crystal, Labyrinth &amp; Tango &amp; Cash</title><description>This Episode’s Films Tim: The Dark Crystal Clay: Tango &amp; Cash Jonathan: Labyrinth ​</description><link>https://timbroder.com/2017/09/show-and-tell-cast-s02ep009-the-dark-crystal-labyrinth-and-tango-and-cash/</link><guid isPermaLink="false">https://timbroder.com/2017/09/show-&amp;-tell-cast---s02ep009---the-dark-crystal,-labyrinth-&amp;-tango-&amp;-cash</guid><pubDate>Sun, 10 Sep 2017 11:33:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>This Episode’s Films</p>
<p>Tim: The Dark Crystal</p>
<p>Clay: Tango &amp; Cash</p>
<p>Jonathan: Labyrinth</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Gtdjedi Podcast - Ep031 - An Array Of Topics</title><description>The Big Discussion Follow-up (Tim) Vacation Home screen (Tim) Notability at a Work Conference (Jerry) Goal &amp; Habit Tracking (Clay) ​</description><link>https://timbroder.com/2017/08/gtdjedi-podcast-ep031-an-array-of-topics/</link><guid isPermaLink="false">https://timbroder.com/2017/08/gtdjedi-podcast---ep031---an-array-of-topics</guid><pubDate>Thu, 24 Aug 2017 08:26:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>The Big Discussion</p>
<p>Follow-up (Tim)</p>
<p>Vacation Home screen (Tim)</p>
<p>Notability at a Work Conference (Jerry)</p>
<p>Goal &amp; Habit Tracking (Clay)</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Fuze Code Studio Will Let Kids Use The Switch To Code Their Own Switch Games</title><description>Amazing Of the hundreds of noble efforts to teach kids to code, Fuze is one of them. Fuze has created its own programming language, Fuze BASIC, a riff on the classic BASIC programming language that was the foundation of Microsoft as a company and a formative experience for anyone who typed a program into an Apple II or Commodore 64. And now Fuze BASIC is coming to the Switch. ​</description><link>https://timbroder.com/2017/07/fuze-code-studio-will-let-kids-use-the-switch-to-code-their-own-switch-games/</link><guid isPermaLink="false">https://timbroder.com/2017/07/fuze-code-studio-will-let-kids-use-the-switch-to-code-their-own-switch-games</guid><pubDate>Sat, 22 Jul 2017 18:49:00 GMT</pubDate><content:encoded><![CDATA[<p>Amazing</p>
<blockquote>
<p>Of the hundreds of noble efforts to teach kids to code, Fuze is one of them. Fuze has created its own programming language, Fuze BASIC, a riff on the classic BASIC programming language that was the foundation of Microsoft as a company and a formative experience for anyone who typed a program into an Apple II or Commodore 64. And now Fuze BASIC is coming to the Switch.</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Gtdjedi Podcast - Ep030 - Health Tracking — Gtdjedi Podcast - The Tekside Network — Overcast</title><description>The Big Discussion Apps We Use for Monitoring Our Health Fitness Nutrition Special Needs Mental Health Lifestyle Jedi Weapons of Choice Clay - Health Kit, AutoSleep, Headspace, Lose It!, Peak Jerry - OneTouch Reveal, Health Kit, Power Sync Tim - Runkeeper, Beyond the Whiteboard, My Fitness Pal, Sleep Pulse 2, Sleep++, Zero, HealthKit, Headspace ​</description><link>https://timbroder.com/2017/07/gtdjedi-podcast-ep030-health-tracking-gtdjedi-podcast-the-tekside-network-overcast/</link><guid isPermaLink="false">https://timbroder.com/2017/07/gtdjedi-podcast---ep030---health-tracking-—-gtdjedi-podcast---the-tekside-network-—-overcast</guid><pubDate>Fri, 21 Jul 2017 22:30:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>The Big Discussion</p>
<p>Apps We Use for Monitoring Our Health</p>
<ul>
<li>
<p>Fitness</p>
</li>
<li>
<p>Nutrition</p>
</li>
<li>
<p>Special Needs</p>
</li>
<li>
<p>Mental Health</p>
</li>
<li>
<p>Lifestyle</p>
</li>
</ul>
<p>Jedi Weapons of Choice</p>
<ul>
<li>
<p>Clay - Health Kit, AutoSleep, Headspace, Lose It!, Peak</p>
</li>
<li>
<p>Jerry - OneTouch Reveal, Health Kit, Power Sync</p>
</li>
<li>
<p>Tim - Runkeeper, Beyond the Whiteboard, My Fitness Pal, Sleep Pulse 2, Sleep++, Zero, HealthKit, Headspace</p>
</li>
</ul>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Gtdjedi Podcast - Ep029 - Let'S Talk Sherlock</title><description>The Big Discussion With WWDC behind us, the GTDJedi Council examines which categories of 3rd party apps may have been “sherlocked”. ​</description><link>https://timbroder.com/2017/07/gtdjedi-podcast-ep029-lets-talk-sherlock/</link><guid isPermaLink="false">https://timbroder.com/2017/07/gtdjedi-podcast---ep029---let's-talk-sherlock</guid><pubDate>Sat, 08 Jul 2017 10:12:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>The Big Discussion</p>
<p>With WWDC behind us, the GTDJedi Council examines which categories of 3rd party apps may have been “sherlocked”.</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Show &amp; Tell Cast - S02Ep007 - Full Metal Jacket, Sneakers &amp; Pcu</title><description>This Episode’s Films Tim: Sneakers Clay: Full Metal Jacket Jonathan: PCU ​</description><link>https://timbroder.com/2017/07/show-and-tell-cast-s02ep007-full-metal-jacket-sneakers-and-pcu/</link><guid isPermaLink="false">https://timbroder.com/2017/07/show-&amp;-tell-cast---s02ep007---full-metal-jacket,-sneakers-&amp;-pcu</guid><pubDate>Sat, 08 Jul 2017 10:11:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>This Episode’s Films</p>
<p>Tim: Sneakers</p>
<p>Clay: Full Metal Jacket</p>
<p>Jonathan: PCU</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Gtdjedi Podcast - Ep028 - App Battle - Ios Mail Vs Airmail Vs Newton</title><description>The Big Discussion App Battles - Battle of the Email Clients ​My pick won an Apple Design Award at WWDC 2017 &#129304; Jedi Weapons of Choice Clay - Newton Jerry - iOS Mail Tim - Airmail ​</description><link>https://timbroder.com/2017/07/gtdjedi-podcast-ep028-app-battle-ios-mail-vs-airmail-vs-newton/</link><guid isPermaLink="false">https://timbroder.com/2017/07/gtdjedi-podcast---ep028---app-battle---ios-mail-vs-airmail-vs-newton</guid><pubDate>Sat, 08 Jul 2017 10:10:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>The Big Discussion</p>
<p>App Battles - Battle of the Email Clients</p>
</blockquote>
<p>​My pick won an Apple Design Award at WWDC 2017 🤘</p>
<blockquote>
<p>Jedi Weapons of Choice</p>
<p>Clay - Newton</p>
<p>Jerry - iOS Mail</p>
<p>Tim - Airmail</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Show &amp; Tell Cast - S02Ep006 - The Wedding Singer, Super Troopers &amp; Anchorman</title><description>This Episode’s Films Tim: Anchorman Clay: The Wedding Singer Jonathan: Super Troopers ​</description><link>https://timbroder.com/2017/07/show-and-tell-cast-s02ep006-the-wedding-singer-super-troopers-and-anchorman/</link><guid isPermaLink="false">https://timbroder.com/2017/07/show-&amp;-tell-cast---s02ep006---the-wedding-singer,-super-troopers-&amp;-anchorman</guid><pubDate>Sat, 08 Jul 2017 10:09:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>This Episode’s Films</p>
<p>Tim: Anchorman</p>
<p>Clay: The Wedding Singer</p>
<p>Jonathan: Super Troopers</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Gtdjedi Podcast - Ep027 - Device-Wise</title><description>The Big Discussion Device Cycles (How long do we hold onto our devices? Laptops/Desktops Tablets Phones Watches Cost vs. Features: How do you know when it is the right time to make a purchase? Do you buy refurbished? The pros and cons? How to maximize the life out of your devices? Payment plan vs. outright purchase? Which is best for you? Best way to get rid of your old device? ​</description><link>https://timbroder.com/2017/07/gtdjedi-podcast-ep027-device-wise/</link><guid isPermaLink="false">https://timbroder.com/2017/07/gtdjedi-podcast---ep027---device-wise</guid><pubDate>Sat, 08 Jul 2017 10:07:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>The Big Discussion</p>
<p>Device Cycles (How long do we hold onto our devices?</p>
<p>Laptops/Desktops</p>
<p>Tablets</p>
<p>Phones</p>
<p>Watches</p>
<p>Cost vs. Features: How do you know when it is the right time to make a purchase?</p>
<p>Do you buy refurbished? The pros and cons?</p>
<p>How to maximize the life out of your devices?</p>
<p>Payment plan vs. outright purchase? Which is best for you?</p>
<p>Best way to get rid of your old device?</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Show And Tell Cast - S02Ep005 - The Rocketeer, Reservoir Dogs &amp; Groundhog Day</title><description>This Episode’s Films Tim: The Rocketeer Clay: Groundhog Day Jonathan: Reservoir Dogs ​</description><link>https://timbroder.com/2017/05/show-and-tell-cast-s02ep005-the-rocketeer-reservoir-dogs-and-groundhog-day/</link><guid isPermaLink="false">https://timbroder.com/2017/05/show-and-tell-cast---s02ep005---the-rocketeer,-reservoir-dogs-&amp;-groundhog-day</guid><pubDate>Mon, 01 May 2017 15:24:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>This Episode’s Films</p>
<p>Tim: The Rocketeer</p>
<p>Clay: Groundhog Day</p>
<p>Jonathan: Reservoir Dogs</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Sensegrow PivotalTracker case study</title><description>For example, you should prioritize and select features based on an evaluation matrix and not just on the whims and fancies of individuals or customers. Preach &#128591;
​</description><link>https://timbroder.com/2017/04/sensegrow/</link><guid isPermaLink="false">https://timbroder.com/2017/04/sensegrow</guid><pubDate>Thu, 27 Apr 2017 12:45:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>For example, you should prioritize and select features based on an evaluation matrix and not just on the whims and fancies of individuals or customers.</p>
</blockquote>
<p>Preach 🙏
​</p>
]]></content:encoded></item>
<item><title>Gtdjedi Podcast - Ep026 - A Day In The Life Of A Gtdjedi Master</title><description>The Big Discussion Our Daily Routines (workflows that flow for us) ​</description><link>https://timbroder.com/2017/03/gtdjedi-podcast-ep026-a-day-in-the-life-of-a-gtdjedi-master/</link><guid isPermaLink="false">https://timbroder.com/2017/03/gtdjedi-podcast---ep026---a-day-in-the-life-of-a-gtdjedi-master</guid><pubDate>Thu, 02 Mar 2017 20:55:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>The Big Discussion</p>
<p>Our Daily Routines (workflows that flow for us)</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Kidfund is on Betalist!</title><description>My startup, Kidfund has been featured on Betalist!! It would be a HUGE help to us if you could "heart" it.
Doubly so if you could share on social media!</description><link>https://timbroder.com/2017/02/kidfund-is-on-betalist/</link><guid isPermaLink="false">https://timbroder.com/2017/02/kidfund-is-on-betalist!</guid><pubDate>Fri, 24 Feb 2017 09:31:00 GMT</pubDate><content:encoded><![CDATA[<p>My startup, Kidfund has been <a href="https://betalist.com/startups/kidfund" title="featured on Betalist">featured on Betalist</a>!!</p>
<p>It would be a HUGE help to us if you could "<a href="https://betalist.com/startups/kidfund" title="heart">heart</a>" it.
Doubly so if you could share on social media!</p>
]]></content:encoded></item>
<item><title>Feb 23 was a security day</title><description>Busy day yesterday: Cloudflare leaked secrets Google cracked SHA-1 Dropbox opensourced Securitybot: Automated Security at Scale</description><link>https://timbroder.com/2017/02/feb-23-was-a-security-day/</link><guid isPermaLink="false">https://timbroder.com/2017/02/feb-23-was-a-security-day</guid><pubDate>Fri, 24 Feb 2017 09:22:00 GMT</pubDate><content:encoded><![CDATA[<p>Busy day yesterday:</p>
<ul>
<li><a href="https://blog.cloudflare.com/incident-report-on-memory-leak-caused-by-cloudflare-parser-bug/" title="Cloudflare leaked secrets">Cloudflare leaked secrets</a></li>
<li><a href="http://www.theverge.com/2017/2/23/14712118/google-sha1-collision-broken-web-encryption-shattered" title="Google cracked SHA-1">Google cracked SHA-1</a></li>
<li>Dropbox opensourced <a href="https://blogs.dropbox.com/tech/2017/02/meet-securitybot-open-sourcing-automated-security-at-scale/" title="Securitybot: Open Sourcing Automated Security at Scale">Securitybot: Automated Security at Scale</a></li>
</ul>
]]></content:encoded></item>
<item><title>Show &amp; Tell Cast - S02Ep003 - Blues Brothers, Drop Zone &amp; American History X</title><description>This Episode’s Films Tim: Drop Zone Clay: American History X Jonathan: Blues Brothers ​</description><link>https://timbroder.com/2017/02/show-and-tell-cast-s02ep003-blues-brothers-drop-zone-and-american-history-x/</link><guid isPermaLink="false">https://timbroder.com/2017/02/show-&amp;-tell-cast---s02ep003---blues-brothers,-drop-zone-&amp;-american-history-x</guid><pubDate>Wed, 15 Feb 2017 08:28:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>This Episode’s Films</p>
<p>Tim: Drop Zone</p>
<p>Clay: American History X</p>
<p>Jonathan: Blues Brothers</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>The best iPhone case I've ever owned</title><description>Thank you, Jerry The Sheath, the case is a svelte .90mm thick, full coverage case. Caudabe calls the material ShockLite, a soft gel-like flexible polymer with shock protection. The Caudabe Sheath, on my iPhone 7+, is the best case I've ever used. I need a case. I drop my phone on a weekly basis and I'm nitpicky. Apple's silicon grips my pocket too much. The leather feels weird when I sweat running. Bumpers are too wide. Other 3rd party cases don't stay on as well This case nails it all: It feels great in my…</description><link>https://timbroder.com/2017/01/review-caudabe-the-sheath-for-iphone-7/</link><guid isPermaLink="false">https://timbroder.com/2017/01/review:-caudabe---the-sheath-for-iphone-7</guid><pubDate>Tue, 24 Jan 2017 19:29:00 GMT</pubDate><content:encoded><![CDATA[<p>Thank you, <a href="http://www.techmusings.me/3/post/2016/12/review-caudabe-the-sheath-for-iphone-7.html" title="Jerry">Jerry</a></p>
<blockquote>
<p>The Sheath, the case is a svelte .90mm thick, full coverage case. Caudabe calls the material ShockLite, a soft gel-like flexible polymer with shock protection.</p>
</blockquote>
<p>The Caudabe Sheath, on my iPhone 7+, is the best case I've ever used.</p>
<p>I need a case. I drop my phone on a weekly basis and I'm nitpicky. Apple's silicon grips my pocket too much. The leather feels weird when I sweat running. Bumpers are too wide. Other 3rd party cases don't stay on as well</p>
<p>This case nails it all: It feels great in my hand and pocket, its super thin, and so far has survived drop "tests"</p>
<p>Check out Jerry's full review <a href="http://www.techmusings.me/3/post/2016/12/review-caudabe-the-sheath-for-iphone-7.html" title="Here">here</a></p>
]]></content:encoded></item>
<item><title>Show And Tell Cast - S02Ep002 - Westworld, Point Break &amp; The Departed</title><description>This Episode’s Films Tim: The Departed Clay: Point Break (Original) Jonathan: Westworld (1973) ​</description><link>https://timbroder.com/2017/01/show-and-tell-cast-s02ep002-westworld-point-break-and-the-departed/</link><guid isPermaLink="false">https://timbroder.com/2017/01/show-and-tell-cast---s02ep002---westworld,-point-break-&amp;-the-departed</guid><pubDate>Sun, 15 Jan 2017 13:44:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>This Episode’s Films</p>
<p>Tim: The Departed</p>
<p>Clay: Point Break (Original)</p>
<p>Jonathan: Westworld (1973)</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Adding Smart Speed to any audio file with Audacity</title><description>The Overcast podcast app by Marco Arment has a killer feature called Smart Speed and it has ruined all audio listening for me outside of the app. Smart Speed dynamically shortens silences in talk shows; it saves you time, and makes them feel tighter and more produced. I wish I had it everywhere. Tekside is a podcast network I'm part of, and while some of our shows are heavily edited, many are not. While doing some audio work for something else, my wife noticed that Audacity (cross platform) has a crud…</description><link>https://timbroder.com/2017/01/adding-smartspeed-to-any-audio-file/</link><guid isPermaLink="false">https://timbroder.com/2017/01/adding-smartspeed-to-any-audio-file</guid><pubDate>Sun, 15 Jan 2017 09:18:00 GMT</pubDate><content:encoded><![CDATA[<p>The <a href="https://geo.itunes.apple.com/us/app/overcast-podcast-player/id888422857?at=11laRZ&amp;ct=afp15&amp;ls=1&amp;mt=8" title="Overcast">Overcast</a> podcast app by <a href="https://twitter.com/marcoarment" title="Marco Arment">Marco Arment</a> has a killer feature called Smart Speed and it has ruined all audio listening for me outside of the app. Smart Speed <em>dynamically shortens silences in talk shows</em>; it saves you time, and makes them feel tighter and more produced. I wish I had it everywhere.</p>
<p><a href="http://tekside.net/" title="Tekside">Tekside</a> is a podcast network I'm part of, and while some of our shows are heavily edited, many are not. While doing some audio work for <a href="http://heymamapodcast.com/" title="something else">something else</a>, my <a href="https://twitter.com/bingopajamas" title="wife">wife</a> noticed that <a href="http://www.audacityteam.org/" title="Audacity">Audacity</a> (cross platform) has a crud version of this type of audio processing. Here's how to set it up.</p>
<h2 id="setup">Setup</h2>
<ol>
<li><a href="http://www.audacityteam.org/download/" title="Download Audacity">Download Audacity</a> &amp; install it. But don't run it yet. (If it opened as part of install, close it)</li>
<li>If you are working with audio files already, head to "Making it work". If you are pulling in .mov files from <a href="http://www.ecamm.com/mac/callrecorder/" title="Skype Call Recorder">Skype Call Recorder</a> see step 3</li>
<li>Install FFMPEG: If you are on a Mac, download and install <a href="http://lame3.buanzo.com.ar/FFmpeg_v0.6.2_for_Audacity_on_OSX.dmg" title="this">this</a> Otherwise, see <a href="http://manual.audacityteam.org/man/faq_installation_and_plug_ins.html#ffdown" title="these instructions">these instructions</a></li>
</ol>
<h2 id="making-it-work">Making it work</h2>
<ol>
<li>Open Audacity</li>
<li>Click File -&gt; Import Audio</li>
<li>Choose your audio recording</li>
<li>Optional: If Audacity prompts you to "Select Stream(s) to import", select all of them and hit OK <img src="https://timbroder.com/images/remote/2017-01-15-Adding-SmartSpeed-to-any-audio-file/32174620192_8f027bbbef_b.jpg" alt=""></li>
<li>Select one of the audio streams and hit CMD+A to highlight all of the audio</li>
<li>Click Effect -&gt; Truncate Silence</li>
<li>I currently have <strong>duration</strong> set to <strong>0.9</strong> and <strong>truncate to</strong> set to <strong>0.5</strong>. What this does is find any silence longer that 0.9 seconds and shorten it to 0.5 seconds <img src="https://timbroder.com/images/remote/2017-01-15-Adding-SmartSpeed-to-any-audio-file/32174511182_ee8cfc68db_b.jpg" alt=""></li>
<li>Hit ok &amp; let it run</li>
<li>File -&gt; Export <em>(As a WAV. You may have to hit OK a few times)</em></li>
<li>Done!</li>
</ol>
<p>I'm still figuring out which duration will work best for which shows. It depends how fast the people on it already naturally talk and flow which each other. For <a href="http://tekside.net/showandtell/" title="Show and Tell">Show and Tell</a>, our movie podcast, the above settings strip a 55 min recording to 48 mins and it sounds a lot tighter.</p>
]]></content:encoded></item>
<item><title>Remembering All Those Helpful Stackoverflow Posts</title><description>How often has this happened to you? 2 years ago You are spelunking on Google and StackOverflow (SO). You find what you need. You graciously upvote and/or leave a comment. You update your code and leave a comment. You move on Now You come across the same problem. You remember finding it before. But it's a different job or project. Spelunking begins! You look through your bookmarks You try to remember how you Googled for it the last time You eventually find it after an hour You move on This possibly happens…</description><link>https://timbroder.com/2017/01/remembering-all-those-helpful-stackoverflow-posts/</link><guid isPermaLink="false">https://timbroder.com/2017/01/remembering-all-those-helpful-stackoverflow-posts</guid><pubDate>Mon, 09 Jan 2017 14:38:00 GMT</pubDate><content:encoded><![CDATA[<p>How often has this happened to you?</p>
<p><strong>2 years ago</strong></p>
<ul>
<li>You are spelunking on Google and StackOverflow (SO).</li>
<li>You find what you need.</li>
<li>You graciously upvote and/or leave a comment.</li>
<li>You update your code and leave a comment.</li>
<li><strong>You move on</strong></li>
</ul>
<p><strong>Now</strong></p>
<ul>
<li>You come across the <em>same</em> problem. You remember finding it before. But it's a different job or project. Spelunking begins!</li>
<li>You look through your bookmarks</li>
<li>You try to remember how you Googled for it the <em>last</em> time</li>
<li>You eventually find it after an hour</li>
<li><strong>You move on</strong></li>
<li><em>This possibly happens again in the future</em></li>
</ul>
<p>Now in the perfect world, we're keeping a <a href="https://geo.itunes.apple.com/app/quiver-programmers-notebook/id866773894?at=11laRZ&amp;ct=afp15&amp;ls=1&amp;mt=12" title="programming notebook">programming notebook</a> or remembering to bookmark/tag/organize what we find. If you do, awesome, I wish I was you. For the rest of us mere mortals, read on.</p>
<p>I wanted something that would let me search <em>my</em> collection of SO <em>things</em> so I could find it later. Here's where I ended up: Every SO post I star being automatically bookmarked with full-text search</p>
<p><strong>The Flow</strong></p>
<ol>
<li>Use an instance of <a href="https://timbroder.com/2017/01/remembering-all-those-helpful-stackoverflow-posts/stack2rss" title="stack2rss">stack2rss</a> to get an RSS feed of SO posts I've starred.</li>
<li>Run a <a href="https://zapier.com/" title="Zap">Zap</a> that pulls these in and sends them to my <a href="https://pinboard.in/u:broderboy/t:stackoverflow/" title="bookmarks">bookmarks</a> (tagged as 'stackoverflow')</li>
<li>Search using <a href="https://pinboard.in/upgrade/" title="Pinboard Premium">Pinboard Premium</a> which downloads the questions and archives them. <em>(this is optional)</em></li>
</ol>
<p>This has been working for me and I've already be able to re-find things that helped me before.</p>
<p><strong>Setup</strong></p>
<ol>
<li>Spin up an instance of <a href="https://github.com/nathan-osman/stack2rss" title="stack2rss">stack2rss</a>. There is a <a href="http://stack2rss.quickmediasolutions.com/" title="demo">demo</a> available, but I've found it tends to go down. I've submitted a <a href="https://github.com/nathan-osman/stack2rss/pull/3" title="PR">PR</a> so you can 1 click install to Heroku. Click this <a href="https://heroku.com/deploy?template=https://github.com/nathan-osman/stack2rss/"><img src="https://timbroder.com/images/remote/2017-01-09-remembering-all-those-helpful-stackoverflow-posts/button.svg" alt="Deploy"></a></li>
<li>Get the url for your starred feeds: <code>https://[YOUR-HEROKU-APP].herokuapp.com/2.2/users/[YOUR-SO-ID]/favorites?order=desc&amp;sort=activity&amp;site=stackoverflow</code></li>
<li>Login or Register with <a href="https://zapier.com/" title="Zapier">Zapier</a></li>
<li>Create a 2 step zap with the trigger being <code>RSS by Zapier</code> and Pinboard's <code>create bookmark</code> action</li>
<li>Set each up as follows</li>
</ol>
<p><img src="https://timbroder.com/images/remote/2017-01-09-remembering-all-those-helpful-stackoverflow-posts/32066204692_74e32cdde5_z.jpg" alt=""></p>
<p><img src="https://timbroder.com/images/remote/2017-01-09-remembering-all-those-helpful-stackoverflow-posts/32066204992_a2aa11295d_z.jpg" alt=""></p>
<p><img src="https://timbroder.com/images/remote/2017-01-09-remembering-all-those-helpful-stackoverflow-posts/32176780436_a1fec1e26d_z.jpg" alt=""></p>
<p>This has already saved me a lot of time. If you'd like help setting up, leave me a comment below</p>
]]></content:encoded></item>
<item><title>Show &amp; Tell Cast - S02Ep001 - Dr. Strangelove, Young Guns &amp; The Boondock Saints</title><description>This Episode’s Films Tim: Boondock Saints Clay: Young Guns Jonathan: Dr. Strangelove ​</description><link>https://timbroder.com/2016/12/show-and-tell-cast-s02ep001-dr-strangelove-young-guns-and-the-boondock-saints/</link><guid isPermaLink="false">https://timbroder.com/2016/12/show-&amp;-tell-cast---s02ep001---dr.-strangelove,-young-guns-&amp;-the-boondock-saints</guid><pubDate>Fri, 23 Dec 2016 09:19:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>This Episode’s Films</p>
<p>Tim: Boondock Saints</p>
<p>Clay: Young Guns</p>
<p>Jonathan: Dr. Strangelove</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Gtdjedi Podcast - Ep022 - Where, When &amp; How We Use Our Devices</title><description>The Big Discussion Device Setups App layout (home screens and dock) Where, when and how we use our Apple Devices Desktop Laptop Tablet Phone ​</description><link>https://timbroder.com/2016/11/gtdjedi-podcast-ep022-where-when-and-how-we-use-our-devices/</link><guid isPermaLink="false">https://timbroder.com/2016/11/gtdjedi-podcast---ep022---where,-when-&amp;-how-we-use-our-devices</guid><pubDate>Fri, 11 Nov 2016 13:26:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>The Big Discussion</p>
<p>Device Setups</p>
<p>App layout (home screens and dock)</p>
<p>Where, when and how we use our Apple Devices</p>
<p>Desktop</p>
<p>Laptop</p>
<p>Tablet</p>
<p>Phone</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Laravel 5.4 – Higher Order Messaging For Collections</title><description>Two words: HELL, YES The best way of showcasing this new feature is through code samples. Pretend you have a collection and you want to perform an operation on each of the items: With this new feature you will be able to simplify this into: via Laravel News</description><link>https://timbroder.com/2016/11/laravel-54-higher-order-messaging-for-collections/</link><guid isPermaLink="false">https://timbroder.com/2016/11/laravel-54-–-higher-order-messaging-for-collections</guid><pubDate>Mon, 07 Nov 2016 09:59:00 GMT</pubDate><content:encoded><![CDATA[<p>Two words: HELL, YES</p>
<blockquote>
<p>The best way of showcasing this new feature is through code samples. Pretend you have a collection and you want to perform an operation on each of the items:</p>
</blockquote>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="php"><code><span class="line"><span style="color:#F8F8F2">$invoices</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">each</span><span style="color:#F8F8F2">(</span><span style="color:#66D9EF;font-style:italic">function</span><span style="color:#F8F8F2">($invoice) {</span></span>
<span class="line"><span style="color:#F8F8F2">  $invoice</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">pay</span><span style="color:#F8F8F2">();</span></span>
<span class="line"><span style="color:#F8F8F2">});</span></span></code></pre>
<blockquote>
<p>With this new feature you will be able to simplify this into:</p>
</blockquote>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="php"><code><span class="line"><span style="color:#F8F8F2">$invoices</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">each</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">pay</span><span style="color:#F8F8F2">();</span></span></code></pre>
<p>via <a href="https://laravel-news.com/2016/11/higher-order-messaging/" title="Laravel News">Laravel News</a></p>
]]></content:encoded></item>
<item><title>Using an Encrypted Realm in a background or notification processes?</title><description>Note: This post's primary purpose is to help me think through this problem. I have no prescribed solution at the end of it. The conversation will continue on Stack Overflow. I will update this post once I have a final approach. Realm has a great write up and sample code for encrypting your database. This documentation and sample work as intended, until you try to decrypt realm when: A user has a password on their phone The device is locked Your app is trying to do work with Realm when a remote notification…</description><link>https://timbroder.com/2016/10/using-an-encrypted-realm-with-background-or-notificatio-processes/</link><guid isPermaLink="false">https://timbroder.com/2016/10/using-an-encrypted-realm-with-background-or-notificatio-processes</guid><pubDate>Sun, 30 Oct 2016 13:54:00 GMT</pubDate><content:encoded><![CDATA[<p><em>Note: This post's primary purpose is to help me think through this problem. I have no prescribed solution at the end of it. The conversation will continue on <a href="http://stackoverflow.com/q/40332246/647343" title="Stack Overflow">Stack Overflow</a>. I will update this post once I have a final approach.</em></p>
<p>Realm has a great <a href="https://realm.io/docs/swift/latest/#encryption" title="write up">write up</a> and <a href="https://github.com/realm/realm-cocoa/blob/master/examples/ios/swift-2.2/Encryption/ViewController.swift" title="sample code">sample code</a> for encrypting your database. This documentation and sample work as intended, until you try to decrypt realm when:</p>
<ol>
<li>A user has a password on their phone</li>
<li>The device is locked</li>
<li>Your app is trying to do work with Realm when a remote notification comes in</li>
</ol>
<p>This happens because we can't access the keychain to get (or create) the key to en/decrypt the Realm. The default <code>kSecAttrAccessible</code> value is <code>kSecAttrAccessibleWhenUnlocked</code></p>
<p>There are a few options as I see them:</p>
<ol>
<li>Change <code>kSecAttrAccessible</code> to <code>kSecAttrAccessibleAlways</code>. I don't like this because it's a) too open and b) it was <a href="http://stackoverflow.com/questions/32112678/ksecattraccessiblealways-deprecated-in-ios-9#comment53491023_32600761" title="slated to be deprecated in iOS 9">slated to be deprecated in iOS 9</a></li>
<li>Change <code>kSecAttrAccessible</code> to <code>kSecAttrAccessibleAfterFirstUnlock</code> or <code>kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly</code>. This is better but still feels too open to <em>me</em>, even though the <a href="https://developer.apple.com/reference/security/ksecattraccessibleafterfirstunlockthisdeviceonly" title="docs">docs</a> state: <em>This is recommended for items that need to be accessed by background applications</em></li>
<li>Create a second, non-encrypted Realm to use as a staging database. Store notification data here, then when the app wakes up from user interaction (the device would be unlocked), move the data from the staging Realm into the encrypted real one. This doesn't feel right either, as we'll have data temporarily not encrypted</li>
<li>Combine 2 and 3 and encrypt the staging Realm, and protect it's key with <code>kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly</code></li>
<li>??</li>
</ol>
<p>I'm currently trying to decide if #2, if #3 is worth putting the time into, or if I can come up with a #5</p>
]]></content:encoded></item>
<item><title>Using iOS 10 devices with Xcode 7</title><description>Peter Steinberger started a GREAT gist on Using Xcode 7.3.1 and iOS 10 devices. Below is what worked for me to get a few extra test devices (my carry phone runs the 10 beta) working with Xcode 7. Can't upgrade to 8 just yet. Working with a contractor and don't want to move too many pieces. My Setup Xcode 7.3.1 and Beta 6
iOS 10 beta 6 (Beta 7 is out, after getting this to work, I don't think I'm upgrading just yet) Steps  iPhone: Settings &gt; General &gt; Reset &gt; Network Settings Reboot iPhone (after it wakes…</description><link>https://timbroder.com/2016/08/using-ios-10-devices-with-xcode-7/</link><guid isPermaLink="false">https://timbroder.com/2016/08/using-ios-10-devices-with-xcode-7</guid><pubDate>Wed, 31 Aug 2016 16:33:00 GMT</pubDate><content:encoded><![CDATA[<p><a href="https://twitter.com/steipete" title="Peter Steinberger">Peter Steinberger</a> started a GREAT <a href="https://gist.github.com/steipete/d9b44d8e9f341e81414e86d7ff8fb62d" title="gist">gist</a> on <em>Using Xcode 7.3.1 and iOS 10 devices</em>.</p>
<p>Below is what worked for me to get a few extra test devices (my carry phone runs the 10 beta) working with Xcode 7. Can't upgrade to 8 just yet. Working with a contractor and don't want to move too many pieces.</p>
<p><strong>My Setup</strong></p>
<p>Xcode 7.3.1 and Beta 6
iOS 10 beta 6 <em>(Beta 7 is out, after getting this to work, I don't think I'm upgrading just yet)</em></p>
<p><strong>Steps</strong></p>
<ol>
<li><code>sudo ln -s /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/10.0\ \(14A5339a\)/ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport</code></li>
<li>iPhone: Settings &gt; General &gt; Reset &gt; Network Settings</li>
<li>Reboot iPhone <em>(after it wakes back up from the network reset)</em></li>
<li>Reboot Mac <em>(restarting Xcode alone didn't work)</em></li>
</ol>
<p>It these steps don't work for you, check out the <a href="https://gist.github.com/steipete/d9b44d8e9f341e81414e86d7ff8fb62d" title="gist">gist</a> for other options.</p>
]]></content:encoded></item>
<item><title>How To Give Your Brain A Vacation</title><description>a 2011 UC study revealed that we take in the about 174 newspapers’ worth of information daily &#128563;&#128563;&#128563; Click through for some great tips
​</description><link>https://timbroder.com/2016/08/how-to-give-your-brain-a-vacation/</link><guid isPermaLink="false">https://timbroder.com/2016/08/how-to-give-your-brain-a-vacation</guid><pubDate>Mon, 22 Aug 2016 10:47:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>a 2011 UC study revealed that we take in the about 174 newspapers’ worth of information daily</p>
</blockquote>
<p>😳😳😳</p>
<p>Click through for some great tips
​</p>
]]></content:encoded></item>
<item><title>Metallica’S New Song Is Their Ballsiest In Decades</title><description>The metal-heads who thought Metallica had turned into tired old wussies should sit down and shut up for three minutes, because the quartet is back with a new song that ranks as its best work in decades. ​"Hell Yeah" Metallica has been my favorite band since middle school. Their discography playlist is constantly played on Spotify. Since S&amp;M, their work has been lack-luster. I've listened to it in the hopes it will be good. It never is. After listening to this teaser song, I am VERY, VERY, excited. It's…</description><link>https://timbroder.com/2016/08/metallicas-new-song-is-their-ballsiest-in-decades/</link><guid isPermaLink="false">https://timbroder.com/2016/08/metallica’s-new-song-is-their-ballsiest-in-decades</guid><pubDate>Sun, 21 Aug 2016 10:58:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>The metal-heads who thought Metallica had turned into tired old wussies should sit down and shut up for three minutes, because the quartet is back with a new song that ranks as its best work in decades.</p>
</blockquote>
<p>​"Hell Yeah"</p>
<p>Metallica has been my favorite band since middle school. Their discography playlist is constantly played on Spotify. Since S&amp;M, their work has been lack-luster. I've listened to it in the hopes it will be good. It never is.</p>
<p>After listening to this teaser song, I am VERY, VERY, excited. It's GREAT</p>
]]></content:encoded></item>
<item><title>Opening iTerm2 Tabs at Specific Directories</title><description>I love iTerm2. I can customize the stock Terminal.app just about as much, but it's much easier in iTerm. I find myself always opening the same 3 or 4 tabs when I get into coding mode. Luckily iTerm2 has great scripting support The 4 tabs I always open for Kidfund are: Our iOS project Our Laravel project. Usually where I run artisan commands Our Laravel project; Tails most recent file in the log directory Our Laravel project; I jump around from here. Usually CD-ing to 1. the realm directory to pop it into…</description><link>https://timbroder.com/2016/07/opening-iterm2-tabs-at-specific-directories/</link><guid isPermaLink="false">https://timbroder.com/2016/07/opening-iterm2-tabs-at-specific-directories</guid><pubDate>Thu, 21 Jul 2016 10:22:00 GMT</pubDate><content:encoded><![CDATA[<p>I love iTerm2. I can customize the stock Terminal.app just about as much, but it's much easier in iTerm. I find myself always opening the same 3 or 4 tabs when I get into coding mode. Luckily iTerm2 has <strong>great</strong> <a href="https://www.iterm2.com/documentation-scripting.html" title="scripting support">scripting support</a></p>
<p>The 4 tabs I always open for <a href="http://www.kidfund.us/" title="Kidfund">Kidfund</a> are:</p>
<ol>
<li>Our iOS project</li>
<li>Our Laravel project. Usually where I run artisan commands</li>
<li>Our Laravel project; Tails most recent file in the log directory</li>
<li>Our Laravel project; I jump around from here. Usually CD-ing to 1. the realm directory to pop it into <a href="https://github.com/realm/realm-browser-osx" title="Realm Browser">Realm Browser</a></li>
</ol>
<p>I didn't want this to run <em>all</em> of the time so I didn't have this script run each time iTerm opens. I instead wired it into an Alfred command. If you are interested you can download that <a href="https://github.com/Kidfund/KidTabs" title="here">here</a></p>
<p>The underlying script is as follows. It's crud, and could definitely be more flexible, but it works for me at the moment. Hopefully it can help you craft something to your needs</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="applescript"><code><span class="line"><span style="color:#fa4f8d">tell</span><span style="color:#66D9EF;font-style:italic"> application</span><span style="color:#E6DB74"> "iTerm2"</span></span>
<span class="line"><span style="color:#fa4f8d">  tell</span><span style="color:#F8F8F2"> current session </span><span style="color:#fa4f8d">of</span><span style="color:#F8F8F2"> current window</span></span>
<span class="line"><span style="color:#66D9EF">    write</span><span style="color:#66D9EF;font-style:italic"> text</span><span style="color:#E6DB74"> "cd ~/workspace/kidfund/ios"</span></span>
<span class="line"><span style="color:#fa4f8d">  end tell</span></span>
<span class="line"><span style="color:#fa4f8d">  tell</span><span style="color:#F8F8F2"> current window</span></span>
<span class="line"><span style="color:#F8F8F2">    create </span><span style="color:#AE81FF">tab</span><span style="color:#fa4f8d"> with</span><span style="color:#F8F8F2"> default profile</span></span>
<span class="line"><span style="color:#fa4f8d">      tell</span><span style="color:#F8F8F2"> current session </span><span style="color:#fa4f8d">of</span><span style="color:#F8F8F2"> current </span><span style="color:#AE81FF">tab</span></span>
<span class="line"><span style="color:#66D9EF">        write</span><span style="color:#66D9EF;font-style:italic"> text</span><span style="color:#E6DB74"> "cd ~/workspace/kidfund/web"</span></span>
<span class="line"><span style="color:#fa4f8d">      end tell</span></span>
<span class="line"><span style="color:#fa4f8d">  end tell</span></span>
<span class="line"><span style="color:#fa4f8d">    tell</span><span style="color:#F8F8F2"> current window</span></span>
<span class="line"><span style="color:#F8F8F2">    create </span><span style="color:#AE81FF">tab</span><span style="color:#fa4f8d"> with</span><span style="color:#F8F8F2"> default profile</span></span>
<span class="line"><span style="color:#fa4f8d">      tell</span><span style="color:#F8F8F2"> current session </span><span style="color:#fa4f8d">of</span><span style="color:#F8F8F2"> current </span><span style="color:#AE81FF">tab</span></span>
<span class="line"><span style="color:#66D9EF">        write</span><span style="color:#66D9EF;font-style:italic"> text</span><span style="color:#E6DB74"> "cd ~/workspace/kidfund/web &amp;&amp; tail -f storage/logs/</span><span style="color:#AE81FF">\"</span><span style="color:#E6DB74">$(ls -at storage/logs | head -n 1)</span><span style="color:#AE81FF">\"</span><span style="color:#E6DB74">"</span></span>
<span class="line"><span style="color:#fa4f8d">      end tell</span></span>
<span class="line"><span style="color:#fa4f8d">  end tell</span></span>
<span class="line"><span style="color:#fa4f8d">    tell</span><span style="color:#F8F8F2"> current window</span></span>
<span class="line"><span style="color:#F8F8F2">    create </span><span style="color:#AE81FF">tab</span><span style="color:#fa4f8d"> with</span><span style="color:#F8F8F2"> default profile</span></span>
<span class="line"><span style="color:#fa4f8d">      tell</span><span style="color:#F8F8F2"> current session </span><span style="color:#fa4f8d">of</span><span style="color:#F8F8F2"> current </span><span style="color:#AE81FF">tab</span></span>
<span class="line"><span style="color:#66D9EF">        write</span><span style="color:#66D9EF;font-style:italic"> text</span><span style="color:#E6DB74"> "cd ~/workspace/kidfund/web"</span></span>
<span class="line"><span style="color:#fa4f8d">      end tell</span></span>
<span class="line"><span style="color:#fa4f8d">  end tell</span></span>
<span class="line"><span style="color:#fa4f8d">end tell</span></span></code></pre>
]]></content:encoded></item>
<item><title>Gtdjedi Podcast - Ep018 - Dock Worthy Watch Apps</title><description>The Big Discussion 6 Dock Worthy watchOS apps Clay Reminders Drafts 2Do Fantastical Overcast Workflow Jerry Reminders Alarm.com MLB At Bat Automatic 1Password Now Playing Tim Now playing Workout Omnifocus 2 Quick Switch Runkeeper (future) ​</description><link>https://timbroder.com/2016/07/gtdjedi-podcast-ep018-dock-worthy-watch-apps/</link><guid isPermaLink="false">https://timbroder.com/2016/07/gtdjedi-podcast---ep018---dock-worthy-watch-apps</guid><pubDate>Wed, 20 Jul 2016 09:18:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>The Big Discussion</p>
<p>6 Dock Worthy watchOS apps</p>
</blockquote>
<p>Clay</p>
<blockquote>
<p>Reminders</p>
<p>Drafts</p>
<p>2Do</p>
<p>Fantastical</p>
<p>Overcast</p>
<p>Workflow</p>
</blockquote>
<p>Jerry</p>
<blockquote>
<p>Reminders</p>
<p>Alarm.com</p>
<p>MLB At Bat</p>
<p>Automatic</p>
<p>1Password</p>
<p>Now Playing</p>
</blockquote>
<p>Tim</p>
<blockquote>
<p>Now playing</p>
<p>Workout</p>
<p>Omnifocus 2</p>
<p>Quick Switch</p>
<p>Runkeeper (future)</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Gtdjedi Podcast - Ep017 - Automation Faves</title><description>GTDJedi Show Notes Episode #: 17 Date: 06/21/16 Hosts: Clay Russell, Jerry Goldbaum &amp; Timothy Broder The Big Discussion Top 5 Launch Center Pro &amp; Workflow Use Cases ​</description><link>https://timbroder.com/2016/06/gtdjedi-podcast-ep017-automation-faves/</link><guid isPermaLink="false">https://timbroder.com/2016/06/gtdjedi-podcast---ep017---automation-faves</guid><pubDate>Thu, 23 Jun 2016 18:35:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>GTDJedi Show Notes</p>
<p>Episode #: 17</p>
<p>Date: 06/21/16</p>
<p>Hosts: Clay Russell, Jerry Goldbaum &amp; Timothy Broder</p>
<p>The Big Discussion</p>
<p>Top 5 Launch Center Pro &amp; Workflow Use Cases</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Hey Mama! Podcast</title><description>We bring our husbands on to discuss #fatherhood, have them share their #igotthis and #idontgotthis moments since becoming dads, and they make recommendations on apps, books and more for soon-to-be or new dads. We tell stories about their early parenting days and as usual, talk about our weeks. I joined the Hey Mama! podcast for a very special Father's Day episode. Check it out!</description><link>https://timbroder.com/2016/06/hey-mama-16/</link><guid isPermaLink="false">https://timbroder.com/2016/06/hey-mama-16</guid><pubDate>Mon, 20 Jun 2016 15:05:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>We bring our husbands on to discuss #fatherhood, have them share their #igotthis and #idontgotthis moments since becoming dads, and they make recommendations on apps, books and more for soon-to-be or new dads. We tell stories about their early parenting days and as usual, talk about our weeks.</p>
</blockquote>
<p>I joined the Hey Mama! podcast for a very special Father's Day episode.</p>
<p>Check it out!</p>
]]></content:encoded></item>
<item><title>App Launching On Apple Watch</title><description>I love using the Stopwatch and Timer apps while I'm cooking or brewing coffee, but I don't want their complications visible during the rest of the day. The ability to swipe left and bring up an entire watch face devoted to them and any other complications relevant to cooking is a game changer for me. I'll keep my existing primary watch face configured with the date, and a few activity / fitness complications, and I'll also have my Movie watch face with no distractions that Ryan Considine inspired me to use…</description><link>https://timbroder.com/2016/06/app-launching-on-apple-watch/</link><guid isPermaLink="false">https://timbroder.com/2016/06/app-launching-on-apple-watch</guid><pubDate>Sun, 19 Jun 2016 19:35:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>I love using the Stopwatch and Timer apps while I'm cooking or brewing coffee, but I don't want their complications visible during the rest of the day. The ability to swipe left and bring up an entire watch face devoted to them and any other complications relevant to cooking is a game changer for me. I'll keep my existing primary watch face configured with the date, and a few activity / fitness complications, and I'll also have my Movie watch face with no distractions that Ryan Considine inspired me to use.</p>
</blockquote>
<p>I hadn't even thought about using different watch faces for different tasks or themes of tasks.</p>
<p>I already switch faces of its the weekend (don't need calendar for example) but this will take it to a whole new level</p>
]]></content:encoded></item>
<item><title>Github File and Link Tricks</title><description>2 tricks I learned today that I'd like to share: reliably linking to a specific line and searching for files using fuzzy matching. Reliably link to a specific line Say you are on the master branch, and you want to reference a line in a file. This could either be for a conversation you are having at that moment, answering a question in a PR, or adding information to a ticket. At that point in time, your link will work great. But, what about when that file gets changed tomorrow? More lines get added higher up…</description><link>https://timbroder.com/2016/06/github-file-and-link-tricks/</link><guid isPermaLink="false">https://timbroder.com/2016/06/github-file-and-link-tricks</guid><pubDate>Thu, 09 Jun 2016 10:25:00 GMT</pubDate><content:encoded><![CDATA[<p>2 tricks I learned today that I'd like to share: reliably linking to a specific line and searching for files using fuzzy matching.</p>
<h1 id="reliably-link-to-a-specific-line">Reliably link to a specific line</h1>
<p>Say you are on the master branch, and you want to reference a line in a file. This could either be for a conversation you are having at that moment, answering a question in a PR, or adding information to a ticket. At that point in time, your link will work great. But, what about when that file gets changed tomorrow? More lines get added higher up, above the link, and the line that the link it pointing to, now points to something else!</p>
<p>You can easily have github switch to the latest commit for the file you are viewing. Just press 'y'. Then, when you link to a line, you are linking to THAT version of the file. You reference will always be intact.</p>
<h1 id="search-for-files-using-fuzzy-matching">Search for files using fuzzy matching</h1>
<p>When you are browsing through files, there is a button in the upper right that says "Find file". I'm sure it's been there forever, but I just noticed it.</p>
<p>This brings you to a full file tree that you can search using fuzzy matching. Just like if you were in your IDE quick-opening a file!</p>
]]></content:encoded></item>
<item><title>Gtdjedi Podcast - Ep016 - Custom Keyboard Input</title><description>The Big Discussion Custom Keyboards Jedi Weapons of Choice Clay - Gboard, Copied Jerry - Gboard Tim - Gboard, Bitmoji, MS Flow Bantha Fodder (apps deleted from our devices) Jerry - MS Flow Tim - Rock Clock ​</description><link>https://timbroder.com/2016/06/gtdjedi-podcast-ep016-custom-keyboard-input/</link><guid isPermaLink="false">https://timbroder.com/2016/06/gtdjedi-podcast---ep016---custom-keyboard-input</guid><pubDate>Thu, 02 Jun 2016 12:21:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>The Big Discussion</p>
<p>Custom Keyboards</p>
</blockquote>
<blockquote>
<p>Jedi Weapons of Choice</p>
<p>Clay - Gboard, Copied</p>
<p>Jerry - Gboard</p>
<p>Tim - Gboard, Bitmoji, MS Flow</p>
</blockquote>
<blockquote>
<p>Bantha Fodder (apps deleted from our devices)</p>
<p>Jerry - MS Flow</p>
<p>Tim - Rock Clock</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Open source everything</title><description>Great 2 part series by @jesse_squires on the importance of documenting everything and the gains of working in open source. I picked up a few tricks, especially VVDocumenter-Xcode for docblock generation. But, more importantly is the ethos in which he approaches his work Swift Documentation Open Source Everything</description><link>https://timbroder.com/2016/05/open-source-everything/</link><guid isPermaLink="false">https://timbroder.com/2016/05/open-source-everything</guid><pubDate>Tue, 24 May 2016 16:51:00 GMT</pubDate><content:encoded><![CDATA[<p>Great 2 part series by <a href="https://twitter.com/jesse_squires" title="@jesse_squires">@jesse_squires</a> on the importance of documenting everything and the gains of working in open source. I picked up a few tricks, especially <a href="https://github.com/onevcat/VVDocumenter-Xcode" title="VVDocumenter-Xcode">VVDocumenter-Xcode</a> for docblock generation. But, more importantly is the ethos in which he approaches his work</p>
<ul>
<li><a href="http://www.jessesquires.com/swift-documentation/" title="Swift Documentation">Swift Documentation</a></li>
<li><a href="http://www.jessesquires.com/open-source-everything/" title="Open Source Everything">Open Source Everything</a></li>
</ul>
]]></content:encoded></item>
<item><title>Avoiding Blackberry’S Fate – Marco.Org</title><description>The BlackBerry’s success came to an end not because RIM started releasing worse smartphones, but because the new job of the smartphone shifted almost entirely outside of their capabilities, and it was too late to catch u ​ Today, Amazon, Facebook, and Google are placing large bets on advanced AI, ubiquitous assistants, and voice interfaces, hoping that these will become the next thing that our devices are for. If they’re right — and that’s a big “if” — I’m worried for Apple. Marco makes a lot of good points…</description><link>https://timbroder.com/2016/05/avoiding-blackberrys-fate-marco-org/</link><guid isPermaLink="false">https://timbroder.com/2016/05/avoiding-blackberry’s-fate-–-marco.org</guid><pubDate>Sun, 22 May 2016 07:44:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>The BlackBerry’s success came to an end not because RIM started releasing worse smartphones, but because the new job of the smartphone shifted almost entirely outside of their capabilities, and it was too late to catch u</p>
</blockquote>
<p>​</p>
<blockquote>
<p>Today, Amazon, Facebook, and Google are placing large bets on advanced AI, ubiquitous assistants, and voice interfaces, hoping that these will become the next thing that our devices are for.</p>
<p>If they’re right — and that’s a big “if” — I’m worried for Apple.</p>
</blockquote>
<p>Marco makes a lot of good points and I agree with this 100%.  The mobile phone market as we know it is primed for the "next big thing" by someone. Who that is, and whether they are right remains to be seen. Do I mean that the current market is stagnant, or that innovation is dead? Of course not. But, I do think changes we'll see from the big 2 to their platforms will be incremental. There will always be new UI paradigms, features, and apps that can augment a platform.</p>
<p>The next large improvement will be what our devices start DOING with the data we give them. Not just inputs and outputs. But contextually understanding  the data and begin to make predictions on it. Apple is "good" at the former; give them something and they will give it back to you quickly. iMessage and the new photos are examples of this. Passwords, backups, and sync are examples of where they fall short. However, they can't act on that data. Photos knows who someone is because you tagged them. Or knows how much you liked a photo or a restaurant because you gave it stars. Input and outputs. Compare this to Google photos (which is downright amazing) that automatically just "knows" who is in the photo or figures out that an event took place because you traveled to it.</p>
<p>Google is king of data mining and context (Facebook and Amazon are not far behind). As Marco explains in his piece, Apple just can't catch up to that. It's my hope that the awesome that Google will bring in the form of Ai to devices won't be restricted to Android. I'm sure that Android will always have the most seamless experience, but it will be nice if Google's apps bring much of it to iPhone. Even better, would be for Google and Apple to get along again ala when Google Maps came installed on your iPhone</p>
]]></content:encoded></item>
<item><title>Setup and Teardown the Database Once Per Test Suite in PHPUnit</title><description>I'm working on a series of integration tests where I want to set up and reset the database for each run. This could easily be done in the setUp and tearDown methods, but doing the full db each time is slow. Yes, I could just do the tables I need, but I was curious, and now I don't have to worry about which tables are setup in my testing DB. In this example, I'm using Laravel's migrations and SQLite as the test DB. UPDATE 05/05/2016: As Sebastian points out below (thanks!) there is a much more appropriate…</description><link>https://timbroder.com/2016/05/setup-and-teardown-the-database-once-per-test-suite-with-phpunit-listeners/</link><guid isPermaLink="false">https://timbroder.com/2016/05/setup-and-teardown-the-database-once-per-test-suite-with-phpunit-listeners</guid><pubDate>Wed, 04 May 2016 16:15:00 GMT</pubDate><content:encoded><![CDATA[<p>I'm working on a series of integration tests where I want to set up and reset the database for each run. This could easily be done in the setUp and tearDown methods, but doing the full db each time is slow. Yes, I could just do the tables I need, but I was curious, and now I don't have to worry about which tables are setup in my testing DB. In this example, I'm using Laravel's migrations and SQLite as the test DB.</p>
<p><strong>UPDATE 05/05/2016</strong>: As Sebastian <a href="https://timbroder.com/2016/05/setup-and-teardown-the-database-once-per-test-suite-with-phpunit-listeners/" title="point out below">points out below</a> (thanks!) there is a much more appropriate way. Using <code>setUpBeforeClass</code> and <code>tearDownAfterClass</code> we achieve the same effect</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="php"><code><span class="line"><span style="color:#fa4f8d">public</span><span style="color:#fa4f8d"> static</span><span style="color:#66D9EF;font-style:italic"> function</span><span style="color:#A6E22E"> setUpBeforeClass</span><span style="color:#F8F8F2">()</span></span>
<span class="line"><span style="color:#F8F8F2">{</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">    parent</span><span style="color:#fa4f8d">::</span><span style="color:#A6E22E">setUpBeforeClass</span><span style="color:#F8F8F2">();</span></span>
<span class="line"><span style="color:#66D9EF">    exec</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'php artisan migrate --database sqlite_test'</span><span style="color:#F8F8F2">);</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">public</span><span style="color:#fa4f8d"> static</span><span style="color:#66D9EF;font-style:italic"> function</span><span style="color:#A6E22E"> tearDownAfterClass</span><span style="color:#F8F8F2">()</span></span>
<span class="line"><span style="color:#F8F8F2">{</span></span>
<span class="line"><span style="color:#66D9EF">    exec</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'php artisan migrate:reset --database sqlite_test'</span><span style="color:#F8F8F2">);</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">    parent</span><span style="color:#fa4f8d">::</span><span style="color:#A6E22E">tearDownAfterClass</span><span style="color:#F8F8F2">(); </span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span></code></pre>
<p><del>PHPUnit has <a href="https://phpunit.de/manual/current/en/extending-phpunit.html#extending-phpunit.examples.SimpleTestListener.php" title="listeners">listeners</a> that you can tap into at various parts of your tests' lifecycle. I'm particularly interested in when a specific suite starts and ends. We'll need to do 2 things:</del></p>
<ol>
<li><del>Create our Listener</del></li>
<li><del>Register this Listener in phpunit.xml</del></li>
</ol>
<p>The listener is as follows:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="php"><code><span class="line"><span style="color:#66D9EF;font-style:italic">class</span><span> </span><span style="color:#A6E22E;text-decoration:underline">FullDBListener</span><span style="color:#fa4f8d"> extends</span><span> </span><span style="color:#A6E22E;font-style:italic;text-decoration:underline">PHPUnit_Framework_BaseTestListener</span></span>
<span class="line"><span style="color:#F8F8F2">{</span></span>
<span class="line"><span style="color:#fa4f8d">    protected</span><span style="color:#F8F8F2"> $suites </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> [</span><span style="color:#E6DB74">'UserIntegrationTest'</span><span style="color:#F8F8F2">, </span><span style="color:#E6DB74">'AccountIntegrationTest'</span><span style="color:#F8F8F2">];</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">    public</span><span style="color:#66D9EF;font-style:italic"> function</span><span style="color:#A6E22E"> startTestSuite</span><span style="color:#F8F8F2">(</span><span style="color:#66D9EF;font-style:italic">PHPUnit_Framework_TestSuite</span><span style="color:#F8F8F2"> $suite)</span></span>
<span class="line"><span style="color:#F8F8F2">    {</span></span>
<span class="line"><span style="color:#fa4f8d">        if</span><span style="color:#F8F8F2"> (</span><span style="color:#66D9EF">in_array</span><span style="color:#F8F8F2">($suite</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">getName</span><span style="color:#F8F8F2">(), </span><span style="color:#FD971F">$this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">suites)) {</span></span>
<span class="line"><span style="color:#66D9EF">            exec</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'php artisan migrate --database sqlite_test'</span><span style="color:#F8F8F2">);</span></span>
<span class="line"><span style="color:#F8F8F2">        }</span></span>
<span class="line"><span style="color:#F8F8F2">    }</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">    public</span><span style="color:#66D9EF;font-style:italic"> function</span><span style="color:#A6E22E"> endTestSuite</span><span style="color:#F8F8F2">(</span><span style="color:#66D9EF;font-style:italic">PHPUnit_Framework_TestSuite</span><span style="color:#F8F8F2"> $suite)</span></span>
<span class="line"><span style="color:#F8F8F2">    {</span></span>
<span class="line"><span style="color:#fa4f8d">        if</span><span style="color:#F8F8F2"> (</span><span style="color:#66D9EF">in_array</span><span style="color:#F8F8F2">($suite</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">getName</span><span style="color:#F8F8F2">(), </span><span style="color:#FD971F">$this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">suites)) {</span></span>
<span class="line"><span style="color:#66D9EF">            exec</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'php artisan migrate:reset --database sqlite_test'</span><span style="color:#F8F8F2">);</span></span>
<span class="line"><span style="color:#F8F8F2">        }</span></span>
<span class="line"><span style="color:#F8F8F2">    }</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span></code></pre>
<p>This does a few things:</p>
<ol>
<li><del>Stores the class names of each suite we want to run the db migrations for</del></li>
<li><del>In <code>startTestSuite</code> it checks to see if we're in the right suite</del></li>
<li><del>If we are, run an artisan migration on our test db</del></li>
<li><del>In <code>endTestSuite</code> it checks to see if we're in the right suite</del></li>
<li><del>If we are, run an artisan migration:reset on our test db</del></li>
</ol>
<p><del>Next, we need to make PHPUnit aware of this listener. Update your path accordingly</del></p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="xml"><code><span class="line"><span style="color:#F8F8F2">&lt;</span><span style="color:#fa4f8d">listeners</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">    &lt;</span><span style="color:#fa4f8d">listener</span><span style="color:#A6E22E"> class</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"FullDBListener"</span><span style="color:#A6E22E"> file</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"./tests/app/FullDBListener.php"</span><span style="color:#F8F8F2">&gt;&lt;/</span><span style="color:#fa4f8d">listener</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">&lt;/</span><span style="color:#fa4f8d">listeners</span><span style="color:#F8F8F2">&gt;</span></span></code></pre>
<p>That's it!</p>
<p>I do do some basic teardown in my test suite's <code>setUp</code> method to give me a blank slate. This has proven faster then doing the migrations each time</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="php"><code><span class="line"><span style="color:#fa4f8d">public</span><span style="color:#66D9EF;font-style:italic"> function</span><span style="color:#A6E22E"> setUp</span><span style="color:#F8F8F2">()</span></span>
<span class="line"><span style="color:#F8F8F2">{</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">    parent</span><span style="color:#fa4f8d">::</span><span style="color:#A6E22E">setUp</span><span style="color:#F8F8F2">();</span></span>
<span class="line"></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">    User</span><span style="color:#fa4f8d">::</span><span style="color:#A6E22E">truncate</span><span style="color:#F8F8F2">();</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span></code></pre>
<p>I hope this helped you, if you have any questions, let me know!</p>
]]></content:encoded></item>
<item><title>Sketch Git Plugin</title><description>A Git client built right into Sketch. Generate pretty diffs so that everybody knows what are the changes! Designers can use git too!</description><link>https://timbroder.com/2016/05/sketch-git-plugin/</link><guid isPermaLink="false">https://timbroder.com/2016/05/sketch-git-plugin</guid><pubDate>Wed, 04 May 2016 11:10:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>A Git client built right into Sketch. Generate pretty diffs so that everybody knows what are the changes!</p>
</blockquote>
<p>Designers can use git too!</p>
]]></content:encoded></item>
<item><title>Gtdjedi Podcast - Ep015 - Notes On Notes</title><description>Note Management &amp; Organization What kind of notes go where: images, text, bookmarks, photos? Will we see services eventually go away as native solutions become more complete? The importance of syncing and sharing Note Widgets: Do you use them? Which ones &amp; how? ​</description><link>https://timbroder.com/2016/04/gtdjedi-podcast-ep015-notes-on-notes/</link><guid isPermaLink="false">https://timbroder.com/2016/04/gtdjedi-podcast---ep015---notes-on-notes</guid><pubDate>Wed, 27 Apr 2016 09:22:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>Note Management &amp; Organization</p>
<p>What kind of notes go where: images, text, bookmarks, photos?</p>
<p>Will we see services eventually go away as native solutions become more complete?</p>
<p>The importance of syncing and sharing</p>
<p>Note Widgets: Do you use them? Which ones &amp; how?</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Being A Developer After 40 — Medium</title><description>Good #longread for any developer. Regardless of how long you've been doing this Hi everyone, I am a forty-two years old self-taught developer, and this is my story. ​</description><link>https://timbroder.com/2016/04/being-a-developer-after-40-medium/</link><guid isPermaLink="false">https://timbroder.com/2016/04/being-a-developer-after-40-—-medium</guid><pubDate>Tue, 26 Apr 2016 18:33:00 GMT</pubDate><content:encoded><![CDATA[<p>Good #longread for any developer. Regardless of how long you've been doing this</p>
<blockquote>
<p>Hi everyone, I am a forty-two years old self-taught developer, and this is my story.</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Presenting Unanticipated Errors To Users</title><description>This is the start of a really great series. It uses Swift for the examples but everything in the articles holds true for any language/platform Errors: unexpected, composite, non-pure, external Presenting unanticipated errors to users First, some quick terminology: an error condition is a failed conditional check that results in a function skipping its usual functionality and instead returning an nominated error value. an error is a value used to report that an error condition occurred and normal…</description><link>https://timbroder.com/2016/04/great-series-on-errors-and-their-presentation/</link><guid isPermaLink="false">https://timbroder.com/2016/04/Great-Series-on-Errors-&amp;-Their-Presentation</guid><pubDate>Tue, 26 Apr 2016 10:25:00 GMT</pubDate><content:encoded><![CDATA[<p>This is the start of a really great series. It uses Swift for the examples but everything in the articles holds true for any language/platform</p>
<ul>
<li><a href="http://www.cocoawithlove.com/blog/2016/03/17/non-pure-errors.html" title="Errors: unexpected, composite, non-pure, external">Errors: unexpected, composite, non-pure, external</a></li>
<li><a href="http://www.cocoawithlove.com/blog/2016/04/14/error-recovery-attempter.html" title="Presenting unanticipated errors to users">Presenting unanticipated errors to users</a></li>
</ul>
<blockquote>
<p>First, some quick terminology:</p>
<ol>
<li>
<p>an error condition is a failed conditional check that results in a function skipping its usual functionality and instead returning an nominated error value.</p>
</li>
<li>
<p>an error is a value used to report that an error condition occurred and normal functionality was skipped</p>
</li>
<li>
<p>error handling is code that looks for errors and performs different actions based on the presence of those errors</p>
</li>
<li>
<p>error reporting communicates an error result from a user task to the user</p>
</li>
</ol>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Trying to Mock a Self Booting Laravel Model Trait</title><description>Bootable Model traits are pretty nifty. I'm using them to register certain events for the models using my Trait. However, I've run into an issue trying to mock models that are using the trait. Specifically, when a Mockery version of the model is instantiated, it's boot code agrees that it should have a bootMyTrait method, but can't find it when it tries to call it. Sample Repository for the below, with commands to reproduce. As an example, here is a trait: And a model using it: Instantiating the model…</description><link>https://timbroder.com/2016/04/trying-to-mock-a-self-booting-laravel-model-trait/</link><guid isPermaLink="false">https://timbroder.com/2016/04/trying-to-mock-a-self-booting-laravel-model-trait</guid><pubDate>Tue, 12 Apr 2016 11:01:00 GMT</pubDate><content:encoded><![CDATA[<p><a href="http://www.archybold.com/blog/post/booting-eloquent-model-traits" title="Bootable">Bootable</a> Model traits are pretty nifty. I'm using them to register certain events for the models using my Trait. However, I've run into an issue trying to mock models that are using the trait. Specifically, when a Mockery version of the model is instantiated, it's boot code agrees that it should have a bootMyTrait method, but can't find it when it tries to call it.</p>
<p><a href="https://github.com/timbroder/mock-bootable-laravel-model-trait" title="Sample Repository">Sample Repository</a> for the below, with commands to reproduce.</p>
<p>As an example, here is a trait:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="php"><code><span class="line"><span style="color:#fa4f8d">namespace</span><span> </span><span style="color:#A6E22E;text-decoration:underline">App</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">trait</span><span> </span><span style="color:#A6E22E;text-decoration:underline">MyTrait</span></span>
<span class="line"><span style="color:#F8F8F2">{</span></span>
<span class="line"><span style="color:#fa4f8d">    public</span><span style="color:#fa4f8d"> static</span><span style="color:#66D9EF;font-style:italic"> function</span><span style="color:#A6E22E"> bootMyTrait</span><span style="color:#F8F8F2">()</span></span>
<span class="line"><span style="color:#F8F8F2">    {</span></span>
<span class="line"><span style="color:#66D9EF">        print</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">"Booting MyTrait</span><span style="color:#AE81FF">\n</span><span style="color:#E6DB74">"</span><span style="color:#F8F8F2">);</span></span>
<span class="line"><span style="color:#F8F8F2">    }</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span></code></pre>
<p>And a model using it:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="php"><code><span class="line"><span style="color:#fa4f8d">namespace</span><span> </span><span style="color:#A6E22E;text-decoration:underline">App</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#fa4f8d">use</span><span style="color:#F8F8F2"> Illuminate\Database\Eloquent\</span><span style="color:#66D9EF;font-style:italic">Model</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">class</span><span> </span><span style="color:#A6E22E;text-decoration:underline">MyModel</span><span style="color:#fa4f8d"> extends</span><span> </span><span style="color:#A6E22E;font-style:italic;text-decoration:underline">Model</span></span>
<span class="line"><span style="color:#F8F8F2">{</span></span>
<span class="line"><span style="color:#fa4f8d">    use</span><span style="color:#66D9EF;font-style:italic"> MyTrait</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span></code></pre>
<p>Instantiating the model regularly works fine. This shows the desired output:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="php"><code><span class="line"><span style="color:#F8F8F2">$model </span><span style="color:#fa4f8d">=</span><span style="color:#fa4f8d"> new</span><span style="color:#66D9EF;font-style:italic"> MyModel</span><span style="color:#F8F8F2">();</span></span></code></pre>
<p>However, trying to mock this model does not cooperate. This:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="php"><code><span class="line"><span style="color:#fa4f8d">use</span><span style="color:#F8F8F2"> Illuminate\Foundation\Testing\</span><span style="color:#66D9EF;font-style:italic">WithoutMiddleware</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#fa4f8d">use</span><span style="color:#F8F8F2"> Illuminate\Foundation\Testing\</span><span style="color:#66D9EF;font-style:italic">DatabaseMigrations</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#fa4f8d">use</span><span style="color:#F8F8F2"> Illuminate\Foundation\Testing\</span><span style="color:#66D9EF;font-style:italic">DatabaseTransactions</span><span style="color:#F8F8F2">;</span></span>
<span class="line"></span>
<span class="line"></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">class</span><span> </span><span style="color:#A6E22E;text-decoration:underline">ExampleTest</span><span style="color:#fa4f8d"> extends</span><span> </span><span style="color:#A6E22E;font-style:italic;text-decoration:underline">TestCase</span></span>
<span class="line"><span style="color:#F8F8F2">{</span></span>
<span class="line"><span style="color:#94907d">    /**</span></span>
<span class="line"><span style="color:#94907d">     * A basic functional test example.</span></span>
<span class="line"><span style="color:#94907d">     *</span></span>
<span class="line"><span style="color:#94907d">     * </span><span style="color:#fa4f8d">@return</span><span style="color:#fa4f8d"> void</span></span>
<span class="line"><span style="color:#94907d">     */</span></span>
<span class="line"><span style="color:#fa4f8d">    public</span><span style="color:#66D9EF;font-style:italic"> function</span><span style="color:#A6E22E"> testTraitBooting</span><span style="color:#F8F8F2">()</span></span>
<span class="line"><span style="color:#F8F8F2">    {</span></span>
<span class="line"><span style="color:#F8F8F2">        $model </span><span style="color:#fa4f8d">=</span><span style="color:#FD971F"> $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">getMock</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'App\MyModel'</span><span style="color:#F8F8F2">);</span></span>
<span class="line"><span style="color:#F8F8F2">    }</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span></code></pre>
<p>Fails. Adding some debugging to Eloquent:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="php"><code><span class="line"><span style="color:#94907d">    /**</span></span>
<span class="line"><span style="color:#94907d">     * Boot all of the bootable traits on the model.</span></span>
<span class="line"><span style="color:#94907d">     *</span></span>
<span class="line"><span style="color:#94907d">     * </span><span style="color:#fa4f8d">@return</span><span style="color:#fa4f8d"> void</span></span>
<span class="line"><span style="color:#94907d">     */</span></span>
<span class="line"><span style="color:#fa4f8d">    protected</span><span style="color:#fa4f8d"> static</span><span style="color:#66D9EF;font-style:italic"> function</span><span style="color:#A6E22E"> bootTraits</span><span style="color:#F8F8F2">()</span></span>
<span class="line"><span style="color:#F8F8F2">    {</span></span>
<span class="line"><span style="color:#F8F8F2">        $class </span><span style="color:#fa4f8d">=</span><span style="color:#66D9EF;font-style:italic"> static</span><span style="color:#fa4f8d">::class</span><span style="color:#F8F8F2">;</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">        foreach</span><span style="color:#F8F8F2"> (</span><span style="color:#A6E22E">class_uses_recursive</span><span style="color:#F8F8F2">($class) </span><span style="color:#fa4f8d">as</span><span style="color:#F8F8F2"> $trait) {</span></span>
<span class="line"><span style="color:#66D9EF">            print</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">"</span><span style="color:#AE81FF">\n</span><span style="color:#E6DB74">Testing that class: </span><span style="color:#F8F8F2">$class</span><span style="color:#E6DB74"> has method: "</span><span style="color:#fa4f8d"> .</span><span style="color:#F8F8F2"> $method </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> 'boot'</span><span style="color:#fa4f8d">.</span><span style="color:#A6E22E">class_basename</span><span style="color:#F8F8F2">($trait) </span><span style="color:#fa4f8d">.</span><span style="color:#E6DB74"> " because of Trait: </span><span style="color:#F8F8F2">$trait</span><span style="color:#AE81FF">\n</span><span style="color:#E6DB74">"</span><span style="color:#F8F8F2">);</span></span>
<span class="line"><span style="color:#fa4f8d">            if</span><span style="color:#F8F8F2"> (</span><span style="color:#66D9EF">method_exists</span><span style="color:#F8F8F2">($class, $method </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> 'boot'</span><span style="color:#fa4f8d">.</span><span style="color:#A6E22E">class_basename</span><span style="color:#F8F8F2">($trait))) {</span></span>
<span class="line"><span style="color:#66D9EF">                print</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">"Class: </span><span style="color:#F8F8F2">$class</span><span style="color:#E6DB74"> has method: </span><span style="color:#F8F8F2">$method</span><span style="color:#AE81FF"> \n</span><span style="color:#E6DB74">"</span><span style="color:#F8F8F2">);</span></span>
<span class="line"><span style="color:#fa4f8d">                try</span><span style="color:#F8F8F2"> {</span></span>
<span class="line"><span style="color:#66D9EF">                    forward_static_call</span><span style="color:#F8F8F2">([$class, $method]);</span></span>
<span class="line"><span style="color:#F8F8F2">                } </span><span style="color:#fa4f8d">catch</span><span style="color:#F8F8F2"> (\</span><span style="color:#66D9EF;font-style:italic">PHPUnit_Framework_MockObject_BadMethodCallException</span><span style="color:#F8F8F2"> $e) {</span></span>
<span class="line"><span style="color:#66D9EF">                    print</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">"Class: </span><span style="color:#F8F8F2">$class</span><span style="color:#E6DB74"> failed calling </span><span style="color:#F8F8F2">$method</span><span style="color:#AE81FF">\n</span><span style="color:#E6DB74">"</span><span style="color:#F8F8F2">);</span></span>
<span class="line"><span style="color:#fa4f8d">                    throw</span><span style="color:#F8F8F2"> $e;</span></span>
<span class="line"><span style="color:#F8F8F2">                }</span></span>
<span class="line"><span style="color:#F8F8F2">            }</span></span>
<span class="line"><span style="color:#F8F8F2">        }</span></span>
<span class="line"><span style="color:#F8F8F2">    }</span></span></code></pre>
<p>Gives us this failure:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="plaintext"><code><span class="line"><span>PHPUnit 5.1.0 by Sebastian Bergmann and contributors.</span></span>
<span class="line"><span></span></span>
<span class="line"><span>E                                                                   1 / 1 (100%)</span></span>
<span class="line"><span>Testing that class: Mock_MyModel_9ee820db has method: bootMyTrait because of Trait: App\MyTrait</span></span>
<span class="line"><span>Class: Mock_MyModel_9ee820db has method: bootMyTrait</span></span>
<span class="line"><span>Class: Mock_MyModel_9ee820db failed calling bootMyTrait</span></span>
<span class="line"><span></span></span>
<span class="line"><span></span></span>
<span class="line"><span>Time: 129 ms, Memory: 18.00Mb</span></span>
<span class="line"><span></span></span>
<span class="line"><span>There was 1 error:</span></span>
<span class="line"><span></span></span>
<span class="line"><span>1) ExampleTest::testTraitBooting</span></span>
<span class="line"><span>PHPUnit_Framework_MockObject_BadMethodCallException:</span></span>
<span class="line"><span></span></span>
<span class="line"><span>mock-bootable-laravel-model-trait/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:326</span></span>
<span class="line"><span>mock-bootable-laravel-model-trait/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:309</span></span>
<span class="line"><span>mock-bootable-laravel-model-trait/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:296</span></span>
<span class="line"><span>mock-bootable-laravel-model-trait/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php:277</span></span>
<span class="line"><span>mock-bootable-laravel-model-trait/tests/ExampleTest.php:16</span></span></code></pre>
<p>I've also tried creating the mock a few different ways. Using <a href="https://github.com/laravel/framework/blob/2a38acf7ee2882d831a3b9a1361a710e70ffa31e/tests/Database/DatabaseSoftDeletingTraitTest.php#L14" title="DatabaseSoftDeletingTraitTest">DatabaseSoftDeletingTraitTest</a> as an example:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="php"><code><span class="line"><span style="color:#fa4f8d">use</span><span style="color:#F8F8F2"> Illuminate\Foundation\Testing\</span><span style="color:#66D9EF;font-style:italic">WithoutMiddleware</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#fa4f8d">use</span><span style="color:#F8F8F2"> Illuminate\Foundation\Testing\</span><span style="color:#66D9EF;font-style:italic">DatabaseMigrations</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#fa4f8d">use</span><span style="color:#F8F8F2"> Illuminate\Foundation\Testing\</span><span style="color:#66D9EF;font-style:italic">DatabaseTransactions</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#fa4f8d">use</span><span style="color:#66D9EF;font-style:italic"> Mockery</span><span style="color:#fa4f8d"> as</span><span style="color:#F8F8F2"> m;</span></span>
<span class="line"></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">class</span><span> </span><span style="color:#A6E22E;text-decoration:underline">ExampleTest</span><span style="color:#fa4f8d"> extends</span><span> </span><span style="color:#A6E22E;font-style:italic;text-decoration:underline">TestCase</span></span>
<span class="line"><span style="color:#F8F8F2">{</span></span>
<span class="line"><span style="color:#94907d">    /**</span></span>
<span class="line"><span style="color:#94907d">     * A basic functional test example.</span></span>
<span class="line"><span style="color:#94907d">     *</span></span>
<span class="line"><span style="color:#94907d">     * </span><span style="color:#fa4f8d">@return</span><span style="color:#fa4f8d"> void</span></span>
<span class="line"><span style="color:#94907d">     */</span></span>
<span class="line"><span style="color:#fa4f8d">    public</span><span style="color:#66D9EF;font-style:italic"> function</span><span style="color:#A6E22E"> testTraitBooting</span><span style="color:#F8F8F2">()</span></span>
<span class="line"><span style="color:#F8F8F2">    {</span></span>
<span class="line"><span style="color:#F8F8F2">        $mock </span><span style="color:#fa4f8d">=</span><span style="color:#66D9EF;font-style:italic"> m</span><span style="color:#fa4f8d">::</span><span style="color:#A6E22E">mock</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'App\MyModel'</span><span style="color:#F8F8F2">);</span></span>
<span class="line"><span style="color:#F8F8F2">        $mock</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">shouldReceive</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'bootMyTrait'</span><span style="color:#F8F8F2">)</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">once</span><span style="color:#F8F8F2">();</span></span>
<span class="line"><span style="color:#F8F8F2">    }</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span></code></pre>
<p>But here, bootMyTrait is never called:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="plaintext"><code><span class="line"><span>PHPUnit 5.1.0 by Sebastian Bergmann and contributors.</span></span>
<span class="line"><span></span></span>
<span class="line"><span>E                                                                   1 / 1 (100%)</span></span>
<span class="line"><span></span></span>
<span class="line"><span>Time: 149 ms, Memory: 19.25Mb</span></span>
<span class="line"><span></span></span>
<span class="line"><span>There was 1 error:</span></span>
<span class="line"><span></span></span>
<span class="line"><span>1) ExampleTest::testTraitBooting</span></span>
<span class="line"><span>Mockery\Exception\InvalidCountException: Method bootMyTrait() from Mockery_0_App_MyModel should be called</span></span>
<span class="line"><span> exactly 1 times but called 0 times.</span></span>
<span class="line"><span></span></span>
<span class="line"><span>mock-bootable-laravel-model-trait/vendor/mockery/mockery/library/Mockery/CountValidator/Exact.php:37</span></span>
<span class="line"><span>mock-bootable-laravel-model-trait/vendor/mockery/mockery/library/Mockery/Expectation.php:271</span></span>
<span class="line"><span>mock-bootable-laravel-model-trait/vendor/mockery/mockery/library/Mockery/ExpectationDirector.php:120</span></span>
<span class="line"><span>mock-bootable-laravel-model-trait/vendor/mockery/mockery/library/Mockery/Container.php:297</span></span>
<span class="line"><span>mock-bootable-laravel-model-trait/vendor/mockery/mockery/library/Mockery/Container.php:282</span></span>
<span class="line"><span>mock-bootable-laravel-model-trait/vendor/mockery/mockery/library/Mockery.php:142</span></span>
<span class="line"><span>mock-bootable-laravel-model-trait/vendor/laravel/framework/src/Illuminate/Foundation/Testing/TestCase.php:122</span></span></code></pre>
<p>So, I can move the code I'm doing in the boot method to a ServiceProvider, but then I'll need to register each Model that uses the trait. This feels dirty, and using the boot method seems appropriate. So I think I've either hit a bug, or am Mocking the trait-using-model incorrectly. I've looked at <code>getMockForTrait</code> but I also need the mocked instance to extend Eloquent (a few of the trait's methods call eloquent methods)</p>
<p>If anyone sees something I missed, much appreciated</p>
<p><em>Update Apr, 22 (Friday) 2016-04-22 03:28 PM</em></p>
<p>Thanks to <a href="http://stackoverflow.com/a/36771173/647343" title="Marcin">Marcin</a>, we have a solution!</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="php"><code><span class="line"><span style="color:#fa4f8d">&lt;?</span><span style="color:#AE81FF">php</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">use</span><span style="color:#F8F8F2"> Illuminate\Foundation\Testing\</span><span style="color:#66D9EF;font-style:italic">WithoutMiddleware</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#fa4f8d">use</span><span style="color:#F8F8F2"> Illuminate\Foundation\Testing\</span><span style="color:#66D9EF;font-style:italic">DatabaseMigrations</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#fa4f8d">use</span><span style="color:#F8F8F2"> Illuminate\Foundation\Testing\</span><span style="color:#66D9EF;font-style:italic">DatabaseTransactions</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#fa4f8d">use</span><span style="color:#66D9EF;font-style:italic"> Mockery</span><span style="color:#fa4f8d"> as</span><span style="color:#F8F8F2"> m;</span></span>
<span class="line"></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">class</span><span> </span><span style="color:#A6E22E;text-decoration:underline">ExampleTest</span><span style="color:#fa4f8d"> extends</span><span> </span><span style="color:#A6E22E;font-style:italic;text-decoration:underline">TestCase</span></span>
<span class="line"><span style="color:#F8F8F2">{</span></span>
<span class="line"><span style="color:#94907d">    /**</span></span>
<span class="line"><span style="color:#94907d">     * A basic functional test example.</span></span>
<span class="line"><span style="color:#94907d">     *</span></span>
<span class="line"><span style="color:#94907d">     * </span><span style="color:#fa4f8d">@return</span><span style="color:#fa4f8d"> void</span></span>
<span class="line"><span style="color:#94907d">     */</span></span>
<span class="line"><span style="color:#fa4f8d">    public</span><span style="color:#66D9EF;font-style:italic"> function</span><span style="color:#A6E22E"> testTraitBooting</span><span style="color:#F8F8F2">()</span></span>
<span class="line"><span style="color:#F8F8F2">    {</span></span>
<span class="line"><span style="color:#F8F8F2">        $mock </span><span style="color:#fa4f8d">=</span><span style="color:#66D9EF;font-style:italic"> m</span><span style="color:#fa4f8d">::</span><span style="color:#A6E22E">mock</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'App\MyModel'</span><span style="color:#F8F8F2">)</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">makePartial</span><span style="color:#F8F8F2">();</span></span>
<span class="line"><span style="color:#F8F8F2">        $mock</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">shouldReceive</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'bootMyTrait'</span><span style="color:#F8F8F2">)</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">once</span><span style="color:#F8F8F2">();</span></span>
<span class="line"><span style="color:#F8F8F2">        $mock</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">__construct</span><span style="color:#F8F8F2">();</span></span>
<span class="line"><span style="color:#F8F8F2">    }</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span></code></pre>
]]></content:encoded></item>
<item><title>Everything Is Possible But Nothing Is Free</title><description>What those asking really want to know, though, is one of two things: Can you just build this thing I want, in addition to all the other things already on your plate, without moving any of your estimates? ​ Is this “easy” to do? ​ Here’s a simpler approach: I would like to have this and I’m willing to pay up to that. ​</description><link>https://timbroder.com/2016/04/everything-is-possible-but-nothing-is-free-signal-v-noise/</link><guid isPermaLink="false">https://timbroder.com/2016/04/everything-is-possible-but-nothing-is-free-—-signal-v.-noise</guid><pubDate>Mon, 04 Apr 2016 17:47:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>What those asking really want to know, though, is one of two things:</p>
<p>Can you just build this thing I want, in addition to all the other things already on your plate, without moving any of your estimates?</p>
</blockquote>
<p>​</p>
<blockquote>
<p>Is this “easy” to do?</p>
</blockquote>
<p>​</p>
<blockquote>
<p>Here’s a simpler approach: I would like to have this and I’m willing to pay up to that.</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Gtdjedi Podcast - Ep014 - Getting Social</title><description>The Big Discussion Social Networking Which services we use Which services manage which relationships Which services we stay away from What routines are in place that help keep our circles and feeds streamlined What does it take for a social network to have staying power on your devices? Jedi Weapons of Choice Clay - Tweetbot Jerry - Facebook Paper Tim - Cluster ​</description><link>https://timbroder.com/2016/04/gtdjedi-podcast-ep014-getting-social/</link><guid isPermaLink="false">https://timbroder.com/2016/04/gtdjedi-podcast---ep014---getting-social</guid><pubDate>Sun, 03 Apr 2016 15:30:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>The Big Discussion</p>
<p>Social Networking</p>
<p>Which services we use</p>
<p>Which services manage which relationships</p>
<p>Which services we stay away from</p>
<p>What routines are in place that help keep our circles and feeds streamlined</p>
<p>What does it take for a social network to have staying power on your devices?</p>
<p>Jedi Weapons of Choice</p>
<p>Clay - Tweetbot</p>
<p>Jerry - Facebook Paper</p>
<p>Tim - Cluster</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Jumping Ship on Basecamp 3</title><description>I love Basecamp. I've used it in some shape or form for almost 7 years. I was super excited for Basecamp 3. I wish I could say "It's not you, it's me" but that would be a lie. Basecamp 3 is not ready Does it have bugs? No, none that I've seen. Does it have downtime? No, it's been rock solid. What v3 is missing are some key features found in v2. Ones I didn't realize were missing until I went to use them. I've tried to live without them, or work around them best I can, but I'm done. I started at a new…</description><link>https://timbroder.com/2016/03/jumping-ship-on-basecamp-3/</link><guid isPermaLink="false">https://timbroder.com/2016/03/jumping-ship-on-basecamp-3</guid><pubDate>Tue, 29 Mar 2016 18:06:00 GMT</pubDate><content:encoded><![CDATA[<p>I love Basecamp. I've used it in <a href="https://help.basecamp.com/basecamp" title="some form">some shape</a> or <a href="https://basecamp.com/2" title="form">form</a> for almost <a href="https://www.alexanderinteractive.com/" title="7 years">7 years</a>. I was <a href="https://timbroder.com/2015/10/a-preview-of-whats-new-in-basecamp-3/" title="super excited">super excited</a> for Basecamp 3. I wish I could say "It's not you, it's me" but that would be a lie.</p>
<p><strong>Basecamp 3 is not ready</strong></p>
<p>Does it have bugs? No, none that I've seen. Does it have downtime? No, it's been rock solid. What v3 is missing are some key features found in v2. Ones I didn't realize were missing until I went to use them. I've tried to live without them, or work around them best I can, but I'm done.</p>
<p>I started at a <a href="http://www.kidfund.us/" title="new company">new company</a> in January and choosing our tools is my responsibility. Slack and Google Apps were first on the list. Next came something to handle tracking long form conversations and company/project todos. I love basecamp. A new version just came out. Easy decision.  One that I now regret.</p>
<p>What I miss from Basecamp 2:</p>
<ol>
<li><a href="https://basecamp.com/help/2/guides/projects/email-in" title="Email In">Email In</a></li>
<li>An <a href="https://github.com/basecamp/bcx-api/issues/196" title="API">API</a> (specifically <a href="https://zapier.com/zapbook/basecamp3/" title="Zapier">Zapier</a> integration)</li>
<li>Sorting posts by most recently commented</li>
</ol>
<p><em>(The third one pushed me over the edge)</em></p>
<h1 id="email-in">Email-in</h1>
<p>There are a lot of people in this world that don't like tools like Basecamp. "Why can't I just use email", "the search sucks", "It's just another thing I have to check" can be heard with regularity.  Part of my job involved parading around the office championing Basecamp (or forcing people to use it). Email-in made part of these complaints bearable. It made it "just as easy" as email for starting, or replying to, threads. Basecamp 3 was the promise land that addressed a lot of this with better search and better notifications.</p>
<p>Email in <a href="https://twitter.com/timothybroder/status/696784457055993856" title="isn’t on the roadmap">isn’t on the roadmap</a> nor is it listed on the <a href="https://basecamp.com/3/transition/should-we-go-bc3" title="“should we switch">“should we switch"</a> page.</p>
<p>This functionality is partially there, hidden away in the "forward from client" section. When I found out it was missing I almost left, but I figured I could cobble something together with the API and Zapier...</p>
<h1 id="api">API</h1>
<p>I have a few main <a href="https://github.com/basecamp/bcx-api/issues/196#issuecomment-181549941" title="use cases">use cases</a> for an API. The primary one being a hacked together Email-in. The second is <a href="https://timbroder.com/2015/10/how-to-sync-basecamp-todos-to-omnifocus-or-todoist/" title="replicating">replicating</a> Basecamp tasks in my todo app. (I happen to use Omnifocus.)</p>
<p>Lacking an API, or a roadmap for one, I grumbled. But, I figured I could wait and make my tasks by hand. After all, that's me wanting to work the way I like to. Manually entering emails into Basecamp, littering messages with "as communicated by," seemed a small price to pay.</p>
<p>The missing API <em>is</em> listed on the should we switch page, after a long discussion on <a href="https://github.com/basecamp/bcx-api/issues/196#issuecomment-185243532" title="Github">Github</a></p>
<p>The good news on the API front is that there has been <a href="https://github.com/basecamp/bcx-api/issues/196#issuecomment-198436989" title="GREAT  progress">GREAT  progress</a>. I got excited. Soon everything would be as it should</p>
<h1 id="post-sorting">Post Sorting</h1>
<p>This hurdle just dawned on me this morning while I was scrolling down looking for something. Basecamp 3 only sorts posts by their created date. Which meant that our most frequently updated post, with dozens of comments, is all the way at the bottom, with a bunch of fluff between me and it. It seemed like there had to be a way to change the sort, but I confirmed with Basecamp this is not available.</p>
<p><em>Use search!</em> Ok, but now an app is asking me to take on cognitive load of something it should handle</p>
<p><em>You are using it wrong!</em> <strong>Don't even go there</strong>, I spent years at my last job working with some of the <a href="https://www.alexanderinteractive.com/work/" title="best">best</a> UX and Creative Designers I've ever seen. If <em>"the customer just isn't using it right"</em> was used as an argument, we hadn't solved the problem</p>
<p><em>Use notifications!</em> I do, they go away</p>
<p>One could argue that I'm just annoyed that <em>"things have changed and I just want things to go back to the way they were in 2"</em>. I thought about that. Is this just me? Am I just whining? Email in and an API are missing, not changed.</p>
<p><em>Using "Email In" isn't the way the product was meant to be used!</em> Tough, it was there for years.</p>
<p>Even if I could suck it up and trudge through lacking  email and API, It is beyond me why you would want older content above newer content</p>
<p>So, I'm leaving. We are moving too fast for this to slow us down. I can't wait for "someday/maybe" (Basecamp does not release timelines; I respect that but it doesn't help me here)</p>
<p>Tim, if you love v2 so much, just use it. <strong>I might</strong>! But:</p>
<ul>
<li>I'm not sure how long v2 will be around</li>
<li>When it does get decommissioned, will my above issues still exist?</li>
<li>Will a v2 to v3 migratory <a href="https://basecamp.com/3/transition/faqs" title="exist">exist</a>? (I would hope so)</li>
</ul>
<p>The barrier to switching will be much higher if/when v2 dies than it is now. Should I switch to v2? Probably. Should I take some time and look at something like <a href="https://timbroder.com/2016/03/jumping-ship-on-basecamp-3/asana.com" title="http://asana.com">http://asana.com</a>? Yep, I have. Now if I could just get over how they format the emails...</p>
]]></content:encoded></item>
<item><title>How to Get Notified if someone stars, forks, or follows your Github</title><description>I've been using GitNotifier for a few weeks now. I get a weekly report emailed to me of who has starred or forked any of my repositories, as well as follow/unfollows. It's a nice little touch to put on top of Github's already great service</description><link>https://timbroder.com/2016/03/how-to-get-notified-if-someone-stars-forks-or-follows-your-github/</link><guid isPermaLink="false">https://timbroder.com/2016/03/how-to-get-notified-if-someone-stars,-forks,-or-follows-your-github</guid><pubDate>Fri, 25 Mar 2016 15:41:00 GMT</pubDate><content:encoded><![CDATA[<p>I've been using <a href="https://gitnotifier.io/" title="GitNotifier">GitNotifier</a> for a few weeks now. I get a weekly report emailed to me of who has starred or forked any of my repositories, as well as follow/unfollows. It's a nice little touch to put on top of Github's already great service</p>
]]></content:encoded></item>
<item><title>How To Set Up An Ios And Android Smart App Banner</title><description>Leveraging their link redirect and deep linking expertise, Branch just released a fully customizable, cross-platform, deep linking and tracking smart app banner. It works on all browsers: Safari, Chrome, Firefox, stock browsers and even desktop versions. ​This looks pretty good. Curious how well it will play with JLRoutes</description><link>https://timbroder.com/2016/03/how-to-set-up-an-ios-and-android-smart-app-banner/</link><guid isPermaLink="false">https://timbroder.com/2016/03/how-to-set-up-an-ios-and-android-smart-app-banner</guid><pubDate>Tue, 22 Mar 2016 21:04:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>Leveraging their link redirect and deep linking expertise, Branch just released a fully customizable, cross-platform, deep linking and tracking smart app banner. It works on all browsers: Safari, Chrome, Firefox, stock browsers and even desktop versions.</p>
</blockquote>
<p>​This looks pretty good. Curious how well it will play with JLRoutes</p>
]]></content:encoded></item>
<item><title>Tektok Podcast - Ep025 - Ocd &amp; The Se</title><description>TEK Topics Patrick: iPhone SE What are your thoughts on the iPhone SE, was Apple smart to hold this device out for Spring announcement? Jerry: Smartphone as a primary (and only) computing device? Can your smartphone be your primary (and only) computing device? Tim: Mobile Money How comfortable are you sending money with your phone? (venmo, square cash, FBM, snapchat) How comfortable are you giving these apps your CC or checking account info? Snuck in some discussion about Kidfund ;) Disclosed of course…</description><link>https://timbroder.com/2016/03/tektok-podcast-ep025-ocd-and-the-se/</link><guid isPermaLink="false">https://timbroder.com/2016/03/tektok-podcast---ep025---ocd-&amp;-the-se</guid><pubDate>Tue, 22 Mar 2016 20:46:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>TEK Topics</p>
<p>Patrick: iPhone SE</p>
<p>What are your thoughts on the iPhone SE, was Apple smart to hold this device out for Spring announcement?</p>
<p>Jerry: Smartphone as a primary (and only) computing device?</p>
<p>Can your smartphone be your primary (and only) computing device?</p>
</blockquote>
<blockquote>
<p>Tim: Mobile Money</p>
<p>How comfortable are you sending money with your phone? (venmo, square cash, FBM, snapchat)</p>
<p>How comfortable are you giving these apps your CC or checking account info?</p>
</blockquote>
<p>Snuck in some discussion about Kidfund ;)</p>
<p>Disclosed of course</p>
<blockquote>
<p>Justin: RSS and news apps</p>
<p>What is your routine for saving news/blog posts? By the time you get to them are they already old news?</p>
<p>Clay: Homescreens on iOS</p>
<p>How would you like to see the home screen changed in iOS?</p>
</blockquote>
]]></content:encoded></item>
<item><title>Gtdjedi Podcast - Ep013 - Default Worthy Apps</title><description>GTDJedi Show Notes Episode #: 13 Date: 03/08/16 Hosts: Clay Russell, Jerry Goldbaum &amp; Timothy Broder The Big Discussion Which 3rd party apps have you replaced native apps with? ​</description><link>https://timbroder.com/2016/03/gtdjedi-podcast-ep013-default-worthy-apps/</link><guid isPermaLink="false">https://timbroder.com/2016/03/gtdjedi-podcast---ep013---default-worthy-apps</guid><pubDate>Thu, 10 Mar 2016 15:07:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>GTDJedi Show Notes</p>
<p>Episode #: 13</p>
<p>Date: 03/08/16</p>
<p>Hosts: Clay Russell, Jerry Goldbaum &amp; Timothy Broder</p>
<p>The Big Discussion</p>
<p>Which 3rd party apps have you replaced native apps with?</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Jira Filter Subscriptions</title><description>I'm working in a Jira that I don't have admin access to. It's been a while since that's happened! I wanted a way to get notified if anyone in the system opens a new ticket, so I could decide if I wanted to watch it or not. Jira makes this fairly straightforward with filters and subscriptions. First, create a filter that picks up any tickets created in the last hour. I named mine "Recently Created"  Then, click details, and new subscription  Setup the schedule to be every 30 mins, 24 hours a day, and to not…</description><link>https://timbroder.com/2016/02/jira-filter-subscriptions/</link><guid isPermaLink="false">https://timbroder.com/2016/02/jira-filter-subscriptions</guid><pubDate>Mon, 22 Feb 2016 23:00:00 GMT</pubDate><content:encoded><![CDATA[<p>I'm working in a Jira that I don't have admin access to. It's been a while since that's happened!</p>
<p>I wanted a way to get notified if anyone in the system opens a new ticket, so I could decide if I wanted to watch it or not. Jira makes this fairly straightforward with filters and subscriptions.</p>
<p>First, create a filter that picks up any tickets created in the last hour. I named mine "Recently Created"</p>
<p><img src="https://timbroder.com/images/remote/2016-02-22-jira-filter-subscriptions/24572160063_d61b56b982_z_d.jpg" alt=""></p>
<p>Then, click details, and new subscription</p>
<p><img src="https://timbroder.com/images/remote/2016-02-22-jira-filter-subscriptions/25172705536_1b486d9f4c_z_d.jpg" alt=""></p>
<p>Setup the schedule to be every 30 mins, 24 hours a day, and to <strong>not</strong> email you if there are no new issues</p>
<p><img src="https://timbroder.com/images/remote/2016-02-22-jira-filter-subscriptions/24831359639_ab75c74611_z_d.jpg" alt=""></p>
<p>You'll get a well formatted email if there are new issues, and you can cherry pick the ones you want to watch</p>
]]></content:encoded></item>
<item><title>Gtdjedi Podcast - Ep012 - Notification Organization</title><description>Hosts: Clay Russell, Jerry Goldbaum &amp; Timothy Broder Jedi Tricks from Around the Web (check out our website for links to all these GTDJedi Tricks) Secret Safari Shortcuts by Rene Ritchie How Email to 2Do Has Improved My Daily Email Workflow by Federico Viticci Ultimate Omnifocus Evernote Integration That Actually Works by Alpha Efficiency How to Master Slack at the Office by Jessica Plautz If you, our listeners, have at trick you would like to share with us, simply tweet us @GTDJedi. The Big Discussion…</description><link>https://timbroder.com/2016/02/gtdjedi-podcast-ep012-notification-organization-1/</link><guid isPermaLink="false">https://timbroder.com/2016/02/gtdjedi-podcast---ep012---notification-organization (1)</guid><pubDate>Wed, 03 Feb 2016 08:41:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>Hosts: Clay Russell, Jerry Goldbaum &amp; Timothy Broder</p>
<p>Jedi Tricks from Around the Web (check out our website for links to all these GTDJedi Tricks)</p>
<p>Secret Safari Shortcuts by Rene Ritchie</p>
<p>How Email to 2Do Has Improved My Daily Email Workflow by Federico Viticci</p>
<p>Ultimate Omnifocus Evernote Integration That Actually Works by Alpha Efficiency</p>
<p>How to Master Slack at the Office by Jessica Plautz</p>
<p>If you, our listeners, have at trick you would like to share with us, simply tweet us @GTDJedi.</p>
<p>The Big Discussion</p>
<p>Notification Management</p>
<p>Jedi Weapons of Choice</p>
<p>Clay - my Apple Watch</p>
<p>Jerry - Notify, Apple Watch, Outlook</p>
<p>Tim - Slack, General iOS/Mac practices</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Activist Engineering</title><description>What matters is that you’re the engineer that’s noticed this capital-B Bad Idea. You know why it’s a problem. This time it’s not just the technical debt or the time it’d take to implement. This idea is bad because it trades a worse product for a better “business”: revenue, eyeballs, impressions, you know the drill. You have a choice in this moment. You can stay quiet and hope it goes away or point it out, question it, and even argue against it ​</description><link>https://timbroder.com/2016/02/activist-engineering/</link><guid isPermaLink="false">https://timbroder.com/2016/02/activist-engineering</guid><pubDate>Tue, 02 Feb 2016 18:16:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>What matters is that you’re the engineer that’s noticed this capital-B Bad Idea. You know why it’s a problem. This time it’s not just the technical debt or the time it’d take to implement. This idea is bad because it trades a worse product for a better “business”: revenue, eyeballs, impressions, you know the drill.</p>
<p>You have a choice in this moment. You can stay quiet and hope it goes away or point it out, question it, and even argue against it</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Giving Better Code Reviews</title><description>Great read. I would have ended up quoting most of it. Enjoy Your team is only as good as your weakest reviewer. ​ Trust no one ​ Giving a valuable code review requires that pull requests are small (&lt;200 lines as a rough gauge) ​</description><link>https://timbroder.com/2016/02/giving-better-code-reviews/</link><guid isPermaLink="false">https://timbroder.com/2016/02/giving-better-code-reviews</guid><pubDate>Mon, 01 Feb 2016 19:08:00 GMT</pubDate><content:encoded><![CDATA[<p>Great read. I would have ended up quoting most of it. Enjoy</p>
<blockquote>
<p>Your team is only as good as your weakest reviewer.</p>
</blockquote>
<p>​</p>
<blockquote>
<p>Trust no one</p>
</blockquote>
<p>​</p>
<blockquote>
<p>Giving a valuable code review requires that pull requests are small (&lt;200 lines as a rough gauge)</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Testing UIViewController Transitions with Quick and Swift</title><description>The examples below are using the Quick test framework, but the principals we're going to talk about can be used in any setup. We have some complicated logic further down our user registration flow. I want to make sure that the right UIViewControllers are appearing when they are supposed to. I've been reading a few different approaches on how to handle this. Below is where I've ended up, and I'm pretty happy with it. For simplicity's sake, I'm going to show how to test if the user has tapped "Login" or…</description><link>https://timbroder.com/2016/01/testing-uiviewcontroller-transitions/</link><guid isPermaLink="false">https://timbroder.com/2016/01/testing-uiviewcontroller-transitions</guid><pubDate>Sun, 31 Jan 2016 14:57:00 GMT</pubDate><content:encoded><![CDATA[<p><em>The examples below are using the <a href="https://github.com/Quick/Quick" title="Quick">Quick</a> test framework, but the principals we're going to talk about can be used in any setup.</em></p>
<p>We have some complicated logic further down our user registration flow. I want to make sure that the right UIViewControllers are appearing when they are supposed to. I've been reading a <a href="http://swiftandpainless.com/testing-if-a-view-controller-got-pushed/" title="few">few</a> <a href="https://www.natashatherobot.com/ios-testing-view-controllers-swift/" title="different">different</a> <a href="http://www.iosmike.com/2014/08/unit-testing-viewcontrollers-in-swift.html" title="approaches">approaches</a> on how to handle this. Below is where I've ended up, and I'm pretty happy with it.</p>
<p>For simplicity's sake, I'm going to show how to test if the user has tapped "Login" or "Register" on our opening screen. We can assume we have a LoadingViewController which represents the first screen. On this screens are two buttons, which correspond to these actions:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="swift"><code><span class="line"><span style="color:#fa4f8d">@IBAction</span><span style="color:#66D9EF;font-style:italic"> func</span><span style="color:#A6E22E"> tapLogin</span><span style="color:#F8F8F2">(</span><span style="color:#A6E22E">sender</span><span style="color:#F8F8F2">: </span><span style="color:#66D9EF;font-style:italic">AnyObject</span><span style="color:#F8F8F2">) {</span></span>
<span class="line"><span style="color:#FD971F">    self</span><span style="color:#F8F8F2">.navigationController</span><span style="color:#fa4f8d">?</span><span style="color:#F8F8F2">.</span><span style="color:#66D9EF">pushViewController</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F">self</span><span style="color:#F8F8F2">.storyboard</span><span style="color:#fa4f8d">?</span><span style="color:#F8F8F2">.</span><span style="color:#66D9EF">instantiateViewControllerWithIdentifier</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">"loginview"</span><span style="color:#F8F8F2">) </span><span style="color:#fa4f8d">as!</span><span style="color:#F8F8F2"> LoginViewController, </span><span style="color:#66D9EF">animated</span><span style="color:#F8F8F2">: </span><span style="color:#AE81FF">true</span><span style="color:#F8F8F2">)</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">@IBAction</span><span style="color:#66D9EF;font-style:italic"> func</span><span style="color:#A6E22E"> tapRegister</span><span style="color:#F8F8F2">(</span><span style="color:#A6E22E">sender</span><span style="color:#F8F8F2">: </span><span style="color:#66D9EF;font-style:italic">AnyObject</span><span style="color:#F8F8F2">) {</span></span>
<span class="line"><span style="color:#FD971F">    self</span><span style="color:#F8F8F2">.navigationController</span><span style="color:#fa4f8d">?</span><span style="color:#F8F8F2">.</span><span style="color:#66D9EF">pushViewController</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F">self</span><span style="color:#F8F8F2">.storyboard</span><span style="color:#fa4f8d">?</span><span style="color:#F8F8F2">.</span><span style="color:#66D9EF">instantiateViewControllerWithIdentifier</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">"registerview"</span><span style="color:#F8F8F2">) </span><span style="color:#fa4f8d">as!</span><span style="color:#F8F8F2"> RegisterViewController, </span><span style="color:#66D9EF">animated</span><span style="color:#F8F8F2">: </span><span style="color:#AE81FF">true</span><span style="color:#F8F8F2">)</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span></code></pre>
<p>We also have a UINavigationController taking care of the view hierarchy. I also want to use the transitions and IDs already set up in the Storyboard.</p>
<p>Let's start by referencing the UINavigationController and the UIViewController we're going to start with.</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="swift"><code><span class="line"><span style="color:#66D9EF;font-style:italic">class</span><span> </span><span style="color:#A6E22E;text-decoration:underline">LandingScreenUITests</span><span style="color:#F8F8F2">: </span><span style="color:#A6E22E;font-style:italic;text-decoration:underline">QuickSpec </span><span style="color:#F8F8F2">{</span></span>
<span class="line"><span style="color:#fa4f8d">    override</span><span style="color:#66D9EF;font-style:italic"> func</span><span style="color:#A6E22E"> spec</span><span style="color:#F8F8F2">() {</span></span>
<span class="line"><span style="color:#66D9EF">        describe</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">"Landing Screen"</span><span style="color:#F8F8F2">) {</span></span>
<span class="line"><span style="color:#F8F8F2">            </span></span>
<span class="line"><span style="color:#fa4f8d">            var</span><span style="color:#F8F8F2"> viewController: LoadingViewController</span><span style="color:#fa4f8d">!</span></span>
<span class="line"><span style="color:#fa4f8d">            var</span><span style="color:#F8F8F2"> navigationController: UINavigationController</span><span style="color:#fa4f8d">!</span></span>
<span class="line"><span style="color:#F8F8F2">            </span></span>
<span class="line"><span style="color:#F8F8F2">            </span></span>
<span class="line"><span style="color:#F8F8F2">        }</span></span>
<span class="line"><span style="color:#F8F8F2">    }</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span></code></pre>
<p>Next, we're going to instantiate the storyboard, both controllers, and push the VC onto the view hierarchy</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="swift"><code><span class="line"><span style="color:#66D9EF">beforeEach</span><span style="color:#F8F8F2"> {</span></span>
<span class="line"><span style="color:#fa4f8d">    let</span><span style="color:#F8F8F2"> storyboard </span><span style="color:#fa4f8d">=</span><span style="color:#66D9EF"> UIStoryboard</span><span style="color:#F8F8F2">(</span><span style="color:#66D9EF">name</span><span style="color:#F8F8F2">: </span><span style="color:#E6DB74">"Main"</span><span style="color:#F8F8F2">, </span><span style="color:#66D9EF">bundle</span><span style="color:#F8F8F2">: </span><span style="color:#66D9EF">NSBundle</span><span style="color:#F8F8F2">(</span><span style="color:#66D9EF">forClass</span><span style="color:#F8F8F2">: </span><span style="color:#FD971F">self</span><span style="color:#F8F8F2">.</span><span style="color:#fa4f8d">dynamicType</span><span style="color:#F8F8F2">))</span></span>
<span class="line"><span style="color:#F8F8F2">    viewController </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> storyboard.</span><span style="color:#66D9EF">instantiateViewControllerWithIdentifier</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">"loadingview"</span><span style="color:#F8F8F2">) </span><span style="color:#fa4f8d">as!</span><span style="color:#F8F8F2"> LoadingViewController</span></span>
<span class="line"><span style="color:#F8F8F2">    navigationController </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> storyboard.</span><span style="color:#66D9EF">instantiateViewControllerWithIdentifier</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">"navigationcontroller"</span><span style="color:#F8F8F2">) </span><span style="color:#fa4f8d">as!</span><span style="color:#F8F8F2"> UINavigationController</span></span>
<span class="line"><span style="color:#F8F8F2">    </span></span>
<span class="line"><span style="color:#F8F8F2">    navigationController.</span><span style="color:#66D9EF">pushViewController</span><span style="color:#F8F8F2">(viewController, </span><span style="color:#66D9EF">animated</span><span style="color:#F8F8F2">: </span><span style="color:#AE81FF">false</span><span style="color:#F8F8F2">)</span></span>
<span class="line"><span style="color:#F8F8F2">    </span></span>
<span class="line"><span style="color:#fa4f8d">    let</span><span style="color:#F8F8F2"> _ </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2">  viewController.view</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span></code></pre>
<p>Two gotchas to watch out for here:</p>
<ol>
<li>Make sure Main.Storyboard is available in your Test target</li>
<li>Make sure to use the <code>self.dynamicType</code> bundle above</li>
</ol>
<p>Missing either of these may result in a weird casting error:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="plaintext"><code><span class="line"><span>Could not cast value of type 'MyApp.LoadingViewController' (0x10b9f5e50) to MyAppUITests.LoadingViewController' (0x11f894370).</span></span></code></pre>
<p>Finally, lets call the appropriate methods on our initial UIViewController, and test the type of the UIViewController that has been put on the top of the hierarchy. <em>Note: I use <code>toEventually</code> here to wait for the transition animation</em></p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="swift"><code><span class="line"><span style="color:#66D9EF">describe</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">"User wants to log in"</span><span style="color:#F8F8F2">) {</span></span>
<span class="line"><span style="color:#66D9EF">    it</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">"taps Login"</span><span style="color:#F8F8F2">) {</span></span>
<span class="line"><span style="color:#F8F8F2">        viewController.</span><span style="color:#66D9EF">tapLogin</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F">self</span><span style="color:#F8F8F2">)</span></span>
<span class="line"><span style="color:#66D9EF">        expect</span><span style="color:#F8F8F2">(navigationController.visibleViewController).</span><span style="color:#66D9EF">toEventually</span><span style="color:#F8F8F2">(</span><span style="color:#66D9EF">beAKindOf</span><span style="color:#F8F8F2">(LoginViewController))</span></span>
<span class="line"><span style="color:#F8F8F2">    }</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span>
<span class="line"></span>
<span class="line"><span style="color:#66D9EF">describe</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">"User wants to register"</span><span style="color:#F8F8F2">) {</span></span>
<span class="line"><span style="color:#66D9EF">    it</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">"taps Register"</span><span style="color:#F8F8F2">) {</span></span>
<span class="line"><span style="color:#F8F8F2">        viewController.</span><span style="color:#66D9EF">tapRegister</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F">self</span><span style="color:#F8F8F2">)</span></span>
<span class="line"><span style="color:#66D9EF">        expect</span><span style="color:#F8F8F2">(navigationController.visibleViewController).</span><span style="color:#66D9EF">toEventually</span><span style="color:#F8F8F2">(</span><span style="color:#66D9EF">beAKindOf</span><span style="color:#F8F8F2">(RegisterViewController))</span></span>
<span class="line"><span style="color:#F8F8F2">    }</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span></code></pre>
<p>For reference, here is the whole test class together:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="swift"><code><span class="line"><span style="color:#fa4f8d">import</span><span> </span><span style="color:#A6E22E;text-decoration:underline">Foundation</span></span>
<span class="line"><span style="color:#fa4f8d">import</span><span> </span><span style="color:#A6E22E;text-decoration:underline">Quick</span></span>
<span class="line"><span style="color:#fa4f8d">import</span><span> </span><span style="color:#A6E22E;text-decoration:underline">Nimble</span></span>
<span class="line"><span style="color:#fa4f8d">@testable</span><span style="color:#fa4f8d"> import</span><span> </span><span style="color:#A6E22E;text-decoration:underline">MyApp</span></span>
<span class="line"></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">class</span><span> </span><span style="color:#A6E22E;text-decoration:underline">LandingScreenUITests</span><span style="color:#F8F8F2">: </span><span style="color:#A6E22E;font-style:italic;text-decoration:underline">QuickSpec </span><span style="color:#F8F8F2">{</span></span>
<span class="line"><span style="color:#fa4f8d">    override</span><span style="color:#66D9EF;font-style:italic"> func</span><span style="color:#A6E22E"> spec</span><span style="color:#F8F8F2">() {</span></span>
<span class="line"><span style="color:#66D9EF">        describe</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">"Landing Screen"</span><span style="color:#F8F8F2">) {</span></span>
<span class="line"><span style="color:#F8F8F2">            </span></span>
<span class="line"><span style="color:#fa4f8d">            var</span><span style="color:#F8F8F2"> viewController: LoadingViewController</span><span style="color:#fa4f8d">!</span></span>
<span class="line"><span style="color:#fa4f8d">            var</span><span style="color:#F8F8F2"> navigationController: UINavigationController</span><span style="color:#fa4f8d">!</span></span>
<span class="line"><span style="color:#F8F8F2">            </span></span>
<span class="line"><span style="color:#66D9EF">            beforeEach</span><span style="color:#F8F8F2"> {</span></span>
<span class="line"><span style="color:#fa4f8d">                let</span><span style="color:#F8F8F2"> storyboard </span><span style="color:#fa4f8d">=</span><span style="color:#66D9EF"> UIStoryboard</span><span style="color:#F8F8F2">(</span><span style="color:#66D9EF">name</span><span style="color:#F8F8F2">: </span><span style="color:#E6DB74">"Main"</span><span style="color:#F8F8F2">, </span><span style="color:#66D9EF">bundle</span><span style="color:#F8F8F2">: </span><span style="color:#66D9EF">NSBundle</span><span style="color:#F8F8F2">(</span><span style="color:#66D9EF">forClass</span><span style="color:#F8F8F2">: </span><span style="color:#FD971F">self</span><span style="color:#F8F8F2">.</span><span style="color:#fa4f8d">dynamicType</span><span style="color:#F8F8F2">))</span></span>
<span class="line"><span style="color:#F8F8F2">                viewController </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> storyboard.</span><span style="color:#66D9EF">instantiateViewControllerWithIdentifier</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">"loadingview"</span><span style="color:#F8F8F2">) </span><span style="color:#fa4f8d">as!</span><span style="color:#F8F8F2"> LoadingViewController</span></span>
<span class="line"><span style="color:#F8F8F2">                navigationController </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> storyboard.</span><span style="color:#66D9EF">instantiateViewControllerWithIdentifier</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">"navigationcontroller"</span><span style="color:#F8F8F2">) </span><span style="color:#fa4f8d">as!</span><span style="color:#F8F8F2"> UINavigationController</span></span>
<span class="line"><span style="color:#F8F8F2">                </span></span>
<span class="line"><span style="color:#F8F8F2">                navigationController.</span><span style="color:#66D9EF">pushViewController</span><span style="color:#F8F8F2">(viewController, </span><span style="color:#66D9EF">animated</span><span style="color:#F8F8F2">: </span><span style="color:#AE81FF">false</span><span style="color:#F8F8F2">)</span></span>
<span class="line"><span style="color:#F8F8F2">                </span></span>
<span class="line"><span style="color:#fa4f8d">                let</span><span style="color:#F8F8F2"> _ </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2">  viewController.view</span></span>
<span class="line"><span style="color:#F8F8F2">            }</span></span>
<span class="line"></span>
<span class="line"><span style="color:#66D9EF">            describe</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">"User wants to log in"</span><span style="color:#F8F8F2">) {</span></span>
<span class="line"><span style="color:#66D9EF">                it</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">"taps Login"</span><span style="color:#F8F8F2">) {</span></span>
<span class="line"><span style="color:#F8F8F2">                    viewController.</span><span style="color:#66D9EF">tapLogin</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F">self</span><span style="color:#F8F8F2">)</span></span>
<span class="line"><span style="color:#66D9EF">                    expect</span><span style="color:#F8F8F2">(navigationController.visibleViewController).</span><span style="color:#66D9EF">toEventually</span><span style="color:#F8F8F2">(</span><span style="color:#66D9EF">beAKindOf</span><span style="color:#F8F8F2">(LoginViewController))</span></span>
<span class="line"><span style="color:#F8F8F2">                }</span></span>
<span class="line"><span style="color:#F8F8F2">            }</span></span>
<span class="line"><span style="color:#F8F8F2">            </span></span>
<span class="line"><span style="color:#66D9EF">            describe</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">"User wants to register"</span><span style="color:#F8F8F2">) {</span></span>
<span class="line"><span style="color:#66D9EF">                it</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">"taps Register"</span><span style="color:#F8F8F2">) {</span></span>
<span class="line"><span style="color:#F8F8F2">                    viewController.</span><span style="color:#66D9EF">tapRegister</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F">self</span><span style="color:#F8F8F2">)</span></span>
<span class="line"><span style="color:#66D9EF">                    expect</span><span style="color:#F8F8F2">(navigationController.visibleViewController).</span><span style="color:#66D9EF">toEventually</span><span style="color:#F8F8F2">(</span><span style="color:#66D9EF">beAKindOf</span><span style="color:#F8F8F2">(RegisterViewController))</span></span>
<span class="line"><span style="color:#F8F8F2">                }</span></span>
<span class="line"><span style="color:#F8F8F2">            }</span></span>
<span class="line"><span style="color:#F8F8F2">        }</span></span>
<span class="line"><span style="color:#F8F8F2">    }</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span></code></pre>
<p><em>Many thanks to the blog posts referenced at the top of this post</em></p>
]]></content:encoded></item>
<item><title>Tektok Podcast - Ep023 - Overly Connected</title><description>I had the pleasure of joining the Tektok podcast this week Episode #: 23 Date: 01/25/16 Hosts: Brian Feldhaus,Timothy Broder &amp; Clay Russell TEK Topics Brian: Android in more places. How do you feel about this?? JetBlue entertainment system, Clover payments, etc. Tim: Communication: we are way past email and texting with slack, hangouts, Facebook groups, basecamp, hip chat, etc. What is everyone using to communicate at home and at work? Clay: Getting to Know our Panelists: Name one app, movie, TV show, book…</description><link>https://timbroder.com/2016/01/tektok-podcast-ep023-overly-connected/</link><guid isPermaLink="false">https://timbroder.com/2016/01/tektok-podcast---ep023---overly-connected</guid><pubDate>Thu, 28 Jan 2016 15:21:00 GMT</pubDate><content:encoded><![CDATA[<p>I had the pleasure of joining the Tektok podcast this week</p>
<blockquote>
<p>Episode #: 23</p>
<p>Date: 01/25/16</p>
<p>Hosts: Brian Feldhaus,Timothy Broder &amp; Clay Russell</p>
<p>TEK Topics</p>
<p>Brian: Android in more places. How do you feel about this??</p>
<p>JetBlue entertainment system, Clover payments, etc.</p>
<p>Tim: Communication: we are way past email and texting with slack, hangouts, Facebook groups, basecamp, hip chat, etc.</p>
<p>What is everyone using to communicate at home and at work?</p>
<p>Clay: Getting to Know our Panelists:</p>
<p>Name one app, movie, TV show, book and album that best define who you are.</p>
<p>Sweet &amp; Sour TEK</p>
<p>Tim: <a href="https://geo.itunes.apple.com/us/app/nuzzel-news-from-friends-influencers/id692285770?mt=8&amp;at=11laRZ&amp;ct=afp15" title="Nuzzle">Nuzzle</a> for iOS</p>
<p>Clay: <a href="https://geo.itunes.apple.com/app/id1045605097?at=11laRZ&amp;ct=afp15" title="Interact">Interact</a> for iOS (Universal $4.99)</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>The Wertzone: A History Of Epic Fantasy - Part 1</title><description>Rather than simply throw up my own list (although I may put together a Gratuitous List of such in the coming weeks), I thought it might be more interesting to look at epic fantasy, or at least the modern interpretation of the subgenre, through a chronological perspective. This has the benefit of allowing works to be listed without too much regard for whether they're any "good" or not, but more by their importance in the development of the field. I'm only about 1/4 way through reading this blog series but it…</description><link>https://timbroder.com/2016/01/the-wertzone-a-history-of-epic-fantasy-part-1/</link><guid isPermaLink="false">https://timbroder.com/2016/01/the-wertzone:-a-history-of-epic-fantasy---part-1</guid><pubDate>Sun, 10 Jan 2016 20:57:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>Rather than simply throw up my own list (although I may put together a Gratuitous List of such in the coming weeks), I thought it might be more interesting to look at epic fantasy, or at least the modern interpretation of the subgenre, through a chronological perspective. This has the benefit of allowing works to be listed without too much regard for whether they're any "good" or not, but more by their importance in the development of the field.</p>
</blockquote>
<p>I'm only about 1/4 way through reading this blog series but it's very well written, I'm learning new things, and adding PLENTY to my goodreads list.</p>
<p>Highly recommend if you are a fan of the genre</p>
]]></content:encoded></item>
<item><title>5 Reasons Why You Should Build A Small Business — Not A Start-Up</title><description>The question we ask, whenever we hear about a new business or idea, whether it’s renewable energy or a messaging app or a fucking hamster sled, is this: Will it scale? ​ You Can Focus On Simplicity ​ People Matter More ​</description><link>https://timbroder.com/2015/12/5-reasons-why-you-should-build-a-small-business-not-a-start-up-life-learning/</link><guid isPermaLink="false">https://timbroder.com/2015/12/5-reasons-why-you-should-build-a-small-business-—-not-a-start-up-—-life-learning</guid><pubDate>Sat, 26 Dec 2015 10:24:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>The question we ask, whenever we hear about a new business or idea, whether it’s renewable energy or a messaging app or a fucking hamster sled, is this:</p>
<p>Will it scale?</p>
</blockquote>
<p>​</p>
<blockquote>
<p>You Can Focus On Simplicity</p>
</blockquote>
<p>​</p>
<blockquote>
<p>People Matter More</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Vagrant 1.8 is out! Linked clones, snapshots, port, ansible and more!</title><description>Vagrant 1.8 is out and it's a huge update. My 3 favorite features are below. Click through above for the full list Snapshots are a feature of hypervisors that allow the point-in-time state of a virtual machine to be saved and restored This is awesome. No more copy disks around or worrying you forgot to back up the DB or git stash! New command: port - This will display a list of forwarded ports to the guest machine. This is especially useful if Vagrant is auto-correcting ports in the case of collisions…</description><link>https://timbroder.com/2015/12/vagrant-1-8-hashicorp/</link><guid isPermaLink="false">https://timbroder.com/2015/12/vagrant-1.8---hashicorp</guid><pubDate>Mon, 21 Dec 2015 18:59:00 GMT</pubDate><content:encoded><![CDATA[<p>Vagrant 1.8 is out and it's a huge update. My 3 favorite features are below. Click through above for the full list</p>
<blockquote>
<p>Snapshots are a feature of hypervisors that allow the point-in-time state of a virtual machine to be saved and restored</p>
</blockquote>
<p>This is awesome. No more copy disks around or worrying you forgot to back up the DB or git stash!</p>
<blockquote>
<p>New command: port - This will display a list of forwarded ports to the guest machine. This is especially useful if Vagrant is auto-correcting ports in the case of collisions.</p>
</blockquote>
<p>​</p>
<blockquote>
<p>New provisioner: ansible_local - This executes Ansible on the guest machine rather than on the host machine.</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Installing Vagrant and other Hashicorp products using brew cask on OSX</title><description>Came accross this awesome gem today while setting up a new laptop</description><link>https://timbroder.com/2015/12/install-hashicorp-through-homebrew-cask/</link><guid isPermaLink="false">https://timbroder.com/2015/12/install-hashicorp-through-homebrew-cask</guid><pubDate>Fri, 18 Dec 2015 19:12:00 GMT</pubDate><content:encoded><![CDATA[<p>Came accross <a href="https://github.com/hashicorp/otto/issues/121" title="this">this</a> awesome gem today while setting up a new laptop</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="bash"><code><span class="line"><span style="color:#A6E22E">➜</span><span style="color:#E6DB74">  ~</span><span style="color:#E6DB74">  vagrant</span></span>
<span class="line"><span style="color:#A6E22E">zsh:</span><span style="color:#E6DB74"> command</span><span style="color:#E6DB74"> not</span><span style="color:#E6DB74"> found:</span><span style="color:#E6DB74"> vagrant</span></span>
<span class="line"><span style="color:#A6E22E">➜</span><span style="color:#E6DB74">  ~</span><span style="color:#E6DB74">  brew</span><span style="color:#E6DB74"> cask</span><span style="color:#E6DB74"> install</span><span style="color:#E6DB74"> vagrant</span></span>
<span class="line"><span style="color:#E6DB74">==</span><span style="color:#F8F8F2">&gt; </span><span style="color:#E6DB74">Downloading</span><span style="color:#E6DB74"> https://releases.hashicorp.com/vagrant/1.7.4/vagrant_1.7.4.dmg</span></span>
<span class="line"><span style="color:#A6E22E">Already</span><span style="color:#E6DB74"> downloaded:</span><span style="color:#E6DB74"> /Library/Caches/Homebrew/vagrant-1.7.4.dmg</span></span>
<span class="line"><span style="color:#E6DB74">==</span><span style="color:#F8F8F2">&gt; </span><span style="color:#E6DB74">Running</span><span style="color:#E6DB74"> installer</span><span style="color:#E6DB74"> for</span><span style="color:#E6DB74"> vagrant</span><span style="color:#F8F8F2">; </span><span style="color:#A6E22E">your</span><span style="color:#E6DB74"> password</span><span style="color:#E6DB74"> may</span><span style="color:#E6DB74"> be</span><span style="color:#E6DB74"> necessary.</span></span>
<span class="line"><span style="color:#E6DB74">==</span><span style="color:#F8F8F2">&gt; </span><span style="color:#E6DB74">Package</span><span style="color:#E6DB74"> installers</span><span style="color:#E6DB74"> may</span><span style="color:#E6DB74"> write</span><span style="color:#E6DB74"> to</span><span style="color:#E6DB74"> any</span><span style="color:#E6DB74"> location</span><span style="color:#F8F8F2">; </span><span style="color:#A6E22E">options</span><span style="color:#E6DB74"> such</span><span style="color:#E6DB74"> as</span><span style="color:#AE81FF"> --appdir</span><span style="color:#E6DB74"> are</span><span style="color:#E6DB74"> ignored.</span></span>
<span class="line"><span style="color:#E6DB74">==</span><span style="color:#F8F8F2">&gt; </span><span style="color:#E6DB74">installer:</span><span style="color:#E6DB74"> Package</span><span style="color:#E6DB74"> name</span><span style="color:#E6DB74"> is</span><span style="color:#E6DB74"> Vagrant</span></span>
<span class="line"><span style="color:#E6DB74">==</span><span style="color:#F8F8F2">&gt; </span><span style="color:#E6DB74">installer:</span><span style="color:#E6DB74"> Installing</span><span style="color:#E6DB74"> at</span><span style="color:#E6DB74"> base</span><span style="color:#E6DB74"> path</span><span style="color:#E6DB74"> /</span></span>
<span class="line"><span style="color:#E6DB74">==</span><span style="color:#F8F8F2">&gt; </span><span style="color:#E6DB74">installer:</span><span style="color:#E6DB74"> The</span><span style="color:#E6DB74"> install</span><span style="color:#E6DB74"> was</span><span style="color:#E6DB74"> successful.</span></span>
<span class="line"><span style="color:#A6E22E">🍺</span><span style="color:#E6DB74">  vagrant</span><span style="color:#E6DB74"> staged</span><span style="color:#E6DB74"> at</span><span style="color:#E6DB74"> '/opt/homebrew-cask/Caskroom/vagrant/1.7.4'</span><span style="color:#F8F8F2"> (6 </span><span style="color:#E6DB74">files,</span><span style="color:#E6DB74"> 82M</span><span style="color:#F8F8F2">)</span></span>
<span class="line"><span style="color:#A6E22E">➜</span><span style="color:#E6DB74">  ~</span><span style="color:#E6DB74">  vagrant</span></span>
<span class="line"><span style="color:#A6E22E">Usage:</span><span style="color:#E6DB74"> vagrant</span><span style="color:#F8F8F2"> [options] </span><span style="color:#fa4f8d">&lt;</span><span style="color:#F8F8F2">command</span><span style="color:#fa4f8d">&gt;</span><span style="color:#F8F8F2"> [</span><span style="color:#fa4f8d">&lt;</span><span style="color:#F8F8F2">args</span><span style="color:#fa4f8d">&gt;</span><span style="color:#F8F8F2">]</span></span>
<span class="line"></span>
<span class="line"><span style="color:#A6E22E">    -v,</span><span style="color:#AE81FF"> --version</span><span style="color:#E6DB74">                    Print</span><span style="color:#E6DB74"> the</span><span style="color:#E6DB74"> version</span><span style="color:#E6DB74"> and</span><span style="color:#E6DB74"> exit.</span></span>
<span class="line"><span style="color:#A6E22E">    -h,</span><span style="color:#AE81FF"> --help</span><span style="color:#E6DB74">                       Print</span><span style="color:#E6DB74"> this</span><span style="color:#E6DB74"> help.</span></span>
<span class="line"></span>
<span class="line"><span style="color:#A6E22E">Common</span><span style="color:#E6DB74"> commands:</span></span>
<span class="line"><span style="color:#A6E22E">     box</span><span style="color:#E6DB74">             manages</span><span style="color:#E6DB74"> boxes:</span><span style="color:#E6DB74"> installation,</span><span style="color:#E6DB74"> removal,</span><span style="color:#E6DB74"> etc.</span></span>
<span class="line"><span style="color:#A6E22E">     connect</span><span style="color:#E6DB74">         connect</span><span style="color:#E6DB74"> to</span><span style="color:#E6DB74"> a</span><span style="color:#E6DB74"> remotely</span><span style="color:#E6DB74"> shared</span><span style="color:#E6DB74"> Vagrant</span><span style="color:#E6DB74"> environment</span></span>
<span class="line"><span style="color:#A6E22E">     destroy</span><span style="color:#E6DB74">         stops</span><span style="color:#E6DB74"> and</span><span style="color:#E6DB74"> deletes</span><span style="color:#E6DB74"> all</span><span style="color:#E6DB74"> traces</span><span style="color:#E6DB74"> of</span><span style="color:#E6DB74"> the</span><span style="color:#E6DB74"> vagrant</span><span style="color:#E6DB74"> machine</span></span>
<span class="line"><span style="color:#A6E22E">     global-status</span><span style="color:#E6DB74">   outputs</span><span style="color:#E6DB74"> status</span><span style="color:#E6DB74"> Vagrant</span><span style="color:#E6DB74"> environments</span><span style="color:#E6DB74"> for</span><span style="color:#E6DB74"> this</span><span style="color:#E6DB74"> user</span></span>
<span class="line"><span style="color:#A6E22E">     halt</span><span style="color:#E6DB74">            stops</span><span style="color:#E6DB74"> the</span><span style="color:#E6DB74"> vagrant</span><span style="color:#E6DB74"> machine</span></span>
<span class="line"><span style="color:#A6E22E">     help</span><span style="color:#E6DB74">            shows</span><span style="color:#E6DB74"> the</span><span style="color:#E6DB74"> help</span><span style="color:#E6DB74"> for</span><span style="color:#E6DB74"> a</span><span style="color:#E6DB74"> subcommand</span></span>
<span class="line"><span style="color:#A6E22E">     init</span><span style="color:#E6DB74">            initializes</span><span style="color:#E6DB74"> a</span><span style="color:#E6DB74"> new</span><span style="color:#E6DB74"> Vagrant</span><span style="color:#E6DB74"> environment</span><span style="color:#E6DB74"> by</span><span style="color:#E6DB74"> creating</span><span style="color:#E6DB74"> a</span><span style="color:#E6DB74"> Vagrantfile</span></span>
<span class="line"><span style="color:#A6E22E">     login</span><span style="color:#E6DB74">           log</span><span style="color:#E6DB74"> in</span><span style="color:#E6DB74"> to</span><span style="color:#E6DB74"> HashiCorp's Atlas</span></span>
<span class="line"><span style="color:#E6DB74">     package         packages a running vagrant environment into a box</span></span>
<span class="line"><span style="color:#E6DB74">     plugin          manages plugins: install, uninstall, update, etc.</span></span>
<span class="line"><span style="color:#E6DB74">     provision       provisions the vagrant machine</span></span>
<span class="line"><span style="color:#E6DB74">     push            deploys code in this environment to a configured destination</span></span>
<span class="line"><span style="color:#E6DB74">     rdp             connects to machine via RDP</span></span>
<span class="line"><span style="color:#E6DB74">     reload          restarts vagrant machine, loads new Vagrantfile configuration</span></span>
<span class="line"><span style="color:#E6DB74">     resume          resume a suspended vagrant machine</span></span>
<span class="line"><span style="color:#E6DB74">     share           share your Vagrant environment with anyone in the world</span></span>
<span class="line"><span style="color:#E6DB74">     ssh             connects to machine via SSH</span></span>
<span class="line"><span style="color:#E6DB74">     ssh-config      outputs OpenSSH valid configuration to connect to the machine</span></span>
<span class="line"><span style="color:#E6DB74">     status          outputs status of the vagrant machine</span></span>
<span class="line"><span style="color:#E6DB74">     suspend         suspends the machine</span></span>
<span class="line"><span style="color:#E6DB74">     up              starts and provisions the vagrant environment</span></span>
<span class="line"><span style="color:#E6DB74">     version         prints current and latest Vagrant version</span></span>
<span class="line"></span>
<span class="line"><span style="color:#E6DB74">For help on any individual command run `vagrant COMMAND -h`</span></span>
<span class="line"></span>
<span class="line"><span style="color:#E6DB74">Additional subcommands are available, but are either more advanced</span></span>
<span class="line"><span style="color:#E6DB74">or not commonly used. To see all subcommands, run the command</span></span>
<span class="line"><span style="color:#E6DB74">`vagrant list-commands`.</span></span>
<span class="line"></span>
<span class="line"><span style="color:#E6DB74">➜  ~</span></span></code></pre>
]]></content:encoded></item>
<item><title>Why Quizup Turned The Fastest-Growing Game In History Into A Social Platform</title><description>Being data-driven helped grow QuizUp from a hot new game that could acquire users into a social platform that could keep them around. They worked to understand how people were using their app, and what actions lead a user to be retained. Then they worked as a team to develop QuizUp’s social features and solve the second half of the growth formula. In the process, by utilizing usage data throughout the development process, they created the thing that their customers had been telling them they wanted all…</description><link>https://timbroder.com/2015/12/why-quizup-turned-the-fastest-growing-game-in-history-into-a-social-platform/</link><guid isPermaLink="false">https://timbroder.com/2015/12/why-quizup-turned-the-fastest-growing-game-in-history-into-a-social-platform</guid><pubDate>Fri, 18 Dec 2015 19:12:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>Being data-driven helped grow QuizUp from a hot new game that could acquire users into a social platform that could keep them around. They worked to understand how people were using their app, and what actions lead a user to be retained. Then they worked as a team to develop QuizUp’s social features and solve the second half of the growth formula. In the process, by utilizing usage data throughout the development process, they created the thing that their customers had been telling them they wanted all along.</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Show &amp; Tell Cast - Ep014 - Star Wars Prequel Trilogy</title><description>Star Wars: The Prequel Trilogy Episode I: The Phantom Menace Episode II: Attack of the Clones Episode III: Revenge of the Sith Listen in if you want to hear me intro the show as Jar Jar Binks!</description><link>https://timbroder.com/2015/12/show-and-tell-cast-ep014-star-wars-prequel-trilogy/</link><guid isPermaLink="false">https://timbroder.com/2015/12/show-&amp;-tell-cast---ep014---star-wars-prequel-trilogy</guid><pubDate>Fri, 11 Dec 2015 08:51:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>Star Wars: The Prequel Trilogy</p>
<p>Episode I: The Phantom Menace</p>
<p>Episode II: Attack of the Clones</p>
<p>Episode III: Revenge of the Sith</p>
</blockquote>
<p>Listen in if you want to hear me intro the show as Jar Jar Binks!</p>
]]></content:encoded></item>
<item><title>Why 2Do Is My New Favorite Ios Task Manager</title><description>Great review of 2Do by Viticci. If I wasn't already so invested in Omnifocus, this looks like it would be perfect. 2Do perfectly adapts to the way I work. This is THE most critical thing when choosing a task manager. Trello still maps 100% to the way I think, but Omnifocus fits seamlessly in with the way I work</description><link>https://timbroder.com/2015/12/why-2do-is-my-new-favorite-ios-task-manager/</link><guid isPermaLink="false">https://timbroder.com/2015/12/why-2do-is-my-new-favorite-ios-task-manager</guid><pubDate>Fri, 11 Dec 2015 08:25:00 GMT</pubDate><content:encoded><![CDATA[<p>Great review of 2Do by Viticci. If I wasn't already so invested in Omnifocus, this looks like it would be perfect.</p>
<blockquote>
<p>2Do perfectly adapts to the way I work.</p>
</blockquote>
<p>This is THE most critical thing when choosing a task manager. Trello still maps 100% to the way I think, but Omnifocus fits seamlessly in with the way I work</p>
]]></content:encoded></item>
<item><title>New Manager Tools</title><description>This article leans slightly towards Technology Management but is applicable across disciplines You've been a great senior resource, you've lead a team or a project, and you've made the decision, along with your manager to transition to some kind of management role. If you are still thinking about it, or wondering what it will be like, start here: This 90-Day Plan Turns Engineers into Remarkable Managers. This article will give you all of the thought starters your need to decide if management is something…</description><link>https://timbroder.com/2015/12/new-manager-tools/</link><guid isPermaLink="false">https://timbroder.com/2015/12/new-manager-tools</guid><pubDate>Wed, 09 Dec 2015 10:45:00 GMT</pubDate><content:encoded><![CDATA[<p><em>This article leans slightly towards Technology Management but is applicable across disciplines</em></p>
<p>You've been a great senior resource, you've lead a team or a project, and you've made the decision, along with your manager to transition to some kind of management role. If you are still thinking about it, or wondering what it will be like, start here: <a href="http://firstround.com/review/this-90-day-plan-turns-engineers-into-remarkable-managers/" title="This 90-Day Plan Turns Engineers into Remarkable Managers">This 90-Day Plan Turns Engineers into Remarkable Managers</a>. This article will give you all of the thought starters your need to decide if management is something you want to pursue.</p>
<p>Below are some required reading to add to your utility belt. Start taking a read through these, and make sure you block off the appropriate amount of time each week to continue your learning! This list is meant to be a starting point for new managers, not an all inclusive list of manager resources</p>
<h2 id="books">Books</h2>
<ul>
<li><a href="http://www.amazon.com/Managing-Right-First-David-Baker/dp/1605440027?tag=nyen0e-20" title="Managing Right for the First Time">Managing Right for the First Time</a> - This book is intended as a field guide for first time managers, or for managers who want to begin doing a better job. <a href="https://www.recourses.com/" title="David Baker">David Baker</a> worked closely with 600+ companies and interviewed more than 10,000 employees, then summarized the findings in an interesting and eminently readable form. Read this book and you're likely to understand management and leadership like you never have before, but also learn very practical steps toward becoming a better manager and leader.</li>
<li><a href="http://www.amazon.com/Getting-Things-Done-Stress-Free-Productivity-ebook/dp/B00KWG9M2E/ref=tmm_kin_swatch_0?qid=&amp;sr=&amp;tag=nyen0e-20&amp;_encoding=UTF8" title="Getting Things Done: The Art of Stress-Free Productivity">Getting Things Done: The Art of Stress-Free Productivity</a> - <em>Note</em>: I'm not advocating for using the GTD system. Use what works for you. However, the first half of this book is a <strong>gold mine</strong> for how to think about planning, resources, and managing your own and other's tasks. I personally do use GTD, but the lessons, and the way of thinking that this book opens up is transferable to any system. It got me <strong>thinking</strong> about planning and delegating in different and exciting ways. Read the introduction and I guarantee that you'll see scenarios you recognize and want to scream <em>"YES, YES I DEAL WITH THIS. I HATE IT! HOW DO I FIX IT?"</em></li>
<li><a href="http://www.amazon.com/The-Personal-MBA-Master-Business/dp/1591845572?tag=nyen0e-20" title="The Personal MBA: Master the Art of Business">The Personal MBA: Master the Art of Business</a> - This book is, but isn't about MBA. It's a toolkit of how to handle various situations and grow your skill set. It's not meant to be read cover to cover, but peruse the table of contents you'll see things you want to read.</li>
<li><a href="http://www.amazon.com/Emotional-Intelligence-Project-Managers-Outstanding/dp/0814474160?tag=nyen0e-20" title="Emotional Intelligence for Project Managers: The People Skills You Need to Achieve Outstanding Results">Emotional Intelligence for Project Managers: The People Skills You Need to Achieve Outstanding Results</a> - Great book on emotional intelligence</li>
</ul>
<h2 id="articles-to-read">Articles to read</h2>
<ul>
<li><a href="http://firstround.com/review/this-90-day-plan-turns-engineers-into-remarkable-managers/" title="This 90-Day Plan Turns Engineers into Remarkable Managers">This 90-Day Plan Turns Engineers into Remarkable Managers</a></li>
<li><a href="https://hbr.org/1999/11/management-time-whos-got-the-monkey" title="Management Time: Who’s Got the Monkey?">Management Time: Who’s Got the Monkey?</a> - How to delegate and not be caught under a fire hose of people waiting on you</li>
<li><a href="https://library.gv.com/meetings-that-don-t-suck-959b8b5df3a4#.qxdgj8nmx" title="Meetings that don’t suck">Meetings that don’t suck</a></li>
<li><a href="https://hbr.org/2015/03/what-everyone-needs-to-know-about-running-productive-meetings" title="What Everyone Needs to Know About Running Productive Meetings">What Everyone Needs to Know About Running Productive Meetings</a></li>
<li><a href="https://github.com/kyleboon/managing_engineers" title="Managing Engineers Reading List">Managing Engineers Reading List</a> on Github</li>
<li><a href="https://hbr.org/2015/08/tough-love-performance-reviews-in-10-minutes" title="Tough Love Performance Reviews, in 10 Minutes">Tough Love Performance Reviews, in 10 Minutes</a></li>
</ul>
<h2 id="websites-to-subscribe-to">Websites to subscribe to</h2>
<ul>
<li><a href="https://hbr.org/" title="Harvard Business Review">Harvard Business Review</a> - I subscribe to these tags and have learned SO much: <a href="https://hbr.org/topic/coaching" title="Coaching">Coaching</a>, <a href="https://hbr.org/topic/decision-making" title="Decision Making">Decision Making</a>, <a href="https://hbr.org/topic/leadership" title="Leadership">Leadership</a>, <a href="https://hbr.org/topic/leadership" title="Leadership">Leadership</a>, <a href="https://hbr.org/topic/motivating-people?" title="Motivating People">Motivating People</a>, <a href="https://hbr.org/topic/leading-teams" title="Leading Teams">Leading Teams</a>, <a href="https://hbr.org/topic/managing-people" title="Managing People">Managing People</a>, <a href="https://hbr.org/topic/communication" title="Communication">Communication</a>, <a href="https://hbr.org/topic/managing-yourself" title="Managing Yourself">Managing Yourself</a>, <a href="https://hbr.org/topic/productivity" title="Productivity">Productivity</a>, <a href="https://hbr.org/topic/work-life-balance" title="Work-Life Balance">Work-Life Balance</a></li>
<li><a href="http://softwareleadweekly.com/" title="Software Lead Weekly">Software Lead Weekly</a></li>
<li><a href="http://blog.precipice.org/" title="Marc Hedlund's Blog">Marc Hedlund's Blog</a> - This hasn't been updated in a few years, but skim the article list. Lots of good things</li>
<li><a href="http://randsinrepose.com/" title="http://randsinrepose.com/">http://randsinrepose.com/</a></li>
</ul>
<h2 id="listening">Listening</h2>
<ul>
<li><a href="https://www.manager-tools.com/all-podcasts?field_content_domain_tid=4" title="Manager Tools Podcast">Manager Tools Podcast</a> - A huge library of how to deal with any situation. Skim the list, there will be something in there you want to learn about. Don't forget to subscribe!</li>
</ul>
<p>*Thanks to <a href="https://twitter.com/mshmsh5000" title="mshmsh5000">mshmsh5000</a> and <a href="https://twitter.com/jessicalippke" title="jessicalippke">jessicalippke</a> for input
If you have anything that should be on this starter list, let me know!</p>
]]></content:encoded></item>
<item><title>Omnifocus For Mac V2.4 Ready For A Push - The Omni Group</title><description>Due Soon also includes a new option—“Today”—which includes only items due before midnight instead of over “the next 24 hours.” I am so happy for this. My most wanted feature. I use a hacky 8pm default time to make "due soon" be "today, sort of, even if I'm working a little late". Now to figure out what my new default time will be! So, over the past few months, we built our own service for Mac to match what Apple’s APN provided us on iOS. This is just impressive</description><link>https://timbroder.com/2015/12/omnifocus-for-mac-v2-4-ready-for-a-push-the-omni-group/</link><guid isPermaLink="false">https://timbroder.com/2015/12/omnifocus-for-mac-v2.4-ready-for-a-push---the-omni-group</guid><pubDate>Mon, 07 Dec 2015 15:42:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>Due Soon also includes a new option—“Today”—which includes only items due before midnight instead of over “the next 24 hours.”</p>
</blockquote>
<p>I am so happy for this. My most wanted feature. I use a hacky 8pm default time to make "due soon" be "today, sort of, even if I'm working a little late".</p>
<p>Now to figure out what my new default time will be!</p>
<blockquote>
<p>So, over the past few months, we built our own service for Mac to match what Apple’s APN provided us on iOS.</p>
</blockquote>
<p>This is just impressive</p>
]]></content:encoded></item>
<item><title>Still Using Feedbin</title><description>Feedbin is under continual development and every few of months there's a new feature released or small improvements made to the user-interface. I signed up for Feedbin and Feed Weangler the day they came out. I was a huge Google Reader junkie (and had even written add-on modules for it ). I wanted to make sure I had a great service when it finally shut down. I paid for both services for 2 years to fully try them both out. I've been more than happy with Feedbin. It gets regular updates,  is super fast, and…</description><link>https://timbroder.com/2015/12/still-using-feedbin/</link><guid isPermaLink="false">https://timbroder.com/2015/12/still-using-feedbin</guid><pubDate>Mon, 07 Dec 2015 11:45:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>Feedbin is under continual development and every few of months there's a new feature released or small improvements made to the user-interface.</p>
</blockquote>
<p>I signed up for <a href="https://feedbin.com/" title="%fill:name%">Feedbin</a> and <a href="https://itunes.apple.com/us/app/feed-wrangler/id634486174?mt=8&amp;at=11laRZ&amp;ct=Wflw6" title="%fill:name%">Feed Weangler</a> the day they came out. I was a <em>huge</em> Google Reader junkie (and had even written add-on modules for it ). I wanted to make sure I had a great service when it finally shut down. I paid for both services for 2 years to fully try them both out.</p>
<p>I've been more than happy with Feedbin. It gets regular updates,  is super fast, and integrates with all of the apps I use on my phone or Mac. Feed Wrangler had the killer feature of not showing RSS items if you had already loaded them into Instapaper. I wanted this to be enough to keep using it, but unfortunately it wasn't. I love <a href="https://mobile.twitter.com/_davidsmith" title="%fill:name%">David Smith</a>, his work, and all he does for the community. But it's obvious that Feed Wrangler isn't his main focus. That's ok! But, I want a product they continually approves beyond security updates</p>
]]></content:encoded></item>
<item><title>Five Lesser-Known Features Of Php 7 | Colin O'Dell</title><description>With the imminent release of PHP 7 on the horizon, I thought it would be cool to check out some of the lesser-known features coming with the 7.0.0 release ​</description><link>https://timbroder.com/2015/12/five-lesser-known-features-of-php-7-colin-odell/</link><guid isPermaLink="false">https://timbroder.com/2015/12/five-lesser-known-features-of-php-7-|-colin-o'dell</guid><pubDate>Fri, 04 Dec 2015 06:34:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>With the imminent release of PHP 7 on the horizon, I thought it would be cool to check out some of the lesser-known features coming with the 7.0.0 release</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Craig Federighi Talks Open Source Swift And What’S Coming In Version 3.0</title><description>So many good things happened with Swift and open source today. The project will be hosted on GitHub and will include the compiler, the LLDB debugger, the REPL command-line environment, the standard and core libraries, and code from supporting projects. There is a LOT over on Apple's new GitHub New to Swift (and also open source) is the Swift Package Manager ​ Apple engineers working on Swift will start using the GitHub repos, developing the language out in the open. ​ So instead of getting a big Swift 3.…</description><link>https://timbroder.com/2015/12/craig-federighi-talks-open-source-swift-and-whats-coming-in-version-3-0/</link><guid isPermaLink="false">https://timbroder.com/2015/12/craig-federighi-talks-open-source-swift-and-what’s-coming-in-version-3.0</guid><pubDate>Thu, 03 Dec 2015 20:31:00 GMT</pubDate><content:encoded><![CDATA[<p>So many good things happened with Swift and open source today.</p>
<blockquote>
<p>The project will be hosted on GitHub&nbsp;and will include the compiler, the LLDB debugger, the REPL command-line environment, the standard and core libraries, and code from supporting projects.</p>
</blockquote>
<p>There is a LOT over on Apple's new <a href="https://github.com/apple" title="%fill:name%">GitHub</a></p>
<blockquote>
<p>New to Swift (and also open source) is the Swift Package Manager</p>
</blockquote>
<p>​</p>
<blockquote>
<p>Apple engineers working on Swift will start using the GitHub repos, developing the language out in the open.</p>
</blockquote>
<p>​</p>
<blockquote>
<p>So instead of getting a big Swift 3.0 info dump at WWDC 2016 in the summer and then digging into the Xcode betas and adapting, developers can already find an “evolution document” on the Swift site that maps out where the language is headed in its next major version.</p>
</blockquote>
<p>​</p>
<blockquote>
<p>One of Apple’s goals for Swift 3.0 is source compatibility going forward so that Swift code that is written may need to be recompiled as the language continues to evolve, but it will need to be rewritten or changed less frequently or not at all.</p>
</blockquote>
<p>​</p>
<blockquote>
<p>“We’ll be supporting Objective-C and continuing to evolve it as necessary to fit into this evolving world. We do think that Swift is the language that we recommend for new developers to our platform who are investing for the future and building new apps. We think Swift is absolutely the right place to start. But we’ll continue to maintain, advance, and support Objective-C for as far as we can see</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Awesome Self Hosted</title><description>Great list of self hosted OSS</description><link>https://timbroder.com/2015/12/awesome-self-hosted/</link><guid isPermaLink="false">https://timbroder.com/2015/12/awesome-self-hosted</guid><pubDate>Wed, 02 Dec 2015 09:37:00 GMT</pubDate><content:encoded><![CDATA[<p>Great list of self hosted OSS</p>
]]></content:encoded></item>
<item><title>First Timers Only</title><description>A suggestion to Open Source project maintainers The hard part of getting into open source for the first time isn’t the implementation of a feature, but figuring out how to actually contribute code. Great read on setting up your open source project for success as well as making it EASY for people to make their first contribution</description><link>https://timbroder.com/2015/11/first-timers-only/</link><guid isPermaLink="false">https://timbroder.com/2015/11/first-timers-only</guid><pubDate>Wed, 25 Nov 2015 15:45:00 GMT</pubDate><content:encoded><![CDATA[<p>A suggestion to Open Source project maintainers</p>
<blockquote>
<p>The hard part of getting into open source for the first time isn’t the implementation of a feature, but figuring out how to actually contribute code.</p>
</blockquote>
<p>Great read on setting up your open source project for success as well as making it EASY for people to make their first contribution</p>
]]></content:encoded></item>
<item><title>Top Four 5: Podcasts</title><description>Marco and Tiff rank their four favorite podcasts (right now) ​This episode of Top Four was great. It did NOTHING to help the number of podcasts that I want to listen to. I already listen to a lot so adding would have to mean removing something if it was for my personal queue. ​Luckily, it did give Laura and I some great ideas for shows to listen to together in the car. As we get closer to holiday season and start driving around the northeast, these will be a huge help: ​Undisclosed You Look Nice Today…</description><link>https://timbroder.com/2015/11/top-four-5/</link><guid isPermaLink="false">https://timbroder.com/2015/11/top-four-5</guid><pubDate>Sat, 14 Nov 2015 07:42:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>Marco and Tiff rank their four favorite podcasts (right now)</p>
</blockquote>
<p>​This episode of Top Four was great. It did NOTHING to help the number of podcasts that I want to <a href="https://timbroder.com/podcasts-i-listen-to/">listen to</a>. I already listen to a lot so adding would have to mean removing something if it was for my personal queue.</p>
<p>​Luckily, it did give Laura and I some great ideas for shows to listen to together in the car. As we get closer to holiday season and start driving around the northeast, these will be a huge help:</p>
<ul>
<li>​<a href="http://undisclosed-podcast.com/">Undisclosed</a></li>
<li><a href="http://youlooknicetoday.com/">You Look Nice Today</a></li>
</ul>
<p>​<a href="http://www.merlinmann.com/roderick/">Roderick on the Line</a> sounds like something I'd really enjoy. But, at 178 episodes it's too intimidating. I can only handle <a href="http://5by5.tv/b2w">one</a> "catch up" show. (Interesting that both of these involve Merlin). If I had more space/time, <a href="https://gimletmedia.com/show/reply-all/">Reply All</a> would be first up</p>
]]></content:encoded></item>
<item><title>Show &amp; Tell - Ep013 - Star Wars Original Trilogy</title><description>Star Wars: The Original Trilogy A New Hope! The Empire Strikes Back! Return of the Jedi! This episode was a lot of fun and has a few surprise guests</description><link>https://timbroder.com/2015/11/show-and-tell-ep013-star-wars-original-trilogy/</link><guid isPermaLink="false">https://timbroder.com/2015/11/show-&amp;-tell---ep013---star-wars-original-trilogy</guid><pubDate>Tue, 10 Nov 2015 09:24:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>Star Wars: The Original Trilogy</p>
</blockquote>
<ul>
<li>A New Hope!</li>
<li>The Empire Strikes Back!</li>
<li>Return of the Jedi!</li>
</ul>
<p>This episode was a lot of fun and has a few surprise guests</p>
]]></content:encoded></item>
<item><title>Science Says Snapchat Makes You Happy</title><description>The study, titled “Sharing the small moments: ephemeral social interaction on Snapchat,” concluded that Snapchat interactions are correlated with increased “social enjoyment and positive mood” compared to those on platforms like Facebook. In other words, the quick-fire moments you experience on Snapchat — which is used to share videos and photographs that disappear after a short amount of time — might make you happier than other social media. I need to get better at understanding snapchat. I feel like a…</description><link>https://timbroder.com/2015/11/science-says-snapchat-makes-you-happy/</link><guid isPermaLink="false">https://timbroder.com/2015/11/science-says-snapchat-makes-you-happy</guid><pubDate>Sun, 01 Nov 2015 09:23:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>The study, titled “Sharing the small moments: ephemeral social interaction on Snapchat,” concluded that Snapchat interactions are correlated with increased “social enjoyment and positive mood” compared to those on platforms like Facebook. In other words, the quick-fire moments you experience on Snapchat — which is used to share videos and photographs that disappear after a short amount of time — might make you happier than other social media.</p>
</blockquote>
<p>I need to get better at understanding snapchat. I feel like a dinosaur</p>
<p>I seem to have the mental bandwidth for 2 social networks. For me the non-negotiable one is Twitter where I read everything. Part of this is keeping the number of people I follow to ~200 and a heavy use of mute filters. I've recently gotten better at browsing Facebook and Instagram, more to see what my friends are up to. I went through a HEAVY unfollow process on Facebook. I now probably only see 30 people in my feed compared to the hundreds of people I'm friends with.</p>
<p>I do find myself chuckling when I get snaps compared to any other network  so this article tracks</p>
]]></content:encoded></item>
<item><title>12 Months of the Show &amp; Tell Podcast</title><description>The 12th episode of Show &amp; Tell, my monthly movie podcast came out recently. We've been doing it for a year, and I can't believe I've never mentioned it on this site! The show is hosted by Samuel Strickland, accompanied by myself and Ellyn MaNamara. Each month, we pick a movie that we've each seen before, and bring it to the show to discuss. We chat, rate, review, and once in a while go off the rails. It has been SO much fun working with the crew on the Tekside network, being part of a podcast, and leaning…</description><link>https://timbroder.com/2015/10/12-months-of-a-movie-podcast/</link><guid isPermaLink="false">https://timbroder.com/2015/10/12-months-of-a-movie-podcast</guid><pubDate>Sun, 25 Oct 2015 17:56:00 GMT</pubDate><content:encoded><![CDATA[<p>The 12th episode of <a href="http://tekside.net/show-tell/" title="Show &amp; Tell">Show &amp; Tell</a>, my monthly movie podcast came out recently. We've been doing it for a year, and I can't believe I've never mentioned it on this site!</p>
<p>The show is hosted by <a href="https://twitter.com/samdakark" title="Samuel Strickland">Samuel Strickland</a>, accompanied by myself and <a href="https://twitter.com/rockerchick" title="Ellyn MaNamara">Ellyn MaNamara</a>. Each month, we pick a movie that we've each seen before, and bring it to the show to discuss. We chat, rate, review, and once in a while go off the rails. It has been SO much fun working with the crew on the <a href="http://tekside.net/" title="Tekside">Tekside</a> network, being part of a podcast, and leaning the ins &amp; outs of recording and producing.</p>
<p>It's been great as forced relaxation for me. I was hesitant to jump into a show with people I'd never spoken to before (we had 1 Skype call before we recorded episode 1). Immediately, recording became one of the highlights of the week (month) that I look forward to. Sam and Ellyn are a lot of fun to talk to on the air or hang out in our Slack channel. There have definitely been movies I never would have considered otherwise that I really liked. We're currently gearing up for our Star Wars spectacular and I can't wait!</p>
<p>Our episodes to date (I started with Top Gun, obviously)</p>
<p><a href="http://tekside.net/show-tell/2014/11/17/show-tell-cast-ep001-top-gun-fargo-captain-america-the-winter-soldier" title="Episode 1">Episode 1</a></p>
<ul>
<li>Top Gun</li>
<li>Fargo</li>
<li>Captain America: The Winter Soldier</li>
</ul>
<p><a href="http://tekside.net/show-tell/2014/12/24/show-tell-cast-ep002-the-girl-with-the-dragon-tattoo-the-one-i-love-a-most-wanted-man" title="Episode 2">Episode 2</a></p>
<ul>
<li>The Girl with the Dragon Tattoo</li>
<li>The One I Love</li>
<li>A Most Wanted Man</li>
</ul>
<p><a href="http://tekside.net/show-tell/2015/1/14/episode-3-mad-max-oldboy-snowpeircer" title="Epidode 3">Epidode 3</a></p>
<ul>
<li>Mad Max</li>
<li>Oldboy</li>
<li>Snowpiercer</li>
</ul>
<p><a href="http://tekside.net/show-tell/2015/2/13/show-tell-cast-ep004-calgary-the-lego-movie-nightcrawler" title="Episode 4">Episode 4</a></p>
<ul>
<li>Calvary</li>
<li>The Lego Movie</li>
<li>Nightcrawler</li>
</ul>
<p><a href="http://tekside.net/show-tell/2015/3/4/show-tell-cast-ep005-vampires-kiss-faceoff-the-wicker-man" title="Episode 5 (Nic Cage!!)">Episode 5 (Nic Cage!!)</a></p>
<ul>
<li>Vampire's Kiss</li>
<li>Face-off</li>
<li>The Wicker Man</li>
</ul>
<p><a href="http://tekside.net/show-tell/2015/4/3/episode-6" title="Episode 6">Episode 6</a></p>
<ul>
<li>Knocked Up</li>
<li>Inglorious Bastards</li>
<li>Blue Ruin</li>
</ul>
<p><a href="http://tekside.net/show-tell/2015/5/5/show-tell-cast-ep007-alien-empire-records-practical-magic" title="Episode 7">Episode 7</a></p>
<ul>
<li>Alien</li>
<li>Empire Records</li>
<li>Practical Magic</li>
</ul>
<p><a href="http://tekside.net/show-tell/2015/6/11/show-tell-cast-ep008-the-princess-bride-the-master-lost-river" title="Episode 8">Episode 8</a></p>
<ul>
<li>The Princess Bride</li>
<li>The Master</li>
<li>Lost River</li>
</ul>
<p><a href="http://tekside.net/show-tell/2015/7/22/show-tell-cast-ep009-inception-her-john-wick" title="Episode 9">Episode 9</a></p>
<ul>
<li>Inception</li>
<li>Her</li>
<li>John Wick</li>
</ul>
<p><a href="http://tekside.net/show-tell/2015/8/14/show-tell-cast-ep010-equilibrium-django-unchained-whiplash" title="Episode 10">Episode 10</a></p>
<ul>
<li>Inception</li>
<li>Django Unchained</li>
<li>Whiplash</li>
</ul>
<p><a href="http://tekside.net/show-tell/2015/9/2/show-tell-cast-ep011-ray-hard-candy-ex-machina" title="Episode 11">Episode 11</a></p>
<ul>
<li>Ray</li>
<li>Hard Candy</li>
<li>Ex Machina</li>
</ul>
<p><a href="http://tekside.net/show-tell/2015/10/13/show-tell-cast-ep012-blade-runner-the-neverending-story-8-mile" title="Episode 12">Episode 12</a></p>
<ul>
<li>Blade Runner</li>
<li>Never-ending Story</li>
<li>8 Mile</li>
</ul>
<p><img src="https://timbroder.com/images/remote/2015-10-25-12-months-of-a-movie-podcast/sat.png" alt=""></p>
]]></content:encoded></item>
<item><title>Sending Email to Omnifocus in Airmail2</title><description>Airmail2 is my desktop client of choice for Gmail. It keeps the same hotkeys as the web version of gmail and has some good integrations. In outlook, I use  to send an email to Omnifocus. That workflow also attaches the outlook email to the task for easy reference later. I wanted something similar for gmail besides just forwarding the email to Omnifocus. With that, I still had to go find the email to actually reply to it. Omnifocus integration is the single most important reason (to me) for using Airmail…</description><link>https://timbroder.com/2015/10/sending-email-to-omnifocus-in-airmail2/</link><guid isPermaLink="false">https://timbroder.com/2015/10/sending-email-to-omnifocus-in-airmail2</guid><pubDate>Sun, 25 Oct 2015 09:10:00 GMT</pubDate><content:encoded><![CDATA[<p><a href="https://itunes.apple.com/us/app/airmail-2.5/id918858936?mt=12&amp;at=11laRZ&amp;ct=pro" title="Airmail2">Airmail2</a> is my desktop client of choice for Gmail. It keeps the same hotkeys as the web version of gmail and has some good integrations.</p>
<p>In outlook, I use <code>^O</code> to send an email to <a href="https://itunes.apple.com/us/app/omnifocus-2/id867299399?mt=12&amp;at=11laRZ&amp;ct=pro" title="Omnifocus">Omnifocus</a>. That workflow also attaches the outlook email to the task for easy reference later. I wanted something similar for gmail besides just forwarding the email to Omnifocus. With that, I still had to go find the email to actually reply to it. Omnifocus integration is the single most important reason (to me) for using Airmail. Airmail will add an in-app link back to the email in Airmail in the notes section of the task.</p>
<p>But, I don't like the default hotkey, I just want it to be <code>^O</code>. To get this to work:</p>
<ol>
<li>Go to Settings.app &gt; Keyboard &gt; Shortcuts</li>
<li>Add Airmail2</li>
<li>Add an action with the Menu Title of: <code>OmniFocus...</code></li>
<li>Record your keyboard shortcut to be ^O</li>
</ol>
<p><img src="https://timbroder.com/images/remote/2015-10-25-sending-email-to-omnifocus-in-airmail2/22484974791_0b2b82d3d6_o_d.png" alt=""></p>
]]></content:encoded></item>
<item><title>How to Sync Basecamp Todos to Omnifocus or Todoist</title><description>Basecamp is a large part of our process at Ai. It tracks most of our communication (a lot of this has been moving to Slack). Basecamp serves as our system of record for signs-offs and deliverables. We also use it's "todo" function pretty heavily in the planning stages and tracking client tasks. Once we get into implementation, we transition to Jira, as it's more powerful. Clients do not have access to Jira. I don't have an issue tracking Basecamp tasks. It's really good at emailing you when something is due…</description><link>https://timbroder.com/2015/10/how-to-sync-basecamp-todos-to-omnifocus-or-todoist/</link><guid isPermaLink="false">https://timbroder.com/2015/10/how-to-sync-basecamp-todos-to-omnifocus-or-todoist-</guid><pubDate>Sat, 17 Oct 2015 11:54:00 GMT</pubDate><content:encoded><![CDATA[<p><a href="https://basecamp.com/" title="Basecamp">Basecamp</a> is a large part of our process at Ai. It tracks most of our communication (a lot of this has been moving to <a href="https://slack.com/" title="Slack">Slack</a>). Basecamp serves as our system of record for signs-offs and deliverables. We also use it's "todo" function pretty heavily in the planning stages and tracking client tasks. Once we get into implementation, we transition to <a href="https://www.atlassian.com/software/jira" title="Jira">Jira</a>, as it's more powerful. Clients do not have access to Jira.</p>
<p>I don't have an issue tracking Basecamp tasks. It's really good at emailing you when something is due. But, as I've said before, I'd be even BETTER at it, if the tasks were <a href="https://timbroder.com/2015/10/using-omnifocus-as-a-honey-do-app/" title="in my world">in my world</a>. My world is <a href="https://itunes.apple.com/us/app/omnifocus-2/id867299399?mt=12&amp;at=11laRZ&amp;ct=pro" title="Omnifocus">Omnifocus</a>, but there is a VERY large contingent of <a href="https://itunes.apple.com/us/app/todoist-to-do-list-task-list/id585829637?mt=12&amp;at=11laRZ&amp;ct=pro" title="Todoist">Todoist</a> users at Ai. I am the outlier in this. In the past, my reasons for not using Todoist were I didn't want Ai tasks and personal project tasks in the same app, the hotkeys weren't up to snuff, and I didn't want to pay for premium to get notifications. I've since ignored these rules with Omnifocus; It runs everything in my life, it DOES have great hotkeys, and I dropped the $$$ for premium Omnifocus which was more expensive than Todoist premium in the long run. But, this is a topic for another post.</p>
<p>Back on track. How to get Basecamp todos into my system? Again, Zapier to the rescue. Zapier can connect to Basecamp, do some basic filtering to make sure I only get tasks that I care about, and drop them into my Omnifocus inbox. Most of the following steps hold true for both Omnifocus and Todoist</p>
<ol>
<li>
<p>Create a new Zap that triggers when a new Basecamp todo is created. Have it create a new task in your system</p>
<p><img src="https://timbroder.com/images/remote/2015-10-17-how-to-sync-basecamp-todos-to-omnifocus-or-todoist-/22062008838_fe08637466_k_d.jpg" alt=""></p>
</li>
<li>
<p>Select the appropriate Basecamp account and test it</p>
<p><img src="https://timbroder.com/images/remote/2015-10-17-how-to-sync-basecamp-todos-to-omnifocus-or-todoist-/22249798545_09e03d2937_o_d.png" alt=""></p>
</li>
<li>
<p>Select and test your Todoist/Omnifocus account</p>
<p><img src="https://timbroder.com/images/remote/2015-10-17-how-to-sync-basecamp-todos-to-omnifocus-or-todoist-/22260363271_38415f36d9_o_d.png" alt=""></p>
</li>
<li>
<p>Choose your Basecamp Account, Project, and Todo list. If you want to filter even more by only items assigned to you, add a custom filter. Do this by either Assignee ID or Name</p>
<p><img src="https://timbroder.com/images/remote/2015-10-17-how-to-sync-basecamp-todos-to-omnifocus-or-todoist-/22063082689_9af276bb66_o_d.png" alt=""></p>
</li>
<li>
<p>Match up the Basecamp data to your tool of choice. First is how I send it to Omnifocus. Note, I do need to populate the due date by hand. In both options, I add the url back to the task in Basecamp so I can easy mark it off or comment in it when I'm done. Todoist lets you be a LOT more granular and handles all of the fields so you have no manual intervetntion</p>
<p><img src="https://timbroder.com/images/remote/2015-10-17-how-to-sync-basecamp-todos-to-omnifocus-or-todoist-/22062121310_feb74fe493_o_d.png" alt=""></p>
<p><img src="https://timbroder.com/images/remote/2015-10-17-how-to-sync-basecamp-todos-to-omnifocus-or-todoist-/22062436938_6ef239ce7f_o_d.png" alt=""></p>
</li>
<li>
<p>My tasks are now in my world. Profit.</p>
</li>
</ol>
]]></content:encoded></item>
<item><title>Creating a Custom Podcast Feed Using Dropbox and Huffduffer</title><description>I use Overcast as my podcast client because of  it's SmartSpeed feature. This feature is now 100% free with the new 2.0 update. SmartSpeed has spoiled me. Before Overcast I would listen to most shows at 2x. This resulted in "chipmunk voice" which I dealt with to try to get through a few more episodes each week.  Overcast let's me reduce this by speeding up playback by removing a certain % of silence. Sometimes I'll find other recordings, episodes, or files that I want to listen to. I don't want to see if…</description><link>https://timbroder.com/2015/10/creating-a-custom-podcast-feed-using-dropbox-and-huffduffer/</link><guid isPermaLink="false">https://timbroder.com/2015/10/creating-a-custom-podcast-feed-using-dropbox-and-huffduffer</guid><pubDate>Tue, 13 Oct 2015 18:28:00 GMT</pubDate><content:encoded><![CDATA[<p>I use <a href="http://apple.co/1hyKcRq" title="Overcast">Overcast</a> as my podcast client because of  it's SmartSpeed feature. This feature is now 100% free with the new 2.0 <a href="http://bit.ly/1hyKfN4" title="update">update</a>. SmartSpeed has spoiled me. Before Overcast I would listen to most shows at 2x. This resulted in "chipmunk voice" which I dealt with to try to get through a few more episodes each week.  Overcast let's me reduce this by speeding up playback by removing a certain % of silence.</p>
<p>Sometimes I'll find other recordings, episodes, or files that I want to listen to. I don't want to see if they are already in a feed somewhere, or subscribe to a whole podcast. So, these files just sat in a dropbox folder that I'd "listen to one day". I forgot it was there. Recently, <a href="https://twitter.com/cgpgrey" title="CGPGrey">CGPGrey</a> was talking on <a href="https://www.relay.fm/cortex" title="Cortex">Cortex</a> about a similar problem (though with audio books). The result was this workflow below.</p>
<p>I've been using it to create a custom podcast feed of random audio files that I throw in dropbox. I get a notification in Overcast when they are ready, and I can add them to my existing listening queue. Awesome</p>
<h2 id="prerequisites">Prerequisites</h2>
<ol>
<li><a href="https://itunes.apple.com/us/app/dropbox/id327630330?mt=8&amp;at=11laRZ&amp;ct=pro" title="Dropbox">Dropbox</a> (iOS App)</li>
<li><a href="https://itunes.apple.com/us/app/workflow-powerful-automation/id915249334?mt=8&amp;at=11laRZ&amp;ct=pro" title="Workflow">Workflow</a> (iOS App)</li>
<li>Any podcast client that accepts an RSS feed. (<a href="http://apple.co/1hyKcRq" title="Overcast">Overcast</a> is 100% free)</li>
<li><a href="https://huffduffer.com/" title="Huffduffer">Huffduffer</a> Account</li>
<li>You have audio files in Dropbox somewhere</li>
</ol>
<h2 id="setup">Setup</h2>
<ol>
<li>Setup Dropbox on iOS</li>
<li>Open <a href="https://workflow.is/workflows/8e8692c8bacd4dc39c944edb18b0dea8" title="this url">this url</a> in Safari</li>
<li>Tap "Get Workflow" <img src="https://timbroder.com/images/remote/2015-10-11-creating-a-custom-podcast-feed-using-dropbox-and-huffduffer/22099535245_93b81398fb_o_d.jpg" alt=""></li>
<li>Allow Safari to open Workflow <img src="https://timbroder.com/images/remote/2015-10-11-creating-a-custom-podcast-feed-using-dropbox-and-huffduffer/22099516045_42ec98f0d2_o_d.png" alt=""></li>
<li>Open the workflow in Workflow <img src="https://timbroder.com/images/remote/2015-10-11-creating-a-custom-podcast-feed-using-dropbox-and-huffduffer/22073343796_82eb407d66_o_d.jpg" alt=""></li>
<li>Check to see if Workflow has access to Dropbox <img src="https://timbroder.com/images/remote/2015-10-11-creating-a-custom-podcast-feed-using-dropbox-and-huffduffer/21911637698_f4f1c3f0d2_o_d.jpg" alt=""></li>
<li>Hit Done</li>
<li>Go back into the workflow and run it</li>
<li>Navigate to where your audio files are in dropbox <img src="https://timbroder.com/images/remote/2015-10-11-creating-a-custom-podcast-feed-using-dropbox-and-huffduffer/21911561790_82249be6f8_o_d.png" alt=""></li>
<li>Tap the one you want, and give it a Title <img src="https://timbroder.com/images/remote/2015-10-11-creating-a-custom-podcast-feed-using-dropbox-and-huffduffer/22109773541_ff38564705_o_d.png" alt=""></li>
<li>Go to your profile page in huffduffer and grab the RSS url for your profile</li>
<li>Add this by URL in your podcast app of choice <img src="https://timbroder.com/images/remote/2015-10-11-creating-a-custom-podcast-feed-using-dropbox-and-huffduffer/22087276112_010ff80060_o_d.jpg" alt=""></li>
<li>You are done! <img src="https://timbroder.com/images/remote/2015-10-11-creating-a-custom-podcast-feed-using-dropbox-and-huffduffer/22099817315_0cbdc22934_o_d.png" alt=""></li>
</ol>
]]></content:encoded></item>
<item><title>A Preview Of What'S New In Basecamp 3</title><description>Basecamp 3 is coming and I'm exited. Below are excerpts from Basecamp's preview post on what I'm looking forward to most Basecamp won'&#128;&#153;t send you any emails, push notifications, or in-app notifications if it's outside your specified work hours. Live a little! Work Can Wait until you're back at work. group chat room for quick discussions This is cool but it came a little too late. We've been using slack for project based and individual chat. It has a dedicated app that is easy to cmd+tab to. I see campfire…</description><link>https://timbroder.com/2015/10/a-preview-of-whats-new-in-basecamp-3/</link><guid isPermaLink="false">https://timbroder.com/2015/10/a-preview-of-what's-new-in-basecamp-3</guid><pubDate>Wed, 07 Oct 2015 16:37:00 GMT</pubDate><content:encoded><![CDATA[<p>Basecamp 3 is <a href="https://signalvnoise.com/posts/3955-a-preview-of-whats-new-in-basecamp-3" title="coming">coming</a> and I'm exited. Below are excerpts from Basecamp's preview post on what I'm looking forward to most</p>
<blockquote>
<p>Basecamp won't send you any emails, push notifications, or in-app notifications if it's outside your specified work hours. Live a little! Work Can Wait until you're back at work.</p>
</blockquote>
<blockquote>
<p>group chat room for quick discussions</p>
</blockquote>
<p>This is cool but it came a little too late. We've been using slack for project based and individual chat. It has a dedicated app that is easy to cmd+tab to. I see campfire in the browser sitting in an unchecked tab and not being useful</p>
<blockquote>
<p>Show someone you care by clicking the Applause button on any message, comment, document, or answer on any automatic question. They'll get a discrete notification letting them know you appreciated what they said. This is a great way to show your support for someoneâs suggestion, idea, or point of view without also sending a notification to everyone else on the project.</p>
</blockquote>
<blockquote>
<p>e.g. What did you work on today or Are you blocked on anything?)</p>
</blockquote>
<p>Hmm, I wonder if this could be used for virtual scrum?</p>
<blockquote>
<p>@mentions: Psst!</p>
</blockquote>
<p>YES, YES, YES, A MILLION TIMES, YES</p>
<blockquote>
<p>They'll instantly get a notification letting them know they've been mentioned, along with a direct link right back to where you mentioned them</p>
</blockquote>
<blockquote>
<p>If you're not in the desktop app</p>
</blockquote>
<p>Buhhh wait what? Ok maybe what I said about the tabs and apps above might not apply</p>
<blockquote>
<p>You can bookmark just about anything in Basecamp 3 so you can jump right back to it from anywhere else</p>
</blockquote>
<p>This will be handy. Here are always a few key threads I end up digging for. Usually long running threads about key deliverables</p>
<blockquote>
<p>At the bottom of every project is a timeline of all activity going back to the moment you started the project</p>
</blockquote>
<p>I like this if search hadn't been improved. This has a lot easier than scrolling through all the lists looking for something around a certain time</p>
<blockquote>
<p>So you can make a folder and put a photoshop file, a Google doc</p>
</blockquote>
<p>👍🏻</p>
<blockquote>
<p>Now you can assign to-dos to multiple people. Now you can set date ranges, not just single due dates. Now you can bulk assign multiple to-dos with a single click. Now you can select multiple to-dos and move them as a group.</p>
</blockquote>
<p>😭😭😭</p>
<blockquote>
<p>Now you can save any new message or document as a draft before you publish it</p>
</blockquote>
<blockquote>
<p>Basecamp 3 allows you to see all the work you've assigned to other people</p>
</blockquote>
<p>You can sign up for an early invite <a href="http://basecamp.com/3-is-coming" title="here">here</a></p>
]]></content:encoded></item>
<item><title>Magento 2: Q&amp;A With A Systems Architect</title><description>Magento 2 has revamped the architecture of the platform. Many of these changes introduced tried and true design patterns into the platform. Although these design patterns are more advanced, they come with a lot of literature to describe how they should be used in practice (read up on the ‘Gang of Four’). For eCommerce managers, these fundamental changes provide their team with a more structurally sound platform to scale-up their business. ​I am very excited about the direction Magento 2 has taken. It feels…</description><link>https://timbroder.com/2015/10/magento-2-q-and-a-with-a-systems-architect/</link><guid isPermaLink="false">https://timbroder.com/2015/10/magento-2:-q&amp;a-with-a-systems-architect</guid><pubDate>Sun, 04 Oct 2015 16:55:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>Magento 2 has revamped the architecture of the platform. Many of these changes introduced tried and true design patterns into the platform. Although these design patterns are more advanced, they come with a lot of literature to describe how they should be used in practice (read up on the ‘Gang of Four’). For eCommerce managers, these fundamental changes provide their team with a more structurally sound platform to scale-up their business.</p>
</blockquote>
<p>​I am very excited about the direction Magento 2 has taken. It feels more thought out, more complete, and more flexible. Magento 1 feels bolted together by this point. Between composer, the new service layer, and it's component based architecture, Magento 2 requires a higher order of developer. This is a good thing. Script kiddies and SO copy/plasters will not survive or at least REALLY have to learn OOP and new architecture patterns.
​
​Bring it on</p>
]]></content:encoded></item>
<item><title>Using Omnifocus as a Honey-Do App</title><description>Laura and I are trying a formal Honey-Do List. We're both very task-oriented people and we really like lists. There are a lot of things I can do to help with Charlie but have to wait until I get home from work. Vice-versa, stuff I'll think of while I'm at work that Laura should take a look at on the days she's home. We probably should have done this a long time ago but even suggesting that one of us ditch our to-do app of choice would have been blasphemy. I switched to OmniFocus this year and you'd have to…</description><link>https://timbroder.com/2015/10/using-omnifocus-as-a-honey-do-app/</link><guid isPermaLink="false">https://timbroder.com/2015/10/using-omnifocus-as-a-honey-do-app</guid><pubDate>Thu, 01 Oct 2015 12:40:00 GMT</pubDate><content:encoded><![CDATA[<p>Laura and I are trying a formal Honey-Do List. We're both very task-oriented people and we really like lists. There are a lot of things I can do to help with Charlie but have to wait until I get home from work. Vice-versa, stuff I'll think of while I'm at work that Laura should take a look at on the days she's home.</p>
<p>We probably should have done this a long time ago but even suggesting that one of us ditch our to-do app of choice would have been blasphemy. I switched to <a href="http://apple.co/1CHgCmI" title="Omnifocus">OmniFocus</a> this year and you'd have to pry it from my cold dead fingers. Laura really likes <a href="http://apple.co/1Vqhyo8" title="Remember The Milk">Remember The Milk</a> [RTM] but I've never cared for it. One option was just use another app just for the HoneyDo list. The front-runner would be <a href="http://apple.co/1PQawlI" title="WunderList">Wunderlist</a>. This would work.... but meh. This would mean another slot on our coveted iPhone home screens. A space we didn't want to give up. I personally would have trouble remembering to go into it. If it's not in OmniFocus, it's not in my world.</p>
<p>There had to be a solution. What actually mattered? It boiled down to two things:</p>
<ol>
<li>The tasks entering "our world" of to-dos</li>
<li>The other party being notified (or at least aware) that a task had been completed (or is still outstanding)</li>
</ol>
<p>Neither OmniFocus or RTM have the ability to do 2-way sync. But, they CAN take in tasks through email addresses. Ok, there is a way for tasks to get into our respective worlds from somewhere else. Check.</p>
<p>The next step was to have something be the single point of entry for tasks. This entry point would also serve as the aggregate list of both our worlds. Wunderlist and Todoist both have great API's, there had to be something. There was also a good chance that <a href="https://ifttt.com/" title="IFTTT">IFTTT</a> or <a href="https://zapier.com" title="Zapier">Zapier</a> could connect to everything. IFTTT was a bust, but Zapier hooked us up. I went with Wunderlist because Todoist's notifications are a premium only feature. We're not sure if we'll actually use the notifications, but I didn't feel like switching if we decided to in the future. Wunderlist could also handle shared lists, asignees, and due dates.</p>
<p>How to set it up:</p>
<ol>
<li>
<p>Choose a trigger and action</p>
<p>When this happens: Wunderlist; New Task</p>
<p>Do this: OmniFocus; Create Task</p>
<p><img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
</li>
<li>
<p>Make sure your Wunderlist and Omnifocus accounts are set up</p>
<p><img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
</li>
<li>
<p>Create a shared list in Wunderlist and add someone to it</p>
<p><img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
</li>
<li>
<p>Tell Zapier to only trigger on the list you just created. (We'll add advanced filtering later)</p>
<p><img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
</li>
<li>
<p>Create the OmniFocus task. I put "BroderFam" in front so I know where it came from, the name of the task, and the due date. (I manually set the due date when I process my OmniFocus inbox)</p>
<p>In the body, I set urls back to Wunderlist so I can mark the item as done in there as well as in Omnifocus. The first URL is for when I'm on my laptop and want to open the Wunderlist website. The 2nd one is a deep link to the iOS app for when I'm on my phone</p>
<p>Keep note of the assignee ID on the first task that comes in, you'll want it for advanced filtering</p>
<p><img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
</li>
<li>
<p>Test the Zap and turn it on. Now, any task that goes into your list will go to OmniFocus. But, we don't want that. We only want the ones that are assigned to me.</p>
<p>Now that you have the assigneeID from the first task, go back into the Zap and add a custom filter</p>
<p><img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
<p>Also go back in and remove AssigneeID from the body of the task</p>
</li>
</ol>
<p>So, a little bit of double work when marking things as read. But I'm really happy with this system. Let me know in the comments if you have any trouble setting this up and I'll help</p>
]]></content:encoded></item>
<item><title>Workflow 1.3 Brings Powerful Widget, Sync, Health Actions, And More</title><description>I’m even more excited about the ability to read and automate Health data in Workflow and combine the results with actions, custom UIs, and other iOS apps. With a new Find Health Samples action, you can read any Health category where samples match filters that include dates, source, name, and value; this allows you to, say, fetch steps for the last month, calories logged by a specific app, or heart rate from your Apple Watch. Each unit can be grouped, sorted, and limited; once fetched from Health, you can…</description><link>https://timbroder.com/2015/09/workflow-1-3-brings-powerful-widget-sync-health-actions-and-more/</link><guid isPermaLink="false">https://timbroder.com/2015/09/workflow-1.3-brings-powerful-widget,-sync,-health-actions,-and-more</guid><pubDate>Sun, 20 Sep 2015 10:17:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>I’m even more excited about the ability to read and automate Health data in Workflow and combine the results with actions, custom UIs, and other iOS apps.</p>
<p>With a new Find Health Samples action, you can read any Health category where samples match filters that include dates, source, name, and value; this allows you to, say, fetch steps for the last month, calories logged by a specific app, or heart rate from your Apple Watch. Each unit can be grouped, sorted, and limited; once fetched from Health, you can also get additional details of a sample.</p>
</blockquote>
<p>This is cool. I've been meaning to export all of the health data I've been collecting into a few spreadsheets and start picking through it. It's nice to know that there are a number of options available through Workflow to muck with this data</p>
]]></content:encoded></item>
<item><title>Adobe Aims To Bring Photoshop To Mobile Masses With Upcoming App - Cnet</title><description>Photoshop is so well known that the product name is synonymous with photo editing. But the software itself is a success only on personal computers, not smartphones or tablets. Photoshop's maker, Adobe Systems, hopes that will change in October at its Max conference for developers and creative professionals when it introduces a new Photoshop app for editing photos on Apple's iPhones and iPads initially and Android-powered devices later. The free software, called only Project Rigel for now, is designed to…</description><link>https://timbroder.com/2015/09/adobe-aims-to-bring-photoshop-to-mobile-masses-with-upcoming-app-cnet/</link><guid isPermaLink="false">https://timbroder.com/2015/09/adobe-aims-to-bring-photoshop-to-mobile-masses-with-upcoming-app---cnet</guid><pubDate>Sun, 20 Sep 2015 09:32:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>Photoshop is so well known that the product name is synonymous with photo editing. But the software itself is a success only on personal computers, not smartphones or tablets.</p>
<p>Photoshop's maker, Adobe Systems, hopes that will change in October at its Max conference for developers and creative professionals when it introduces a new Photoshop app for editing photos on Apple's iPhones and iPads initially and Android-powered devices later. The free software, called only Project Rigel for now, is designed to bring a more accessible interface to what can be a dauntingly complex program on PCs.</p>
</blockquote>
<p>Click through for full details</p>
]]></content:encoded></item>
<item><title>Threes’ Free Version Doubles Developers’ Profits</title><description>The free version of popular puzzle game Threes has doubled its developers’ profits, as reported by Eurogamer and as Threes developer Asher Vollmer shared in a series of tweets ​</description><link>https://timbroder.com/2015/09/threes-free-version-doubles-developers-profits/</link><guid isPermaLink="false">https://timbroder.com/2015/09/threes’-free-version-doubles-developers’-profits</guid><pubDate>Sat, 19 Sep 2015 15:31:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>The free version of popular puzzle game Threes has doubled its developers’ profits, as reported by Eurogamer and as Threes developer Asher Vollmer shared in a series of tweets</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Spotify'S Latest Trick Is A Personalized Weekly Playlist Of Deep Cuts</title><description>Spotify says the Discover Weekly playlist is built based on the music that you listen to in addition to what other, similar users have been listening to. It’s designed to surface the lesser-known tracks and deep cuts, as opposed to just being a playlist of the most popular songs out right now. It’s available at the top of each user’s Playlist folder. I'm very, very excited about this. That was one feature I thought Apple Music did well. But, I still love my Spotify. Prior to this, the weekly "for you…</description><link>https://timbroder.com/2015/09/spotifys-latest-trick-is-a-personalized-weekly-playlist-of-deep-cuts/</link><guid isPermaLink="false">https://timbroder.com/2015/09/spotify's-latest-trick-is-a-personalized-weekly-playlist-of-deep-cuts</guid><pubDate>Sat, 19 Sep 2015 12:52:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>Spotify says the Discover Weekly playlist is built based on the music that you listen to in addition to what other, similar users have been listening to. It’s designed to surface the lesser-known tracks and deep cuts, as opposed to just being a playlist of the most popular songs out right now. It’s available at the top of each user’s Playlist folder.</p>
</blockquote>
<p>I'm very, very excited about this. That was one feature I thought Apple Music did well. But, I still love my Spotify. Prior to this, the weekly "for you" emails that I got from Spotify were spot on. So happy this is now built right into the app!</p>
]]></content:encoded></item>
<item><title>Uie Article: Themes - A Small Change To Product Roadmaps With Large Effects</title><description>Themes are a Promise to Solve Problems, Not Build Features ​</description><link>https://timbroder.com/2015/09/uie-article-themes-a-small-change-to-product-roadmaps-with-large-effects/</link><guid isPermaLink="false">https://timbroder.com/2015/09/uie-article:-themes---a-small-change-to-product-roadmaps-with-large-effects</guid><pubDate>Thu, 17 Sep 2015 08:33:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>Themes are a Promise to Solve Problems, Not Build Features</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>The Best Place to Order Baby Supplies Online, In Bulk</title><description>We live in an age were BJ's and Costco are no longer the only game in town to get bulk supplies. Many websites are offering very competitive prices to the giant warehouse wholesale clubs. (Thank goodness, those places stress me out). We knew when we had Charlie that joining one of these clubs was probably going to happen. For a while now, I've been seeing subway ads for sites that are going head to head with BJ's and Costco, but with free shipping and without the yearly membership fee. We've been using…</description><link>https://timbroder.com/2015/09/ordering-baby-supplies-online-in-bulk/</link><guid isPermaLink="false">https://timbroder.com/2015/09/ordering-baby-supplies-online-in-bulk</guid><pubDate>Sun, 13 Sep 2015 16:07:00 GMT</pubDate><content:encoded><![CDATA[<p>We live in an age were BJ's and Costco are no longer the only game in town to get bulk supplies. Many websites are offering very competitive prices to the giant warehouse wholesale clubs. <em>(Thank goodness, those places stress me out).</em> We knew when we had Charlie that joining one of these clubs was probably going to happen.</p>
<p>For a while now, I've been seeing subway ads for sites that are going head to head with BJ's and Costco, but with free shipping and without the yearly membership fee. We've been using <a href="http://amzn.to/1KgCanf" title="Amazon Prime">Amazon Prime</a> forever and have always loved it. Very rarely has a package not shown up on time or damaged. We get most of our household items from their <a href="http://amzn.to/1KgCdPY" title="Subscribe &amp; Save">Subscribe &amp; Save</a> program. On some months this lands us 15% off Amazon's already low prices.</p>
<p>I knew there would be a good chance we'd stick with Amazon, but I wanted to check out the other contenders; <a href="http://amzn.to/1KgCYbY" title="Amazon Mom">Amazon Mom</a>, <a href="https://www.boxed.com/" title="Boxed.com">Boxed.com</a>, <a href="http://www.diapers.com/" title="Diapers.com">Diapers.com</a>, and <a href="https://jet.com/" title="Jet.com">Jet.com</a>. My test products were:</p>
<ul>
<li><a href="http://amzn.to/1KgCBhs" title="Pampers Swaddlers Diapers Size 1 Economy Pack Plus 216 Count">Pampers Swaddlers Diapers Size 1 Economy Pack Plus - 216 Count</a></li>
<li><a href="http://amzn.to/1EWiSb0" title="Pampers Sensitive Wipes 13x Multipack, 808 Count">Pampers Sensitive Wipes - 808 Count</a></li>
</ul>
<p>I had high hopes for either Boxed.com who really tout their competitive prices and free shipping over $50. I have a few friends who swore by Diapers.com for their kids. Jet.com was a new player, and technically did have the lowest overall price. But, they have a secret formula that they apply to your cart which lowers the price. I really didn't like not knowing how that worked of if it would change month to month.</p>
<p><img src="https://timbroder.com/images/remote/2015-09-13-ordering-baby-supplies-online-in-bulk/21204183788_3cc3122ec0_o_d.png" alt=""></p>
<p>In the end, Amazon won out. We get our usual 15% off Subscribe &amp; Save the months we receive 5+ items (you play with it and game it a little) Diapers always get 20% off. If you find yourself running low, just hit the "I need it now" button and you will get your next shipment early. Bonus points: We also have an Amazon Credit Card (that is only used at Amazon) for an additional 1-3% cash back. We let this charge up and then every few years buy something nice with it. It's how we got our <a href="http://amzn.to/1KgDOWb" title="Sonos Playbar">Sonos Playbar</a>.</p>
<p>If you are interested in the spreadsheet above, it can be found <a href="http://bit.ly/1KgDzdJ" title="here">here</a></p>
]]></content:encoded></item>
<item><title>Apiary Releases ‘World'S First’ Automated Api Ci Testing Service - The New Stack</title><description>Industrial API Model This reflects Tung’s model which found that in the enterprise, API maturity often begins with an individual use case for an application or workflow which leads to the creation of a specific API within that use case department. But then, over the next six months or so, other parts of the enterprise take similar approaches to pilot projects quickly leading to a chaotic catalog of APIs that have been use-case built without a long term, industrial mindset for the agency’s broader needs…</description><link>https://timbroder.com/2015/08/apiary-releases-worlds-first-automated-api-ci-testing-service-the-new-stack/</link><guid isPermaLink="false">https://timbroder.com/2015/08/apiary-releases-‘world's-first’-automated-api-ci-testing-service---the-new-stack</guid><pubDate>Sat, 22 Aug 2015 10:45:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>Industrial API Model</p>
<p>This reflects Tung’s model which found that in the enterprise, API maturity often begins with an individual use case for an application or workflow which leads to the creation of a specific API within that use case department. But then, over the next six months or so, other parts of the enterprise take similar approaches to pilot projects quickly leading to a chaotic catalog of APIs that have been use-case built without a long term, industrial mindset for the agency’s broader needs. Accenture’s Industrial API model suggests that after the first couple of use cases demonstrate the power and efficacy of APIs, that future design be built using internal standards so that there is common nomenclature and endpoint descriptions for APIs, and that opening data sources and functionality via API is thought of in terms of wider potential uses rather than just a single use case.</p>
</blockquote>
<p>We see this time and time again with our large enterprise clients. They either have one of two things. Hundreds of smaller APIs and services, with heavy overlap of functionality. "If you need this type of data, hit endpoint X, but if you need this one other enrichment field, hit this other endpoint. But that one isn't updated as frequently, so you really need to hit both, and do a merge or something on your end". There were a number of small teams, who needed data or a process, but didn't want to get tied up in a larger department initiative, and be tied to another teams timeline. So, they built their own to very specific use cases</p>
<p>The other case we see a lot, is a large company trying to unify all of their APIs and data, but going about it in the wrong way. They are tying all the systems to a large initiate and building a god system. A project like this usually spans years, and by the time you get to the end of it, the earlier changes are already out of date.</p>
<p>Part of the work we do with clients like this is to get the teams to agree on a unified API language first, then start converting different systems one by one. As we identify overlap, we will role those systems together. That transformation or merging should be transparent to anything consuming from those systems.</p>
<p>We do this for a number of reasons. First and foremost is so we can get user facing changed out faster. Get the new site, or tool public so we can begin testing it against real users. Then, if we need to make UI changes, we aren't locked down to a back office system. That is all behind an API that we helped define, and can assume won't change for a while. We can iterate faster, while the back office systems continue on their slower timelines</p>
]]></content:encoded></item>
<item><title>The Drupal 8 Admin Menu Needs a Fix</title><description>I initially wanted to lead with something like “The Drupal 8 Admin Menu Sucks,” but I remember repeated corrections by one my engineering professors that things don’t suck only blow inwardly. ​ I pulled in the WordPress top and left admin menus to a Drupal 8 module and named it WordPress Menu. Nice. Check it out here</description><link>https://timbroder.com/2015/08/drupal-8-admin-menu-needs-a-fix/</link><guid isPermaLink="false">https://timbroder.com/2015/08/drupal-8-admin-menu-needs-a-fix</guid><pubDate>Fri, 21 Aug 2015 17:07:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>I initially wanted to lead with something like “The Drupal 8 Admin Menu Sucks,” but I remember repeated corrections by one my engineering professors that things don’t suck only blow inwardly.</p>
</blockquote>
<p>​</p>
<blockquote>
<p>I pulled in the WordPress top and left admin menus to a Drupal 8 module and named it WordPress Menu.</p>
</blockquote>
<p>Nice. Check it out <a href="https://github.com/ndevrinc/wpmenu">here</a></p>
]]></content:encoded></item>
<item><title>How Relay Fm Proves That Podcasts Aren’T An Overnight Success</title><description>Just a year later, Relay FM features 16 different shows and delivers 1.5 million episodes every month. A huge congrats to Myke and Stephen. I listen to a lot of the shows on Relay and couldn't be more impressed or happier with the content the network puts out While the number of shows has tripled during Relay FM’s first year, monthly revenue has quadrupled over the same period. ​</description><link>https://timbroder.com/2015/08/how-relay-fm-proves-that-podcasts-arent-an-overnight-success/</link><guid isPermaLink="false">https://timbroder.com/2015/08/how-relay-fm-proves-that-podcasts-aren’t-an-overnight-success</guid><pubDate>Fri, 21 Aug 2015 06:29:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>Just a year later, Relay FM features 16 different shows and delivers 1.5 million episodes every month.</p>
</blockquote>
<p>A huge congrats to Myke and Stephen. I listen to a lot of the shows on Relay and couldn't be more impressed or happier with the content the network puts out</p>
<blockquote>
<p>While the number of shows has tripled during Relay FM’s first year, monthly revenue has quadrupled over the same period.</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Just keep showing up</title><description>Just keep showing up Very inspiring article by my friend, Jess</description><link>https://timbroder.com/2015/08/keep-on-showing-up/</link><guid isPermaLink="false">https://timbroder.com/2015/08/keep-on-showing-up</guid><pubDate>Thu, 20 Aug 2015 10:22:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>Just keep showing up</p>
</blockquote>
<p>Very inspiring article by my friend, <a href="http://twitter.com/jessicalippke">Jess</a></p>
]]></content:encoded></item>
<item><title>Surviving Anxiety, Or, How I Re-Met Adam Culp Today | Remarks</title><description>My running is teaching me two things. One is to “push through” – to go beyond a point when I want to give up short of a goal. The other is to pay attention and take a break when I need it lest I end up hurting myself. ​One day I will write about my anxiety. But not yet I encourage everyone to read Adam’s brief, powerful post. Even if you are not dealing with crushing anxiety, it’s certain that you know someone who is. It’s a terrible thing to experience, and it’s a wonderful thing to be past, though I’m…</description><link>https://timbroder.com/2015/08/surviving-anxiety-or-how-i-re-met-adam-culp-today-remarks/</link><guid isPermaLink="false">https://timbroder.com/2015/08/surviving-anxiety,-or,-how-i-re-met-adam-culp-today-|-remarks</guid><pubDate>Tue, 18 Aug 2015 06:44:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>My running is teaching me two things. One is to “push through” – to go beyond a point when I want to give up short of a goal. The other is to pay attention and take a break when I need it lest I end up hurting myself.</p>
</blockquote>
<p>​One day I will write about my anxiety. But not yet</p>
<blockquote>
<p>I encourage everyone to read Adam’s brief, powerful&nbsp;post. Even if you are not dealing with crushing anxiety, it’s certain that you know someone who is. It’s a terrible thing to experience, and it’s a wonderful thing to be past, though I’m always worried that it’s waiting for me in the wings – one never fully recovers from it, I suspect.</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Cushion - From Beta To Launch - The Subdomain</title><description>When I started Cushion, I knew I wanted to keep the marketing website and the web app separate. I’ve worked on apps in the past where the marketing site is baked into the app code, so any change—even a typo—required a deploy of the entire app. This approach would make me think twice about updating the marketing site—it turned a simple task into a daunting one. Because of this experience, I deliberately separated the two, hosting the marketing site at the root domain while the app lived on a subdomain…</description><link>https://timbroder.com/2015/08/cushion-from-beta-to-launch-the-subdomain/</link><guid isPermaLink="false">https://timbroder.com/2015/08/cushion---from-beta-to-launch---the-subdomain</guid><pubDate>Tue, 18 Aug 2015 06:33:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>When I started Cushion, I knew I wanted to keep the marketing website and the web app separate. I’ve worked on apps in the past where the marketing site is baked into the app code, so any change—even a typo—required a deploy of the entire app. This approach would make me think twice about updating the marketing site—it turned a simple task into a daunting one. Because of this experience, I deliberately separated the two, hosting the marketing site at the root domain while the app lived on a subdomain</p>
</blockquote>
<p>Separation of concerns. This is a good idea. Curious about SEO implications though</p>
<blockquote>
<p>Someone suggested get.cushionapp.com when I was looking for subdomain suggestions, but I dismissed it. I’m not a fan of the “get” prefix when you’ve already signed up for the app, but “get” does make sense for the sign up process, though.</p>
<p>At the time, I was also wrapping up the referral system for Cushion. Once I considered get.cushionapp.com, everything became crystal clear. I would use get.cushionapp.com for the sign up page, and the referral links could be get.cushionapp.com/REFERRAL_CODE. Now, the “get” prefix makes sense and reads well, too—“get cushion app”.</p>
<p>I couldn’t be happier with the combination of get.cushionapp.com and my.cushionapp.com. The simplicity and casual feel matches perfectly with the tone I’ve been trying to convey with Cushion. Everything seems to be falling into place, and I’m so relieved to finally be over the hurdle of this transition. Cushion has officially graduated and I’m so excited to see where it goes next.</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Things I'Ve Quit Doing At My Desk</title><description>In reality, we do all sorts of things at our desks that aren’t real work (or affect our ability to produce our best work). ​We do do a lot at our desks. It's interesting though how much of "work" has spilled onto our other devices. At least during the day I'm in outlook and Omnifocus on my phone. When I have 1:1s with my directs, I bring my iPad with Omnifocus to review goals or notes I've kept track of Thinking: Nobody does their best thinking sitting at their desk. I do my best thinking in the shower at…</description><link>https://timbroder.com/2015/08/things-ive-quit-doing-at-my-desk/</link><guid isPermaLink="false">https://timbroder.com/2015/08/things-i've-quit-doing-at-my-desk</guid><pubDate>Sun, 16 Aug 2015 21:00:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>In reality, we do all sorts of things at our desks that aren’t real work (or affect our ability to produce our best work).</p>
</blockquote>
<p>​We do do a lot at our desks. It's interesting though how much of "work" has spilled onto our other devices. At least during the day I'm in outlook and Omnifocus on my phone. When I have 1:1s with my directs, I bring my iPad with Omnifocus to review goals or notes I've kept track of</p>
<blockquote>
<p>Thinking: Nobody does their best thinking sitting at their desk.</p>
</blockquote>
<p>I do my best thinking in the shower at home. I've had sooooo many epiphanies over the years in the shower. Either brand new ideas or some problem that may have had me stumped for days.</p>
<p>I think it's the sensory deprivation. There's nothing to distract you, your mind is free to wander, and there is plenty of ambient noise. Sing if it helps!</p>
<p>This doesn't work as well for me in the shower at the gym. I'm usually rushing to let the next people in or to get to work, and the water temperature is usually lukewarm or cold to help me cool down. Anything I can help to do stop my sweating before work.</p>
<blockquote>
<p>Socializing</p>
</blockquote>
<p>I think a standing desk hurts me on this regard. I notice that more people come up to me to chit chat than if my desk is down and I'm sitting</p>
]]></content:encoded></item>
<item><title>When Our Blog Became A Business - $2,000 From One Post</title><description>If I lacked passion or expertise I think my wife’s readers would be able to see right through it. Readers are smart; they know when you don’t care, and they know when you don’t know what you’re talking about. Don’t fake it. ​Hmm. Should I try a daddy blog? With nerdery, tech, and productivity? It’s tough building your thing online. ​</description><link>https://timbroder.com/2015/08/when-our-blog-became-a-business-2-000-from-one-post/</link><guid isPermaLink="false">https://timbroder.com/2015/08/when-our-blog-became-a-business---$2,000-from-one-post</guid><pubDate>Sun, 16 Aug 2015 20:52:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>If I lacked passion or expertise I think my wife’s readers would be able to see right through it. Readers are smart; they know when you don’t care, and they know when you don’t know what you’re talking about. Don’t fake it.</p>
</blockquote>
<p>​Hmm. Should I try a daddy blog? With nerdery, tech, and productivity?</p>
<blockquote>
<p>It’s tough building your thing online.</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Gitlab: Almost Everything We Do Will Be Open</title><description>Today we’re announcing a move from doing the majority of our development work internally, to almost exclusively working in public issue trackers on GitLab.com. This means that anyone can view and comment on all of our discussion and work. This includes bugs, new features, performance issues and everything else that relates to our products. Awesome. We use Gitlab for our source control at work and I couldn't be happier to see this. We were not working in the open as a true open source project should. ​</description><link>https://timbroder.com/2015/08/gitlab/</link><guid isPermaLink="false">https://timbroder.com/2015/08/gitlab</guid><pubDate>Fri, 07 Aug 2015 17:01:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>Today we’re announcing a move from doing the majority of our development work internally, to almost exclusively working in public issue trackers on GitLab.com. This means that anyone can view and comment on all of our discussion and work. This includes bugs, new features, performance issues and everything else that relates to our products.</p>
</blockquote>
<p>Awesome. We use Gitlab for our source control at <a href="http://alexanderinteractive.com">work</a> and I couldn't be happier to see this.</p>
<blockquote>
<p>We were not working in the open as a true open source project should.</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Open Sourcing Energy - Artsy Engineering</title><description>It’s worth mentioning that we don’t just talk externally about Open Source. Internally, the Mobile team runs talks about Open Source for the rest of the Artsy staff. As well, we discuss the tooling and business implications of having our work in public repos. Artsy strives for an open culture, in this case the development team, on the whole, is just further along in the process. A great read about Artsy's open source culture</description><link>https://timbroder.com/2015/08/open-sourcing-energy-artsy-engineering/</link><guid isPermaLink="false">https://timbroder.com/2015/08/open-sourcing-energy---artsy-engineering</guid><pubDate>Fri, 07 Aug 2015 17:00:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>It’s worth mentioning that we don’t just talk externally about Open Source. Internally, the Mobile team runs talks about Open Source for the rest of the Artsy staff. As well, we discuss the tooling and business implications of having our work in public repos. Artsy strives for an open culture, in this case the development team, on the whole, is just further along in the process.</p>
</blockquote>
<p>A great read about Artsy's open source culture</p>
]]></content:encoded></item>
<item><title>Cutting Back</title><description>I actually treated a vacation like a vacation but I fully expected to be stuck attending to work, checking RSS, and the like. Turns out it was kind of... nice? I think I'm pretty good about doing this. Work email and calendar are deleted from my phone when I go on vacation. If there is a true emergency, I'll get a text or a phone call. Vacations are important. You need to recharge, you need a mental break. Give your mind some rest. This is especially important from work, but other things as well. On as many…</description><link>https://timbroder.com/2015/08/cutting-back/</link><guid isPermaLink="false">https://timbroder.com/2015/08/cutting-back</guid><pubDate>Thu, 06 Aug 2015 09:31:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>I actually treated a vacation like a vacation but I fully expected to be stuck attending to work, checking RSS, and the like. Turns out it was kind of... nice?</p>
</blockquote>
<p>I think I'm pretty good about doing this. Work email and calendar are deleted from my phone when I go on vacation. If there is a true emergency, I'll get a text or a phone call.</p>
<p>Vacations are important. You need to recharge, you need a mental break. Give your mind some rest.</p>
<p>This is especially important from work, but other things as well.</p>
<p>On as many vacations as I can (especially beach ones) I'll go into "no devices mode". No phone, tablet, TV. just books. My Kindle gets a pass. Sometimes. Others I'll grab some library books. On vacation to Italy last year, I made an exception with Instapaper. I shouldn't have. Our train rides became about getting through as much Instapaper as possible instead of a relaxing read or enjoying the countryside</p>
<blockquote>
<p>There is more new stuff on the internet that I'd like to be a part of than I have hours in the day to participate.</p>
</blockquote>
<p>Yeeeeeah</p>
<blockquote>
<p>It's been a long time since I had to accept that I won't be able to take it all in. Still, I try.</p>
</blockquote>
<p>I do too. There are more tweets, RSS/Instapaper articles, and podcasts than I can keep up with. I want t,o but let's be realistic. I read Twitter as a completionist or I've been known to take a week or even a month off. For RSS and Instapaper I mark everything as read twice a year; On New Years and my birthday. My podcasts I should really prune. Some I listen every week, some I cherry pick. I think I need less that I want to listen to every episode</p>
<blockquote>
<p>The hard part about letting go of my fear of missing out is the process of falling behind</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Invalid predicate when filtering CKRecords by the same keys?</title><description>Originally posted on StackOverflow I have a CKRecord type "Follow" which stores the user's ID and the ID of a friend they follow. (Assume that a user can only follow 1 person and the logic around that is handled elsewhere). Screenshot of record definition in CloudKit  I want to query the Follow records to confirm that two users follow each other and are in fact, friends. These are the base queries. Each works fine on it's own I want to combine these two predicates and query once, so that if two records come…</description><link>https://timbroder.com/2015/08/invalid-predicate-when-filtering-ckrecords-by-the-same-keys/</link><guid isPermaLink="false">https://timbroder.com/2015/08/invalid-predicate-when-filtering-CKRecords-by-the-same-keys</guid><pubDate>Sat, 01 Aug 2015 20:19:00 GMT</pubDate><content:encoded><![CDATA[<p>Originally posted on <a href="http://stackoverflow.com/questions/31441807/invalid-predicate-when-filtering-ckrecords-by-the-same-keys" title="StackOverflow">StackOverflow</a></p>
<p>I have a CKRecord type "Follow" which stores the user's ID and the ID of a friend they follow. (Assume that a user can only follow 1 person and the logic around that is handled elsewhere).</p>
<p>Screenshot of record definition in CloudKit</p>
<p><img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
<p>I want to query the Follow records to confirm that two users follow each other and are in fact, friends.</p>
<p>These are the base queries. Each works fine on it's own</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="swift"><code><span class="line"><span style="color:#fa4f8d">let</span><span style="color:#F8F8F2"> followPredicate </span><span style="color:#fa4f8d">=</span><span style="color:#66D9EF"> NSPredicate</span><span style="color:#F8F8F2">(</span><span style="color:#66D9EF">format</span><span style="color:#F8F8F2">: </span><span style="color:#E6DB74">"userID == %@ AND followsID == %@"</span><span style="color:#F8F8F2">, userId, followsID)</span></span>
<span class="line"><span style="color:#fa4f8d">let</span><span style="color:#F8F8F2"> followedPredicate </span><span style="color:#fa4f8d">=</span><span style="color:#66D9EF"> NSPredicate</span><span style="color:#F8F8F2">(</span><span style="color:#66D9EF">format</span><span style="color:#F8F8F2">: </span><span style="color:#E6DB74">"followsID == %@ AND userID == %@"</span><span style="color:#F8F8F2">, userId, followsID)</span></span></code></pre>
<p>I want to combine these two predicates and query once, so that if two records come back, it's assumed that the different users follow each other</p>
<p>I've tried to combine them both manually and by using a NSCompoundPredicate:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="swift"><code><span class="line"><span style="color:#fa4f8d">let</span><span style="color:#F8F8F2"> friendPredicate </span><span style="color:#fa4f8d">=</span><span style="color:#66D9EF"> NSCompoundPredicate</span><span style="color:#F8F8F2">(</span><span style="color:#66D9EF">type</span><span style="color:#F8F8F2">: NSCompoundPredicateType.OrPredicateType, </span><span style="color:#66D9EF">subpredicates</span><span style="color:#F8F8F2">: [followPredicate, followedPredicate])</span></span>
<span class="line"><span style="color:#fa4f8d">let</span><span style="color:#F8F8F2"> friendPredicate </span><span style="color:#fa4f8d">=</span><span style="color:#66D9EF"> NSPredicate</span><span style="color:#F8F8F2">(</span><span style="color:#66D9EF">format</span><span style="color:#F8F8F2">: </span><span style="color:#E6DB74">"(followsID == %@ AND userID == %@) OR (userID == %@ AND followsID == %@)"</span><span style="color:#F8F8F2">, userId, followsID, userId, followsID)</span></span></code></pre>
<p>I then use the query here:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="swift"><code><span class="line"><span style="color:#fa4f8d">let</span><span style="color:#F8F8F2"> friendQuery </span><span style="color:#fa4f8d">=</span><span style="color:#66D9EF"> CKQuery</span><span style="color:#F8F8F2">(</span><span style="color:#66D9EF">recordType</span><span style="color:#F8F8F2">: </span><span style="color:#E6DB74">"Follow"</span><span style="color:#F8F8F2">, </span><span style="color:#66D9EF">predicate</span><span style="color:#F8F8F2">: friendPredicate)</span></span></code></pre>
<p>In both versions of friendPredicate above, I get an Invalid Predicate Exception.</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="plaintext"><code><span class="line"><span>*** Terminating app due to uncaught exception 'CKException', reason: 'Invalid predicate: (userID == "_1570bb2652d0658c12320bcd658e5898" AND followsID ==</span></span>
<span class="line"><span>"_fb7ebeb0841f6411099ad094424d66ac") OR (followsID == </span></span>
<span class="line"><span>"_1570bb2652d0658c12320bcd658e5898" AND userID == </span></span>
<span class="line"><span>"_fb7ebeb0841f6411099ad094424d66ac") </span></span>
<span class="line"><span>(Error Domain=CKErrorDomain Code=12 "Invalid predicate (userID == </span></span>
<span class="line"><span>"_1570bb2652d0658c12320bcd658e5898" AND followsID == </span></span>
<span class="line"><span>"_fb7ebeb0841f6411099ad094424d66ac") OR (followsID == </span></span>
<span class="line"><span>"_1570bb2652d0658c12320bcd658e5898" AND userID == </span></span>
<span class="line"><span>"_fb7ebeb0841f6411099ad094424d66ac")" </span></span>
<span class="line"><span>UserInfo=0x14e63010 {ck_isComparisonError=false, </span></span>
<span class="line"><span>NSLocalizedDescription=Invalid predicate (userID == </span></span>
<span class="line"><span>"_1570bb2652d0658c12320bcd658e5898" AND followsID == </span></span>
<span class="line"><span>"_fb7ebeb0841f6411099ad094424d66ac") OR (followsID == </span></span>
<span class="line"><span>"_1570bb2652d0658c12320bcd658e5898" AND userID == </span></span>
<span class="line"><span>"_fb7ebeb0841f6411099ad094424d66ac")})'</span></span></code></pre>
<p><em>Am I approaching this wrong or making an invalid assumption?
Any help is much appreciated</em></p>
]]></content:encoded></item>
<item><title>World'S Best Whisky Is Being Sent To Age In Space</title><description>will send six samples of its whiskies and other alcohols to the International Space Station (ISS) next month, in order to observe the effects of zero-gravity on the aging process. ​ The first samples will return to Earth after one year, while the other group of samples will remain aboard the ISS for at least two years. Unfortunately, there are no plans to sell the drinks once they come back to Earth. Bummer &#128533;&#127865;</description><link>https://timbroder.com/2015/07/worlds-best-whisky-is-being-sent-to-age-in-space/</link><guid isPermaLink="false">https://timbroder.com/2015/07/world's-best-whisky-is-being-sent-to-age-in-space</guid><pubDate>Fri, 31 Jul 2015 09:38:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>will send six samples of its whiskies and other alcohols to the International Space Station (ISS) next month, in order to observe the effects of zero-gravity on the aging process.</p>
</blockquote>
<p>​</p>
<blockquote>
<p>The first samples will return to Earth after one year, while the other group of samples will remain aboard the ISS for at least two years. Unfortunately, there are no plans to sell the drinks once they come back to Earth.</p>
</blockquote>
<p>Bummer 😕🍹</p>
]]></content:encoded></item>
<item><title>When To Give Up Trying To Start A New Habit</title><description>For me being active is like meditation, a daily ritual that keeps me sane amid the chaos of my life. Without it I feel weak, lethargic and a little depressed. This very much holds true for me. There was a period of time a few months ago where the gym I was going to closed for renovations. I thought I could keep up with my activity at home. I planned on running, doing FitStar or Yoga from my phone, and doing kettle bell work. For the most part I stuck with this. But only in a certain sense. Yes I was going…</description><link>https://timbroder.com/2015/07/when-to-give-up-trying-to-start-a-new-habit/</link><guid isPermaLink="false">https://timbroder.com/2015/07/when-to-give-up-trying-to-start-a-new-habit</guid><pubDate>Thu, 30 Jul 2015 11:19:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>For me being active is like meditation, a daily ritual that keeps me sane amid the chaos of my life. Without it I feel weak, lethargic and a little depressed.</p>
</blockquote>
<p>This very much holds true for me. There was a period of time a few months ago where the gym I was going to closed for renovations. I thought I could keep up with my activity at home. I planned on running, doing <a href="https://itunes.apple.com/us/app/fitstar-personal-trainer-burn/id535640259?mt=8&amp;at=11laRZ&amp;ct=Wflw6" title="%fill:name%">FitStar</a> or <a href="https://itunes.apple.com/us/app/yoga-studio/id567767430?mt=8&amp;at=11laRZ&amp;ct=Wflw6" title="%fill:name%">Yoga</a> from my phone, and doing kettle bell work. For the most part I stuck with this. But only in a certain sense. Yes I was going for runs. But not as hard as I should have. Yes, I was doing FitStar, but wasn't getting my heart rate up enough. I slacked on the kettle bell work. None of this had me lifting heavy or getting my hear rate through the roof.  (I need both of these for stress relief)</p>
<p>It eventually had an effect on me. I became more stressed and depressed. It was harder to get up for my early alarm to try to be active before work. (I can't work out after work. I either don't have time, am exhausted, or want to go spend time with my family or TV).</p>
<p>I should have seen this coming. I wish I had but I didn't.</p>
<p>Part of this is the social aspect of the gym. I've been training with the same group of people for almost 6 years. Seeing them in the morning and shooting the shit is a strong part of my week. We've become close friends. Having that missing also contributed to my negative mood</p>
<p>After a while I stared realizing that our gym wasn't going to reopen. That I was using that as an excuse to not find a new gym. We had talked about it but were all lethargic about pulling the trigger. One weekend I couldn't take it anymore. "I need to lift something". I texted a few people and we did a drop in at a new gym that Monday. The facility is ok, the people are great, and the programming is fantastic. We've re-upped our membership and I'm very happy to be pushing myself again</p>
<p>Paternity leave threw a little bit of a wrench into this. I knew it was coming and knew I would have to find a gym close to home. (I train in the city near where I work). I found one close by. It's not one I would join full time, but it's great for a stop gap during leave/vacation or the odd weekend. I've only gone once a week (setting an alarm with a new born is risky. Yes I acknowledge that I'm using that as an excuse and should have sucked it up a lot more). I've also been running and last week did the first longer run in over a year. I'm in week 4 and I'm starting to feel like I really, really need to lift something. But, next week I'm back in the saddle with work, and will be re-joining my friends at our new gym</p>
<blockquote>
<p>Giving up on something you have previously committed to isn’t an easy thing to do. It can feel like failure or defeat. But sometimes giving up your goal is the smartest thing to do. Sometimes the cost of achieving it isn’t worth the price of admission.</p>
</blockquote>
<p>​Continue reading at <a href="http://summertomato.com/when-to-give-up-trying-to-start-a-new-habit/" title="%fill:name%">summertomatoe</a></p>
]]></content:encoded></item>
<item><title>Git 2.5, Including Multiple Worktrees And Triangular Workflows</title><description>Git 2.5 has been released with worktrees, better triangular workflows, and performance enhancements. Read GitHub's take on it here The new Git subcommand git worktree creates additional working trees connected to an existing Git repository [1]. Each linked working tree is a pseudo-repository with its own checked-out working copy. Its .git is actually a file that refers to the history and references from the main repository Nice. This is Git's solution to having multiple clones for different long running…</description><link>https://timbroder.com/2015/07/git-2-5-including-multiple-worktrees-and-triangular-workflows/</link><guid isPermaLink="false">https://timbroder.com/2015/07/git-2.5,-including-multiple-worktrees-and-triangular-workflows</guid><pubDate>Thu, 30 Jul 2015 10:26:00 GMT</pubDate><content:encoded><![CDATA[<p>Git 2.5 has been released with worktrees, better triangular workflows, and performance enhancements. Read GitHub's take on it <a href="https://github.com/blog/2042-git-2-5-including-multiple-worktrees-and-triangular-workflows" title="%fill:name%">here</a></p>
<blockquote>
<p>The new Git subcommand git worktree creates additional working trees connected to an existing Git repository [1]. Each linked working tree is a pseudo-repository with its own checked-out working copy. Its .git is actually a file that refers to the history and references from the main repository</p>
</blockquote>
<p>Nice. This is Git's solution to having multiple clones for different long running streams. I do this more often than I thought</p>
<blockquote>
<p>Git has many features that support triangular workflows, but it’s sometimes hard to see how to use them together in real life. Let’s take a closer look at triangular workflows, including the new command line shorthand <reference>@{push} that was added in Git 2.5.</reference></p>
</blockquote>
<p>This is neat. It might take me a little while to adopt this. The existing flow works well for me</p>
]]></content:encoded></item>
<item><title>How To Remember Tar Flags</title><description>how to remember tar flags &#127887; tar -xzf &#128072; eXtract Ze Files! tar -czf &#128072; Compress Ze Files! via @_tessr</description><link>https://timbroder.com/2015/07/how-to-remember-tar-flags/</link><guid isPermaLink="false">https://timbroder.com/2015/07/how-to-remember-tar-flags</guid><pubDate>Tue, 28 Jul 2015 17:43:00 GMT</pubDate><content:encoded><![CDATA[<p>how to remember tar flags 🎏</p>
<p>tar -xzf 👈 eXtract Ze Files!</p>
<p>tar -czf 👈 Compress Ze Files!</p>
<p>via <a href="https://twitter.com/_tessr/status/626076327133577216" title="%fill:name%">@_tessr</a></p>
]]></content:encoded></item>
<item><title>Recent Omnifocus Reading and Things I Want to Try</title><description>I've been doing some reading on Omnifocus over the past few days. I've also purchased David Allen's new GTD Book. Below are pieces of interest that I've found along with brief commentary on things I want to try. I use Omnifocus heavily for both iOS and Mac A New Strategy for the Omnifocus Widget Flags were always a part of Omnifocus that I didn't find much use for. So I was delighted to discover this unique strategy in making good use of them in a way that doesn't confuse but rather compliments my workflow…</description><link>https://timbroder.com/2015/07/recent-omnifocus-reading/</link><guid isPermaLink="false">https://timbroder.com/2015/07/recent-omnifocus-reading</guid><pubDate>Tue, 28 Jul 2015 15:56:00 GMT</pubDate><content:encoded><![CDATA[<p>I've been doing some reading on Omnifocus over the past few days. I've also purchased David Allen's new <a href="http://amzn.to/1IDjHqq" title="GTD Book">GTD Book</a>. Below are pieces of interest that I've found along with brief commentary on things I want to try.</p>
<p>I use Omnifocus heavily for both <a href="http://apple.co/1CHgCmI" title="iOS">iOS</a> and <a href="http://apple.co/1euWetx" title="Mac">Mac</a></p>
<h2 id="a-new-strategy-for-the-omnifocus-widget"><a href="http://tekside.net/gtdjedi/2015/6/14/a-new-strategy-for-the-omnifocus-widget">A New Strategy for the Omnifocus Widget</a></h2>
<blockquote>
<p>Flags were always a part of Omnifocus that I didn't find much use for. So I was delighted to discover this unique strategy in making good use of them in a way that doesn't confuse but rather compliments my workflow. I have reserved the use of flags for today's tasks of priority. It allows me to make sure that the things I must get done today don't get lost in the the massive amount of stuff I am keeping up with at one time. Omnifocus allows for up to 4 tasks to be displayed in the widget. Any more and you will have to go back into the app to view those additional tasks. So my regimen now is just to simply review my forecasted due and overdue tasks and select up to 4 of the highest priority and flag them.</p>
</blockquote>
<p>This is a very good and interesting idea. I've upgraded to OmniFocus pro on my laptop but haven't yet taken the plunge on my iPhone. While I do use custom perspectives on my Mac I don't immediately need them with me at all times though. I really like what Clay has set up though. It might be time.</p>
<h2 id="omnifocus-video-field-guide"><a href="http://macsparky.com/omnifocus/">OmniFocus Video Field Guide</a></h2>
<blockquote>
<p>The OmniFocus Video Field Guide is a screencast, not a book. A lot of people have asked me to write a book about OmniFocus but instead I made this 2.5 hour video that takes you, soup to nuts, through the Omni Group's supremely bad-ass task manager. The screencast can turn an OmniFocus novice into a task-managing ninja.</p>
</blockquote>
<p>I'm about halfway through this video and it is well worth the $10</p>
<h3 id="my-omnifocus-habits---four-years-later"><a href="http://tyler.io/2014/11/my-omnifocus-habits-four-years-later/">My OmniFocus Habits - Four Years Later</a></h3>
<blockquote>
<p>Personal
Tandum (my day job)
Freelance (my side business)</p>
</blockquote>
<p>This setup would fit well for me. Freelance would be Taco23 (I don't have the time to Freelance these days. Taco is for fun/profit and a good creative outlet for me)</p>
<blockquote>
<p>And that’s one of the key lessons I’ve learned as my use of OmniFocus has evolved. Don’t feel like everything has to fit into a neat, pre-existing category. Don’t artificially restrict yourself. Feel free to let things land wherever makes sense to you.</p>
</blockquote>
<blockquote>
<p>The final folder is for template projects. These are projects that have many steps and frequently repeat. Instead of recreating the project from scratch each time, I create it one time and place it on hold. Then, whenever that project occurs, I can drag a copy of it into one of my active folders.</p>
</blockquote>
<p>This is nice. I need to do this for employee onboarding and new projects (steps which should also be on our Wiki)</p>
<blockquote>
<p>One rule of thumb I’ve learned the hard way is to never nest folders. Folders within folders just lead to a world of hurt and cognitive load. I’ve found it’s best to keep as flat a hierarchy as possible. Your milage may vary of course.</p>
</blockquote>
<p>Interesting. I do this</p>
<blockquote>
<p>But after re-reading Getting Things Done last year, I came to the realization that most of my tasks are bounded not by what tools I have available, but by my energy level.</p>
</blockquote>
<p>Very interesting. I'm glad I picked up GTD to read</p>
<blockquote>
<p>You’ll also notice I have on-hold contexts for tasks that other people owe me. I wrote in detail about how I manage the relationships between tasks and other people a few weeks ag</p>
</blockquote>
<p>Ooo!</p>
<blockquote>
<p>The biggest and best improvement I made to my daily workflow was to codify my morning routine for picking what I’m going to work on that day. (In fact, a big part of determining what to work on each day was simply realizing I need to a concrete series of repeatable steps for choosing my day’s tasks.)</p>
</blockquote>
<p>I want to start doing this. This is how I should start my day vs looking at a mountain of email</p>
<h2 id="embracing-contexts-and-perspectives-in-omnifocus-pro--greetings-from-the-grid"><a href="http://sethclifford.me/2015/05/embracing-contexts-and-perspectives-in-omnifocus-pro/">Embracing contexts and perspectives in OmniFocus Pro. | Greetings from the Grid</a></h2>
<blockquote>
<p>I manage everything in OmniFocus. Personal tasks, work projects, home renovations, writing activities, et. al. I have tightly organized project structures, but feel that I need to focus on critical tasks in specific scenarios, e.g., I don’t need to know that the trash goes out tonight if I’m standing in my office.</p>
</blockquote>
<p>Same. For me, add chores, HoneyDo, code ideas, tasks for sore code projects, department ideas, items to talk to employees about at 1:1s</p>
<blockquote>
<p>I’d avoided, namely flagged items and defer dates. I’ve used contexts selectively in the past, but never managed to make them really stick.</p>
</blockquote>
<p>Reading this early in this post was exciting. I've avoided contexts and deferring. It's interesting to see how others are using them</p>
<blockquote>
<p>First, I created three new contexts: “9am-5pm”, “5pm-9am”, and “Weekend”.</p>
</blockquote>
<p>I'm not sure if this would work for me. I always work some hours outside of 9-5. Usually 8-6 or 7. I feel like this arbitrary bounds on "work" would stress me out if I was at work outside of the "rule". I think I'd rather do: work, home, taco</p>
<blockquote>
<p>I also made the decision to start using flagged tasks to indicate dated or undated tasks that require a follow up activity either on my part or the part of someone else. (Some people use a “Waiting” context for things like this, but I could never make that stick either.)</p>
</blockquote>
<p>"Waiting" feels more natural to me</p>
<blockquote>
<p>Location is a modifier on time</p>
</blockquote>
<p>I could see the reverse of this being true as well</p>
<h2 id="assigning-relationships-between-tasks-and-people-in-omnifocus"><a href="http://tyler.io/assigning-relationships-between-tasks-and-people-in-omnifocus/">Assigning Relationships Between Tasks and People in OmniFocus</a></h2>
<blockquote>
<p>Number one, tasks assigned to another person, can be handled as mentioned above by giving the task a context corresponding to the name of the person it’s assigned to. So, if I’m waiting on Jeff to complete a design document, I’d give that task an on-hold context of “Jeff”. This lets me quickly filter tasks that Jeff owes me whenever I run into him. Great. I’ve been doing this for years.</p>
</blockquote>
<p>I can't wait to start doing this.  Check the rest of the post for ideas on tracking tasks you are sharing with another person and tracking ones you are doing for something else</p>
<h2 id="one-concrete-action"><a href="http://tyler.io/one-concrete-action/">One Concrete Action</a></h2>
<blockquote>
<p>None of that would have happened if I had spent much time looking at my ever growing todo list. I would have been too overwhelmed. Instead, I’ve been making progress on all of my areas of responsibility by way of one simple trick.</p>
<p>Every day, no matter how small, I open up OmniFocus and find one concrete action I can take that will move me closer towards one of my goals.</p>
</blockquote>
<h2 id="meetings-awesomeness-and-potential-bodily-harm-an-omnifocus-story---relative-sanity"><a href="http://www.relativesanity.com/articles/a-seemingly-empty-room">Meetings, awesomeness and potential bodily harm: an OmniFocus story - Relative Sanity</a></h2>
<blockquote>
<p>But how on earth do I manage hundreds of contexts? The long answer is another article, but the quick answer is that I don't. I let OmniFocus do it for me.</p>
</blockquote>
<h2 id="a-new-context"><a href="https://brooksreview.net/2015/06/a-new-context/">A New Context</a></h2>
<blockquote>
<p>Urgency in and of itself is not a problem. The problem is when we find ourselves craving projects, work environments, and scenarios where there is a fire to put out. And thus we never have the time to do the important task which doesn’t have to be done today</p>
</blockquote>
<p>🔥🔥🔥</p>
<blockquote>
<p>I hadn’t touched my contexts inside of OmniFocus in, well, years. There was a ton of cruft in there stemming from various different techniques and ideas that I have tried over the years. Device based context, person based context, time based contexts, and location based contexts. For the better part of a year, all of my new tasks in OmniFocus simply went under the Mac context and — well — that’s not really using the tool very well.</p>
</blockquote>
<blockquote>
<p>All of a sudden it clicked: I should just have two contexts. One would be Urgent and the other would be Important.</p>
</blockquote>
<p>O_o</p>
<blockquote>
<p>Obviously that was rather ambitious, but I took my 30+ contexts and whittled them down to just six: Important, Urgent, Goal, Writing, Minutiae, and Waiting.</p>
</blockquote>
<h2 id="from-omnifocus-to-evernote"><a href="http://www.speirs.org/blog/2012/9/15/from-omnifocus-to-evernote.html">From OmniFocus to Evernote</a></h2>
<blockquote>
<p>I eventually figured out what it was: with the move to mobile devices, ubiquitous internet and functional data syncing, contexts have disappeared for me.</p>
<p>In the olden days, there were contexts. There was online and offline. There was work and there was home. I used to actually go to these places called shops. These locations and phases of the day were distinct and the affordances of each place were different.</p>
</blockquote>
<p>​</p>
<h2 id="getting-things-done---inside-omnifocus"><a href="http://inside.omnifocus.com/gtd">Getting Things Done® - Inside OmniFocus</a></h2>
<blockquote>
<p>One other thing to consider: can you do it, or does it require someone elses action? If someone else: delegate it. Send them an email right then, or create an action to “Email Brian about this one thing.”</p>
</blockquote>
<p>Yessss</p>
<blockquote>
<p>Review</p>
<p>Reviewing is a key facet of GTD® that keeps everything going smoothly. In short, we’re periodically looking over projects and making some considerations.</p>
<p>The GTD Weekly Review® is just that: weekly. And it should do three big things:</p>
<p>Get Clear
Did your desk get physically full over the past week? Clear it out. Scan in new items or type in notes so that you can file all of that clutter away.
Get your Inbox to zero
Now that you’ve just added to your Inbox, process it.
Empty your head
Anything else that needs to come out? Take the time to do a brain dump, like we did at the beginning, to make room for the next week.</p>
</blockquote>
<p>I need to do this regularly</p>
<blockquote>
<p>Then, we’ll get current. To get current, review each project and action list. Consider these questions.</p>
<p>Do I need to add a new first step?
Is the first action action-able enough?
Does this project represent your goals?
Should I still be worrying about it, or should I drop it?
Does the metadata represent what you want?
Could you defer it? Should you set a flag for higher priority?
Are my Waiting-For lists actionable yet?
Has anyone emailed you? Should you check back on an unanswered email?</p>
</blockquote>
<blockquote>
<p>You can toggle specific calendars by using the View Popover in the toolbar.</p>
<p>And let’s say it’s the end of the day on Thursday, but you still have a few more things to do for the week. In the Forecast view, you can drag from 1 day to another—using the minicalendar—to reschedule, or modify the Due Date. Holding down the Command key will instead modify the Defer Date. Holding down both the Command and Option key will change both.</p>
</blockquote>
<p>Sweet. Did not know this</p>
<blockquote>
<p>Resources</p>
<p>Delegation</p>
<p>Listening</p>
<p>Intro to GTD and the following episodes on the Back to Work podcast. Merlin Mann &amp; Dan Benjamin.
OmniFocus &amp; GTD by Kelly Forrester at the David Allen Company.
Preneurcast 025: Getting Things Done With OmniFocus.</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>The Best Apps for New Dads</title><description>I posted over on TekSide: We have a newborn named Charlie. He's 2 weeks old so I'm no expert on being a Dad, but there have been a few apps the have been extremely helpful throughout the whole process. I tried a number of apps with tips, data entry, tools, and other functions, but these are the ones that stuck. As always, my iPhone is constantly by my side and I couldn't imagine going through pregnancy, labor, or fatherhood without them. Who's Your Daddy? The Pregnancy Guide for First Time Dads As soon as…</description><link>https://timbroder.com/2015/07/best-apps-for-new-dads/</link><guid isPermaLink="false">https://timbroder.com/2015/07/best-apps-for-new-dads</guid><pubDate>Mon, 27 Jul 2015 12:32:00 GMT</pubDate><content:encoded><![CDATA[<p>I posted over on <a href="http://tekside.net/iphonaddict/2015/7/15/the-best-apps-for-new-dads" title="TekSide">TekSide</a>:</p>
<p>We have a newborn named <a href="https://twitter.com/timothybroder/status/617041906040762368" title="Charlie">Charlie</a>. He's 2 weeks old so I'm no expert on being a Dad, but there have been a few apps the have been extremely helpful throughout the whole process. I tried a number of apps with tips, data entry, tools, and other functions, but these are the ones that stuck. As always, my iPhone is constantly by my side and I couldn't imagine going through pregnancy, labor, or fatherhood without them.</p>
<p><a href="http://apple.co/1O6Fg0E">Who's Your Daddy? The Pregnancy Guide for First Time Dads</a></p>
<p>As soon as you find out your pregnant, download this app and put in the tentative due date of the baby. The app will then start giving you daily tips. These range from the practical:</p>
<ul>
<li>Make sure your life insurance is appropriate for a family</li>
<li>Create a gift registry</li>
<li>Pack the hospital bag (later on)</li>
</ul>
<p>To things for you:</p>
<ul>
<li>Go out for one last romp with the boys</li>
<li>Is your paternity leave sorted?</li>
<li>You have one responsibility now: be there for her</li>
</ul>
<p>To things for <strong>her</strong>. (These are the true gems)</p>
<ul>
<li>Being home her favorite snacks tonight</li>
<li>Tell her she looks beautiful today</li>
<li>Kiss her long and hard when you get home tonight</li>
<li>Schedule a date at your favorite place tonight</li>
<li>Hit the movies one last time</li>
</ul>
<p>These daily notification were HUGE. They let me know when I should be doing things and gave suggestions on how to do them. The app also has a list of tools including a hospital bag list, baby name tracking, and a contraction counter. We ended up not using the contraction counter though. I didn't trust it. The app closed in the middle of one and it forgot that we had a timer going. We then switched over to the standard <a href="http://apple.co/1O6Foxb">Full Term</a>, which is mentioned below.</p>
<p>This app was on my home screen for the duration of pregnancy</p>
<p><img src="https://timbroder.com/images/remote/2015-07-27-best-apps-for-new-dads/19535083889_fc74ddc6d8_o_d.png" alt="Daddy Features">
<img src="https://timbroder.com/images/remote/2015-07-27-best-apps-for-new-dads/19100803003_f49e041b03_o_d.png" alt="Daddy Tip 1">
<img src="https://timbroder.com/images/remote/2015-07-27-best-apps-for-new-dads/19695513376_43bb959f3a_o_d.png" alt="Daddy Tip 2"></p>
<p><a href="http://apple.co/1CHgsMa">Nurture</a></p>
<p>Nurture was great both as a visual log of my wife during her pregnancy, and as an information resource as to what was going on with Baby.  Every week, the app prompted Laura to take a photo of herself. It was really cool to see how she changed from week to week. At the end, the app also strings these images together in a nice little animation.</p>
<p>The feature I liked most about Nurture was the description of how big Charlie actually was.  It lists a fruit or a piece of candy which really lets you correlate his size to something real. From a Skittle, to a mango, to a melon, we looked forward to seeing the update every Tuesday.</p>
<p>Every week I would scroll through the relevant medical and parenting articles that the app suggested. Most were very good and worth reading. I also read a few books which I'll cover in a future post.</p>
<p><img src="https://timbroder.com/images/remote/2015-07-27-best-apps-for-new-dads/19101397623_e102831237_o_d.png" alt="Nurture Screenshot"></p>
<p><a href="http://apple.co/1O6Foxb">Full Term</a></p>
<p>This was our (and everywhere on the internet) contraction counter of choice. Starting and stopping the counter was super easy. Especially at a time where you can't really do more than glance at your phone. The app also presents the last contraction, an average of the last hour, and an average of the last 6 hours in an easy to read format. We ended up going through all of the labor at the hospital where Laura was hooked up to a machine. But, had we done it at home, this app would have been perfect to figure out when we should head in.</p>
<p>My one wish would have been having a watch app alongside this to make start/stopping even easier</p>
<p><a href="http://apple.co/1CHgoMc">BabyConnect</a></p>
<p>Data Entry! This app looks quite dated (It's still using the old iOS6 design language) but it is very, very functional.  It can track:</p>
<ul>
<li>Feedings</li>
<li>Diaper</li>
<li>Sleep</li>
<li>Mood</li>
<li>Activity</li>
<li>Medical</li>
<li>Milestones</li>
<li>Daycare Dropoff/Pickup</li>
<li>Messages to baby for the future</li>
<li>Photos</li>
</ul>
<p>We've only been using the Feed, Diaper, and Milestone functions so far. Photos we're using a shared album in Photos.app which is shared with immediate family and very close friends.  Mood and Activity are on the short list to start using. The app can aggregate any of these data points into graphs which give you quick info when you need it. "How many times per day are we feeding him?" This is handy when we went to the pediatrician early on and he wanted to know how many wet diapers Charlie had per day. (The only measure of if he's getting enough food when breastfeeding)</p>
<p>The killer feature of BabyConnect is it's sync capabilities. We have it set up where both Laura and I are the parents of Charlie and either of us can enter information from any device and it immediately syncs. Just in case we forgot to grab our phone for a night feeding, we also have an iPod touch sitting in the nursery with this app installed so we can track what goes on at night.  I also have notifications turned on (for now anyway) so I can see when Laura does certain things with Charlie</p>
<p><img src="https://timbroder.com/images/remote/2015-07-27-best-apps-for-new-dads/19100802803_1e098e6101_o_d.png" alt="BabyConnect Features">
<img src="https://timbroder.com/images/remote/2015-07-27-best-apps-for-new-dads/19726310291_212508717f_o_d.png" alt="BabyConnect Chart"></p>
<p><a href="http://apple.co/1CHg9kn">Quick Tips</a></p>
<p>Great quick tips and how-to's for new dads. I find myself browsing these while I'm trying to get Charlie to calm down at night. How to deal with crying or feeding  or tutorials on holding, diaper changes, and bath time.</p>
<p><img src="https://timbroder.com/images/remote/2015-07-27-best-apps-for-new-dads/19099268484_68f0d377cc_o_d.png" alt="Quick Tips">
<img src="https://timbroder.com/images/remote/2015-07-27-best-apps-for-new-dads/19721849935_d39099a900_o_d.png" alt="How To"></p>
<p><a href="http://apple.co/1CHgy6p">DayOne</a></p>
<p>I won't go into Journaling as a whole in this article, but Day One is a great app to get frustrations or despair out of your head. Baby will pick up on these and it's a good mechanism to get back in the moment. Whether you are alone or it's not something you can or should discuss with your spouse at that point in time</p>
<p><a href="http://apple.co/1CHgCmI">Omnifocus</a></p>
<p>My to-do list of choice. Used for things like</p>
<ul>
<li>Set up Will</li>
<li>Order Stroller</li>
<li>Confirm insurance</li>
<li>etc</li>
</ul>
<p>Non-App Resources</p>
<ul>
<li><a href="http://thenightlight.com/">TheNightLight</a> - If you like the <a href="http://thewirecutter.com/">The Wire Cutter</a> check this site out. It's from the same team and they have great reviews on everything from bottles, to monitors, to strollers.</li>
<li><a href="http://www.lucieslist.com/">Lucie's List</a> - This is technically a mommy blog, but sign up for their weekly newsletter. The info is great and it's another source that will remind you to do things; Decide on circumcision, Picking a godparent, and more</li>
</ul>
]]></content:encoded></item>
<item><title>Apple Music Followup: Part 1</title><description>A few new articles popped up in my RSS feed since I mentioned Apple Music I got my music back. At least most of it At this point, I’m just glad to have most of music back, but I still have no idea what happened to the other songs, for sure. Jim was able to meet with Apple privately and investigate a lot of his issues. Check out his post for the full story Dave Mark: Why I’m not done with Apple Music My Mac and iOS devices might as well be on different planets. When I search for a song on my iPhone, I can…</description><link>https://timbroder.com/2015/07/apple-music-followup-part-1/</link><guid isPermaLink="false">https://timbroder.com/2015/07/apple-music-followup-part-1</guid><pubDate>Sun, 26 Jul 2015 21:55:00 GMT</pubDate><content:encoded><![CDATA[<p>A few new articles popped up in my RSS feed since I <a href="https://timbroder.com/2015/07/apple-music-is-a-nightmare-and-im-done-with-it/">mentioned</a> Apple Music</p>
<p><a href="http://www.loopinsight.com/2015/07/24/i-got-my-music-back-at-least-most-of-it/">I got my music back. At least most of it</a></p>
<blockquote>
<p>At this point, I’m just glad to have most of music back, but I still have no idea what happened to the other songs, for sure.</p>
</blockquote>
<p>Jim was able to meet with Apple privately and investigate a lot of his issues. Check out his post for the full story</p>
<p><a href="http://www.loopinsight.com/2015/07/24/dave-mark-why-im-not-done-with-apple-music/">Dave Mark: Why I’m not done with Apple Music</a></p>
<blockquote>
<p>My Mac and iOS devices might as well be on different planets. When I search for a song on my iPhone, I can tap the Apple Music tab and, assuming the song is available on the Apple Music library, I can add the song to my current playlist, download it to my device for offline play, and mark it with a For You heart. Easy peasy.</p>
<p>On my Mac, not so simple. Unlike the iOS universe, there is no Apple Music application on my Mac. On my iOS device, things are clear cut. There’s the iTunes Store app for buying music and the Apple Music app for streaming.</p>
</blockquote>
<blockquote>
<p>So all this said, why am I still pushing on? Why don’t I make the move to Spotify?</p>
<p>It’s all about potential.</p>
</blockquote>
<p>Click through to continue</p>
<p><a href="http://morrick.me/archives/7371">Apple Music ought to be better than this</a></p>
<blockquote>
<p>Mark is not the only one willing to cut Apple some slack. I’ve heard other people — satisfied enough with Apple Music — sharing this kind of forgiving attitude.</p>
<p>Well, I don’t agree with it. I think people should expect better from Apple. A better service. Better quality, and yes, from day one. Apple has the resources to make it happen. Apple is a bigger company than any other in the music streaming industry. Apple has the advantage of its ecosystem, not to mention the data already accumulated through the Genius algorithm within iTunes. Yet Apple Music feels more rushed, more confusing, feels like a patchwork of different ideas and directions, and it ultimately feels more ‘beta’ than other competing apps and services when these first launched.</p>
</blockquote>
<p>As I said last time. I expected more. A higher quality</p>
<blockquote>
<p>The problems with iTunes 12.2, iCloud Music Library, etc., give me the impression that Apple Music’s features have been hurriedly bolted on the already pachydermic, bloated, jack-of-all-trades iTunes app, and shipped without extensive, thorough testing.</p>
</blockquote>
<p>​</p>
<blockquote>
<p>Would people be equally forgiving if third-party paid music streaming apps and services caused the same mess Apple Music did for a lot of users? Would they talk of ‘potential’, or things getting better with the next version/iteration? I’m not so sure.</p>
</blockquote>
<p>​</p>
<blockquote>
<p>A few people wrote me that I was “crazy” for not dropping Spotify and instantly switch to Apple Music like they did; none of them said exactly why I should do so, the only vague criticism towards Spotify being “It’s just a mess” (huh?)</p>
</blockquote>
<p>I don't understand this</p>
<p><a href="http://www.marco.org/2015/07/26/dont-order-the-fish">Don’t order the fish – Marco.org</a></p>
<blockquote>
<p>But the iTunes Store back-end is a toxic hellstew of unreliability. Everything that touches the iTunes Store has a spotty record for me and almost every Mac owner I know.</p>
<p>And the iTunes app itself is the toxic hellstew. iTunes has an impossible combination of tasks on its plate that cannot be done well. iTunes is the definition of cruft and technical debt. It was an early version of iTunes that demonstrated the first software bugs to Grace Hopper in 1946.</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>Gigster Does The Dev Dirty Work To Turn Your Idea Into An App</title><description>Crew and Toptal pre-vet their freelancers, but all the management issues remain We've had varying levels of success with TopTal. But, the management side of it wasn't the issue. The issue was code quality and expertise. But, we got what we paid for Just go to Gigsterâ&#128;&#153;s site, instant message with a sales engineer, tell them what you want built, and in 10 minutes you get a guaranteed quote for what it will cost and how long it will take. Give Gigster the go-ahead, and it will manage an elite set of…</description><link>https://timbroder.com/2015/07/gigster-does-the-dev-dirty-work-to-turn-your-idea-into-an-app/</link><guid isPermaLink="false">https://timbroder.com/2015/07/gigster-does-the-dev-dirty-work-to-turn-your-idea-into-an-app</guid><pubDate>Fri, 24 Jul 2015 11:31:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>Crew and Toptal pre-vet their freelancers, but all the management issues remain</p>
</blockquote>
<p>We've had varying levels of success with TopTal. But, the management side of it wasn't the issue. The issue was code quality and expertise. But, we got what we paid for</p>
<blockquote>
<p>Just go to Gigsterâs site, instant message with a sales engineer, tell them what you want built, and in 10 minutes you get a guaranteed quote for what it will cost and how long it will take. Give Gigster the go-ahead, and it will manage an elite set of freelance coders and designers to build your product and give you status reports each week. Once you get your project back, Gigster will even maintain the code, and you can pay to add upgrades or new features.</p>
</blockquote>
<p>I'm trying to decide if this is worth trying. Next week when I'm back at work I might float a small project their way to see what the quote is. (Assuming I already know what it would cost us to do it ourselves</p>
]]></content:encoded></item>
<item><title>Apple Music Is A Nightmare And I’m Done With It</title><description>Jim Dalrymple at The Loop has had some scathing issues with Apple Music. My thoughts below. I love Apple. I love them because they take difficult problems and come up with innovative, simple solutions. The things they make just work and we trust them. Unfortunately, my experience with Apple Music has been exactly the opposite. As of today, I’m missing about 4,700 songs from my library with little hope of getting them back. I had high hopes for Apple Music. I really wanted it to work and become my default…</description><link>https://timbroder.com/2015/07/apple-music-is-a-nightmare-and-im-done-with-it/</link><guid isPermaLink="false">https://timbroder.com/2015/07/apple-music-is-a-nightmare-and-i’m-done-with-it</guid><pubDate>Wed, 22 Jul 2015 15:51:00 GMT</pubDate><content:encoded><![CDATA[<p>Jim Dalrymple at The Loop has had some scathing issues with Apple Music. My thoughts below.</p>
<blockquote>
<p>I love Apple. I love them because they take difficult problems and come up with innovative, simple solutions. The things they make just work and we trust them. Unfortunately, my experience with Apple Music has been exactly the opposite. As of today, I’m missing about 4,700 songs from my library with little hope of getting them back.</p>
<p>I had high hopes for Apple Music. I really wanted it to work and become my default music streaming service, but after the problems I’ve experienced over the last couple of weeks, I’m disabling it altogether</p>
</blockquote>
<p>I had mediocre hopes for apple music. A lot of my friends at <a href="https://www.alexanderinteractive.com/" title="work">work</a> and at <a href="http://tekside.net/" title="Tekside">Tekside</a> are raving about it. But, it's a service. A web/cloud/backend service. Apple historically has sucked at these. (Ping, iCloud sync, iMessage still isn't perfect).</p>
<p>This isn't a review because as I'm still playing with it. But I'm looking at it from the perspective of someone who has used Spotify for years. I've commented a few times that I've been delighted at the new music their weekly newsletter recommends for me. I end up <strong>LOVING</strong> about 80% of them and they get discography playlists. (Unless I'm listening to trance or classical I make discography playlists for every band I listen to. I usually listen to them in order. It never been one for a more traditionally playlist or shuffling different bands on a play. I like to listen to albums, the way they were destined to be listened to.</p>
<p>What I'm trying to get at, is Apple is coming to me at a high bar. Their music service can't be good, or even great. It has to knock my socks off. It has to make me love it. It has to make me want to go through the trouble of canceling my Spotify subscription and recreate the way I listen to music in it's ecosystem</p>
<p>I don't have to worry too much about music I've purchased. I went from Napster to Pandora to Spotify. There are a few bands that I own the music for the I've added to Spotify (looking at you Beatles and Tool)</p>
<p>Also, EVERYONE at work is on Spotify and playlists are passed around all the time. It will be interesting to see how his shakes out. (I've been home on paternity leave so I'm not sure what's going on with Apple music over there)</p>
<blockquote>
<p>As if all of that wasn’t enough, Apple Music gave me one more kick in the head. Over the weekend, I turned off Apple Music and it took large chunks of my purchased music with it. Sadly, many of the songs were added from CDs years ago that I no longer have access to. Looking at my old iTunes Match library, before Apple Music, I’m missing about 4,700 songs. At this point, I just don’t care anymore, I just want Apple Music off my devices.</p>
<p>I trusted my data to Apple and they failed. I also failed by not backing up my library before installing Apple Music. I will not make either of those mistakes again.</p>
</blockquote>
<p>I'm assuming Apple Music uses cloudkit. I'm <strong>hoping</strong> it does. If it uses iCloud sync, it's screwed. I've seen how that works. Heck I've built apps that use it so I know its shortcomings. I have little trust in apples cloud ability</p>
<p>Beats1 alone is not enough to take my money. But we will see how I use it over the next month. I'll be exclusively using it to give it an honest try</p>
<p>But, here's another thing. This launch had to be <strong>flawless</strong>. This has Apple and some of the biggest names in music behind it. Hearing repeat content within the first few days on Beats1 is inexcusable. Losing music is horrid. And downtime if such a high profile service is even worse.</p>
<p>All 3 of these things have happened. "It's a new service" is not an excuse for this. This isn't some startup or kickstater project. This is Apple and while they didn't trip out of the gate, it wasn't far behind</p>
]]></content:encoded></item>
<item><title>Sam: Ios Games You Need To Play</title><description>I wrote about my favorite games of 2014. Sam posted his list. You should take a look. Sword &amp; Sworcery
This is one of my favorite games of all time. It tells a tragic and beautiful story full of fantastical mystery. The world is unlike anything else; creating an amazing blend between high fantasy, music culture, and otherworldly charm. Everything reacts to your touch. It makes you feel like you are a guide and a participant in this story, following the Sythian through her journey as a companion rather than…</description><link>https://timbroder.com/2015/07/ios-games-you-need-to-play/</link><guid isPermaLink="false">https://timbroder.com/2015/07/ios-games-you-need-to-play</guid><pubDate>Tue, 21 Jul 2015 11:03:00 GMT</pubDate><content:encoded><![CDATA[<p>I wrote about my <a href="https://timbroder.com/2015/03/games-i-was-addicted-to-in-2014/">favorite games of 2014</a>. <a href="http://www.samuelstrickland.me/blog/2015/7/ios-games-you-need-to-play?utm_content=buffer125bf&amp;utm_medium=social&amp;utm_source=twitter.com&amp;u">Sam</a> posted his list. You should take a look.</p>
<blockquote>
<p><a href="http://apple.co/1MnhKiF">Sword &amp; Sworcery</a>
This is one of my favorite games of all time. It tells a tragic and beautiful story full of fantastical mystery. The world is unlike anything else; creating an amazing blend between high fantasy, music culture, and otherworldly charm. Everything reacts to your touch. It makes you feel like you are a guide and a participant in this story, following the Sythian through her journey as a companion rather than an observer.</p>
</blockquote>
<p>This has been on my list of games to try forever. It's not that I balked at the $4.99  price tag. Plenty of the Final Fantasy games I've bought were $15. I didn't like the look of sword and sorcery from the screenshots. But Sam's recent game recommendations to me have been great. I'm currently working on a combination of Final Fantasy 6 and Baldur's Gate. Maybe when I finish one of those</p>
<blockquote>
<p><a href="http://apple.co/1MnhQ9Q">Botanicula</a> &amp; <a href="http://apple.co/1GAdYdk">Machinarium</a>
Unlike a lot of adventure games, these never dive into obtuse logic puzzles or irreconcilable fail states. Instead, they let you freely explore their worlds and solve puzzles on your own terms.</p>
</blockquote>
<p>I'll add another vote do Machinarium. After playing through the Room I &amp; II last summer Laura and I looked for another puzzle/adventure game. We landed on Machinarium and have been playing through it together when we have time</p>
<blockquote>
<p><a href="http://apple.co/1GAe3hd">realMyst</a>
A modern translation of the classic adventure game, realMyst takes the original game, Myst, and opens up the world to free movement.</p>
</blockquote>
<p>I LOVED the original Myst. But replaying it scares me. I survived it. I conquered it. I don't know if I would want to open that back up.</p>
<p>It's HARD</p>
]]></content:encoded></item>
<item><title>Up In The Air: Meet The Man Who Flies Around The World For Free</title><description>This was a fascinating read about a quasi-underground culture or gaming airline systems and flying for free.  Luxury only: business class and private rooms only “At that point, I was like, ‘Screw it,’ ” he remembers. “I decided I might as well do this full-time.” In April 2014, at the end of his lease, he walked into Seattle-Tacoma International Airport. He hasn’t come down since. ​This article reminded me of the Hitch 50 blog from years ago. Back in 2006, Scotty and Fiddy embarked on an adventure to visit…</description><link>https://timbroder.com/2015/07/up-in-the-air-meet-the-man-who-flies-around-the-world-for-free/</link><guid isPermaLink="false">https://timbroder.com/2015/07/up-in-the-air:-meet-the-man-who-flies-around-the-world-for-free</guid><pubDate>Mon, 20 Jul 2015 20:12:00 GMT</pubDate><content:encoded><![CDATA[<p>This was a fascinating read about a quasi-underground culture or gaming airline systems and flying for free.  Luxury only: business class and private rooms only</p>
<blockquote>
<p>“At that point, I was like, ‘Screw it,’ ” he remembers. “I decided I might as well do this full-time.” In April 2014, at the end of his lease, he walked into Seattle-Tacoma International Airport. He hasn’t come down since.</p>
</blockquote>
<p>​This article reminded me of the <a href="http://www.hitch50.com/">Hitch 50</a> blog from years ago. Back in 2006, Scotty and Fiddy embarked on an adventure to visit the capitals of all 50 states in 50 days. Solely through hitchhiking. That was a fun tale to watch in real time</p>
]]></content:encoded></item>
<item><title>Blog Little Things - Coffee Coder</title><description>don’t fear to blog little things. It doesn’t need to be big, significant, detailed, mind-blowing to come out but just of a little value. It is helpful to think just of one person who had the exact same problem as yours and was helped by your post. Maybe the post won’t get thousands of shares as we see in our reading list but hey, it saved someone’s time ​</description><link>https://timbroder.com/2015/07/blog-little-things-coffee-coder/</link><guid isPermaLink="false">https://timbroder.com/2015/07/blog-little-things---coffee-coder</guid><pubDate>Mon, 20 Jul 2015 13:32:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>don’t fear to blog little things. It doesn’t need to be big, significant, detailed, mind-blowing to come out but just of a little value. It is helpful to think just of one person who had the exact same problem as yours and was helped by your post. Maybe the post won’t get thousands of shares as we see in our reading list but hey, it saved someone’s time</p>
</blockquote>
<p>​</p>
]]></content:encoded></item>
<item><title>More Quick Blogging Workflows | Manton Reece</title><description>We all want to get better at writing and posting more frequently. As I mentioned in yesterday'&#128;&#153;s post, the best way to improve anything is to do more of it, more often 100% agree. Rebuilding my blog was fun. Let's see if I can get myself to write mode ;) I'm also trying a "habit app" a big part of posting regularly is just having a system that makes it easy Amen Posting to a blog first and then Twitter second seems like a simple idea, but it is extremely powerful. Years from now you end up with an archive…</description><link>https://timbroder.com/2015/07/more-quick-blogging-workflows-manton-reece/</link><guid isPermaLink="false">https://timbroder.com/2015/07/more-quick-blogging-workflows-|-manton-reece</guid><pubDate>Sun, 19 Jul 2015 22:32:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>We all want to get better at writing and posting more frequently. As I mentioned in yesterday's post, the best way to improve anything is to do more of it, more often</p>
</blockquote>
<p>100% agree. Rebuilding my blog was fun. Let's see if I can get myself to write mode ;)</p>
<p>I'm also trying a "habit app"</p>
<blockquote>
<p>a big part of posting regularly is just having a system that makes it easy</p>
</blockquote>
<p>Amen</p>
<blockquote>
<p>Posting to a blog first and then Twitter second seems like a simple idea, but it is extremely powerful. Years from now you end up with an archive of all your short-form writing at your own domain. Not as an afterthought, but as the default.</p>
</blockquote>
<p>This is a very interesting idea. It's somewhere in the list for my site rebuild. Somewhere in the middle</p>
<p>I do really like using buffer though. But I could still go to buffer from IFTTT</p>
]]></content:encoded></item>
<item><title>We Need More Bad Ideas</title><description>Manton Reece: The essay reminds me of something that always stuck with me reading about legendary Warner Bros. animation director Chuck Jones years ago. He said that when he was young, his father would give him and his siblings essentially unlimited paper to draw on, unused supplies from his business. We all have 100,000 bad drawings in us. The sooner we get through all the bad drawings — in Shawn’s essay, the bad ideas — the sooner we can start producing our best work. Write your ideas down. Good or bad…</description><link>https://timbroder.com/2015/07/we-need-more-bad-ideas-manton-reece/</link><guid isPermaLink="false">https://timbroder.com/2015/07/we-need-more-bad-ideas-|-manton-reece</guid><pubDate>Sun, 19 Jul 2015 22:25:00 GMT</pubDate><content:encoded><![CDATA[<p><a href="http://www.manton.org/2015/06/we-need-more-bad-ideas.html">Manton Reece</a>:</p>
<blockquote>
<p>The essay reminds me of something that always stuck with me reading about legendary Warner Bros. animation director Chuck Jones years ago. He said that when he was young, his father would give him and his siblings essentially unlimited paper to draw on, unused supplies from his business. We all have 100,000 bad drawings in us. The sooner we get through all the bad drawings — in Shawn’s essay, the bad ideas — the sooner we can start producing our best work.</p>
</blockquote>
<p>Write your ideas down. Good or bad. They aren't a thing while they just rattle around in your head.</p>
<p>Get them out: onto paper, Omnifocus, evernote, whatever. This makes them real</p>
<p>Then you can decide what's good or bad</p>
]]></content:encoded></item>
<item><title>Learning from Brent</title><description>I learn more about how to think about programming from Brent Simmons' blog than any place I can think of. I wish he wrote books or did full length tutorials. Probably more the later. I really like his thought process and how he breaks problems down. A good follow up to his Swift Protocol issue can be found here by David Owen. I learn a lot from him too Let's say I'&#128;&#153;m writing an RSS reader. (This is the example I tend to use on my blog, for historical reasons, and shouldn't be taken as indicative of…</description><link>https://timbroder.com/2015/07/inessential-secret-projects-diary-swift-2-protocols/</link><guid isPermaLink="false">https://timbroder.com/2015/07/inessential-secret-projects-diary-swift-2-protocols</guid><pubDate>Sun, 19 Jul 2015 21:42:00 GMT</pubDate><content:encoded><![CDATA[<p>I learn more about how to think about programming from Brent Simmons' blog than any place I can think of. I wish he wrote books or did full length tutorials. Probably more the later. I really like his thought process and how he breaks problems down.</p>
<p>A good follow up to his Swift Protocol issue can be found <a href="http://owensd.io/2015/07/19/brents-feed-problem.html">here</a> by David Owen. I learn a lot from him too</p>
<blockquote>
<p>Let's say I'm writing an RSS reader. (This is the example I tend to use on my blog, for historical reasons, and shouldn't be taken as indicative of anything.)</p>
<p>Let's say the RSS reader can have a mix of stand-alone feeds and feeds that are synced with FeedBin, Feedly, NewsBlur, etc. I might very well do this:</p>
<p>Create a Feed protocol.
Create classes for each different type of feed: LocalFeed, FeedBinFeed, FeedlyFeed, etc. Each one of these conforms to the Feed protocol.
(Why? Because each syncing system is different, and rather than have a giant Feed class that can handle all the different types, it's smarter to have a Feed protocol and then specific implementations for each different type of feed.)</p>
<p>RSS readers tend to have folders too. But folders may have different rules, depending on the system: folders inside folders may or may not be allowed, for instance. So, similarly, I might do this:</p>
<p>Create a Folder protocol.
Create classes for each different type of folder: LocalFolder, FeedBinFolder, FeedlyFolder, etc. Each one of these conforms to the Folder protocol.</p>
</blockquote>
]]></content:encoded></item>
<item><title>Fussy Coffee</title><description>Over the years I've read or listened to some of the fussy drinking habbits of people I respect and follow.  I've been meaning to write about what I do for coffee for a while. A coworker of mine has asked and a recent post by my friend Sam kicked me to sit down and write it. Sam talks about Coffee Nerdery and it made me stop and think about how much I get into it. When I was younger, "nerd" had a negative connotation. I learned to not let it bother me a long time ago. Nerds are passionate about many things…</description><link>https://timbroder.com/2015/07/fussy-coffee/</link><guid isPermaLink="false">https://timbroder.com/2015/07/fussy-coffee</guid><pubDate>Sun, 19 Jul 2015 00:00:00 GMT</pubDate><content:encoded><![CDATA[<p>Over the years I've <a href="http://www.marco.org/2010/06/16/the-coffee-setup-2010-i-own-a-lot-of-ways-to" title="read">read</a> or <a href="http://techdistortion.com/podcasts/pragmatic/episode-30-coffee" title="listened">listened</a> to some of the <a href="http://www.caseyliss.com/2014/7/25/neat-ice-kit" title="fussy">fussy</a> drinking <a href="https://david-smith.org/blog/2014/05/22/my-travel-coffee-kit/" title="habbits">habbits</a> of people I respect and follow.  I've been meaning to write about what I do for coffee for a while. A <a href="https://twitter.com/jessicalippke" title="coworker">coworker</a> of mine has asked and a recent post by my friend <a href="http://www.samuelstrickland.me/blog/2015/7/coffee-nerdery" title="Sam">Sam</a> kicked me to sit down and write it.</p>
<p>Sam talks about Coffee Nerdery and it made me stop and think about how much I get into it. When I was younger, "nerd" had a negative connotation. I learned to not let it bother me a long time ago. <a href="http://fishingboatproceeds.tumblr.com/post/31143873695/now-available-for-pre-order-at-dftba-com-in" title="Nerds are passionate about many things">Nerds are passionate about many things</a>. For me it was comics, computers, books. Now, add a liiiitle bit of coffee into that.</p>
<p>Don't get me wrong, <a href="http://www.marco.org/2014/03/31/throwing-k-cups-in-glass-houses" title="regular coffee is just fine">regular coffee is just fine</a>. Half the time, at work, I just have a cup from the pot. (Granted, that's <a href="http://gorillacoffee.com/" title="good coffee">good coffee</a>). But, as I've written about previously, <a href="https://timbroder.com/2014/09/morning-rituals/" title="rituals are important">rituals are important</a>. Some of what I do with coffee is for the taste. Some of it is the ritual of preparing it and the comfort that it brings. Some of it is feeling included in a club, even if that club exists only online in the form of twitter, slack, and blog posts. Because of a few of the gadgets I use, I thought I was a little nerdier. But, the gadgets is where it ends. I don't fiddle with temperature or what I use to stir. I just get good beans and prep them with what I have.</p>
<p>At the end of the day it doesn't matter. If you are passionate about something, want to throw all of your energy into it, are just curious, or just want to fiddle. Do it. If it entertains you, it scratches an itch, or you get something else out of it. Do it. Nerdism is starting to feel like a post within itself. Back to coffee.</p>
<p>Here's what I do:
I start up the kettle. When it hisses, I pour it in
<img src="https://timbroder.com/images/remote/2015-07-19-fussy-coffee/19799533225_f86f5625d2_z_d.jpg" alt=""></p>
<p>The beans I use are usually from the <a href="https://bluebottlecoffee.com/f4a9df89" title="Blue Bottle Coffee mail service">Blue Bottle Coffee mail service</a>. (&lt;-- referral link. help me out!) I'll do a review of the service at some point in the future. For now, check out <a href="http://www.marco.org/2012/05/29/tonx-coffee" title="Marco's">Marco's</a>
<img src="https://timbroder.com/images/remote/2015-07-19-fussy-coffee/19178658403_356e1f2eeb_z_d.jpg" alt=""></p>
<p>I grind the beans by hand using a <a href="http://amzn.to/1Mefklf" title="hand">Porlex JP-30 Stainless Steel Coffee Grinder</a></p>
<p><img src="https://timbroder.com/images/remote/2015-07-19-fussy-coffee/19611530590_717563e7a2_z_d.jpg" alt=""></p>
<p><img src="https://timbroder.com/images/remote/2015-07-19-fussy-coffee/19773361246_66d5776853_z_d.jpg" alt=""></p>
<p>Next is brewing. I use an <a href="http://www.amazon.com/gp/product/B001HBCVX0?ref_=oh_aui_search_detailpage&amp;redirect=true&amp;psc=1&amp;tag=nyen0e-20" title="AeroPress">AeroPress</a> and LOVE it.  Even if you use coffee grinds from the supermarket, the Aeropress make brewing so darned easy. Both brewing and cleaning. It makes one cup at a time. Add the coffee, the water, let it sit and then pump it out. Cleaning is just popping the "puck" of spent coffee into the garbage, rinsing everything with water, and throwing it in the drainboard. I use the "inverted method" as I find it the easiest. Check out this <a href="https://bluebottlecoffee.com/frequency/aeropress-video?tonx=1" title="1 min">1 min</a> Blue Bottle video that explains it. Sometimes, I also use the <a href="https://itunes.apple.com/us/app/aeropress-timer-for-aerobies/id602496538?mt=8&amp;at=11laRZ&amp;ct=pro" title="AeroPress Timer">AeroPress Timer</a> app on my phone that, in theory, gets a better tasting brew. I stir it with the handle of the AeroPress scoop</p>
<p><img src="https://timbroder.com/images/remote/2015-07-19-fussy-coffee/19611557190_c75f29d297_z_d.jpg" alt=""></p>
<p><img src="https://timbroder.com/images/remote/2015-07-19-fussy-coffee/19799586545_8fa60e61ee_z_d.jpg" alt=""></p>
<p>Most of the time, I have the coffee exactly as it comes out of the press. This is a little closer to espresso than coffee. The instructions say "add water to taste". I've been home with <a href="https://twitter.com/timothybroder/status/617041906040762368" title="Charlie">Charlie</a> the past few weeks and have been trying this. I like both, I'm not sure which method I'll end up with. Either way, I add my 2 ice cubes</p>
<p><img src="https://timbroder.com/images/remote/2015-07-19-fussy-coffee/19614589349_11ff2ac88c_z_d.jpg" alt=""></p>
<p>Now. Bulletproof Coffee. I've done this on and off over the past few years. Gizmodo <a href="http://gizmodo.com/bulletproof-coffee-debunking-the-hot-buttered-hype-1681321467" title="debunked">debunked</a> it earlier this year. What do I think? For the most part. It works. For the first few months, you feel like you've had rocket fuel and can do anything. Then, it tapers off. I do it a few times a year, usually close to the release of a website for a little boost. I eyeball a tablespoon or so of <a href="http://amzn.to/1Megeyb" title="Kerry Gold Butter">Kerry Gold Butter</a> and add a tablespoon of <a href="http://amzn.to/1fgmicy" title="MCT Oil">MCT Oil</a>. If you are going to try it, don't buy the bulletproof brand. It's not any better and amazon can save you money.</p>
<p>However you take your coffee; whether you are super fussy, love your starbucks, or dabble a little bit at home: <a href="http://www.marco.org/2014/03/31/throwing-k-cups-in-glass-houses" title="It doesn’t matter">It doesn’t matter</a>. ENJOY your coffee</p>
]]></content:encoded></item>
<item><title>Open-Sourcing Jewelbots</title><description>I’ve always wondered why companies (and individuals) don’t put more of their
source code out there</description><link>https://timbroder.com/2015/05/open-sourcing-jewelbots/</link><guid isPermaLink="false">https://timbroder.com/2015/05/open-sourcing-jewelbots</guid><pubDate>Sat, 02 May 2015 17:08:34 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>I’ve always wondered why companies (and individuals) don’t put more of their
source code out there</p>
</blockquote>
]]></content:encoded></item>
<item><title>Games I was addicted to in 2014</title><description>I posted on TekSide: I don't consider myself a gamer anymore. I used to be.
Countless, countless hours in Final Fantasy 6-9, Zelda, Tetris, Alleyway,
Neverwinter, Halo, Fallout, Half life, Oblivion. The list goes on. I cut my
teeth on a gameboy and SNES and kept going. Things dropped off after Halo 2. I
surfaced for Halo  3 (a lot) and 4 (less so). I didn't play much on my phone
during my years on Android; the games really weren't that great or polished. Part of my commute is a 10 minute subway ride…</description><link>https://timbroder.com/2015/03/games-i-was-addicted-to-in-2014/</link><guid isPermaLink="false">https://timbroder.com/2015/03/games-i-was-addicted-to-in-2014</guid><pubDate>Tue, 10 Mar 2015 14:03:30 GMT</pubDate><content:encoded><![CDATA[<p>I posted on <a href="http://tekside.net/iphonaddict/2015/1/11/games-i-was-addicted-to-in-20">TekSide</a>:</p>
<p>I don't consider myself a gamer anymore. I used to be.
Countless, countless hours in Final Fantasy 6-9, Zelda, Tetris, Alleyway,
Neverwinter, Halo, Fallout, Half life, Oblivion. The list goes on. I cut my
teeth on a gameboy and SNES and kept going. Things dropped off after Halo 2. I
surfaced for Halo &nbsp;3 (a lot) and 4 (less so).&nbsp;I didn't play much on my phone
during my years on&nbsp;Android; the games really weren't that great or polished.</p>
<p>Part of my commute is a 10 minute subway ride. Something quick to play is
appreciated, but I've been looking for something a little more immersive.
Something I can sit and get lost in for a few hours. The other part of my
commute is a 30 min commuter train ride where I'm either reading instapaper,
napping, or playing a game&nbsp;while listening to podcasts.</p>
<p><strong><a href="http://apple.co/1DzraiL">Baldur's Gate</a></strong> - I
found this very late in the year. In fact I think I installed it at my in-laws
on Christmas morning. I had never played either of the originals and was
curious. It was one of the few games that consistently showed up on "best iOS
RPG" when I was searching for something to play. The face that it looked like
Neverwinter was a huge bonus for me. The tutorial for this game is very, very
buggy and was very off-putting. Once I got past that though, everything
changed. The game mechanics started making sense: pinching and zooming the map
is fluid and tapping on your party to direct their targets just felt
completely natural. The story quickly swept me in and I started questing. When
I play RPGs, I try to do all the side quests. Baldur's Gate is no different.
I'm currently grinding my way through a number of maps looking for someone's
lost cloak. Perfect gameplay for listening to podcasts on the train. Outside
of that though the music and sound effects are top notch. If you were ever a
fan of D&amp;D style point+click RPGs, this will feel right at home. If you've
never tried them, I can't recommend this game enough.</p>
<p><a href="https://timbroder.com/images/2015/03/1.png"><img src="https://timbroder.com/images/2015/03/1-1024x768.png" alt="1"></a></p>
<p><strong><a href="http://apple.co/1Dzrkql">Tiny Tower</a> &amp;&nbsp;<a href="http://apple.co/1LGeXPK">Pocket Trains</a></strong> - I put
these games together because while very different games, they have similar
gameplay mechanics. Build out your empire! In Tiny Tower, this takes the form
of expanding a single tower. Inside this tower are all your Bitizens live:
Where they eat, where they work, and where they have fun. Ala Sim City, but in
an enclosed environment. In Pocket trains, you expand your train line, going
for a trans-continental goal. Pick the cargo for your trains, build tracks,
repair the engines, and race against the clock. Both games have IAP to buy
coins and bucks to get you through the game faster. I've never used real world
money in either and it's just as enjoyable</p>
<p><strong><a href="http://apple.co/1LGeYmQ">RGB Express</a></strong> - This is a good
puzzle game where you draw routes for your drivers, picking up packages and
making sure that every house receives the correct package. Setup your route,
press play, watch your trucks zoom, and hope you didn't create any collisions!
Pro Tip: You can set the playback to run the trucks at a faster speed. Kudos
to the iOSDocked crew for making this the GameCenter Showdown in episode 77.</p>
<p><strong><a href="http://apple.co/1Dzrxdd">Threes</a></strong> -&nbsp;Threes is a tiny puzzle that grows on you. It looks simple at
first. But at some point you figure out you need a strategy to go higher.
Match the same number, it triples and collapses. Keep going. Build higher and
higher. Compete with your friends. It gets harder the higher you go and
becomes addicting trying to get to that next score.&nbsp;I play tower defense
style: Building into one of the top two corners and slowly growing numbers in
those directions. What's your high score?</p>
<p><a href="https://timbroder.com/images/2015/03/2.png"><img src="https://timbroder.com/images/2015/03/2.png" alt="2"></a></p>
<p><strong><a href="http://apple.co/1LGf2Dc">2048</a></strong> - This game is very similar to threes
(maybe too much so). But, it's still fun. I keep this one around because it
takes a little less concentration than threes. It's more mindless and good for
when I'm tired or need to think. It's a good distraction. 2048 is my checkers
to my Threes chess.</p>
<p><a href="https://timbroder.com/images/2015/03/3.png"><img src="https://timbroder.com/images/2015/03/3.png" alt="3"></a></p>
<p><strong><a href="http://apple.co/1DzrKgm">Honorable Mention: Monument Valley</a></strong> - I
can't stress enough that you NEED to go play this game. There is no other
experience like it on iOS. Control your character through immersive M.C.
Escher-like paintings. The levels are gorgeous. You'll spend time just staring
at them, moving pieces around just to see what they do. It only gets Honorable
Mention because of replay value. I played through it once in a few hours and
that was that. But, it's magical. Everyone should play it</p>
<p><a href="https://timbroder.com/images/2015/03/4.jpeg"><img src="https://timbroder.com/images/2015/03/4.jpeg" alt="4"></a></p>
<p><a href="https://timbroder.com/images/2015/03/5.jpeg"><img src="https://timbroder.com/images/2015/03/5.jpeg" alt="5"></a></p>
]]></content:encoded></item>
<item><title>PHP7 Vagrant Box</title><description>I’m keeping a close eye (or as much as I can anyway) on PHP7 and what it means
for the future of the language. Installing in your local dev machine is risky,
especially if you have ongoing work. As usual, Vagrant comes to the rescue! Rasmus Lerdorf has put together a Vagrant box
to ease in the setup and isolate your testing. If you use Atlas, check out the box
here. Otherwise, the
readme is available on
Github</description><link>https://timbroder.com/2015/03/php7-vagrant-box/</link><guid isPermaLink="false">https://timbroder.com/2015/03/php7-vagrant-box</guid><pubDate>Sat, 07 Mar 2015 16:13:24 GMT</pubDate><content:encoded><![CDATA[<p>I’m keeping a close eye (or as much as I can anyway) on PHP7 and what it means
for the future of the language. Installing in your local dev machine is risky,
especially if you have ongoing work. As usual, Vagrant comes to the rescue!</p>
<p><a href="https://twitter.com/rasmus/">Rasmus Lerdorf</a> has put together a Vagrant box
to ease in the setup and isolate your testing.</p>
<p>If you use Atlas, check out the box
<a href="https://atlas.hashicorp.com/rasmus/boxes/php7dev">here</a>. Otherwise, the
readme is available on
<a href="https://github.com/rlerdorf/php7dev/blob/master/README.md">Github</a></p>
]]></content:encoded></item>
<item><title>Beyond UXKit - Robert Böhnke</title><description>Robert Böhnke wrote a good piece on what UXKit could mean for the future of iOS/Mac UI Engineering The new Photos for Mac is based on a new private framework in 10.10.3,
UXKit. It is essentially a replica of UIKit, based on top of AppKit. He also comments on what something like react native could mean for engineers,
and the attitude the community has had around other “non-native” in the past</description><link>https://timbroder.com/2015/02/beyond-uxkit-robert-bohnke/</link><guid isPermaLink="false">https://timbroder.com/2015/02/beyond-uxkit-robert-bohnke</guid><pubDate>Sat, 07 Feb 2015 15:46:33 GMT</pubDate><content:encoded><![CDATA[<p>Robert Böhnke wrote a good <a href="http://robb.is/thinking-about/beyond-uxkit/">piece</a> on what UXKit could mean for the future of iOS/Mac UI Engineering</p>
<blockquote>
<p>The new Photos for Mac is based on a new private framework in 10.10.3,
UXKit. It is essentially a replica of UIKit, based on top of AppKit.</p>
</blockquote>
<p>He also comments on what something like react native could mean for engineers,
and the attitude the community has had around other “non-native” in the past</p>
]]></content:encoded></item>
<item><title>Mongular, a Content Delivery System</title><description>Mongular is something to keep a close eye on. We’ve had a number of projects
at work where we might want something…
other than a CMS. Where content is king and that content is decoupled from the
system using or displaying it.  Other solutions that we’re excited about are
Prismic and Contentful. Systems like this would let us do whatever we wanted with the site. Not
being tied to the confines of a particular CMS’ way of doing things could be
freeing. These systems offer much more powerful ways to relate…</description><link>https://timbroder.com/2015/02/mongular-content-delivery-system/</link><guid isPermaLink="false">https://timbroder.com/2015/02/mongular-content-delivery-system</guid><pubDate>Fri, 06 Feb 2015 16:03:23 GMT</pubDate><content:encoded><![CDATA[<p>Mongular&nbsp;is something to keep a close eye on. We’ve had a number of projects
at <a href="https://www.alexanderinteractive.com">work</a> where we might want something…
other than a CMS. Where content is king and that content is decoupled from the
system using or displaying it. &nbsp;Other solutions that we’re excited about are
<a href="https://prismic.io/">Prismic</a> and <a href="https://www.contentful.com/">Contentful</a>.</p>
<p>Systems like this would let us do <strong>whatever</strong> we wanted with the site. Not
being tied to the confines of a particular CMS’ way of doing things could be
freeing. These systems offer much more powerful ways to relate content or
parts of content to each other. Going far beyond just weighted tags.</p>
<blockquote>
<p>What is Mongular?</p>
</blockquote>
<blockquote>
</blockquote>
<blockquote>
<p>Mongular is a Content Delivery System (Framework?... not really) built to
take advantage of all the tools available to speed up the delivery of your
content to users, and reduce server load.</p>
</blockquote>
<blockquote>
</blockquote>
<blockquote>
<p>Content Delivery System?</p>
</blockquote>
<blockquote>
</blockquote>
<blockquote>
<p>Mongular wasn't built to be a Content Management System, even though with
enough development it could probably be built to do just that.</p>
</blockquote>
<blockquote>
</blockquote>
<blockquote>
<p>Mongular was built to deliver content in an easy, efficient and extendable
manner. Where developers take it, is up to them.</p>
</blockquote>
<p>Related reading:</p>
<ul>
<li><a href="https://blog.prismic.io/UyheDQEAAIYqPg5V/structured-text-a-cleaner-way-to-deal-with-rich-text-in-manageable-content">Structured Text: A cleaner way to deal with Rich Text in Manageable Content</a></li>
<li><a href="https://blog.prismic.io/VD0Bdi8AADEA8qOm/experiments-compare-content-variations-efficacy-on-a-blog-or-page">Experiments: compare content variations efficacy on a blog or page</a></li>
<li><a href="http://www.theguardian.com/open-platform/blog/what-is-powering-the-content-api">What's powering the Content API? - The Guardian speaks at Lucene Eurocon 2010</a></li>
</ul>
]]></content:encoded></item>
<item><title>Equality in the Apple Blogging Scene</title><description>Long time Mac developer, Daniel Jalkut posited a question last night on
Twitter. I find it far easier to follow brilliant women on Twitter than in blogs. Do
women in the Apple scene not blog as much, or am I missing them? — Daniel Jalkut (@danielpunkass) January 10,
2015 This question came out of some of the responses to Marco Arment’s “hot”
post last
week about the state of Apple’s software ecosystem. Daniel got a good number
of replies. I’m always looking for more to read, especially technical blogs. I’ve…</description><link>https://timbroder.com/2015/01/equality-in-the-apple-blogging-scene/</link><guid isPermaLink="false">https://timbroder.com/2015/01/equality-in-the-apple-blogging-scene</guid><pubDate>Mon, 12 Jan 2015 00:10:24 GMT</pubDate><content:encoded><![CDATA[<p>Long time Mac developer, Daniel Jalkut posited a question last night on
Twitter.</p>
<blockquote>
<p>I find it far easier to follow brilliant women on Twitter than in blogs. Do
women in the Apple scene not blog as much, or am I missing them?</p>
</blockquote>
<blockquote>
</blockquote>
<blockquote>
<p>— Daniel Jalkut (@danielpunkass) <a href="https://twitter.com/danielpunkass/status/553983430095302656">January 10,
2015</a></p>
</blockquote>
<p>This question came out of some of the responses to Marco Arment’s “hot”
<a href="http://www.marco.org/2015/01/04/apple-lost-functional-high-ground">post</a> last
week about the state of Apple’s software ecosystem. Daniel got a good number
of replies.</p>
<p>I’m always looking for more to read, especially technical blogs. I’ve gone
through them and added the following to my iOS RSS folder:</p>
<ul>
<li><a href="http://www.catehuston.com/blog/">Accidentally in Code</a> by&nbsp;<a href="https://twitter.com/catehstn">@catehstn</a></li>
<li><a href="http://ericasadun.com/">Erica Sadun</a></li>
<li><a href="http://www.mistys-internet.website/blog/">The Future Is Now</a> by&nbsp;<a href="https://twitter.com/mistydemeo">@mistydemeo</a></li>
<li><a href="http://khanlou.com/">KHANLOU.COM</a></li>
<li><a href="http://natashatherobot.com/">Natasha The Robot</a> by <a href="https://twitter.com/NatashaTheRobot">@NatashaTheRobot</a></li>
<li><a href="http://blog.ashleynh.me/">Ashley Nelson-Hornstein</a></li>
</ul>
]]></content:encoded></item>
<item><title>Contributing to Magento2</title><description>The Magento2 dev team is now using Github in the traditional sense: They have
an internal repo that gets pushed out to github at the end of their sprint.
All commits stay intact. This is WAY better than the previous method of
pushing a giant commit with everything each sprint. Ben has a good walkthrough on submitting a pull request to the repo. He links to a few
resources to get up and running on the new platform.  Alan Kent goes into more
detail on the “why” of the change. It’s not just code that has been…</description><link>https://timbroder.com/2015/01/contributing-to-magento2/</link><guid isPermaLink="false">https://timbroder.com/2015/01/contributing-to-magento2</guid><pubDate>Wed, 07 Jan 2015 17:04:00 GMT</pubDate><content:encoded><![CDATA[<p>The Magento2 dev team is now using Github in the traditional sense: They have
an internal repo that gets pushed out to github at the end of their sprint.
All commits stay intact. This is WAY better than the previous method of
pushing a giant commit with everything each sprint.</p>
<p>Ben has a <a href="http://bhmarks.com/blog/contributing-to-magento-2/">good walkthrough</a> on submitting a pull request to the repo. He links to a few
resources to get up and running on the new platform. &nbsp;Alan Kent goes into more
<a href="https://alankent.wordpress.com/2014/12/27/behind-the-recent-magento-2-github-changes/">detail</a> on the “why” of the change.</p>
<p>It’s not just code that has been opened up. The
<a href="https://alankent.wordpress.com/2014/12/20/about-magento-2-0-developer-documentation/">documentation</a> lives on Github now too.</p>
<p>These are all great changes. The more eyes we have on code the better. Do your
part: <a href="https://github.com/magento/magento2">Install</a> the Magento 2 developer
preview and get testing</p>
]]></content:encoded></item>
<item><title>My $2375 Amazon EC2 Mistake</title><description>A word of warning: Know what your modules/extensions/pods/plugins are doing,
especially if they use any of your credentials. I’m actually surprised that this actually was up that long. I accidentally did
this once and Amazon was on the phone with me 10 mins later. Turns out through the S3 API you can actually spin up EC2 instances, and my
key had been spotted by a bot that continually searches GitHub for API keys.
Amazon AWS customer support informed me this happens a lot recently, hackers
have created an…</description><link>https://timbroder.com/2015/01/my-2375-amazon-ec2-mistake/</link><guid isPermaLink="false">https://timbroder.com/2015/01/my-2375-amazon-ec2-mistake</guid><pubDate>Wed, 07 Jan 2015 16:02:04 GMT</pubDate><content:encoded><![CDATA[<p>A word of warning: Know what your modules/extensions/pods/plugins are doing,
<strong>especially</strong> if they use any of your credentials.</p>
<p>I’m actually surprised that this actually was up that long. I&nbsp;accidentally did
this once and Amazon was on the phone with me 10 mins later.</p>
<blockquote>
<p>Turns out through the S3 API you can actually spin up EC2 instances, and my
key had been spotted by a bot that continually searches GitHub for API keys.
Amazon AWS customer support informed me this happens a lot recently, hackers
have created an algorithm that searches GitHub 24 hours per day for API keys…
Once it finds one it spins up max instances of EC2 servers to farm itself
bitcoins…</p>
</blockquote>
<blockquote>
<p>Boom! A $2375 bill in the morning. Just for trying to learn rails.</p>
</blockquote>
]]></content:encoded></item>
<item><title>The Programmer's Dream</title><description>Great short piece by Nick Bradbury Programmers dream of new code. We spend a good deal of our time working on code we didn’t write for
software we didn’t create, much of which we believe is horribly written (or,
at least, could be done much better). We dream of a chance to start fresh,
working from scratch on a brand new piece of software that will eventually
become something someone else has to work on and believes is horribly written. If we’re lucky our software will look pretty solid from the outside. It…</description><link>https://timbroder.com/2014/12/the-programmers-dream/</link><guid isPermaLink="false">https://timbroder.com/2014/12/the-programmers-dream</guid><pubDate>Fri, 26 Dec 2014 14:59:48 GMT</pubDate><content:encoded><![CDATA[<p>Great short piece by Nick Bradbury</p>
<blockquote>
<p>Programmers dream of new code.</p>
</blockquote>
<blockquote>
</blockquote>
<blockquote>
<p>We spend a good deal of our time working on code we didn’t write for
software we didn’t create, much of which we believe is horribly written (or,
at least, could be done much better). We dream of a chance to start fresh,
working from scratch on a brand new piece of software that will eventually
become something someone else has to work on and believes is horribly written.</p>
</blockquote>
<blockquote>
</blockquote>
<blockquote>
<p>If we’re lucky our software will look pretty solid from the outside. It may
do weird things from time to time or very occasionally crash, but on the whole
end users will think it’s stable and well thought out. Those of us who can
look at it from the inside are amazed by this because we see a house of cards
just waiting to come tumbling down. I think one of the benefits of open source
is that we can see more clearly that everyone else’s code is just as
frightening as our own is.</p>
</blockquote>
<p><a href="http://nickbradbury.com/2014/12/11/the-programmers-dream-a-ramble/" title="Keep reading">Keep reading</a></p>
]]></content:encoded></item>
<item><title>Integrated Automation for iOS 8</title><description>I can't wait to play with
Workflow more over the
holidays “Workflow – first teased by Ari Weinstein and team in January 2014 – takes
another approach: instead of relying heavily on a specific functionality (such
as text editing) or third-party apps and services (like IFTTT and Dropbox),
Workflow is primarily aimed at automating native iOS apps and features. Workflow can automate Calendar events and Reminders, it can parse and
extract data from webpages in Safari, and it has full support for Photos and…</description><link>https://timbroder.com/2014/12/integrated-automation-for-ios-8/</link><guid isPermaLink="false">https://timbroder.com/2014/12/integrated-automation-for-ios-8</guid><pubDate>Sat, 20 Dec 2014 21:34:24 GMT</pubDate><content:encoded><![CDATA[<p>I can't wait to play with
<a href="https://appsto.re/us/2IzJ2.i&amp;at=11laRZ&amp;ct=LCP">Workflow</a> more over the
holidays</p>
<blockquote>
<p>“Workflow – first teased by Ari Weinstein and team in January 2014 – takes
another approach: instead of relying heavily on a specific functionality (such
as text editing) or third-party apps and services (like IFTTT and Dropbox),
Workflow is primarily aimed at automating native iOS apps and features.</p>
</blockquote>
<blockquote>
</blockquote>
<blockquote>
<p>Workflow can automate Calendar events and Reminders, it can parse and
extract data from webpages in Safari, and it has full support for Photos and
sharing services. It even works with iCloud Drive and extensions. Workflow’s
first version lacks some obvious features like backup and sync, but what it
does today is an extremely powerful proposition – from both practical and
conceptual standpoints.”</p>
</blockquote>
]]></content:encoded></item>
<item><title>Apple Pay and Magento</title><description>The Business of Apple Pay (Alec Simonson) On the outset, Apple Pay is very cool and could very well be the wave of the
future. A lot of this hinges on “what’s under the hood” in terms of Apple’s
contract with the leading credit card companies who helped with the
development. If everything is open, and companies like Samsung can let their
customers pay with NFC technology as well, I could see this as something that
will be successful, adopted, and an example of Apple leading the way. However,
if Apple goes…</description><link>https://timbroder.com/2014/12/apple-pay-and-magento/</link><guid isPermaLink="false">https://timbroder.com/2014/12/apple-pay-and-magento</guid><pubDate>Sat, 13 Dec 2014 23:12:12 GMT</pubDate><content:encoded><![CDATA[<p><strong>The Business of Apple Pay</strong>&nbsp;(Alec Simonson)</p>
<p>On the outset, Apple Pay is very cool and could very well be the wave of the
future. A lot of this hinges on “what’s under the hood” in terms of Apple’s
contract with the leading credit card companies who helped with the
development. If everything is open, and companies like Samsung can let their
customers pay with NFC technology as well, I could see this as something that
will be successful, adopted, and an example of Apple leading the way. However,
if Apple goes all proprietary (as they love to do) and contractually forces
these major credit cards to only use their devices, or charges other companies
like Samsung to license their payment platform, or otherwise mandate that all
touch-to-pay via smartphone methods are hereby known as “Apple Pay,” I could
see adoption problems happening. Open standards have frequently been key to
paving the way to adoption, and this has never really been Apple’s model in
the past. For example, AirPlay is really cool and loved but does not work
outside the environs of iOS, and can therefore never reach greater than 14.8%
penetration as of this writing. So Chromecast was born, and while not nearly
as simple or feature rich, it’s open to both Android and iOS and therefore has
a much higher potential of adoption. Feature expansion will follow.</p>
<p>One of the aspects of Apple Pay that I think is great is that merchants aren’t
really troubled with much of everything, since most of this is really on the
backend. A new reader with NFC capabilities, and they’re off and running. Low
cost or no cost adoption. Or is it? Nobody has mentioned what Apple’s
commission is on this latest development. An article on Forbes suggested it
may be around 0.2%, giving Apple $0.20 for every $100 spent. That’s not much,
but when you consider what percentage that is of the credit card companies’
net (perhaps around 14%), it starts to look more substantial. Credit card
companies like their investors, so it’s hard to imagine them not wanting to
pass that extra cost onto merchants, who will be all-too-willing to share that
with consumers.</p>
<p>All of that aside, it’s very smart and forward thinking, and early adopters
will likely be looked upon with jealousy by others. From an implementation
perspective, adding Apple Pay will likely be as easy as it was to add Google+,
and merchants will do it. But the long-term prospects will rely highly on what
sort of deal Apple made….the devil is always in the details.</p>
<p><strong>The Technology of Apple Pay</strong>&nbsp;(Tim Broder)</p>
<p>Out of the gate, Pay is native app only. This leaves Magento sites at a
disadvantage. In the future I’d like to see Apple open up this functionality
to Safari on both mobile and desktop. Pay already has one-time number
generation. This could be implemented in the browser similar to how
<a href="https://itunes.apple.com/us/app/1password-password-manager/id443987910?mt=12&amp;at=11laRZ&amp;ct=pro">1Password</a>&nbsp;can inject a credit card number
into a form. Until something like this happens, only sites with a native app
siting in front of Magento’s API will be able to take advantage. &nbsp;If you are
looking to investigate this space, <a href="http://meets.io/">meets.io</a>, an unofficial
Magento SDK, is a great starting point.</p>
<p>I’ll be curious if a developer comes up with a browser dedicated to this
functionality. Tap into the Pay API and generate credit card numbers ad hoc,
and bridge between Pay and e-commerce sites. Or, take it a step further and
develop a custom keyboard for iOS 8. If allowed, it would be more seamless
than a whole seperate browser. I say “if allowed” because there are some
restrictions on what 3rd party keyboard can do. For example, they cannot touch
passwords. The stock keyboard reasserts itself when tapping on a password
field.</p>
]]></content:encoded></item>
<item><title>Facebook, you creepy piece of sh*t</title><description>I debated posting this for a few days. I’m deciding to because when I was
googling for something. I found nothing. I hope this helps someone: A lot of
people don't talk about this. Some do. Most don't. I'm not sure why. Maybe
embarrassment. Maybe fear. Maybe they think they are alone. You aren't. It
happens. It's real. I've talked to some people and we aren't alone. Laura and
I have been trying to conceive for a bit. I won't go into how long, at least
not right now, so don't ask. Talking to some people has…</description><link>https://timbroder.com/2014/11/facebook-creepy-piece-sht/</link><guid isPermaLink="false">https://timbroder.com/2014/11/facebook-creepy-piece-sht</guid><pubDate>Sun, 09 Nov 2014 02:04:35 GMT</pubDate><content:encoded><![CDATA[<p>I debated posting this for a few days. I’m deciding to because when I was
googling for something. I found nothing. I hope this helps someone:</p>
<p>A lot of
people don't talk about this. Some do. Most don't. I'm not sure why. Maybe
embarrassment. Maybe fear. Maybe they think they are alone. You aren't. It
happens. It's real. I've talked to some people and we aren't alone.</p>
<p>Laura and
I have been trying to conceive for a bit. I won't go into how long, at least
not right now, so don't ask. Talking to some people has helped. But, only a
little. The internet, as far as we have found (Googled) doesn't have much
info.</p>
<p>"Just stop trying, it will happen"</p>
<p>"It's so much fun!"</p>
<p>"It just
happened!!"</p>
<p>I'm happy for these people? I really am. But at the same time F**K
YOU, it’s just not that way for us.</p>
<p>2 things have happened recently that have
set me over the edge. We took a break this month, just casually "trying"
without any kind of schedule. We randomly thought we had a bite on the line so
I went to the pharmacy to buy a test. The cashier wished me congratulations
when I checked out. Then she asked me if I was excited. There are so many
things wrong with this type of person doing this. I had a few friends in high
school that worked as a cashier at a pharmacy. They aren’t supposed to ask
personal questions. If they see a classmate buying something like condoms they
aren’t supposed to say anything about it to anyone. It’s private. Ok, back to
the present. First of all, f<strong>k you. Second, that’s so dangerous. My response
was “hopeful.” That’s about all I could get out without leaping over the
register. It’s annoying enough that that is in no way shape or form the
“congratulations” part of the timeline. You don’t know yet, that’s why you are
getting the TEST. Second, can you imagine if we weren’t trying and something
happened and this was completely unexpected. What would have been going
through my head and then to hear those words? The response would have been:
“Terrified, you b</strong>ch”</p>
<p>The second thing happened this morning, and what
spurned this post. I was still asleep. Laura was on Facebook. Facebook served
her an adoption ad. Facebook, you fucking sleazy, creepy, f**king awful piece
of sh*t. I don’t even want to know how you have the data to correlate that. I
could probably figure it out, but that would probably end in me canceling my
account. If you are going to show an ad like that (at least on Facebook), you
need to KNOW that the person is looking to adopt. Not just something like “the
person got married,” then “googled something baby,” and now months later,
hasn’t googled “stroller”. Showing an ad like that to someone who is trying is
beyond fucked up.</p>
<p>Facebook: For what you did to my wife this morning, if you
were a person, I would have found you, and I would have hurt you.</p>
]]></content:encoded></item>
<item><title>Twitter is not a replacement for blogs</title><description>Too much of my writing in the last few years has gone exclusively into
Twitter. I need to find a better balance.</description><link>https://timbroder.com/2014/11/twitter-is-not-a-replacement-for-blogs-marco-org/</link><guid isPermaLink="false">https://timbroder.com/2014/11/twitter-is-not-a-replacement-for-blogs-marco-org</guid><pubDate>Tue, 04 Nov 2014 15:21:15 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>Too much of my writing in the last few years has gone exclusively into
Twitter. I need to find a better balance.</p>
</blockquote>
]]></content:encoded></item>
<item><title>A Tale of Two iPhones: Part 2</title><description>My iPhone decision, posted on The Tekside
Network Size matters, and it’s all in how you use it. In my last post, I went through
my thought process of picking a new phone. Since then, I’ve had a lot more
hands on time with the 6 Plus, and came to a decision. Quick recap: Big
screens are pretty, big screens are harder to fit in pockets, I read a lot, I
should get a big one as a developer device. A coworker of mine has the 6 Plus and was gracious enough to let me use his
for some lengths of time. We were both…</description><link>https://timbroder.com/2014/10/a-tale-of-two-iphones-part-2/</link><guid isPermaLink="false">https://timbroder.com/2014/10/a-tale-of-two-iphones-part-2</guid><pubDate>Mon, 13 Oct 2014 15:02:46 GMT</pubDate><content:encoded><![CDATA[<p>My iPhone decision, posted on <a href="http://tekside.net/iphonaddict/2014/10/7/a-tale-of-two-iphones">The Tekside
Network</a></p>
<p>Size matters, and it’s all in how you use it. In my last post, I went through
my thought process of picking a new phone. Since then, I’ve had a lot more
hands on time with the 6 Plus, and came to a decision. Quick recap: Big
screens are pretty, big screens are harder to fit in pockets, I read a lot, I
should get a big one as a developer device.</p>
<p>A coworker of mine has the 6 Plus and was gracious enough to let me use his
for some lengths of time. We were both at a conference last Monday. This gave
me ample walking around and sitting time with the 6 Plus. The 6 Plus sticks
out of the top of my front pocket. I tried it in two different pairs of Jeans
(Express and Levis). Neither pair is considered a “skinny jean”. I might have
been able to get used to that. Maybe. And no, I’m not going to put it in my
back pocket. Risk of bending or not, I’ll forget it’s there and do something
stupid. While it “fit” in my pocket, I couldn’t slide it around. There is a
decent number of times where I have my laptop on my lap; On the commuter train
going into NYC or on a couch at work. When I do this with my 5s, I slide it to
the side of my pocket so the laptop isn’t sitting right on it. If I left it,
it would dig into my leg or eventually do something bad to the phone’s screen.
Not an option with the 6 Plus (it is with the 6, I tried).</p>
<p>Walking around with the 6 Plus in my front pocket wasn’t bad. I do tend to
keep my hands in my pockets a lot and it was only slightly annoying. Sitting
at the conference’s chairs wasn’t too horrible. I knew it was there, and it
was different, but I could have gotten used to it. Back at work though, it
felt very weird. At my chair at work, the phone was digging into my hip. I
possibly, possibly could have gotten used to this as well. I probably would
have started taking it out of my pocket to sit down. Then, knowing me I’d
forget it at my desk and need it shortly after to check where I’m supposed to
be or what meeting I’m supposed to be in.</p>
<p>Reading on a bigger device isn’t too much of a deal breaker. I don’t mind
reading through my Instapaper queue or a Kindle book on my 5s (while on the
go, I have a Paperwhite at home). 90% of the time I have my backpack with me
which has my laptop and iPad Mini in it. I do a lot of reading on the iPad.
The 6 Plus is not big enough for reading comics so there’s no way it could
ever be replaced. I’ve made my decision at this point. Getting the 6. There
was one thing still on my mind though: I was worried about was doing
development work and having the 6 Plus with all it’s new size classes. I do my
iOS dev on nights and weekends. If I did it full time, I could justify
weighing that reason over the rest of my thinking. Maybe one day. For now,
I’ll stick with comfort.</p>
<p>Space Gray, 64 gig 6, here I come.</p>
<p><em>(I wasn’t up for renewal until Sept 22. As of this writing, my phone will show
up on Oct 17)</em></p>
]]></content:encoded></item>
<item><title>My Packing List</title><description>I’ve been traveling for
work a
bit this
year.  Sometimes with
little notice and it’s helped me to have a go to packing list.  I also use it
for personal trips as well. I just need less things.  I was originally
managing this in clear. Lately I’ve been managing it in
Listacular. I like that this app syncs text
file todo lists over dropbox. Easy to update on my Mac. Aftershave Air bed  Ball Bathing suit  Belt Big headphones Boots  Charge ipad  Charge kindle  Charge laptop  Coffee  Deodorant  Dress shirts…</description><link>https://timbroder.com/2014/10/my-packing-list/</link><guid isPermaLink="false">https://timbroder.com/2014/10/my-packing-list</guid><pubDate>Tue, 07 Oct 2014 18:01:55 GMT</pubDate><content:encoded><![CDATA[<p>I’ve been <a href="http://en.wikipedia.org/wiki/Tokyo">traveling</a> for
<a href="http://en.wikipedia.org/wiki/Dublin">work</a> a
<a href="http://en.wikipedia.org/wiki/Raleigh,_North_Carolina">bit</a> this
<a href="http://en.wikipedia.org/wiki/Warwick,_Rhode_Island">year</a>. &nbsp;Sometimes with
little notice and it’s helped me to have a go to packing list.&nbsp;&nbsp;I also use it
for personal trips as well. I just need less things.&nbsp;&nbsp;I was originally
managing this in <a href="https://itunes.apple.com/us/app/clear-tasks-to-do-list/id493136154?mt=8&amp;at=11laRZ&amp;ct=pro">clear</a>. Lately I’ve been managing it in
<a href="https://itunes.apple.com/us/app/listacular-for-dropbox-rapid/id624606571?at=11laRZ&amp;ct=pro&amp;ls=1&amp;mt=8">Listacular</a>. I like that this app syncs text
file todo lists over dropbox. Easy to update on my Mac.</p>
<ul>
<li>Aftershave</li>
<li><a href="http://www.amazon.com/AeroBed-Classic-Inflatable-Mattress-Pump/dp/B006FTIY26/ref=sr_1_3?sr=8-3&amp;ie=UTF8&amp;keywords=aerobed&amp;tag=nyen0e-20&amp;qid=1412704779">Air bed</a>&nbsp;</li>
<li><a href="http://www.amazon.com/Joes-USA-Lacrosse-Balls-Massage/dp/B009FMNBV4/ref=sr_1_1?sr=8-1&amp;ie=UTF8&amp;keywords=lacrosse%2Bball&amp;tag=nyen0e-20&amp;qid=1412704743">Ball</a></li>
<li>Bathing suit&nbsp;</li>
<li>Belt</li>
<li><a href="http://www.amazon.com/Bose-QuietComfort-Acoustic-Cancelling-Headphones/dp/B0054JJ0QW/ref=sr_1_1?sr=8-1&amp;ie=UTF8&amp;keywords=bose%2Bqc15&amp;tag=nyen0e-20&amp;qid=1412704762">Big headphones</a></li>
<li>Boots&nbsp;</li>
<li>Charge ipad&nbsp;</li>
<li>Charge kindle&nbsp;</li>
<li>Charge laptop&nbsp;</li>
<li><a href="https://bluebottlecoffee.com/f4a9df89">Coffee</a>&nbsp;</li>
<li>Deodorant&nbsp;</li>
<li>Dress shirts&nbsp;</li>
<li>Earplugs&nbsp;</li>
<li><a href="http://www.amazon.com/Trigger-Point-Performance-Revolutionary-Roller/dp/B0040EGNIU/ref=sr_1_1?sr=8-1&amp;ie=UTF8&amp;keywords=trigger%2Bpoint%2Btherapy&amp;tag=nyen0e-20&amp;qid=1412704830">Foam roller</a>&nbsp;</li>
<li>Hat&nbsp;</li>
<li><a href="http://www.amazon.com/Alternative-Rocky-Hoodie-Black-Large/dp/B005CWNYUO/ref=sr_1_3?sr=8-3&amp;ie=UTF8&amp;keywords=american%2Bgiant&amp;tag=nyen0e-20&amp;qid=1412704849">Hoodie</a></li>
<li>Inhalers&nbsp;</li>
<li>Kindle&nbsp;</li>
<li>Laptop&nbsp;</li>
<li>Laptop charger&nbsp;</li>
<li>Local currency&nbsp;</li>
<li>Meds&nbsp;</li>
<li>Money clip&nbsp;</li>
<li><a href="http://www.amazon.com/Nightwave-Sleep-Assistant-Nw-102-Original/dp/B0036FJ7AU/ref=sr_1_1?sr=8-1&amp;ie=UTF8&amp;keywords=nightwave&amp;tag=nyen0e-20&amp;qid=1412704873">Nightwave</a>&nbsp;</li>
<li>Pajamas&nbsp;</li>
<li>Passport</li>
<li>Phone charger&nbsp;</li>
<li>Pillow&nbsp;</li>
<li>Razor</li>
<li>Sandles&nbsp;</li>
<li>Shaving cream</li>
<li>Shorts</li>
<li>Small Headphones</li>
<li>Socks&nbsp;</li>
<li>Sunglasses&nbsp;</li>
<li>Toothbrush&nbsp;</li>
<li>Toothpaste&nbsp;</li>
<li>Tshirts&nbsp;</li>
<li>Undershirts&nbsp;</li>
<li>Underwear&nbsp;</li>
<li><a href="http://www.amazon.com/Vestal-Unisex-DIG008-Digichord-Digital/dp/B0039YT6WM/ref=sr_1_5?sr=8-5&amp;ie=UTF8&amp;keywords=vestal%2Bwatch&amp;tag=nyen0e-20&amp;qid=1412704898">Watch</a>&nbsp;</li>
<li>Workout clothes&nbsp;</li>
<li>Yoga Matt&nbsp;</li>
<li>iPad&nbsp;</li>
<li>iPhone</li>
</ul>
]]></content:encoded></item>
<item><title>Meet Magento 2014 New York – a Personal Summary</title><description>Alan Kent, Chief Architect of Magento 2 has a great write up of Meet Magento
NY Tim Broder of Alexander Interactive talked about his use of Vagrant to build
standard images, ensuring more consistent development environments for all
users. He pointed out you can have a Vagrant container mount a file system
from your local laptop so you can use a local IDE while having the files run
in a standard Vagrant environment image. In development you may mount it
read/write and in production read-only. The idea was to…</description><link>https://timbroder.com/2014/10/meet-magento-2014-new-york-a-personal-summary/</link><guid isPermaLink="false">https://timbroder.com/2014/10/meet-magento-2014-new-york-a-personal-summary</guid><pubDate>Sun, 05 Oct 2014 22:56:35 GMT</pubDate><content:encoded><![CDATA[<p>Alan Kent, Chief Architect of Magento 2 has a great write up of Meet Magento
NY</p>
<blockquote>
<p>Tim Broder of Alexander Interactive talked about his use of Vagrant to build
standard images, ensuring more consistent development environments for all
users. He pointed out you can have a Vagrant container mount a file system
from your local laptop so you can use a local IDE while having the files run
in a standard Vagrant environment image. In development you may mount it
read/write and in production read-only. The idea was to ensure all developers
had a consistent supported environment. Oh, and he mentioned a few times
“Vagrant Share” which allows you to share your environment with anyone in the
world. This looked really useful when collaborating with clients as you can
guarantee they have the same set up as you are using to develop the code.</p>
</blockquote>
]]></content:encoded></item>
<item><title>A Tale of Two iPhones</title><description>I wrote up my thoughts on picking a new phone over on the Tekside
Network. It’s almost upgrade time. Normally this is an easy decision: get the new
phone. Apple threw us a curve ball this year by launching two entirely new
phones. Now every Apple fan has a choice to make and it's a much, much harder
choice than the 5s vs. the underpowered 5c last year.  This year’s choice
boils down to screen size. Yes, granted, the 6 Plus has better battery life
and a better camera. Those two things will influence the…</description><link>https://timbroder.com/2014/10/a-tale-of-two-iphones/</link><guid isPermaLink="false">https://timbroder.com/2014/10/a-tale-of-two-iphones</guid><pubDate>Sun, 05 Oct 2014 20:59:39 GMT</pubDate><content:encoded><![CDATA[<p>I wrote up my thoughts on picking a new phone over on <a href="http://tekside.net/iphonaddict/2014/9/23/a-tale-of-two-iphones">the Tekside
Network.</a></p>
<p>It’s almost upgrade time. Normally this is an easy decision: get the new
phone. Apple threw us a curve ball this year by launching two entirely new
phones. Now every Apple fan has a choice to make and it's a much, much harder
choice than the 5s vs. the underpowered 5c last year.&nbsp; This year’s choice
boils down to screen size. Yes, granted, the 6 Plus has better battery life
and a better camera. Those two things will influence the choice of some
people. Their scope pales in comparison to SIZE.&nbsp; During the keynote, when
Apple announced the size, my initial reaction was to go with the 6. My gut
reaction to the 6 Plus was “No. NO. No. It’s too big! It’s never going to fit
in my pocket. WHY would anyone buy that? NO.” &nbsp;Now, I’m not so sure.</p>
<p>Let me take a step back. I’ve had big phones in the past. Prior to switching
to iPhone, I was the Android guy at work. I liked how configurable it was and
how it bashed the iPhone’s battery life, lack of copy/paste, and it’s “closed
system”. We’re not going down that rabbit hole today though. The point is, I
never had a “small” iPhone. I had a Droid, an Incredible, and a Galaxy Nexus.
Each one getting bigger with the Nexus capping out at 4.65 inches. I really,
really liked that size. Then for a number of reasons, I switched to iPhone. I
was tired of apps crashing. I wanted something new and slick and I started
writing apps for it. I picked up an iPhone 5, entering in at that form factor.
I LOVED it.&nbsp; It took a week or so for it to stop feeling small, but then it
felt perfect.</p>
<p>I initially thought: “The 6 is 4.7 inches and has a 3x screen? I’ve had that
screen size before. Done.” I can upgrade on Sept 22 and now I don’t even have
to think about it. I know what I’m going to get.</p>
<p>It’s currently Sunday, Sept 21. On Friday, a few 6’s started getting delivered
to work.&nbsp; They exceeded everything I thought about the phone. They look great
and the screen is insane. I'm still very happy with my decision.</p>
<p>Now some doubts are starting to pop up… &nbsp;I poked around in Xcode and I’m
seeing the things the 6 Plus does under the hood with screen layout. On
Twitter, I’m seeing other devs talking about how the 6 Plus behaves. As a
developer, wouldn’t it be the responsible decision to get the bigger phone so
I understand how it acts first hand?&nbsp; Do I need the better battery life? I
read on my phone a lot, but I like reading on my Retina Mini more. The screen
is gorgeous. Can I really pass that up?</p>
<p>Even with all of these questions, the choice still boils down to size. Will it
fit comfortably in my pocket? That is the deal breaker. On Monday, I’m going
to borrow a coworkers 6 Plus for an hour or so and sit with it in my pocket.
I’m going to walk around with it. I’m going to climb some stairs. If it’s just
too big, the 6+ is out. If it’s something I think I can adjust to, I am SO in.</p>
]]></content:encoded></item>
<item><title>These are the apps you want to try on your new iPhone</title><description>iOS 8 offers a whole range of features that let apps extend themselves — into
other apps, and even into widgets inside notification center. This is a great writeup of how exciting things are getting in the ecosystem
for both new and old apps alike</description><link>https://timbroder.com/2014/09/these-are-the-apps-you-want-to-try-on-your-new-iphone/</link><guid isPermaLink="false">https://timbroder.com/2014/09/these-are-the-apps-you-want-to-try-on-your-new-iphone</guid><pubDate>Sat, 20 Sep 2014 15:18:31 GMT</pubDate><content:encoded><![CDATA[<blockquote>
</blockquote>
<p>iOS 8 offers a whole range of features that let apps extend themselves — into
other apps, and even into widgets inside notification center.</p>
<p>This is a great writeup of how exciting things are getting in the ecosystem
for both new and old apps alike</p>
]]></content:encoded></item>
<item><title>On Morning Rituals</title><description>Rituals are important. I’m a creature of habit. But, I had never characterized
some of the things I do as rituals.  I read some posts by Casey
Liss and David Smith that were not unlike
some of the things I do.  I like repetition. I like not having to think about
a decision or even make one to begin with.  Similar things for breakfast each
day. If I cook a big meal I’ll have the leftovers for subsequent meals until
they are gone. Having these rituals help me get my day going. They let me know
that all is…</description><link>https://timbroder.com/2014/09/morning-rituals/</link><guid isPermaLink="false">https://timbroder.com/2014/09/morning-rituals</guid><pubDate>Tue, 16 Sep 2014 15:51:28 GMT</pubDate><content:encoded><![CDATA[<p>Rituals are important. I’m a creature of habit. But, I had never characterized
some of the things I do as rituals.&nbsp;&nbsp;I read some posts by <a href="http://www.caseyliss.com/2014/6/28/go-pack">Casey
Liss</a> and <a href="http://david-smith.org/blog/2014/05/22/my-travel-coffee-kit/">David Smith</a> that were not unlike
some of the things I do. &nbsp;I like repetition. I like not having to think about
a decision or even make one to begin with. &nbsp;Similar things for breakfast each
day. If I cook a big meal I’ll have the leftovers for subsequent meals until
they are gone.</p>
<p>Having these rituals help me get my day going. They let me know
that all is right in the world.</p>
<p>My morning ritual is something of a decision
tree:</p>
<p><strong>Gym</strong></p>
<p>I used to go to my gym a lot more often; 4-6 days a week. Adding
in runs on top of that if I was training for a race. Lately 3 days a week
seems to be my norm. I’ve grown to be ok with this. Personal and work stress
are adding up, and that’s what I can do right now. Which is funny because the
gym is a <em>huge</em>&nbsp;stress relief for me. But, I digress. &nbsp;If I go to the gym, I
shower at the gym after my workout, then walk to work.&nbsp;&nbsp;I either have
breakfast with me or I pick it up on the way to the office. If I have it with
me, it means I cooked it the night before: 3-4 eggs fried in coconut oil,
seasoning, maybe some sourcraut (It’s a lot better than you think it is). If I
pick it up it’s some kind of veggie omelet or scrambled eggs with a vegetable.
This has been my morning gym ritual for about 5 years now.&nbsp;&nbsp;I started drinking
coffee about a year ago. I have a half cup from the pot of work if I eat
breakfast there.&nbsp;&nbsp;I add 2 cubes of ice to it from work’s freezer.&nbsp;&nbsp;I want to
drink it immediately and this brings it to the right temperature for my taste.
Having this repetition helps me start my day. I usually eat my food at the
cafe table, with my laptop, doing a quick pass of email. &nbsp;I’m trying to shift
this into <em>doing</em>&nbsp;something with the first hour of my day, not just drowning
in email.</p>
<p>Wakeup time: 5:35am. Catch 6:07 train into the city. My clothes are
laid out the night before. Wakeup, chug protein shake so I’m not starving,
wash face, brush teeth, do inhaler, run to train.</p>
<p><strong>Home</strong></p>
<p>If I sleep in, I
eat and have coffee at home. &nbsp;I’ll wakeup and jump in the shower to wake up a
little. Breakfast will be 3 eggs and sometimes a few strips of bacon. &nbsp;I put
the frying pan on high. While it’s heating up I put the kettle on.&nbsp;&nbsp;I crack a
few eggs into the pan. While they are sitting, I start getting the Aeropress
ready.&nbsp;&nbsp;I love the Aeropress. It’s perfect for a single cup, or even 2 if I’m
making one for Laura. I get my coffee from <a href="https://tonx.org/f4a9df89">Tonx</a>.
If you aren’t familiar with them, I highly recommend. You get your coffee
every 2 weeks for a monthly fee. The beans are roasted fresh, which apparently
augments the taste. &nbsp;I don’t have to worry about running out, or remembering
to pick some up from the store. It just shows up. Less stress. &nbsp;The amount of
coffee I drink is perfect for their lowest plan. At most I end up with an
extra cup and a half of beans. It’s very, very rare that I run out.&nbsp;I also
tried Drifwaway coffee which I <strong>really</strong>&nbsp;liked. They send you a sample pack
of 4 types of coffee. You rate each one and this effects what your shipments
are in the future. I consistently got something I really enjoyed. I
occasionally get something I’m not a big fan of with Tonx. &nbsp;You might wonder
why I don’t just pick 1 thing and stick with it. That would be less stress,
actually. But, I’m still getting into coffee and exploring what I like. I
can’t tell you right now what type of coffee I like using the right
terminology. But, Driftaway’s shipment size was too big for me, I ended up
having a decent amount leftover.</p>
<p>Wakeup time: in between 7 and 8, depending on
what my morning for work looks like</p>
<p><strong>Run</strong></p>
<p>I may, like I did this morning,
get up 30-60 mins before my sleep in time and get a run in. &nbsp;If it’s going to
be raining I’ll opt for this. I love running in the rain. &nbsp;The amount of
running I’ve been doing recently has dropped drastically. I’m trying to get
back into it. I really do love it. After the run, I fall into what I normally
do at home.</p>
<p>I use an alarm for all of these. For the gym, I’ll set the <a href="http://www.amazon.com/Sony-Machine-Cassette-Player-Icf-cs650/dp/B00KNKJYQS?tag=nyen0e-20">Sony
clock radio</a> I’ve had since I was 6. I’m amazed it still
works, though it took me a while to find a link to it online. I wake up at the
same time for the gym, no matter the day. I just flip on the alarm. Laura
keeps it tuned to NPR, so I wake up to that. &nbsp;The other days I’ll use my
phone. Siri sets alarms for whatever time I need.</p>
<p>I never snooze. Never have,
don’t think I ever will. &nbsp;If I’m not going to get up until 20 mins later, I’d
rather just get that as real sleep time. &nbsp;My alarm clock has always been in a
place where I have to get up to turn it off. (This was particularly helpful in
college. I woke up at 4:40 for practice. Sleep was very valuable)</p>
<p>If you are
frazzled in the morning or feel stressed out getting ready for work, think
about repetition. What would you want to do every morning? What of your
routine can be ritualized?</p>
<p>If you did a few things the night before (pick
clothes) would that lessen your stress in the morning? Think about it. I love
it. If you have any rituals that help you start your day, or lower your
stress, let me below in the comments or on</p>
]]></content:encoded></item>
<item><title>The Rise and Fall of Communication Mediums</title><description>Brent Simmons: My blog’s older than Twitter and Facebook, and it will outlive them. It has
seen Flickr explode and then fade. It’s seen Google Wave and Google Reader
come and go, and it’ll still be here as Google Plus fades. When Medium and
Tumblr are gone, my blog will be here. The things that will last on the internet are not owned. Plain old websites,
blogs, RSS, irc, email. Marco Arment: This is why I’m still championing blogs, RSS, and using your own domain even
though supposedly “everyone” has moved…</description><link>https://timbroder.com/2014/09/the-rise-and-fall-of-communication-mediums/</link><guid isPermaLink="false">https://timbroder.com/2014/09/the-rise-and-fall-of-communication-mediums</guid><pubDate>Sun, 07 Sep 2014 20:49:49 GMT</pubDate><content:encoded><![CDATA[<p><a href="http://inessential.com/2014/08/27/waffle_on_social_media">Brent Simmons</a>:</p>
<blockquote>
<p>My blog’s older than Twitter and Facebook, and it will outlive them. It has
seen Flickr explode and then fade. It’s seen Google Wave and Google Reader
come and go, and it’ll still be here as Google Plus fades. When Medium and
Tumblr are gone, my blog will be here.</p>
</blockquote>
<blockquote>
</blockquote>
<blockquote>
<p>The things that will last on the internet are not owned. Plain old websites,
blogs, RSS, irc, email.</p>
</blockquote>
<p><a href="http://www.marco.org/2014/08/27/brentwaffle">Marco Arment</a>:</p>
<blockquote>
<p>This is why I’m still championing blogs, RSS, and using your own domain even
though supposedly “everyone” has moved to social networks.</p>
</blockquote>
<p>I’m very, very glad I started blogging 7 years ago.&nbsp;&nbsp;I started out just
wanting to help people. I’ve continued posting code both for tutorial purposes
and to work through my own problems. At some times it’s been a voice for me,
and I’ve dabbled in commentary. &nbsp;Facebook is older than this blog, but I’m
fairly close to Twitter.&nbsp;&nbsp;I never thought we’d see the day when Google Reader
would shut down. These days Google doesn’t surprise me anymore. Which, should
say something. I was a <a href="https://timbroder.com/2007/07/begining/">HUGE</a>
Google fanboy. Since moving off blogger, I’ve managed the servers and software
that run this blog. I plan on being around for a long time. It’s too much fun
to stop</p>
]]></content:encoded></item>
<item><title>Don't Skimp on Coffee: A CTO's Plea</title><description>My friend Matt, CTO of
DoSomething.org, posted a great article on the
importance of coffee, ritual, and how they relate to the happiness,
productivity, and health of your company If you’re looking for an office Rosetta Stone, a way to assess company
culture across industries, coffee is it.</description><link>https://timbroder.com/2014/08/dont-skimp-on-coffee-a-ctos-plea/</link><guid isPermaLink="false">https://timbroder.com/2014/08/dont-skimp-on-coffee-a-ctos-plea</guid><pubDate>Thu, 21 Aug 2014 13:56:27 GMT</pubDate><content:encoded><![CDATA[<p>My friend <a href="https://twitter.com/mshmsh5000">Matt</a>, CTO of
<a href="https://www.dosomething.org/">DoSomething.org</a>,&nbsp;posted a great article on the
importance of coffee, ritual, and how they relate to the happiness,
productivity, and health of your company</p>
<blockquote>
<p>If you’re looking for an office Rosetta Stone, a way to assess company
culture across industries, coffee is it.</p>
</blockquote>
]]></content:encoded></item>
<item><title>Podcast Reruns</title><description>Last year, I had been plowing through old episodes of a few Tech podcasts. I
was able to get through all of Developing
Perspective (they are short) and was
working on Build and Analyze.  I’m halfway-ish
through B&amp;A, but my listening has died off in leu of new episodes of
other shows. I’ve missed listening to it.  The reason it dropped of is playlist related.
Everything I listen to is in one playlist that I prune from time to time. I
didn’t add B&amp;A to it because I didn’t want to have to download each
episode…</description><link>https://timbroder.com/2014/08/podcast-reruns/</link><guid isPermaLink="false">https://timbroder.com/2014/08/podcast-reruns</guid><pubDate>Mon, 18 Aug 2014 18:06:58 GMT</pubDate><content:encoded><![CDATA[<p>Last year, I had been plowing through old episodes of a few Tech podcasts. I
was able to get through all of <a href="http://developingperspective.com/">Developing
Perspective</a> (they are short) and was
working on <a href="http://5by5.tv/buildanalyze">Build and Analyze</a>. &nbsp;I’m halfway-ish
through B&amp;A, but my listening has died off in leu of new episodes of
<a href="https://timbroder.com/podcasts/">other shows</a>.</p>
<p>I’ve missed listening to it. &nbsp;The reason it dropped of is playlist related.
Everything I listen to is in one playlist that I prune from time to time. I
didn’t add B&amp;A to it because I didn’t want to have to download each
episode each time. I downloaded them all at once. If I added it to the
playlist, all 108 episodes would have shown up. &nbsp;I had a separate playlist
just for this show. But, I would forget about it.</p>
<p>I got to thinking about reruns. TV has them. YouTube has them. &nbsp;Why not this
medium? &nbsp;Whether specifically for podcasts or RSS feeds in general, I thought
something might exist. Something that would take a feed and give back the
items at a pubDate+days interval. This way, whatever you consume the feeds
with, will think it’s new. This could be done by modifying the pubDate, though
some feed scrapers might not care that a pubDate might be in the future. &nbsp;The
other method would be to restrict a feed based on a range of days (or weeks
for Podcasts).</p>
<p>I googled around for a bit. The back of my mind thinks it remembers something
from…. 5 or so years ago? No luck. Then I wanted to build a service to do it…
Then I remembered time is scarce these days. Yahoo Pipes to the rescue!!</p>
<p>I got a pipe working that overcast would accept and process. Then tweaked it
for more public consumption.</p>
<p><a href="http://pipes.yahoo.com/timbroder/podcastreruns">http://pipes.yahoo.com/timbroder/podcastreruns</a></p>
<p>The Pipe has 3 inputs (listed in a different order from that link for ease of
explanation)</p>
<ul>
<li>Feed URL: Paste in the url of your podcast feed here</li>
<li>How Many Weeks ago to start: This is when in the podcast to start pulling from. If want to start at the very first episode, use the number of weeks between when the episode first aired, and now. &nbsp;I want to start B&amp;A at episode 49. It aired on 10/24/2011. It’s currently 7/29/2014. So, I want to start 145 weeks ago</li>
<li>How many episodes do you want per week: This depends on how much you want, and how often the podcast released episodes. &nbsp;If it was a weekly podcast and you want to get 1 episode a week, put 1. If it was weekly and you want 4 episodes a week to catch up faster, put 4. &nbsp;What this is doing is loading all the feed items in between the “start week” and this number at once. Podcasts that come out more than once a week will be multiplied by this number</li>
</ul>
<p>Configure as needed, then cick “Run Pipe” to confirm you see the appropriate
episodes. Then, grab the RSS url for this configuration. Load this URL into
your pod catcher.</p>
<p><img src="https://timbroder.com/images/2014/07/2014-07-29_16021.png" alt="2014 07 29 1602"></p>
<p>I’ve been testing this for a few weeks now and it’s working great! Another
good use would be <a href="https://itunes.apple.com/us/app/overcast-podcast-player/id888422857?mt=8&amp;at=11laRZ&amp;ct=pro">Overcast’s</a> “Retired Greats” Section:</p>
<p>&nbsp;<img src="https://timbroder.com/images/2014/08/overcast1.jpg" alt="Overcast1"></p>
<p>If you are interested in the inner workings of this Pipe, here is a
screenshot. Though, looking at this now, getting more than 1 episode a week
needs some tweaking.</p>
<p><a href="https://timbroder.com/images/2014/07/2014-07-29_16061.png"><img src="https://timbroder.com/images/2014/07/2014-07-29_16061.png" alt="2014 07 29 1606"></a></p>
]]></content:encoded></item>
<item><title>“make” time</title><description>We’re often told you need to “make” time, a phrase that rankles me. Drives me nuts as well. Our days are already packed. "Making time" isn't
making it; it's prioritizing time. If you make time for something, you are
acknowledging that the thing you are making time for has a priority at the
expense of something else. That’s why it’s important to know how long something takes, or to break it
down into micro projects. By doing so, you may discover that you can reclaim
time “might” by being more efficient, or…</description><link>https://timbroder.com/2014/08/make-time/</link><guid isPermaLink="false">https://timbroder.com/2014/08/make-time</guid><pubDate>Wed, 13 Aug 2014 23:13:59 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>We’re often told you need to “make” time, a phrase that rankles me.</p>
</blockquote>
<p>Drives me nuts as well. Our days are already packed. "Making time" isn't
making it; it's prioritizing time. If you make time for something, you are
acknowledging that the thing you are making time for has a priority at the
expense of something else.</p>
<blockquote>
<p>That’s why it’s important to know how long something takes, or to break it
down into micro projects. By doing so, you may discover that you can reclaim
time “might” by being more efficient, or by delegating tasks (whether they be
personal or business-related).</p>
</blockquote>
<p>This is interesting. I'd be interested in trying it and seeing where all my
time is during the day. (I already track all my work hours. Outside of that) I
would worry about it being consuming though. Then stressing about missed logs.
Maybe</p>
]]></content:encoded></item>
<item><title>UITableViewCell Action Swiping in iOS8 and Swift</title><description>Mail.app in iOS7 brought swiping cells to the inbox. The iOS8 beta added a 3rd
button to it.  Apple has also introduced an API to assist with creating this
effect: UITableViewRowAction.
Prior to this, I used
SWTableViewCell.  Below is how to get the basic functionality working. Please note that you have
to implement the 2nd function whether it has a body or not I can’t get the (-) delete indicator to appear when I put the table into edit
mode though. Setting UITableViewCell.shouldIndentWhileEditing = NO is…</description><link>https://timbroder.com/2014/08/uitableviewcell-action-swiping-in-ios8-and-swift/</link><guid isPermaLink="false">https://timbroder.com/2014/08/uitableviewcell-action-swiping-in-ios8-and-swift</guid><pubDate>Sat, 09 Aug 2014 20:43:58 GMT</pubDate><content:encoded><![CDATA[<p>Mail.app in iOS7 brought swiping cells to the inbox. The iOS8 beta added a 3rd
button to it. &nbsp;Apple has also introduced an API to assist with creating this
effect:&nbsp;<a href="https://developer.apple.com/library/prerelease/ios/documentation/UIKit/Reference/UITableViewRowAction_class/index.html">UITableViewRowAction</a>.
Prior to this, I used
<a href="https://github.com/CEWendel/SWTableViewCell">SWTableViewCell</a>.</p>
<p><img src="https://timbroder.com/images/2014-08-09-uitableviewcell-action-swiping-in-ios8-and-swift/14870105002_77af4bf515_b.jpg" alt=""></p>
<p>Below is how to get the basic functionality working. Please note that you have
to implement the 2nd function whether it has a body or not</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="swift"><code><span class="line"><span style="color:#66D9EF;font-style:italic">class</span><span> </span><span style="color:#A6E22E;text-decoration:underline">TIMUITableViewDelegate</span><span style="color:#F8F8F2">: </span><span style="color:#A6E22E;font-style:italic;text-decoration:underline">NSObject</span><span style="color:#F8F8F2">, </span><span style="color:#A6E22E;font-style:italic;text-decoration:underline">UITableViewDelegate </span><span style="color:#F8F8F2">{</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">    func</span><span style="color:#A6E22E"> tableView</span><span style="color:#F8F8F2">(</span><span style="color:#A6E22E">tableView</span><span style="color:#F8F8F2">: UITableView</span><span style="color:#fa4f8d">!</span><span style="color:#F8F8F2">, </span><span style="color:#A6E22E">editActionsForRowAtIndexPath</span><span style="color:#FD971F;font-style:italic"> indexPath</span><span style="color:#F8F8F2">: NSIndexPath</span><span style="color:#fa4f8d">!</span><span style="color:#F8F8F2">) -&amp;gt; [AnyObject]! {</span></span>
<span class="line"><span style="color:#fa4f8d">        var</span><span style="color:#F8F8F2"> shareAction </span><span style="color:#fa4f8d">=</span><span style="color:#66D9EF"> UITableViewRowAction</span><span style="color:#F8F8F2">(</span><span style="color:#66D9EF">style</span><span style="color:#F8F8F2">: .Normal, </span><span style="color:#66D9EF">title</span><span style="color:#F8F8F2">: </span><span style="color:#E6DB74">"Share"</span><span style="color:#F8F8F2">) { (action, indexPath) </span><span style="color:#fa4f8d">-&amp;</span><span style="color:#F8F8F2">gt; </span><span style="color:#66D9EF;font-style:italic">Void</span><span style="color:#fa4f8d"> in</span></span>
<span class="line"><span style="color:#F8F8F2">            tableView.editing </span><span style="color:#fa4f8d">=</span><span style="color:#AE81FF"> false</span></span>
<span class="line"><span style="color:#66D9EF">            println</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">"shareAction"</span><span style="color:#F8F8F2">)</span></span>
<span class="line"><span style="color:#F8F8F2">        }</span></span>
<span class="line"><span style="color:#F8F8F2">        shareAction.backgroundColor </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> UIColor.</span><span style="color:#66D9EF">grayColor</span><span style="color:#F8F8F2">()</span></span>
<span class="line"><span style="color:#F8F8F2">        </span></span>
<span class="line"><span style="color:#fa4f8d">        var</span><span style="color:#F8F8F2"> doneAction </span><span style="color:#fa4f8d">=</span><span style="color:#66D9EF"> UITableViewRowAction</span><span style="color:#F8F8F2">(</span><span style="color:#66D9EF">style</span><span style="color:#F8F8F2">: .Default, </span><span style="color:#66D9EF">title</span><span style="color:#F8F8F2">: </span><span style="color:#E6DB74">"Done"</span><span style="color:#F8F8F2">) { (action, indexPath) </span><span style="color:#fa4f8d">-&amp;</span><span style="color:#F8F8F2">gt; </span><span style="color:#66D9EF;font-style:italic">Void</span><span style="color:#fa4f8d"> in</span></span>
<span class="line"><span style="color:#F8F8F2">            tableView.editing </span><span style="color:#fa4f8d">=</span><span style="color:#AE81FF"> false</span></span>
<span class="line"><span style="color:#66D9EF">            println</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">"readAction"</span><span style="color:#F8F8F2">)</span></span>
<span class="line"><span style="color:#F8F8F2">        }</span></span>
<span class="line"><span style="color:#F8F8F2">        doneAction.backgroundColor </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> UIColor.</span><span style="color:#66D9EF">greenColor</span><span style="color:#F8F8F2">()</span></span>
<span class="line"><span style="color:#F8F8F2">        </span></span>
<span class="line"><span style="color:#fa4f8d">        var</span><span style="color:#F8F8F2"> deleteAction </span><span style="color:#fa4f8d">=</span><span style="color:#66D9EF"> UITableViewRowAction</span><span style="color:#F8F8F2">(</span><span style="color:#66D9EF">style</span><span style="color:#F8F8F2">: .Default, </span><span style="color:#66D9EF">title</span><span style="color:#F8F8F2">: </span><span style="color:#E6DB74">"Delete"</span><span style="color:#F8F8F2">) { (action, indexPath) </span><span style="color:#fa4f8d">-&amp;</span><span style="color:#F8F8F2">gt; </span><span style="color:#66D9EF;font-style:italic">Void</span><span style="color:#fa4f8d"> in</span></span>
<span class="line"><span style="color:#F8F8F2">            tableView.editing </span><span style="color:#fa4f8d">=</span><span style="color:#AE81FF"> false</span></span>
<span class="line"><span style="color:#66D9EF">            println</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">"deleteAction"</span><span style="color:#F8F8F2">)</span></span>
<span class="line"><span style="color:#F8F8F2">        }</span></span>
<span class="line"><span style="color:#F8F8F2">        </span></span>
<span class="line"><span style="color:#fa4f8d">        return</span><span style="color:#F8F8F2"> [deleteAction, doneAction, shareAction]</span></span>
<span class="line"><span style="color:#F8F8F2">    }</span></span>
<span class="line"><span style="color:#F8F8F2">    </span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">    func</span><span style="color:#A6E22E"> tableView</span><span style="color:#F8F8F2">(</span><span style="color:#A6E22E">tableView</span><span style="color:#F8F8F2">: UITableView</span><span style="color:#fa4f8d">!</span><span style="color:#F8F8F2">, </span><span style="color:#A6E22E">commitEditingStyle</span><span style="color:#FD971F;font-style:italic"> editingStyle</span><span style="color:#F8F8F2">: UITableViewCellEditingStyle, </span><span style="color:#A6E22E">forRowAtIndexPath</span><span style="color:#FD971F;font-style:italic"> indexPath</span><span style="color:#F8F8F2">: NSIndexPath</span><span style="color:#fa4f8d">!</span><span style="color:#F8F8F2">) {</span></span>
<span class="line"><span style="color:#F8F8F2">    }</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">}</span></span></code></pre>
<p>I can’t get the (-) delete indicator to appear when I put the table into edit
mode though. Setting&nbsp;UITableViewCell.shouldIndentWhileEditing = NO is supposed
to disable this effect. I’ve tried setting it in 3 places:</p>
<ul>
<li>On the cell directly&nbsp;</li>
<li>In interface builder: <a href="http://screencast.com/t/TUg7To46vKd0">http://screencast.com/t/TUg7To46vKd0&nbsp;</a></li>
<li>In the appropriate delegate method</li>
</ul>
<p>I’ve had to add some workarounds to deal with this for now. &nbsp;I’ve filed
<a href="http://openradar.appspot.com/17969970">rdar://17969970</a> against this. For
now, this is how I’m handling by checking if I’m already in edit mode when I
build out the actions array. This isn’t ideal at all. I don’t even want to be
able to delete when I’m in edit mode, just reorder. Apologies for switching
back to obj-c. The delegate I’m working in is older.</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="swift"><code><span class="line"><span style="color:#fa4f8d">-</span><span style="color:#F8F8F2"> (void) endEditing</span></span>
<span class="line"><span style="color:#F8F8F2">{</span></span>
<span class="line"><span style="color:#FD971F">    self</span><span style="color:#F8F8F2">.editMode </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> NO;</span></span>
<span class="line"><span style="color:#FD971F">    self</span><span style="color:#F8F8F2">.editControlButton.title </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> @</span><span style="color:#E6DB74">"Reorder"</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#F8F8F2">    [</span><span style="color:#FD971F">self</span><span style="color:#F8F8F2"> setEditing</span><span style="color:#fa4f8d">:</span><span style="color:#F8F8F2">NO animated</span><span style="color:#fa4f8d">:</span><span style="color:#F8F8F2">YES];</span></span>
<span class="line"><span style="color:#94907d">    //[self.tableView reloadData];</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">-</span><span style="color:#F8F8F2"> (void) startEditing</span></span>
<span class="line"><span style="color:#F8F8F2">{</span></span>
<span class="line"><span style="color:#FD971F">    self</span><span style="color:#F8F8F2">.editMode </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> YES;</span></span>
<span class="line"><span style="color:#FD971F">    self</span><span style="color:#F8F8F2">.editControlButton.title </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> @</span><span style="color:#E6DB74">"Done"</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#F8F8F2">    [</span><span style="color:#FD971F">self</span><span style="color:#F8F8F2">.tableView setEditing</span><span style="color:#fa4f8d">:</span><span style="color:#F8F8F2">YES animated</span><span style="color:#fa4f8d">:</span><span style="color:#F8F8F2">YES];</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span>
<span class="line"></span>
<span class="line"><span style="color:#66D9EF">#pragma</span><span style="color:#fa4f8d"> -</span><span style="color:#F8F8F2"> mark UITableViewDelegate</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">-</span><span style="color:#F8F8F2"> (BOOL)tableView</span><span style="color:#fa4f8d">:</span><span style="color:#F8F8F2">(UITableView </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">)tableView canEditRowAtIndexPath</span><span style="color:#fa4f8d">:</span><span style="color:#F8F8F2">(NSIndexPath </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">)</span><span style="color:#66D9EF">indexPath</span><span style="color:#F8F8F2"> {</span></span>
<span class="line"><span style="color:#fa4f8d">    return</span><span style="color:#F8F8F2"> YES;</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">-</span><span style="color:#F8F8F2"> (UITableViewCellEditingStyle)tableView</span><span style="color:#fa4f8d">:</span><span style="color:#F8F8F2">(UITableView </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">)tableView editingStyleForRowAtIndexPath</span><span style="color:#fa4f8d">:</span><span style="color:#F8F8F2">(NSIndexPath </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">)indexPath</span></span>
<span class="line"><span style="color:#F8F8F2">{</span></span>
<span class="line"><span style="color:#fa4f8d">    return</span><span style="color:#F8F8F2"> UITableViewCellEditingStyleDelete;</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">-</span><span style="color:#F8F8F2"> (BOOL)tableView</span><span style="color:#fa4f8d">:</span><span style="color:#F8F8F2">(UITableView </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">)tableview shouldIndentWhileEditingRowAtIndexPath</span><span style="color:#fa4f8d">:</span><span style="color:#F8F8F2">(NSIndexPath </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">)indexPath</span></span>
<span class="line"><span style="color:#F8F8F2">{</span></span>
<span class="line"><span style="color:#66D9EF">    NSLog</span><span style="color:#F8F8F2">(@</span><span style="color:#E6DB74">"shouldIndentWhileEditingRowAtIndexPath"</span><span style="color:#F8F8F2">);</span></span>
<span class="line"><span style="color:#fa4f8d">    return</span><span style="color:#F8F8F2"> NO;</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">-</span><span style="color:#F8F8F2"> (void)tableView</span><span style="color:#fa4f8d">:</span><span style="color:#F8F8F2">(UITableView </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">)tableView didSelectRowAtIndexPath</span><span style="color:#fa4f8d">:</span><span style="color:#F8F8F2">(NSIndexPath </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">)</span><span style="color:#66D9EF">indexPath</span><span style="color:#F8F8F2"> {</span></span>
<span class="line"><span style="color:#F8F8F2">    TCORead </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">item </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> [</span><span style="color:#FD971F">self</span><span style="color:#F8F8F2">.fetchedResultsControllerDataSource selectedItem];</span></span>
<span class="line"><span style="color:#F8F8F2">    manager.currentRead </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> item;</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">-</span><span style="color:#F8F8F2"> (NSArray </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">)tableView</span><span style="color:#fa4f8d">:</span><span style="color:#F8F8F2">(UITableView </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">)tableView editActionsForRowAtIndexPath</span><span style="color:#fa4f8d">:</span><span style="color:#F8F8F2">(NSIndexPath </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">)</span><span style="color:#66D9EF">indexPath</span><span style="color:#F8F8F2"> {</span></span>
<span class="line"><span style="color:#F8F8F2">    UITableViewRowAction </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">deleteAction </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> [UITableViewRowAction rowActionWithStyle</span><span style="color:#fa4f8d">:</span><span style="color:#F8F8F2">UITableViewRowActionStyleDestructive title</span><span style="color:#fa4f8d">:</span><span style="color:#F8F8F2">@</span><span style="color:#E6DB74">"Delete"</span><span style="color:#F8F8F2"> handler</span><span style="color:#fa4f8d">:^</span><span style="color:#F8F8F2">(UITableViewRowAction </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">action, NSIndexPath </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">indexPath){</span></span>
<span class="line"><span style="color:#F8F8F2">        [</span><span style="color:#FD971F">self</span><span style="color:#F8F8F2">.tableView setEditing</span><span style="color:#fa4f8d">:</span><span style="color:#F8F8F2">NO];</span></span>
<span class="line"><span style="color:#F8F8F2">    }];</span></span>
<span class="line"><span style="color:#F8F8F2">    </span></span>
<span class="line"><span style="color:#94907d">    //workaround, rdar://17969970</span></span>
<span class="line"><span style="color:#94907d">    //normally don't want to be able to get into this menu when reordering</span></span>
<span class="line"><span style="color:#fa4f8d">    if</span><span style="color:#F8F8F2"> (</span><span style="color:#fa4f8d">!</span><span style="color:#FD971F">self</span><span style="color:#F8F8F2">.editMode) {</span></span>
<span class="line"><span style="color:#F8F8F2">        UITableViewRowAction </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">shareAction </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> [UITableViewRowAction rowActionWithStyle</span><span style="color:#fa4f8d">:</span><span style="color:#F8F8F2">UITableViewRowActionStyleNormal title</span><span style="color:#fa4f8d">:</span><span style="color:#F8F8F2">@</span><span style="color:#E6DB74">"Share"</span><span style="color:#F8F8F2"> handler</span><span style="color:#fa4f8d">:^</span><span style="color:#F8F8F2">(UITableViewRowAction </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">action, NSIndexPath </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">indexPath){</span></span>
<span class="line"><span style="color:#F8F8F2">            [</span><span style="color:#FD971F">self</span><span style="color:#F8F8F2">.tableView setEditing</span><span style="color:#fa4f8d">:</span><span style="color:#F8F8F2">NO];</span></span>
<span class="line"><span style="color:#F8F8F2">        }];</span></span>
<span class="line"><span style="color:#F8F8F2">        shareAction.backgroundColor </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> [UIColor grayColor];</span></span>
<span class="line"><span style="color:#F8F8F2">        </span></span>
<span class="line"><span style="color:#F8F8F2">        UITableViewRowAction </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">doneAction </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> [UITableViewRowAction rowActionWithStyle</span><span style="color:#fa4f8d">:</span><span style="color:#F8F8F2">UITableViewRowActionStyleDestructive title</span><span style="color:#fa4f8d">:</span><span style="color:#F8F8F2">@</span><span style="color:#E6DB74">"Done"</span><span style="color:#F8F8F2"> handler</span><span style="color:#fa4f8d">:^</span><span style="color:#F8F8F2">(UITableViewRowAction </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">action, NSIndexPath </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">indexPath){</span></span>
<span class="line"><span style="color:#F8F8F2">            [</span><span style="color:#FD971F">self</span><span style="color:#F8F8F2">.tableView setEditing</span><span style="color:#fa4f8d">:</span><span style="color:#F8F8F2">NO];</span></span>
<span class="line"><span style="color:#F8F8F2">        }];</span></span>
<span class="line"><span style="color:#F8F8F2">        doneAction.backgroundColor </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> [UIColor greenColor];</span></span>
<span class="line"><span style="color:#F8F8F2">        </span></span>
<span class="line"><span style="color:#F8F8F2">        [</span><span style="color:#FD971F">self</span><span style="color:#F8F8F2"> startEditing];</span></span>
<span class="line"><span style="color:#fa4f8d">        return</span><span style="color:#F8F8F2"> @[deleteAction, doneAction, shareAction];</span></span>
<span class="line"><span style="color:#F8F8F2">    }</span></span>
<span class="line"><span style="color:#F8F8F2">    </span></span>
<span class="line"><span style="color:#fa4f8d">    return</span><span style="color:#F8F8F2"> @[deleteAction];</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">-</span><span style="color:#F8F8F2"> (void)tableView</span><span style="color:#fa4f8d">:</span><span style="color:#F8F8F2">(UITableView </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">)tableView didEndEditingRowAtIndexPath</span><span style="color:#fa4f8d">:</span><span style="color:#F8F8F2">(NSIndexPath </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">)indexPath</span></span>
<span class="line"><span style="color:#F8F8F2">{</span></span>
<span class="line"><span style="color:#F8F8F2">    [</span><span style="color:#FD971F">self</span><span style="color:#F8F8F2"> endEditing];</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">-</span><span style="color:#F8F8F2"> (void)tableView</span><span style="color:#fa4f8d">:</span><span style="color:#F8F8F2">(UITableView </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">)tableView commitEditingStyle</span><span style="color:#fa4f8d">:</span><span style="color:#F8F8F2">(UITableViewCellEditingStyle)editingStyle forRowAtIndexPath</span><span style="color:#fa4f8d">:</span><span style="color:#F8F8F2">(NSIndexPath </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">)</span><span style="color:#66D9EF">indexPath</span><span style="color:#F8F8F2"> {</span></span>
<span class="line"><span style="color:#94907d">    //empty on purpose</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span></code></pre>
<p>This post and the Radar helped me collect my thoughts to post on <a href="http://stackoverflow.com/questions/25222872/uitableviewcell-not-respecting-shouldindentwhileediting-no">Stack</a>. I’ve been afraid of backlash or Noob. Time to get over it.</p>
<p><strong>Update&nbsp;2014-09-11</strong></p>
<p><a href="https://timbroder.com/2014/08/uitableviewcell-action-swiping-in-ios8-and-swift/">Vanyas</a> has a great sample application that&nbsp;addresses what I’m trying to do.&nbsp;&nbsp;I was forcing the delete button on the right hand side myself. &nbsp;Updating&nbsp;editingStyleForRowAtIndexPath to the below fixed my issue:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="c"><code><span class="line"><span style="color:#fa4f8d">-</span><span style="color:#F8F8F2"> (UITableViewCellEditingStyle)tableView:(UITableView </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">)tableView editingStyleForRowAtIndexPath:(NSIndexPath </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">)indexPath</span></span>
<span class="line"><span style="color:#F8F8F2">{</span></span>
<span class="line"><span style="color:#94907d">    //return UITableViewCellEditingStyleDelete;</span></span>
<span class="line"><span style="color:#fa4f8d">    return</span><span style="color:#F8F8F2"> tableView.isEditing </span><span style="color:#fa4f8d">?</span><span style="color:#F8F8F2"> UITableViewCellEditingStyleNone</span><span style="color:#fa4f8d">:</span><span style="color:#F8F8F2"> UITableViewCellEditingStyleDelete;</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span></code></pre>
]]></content:encoded></item>
<item><title>How to Restore a Time Machine Backup From a Synology NAS</title><description>My Sunday morning started off like this: “There’s an error with the EFI system partition’s file system.” Well today’s
off to a great start // @siracusa — Tim Broder
(@timothybroder) August 3,
2014 My laptop wouldn’t finish booting. All I got was a backlit, black, screen.  I
went through numerous combinations of booting with option, cmd+R, cmd+shift+R,
un-mounting, ejecting. In all methods, trying in vain to get the Disk Utility
to verify and repair the hard drive. I tried from Recovery Mode and
a fresh OSX…</description><link>https://timbroder.com/2014/08/restore-time-machine-backup-synology-nas/</link><guid isPermaLink="false">https://timbroder.com/2014/08/restore-time-machine-backup-synology-nas</guid><pubDate>Mon, 04 Aug 2014 22:28:26 GMT</pubDate><content:encoded><![CDATA[<p>My Sunday morning started off like this:</p>
<blockquote>
<p>“There’s an error with the EFI system partition’s file system.” Well today’s
off to a great start // <a href="https://twitter.com/siracusa">@siracusa</a> — Tim Broder
(@timothybroder) <a href="https://twitter.com/timothybroder/statuses/495938712375939073">August 3,
2014</a></p>
</blockquote>
<p>My laptop wouldn’t finish booting.</p>
<p>All I got was a backlit, black, screen. &nbsp;I
went through numerous combinations of booting with option, cmd+R, cmd+shift+R,
un-mounting, ejecting. In all methods, trying in vain to get the Disk Utility
to verify and <a href="http://www.cultofmac.com/264991/repair-verify-hard-drive-command-line-os-x-tips/">repair</a> the hard drive.&nbsp;I tried from Recovery Mode and
a fresh OSX install on a USB hard drive.&nbsp;The things I saw on my screen
included:</p>
<ul>
<li>The aforementioned <a href="https://discussions.apple.com/message/18177363">black screen</a></li>
<li>A backlit, white, screen</li>
<li>A gray screen with a flashing <a href="http://support.apple.com/kb/TS1440?viewlocale=en_US&amp;locale=en_US">Folder</a> with a question mark in it</li>
<li>“Live file system repair is <a href="https://discussions.apple.com/thread/5739421?tstart=0">not supported</a>”</li>
<li>There’s an error with the EFI system partition’s file system.”</li>
<li>Clean installs were failing:&nbsp;"<a href="https://discussions.apple.com/thread/5467959?tstart=0">An Error</a> occurred while preparing the installation. &nbsp;Try running this application again.”</li>
<li>“Verified failure: <a href="http://forums.macrumors.com/showthread.php?t=1667862">unrecognized</a> file system”</li>
</ul>
<p>After a few hours I moved from “I need to fix this” to “I need to get my
laptop back up.”</p>
<p>Ok let’s do a clean install: "An Error occurred while
preparing the installation. &nbsp;Try running this application again.”</p>
<p>Crap.</p>
<p>At
this point I booked a genius bar appointment for the next day just in case. 3
clean installs failed. Took a break to think about it…. I got back into Disk
Utility and formatted the partition. Then deleted/recreated the partitions.
Formatted again (why not?). At this point a clean install worked. Ok… Seems
like the drive isn’t totally dead. But, I want to do a fresh restore from my
Time Machine backup on my <a href="http://www.amazon.com/gp/product/B008U69LC4/ref=wms_ohs_product?psc=1&amp;tag=nyen0e-20&amp;ie=UTF8">NAS</a>. I normally also have a
SuperDuper! backup. I didn’t. That’s a story for another time. Apple doesn’t
quite support NAS Time Machine; there are a few hoops you have to jump
through:</p>
<ol>
<li>Get into recovery mode (Boot while holding cmd+R)</li>
<li>Open the terminal</li>
<li>Go to Volumes
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="plaintext"><code><span class="line"><span>cd /Volumes</span></span>
<span class="line"><span>ls -la</span></span></code></pre>
</li>
<li>Make a place to mount the NAS
<code>mkdir synology</code></li>
<li>Double check it’s there
<code>ls -la</code></li>
<li>Mount your NAS. This is the IP of it in my house. This should be the IP you use to get to the admin console. My Admin is: <a href="http://192.168.1.205:5000">http://192.168.1.205:5000</a></li>
</ol>
<p>You’ll also need to know what share your Time Machine back is in. For me, it has it’s own drive, represented by “timstimemachine”. I’ll go into the details of my NAS setup in a future post
<code>mount -t afp afp://admin:[password]@192.168.1.205/timstimemachine synology</code></p>
<ol>
<li>Check you see files in the synology folder
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="plaintext"><code><span class="line"><span>cd synology</span></span>
<span class="line"><span>ls -la</span></span></code></pre>
</li>
<li>Even though we’re mounted, we won’t see this backup in Time Machine Restore just yet. Use hdid (hard drive image driver) to mount the sparse bundle image
<code>hdid [your back-up name].sparsebundle</code></li>
<li>If your drive or the backup was encrypted, You’ll need to enter it’s password at this time</li>
<li>Make sure your backup is still mounted
<code>ls -la</code></li>
<li>Ok, quit the Terminal and load up Time Machine Restore</li>
<li>You should see the backup we just mounted</li>
<li>Start the restore. It can take a while. Mine is around 360 gigs and it estimated 16 hours. It took a lot less than that but it finished when I was sleeping so I don’t have an accurate time.</li>
</ol>
<p>Sunday was a stressful day. Hopefully this can help you.</p>
]]></content:encoded></item>
<item><title>Twitter or RSS</title><description>If you had to choose between only reading Twitter or only reading weblogs,
which would you choose? Losing Twitter would be a bummer for a lot people, but
losing weblogs would decimate the web. We should do more to strengthen weblogs
and RSS because they are the foundation for so much of the most important
writing on the web. #RSS4LIFE Joking aside, I do get a lot of my news from twitter these days. I would say
half the articles that I'd be interested in reading (dumping to Instapaper
from Reeder or Mr…</description><link>https://timbroder.com/2014/08/twitter-or-rss/</link><guid isPermaLink="false">https://timbroder.com/2014/08/twitter-or-rss</guid><pubDate>Sun, 03 Aug 2014 22:34:34 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>If you had to choose between only reading Twitter or only reading weblogs,
which would you choose? Losing Twitter would be a bummer for a lot people, but
losing weblogs would decimate the web. We should do more to strengthen weblogs
and RSS because they are the foundation for so much of the most important
writing on the web.</p>
</blockquote>
<p>#RSS4LIFE</p>
<p>Joking aside, I do get a lot of my news from twitter these days. I would say
half the articles that I'd be interested in reading (dumping to <a href="https://itunes.apple.com/us/app/instapaper/id288545208?mt=8&amp;at=11laRZ&amp;ct=LCP">Instapaper</a>
from <a href="https://itunes.apple.com/us/app/reeder-2/id697846300?mt=8&amp;at=11laRZ&amp;ct=LCP">Reeder</a> or <a href="https://itunes.apple.com/us/app/mr.-reader/id412874834?mt=8&amp;at=11laRZ&amp;ct=LCP">Mr. reader</a>) I've already added from twitter. Luckily, I use
<a href="https://itunes.apple.com/us/app/feed-wrangler/id634486174?mt=8k">Feed Wrangler</a> so I don't see duplicates of something already in
Instapaper when browsing my feeds.</p>
]]></content:encoded></item>
<item><title>The Most Dangerous Word In Software Development</title><description>“Just put it up on a server somewhere.” “Just add a favorite button to the right side of the item.” “Just add [insert complex option here] to the settings screen.” If any of these sentences rings true or makes you cringe, read this article.</description><link>https://timbroder.com/2014/08/the-most-dangerous-word-in-software-development/</link><guid isPermaLink="false">https://timbroder.com/2014/08/the-most-dangerous-word-in-software-development</guid><pubDate>Sun, 03 Aug 2014 19:12:41 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>“Just put it up on a server somewhere.”</p>
</blockquote>
<blockquote>
</blockquote>
<blockquote>
<p>“Just add a favorite button to the right side of the item.”</p>
</blockquote>
<blockquote>
</blockquote>
<blockquote>
<p>“Just add [insert complex option here] to the settings screen.”</p>
</blockquote>
<p>If any of these sentences rings true or makes you cringe, read this article.</p>
]]></content:encoded></item>
<item><title>Dismiss a Modal UIViewController created in Interface Builder</title><description>There are a number of posts on this
subject on Stack. They involve re-instantiating (this seems
slower to me) or yanking the view from a UIButton (this feels dirty). I’d rather just update the UIBarButtonItem that I already have: 2014-07-27_1826 All I needed to do, was attach the appropriate target and action to the
UIBarButtonItem:</description><link>https://timbroder.com/2014/07/dismiss-a-modal-uiviewcontroller-created-in-interface-builder/</link><guid isPermaLink="false">https://timbroder.com/2014/07/dismiss-a-modal-uiviewcontroller-created-in-interface-builder</guid><pubDate>Sun, 27 Jul 2014 22:31:11 GMT</pubDate><content:encoded><![CDATA[<p>There are a <a href="http://stackoverflow.com/questions/2796438/uibarbuttonitem-target-action-not-working">number</a> of posts&nbsp;on this
<a href="http://stackoverflow.com/questions/7719237/add-a-custom-selector-to-a-uibarbuttonitem">subject</a> on Stack. They involve re-instantiating (this seems
slower to me) or yanking the view from a UIButton (this feels dirty).</p>
<p>I’d rather just update the UIBarButtonItem that I already have:</p>
<p><a href="https://www.flickr.com/photos/timothybroder/14575059147" title="View
'2014-07-27_1826' on Flickr.com"><img src="https://timbroder.com/images/remote/2014-07-27-dismiss-a-modal-uiviewcontroller-created-in-interface-builder/14575059147_d33d111203_b.jpg" alt="2014-07-27_1826"></a></p>
<p>All I needed to do, was attach the appropriate target and action to the
UIBarButtonItem:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="swift"><code><span class="line"><span style="color:#66D9EF;font-style:italic">class</span><span> </span><span style="color:#A6E22E;text-decoration:underline">SettingsTableViewController</span><span style="color:#F8F8F2"> : </span><span style="color:#A6E22E;font-style:italic;text-decoration:underline">UITableViewController </span><span style="color:#F8F8F2">{</span></span>
<span class="line"><span style="color:#F8F8F2">    </span></span>
<span class="line"><span style="color:#fa4f8d">    @IBOutlet</span><span style="color:#fa4f8d"> weak</span><span style="color:#fa4f8d"> var</span><span style="color:#F8F8F2"> doneBarButton: UIBarButtonItem</span><span style="color:#fa4f8d">!</span></span>
<span class="line"><span style="color:#F8F8F2">    </span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">    init</span><span style="color:#F8F8F2">(</span><span style="color:#A6E22E">coder</span><span style="color:#FD971F;font-style:italic"> aDecoder</span><span style="color:#F8F8F2">: NSCoder</span><span style="color:#fa4f8d">!</span><span style="color:#F8F8F2">) {</span></span>
<span class="line"><span style="color:#FD971F">        super</span><span style="color:#F8F8F2">.</span><span style="color:#66D9EF;font-style:italic">init</span><span style="color:#F8F8F2">(</span><span style="color:#66D9EF">coder</span><span style="color:#F8F8F2">: aDecoder)</span></span>
<span class="line"><span style="color:#F8F8F2">    }</span></span>
<span class="line"><span style="color:#F8F8F2">    </span></span>
<span class="line"><span style="color:#fa4f8d">    override</span><span style="color:#66D9EF;font-style:italic"> func</span><span style="color:#A6E22E"> viewDidLoad</span><span style="color:#F8F8F2">() {</span></span>
<span class="line"><span style="color:#FD971F">        super</span><span style="color:#F8F8F2">.</span><span style="color:#66D9EF">viewDidLoad</span><span style="color:#F8F8F2">()</span></span>
<span class="line"><span style="color:#F8F8F2">        </span></span>
<span class="line"><span style="color:#F8F8F2">        doneBarButton.target </span><span style="color:#fa4f8d">=</span><span style="color:#FD971F"> self</span></span>
<span class="line"><span style="color:#F8F8F2">        doneBarButton.action </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> "donePressed:"</span></span>
<span class="line"><span style="color:#F8F8F2">    }</span></span>
<span class="line"><span style="color:#F8F8F2">    </span></span>
<span class="line"><span style="color:#fa4f8d">    @IBAction</span><span style="color:#66D9EF;font-style:italic"> func</span><span style="color:#A6E22E"> donePressed</span><span style="color:#F8F8F2">(</span><span style="color:#A6E22E">b</span><span style="color:#F8F8F2">:UIBarButtonItem) {</span></span>
<span class="line"><span style="color:#FD971F">        self</span><span style="color:#F8F8F2">.</span><span style="color:#66D9EF">dismissViewControllerAnimated</span><span style="color:#F8F8F2">(</span><span style="color:#AE81FF">true</span><span style="color:#F8F8F2">, </span><span style="color:#66D9EF">completion</span><span style="color:#F8F8F2">: {})</span></span>
<span class="line"><span style="color:#F8F8F2">    }</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span></code></pre>
]]></content:encoded></item>
<item><title>Using PonyDebugger on a device</title><description>PonyDebugger is awesome. I use it mostly for Core Data debugging. Most of the
time, I find it easier then firing up SQLite
Professional. When using the simulator, hitting localhost:9000 is fine. On a device, not so
much; you need to hit your machine. xip.ioto the rescue!
What it is: xip.io is a magic domain name that provides wildcard DNS for any
IP address. We use this heavily at work if the machine we’re on isn’t hooked
up to a subdomain or Vagrant Share. We can use this wildcard to have our iPhone hit…</description><link>https://timbroder.com/2014/07/using-ponydebugger-on-a-device/</link><guid isPermaLink="false">https://timbroder.com/2014/07/using-ponydebugger-on-a-device</guid><pubDate>Sun, 27 Jul 2014 20:25:59 GMT</pubDate><content:encoded><![CDATA[<p>PonyDebugger is awesome. I use it mostly for Core Data debugging. Most of the
time, I find it easier then firing up&nbsp;<a href="https://itunes.apple.com/us/app/sqlite-professional-sql-coredata/id586001240?mt=12&amp;at=11laRZ&amp;ct=pro">SQLite
Professional</a>.</p>
<p>When using the simulator, hitting&nbsp;localhost:9000 is fine. On a device, not so
much; you need to hit your machine. <a href="http://xip.io/">xip.io</a>to the rescue!
What it is: xip.io is a magic domain name that provides wildcard DNS for any
IP address. We use this heavily at work if the machine we’re on isn’t hooked
up to a subdomain or <a href="https://www.vagrantup.com/blog/feature-preview-vagrant-1-5-share.html">Vagrant Share</a>.</p>
<p>We can use this wildcard to have our iPhone hit our laptop’s instance of
PonyDebugger.</p>
<p>First, get your IP. I use
<a href="https://www.dropbox.com/s/mngjeqwe64z5zkl/MyIP.alfredworkflow">this</a> Alfred
workflow. Take note of your local IP.</p>
<p>Start PonyDebugger listening on that IP:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="bash"><code><span class="line"><span style="color:#A6E22E">ponyd</span><span style="color:#E6DB74"> serve</span><span style="color:#E6DB74"> —listen-interface=</span><span style="color:#AE81FF">192.168.1.10</span></span></code></pre>
<p>For handy access, alias this command:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="bash"><code><span class="line"><span style="color:#66D9EF;font-style:italic">alias</span><span style="color:#F8F8F2"> pony</span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74">"ponyd serve --listen-interface=192.168.1.10"</span></span></code></pre>
<p>Load Pony in your browser by appending your IP to the a xip.io URL:
<a href="http://192.168.1.10.xip.io:9000/">http://192.168.1.10.xip.io:9000/</a></p>
<p>To access via the simulator or a device:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="swift"><code><span class="line"><span style="color:#fa4f8d">let</span><span style="color:#F8F8F2"> pony </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> PDDebugger.</span><span style="color:#66D9EF">defaultInstance</span><span style="color:#F8F8F2">()</span></span>
<span class="line"><span style="color:#F8F8F2">pony.</span><span style="color:#66D9EF">connectToURL</span><span style="color:#F8F8F2">(NSURL.</span><span style="color:#66D9EF">URLWithString</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">"ws://192.168.1.10.xip.io:9000/device"</span><span style="color:#F8F8F2">))</span></span>
<span class="line"><span style="color:#F8F8F2">pony.</span><span style="color:#66D9EF">enableNetworkTrafficDebugging</span><span style="color:#F8F8F2">()</span></span>
<span class="line"><span style="color:#F8F8F2">pony.</span><span style="color:#66D9EF">enableCoreDataDebugging</span><span style="color:#F8F8F2">()</span></span></code></pre>
]]></content:encoded></item>
<item><title>UITapGestureRecognizer in Swift</title><description>I have a subclass of UIView that has a label: I want to attach a Tap Gesture to it:</description><link>https://timbroder.com/2014/07/uitapgesturerecognizer-in-swift/</link><guid isPermaLink="false">https://timbroder.com/2014/07/uitapgesturerecognizer-in-swift</guid><pubDate>Sun, 27 Jul 2014 14:47:33 GMT</pubDate><content:encoded><![CDATA[<p>I have a subclass of UIView that has a label:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="swift"><code><span class="line"><span style="color:#66D9EF;font-style:italic">class</span><span> </span><span style="color:#A6E22E;text-decoration:underline">PlayerView</span><span style="color:#F8F8F2"> : </span><span style="color:#A6E22E;font-style:italic;text-decoration:underline">UIView </span><span style="color:#F8F8F2">{</span></span>
<span class="line"><span style="color:#fa4f8d">    @IBOutlet</span><span style="color:#fa4f8d"> weak</span><span style="color:#fa4f8d"> var</span><span style="color:#F8F8F2"> playLabel: UILabel</span><span style="color:#fa4f8d">!</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span></code></pre>
<p>I want to attach a Tap Gesture to it:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="swift"><code><span class="line"><span style="color:#66D9EF;font-style:italic">class</span><span> </span><span style="color:#A6E22E;text-decoration:underline">PlayerView</span><span style="color:#F8F8F2"> : </span><span style="color:#A6E22E;font-style:italic;text-decoration:underline">UIView </span><span style="color:#F8F8F2">{</span></span>
<span class="line"><span style="color:#fa4f8d">    @IBOutlet</span><span style="color:#fa4f8d"> weak</span><span style="color:#fa4f8d"> var</span><span style="color:#F8F8F2"> playLabel: UILabel</span><span style="color:#fa4f8d">!</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span></code></pre>
]]></content:encoded></item>
<item><title>Creating a conforming delegate (UITableViewDelegate) in Swift</title><description>This tripped me up for a bit so I hope this helps someone. I started out with this class, thinking I could just continue on my merry way.
This errors in Xcode with: "class does not conform to NSObjectProtocol” Hmm ok, but much there yet, what did I miss? This should definitely be a
class; not a protocol (I have methods to implement), not a @class_protocol
(wrong use, based on the docs), hmm. This obviously behaves different than in objective-c. What is inherent in the
obj-c version of this that would…</description><link>https://timbroder.com/2014/07/creating-a-conforming-delegate-uitableviewdelegate-in-swift/</link><guid isPermaLink="false">https://timbroder.com/2014/07/creating-a-conforming-delegate-uitableviewdelegate-in-swift</guid><pubDate>Sun, 27 Jul 2014 02:11:16 GMT</pubDate><content:encoded><![CDATA[<p>This tripped me up for a bit so I hope this helps someone.</p>
<p>I started out with this class, thinking I could just continue on my merry way.
This errors in Xcode with: "<em>class does not conform to NSObjectProtocol</em>”</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="swift"><code><span class="line"><span style="color:#66D9EF;font-style:italic">class</span><span> </span><span style="color:#A6E22E;text-decoration:underline">FastListUITableViewDelegate</span><span style="color:#F8F8F2"> : </span><span style="color:#A6E22E;font-style:italic;text-decoration:underline">UITableViewDelegate </span><span style="color:#F8F8F2">{ }</span></span></code></pre>
<p>Hmm ok, but much there yet, what did I miss? This should definitely be a
class; not a protocol (I have methods to implement), not a&nbsp;@class_protocol
(wrong use, based on the docs), hmm.</p>
<p>This obviously behaves different than in objective-c. What is inherent in the
obj-c version of this that would conform to NSObjectProtocol? NSObject. Every
class and C eventually rolls up to this…</p>
<p>This is working so far:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="swift"><code><span class="line"><span style="color:#66D9EF;font-style:italic">class</span><span> </span><span style="color:#A6E22E;text-decoration:underline">FastListUITableViewDelegate</span><span style="color:#F8F8F2"> : </span><span style="color:#A6E22E;font-style:italic;text-decoration:underline">NSObject</span><span style="color:#F8F8F2">, </span><span style="color:#A6E22E;font-style:italic;text-decoration:underline">UITableViewDelegate </span><span style="color:#F8F8F2">{ }</span></span></code></pre>
<p>I’ll report back here if this solution changes</p>
]]></content:encoded></item>
<item><title>Why I turned off email notifications</title><description>Just about a week ago I had an epiphany: Email is a constant. It will never
end. More often than not nothing is actionable I made a quick change — turn off
all notifications for email. None shall pass. NO EMAIL NOTIFICATIONS. I've been doing this for about a year now on my phone
and it's amazing. I've been doing it for 3 years on my laptop. I don't know
why I didn't do it on all my devices sooner. (I don't get outlook or gmail
notifications). It lowers stress and helps me focus on actual tasks
instead of…</description><link>https://timbroder.com/2014/07/why-i-turned-off-email-notifications/</link><guid isPermaLink="false">https://timbroder.com/2014/07/why-i-turned-off-email-notifications</guid><pubDate>Wed, 23 Jul 2014 01:02:24 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>Just about a week ago I had an epiphany: Email is a constant. It will never
end.</p>
</blockquote>
<blockquote>
</blockquote>
<blockquote>
<p>More often than not nothing is actionable I made a quick change — turn off
all notifications for email. None shall pass.</p>
</blockquote>
<p>NO EMAIL NOTIFICATIONS. I've been doing this for about a year now on my phone
and it's amazing. I've been doing it for 3 years on my laptop. I don't know
why I didn't do it on all my devices sooner. (I don't get outlook or gmail
notifications). It lowers stress and helps me focus on <strong>actual tasks</strong>
instead of context switching into email all the time. Context switching is
<strong>expensive</strong></p>
<blockquote>
<p>Reply too fast, expectations are set</p>
</blockquote>
<p>No arguments here. If someone thinks you respond to emails within 5 mins, they
will expect it. When you don't, you'll be under delivering.</p>
<blockquote>
<p>If it’s urgent, why are you using email?</p>
</blockquote>
<p>This is a <strong>huge</strong> pet peeve of mine. "Did you have a chance to respond to
that email I sent you 30 seconds ago?" drives me nuts. If it's an emergency,
send me an IM. If I'm offline or don't respond, get up off your ass and walk
over. If I'm remote and offline for some reason, text me.</p>
]]></content:encoded></item>
<item><title>Coding Under Par</title><description>when it’s midnight and I’m on a perceived roll with some coding challenge,
there doesn’t appear to be any stopping me. I “have all night,” or at least
that’s what my monkey brain says. Of course, the smarter half of me knows I
should be getting calling it a day and getting some much-needed rest. I hear this. As I get older, and keep to a rigid sleep schedule, I tend to
find myself being useless after 9pm. I do miss the old days io burning through
until 2am. Now that flux exists to take care of the circadian…</description><link>https://timbroder.com/2014/07/coding-under-par/</link><guid isPermaLink="false">https://timbroder.com/2014/07/coding-under-par</guid><pubDate>Wed, 23 Jul 2014 01:02:13 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>when it’s midnight and I’m on a perceived roll with some coding challenge,
there doesn’t appear to be any stopping me. I “have all night,” or at least
that’s what my monkey brain says. Of course, the smarter half of me knows I
should be getting calling it a day and getting some much-needed rest.</p>
</blockquote>
<p>I hear this. As I get older, and keep to a rigid sleep schedule, I tend to
find myself being useless after 9pm. I do miss the old days io burning through
until 2am. Now that flux exists to take care of the circadian issues, we
should be able to burn all night. Right? RIGHT!?!</p>
]]></content:encoded></item>
<item><title>Looping through subviews and downcasting in Swift</title><description>I've been playing around with Auto-Layout. This snippet was helpful to see
what constraints were set on what views in my View Hierarchy. Getting the downcast right on the subviews Array took a few tries:</description><link>https://timbroder.com/2014/07/looping-subviews-downcasting-swift/</link><guid isPermaLink="false">https://timbroder.com/2014/07/looping-subviews-downcasting-swift</guid><pubDate>Tue, 22 Jul 2014 23:23:27 GMT</pubDate><content:encoded><![CDATA[<p>I've been playing around with Auto-Layout. This snippet was helpful to see
what constraints were set on what views in my View Hierarchy.</p>
<p>Getting the downcast right on the subviews Array took a few tries:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="swift"><code><span class="line"><span style="color:#66D9EF;font-style:italic">func</span><span style="color:#A6E22E"> showAL</span><span style="color:#F8F8F2">(</span><span style="color:#A6E22E">view</span><span style="color:#F8F8F2">: UIView) {</span></span>
<span class="line"><span style="color:#66D9EF">    println</span><span style="color:#F8F8F2">(</span><span style="color:#fa4f8d">&amp;</span><span style="color:#F8F8F2">quot;</span><span style="color:#fa4f8d">!&amp;</span><span style="color:#F8F8F2">quot;)</span></span>
<span class="line"><span style="color:#66D9EF">    println</span><span style="color:#F8F8F2">(view)</span></span>
<span class="line"><span style="color:#66D9EF">    println</span><span style="color:#F8F8F2">(view.</span><span style="color:#66D9EF">constraints</span><span style="color:#F8F8F2">())</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">    for</span><span style="color:#F8F8F2"> view </span><span style="color:#fa4f8d">in</span><span style="color:#FD971F"> self</span><span style="color:#F8F8F2">.subviews </span><span style="color:#fa4f8d">as</span><span style="color:#F8F8F2"> [UIView] {</span></span>
<span class="line"><span style="color:#66D9EF">        showAL</span><span style="color:#F8F8F2">(view)</span></span>
<span class="line"><span style="color:#fa4f8d">        for</span><span style="color:#F8F8F2"> subview </span><span style="color:#fa4f8d">in</span><span style="color:#F8F8F2"> view.subviews </span><span style="color:#fa4f8d">as</span><span style="color:#F8F8F2"> [UIView] {</span></span>
<span class="line"><span style="color:#66D9EF">            showAL</span><span style="color:#F8F8F2">(subview)</span></span>
<span class="line"><span style="color:#F8F8F2">        }</span></span>
<span class="line"><span style="color:#F8F8F2">    }</span></span>
<span class="line"><span style="color:#F8F8F2">    ```</span></span></code></pre>
]]></content:encoded></item>
<item><title>Functions or Read-Only Properties in Swift?</title><description>I’m not sure which is better.  If it's returning something that is directly
tied to the class: a slice/dice of properties is already has, I'm leaning
towards properties. Because of the many examples I feel like read-only
properties are the way to do.  I’m not the only person
wondering, so that’s validating. Property: Function:</description><link>https://timbroder.com/2014/07/functions-vs-read-properties-swift/</link><guid isPermaLink="false">https://timbroder.com/2014/07/functions-vs-read-properties-swift</guid><pubDate>Sat, 12 Jul 2014 23:22:03 GMT</pubDate><content:encoded><![CDATA[<p>I’m not sure which is better. &nbsp;If it's returning something that is directly
tied to the class: a slice/dice of properties is already has, I'm leaning
towards properties. Because of the many examples I <em>feel</em>&nbsp;like read-only
properties are the way to do. &nbsp;I’m not the only person
<a href="http://stackoverflow.com/questions/24035276/computed-read-only-property-vs-function-in-swift">wondering</a>, so that’s validating.</p>
<p>Property:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="c"><code><span class="line"><span style="color:#F8F8F2">extension String {</span></span>
<span class="line"><span style="color:#F8F8F2">    var fullSentences: [String] {</span></span>
<span class="line"><span style="color:#94907d">        // stuff</span></span>
<span class="line"><span style="color:#F8F8F2">    }</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span></code></pre>
<p>Function:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="c"><code><span class="line"><span style="color:#F8F8F2">extension String {</span></span>
<span class="line"><span style="color:#F8F8F2">    func </span><span style="color:#A6E22E">fullSentences</span><span style="color:#F8F8F2">() </span><span style="color:#fa4f8d">-&amp;</span><span style="color:#F8F8F2">gt; [String] {</span></span>
<span class="line"><span style="color:#94907d">        // stuff</span></span>
<span class="line"><span style="color:#F8F8F2">    }</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span></code></pre>
]]></content:encoded></item>
<item><title>Playgrounds in Swift are Awesome</title><description>Man alive, I missed this from Python.  More live editing, less edit+build+run. 2014-07-12_1822</description><link>https://timbroder.com/2014/07/playgrounds-in-swift-are-awesome/</link><guid isPermaLink="false">https://timbroder.com/2014/07/playgrounds-in-swift-are-awesome</guid><pubDate>Sat, 12 Jul 2014 23:19:42 GMT</pubDate><content:encoded><![CDATA[<p>Man alive, I missed this from Python. &nbsp;More live editing, less edit+build+run.</p>
<p><a href="https://www.flickr.com/photos/timothybroder/14451913518" title="View
'2014-07-12_1822' on Flickr.com"><img src="https://timbroder.com/images/remote/2014-07-12-playgrounds-in-swift-are-awesome/14451913518_c2ef7c5358_b.jpg" alt="2014-07-12_1822"></a></p>
<p><img src="https://timbroder.com/images/remote/2014-07-12-playgrounds-in-swift-are-awesome/everything-is-awesome-6.png" alt=""></p>
]]></content:encoded></item>
<item><title>Parsing sentences from a String in Swift</title><description>I’ve been looking at how to parse
sentences from text recently.
While I’m still looking for a more Machine Learning approach, I found
NSStringEnumerationBySentences which can get me there faster (for now).  I
need to get all of the sentences from a given String.  This could easily be an
Objective-C category method.  But, I’m trying to learn as much Swift as I can.
I haven’t played with extensions yet. Here we go.  is what I’ll need, but I need
the extension first: Fiddling with Swift’s closure syntax for a…</description><link>https://timbroder.com/2014/07/parsing-sentences-string-swift/</link><guid isPermaLink="false">https://timbroder.com/2014/07/parsing-sentences-string-swift</guid><pubDate>Sat, 12 Jul 2014 23:08:57 GMT</pubDate><content:encoded><![CDATA[<p>I’ve been looking at how to <a href="https://pinboard.in/u:broderboy/t:sentences/">parse
sentences</a> from text recently.
While I’m still looking for a more Machine Learning approach, I found
NSStringEnumerationBySentences which can get me there faster (for now).&nbsp;&nbsp;I
need to get all of the sentences from a given String. &nbsp;This could easily be an
Objective-C category method. &nbsp;But, I’m trying to learn as much Swift as I can.
I haven’t played with extensions yet. Here we go. <code>enumerateSubstringsInRange:options:usingBlock:</code> is what I’ll need, but I need
the extension first:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="swift"><code><span class="line"><span style="color:#66D9EF;font-style:italic">extension</span><span style="color:#66D9EF;font-style:italic"> String</span><span style="color:#F8F8F2"> {</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">    var</span><span style="color:#F8F8F2"> fullSentences: [</span><span style="color:#66D9EF;font-style:italic">String</span><span style="color:#F8F8F2">] {</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">    }</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">}</span></span></code></pre>
<p>Fiddling with Swift’s closure syntax for a little while, and using the shorthand for NSStringEnumerationBySentences, I end up with this:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="swift"><code><span class="line"><span style="color:#66D9EF;font-style:italic">extension</span><span style="color:#66D9EF;font-style:italic"> String</span><span style="color:#F8F8F2"> {</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">    var</span><span style="color:#F8F8F2"> fullSentences: [</span><span style="color:#66D9EF;font-style:italic">String</span><span style="color:#F8F8F2">] {</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">        var</span><span style="color:#F8F8F2"> sentences </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> [</span><span style="color:#66D9EF;font-style:italic">String</span><span style="color:#F8F8F2">]()</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">        let</span><span style="color:#F8F8F2"> range </span><span style="color:#fa4f8d">=</span><span style="color:#FD971F"> self</span><span style="color:#F8F8F2">.</span><span style="color:#66D9EF">rangeOfString</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F">self</span><span style="color:#F8F8F2">)</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">        </span></span>
<span class="line"></span>
<span class="line"><span style="color:#FD971F">        self</span><span style="color:#F8F8F2">.</span><span style="color:#66D9EF">enumerateSubstringsInRange</span><span style="color:#F8F8F2">(range, </span><span style="color:#66D9EF">options</span><span style="color:#F8F8F2">: .BySentences) { substring, substringRange, enclosingRange, </span><span style="color:#fa4f8d">inout</span><span style="color:#fa4f8d"> in</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">            sentences </span><span style="color:#fa4f8d">+=</span><span style="color:#F8F8F2"> substring</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">        }</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">        </span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">        return</span><span style="color:#F8F8F2"> sentences</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">    }</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">}</span></span></code></pre>
<p>This could have been condensed even more, but I find this very hard to read:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="swift"><code><span class="line"><span style="color:#66D9EF;font-style:italic">extension</span><span style="color:#66D9EF;font-style:italic"> String</span><span style="color:#F8F8F2"> {</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">    var</span><span style="color:#F8F8F2"> fullSentences: [</span><span style="color:#66D9EF;font-style:italic">String</span><span style="color:#F8F8F2">] {</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">        var</span><span style="color:#F8F8F2"> sentences </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> [</span><span style="color:#66D9EF;font-style:italic">String</span><span style="color:#F8F8F2">]()</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">        let</span><span style="color:#F8F8F2"> range </span><span style="color:#fa4f8d">=</span><span style="color:#FD971F"> self</span><span style="color:#F8F8F2">.</span><span style="color:#66D9EF">rangeOfString</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F">self</span><span style="color:#F8F8F2">)</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">        </span></span>
<span class="line"></span>
<span class="line"><span style="color:#FD971F">        self</span><span style="color:#F8F8F2">.</span><span style="color:#66D9EF">enumerateSubstringsInRange</span><span style="color:#F8F8F2">(range, </span><span style="color:#66D9EF">options</span><span style="color:#F8F8F2">: .BySentences) { substring, _, _, _ </span><span style="color:#fa4f8d">in</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">            sentences </span><span style="color:#fa4f8d">+=</span><span style="color:#F8F8F2"> substring</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">        }</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">        </span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">        return</span><span style="color:#F8F8F2"> sentences</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">    }</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">}</span></span></code></pre>
<p>Ah, but alas. Now I can’t use this in Objective-C. It won’t see the String extension.  It needs to be NSString:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="swift"><code><span class="line"><span style="color:#66D9EF;font-style:italic">extension</span><span> </span><span style="color:#A6E22E;text-decoration:underline">NSString</span><span style="color:#F8F8F2"> {</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">    var</span><span style="color:#F8F8F2"> fullSentences: [</span><span style="color:#66D9EF;font-style:italic">String</span><span style="color:#F8F8F2">] {</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">        var</span><span style="color:#F8F8F2"> sentences </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> [</span><span style="color:#66D9EF;font-style:italic">String</span><span style="color:#F8F8F2">]()</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">        let</span><span style="color:#F8F8F2"> range </span><span style="color:#fa4f8d">=</span><span style="color:#FD971F"> self</span><span style="color:#F8F8F2">.</span><span style="color:#66D9EF">rangeOfString</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F">self</span><span style="color:#F8F8F2">)</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">        </span></span>
<span class="line"></span>
<span class="line"><span style="color:#FD971F">        self</span><span style="color:#F8F8F2">.</span><span style="color:#66D9EF">enumerateSubstringsInRange</span><span style="color:#F8F8F2">(range, </span><span style="color:#66D9EF">options</span><span style="color:#F8F8F2">: .BySentences) { substring, substringRange, enclosingRange, </span><span style="color:#fa4f8d">inout</span><span style="color:#fa4f8d"> in</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">            sentences </span><span style="color:#fa4f8d">+=</span><span style="color:#F8F8F2"> substring</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">        }</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">        </span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">        return</span><span style="color:#F8F8F2"> sentences</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">    }</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">}</span></span></code></pre>
<p>I haven’t quite figured out the naming convention for Swift Extension files yet. Right now, I have this in StringExtentions.swift in my categories folder.  Though…. I guess to be proper it should be NSStringExtentions.swift…</p>
]]></content:encoded></item>
<item><title>Apple's Swift Blog</title><description>This new blog will bring you a behind-the-scenes look into the design of the
Swift language by the engineers who created it, in addition to the latest news
and hints to turn you into a productive Swift programmer. I LOVE the new, open-er Apple. From the barriers between iOS and OSX coming
down, some Apple devs being more open on twitter and in the dev forums, and
now this blog. It’s an amazing time to be using Apple dev tools</description><link>https://timbroder.com/2014/07/apples-swift-blog/</link><guid isPermaLink="false">https://timbroder.com/2014/07/apples-swift-blog</guid><pubDate>Fri, 11 Jul 2014 17:46:58 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>This new blog will bring you a behind-the-scenes look into the design of the
Swift language by the engineers who created it, in addition to the latest news
and hints to turn you into a productive Swift programmer.</p>
</blockquote>
<p>I LOVE the new, open-er Apple. From the barriers between iOS and OSX coming
down, some Apple devs being more open on twitter and in the dev forums, and
now this <a href="https://developer.apple.com/swift/blog/">blog</a>.</p>
<p>It’s an amazing time to be using Apple dev tools</p>
]]></content:encoded></item>
<item><title>On Working From Home and Running a Business</title><description>Shawn Blanc talks about how he organizes himself and his company for working
from home. One day... I cannot express enough just how absolutely critical it has been to have a
budget — both for our company and for our personal household expenses. Did you know that most of America’s millionaires are people who earn low-
six-figure incomes? They have a high net worth (between $1 – $10 million)
because they live simply and budget their money. When we were saving for the down pay payment on our condo we were…</description><link>https://timbroder.com/2014/07/on-working-from-home-and-running-a-business/</link><guid isPermaLink="false">https://timbroder.com/2014/07/on-working-from-home-and-running-a-business</guid><pubDate>Fri, 11 Jul 2014 01:11:46 GMT</pubDate><content:encoded><![CDATA[<p>Shawn Blanc talks about how he organizes himself and his company for working
from home. One day...</p>
<blockquote>
<p>I cannot express enough just how absolutely critical it has been to have a
budget — both for our company and for our personal household expenses.</p>
</blockquote>
<blockquote>
</blockquote>
<blockquote>
<p>Did you know that most of America’s millionaires are people who earn low-
six-figure incomes? They have a high net worth (between $1 – $10 million)
because they live simply and budget their money.</p>
</blockquote>
<p>When we were saving for the down pay payment on our condo we were using a
combination of mint.com and an allowance (envelope method, cash) I've started
playing around with mint again to get a better idea of what we spend lonely on
and prep us for the next chapter.</p>
]]></content:encoded></item>
<item><title>Format JSON and save to gist with Alfred</title><description>At work, we have an Angular app that deals with a lot of custom JSON. With a
distributed dev team, we pass a LOT of JSON around.  Copying from Chrome’s net
tab, formatting, adding to a Github gist for easy
transport is a PITA when you are doing it 20 times a day. I have 2 Alfred
workflows to help with this. My Use: Copy unformatted JSON to clipboard Alfred “JsonLint”. Formatted JSON is now in my clipboard Alfred “gist”. URL to raw gist is now in my clipboard One of these days I’ll chain these together To…</description><link>https://timbroder.com/2014/07/format-json-and-save-to-gist/</link><guid isPermaLink="false">https://timbroder.com/2014/07/format-json-and-save-to-gist</guid><pubDate>Tue, 08 Jul 2014 21:02:32 GMT</pubDate><content:encoded><![CDATA[<p>At work, we have an Angular app that deals with a lot of custom JSON. With a
distributed dev team, we pass a LOT of JSON around. &nbsp;Copying from Chrome’s net
tab, formatting, adding to a Github <a href="https://gist.github.com/">gist</a> for easy
transport is a PITA when you are doing it 20 times a day. I have 2 Alfred
workflows to help with this.</p>
<p>My Use:</p>
<ol>
<li>Copy unformatted JSON to clipboard</li>
<li>Alfred “JsonLint”. Formatted JSON is now in my clipboard</li>
<li>Alfred “gist”. URL to raw gist is now in my clipboard</li>
<li>One of these days I’ll chain these together</li>
</ol>
<p>To get this working:</p>
<ol>
<li>You’ll need the Alfred <a href="http://www.alfredapp.com/powerpack/">PowerPack</a></li>
<li>Install my JSON lint <a href="https://github.com/broderboy/AlfredJsonLint/blob/master/Json%20Lint.alfredworkflow?raw=true">workflow</a>. (It needs work, but gets the job done)</li>
<li>Install <a href="https://github.com/phallstrom/AlfredGist">AlfredGist</a></li>
</ol>
<ul>
<li>Be sure to follow the setup <a href="https://github.com/phallstrom/AlfredGist">instructions</a>.</li>
<li>I prefer to have the ‘raw’ url returned from AlfredGist. (in the clipboard and opened)</li>
</ul>
<p>To enable this, open functions.sh<br>
Look for this line: <code>gist_url=$(get_json_key “html_url" "$json")  </code>
Modify to: <code>gist_url=$(get_json_key “raw_url” "$json")</code></p>
<ul>
<li>In “gistconfig” set the gists to be private</li>
</ul>
<p>You should now be able to chain together as I listed above</p>
<p>Let me know if you have any questions!</p>
]]></content:encoded></item>
<item><title>Whatever goes up, that’s what we do</title><description>This is a quite from a Facebook employee: We’re blind. It doesn’t matter what any individual person thinks about
something new. Everything must be tested. It’s feature echolocation: we throw
out an idea, and when the data comes back we look at the numbers. Whatever
goes up, that’s what we do. We are slaves to the numbers. We don’t operate
around innovation. We only optimize. We do what goes up. There is a flip side to this too, right? Facebook HAS that kind of data. What
I wouldn't DO for that kind of data…</description><link>https://timbroder.com/2014/07/whatever-goes-up-thats-what-we-do/</link><guid isPermaLink="false">https://timbroder.com/2014/07/whatever-goes-up-thats-what-we-do</guid><pubDate>Sun, 06 Jul 2014 19:57:34 GMT</pubDate><content:encoded><![CDATA[<p>This is a quite from a Facebook employee:</p>
<blockquote>
<p>We’re blind. It doesn’t matter what any individual person thinks about
something new. Everything must be tested. It’s feature echolocation: we throw
out an idea, and when the data comes back we look at the numbers. Whatever
goes up, that’s what we do. We are slaves to the numbers. We don’t operate
around innovation. We only optimize. We do what goes up.</p>
</blockquote>
<p>There is a flip side to this too, right? Facebook HAS that kind of data. What
I wouldn't DO for that kind of data. Do we have our own custom tracking
(Google Analytics) on our magneto sites at work? Of course. Does it get us the
data we need? Yes and know. We can track conversions, user flows, A/B test
what we need. But, the pixel level knowledge of HOW a user is using the site
that Facebook seems to have seems pretty slick.</p>
]]></content:encoded></item>
<item><title>SwiftInFlux</title><description>SwiftInFlux, a community-based project for cataloguing the changes that
Apple is probably going to make to Swift before 1.0 ships I'm really happy someone is doing this. Even between seeds 1 and 2 there was a
number of changes. The differences were buried in the Xcode release notes. I
think they deserve their own diffs. If you agree, please file a radar</description><link>https://timbroder.com/2014/07/swiftinflux/</link><guid isPermaLink="false">https://timbroder.com/2014/07/swiftinflux</guid><pubDate>Sun, 06 Jul 2014 19:56:24 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>SwiftInFlux, a community-based project for cataloguing the changes that
Apple is probably going to make to Swift before 1.0 ships</p>
</blockquote>
<p>I'm really happy someone is doing this. Even between seeds 1 and 2 there was a
number of changes. The differences were buried in the Xcode release notes. I
think they deserve their own diffs. If you agree, please file a radar</p>
]]></content:encoded></item>
<item><title>Don't Be Scared Of Functional Programming</title><description>This article made a LOT of things click for me. I hadn't quite
grasped the concepts of functional programming. (I hadn't really tried to).
It's a little long. But, worth it. Functional programming can be daunting, but remember that it isn’t only for
PhDs, data scientists and architecture astronauts. For most of us, the real
benefit of adopting a functional style is that our programs can be broken down
into smaller, simpler pieces that are both more reliable and easier to
understand.</description><link>https://timbroder.com/2014/07/dont-be-scared-of-functional-programming/</link><guid isPermaLink="false">https://timbroder.com/2014/07/dont-be-scared-of-functional-programming</guid><pubDate>Fri, 04 Jul 2014 14:07:25 GMT</pubDate><content:encoded><![CDATA[<p>This <a href="http://www.smashingmagazine.com/2014/07/02/dont-be-scared-of-functional-programming/">article</a> made a LOT of things click for me. I hadn't quite
grasped the concepts of functional programming. (I hadn't really tried to).
It's a little long. But, worth it.</p>
<blockquote>
<p>Functional programming can be daunting, but remember that it isn’t only for
PhDs, data scientists and architecture astronauts. For most of us, the real
benefit of adopting a functional style is that our programs can be broken down
into smaller, simpler pieces that are both more reliable and easier to
understand.</p>
</blockquote>
]]></content:encoded></item>
<item><title>Launch Center Pro to Trello via IFTTT</title><description>I previously wrote about automating adding to Trello from my phone using Launch
Center Pro.  That method involved some scripting
and Pythonista. It was fun to figure out, but cumbersome to update. Now that LCP has IFTTT integration, this process can be simplified. You
can chain an event from LCP through IFTTT to email a card to Trello. Note:
This will only work for 1 list per board. I haven’t figured out if there is a
way to email to multiple lists on the same board. Set up the Launch Center Pro channel on…</description><link>https://timbroder.com/2014/06/launch-center-pro-trello-via-ifttt/</link><guid isPermaLink="false">https://timbroder.com/2014/06/launch-center-pro-trello-via-ifttt</guid><pubDate>Sun, 15 Jun 2014 17:11:21 GMT</pubDate><content:encoded><![CDATA[<p>I previously <a href="https://timbroder.com/2013/03/automating-adding-to-trello-on-ios/">wrote</a> about automating adding to Trello from my phone using <a href="https://itunes.apple.com/us/app/launch-center-pro/id532016360?mt=8&amp;at=11laRZ&amp;ct=pro">Launch
Center Pro</a>. &nbsp;That method involved some scripting
and <a href="https://itunes.apple.com/us/app/pythonista/id528579881?mt=8&amp;at=11laRZ&amp;ct=pro">Pythonista</a>. It was fun to figure out, but cumbersome to update.</p>
<p>Now that LCP has <a href="http://www.macstories.net/reviews/launch-center-pro-2-3-extends-ios-automation/">IFTTT integration</a>, this process can be simplified. You
can chain an event from LCP through IFTTT to email a card to Trello. <em>Note:
This will only work for 1 list per board. I haven’t figured out if there is a
way to email to multiple lists on the same board.</em></p>
<ol>
<li>Set up the Launch Center Pro <a href="https://ifttt.com/launch_center">channel</a> on IFTTT.</li>
<li>Set up Launch Center Connect on your device</li>
</ol>
<p><img src="https://timbroder.com/images/remote/2014-06-15-launch-center-pro-trello-via-ifttt/14417105171_dc5bd5d78a_z_d.jpg" alt=""></p>
<ol start="3">
<li>In IFTTT, create a new recipe. Set the “This” to the Launch Center Pro channel. Then, choose “Trigger”</li>
<li>Name the trigger something that will help identify it. I used “Roadmap”. &nbsp;Keep note of this, you’ll need the same name later</li>
</ol>
<p><img src="https://timbroder.com/images/remote/2014-06-15-launch-center-pro-trello-via-ifttt/14427559984_5b527ef1fe_m_d.jpg" alt=""></p>
<ol start="5">
<li>On the Trello board you wish to work with: Go into the settings and click “Email-to-board Settings.” Grab the email address for that board. Choose which list the card should be added and it’s position._ The email in this screenshot is hooked up to anything._</li>
</ol>
<p><img src="https://timbroder.com/images/remote/2014-06-15-launch-center-pro-trello-via-ifttt/14427446122_587019f3fe_z_d.jpg" alt=""></p>
<ol start="6">
<li>In the “Then” of your IFTTT recipe, choose Gmail. In the To&nbsp;Address, add in the trello&nbsp;address. Leave just <code>{% verbatim %} “{{Value 1}}” {% endverbatim %}</code> in the subject. This will become the title of the card. &nbsp;If you want to add a description or other attributes of the card, use the other Values that Launch Center Pro provides. More on how email variables are used by Trello is available <a href="http://blog.trello.com/create-cards-via-email/">here</a>.</li>
</ol>
<p><img src="https://timbroder.com/images/remote/2014-06-15-launch-center-pro-trello-via-ifttt/14425422041_9acc965248_z_d.jpg" alt=""></p>
<ol start="7">
<li>In LCP: Add a new action -&gt; System Actions -&gt; IFTTT. Name can be anything. Trigger Name must match the trigger name in IFTTT. For each value you want to use, add a text prompt. In this example I’m only using Value 1.</li>
</ol>
<p><img src="https://timbroder.com/images/remote/2014-06-15-launch-center-pro-trello-via-ifttt/14427367292_6f2249df85_z_d.jpg" alt=""></p>
<ol start="8">
<li>Hit done and you are good to go! Please note: <em>After sending the information to IFTTT it may take up to 5 mins to appear in your board.</em></li>
</ol>
<p><img src="https://timbroder.com/images/remote/2014-06-15-launch-center-pro-trello-via-ifttt/14233796739_efd5e6b108_z_d.jpg" alt=""><br>
<img src="https://timbroder.com/images/remote/2014-06-15-launch-center-pro-trello-via-ifttt/14420441225_452eec6f4d_z_d.jpg" alt=""><br>
<img src="https://timbroder.com/images/remote/2014-06-15-launch-center-pro-trello-via-ifttt/14428758365_d2df4fc207_m_d.jpg" alt=""></p>
]]></content:encoded></item>
<item><title>Opening SourceTree from the Command line</title><description>SourceTree is my weapon of choice for a git GUI. I do most of my git work from
the command line, but it’s great to look at diffs and branch trees. I was finding it tedious to open SourceTree with Alfred, then opening the
correct project. I use this alias to open it right from my working directory:   Then, just  from where I am</description><link>https://timbroder.com/2014/06/opening-sourcetree-from-the-command-line/</link><guid isPermaLink="false">https://timbroder.com/2014/06/opening-sourcetree-from-the-command-line</guid><pubDate>Fri, 06 Jun 2014 15:33:35 GMT</pubDate><content:encoded><![CDATA[<p>SourceTree is my weapon of choice for a git GUI. I do most of my git work from
the command line, but it’s great to look at diffs and branch trees.</p>
<p>I was finding it tedious to open SourceTree with Alfred, then opening the
correct project.</p>
<p>I use this alias to open it right from my working directory:</p>
<p><code>alias</code> <code>sourcetree=``'open -a SourceTree'</code></p>
<hr>
<p>Then, just <code>“sourcetree .”</code> from where I am</p>
]]></content:encoded></item>
<item><title>Delayed Liveblog on the WWDC 2014 Keynote</title><description>I was stuck in meetings most of the day but I was able to download the keynote
for the train ride home :) Here are some thoughts. If I live tweeted, it probably would have gone
something like this. Maybe a few more here.. The dev intro video was awesome. It’s like Apple saying “We love you, we’ve heard you” That’s a lot of Apple engineers present It’s a shame I can’t risk my laptop. I want to play with Yosemite! I dig the
new look Ooo dark mode Mail drop is huge for work Airdrop from phone to laptop…</description><link>https://timbroder.com/2014/06/delayed-thoughts-wwdc-2014-keynote/</link><guid isPermaLink="false">https://timbroder.com/2014/06/delayed-thoughts-wwdc-2014-keynote</guid><pubDate>Tue, 03 Jun 2014 01:08:39 GMT</pubDate><content:encoded><![CDATA[<p>I was stuck in meetings most of the day but I was able to download the keynote
for the train ride home :)</p>
<p>Here are some thoughts. If I live tweeted, it probably would have gone
something like this. Maybe a few more here..</p>
<ul>
<li>
<p>The dev intro video was awesome. It’s like Apple saying “We love you, we’ve heard you”</p>
</li>
<li>
<p>That’s a lot of Apple engineers present</p>
</li>
<li>
<p>It’s a shame I can’t risk my laptop. I want to play with Yosemite! I dig the
new look</p>
</li>
<li>
<p>Ooo dark mode</p>
</li>
<li>
<p>Mail drop is huge for work</p>
</li>
<li>
<p>Airdrop from phone to laptop!!</p>
</li>
<li>
<p>Proximity awareness is great for starting an email on the can and finishing it at the desk ;)</p>
</li>
<li>
<p>Proximity hotspot is PERFECT for when I’m on the train</p>
</li>
<li>
<p>Texts in Messages!!!!!</p>
</li>
<li>
<p>Proximity calls is crazy. Listening to music on laptop with headphones, call comes in, boom.</p>
</li>
<li>
<p>Hmm, maybe I’ll install the public beta…..</p>
</li>
<li>
<p>Interactive notifications, thank god. one of the few things still on my “I miss from Android list”</p>
</li>
<li>
<p>Context typing looks hot. I missed switfkey</p>
</li>
<li>
<p>I’m curious if Health can accurately track my sleep. But, I don’t want my device in bed with me</p>
</li>
<li>
<p>Family sharing and photo stream will be cool :) The purchases is great. Laura and I overlap on so many apps and games</p>
</li>
<li>
<p>I’m really curious what your iCloud size limit is going to be. Unlimited? It can store ALL your photos. &nbsp;I wonder if people will be dumping photos into this from other services</p>
</li>
<li>
<p>Ah, there we go. Paid tiers. Will probably stick with Flickr for my ultimate backup. (All are also backed up to CrashPlan)</p>
</li>
<li>
<p>Hah, Shazam Siri. Nice</p>
</li>
<li>
<p>50 mins in the keynote for DEV</p>
<ul>
<li>App store improvements are awesome. The lists, searches, App bundles. Apple LISTENED. wow. Whoa App preview videos</li>
<li>Ahh There’s Test Flight! And it’s free</li>
<li>Extensibility: Inter-app. boom.</li>
<li>Notification Center Widgets. boom</li>
<li>3rd party keyboards. boom</li>
<li>Can’t wait for TouchID support in 1password</li>
<li>The user implications of HomeKit are nice. We have a WiMo so I’m on board with other home automation things</li>
<li>CloudKit. Boom. The cloud pricing wars were already insane. I’m worried about the performance and availability… Code once though…. I</li>
<li>The Metal demos are sick. I don’t do much of that type of gaming. Might be time to start again</li>
<li>Mentioning Objective-C. OMG</li>
<li>Swift. <strong>BOOM. HOLY SHIT</strong>. Closures, Generics, Namespaces</li>
<li>OMG the playground</li>
<li>Grabbing the book right now. It’s trending. Pretty cool</li>
<li><img src="https://timbroder.com/images/2014/06/Bugshot_2014-06-02_210418.png" alt="Bugshot 2014 06 02 210418"></li>
</ul>
</li>
</ul>
<p>————<br>
Written using <a href="https://itunes.apple.com/us/app/marsedit-blog-editor-for-wordpress/id402376225?mt=12&amp;at=11laRZ&amp;ct=pro">MarsEdit</a></p>
]]></content:encoded></item>
<item><title>Reordering a NSFetchedResultsController</title><description>I’m working with a NSFetchedResultsController backed UITableView.  Up until
now I’ve just been ordering the items by the time they were added. I’m moving on to Delete and Edit.  Editing the content itself isn’t needed,
once an item is added to this list, it can’t be changed. Deleting is
straightforward in With reordering, I have a conundrum.  I have an
approach for the actual re-order
that will have the View and the data playing nice. But, now I need to persist
the order.  I don’t have a property in Core…</description><link>https://timbroder.com/2014/05/reordering-nsfetchedresultscontroller/</link><guid isPermaLink="false">https://timbroder.com/2014/05/reordering-nsfetchedresultscontroller</guid><pubDate>Sat, 31 May 2014 16:14:22 GMT</pubDate><content:encoded><![CDATA[<p>I’m working with a&nbsp;NSFetchedResultsController backed UITableView. &nbsp;Up until
now I’ve just been ordering the items by the time they were added.</p>
<p>I’m moving on to Delete and Edit. &nbsp;Editing the content itself isn’t needed,
once an item is added to this list, it can’t be changed. Deleting is
straightforward in</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="c"><code><span class="line"><span style="color:#F8F8F2">(</span><span style="color:#66D9EF;font-style:italic">void</span><span style="color:#F8F8F2">)controller:(NSFetchedResultsController </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">)controller</span></span>
<span class="line"><span style="color:#F8F8F2">didChangeObject:(id)anObject atIndexPath:(NSIndexPath </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">)indexPath</span></span>
<span class="line"><span style="color:#F8F8F2">forChangeType:(NSFetchedResultsChangeType)type newIndexPath:(NSIndexPath</span></span>
<span class="line"><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">)newIndexPath {</span></span></code></pre>
<p>With reordering, I have a conundrum. &nbsp;I have an
<a href="http://stackoverflow.com/a/2013070/647343">approach</a> for the actual re-order
that will have the View and the data playing nice. But, now I need to persist
the order. &nbsp;I don’t have a property in Core Data for this (yet). &nbsp;I’m trying
to figure out what to set this property to. The brute force approach is to use
the indexPath of the cell. &nbsp;I have concerns with this. &nbsp;Adding an item
automatically puts it at the top of the list. This would give it an index of 0
(I only have 1 section). &nbsp;But, then I would have to update the order property
of every other item in the list. The same goes for moving: each item and every
item in between (I can luckily skip the outer bounds) will have to be updated.
I don’t like this. There has to be a better way, I just need to figure it out.</p>
<p>Some kind of indexPath+hash? indexPath+integer?</p>
<p>Eventually I’ll reach a list size where I run into performance problems with
the brute force approach. The cop out would be to limit the size of the list.
I don’t want to do that either. &nbsp;I don’t know if I’ll go to the extreme of
Brent Simmons’ data set of <a href="http://inessential.com/2013/10/05/vesper_sync_diary_2_core_data">30,000 items from Daring Fireball’s
archive</a>, but
I want to shoot for that.</p>
<p>I’ll update this post with my progress</p>
<p><strong>Update</strong>&nbsp;2014-05-31 01:02 PM</p>
<p><a href="http://stackoverflow.com/a/1648504">This</a> is a great starting point for
dealing with reordering. I was on the right track with only dealing with the
differences between items that get moved. &nbsp;Dragging an item way down on a list
may(?) not happen much, it’s annoying to do. I think I’m going with that
assumption for now. &nbsp;I still don’t feel great about the number of updates for
an insert…</p>
<p>Batch fetch/update/save is my starting point</p>
<p><strong>Update</strong>&nbsp;2014-06-06 04:04 PM</p>
<p>It looks like iOS 8 might have better bulk update support. Downloading <a href="http://devstreaming.apple.com/videos/wwdc/2014/225xxgzhqylosff/225/225_hd_whats_new_in_core_data.mov?dl=1">this</a> session now</p>
<blockquote>
<p><a href="https://twitter.com/inessential">@inessential</a>
<a href="https://twitter.com/brentsimmons">@brentsimmons</a> You might like the Core Data
video. new NSBatchUpdateRequest api with a “mark all as read” example as the
demo</p>
</blockquote>
<blockquote>
</blockquote>
<blockquote>
<p>-- solsberg (@solsberg) <a href="https://twitter.com/solsberg/statuses/474993780186447872">June 6,
2014</a></p>
</blockquote>
]]></content:encoded></item>
<item><title>The Old Reader on Good Ol’ RSS</title><description>It’s always odd to hear people say RSS is dead. The fact is, RSS is easily
the most successful stealth, insurgent technology on the web. It is pervasive
and is the engine for much of the Internet. Long live RSS!</description><link>https://timbroder.com/2014/05/the-old-reader-on-good-ol-rss/</link><guid isPermaLink="false">https://timbroder.com/2014/05/the-old-reader-on-good-ol-rss</guid><pubDate>Fri, 09 May 2014 22:40:24 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>It’s always odd to hear people say RSS is dead. The fact is, RSS is easily
the most successful stealth, insurgent technology on the web. It is pervasive
and is the engine for much of the Internet.</p>
</blockquote>
<p>Long live RSS!</p>
]]></content:encoded></item>
<item><title>Up and Running with MindSea: Doing it the Right Way</title><description>I once worked with a company that told me if just two lines of code are
repeated, then there’s probably a better abstraction that I should be using
instead. A bit extreme, I know, but I took that to heart. I haven’t looked
back and that advice has served me well. Ash Furrow talks about the benefits of abstraction and how it can aid in ramp
up. A good, short read</description><link>https://timbroder.com/2014/05/up-and-running-with-mindsea-doing-it-the-right-way/</link><guid isPermaLink="false">https://timbroder.com/2014/05/up-and-running-with-mindsea-doing-it-the-right-way</guid><pubDate>Fri, 09 May 2014 02:03:47 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>I once worked with a company that told me if just two lines of code are
repeated, then there’s probably a better abstraction that I should be using
instead. A bit extreme, I know, but I took that to heart. I haven’t looked
back and that advice has served me well.</p>
</blockquote>
<p>Ash Furrow talks about the benefits of abstraction and how it can aid in ramp
up. A good, short read</p>
]]></content:encoded></item>
<item><title>Poking at an AngularJS model from within an iFrame</title><description>Full Disclosure: This is dirty and hacky. You may feel unclean after reading.
Grab soap. For a few infrastructure reasons I won’t get into, we have an
iFrame on a page that Angular renders.  It pulls in a page that exists within
our code base and on the same site. Thankfully, no Cross Domain issues to
worry about.  The page within the iFrame needs some configuration from the
parent page. When a user is done in the iframe and hits a button inside of it,
the parent page needs some information from it.  This…</description><link>https://timbroder.com/2014/05/poking-angularjs-model-within-iframe/</link><guid isPermaLink="false">https://timbroder.com/2014/05/poking-angularjs-model-within-iframe</guid><pubDate>Wed, 07 May 2014 16:07:24 GMT</pubDate><content:encoded><![CDATA[<p>Full Disclosure: This is dirty and hacky. You may feel unclean after reading.
Grab soap.</p>
<p>For a few infrastructure reasons I won’t get into, we have an
iFrame on a page that Angular renders. &nbsp;It pulls in a page that exists within
our code base and on the same site. Thankfully, no Cross Domain issues to
worry about. &nbsp;The page within the iFrame needs some configuration from the
parent page. When a user is done in the iframe and hits a button inside of it,
the parent page needs some information from it. &nbsp;This information has to be
updated in an Angular model on the parent page.</p>
<p>Starting off a partial
template:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="html"><code><span class="line"><span style="color:#F8F8F2">&lt;</span><span style="color:#fa4f8d">iframe</span><span style="color:#A6E22E"> src</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"/....html"</span><span style="color:#A6E22E"> width</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"100%"</span><span style="color:#A6E22E"> height</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"800"</span><span style="color:#A6E22E"> scrolling</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"no"</span><span style="color:#A6E22E"> seamless</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"seamless"</span><span style="color:#A6E22E"> style</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"border:0;"</span><span style="color:#F8F8F2">&gt;&lt;/</span><span style="color:#fa4f8d">iframe</span><span style="color:#F8F8F2">&gt;</span></span></code></pre>
<p>On the directive, I attach a configuration method to the window. Not great, I know.</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="javascript"><code><span class="line"><span style="color:#F8F8F2">link: </span><span style="color:#66D9EF;font-style:italic">function</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F;font-style:italic">scope</span><span style="color:#F8F8F2">, </span><span style="color:#FD971F;font-style:italic">element</span><span style="color:#F8F8F2">, </span><span style="color:#FD971F;font-style:italic">attrs</span><span style="color:#F8F8F2">) {</span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#F8F8F2">  top.window.</span><span style="color:#A6E22E">TTTpassConfig</span><span style="color:#fa4f8d"> =</span><span style="color:#66D9EF;font-style:italic"> function</span><span style="color:#F8F8F2">() {</span></span>
<span class="line"><span style="color:#F8F8F2">    config </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> {};</span></span>
<span class="line"><span style="color:#F8F8F2">    config.RPCurl </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> attrs.initRpcurl;</span></span>
<span class="line"><span style="color:#F8F8F2">    config.xml </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> attrs.initXml;</span></span>
<span class="line"><span style="color:#F8F8F2">  }</span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#F8F8F2">},</span></span></code></pre>
<p>This gets called from within the iFrame:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="javascript"><code><span class="line"><span style="color:#F8F8F2">parent.</span><span style="color:#A6E22E">passConfig</span><span style="color:#F8F8F2">()</span></span></code></pre>
<p>At some point, the inner page is done, and needs to call back to the parent with data:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="javascript"><code><span class="line"><span style="color:#F8F8F2">parent.</span><span style="color:#A6E22E">callSave</span><span style="color:#F8F8F2">(outputXml);</span></span></code></pre>
<p>But, this method needs to live in the partial template AND update the model. For simplicity, I went with inline JS and created the proper textarea to hold my data and bind to the model. Below I can see that the data is coming back, and the textarea has the text. There are two problems with this: 1) The model itself isn’t getting updated and 2) This js is outside of Angular’s scope so I can’t just call $apply. Angular’s dirty checking won’t see this change. I needed a way to update the model from outside Angular.</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="html"><code><span class="line"><span style="color:#F8F8F2">{% verbatim %}</span></span>
<span class="line"><span style="color:#F8F8F2">&lt;</span><span style="color:#fa4f8d">script</span><span style="color:#A6E22E"> type</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"text/javascript"</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">    function</span><span style="color:#A6E22E"> callSave</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F;font-style:italic">payload</span><span style="color:#F8F8F2">){</span></span>
<span class="line"><span style="color:#F8F8F2">        console.</span><span style="color:#A6E22E">log</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'Data being saved from iframe: '</span><span style="color:#F8F8F2">, payload);</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">        var</span><span style="color:#F8F8F2"> $elm </span><span style="color:#fa4f8d">=</span><span style="color:#A6E22E"> $</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'#iframe-data'</span><span style="color:#F8F8F2">);</span></span>
<span class="line"><span style="color:#F8F8F2">        $elm.</span><span style="color:#A6E22E">val</span><span style="color:#F8F8F2">(payload);</span></span>
<span class="line"><span style="color:#F8F8F2">    }</span></span>
<span class="line"><span style="color:#F8F8F2">&lt;/</span><span style="color:#fa4f8d">script</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#F8F8F2">&lt;</span><span style="color:#fa4f8d">iframe</span><span style="color:#A6E22E"> src</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"/....html"</span><span style="color:#A6E22E"> width</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"100%"</span><span style="color:#A6E22E"> height</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"800"</span><span style="color:#A6E22E"> scrolling</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"no"</span><span style="color:#A6E22E"> seamless</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"seamless"</span><span style="color:#A6E22E"> style</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"border:0;"</span><span style="color:#F8F8F2">&gt;&lt;/</span><span style="color:#fa4f8d">iframe</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">&lt;</span><span style="color:#fa4f8d">pre</span><span style="color:#F8F8F2">&gt;{{parent[uuid][data.id].value}}&lt;/</span><span style="color:#fa4f8d">pre</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">&lt;</span><span style="color:#fa4f8d">textarea</span><span style="color:#A6E22E"> type</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"text"</span><span style="color:#A6E22E"> id</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"iframe-data"</span><span style="color:#A6E22E"> ng-model</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"parent[uuid][data.id].value"</span><span style="color:#A6E22E"> data-name</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"{{data.name}}"</span><span style="color:#A6E22E"> data-id</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"{{data.id}}"</span><span style="color:#A6E22E"> value</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"{{data.value}}"</span><span style="color:#F8F8F2">&gt;&lt;/</span><span style="color:#fa4f8d">textarea</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">{% endverbatim %}</span></span></code></pre>
<p>The trick ended up being that ngModel listens for an “input” event. Use that, hide the textarea, and I’m good to go</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="html"><code><span class="line"><span style="color:#F8F8F2">{% verbatim %}</span></span>
<span class="line"><span style="color:#F8F8F2">&lt;</span><span style="color:#fa4f8d">script</span><span style="color:#A6E22E"> type</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"text/javascript"</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">    function</span><span style="color:#A6E22E"> callSave</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F;font-style:italic">payload</span><span style="color:#F8F8F2">){</span></span>
<span class="line"><span style="color:#F8F8F2">        console.</span><span style="color:#A6E22E">log</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'Data being saved from iframe: '</span><span style="color:#F8F8F2">, payload);</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">        var</span><span style="color:#F8F8F2"> $elm </span><span style="color:#fa4f8d">=</span><span style="color:#A6E22E"> $</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'#iframe-data'</span><span style="color:#F8F8F2">);</span></span>
<span class="line"><span style="color:#F8F8F2">        $elm.</span><span style="color:#A6E22E">val</span><span style="color:#F8F8F2">(payload);</span></span>
<span class="line"><span style="color:#F8F8F2">        $elm.</span><span style="color:#A6E22E">trigger</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'input'</span><span style="color:#F8F8F2">);</span></span>
<span class="line"><span style="color:#F8F8F2">    }</span></span>
<span class="line"><span style="color:#F8F8F2">&lt;/</span><span style="color:#fa4f8d">script</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">&lt;</span><span style="color:#fa4f8d">iframe</span><span style="color:#A6E22E"> src</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"/....html"</span><span style="color:#A6E22E"> width</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"100%"</span><span style="color:#A6E22E"> height</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"800"</span><span style="color:#A6E22E"> scrolling</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"no"</span><span style="color:#A6E22E"> seamless</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"seamless"</span><span style="color:#A6E22E"> style</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"border:0;"</span><span style="color:#F8F8F2">&gt;&lt;/</span><span style="color:#fa4f8d">iframe</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">&lt;</span><span style="color:#fa4f8d">pre</span><span style="color:#F8F8F2">&gt;{{parent[uuid][data.id].value}}&lt;/</span><span style="color:#fa4f8d">pre</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">&lt;</span><span style="color:#fa4f8d">textarea</span><span style="color:#A6E22E"> type</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"text"</span><span style="color:#A6E22E"> id</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"iframe-data"</span><span style="color:#A6E22E"> ng-model</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"parent[uuid][data.id].value"</span><span style="color:#A6E22E"> data-name</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"{{data.name}}"</span><span style="color:#A6E22E"> data-id</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"{{data.id}}"</span><span style="color:#A6E22E"> value</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"{{data.value}}"</span><span style="color:#A6E22E"> style</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"display: none;"</span><span style="color:#F8F8F2">&gt;&lt;/</span><span style="color:#fa4f8d">textarea</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">{% endverbatim %}</span></span></code></pre>
<p>I know the Angular way to do this would have been a combination of $watch and $apply from within the directive. I went down that road for a few hours. Because of timeline constraints I have to leave as is. I’ve acknowledged that I’m incurring technical debt and marked a TODO that may or may never get addressed.</p>
]]></content:encoded></item>
<item><title>Facebook Launches AppLinks To Make Deep Linking Between Apps Easier</title><description>So with this new scheme, you just pass the app a web URL and if a compatible
mobile app is installed, it will automatically load that app instead of the
web version. AppLinks will learn which links are handled by which apps. “We
crawl the web for you. You don’t have to do it – but you can, you just don’t
have to,” Sukhar said. Developers simply mark up their web pages with a few
new meta properties. Facebook also offers a Parse module and an API to support
these features. Nice. Not the better inter-app…</description><link>https://timbroder.com/2014/05/facebook-launches-applinks-to-make-deep-linking-between-apps-easier/</link><guid isPermaLink="false">https://timbroder.com/2014/05/facebook-launches-applinks-to-make-deep-linking-between-apps-easier</guid><pubDate>Sat, 03 May 2014 00:09:09 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>So with this new scheme, you just pass the app a web URL and if a compatible
mobile app is installed, it will automatically load that app instead of the
web version. AppLinks will learn which links are handled by which apps.&nbsp;“We
crawl the web for you. You don’t have to do it – but you can, you just don’t
have to,” Sukhar said. Developers simply mark up their web pages with a few
new meta properties. Facebook&nbsp;also offers a Parse module and an API to support
these features.</p>
</blockquote>
<p>Nice. Not the better inter-app communication that we've been wanting from
Apple but it will help</p>
]]></content:encoded></item>
<item><title>How to be an open source gardener</title><description>A good read on triaging issues using the Rails project as an example What are Issues? The very first thing your project needs to do is to figure out what Issues
are supposed to be for. Each project is different. For example, in Rails, we
keep Issues strictly for bugs only. Help questions go to Stack Overflow, and
new feature discussion and requests go to the rails-core mailing list. For
Rust, we have issues for feature requests, meta-issues… everything. For some
repositories, closing all of the issues is…</description><link>https://timbroder.com/2014/05/how-to-be-an-open-source-gardener/</link><guid isPermaLink="false">https://timbroder.com/2014/05/how-to-be-an-open-source-gardener</guid><pubDate>Fri, 02 May 2014 21:09:48 GMT</pubDate><content:encoded><![CDATA[<p>A good read on triaging issues using the Rails project as an example</p>
<blockquote>
<p>What are Issues?</p>
</blockquote>
<blockquote>
</blockquote>
<blockquote>
<p>The very first thing your project needs to do is to figure out what Issues
are supposed to be for. Each project is different. For example, in Rails, we
keep Issues strictly for bugs only. Help questions go to Stack Overflow, and
new feature discussion and requests go to the rails-core mailing list. For
Rust, we have issues for feature requests, meta-issues… everything. For some
repositories, closing all of the issues is not feasible, and for others,
you’re shooting for zero. (If you don’t believe that this is even possible,
check out Sequel. Issues are rarely even open for more than a few days!)</p>
</blockquote>
]]></content:encoded></item>
<item><title>Ember, iCloud &amp; App Reviews by @dancounsell — Realmac Blog</title><description>The worst thing is we can't reply to those users. It makes me sad to see
users that are having issues and know that we can help, but yet have no way of
contacting them. This is one thing that needs to change on the App Store. I agree. I sometimes have luck with stalking people down on twitter. But, it
breaks my heart when I could easily help someone if they have an issue with
Weather Notifications</description><link>https://timbroder.com/2014/04/ember-icloud-app-reviews-by-dancounsell-realmac-blog/</link><guid isPermaLink="false">https://timbroder.com/2014/04/ember-icloud-app-reviews-by-dancounsell-realmac-blog</guid><pubDate>Sat, 26 Apr 2014 23:26:35 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>The worst thing is we can't reply to those users. It makes me sad to see
users that are having issues and know that we can help, but yet have no way of
contacting them. This is one thing that needs to change on the App Store.</p>
</blockquote>
<p>I agree. I sometimes have luck with stalking people down on twitter. But, it
breaks my heart when I could easily help someone if they have an issue with
<a href="https://itunes.apple.com/us/app/weather-notifications/id704052114?ls=1&amp;mt=8&amp;at=11laRZ&amp;ct=LCP">Weather Notifications</a></p>
]]></content:encoded></item>
<item><title>Build 2014</title><description>Justin goes over his experience
at the Microsoft Build conference this year: With things like C#, the Roslyn compiler/frameworks, and the modern WinRT
runtime, it feels like Microsoft is way ahead of Apple in the future looking
regard. As a developer, I’m jealous of a lot of the technologies coming out of
Microsoft. As a user? They’ve got a long ways to go before I consider using
Windows over a Mac. That said, this is the new Microsoft. They don’t need me
to use Windows or Windows Phone as long as I use…</description><link>https://timbroder.com/2014/04/build-2014/</link><guid isPermaLink="false">https://timbroder.com/2014/04/build-2014</guid><pubDate>Fri, 11 Apr 2014 23:58:54 GMT</pubDate><content:encoded><![CDATA[<p><a href="http://carpeaqua.com/2014/04/07/build-2014/">Justin</a> goes over his experience
at the Microsoft Build conference this year:</p>
<blockquote>
<p>With things like C#, the Roslyn compiler/frameworks, and the modern WinRT
runtime, it feels like Microsoft is way ahead of Apple in the future looking
regard. As a developer, I’m jealous of a lot of the technologies coming out of
Microsoft. As a user? They’ve got a long ways to go before I consider using
Windows over a Mac. That said, this is the new Microsoft. They don’t need me
to use Windows or Windows Phone as long as I use Microsoft services like
Azure, Office 365 and the like.</p>
</blockquote>
<p>After following what both he and Brent Simmons have been doing with Azure, I'm
more than a little curious to tinker with it. I've only recently tried
something higher level than AWS, I was a heroku virgin. So, I don't feel I'm
biased. The price wars, as well as a <a href="http://carpeaqua.com/2014/03/26/the-parts-of-your-platform/">number</a> of <a href="http://www.marco.org/2014/03/27/web-hosting-for-app-developers">arguments</a> for/<a href="http://inessential.com/2014/03/27/on_running_your_own_servers_and_why_we">against</a> VPS vs
<a href="http://www.marco.org/2014/03/27/what-did-brent-learn">higher</a> level have had
this on my kind lately. Mobile Services as a first class citizen on Azure is
interesting. AWS is trying with their push service, but it feels like an
afterthought at the moment.</p>
]]></content:encoded></item>
<item><title>“Security”</title><description>Were the National Security Agency an agency charged with the security of our
nation, it would have reported the Heartbleed bug immediately instead of
exploiting it.</description><link>https://timbroder.com/2014/04/security/</link><guid isPermaLink="false">https://timbroder.com/2014/04/security</guid><pubDate>Fri, 11 Apr 2014 23:53:21 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>Were the National Security Agency an agency charged with the security of our
nation, it would have reported the Heartbleed bug immediately instead of
exploiting it.</p>
</blockquote>
]]></content:encoded></item>
<item><title>NSA Said to Exploit Heartbleed Bug for Years</title><description>If an organized hacker ring sabotaged security standards and major tech
infrastructure for years, compromising the security of hundreds of millions of
people and many governments including our own (and potentially causing
billions of dollars in damages when these exploits were found by others), and
exploited any flaws they found or created to spy on millions of people in the
world including our own citizens, what should they be charged with?     Mass
criminal sabotage, cybercrime, cyberwarfare, and computer…</description><link>https://timbroder.com/2014/04/nsa-said-to-exploit-heartbleed-bug-for-years/</link><guid isPermaLink="false">https://timbroder.com/2014/04/nsa-said-to-exploit-heartbleed-bug-for-years</guid><pubDate>Fri, 11 Apr 2014 23:51:07 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>If an organized hacker ring sabotaged security standards and major tech
infrastructure for years, compromising the security of hundreds of millions of
people and many governments including our own (and potentially causing
billions of dollars in damages when these exploits were found by others), and
exploited any flaws they found or created to spy on millions of people in the
world including our own citizens, what should they be charged with?     Mass
criminal sabotage, cybercrime, cyberwarfare, and computer fraud? Obviously.
Terrorism? Maybe, but not quite.     At what point do the NSA’s actions
qualify as treason?     I’d say they’re well past that point.</p>
</blockquote>
<p>~ Marco</p>
]]></content:encoded></item>
<item><title>Brian on Data Migration</title><description>Pretty much any migration can be done without stopping the world. You
migrate in steps, with double writes and double reads at some points. Here’s
the general outline</description><link>https://timbroder.com/2014/04/brian-on-data-migration/</link><guid isPermaLink="false">https://timbroder.com/2014/04/brian-on-data-migration</guid><pubDate>Wed, 09 Apr 2014 22:32:16 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>Pretty much any migration can be done without stopping the world. You
migrate in steps, with double writes and double reads at some points. Here’s
the general outline</p>
</blockquote>
]]></content:encoded></item>
<item><title>Then and Now</title><description></description><link>https://timbroder.com/2014/04/now/</link><guid isPermaLink="false">https://timbroder.com/2014/04/now</guid><pubDate>Sun, 06 Apr 2014 13:46:28 GMT</pubDate><content:encoded><![CDATA[<p><a href="https://timbroder.com/images/2014/04/140324.jpg"><img src="https://timbroder.com/images/2014/04/140324.jpg" alt="140324"></a></p>
]]></content:encoded></item>
<item><title>inessential.com: Paul’s Talk on Core Data</title><description>it’s more that I’m eternally on the fence about Core Data. Brent Simmons goes into a few examples on the mind games you have to play when
thinking about Core Data scenarios. We are all pretty wired for relational
thinking. More recently we've learned to think more TKTK. Core Data and it's
object graph is yet another way of thinking I'm learning Core Data as part of my next app and am enjoying it so far.
Eventually I'll be tackling sync. I need to see for myself how bad Coe Data
sync is. I've had some…</description><link>https://timbroder.com/2014/04/inessential-com-pauls-talk-core-data/</link><guid isPermaLink="false">https://timbroder.com/2014/04/inessential-com-pauls-talk-core-data</guid><pubDate>Thu, 03 Apr 2014 12:41:35 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>it’s more that I’m eternally on the fence about Core Data.</p>
</blockquote>
<p>Brent Simmons goes into a few examples on the mind games you have to play when
thinking about Core Data scenarios. We are all pretty wired for relational
thinking. More recently we've learned to think more TKTK. Core Data and it's
object graph is yet another way of thinking</p>
<p>I'm learning Core Data as part of my next app and am enjoying it so far.
Eventually I'll be tackling sync. I need to see for myself how bad Coe Data
sync is. I've had some exposure to FMDB by tinkering with Marco Arment's
FCOfflineQueue in the same app.</p>
]]></content:encoded></item>
<item><title>Begging For App Ratings</title><description>John Gruber recently suggested that users who are annoyed by “Please Rate
This App” panes should leave one-star reviews. We have a “contact us” menu
item under our Help menu, but if users decide to post reviews instead, we
cannot provide any tech support. So we also can’t tell the other four people
that their crashers should be fixed now, and they should update to the version
on our website (or wait for the App Store approval). Apple’s customers are
Apple’s customers, except we’re supposed to support them…</description><link>https://timbroder.com/2014/04/begging-app-ratings/</link><guid isPermaLink="false">https://timbroder.com/2014/04/begging-app-ratings</guid><pubDate>Tue, 01 Apr 2014 13:51:28 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>John Gruber recently suggested that users who are annoyed by “Please Rate
This App” panes should leave one-star reviews. We have a “contact us” menu
item under our Help menu, but if users decide to post reviews instead, we
cannot provide any tech support. So we also can’t tell the other four people
that their crashers should be fixed now, and they should update to the version
on our website (or wait for the App Store approval). Apple’s customers are
Apple’s customers, except we’re supposed to support them, but we aren’t
provided the tools by Apple to do so.</p>
</blockquote>
]]></content:encoded></item>
<item><title>inessential.com: Azure Takes Over</title><description>There’s still a lot of the old Microsoft there, the Windows, Office,
Exchange, and Sharepoint (WOES) company. It’s most of the company by far,
surely. (I just made up the acronym WOES. It fits.) Brent Simmons talked a little about the new Microsoft CEO coming from the
azure team and what it could mean. I love this acronym.</description><link>https://timbroder.com/2014/04/inessential-com-azure-takes/</link><guid isPermaLink="false">https://timbroder.com/2014/04/inessential-com-azure-takes</guid><pubDate>Tue, 01 Apr 2014 13:50:22 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>There’s still a lot of the old Microsoft there, the Windows, Office,
Exchange, and Sharepoint (WOES) company. It’s most of the company by far,
surely. (I just made up the acronym WOES. It fits.)</p>
</blockquote>
<p>Brent Simmons talked a little about the new Microsoft CEO coming from the
azure team and what it could mean. I love this acronym.</p>
]]></content:encoded></item>
<item><title>Tips and Resources for beginning iOS Development</title><description>While you are planning and building out your application, think about the
user experience and interface a lot. Tweak, try things out, and above all,
design something that avoids complexity. If you look at all of the top selling
apps, they are the ones that have removed complexity, and distilled down the
application idea into its most simplistic form possible while still
maintaining a good range of functionality. There's a fine line begin being
simple and being useless, and it's up to you to find that line…</description><link>https://timbroder.com/2014/03/tips-resources-beginning-ios-development/</link><guid isPermaLink="false">https://timbroder.com/2014/03/tips-resources-beginning-ios-development</guid><pubDate>Sun, 30 Mar 2014 17:41:32 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>While you are planning and building out your application, think about the
user experience and interface a lot. Tweak, try things out, and above all,
design something that avoids complexity. If you look at all of the top selling
apps, they are the ones that have removed complexity, and distilled down the
application idea into its most simplistic form possible while still
maintaining a good range of functionality. There's a fine line begin being
simple and being useless, and it's up to you to find that line and stay on the
useful side.</p>
</blockquote>
<p>I'm trying harder to plan out the design of my next app when appropriate. This
time I sketched out all the user flows I could think of, in advance, on paper.
This helped a lot when modeling classes and data. &nbsp;This is something I really
have to force myself to do, I really just want to jump into the code. But, we
know that just bites you in the ass, you just end up with spaghetti&nbsp;code.
Case and point being the massive UIViewController in <a href="https://itunes.apple.com/us/app/weather-notifications/id704052114?ls=1&amp;mt=8&amp;at=11laRZ&amp;ct=blog">Weather
Notifications</a>. &nbsp;It's due for a
refactor. I have a post in draft about the new features for that app.</p>
<p>As I
code, I do find issues with the flow. I'm playing around with the app in the
simulator, realize that what I designed just doesn't work, so I fix it in the
code. The philosophical question at this point is do I update my mocks? Why
didn't I catch it? Is there a way I could have? Still thinking about the
answer to those.</p>
]]></content:encoded></item>
<item><title>Quote of the day by David of 37signals</title><description>“But what’s the harm in over-testing, Phil, don’t you want your code to be
safe? If we catch just one bug from entering production, isn’t it worth it?”.
Fuck no it ain’t, and don’t call me Phil. This line of argument is how we got
the TSA, and how they squandered billions fondling balls and confiscating nail
clippers.</description><link>https://timbroder.com/2014/03/quote-day-david-37signals/</link><guid isPermaLink="false">https://timbroder.com/2014/03/quote-day-david-37signals</guid><pubDate>Sat, 29 Mar 2014 15:40:50 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>“But what’s the harm in over-testing, Phil, don’t you want your code to be
safe? If we catch just one bug from entering production, isn’t it worth it?”.
Fuck no it ain’t, and don’t call me Phil. This line of argument is how we got
the TSA, and how they squandered billions fondling balls and confiscating nail
clippers.</p>
</blockquote>
]]></content:encoded></item>
<item><title>ReadKit article sorting: group by feed in Feed Wrangler smart streams</title><description>I upgraded to Version 2.4 of ReadKit the other day and found my new
feeds—the ones in the RSS News smart folder—in reverse chronological order. I
could’ve sworn I had them set up the other way in 2.3, so I hunted for a way
to switch the ordering around. It’s not in the or under the menu. You have to
right-click on the RSS News item in the left panel and choose from the popup
menu. That brings up a sheet where you can set the ordering. Thank god. This was driving me nuts.</description><link>https://timbroder.com/2014/03/readkit-article-sorting-group-feed-feed-wrangler-smart-streams/</link><guid isPermaLink="false">https://timbroder.com/2014/03/readkit-article-sorting-group-feed-feed-wrangler-smart-streams</guid><pubDate>Sat, 29 Mar 2014 15:40:16 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>I upgraded to Version 2.4 of ReadKit the other day and found my new
feeds—the ones in the RSS News smart folder—in reverse chronological order. I
could’ve sworn I had them set up the other way in 2.3, so I hunted for a way
to switch the ordering around. It’s not in the or under the menu. You have to
right-click on the RSS News item in the left panel and choose from the popup
menu. That brings up a sheet where you can set the ordering.</p>
</blockquote>
<p>Thank god. This was driving me nuts.</p>
]]></content:encoded></item>
<item><title>Drafts</title><description>On the plane last night I realize that I have quite a number of draft posts
sitting in Drafts. These came in
from Instapaper on the train. I probably read an unhealthy amount of
things in Instapaper.  I’m going to try to be more diligent about posting
these in real time. For now I’ve scheduled these out over the next few days</description><link>https://timbroder.com/2014/03/drafts/</link><guid isPermaLink="false">https://timbroder.com/2014/03/drafts</guid><pubDate>Fri, 28 Mar 2014 16:07:22 GMT</pubDate><content:encoded><![CDATA[<p>On the plane last night I realize that I have quite a number of draft posts
sitting in <a href="https://itunes.apple.com/us/app/weather-notifications/id704052114?ls=1&amp;mt=8&amp;uo=4&amp;at=11l4Cf&amp;ct=blog">Drafts</a>. These came in
from <a href="https://itunes.apple.com/en/app/instapaper/id288545208?mt=8&amp;uo=4&amp;at=11l4Cf&amp;ct=blog">Instapaper</a> on the train. I probably read an unhealthy amount of
things in Instapaper. &nbsp;I’m going to try to be more diligent about posting
these in real time. For now I’ve scheduled these out over the next few days</p>
]]></content:encoded></item>
<item><title>Automating Layouts Bring Flipboard’s Magazine Style To Web And Windows</title><description>We automate the whole process of layout design and editing by slotting your
content into custom-designed page layouts — like fitting puzzle pieces
together. We start with a set of page layouts created by human designers. Then
our layout engine figures out how to best fit your content into these layouts,
considering things like page density, pacing, rhythm, image crop and scale. In
many ways, that is the key to Flipboard’s signature look and feel: at its
heart are the work of real designers. I've worked on…</description><link>https://timbroder.com/2014/03/automating-layouts-bring-flipboards-magazine-style-to-web-and-windows/</link><guid isPermaLink="false">https://timbroder.com/2014/03/automating-layouts-bring-flipboards-magazine-style-to-web-and-windows</guid><pubDate>Mon, 24 Mar 2014 22:52:37 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>We automate the whole process of layout design and editing by slotting your
content into custom-designed page layouts — like fitting puzzle pieces
together. We start with a set of page layouts created by human designers. Then
our layout engine figures out how to best fit your content into these layouts,
considering things like page density, pacing, rhythm, image crop and scale.&nbsp;In
many ways, that is the key to Flipboard’s signature look and feel: at its
heart are the work of real designers.</p>
</blockquote>
<p>I've worked on 4 major publishing sites at Ai. 2 were our custom django
publishing platform, the other two were wordpress with heavy customization on
the backend. The hardest part is designing, in advance, article templates that
can be infinitely flexible for an army of editors you may never meet. (We try
to meet all we can, but staffs change over time)</p>
<p>The way that flipboard handles this is fascinating. I wish we had time on one
of these sites to get to this level.</p>
]]></content:encoded></item>
<item><title>How I use my Launch Center Pro homescreen</title><description>Recently there have
been a few Launch Center Pro articles that have recaptured my
attention. I had tried a few months ago to simplify my home screen, no luck.
This time, it's sticking.  A few people have asked me on
twitter what flows I use in LCP so I'm throwing this post together. Please
note my screens are very much a work in progress. There are some Actions in
multiple groups, as well as on the home screen. I also just noticed I'm
missing a browser. A lot of these are app launches instead of true…</description><link>https://timbroder.com/2014/03/launch-center-pro-homescreen/</link><guid isPermaLink="false">https://timbroder.com/2014/03/launch-center-pro-homescreen</guid><pubDate>Mon, 24 Mar 2014 19:58:57 GMT</pubDate><content:encoded><![CDATA[<p>Recently <a href="http://jwie.be/launch-center-pro-daily-journaling">there</a> have
<a href="http://nerdgap.com/launch-center-pro-an-adoption-strategy-for-those-having-trouble-adopting-it/">been</a> a <a href="http://johnnyrk.com/blog/2014/3/19/updating-updates">few</a> Launch Center Pro articles that have recaptured my
attention. I had tried a few months ago to simplify my home screen, no luck.
This time, it's sticking.</p>
<p><a href="https://timbroder.com/images/2014/03/BjINmu5IQAAlbgA.png"><img src="https://timbroder.com/images/2014/03/BjINmu5IQAAlbgA.png" alt="BjINmu5IQAAlbgA"></a></p>
<p>A few people have asked me on
twitter what flows I use in LCP so I'm throwing this post together. Please
note my screens are very much a work in progress. There are some Actions in
multiple groups, as well as on the home screen. I also just noticed I'm
missing a browser. A lot of these are app launches instead of true actions.
Working on adding to that so it's more efficient. But, for things like
Instapaper or Pinboard, they detect something in the clipboard on open so a
custom action isn't needed.</p>
<p>I left a phone on my homescreen because I don't trust myself to realize I
missed a call just with notifications. iTrans is a metro north schedule app
that I check before I leave work because I'm paranoid a schedule has changed
(very healthy, I know). &nbsp;<a href="https://itunes.apple.com/us/app/clear-tasks-to-do-list/id493136154?mt=8&amp;at=11laRZ&amp;ct=lcpbp">Clear</a> and
<a href="http://trello.com">Trello</a> organize my work/personal life. (Aside from Jira,
but I have yet to find a good iOS app). &nbsp;<a href="https://itunes.apple.com/us/app/check-the-weather/id557872119?mt=8&amp;at=11laRZ&amp;ct=lcpbp">Check the
weather</a> has been my weather app of choice
since it came out. It's fast and simple. &nbsp;At work I need to check my calendar
a lot so <a href="https://itunes.apple.com/us/app/id718043190?mt=8&amp;at=11laRZ&amp;ct=lcpbp">Fantastical
2</a> stays.
I've been trying to force myself to use <a href="https://itunes.apple.com/us/app/day-one-journal-diary/id421706526?mt=8&amp;at=11laRZ&amp;ct=lcpbp">Day
One</a> and <a href="https://itunes.apple.com/us/app/evernote/id281796108?mt=8&amp;at=11laRZ&amp;ct=lcpbp">Evernote</a> a lot more. Having
them on my homescreen has been invaluable. &nbsp;The last 4
(<a href="https://itunes.apple.com/us/app/pocket-casts/id414834813?mt=8&amp;at=11laRZ&amp;ct=lcpbp">PocketCasts</a>,
<a href="https://itunes.apple.com/us/app/tweetbot-3-for-twitter-iphone/id722294701?mt=8&amp;at=11laRZ&amp;ct=lcpbp">Tweetbot</a>,
<a href="https://itunes.apple.com/us/app/tweetbot-3-for-twitter-iphone/id722294701?mt=8&amp;at=11laRZ&amp;ct=lcpbp">Riposte</a>, and <a href="https://itunes.apple.com/us/app/instapaper/id288545208?mt=8&amp;at=11laRZ&amp;ct=lcpbp">Instapaper</a>) get opened
multiple times a day on average so they needed to stay.</p>
<p><a href="https://timbroder.com/images/2014/03/IMG_2099.png"><img src="https://timbroder.com/images/2014/03/IMG_2099.png" alt="IMG_2099"></a></p>
<p>This is my main screen. From bottom left to top right: Text my wife Apps that
I use to consume things Apps that I use to "do" things Contacts and logging to
Day One Group texting and communication Random things and <a href="https://timbroder.com/2013/03/automating-adding-to-trello-on-ios/">adding to
Trello</a></p>
<p><img src="https://timbroder.com/images/2014/03/IMG_2100.png" alt="IMG_2100"></p>
<p>Reading/Listening apps that I just can't live without. Instapaper stayed on
the homscreen. Tried living without it, didn't work. I open that app multiple
times a day. &nbsp;When I'm in the mood, I use Velocity for speed reading.
<a href="https://itunes.apple.com/us/app/pushpin-for-pinboard/id548052590?mt=8&amp;at=11laRZ&amp;ct=lcpbp">Pushpin</a> is a new addition. I'm a fan of
<a href="https://itunes.apple.com/us/app/pinbook-for-pinboard/id564452716?mt=8&amp;at=11laRZ&amp;ct=lcpbp">Pinbook</a>, but giving this one a try.</p>
<p><img src="https://timbroder.com/images/2014/03/IMG_2101.png" alt="IMG_2101"></p>
<p>I've started playing around with more Actions here. New Day One entry, new
Fantastical reminder, go right to search in Google Maps, go right to search in
<a href="https://itunes.apple.com/us/app/1password-password-manager/id568903335?mt=8&amp;at=11laRZ&amp;ct=lcpbp">1Password</a>, new post in
<a href="https://itunes.apple.com/us/app/buffer-for-twitter-facebook/id490474324?mt=8&amp;at=11laRZ&amp;ct=lcpbp">Buffer</a>.</p>
<p><img src="https://timbroder.com/images/2014/03/IMG_2102.png" alt="IMG_2102"></p>
<p>Fast ways to text/call/email my family.</p>
<p><img src="https://timbroder.com/images/2014/03/IMG_2103.png" alt="IMG_2103"></p>
<p>Some quick logging that I've been playing with in Day
One<img src="https://timbroder.com/images/2014/03/IMG_2104.png" alt="IMG_2104"></p>
<p>This is one of the main things I miss about widgets in android. Quick texting
a contact. This is THE reason I bought LCP when I first got an iPhone. I would
go so far as to say I wouldn't have bought an iPhone without
LCP.<img src="https://timbroder.com/images/2014/03/IMG_2105.png" alt="IMG_2105"></p>
<p>Quick work contacts<img src="https://timbroder.com/images/2014/03/IMG_2106.png" alt="IMG_2106"></p>
<p>Random things I play around with</p>
]]></content:encoded></item>
<item><title>AVSpeechSynthesizer's queue doesn't work</title><description>Sort of. It acts as a queue, but subsequent items have problems. Taken from
the documentation of  Calling this method adds the utterance to a queue; utterances are spoken
in the order in which they are added to the queue. If the synthesizer is not
currently speaking, the utterance is spoken immediately. This is true. You can queue up as many AVSpeechUtterance objects as you want,
and they will be spoken, in order.  The problem is if you try to act on the
Synthesizer after the first Utterance has been spoken…</description><link>https://timbroder.com/2014/03/avspeechsynthesizers-queue-doesnt-work/</link><guid isPermaLink="false">https://timbroder.com/2014/03/avspeechsynthesizers-queue-doesnt-work</guid><pubDate>Sat, 01 Mar 2014 20:46:39 GMT</pubDate><content:encoded><![CDATA[<p>Sort of. It acts as a queue, but subsequent items have problems. Taken from
the <a href="https://developer.apple.com/library/ios/documentation/AVFoundation/Reference/AVSpeechSynthesizer_Ref/Reference/Reference.html#//apple_ref/occ/instm/AVSpeechSynthesizer/speakUtterance:" title="documentation">documentation</a> of&nbsp;<code>- (void)speakUtterance:(AVSpeechUtterance&nbsp;*)_utterance_</code></p>
<blockquote>
<p>Calling this method adds the utterance to a <strong>queue; utterances are spoken
in the order in which they are added to the queue</strong>. If the synthesizer is not
currently speaking, the utterance is spoken immediately.</p>
</blockquote>
<p>This is true. You can queue up as many&nbsp;AVSpeechUtterance objects as you want,
and they will be spoken, in order. &nbsp;The problem is if you try to act on the
Synthesizer after the first Utterance has been spoken. Specifically, I'm
having an issue with pausing. But, stopping has an issue as well. If I try to
pause during the first utterance using
pauseSpeakingAtBoundary:AVSpeechBoundaryImmediate, I get the expected
behavior. The speech stops and I can start it again with continueSpeaking.
(Even on the first Utterance,&nbsp;AVSpeechBoundaryWord, is giving me issues so I'm
putting that aside for now). However, if I try to pause on any of the
subsequent Utterances, nothing happens. &nbsp;The pausedSpeaking call is ignored.
(The synthesizer isn't nil, I checked). So, why am I queuing up a lot of text?
I plan on having&nbsp;AVSpeechSynthesizer speak a lot of text. This text is stored
in CoreData. &nbsp;Let's say my main object is called Read. Instead of storing all
of the text for that object in Read.text I've split out the text into slices,
stored in a separate Text entity. A Read object can have many of these. &nbsp;This
gives me control over how much text I load into memory at once. &nbsp;My original
plan was to load each slice into an Utterance. &nbsp;When the speaking was done for
that Utternace, queue up the next one (it should start immediatly or close to
it). Fragments of this below:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="c"><code><span class="line"><span style="color:#F8F8F2">    self.speechSynthesizer </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> [AVSpeechSynthesizer new];</span></span>
<span class="line"><span style="color:#F8F8F2">    self.speechSynthesizer.delegate </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> self;</span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#fa4f8d">-</span><span style="color:#F8F8F2"> (BOOL)addWordsToQueue:(NSString </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">)words</span></span>
<span class="line"><span style="color:#F8F8F2">{</span></span>
<span class="line"><span style="color:#fa4f8d">    if</span><span style="color:#F8F8F2"> ( </span><span style="color:#fa4f8d">!</span><span style="color:#F8F8F2">words ) {</span></span>
<span class="line"><span style="color:#fa4f8d">        return</span><span style="color:#F8F8F2"> NO;</span></span>
<span class="line"><span style="color:#F8F8F2">    }</span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#F8F8F2">    AVSpeechUtterance </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">utterance </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> [AVSpeechUtterance speechUtteranceWithString:words];</span></span>
<span class="line"><span style="color:#F8F8F2">    utterance.rate </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> AVSpeechUtteranceMinimumSpeechRate;</span></span>
<span class="line"><span style="color:#F8F8F2">    [self.speechSynthesizer speakUtterance:utterance];</span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#fa4f8d">    return</span><span style="color:#F8F8F2"> YES;</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#94907d">//used in view</span></span>
<span class="line"><span style="color:#fa4f8d">-</span><span style="color:#F8F8F2"> (</span><span style="color:#66D9EF;font-style:italic">void</span><span style="color:#F8F8F2">)play</span></span>
<span class="line"><span style="color:#F8F8F2">{</span></span>
<span class="line"><span style="color:#F8F8F2">    [self.speechSynthesizer continueSpeaking];</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#fa4f8d">-</span><span style="color:#F8F8F2"> (</span><span style="color:#66D9EF;font-style:italic">void</span><span style="color:#F8F8F2">)pause</span></span>
<span class="line"><span style="color:#F8F8F2">{</span></span>
<span class="line"><span style="color:#F8F8F2">    [self.speechSynthesizer pauseSpeakingAtBoundary:AVSpeechBoundaryImmediate];</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#fa4f8d">-</span><span style="color:#F8F8F2"> (BOOL)isPaused</span></span>
<span class="line"><span style="color:#F8F8F2">{</span></span>
<span class="line"><span style="color:#fa4f8d">    return</span><span style="color:#F8F8F2"> self.speechSynthesizer.isPaused;</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#fa4f8d">#pragma mark</span><span style="color:#fa4f8d"> - AVSpeechSynthesizerDelegate</span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#fa4f8d">-</span><span style="color:#F8F8F2"> (</span><span style="color:#66D9EF;font-style:italic">void</span><span style="color:#F8F8F2">)speechSynthesizer:(AVSpeechSynthesizer </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">)synthesizer didFinishSpeechUtterance:(AVSpeechUtterance </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">)utterance</span></span>
<span class="line"><span style="color:#F8F8F2">{</span></span>
<span class="line"><span style="color:#F8F8F2">    NSString </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">words </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> [read getAndIncrementCurrentWordsAsString];</span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#fa4f8d">    if</span><span style="color:#F8F8F2"> ( words </span><span style="color:#fa4f8d">!=</span><span style="color:#F8F8F2"> nil ) {</span></span>
<span class="line"><span style="color:#F8F8F2">        [self addWordsToQueue:words];</span></span>
<span class="line"><span style="color:#F8F8F2">    }</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span></code></pre>
<p>Again, the first Utterance
works fine, the rest don't. I've also experimented with queueing multiple
slices at once, as well as checking if the synthesizer I get in
didFinishSpeechUtterance is the correct instance.</p>
<p>I'm
<a href="http://stackoverflow.com/questions/19672814/an-issue-with-avspeechsynthesizer-any-workarounds">not</a> the first person to run into this issue.
There are also a number of
<a href="http://openradar.appspot.com/search?query=AVSpeechSynthesizer+">radars</a>. I've
added one as well.</p>
<p>There is a workaround, but it's dirty and shouldn't be
needed. In&nbsp;didFinishSpeechUtterance I recreate my&nbsp;AVSpeechSynthesizer so I'm
always dealing with the first item in the queue. I really don't like it. &nbsp;This
is still broken in 7.1 beta 5. Hopefully it gets fixed. I'd like to implement
this properly.</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="c"><code><span class="line"><span style="color:#fa4f8d">-</span><span style="color:#F8F8F2"> (</span><span style="color:#66D9EF;font-style:italic">void</span><span style="color:#F8F8F2">) resetSynth</span></span>
<span class="line"><span style="color:#F8F8F2">{</span></span>
<span class="line"><span style="color:#F8F8F2">    self.speechSynthesizer </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> [AVSpeechSynthesizer new];</span></span>
<span class="line"><span style="color:#F8F8F2">    self.speechSynthesizer.delegate </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> self;</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#fa4f8d">#pragma mark</span><span style="color:#fa4f8d"> - AVSpeechSynthesizerDelegate</span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#fa4f8d">-</span><span style="color:#F8F8F2"> (</span><span style="color:#66D9EF;font-style:italic">void</span><span style="color:#F8F8F2">)speechSynthesizer:(AVSpeechSynthesizer </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">)synthesizer didFinishSpeechUtterance:(AVSpeechUtterance </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">)utterance</span></span>
<span class="line"><span style="color:#F8F8F2">{</span></span>
<span class="line"><span style="color:#F8F8F2">    [self resetSynth];</span></span>
<span class="line"><span style="color:#F8F8F2">    NSString </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">words </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> [read getAndIncrementCurrentWordsAsString];</span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#fa4f8d">    if</span><span style="color:#F8F8F2"> ( words </span><span style="color:#fa4f8d">!=</span><span style="color:#F8F8F2"> nil ) {</span></span>
<span class="line"><span style="color:#F8F8F2">        [self addWordsToQueue:words];</span></span>
<span class="line"><span style="color:#F8F8F2">    }</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span></code></pre>
<p>This unfortunately still
happens in the 7.1 beta</p>
]]></content:encoded></item>
<item><title>Quote of the week: Brent Simmons on terrible things</title><description>I have to design as if terrible things could happen — because by doing so I
can better prevent terrible things from happening. via inessential.com: Vesper Sync Diary #8 - The Problem of Unique IDs.</description><link>https://timbroder.com/2014/02/quote-week-brent-simmons-terrible-things/</link><guid isPermaLink="false">https://timbroder.com/2014/02/quote-week-brent-simmons-terrible-things</guid><pubDate>Thu, 27 Feb 2014 16:43:15 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>I have to design as if terrible things could happen — because by doing so I
can better prevent terrible things from happening.</p>
</blockquote>
<p>via <a href="http://inessential.com/2014/02/15/vesper_sync_diary_8_the_problem_of_un">inessential.com: Vesper Sync Diary #8 - The Problem of Unique IDs</a>.</p>
]]></content:encoded></item>
<item><title>Expansion Followed By Consolidation</title><description>David Smith: I wouldn’t be surprised, however, if the pressures of remaining a small,
independent fish in this Big Fish Pond became untenable or undesirable at some
point. :-/ That's a shame. Indie is something that's been on my mind to see of it was
possible. We will see what happens over the next year for me as well</description><link>https://timbroder.com/2014/02/expansion-followed-by-consolidation/</link><guid isPermaLink="false">https://timbroder.com/2014/02/expansion-followed-by-consolidation</guid><pubDate>Fri, 21 Feb 2014 00:46:40 GMT</pubDate><content:encoded><![CDATA[<p>David Smith:</p>
<blockquote>
<p>I wouldn’t be surprised, however, if the pressures of remaining a small,
independent fish in this Big Fish Pond became untenable or undesirable at some
point.</p>
</blockquote>
<p>:-/</p>
<p>That's a shame. Indie is something that's been on my mind to see of it was
possible. We will see what happens over the next year for me as well</p>
]]></content:encoded></item>
<item><title>House of Cards regex mute filter for Tweetbot</title><description>Some regular expressions if you don't want to see spoilers in your timeline
Just the show name. tweetbot:///mute/keyword?regex=1&amp;text=(%3Fi)%23%3Fhouse(%20%3Fof)%3F(%3F%3D%20%3Fcards) @housecards #houseofcards #housecards House of Cards House cards house cards Includes some cast member names and character names: tweetbot:///mute/keyword?regex=1&amp;text=(%3Fi)%23%3Fhouse(%20%3Fof)%3F(%3F%3D%20%3Fcards)%7C(%3Fi)%23%3Fkevin(%3F%3D%20%3Fspacey)%7C(%3Fi)%23%3FFrancis(%3F%3D%20%3FUnderwood)%7C(%3Fi)%23%3FRobin(%3F…</description><link>https://timbroder.com/2014/02/house-cards-regex-mute-filter-tweetbot/</link><guid isPermaLink="false">https://timbroder.com/2014/02/house-cards-regex-mute-filter-tweetbot</guid><pubDate>Sat, 15 Feb 2014 22:12:22 GMT</pubDate><content:encoded><![CDATA[<p>Some regular expressions if you don't want to see spoilers in your timeline
Just the show name. <a href="tweetbot:///mute/keyword?regex=1&amp;text=(%3Fi)%23%3Fhouse(%20%3Fof)%3F(%3F%3D%20%3Fcards)" title="tweetbot:///mute/keyword?regex=1&amp;text=(%3Fi)%23%3Fhouse(%20%3Fof)%3F(%3F%3D%20%3Fcards)">tweetbot:///mute/keyword?regex=1&amp;text=(%3Fi)%23%3Fhouse(%20%3Fof)%3F(%3F%3D%20%3Fcards)</a></p>
<ul>
<li>@housecards</li>
<li>#houseofcards</li>
<li>#housecards</li>
<li>House of Cards</li>
<li>House cards</li>
<li>house cards</li>
</ul>
<p>Includes some cast member names and character names:</p>
<p><a href="tweetbot:///mute/keyword?regex=1&amp;text=(%3Fi)%23%3Fhouse(%20%3Fof)%3F(%3F%3D%20%3Fcards)%7C(%3Fi)%23%3Fkevin(%3F%3D%20%3Fspacey)%7C(%3Fi)%23%3FFrancis(%3F%3D%20%3FUnderwood)%7C(%3Fi)%23%3FRobin(%3F%3D%20%3FWright)%7C(%3Fi)%23%3FClaire(%3F%3D%20%3FUnderwood)%7C(%3Fi)%23%3FKate(%3F%3D%20%3FMara)%7C(%3Fi)%23%3FZoe(%3F%3D%20%3FBarnes)" title="tweetbot:///mute/keyword?regex=1&amp;text=(%3Fi)%23%3Fhouse(%20%3Fof)%3F(%3F%3D%20%3Fcards)%7C(%3Fi)%23%3Fkevin(%3F%3D%20%3Fspacey)%7C(%3Fi)%23%3FFrancis(%3F%3D%20%3FUnderwood)%7C(%3Fi)%23%3FRobin(%3F%3D%20%3FWright)%7C(%3Fi)%23%3FClaire(%3F%3D%20%3FUnderwood)%7C(%3Fi)%23%3FKate(%3F%3D%20%3FMara)%7C(%3Fi)%23%3FZoe(%3F%3D%20%3FBarnes)">tweetbot:///mute/keyword?regex=1&amp;text=(%3Fi)%23%3Fhouse(%20%3Fof)%3F(%3F%3D%20%3Fcards)%7C(%3Fi)%23%3Fkevin(%3F%3D%20%3Fspacey)%7C(%3Fi)%23%3FFrancis(%3F%3D%20%3FUnderwood)%7C(%3Fi)%23%3FRobin(%3F%3D%20%3FWright)%7C(%3Fi)%23%3FClaire(%3F%3D%20%3FUnderwood)%7C(%3Fi)%23%3FKate(%3F%3D%20%3FMara)%7C(%3Fi)%23%3FZoe(%3F%3D%20%3FBarnes)</a></p>
]]></content:encoded></item>
<item><title>Background fetch: An Unexpected Botnet</title><description>When enabled within your applications you are essentially building a
massively distributed botnet. Each copy of your application will be
periodically awoken and sent on a mission to seek and assimilate internet
content with only the OS safeguards holding it back. As your app grows in
popularity this can lead to some rather significant increases in activity. David Smith's article on the implications (and related cost) of background
fetch gave me a few things to think about. I have a few parts of my new app…</description><link>https://timbroder.com/2014/02/background-fetch-an-unexpected-botnet/</link><guid isPermaLink="false">https://timbroder.com/2014/02/background-fetch-an-unexpected-botnet</guid><pubDate>Sat, 15 Feb 2014 14:37:08 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>When enabled within your applications you are essentially building a
massively distributed botnet. Each copy of your application will be
periodically awoken and sent on a mission to seek and assimilate internet
content with only the OS safeguards holding it back. As your app grows in
popularity this can lead to some rather significant increases in activity.</p>
</blockquote>
<p>David Smith's article on the implications (and related cost) of background
fetch gave me a few things to think about. I have a few parts of my new app
that use background fetch. Thus far I have been guilty of #2: <strong>Be honest when
your application didn’t get data from a fetch.</strong> This needs to change.</p>
]]></content:encoded></item>
<item><title>Quote of the Day: Marco Arment</title><description>“Emphasizing and rewarding length over quality results in worse writing and
more reader abandonment.” – Marco Arment</description><link>https://timbroder.com/2014/02/quote-of-the-day-marco-arment/</link><guid isPermaLink="false">https://timbroder.com/2014/02/quote-of-the-day-marco-arment</guid><pubDate>Wed, 05 Feb 2014 13:09:33 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>“Emphasizing and rewarding length over quality results in worse writing and
more reader abandonment.” – Marco Arment</p>
</blockquote>
]]></content:encoded></item>
<item><title>Follow Pie – The Story Of The Instagram Bot Made To Increase App Store Downloads</title><description>“How the hell do you have 18,000 followers on Instagram???” Not helpful for any of my current ideas I don't think. Maybe one of the ides
on the short list... Good read though</description><link>https://timbroder.com/2014/02/follow-pie-the-story-of-the-instagram-bot-made-to-increase-app-store-downloads/</link><guid isPermaLink="false">https://timbroder.com/2014/02/follow-pie-the-story-of-the-instagram-bot-made-to-increase-app-store-downloads</guid><pubDate>Sun, 02 Feb 2014 21:55:45 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>“How the hell do you have 18,000 followers on Instagram???”</p>
</blockquote>
<p>Not helpful for any of my current ideas I don't think. Maybe one of the ides
on the short list... Good read though</p>
]]></content:encoded></item>
<item><title>Interesting Lessons from Building a Pedometer - David Smith</title><description>It is a rare thing for a software developer to know that what I’m building
is tangibly improving the health and lives of my customers. Such an awesome feeling. I can only hope my next app helps improve someone.
This one won't help their health, but hopefully other parts of their life.</description><link>https://timbroder.com/2014/02/interesting-lessons-from-building-a-pedometer-david-smith/</link><guid isPermaLink="false">https://timbroder.com/2014/02/interesting-lessons-from-building-a-pedometer-david-smith</guid><pubDate>Sat, 01 Feb 2014 14:25:34 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>It is a rare thing for a software developer to know that what I’m building
is tangibly improving the health and lives of my customers.</p>
</blockquote>
<p>Such an awesome feeling. I can only hope my next app helps improve someone.
This one won't help their health, but hopefully other parts of their life.</p>
]]></content:encoded></item>
<item><title>Hypercritical: The Road to Geekdom</title><description>Geekdom is not a club; it’s a destination, open to anyone who wants to put
in the time and effort to travel there. And if someone lacks the opportunity
to get there, we geeks should help in any way we can. Take a new friend to a
meetup or convention. Donate your old games, movies, comics, and toys. Be
welcoming. Sharing your enthusiasm is part of being a geek. Anyone trying to purposely erect border fences or demanding to see ID upon
entry to the land of Geekdom is missing the point. They have no power over…</description><link>https://timbroder.com/2014/02/hypercritical-the-road-to-geekdom/</link><guid isPermaLink="false">https://timbroder.com/2014/02/hypercritical-the-road-to-geekdom</guid><pubDate>Sat, 01 Feb 2014 14:19:54 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>Geekdom is not a club; it’s a destination, open to anyone who wants to put
in the time and effort to travel there. And if someone lacks the opportunity
to get there, we geeks should help in any way we can. Take a new friend to a
meetup or convention. Donate your old games, movies, comics, and toys. Be
welcoming. Sharing your enthusiasm is part of being a geek.</p>
</blockquote>
<blockquote>
</blockquote>
<blockquote>
<p>Anyone trying to purposely erect border fences or demanding to see ID upon
entry to the land of Geekdom is missing the point. They have no power over
you. Ignore them and dive headfirst into the things that interest you. Soak up
every experience. Lose yourself in the pursuit of knowledge. When you finally
come up for air, you’ll find that the long road to geekdom no longer stretches
out before you. No one can deny you entry. You’re already home.</p>
</blockquote>
]]></content:encoded></item>
<item><title>How I lost my $50,000 Twitter username</title><description>I had a rare Twitter username, @N. Yep, just one letter. I’ve been offered
as much as $50,000 for it. People have tried to steal it. Password reset
instructions are a regular sight in my e-mail inbox. As of today, I no longer
control @N. I was extorted into giving it up. Another reason I am quite happy I recently moved all if my domains from
godaddy to hover. (They even took my godaddy login and did it all for me). I'd
like to cancel paypal but I just can't bring myself to do it</description><link>https://timbroder.com/2014/02/how-i-lost-my-50000-twitter-username/</link><guid isPermaLink="false">https://timbroder.com/2014/02/how-i-lost-my-50000-twitter-username</guid><pubDate>Sat, 01 Feb 2014 10:59:35 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>I had a rare Twitter username, @N. Yep, just one letter. I’ve been offered
as much as $50,000 for it. People have tried to steal it. Password reset
instructions are a regular sight in my e-mail inbox. As of today, I no longer
control @N. I was extorted into giving it up.</p>
</blockquote>
<p>Another reason I am quite happy I recently moved all if my domains from
godaddy to hover. (They even took my godaddy login and did it all for me). I'd
like to cancel paypal but I just can't bring myself to do it</p>
]]></content:encoded></item>
<item><title>Google Bringing Chrome Apps to iOS and Android</title><description>Google today launched Chrome apps for iOS and Android, which will see
Chrome-based apps encased in a native application shell that allows them to be
distributed through the Apple App Store and Google Play. Currently, Chrome-
packaged apps are written in JavaScript, HTML, and CSS, but are able to launch
outside the browser, access APIs and work offline. I feel like this should just be called "yet another cross platform mobile
solution." I'd like to say this will be crisp, feel native, actually work, or
gain…</description><link>https://timbroder.com/2014/02/google-bringing-chrome-apps-to-ios-and-android/</link><guid isPermaLink="false">https://timbroder.com/2014/02/google-bringing-chrome-apps-to-ios-and-android</guid><pubDate>Sat, 01 Feb 2014 10:49:51 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>Google today launched Chrome apps for iOS and Android, which will see
Chrome-based apps encased in a native application shell that allows them to be
distributed through the Apple App Store and Google Play. Currently, Chrome-
packaged apps are written in JavaScript, HTML, and CSS, but are able to launch
outside the browser, access APIs and work offline.</p>
</blockquote>
<p>I feel like this should just be called "yet another cross platform mobile
solution." I'd like to say this will be crisp, feel native, actually work, or
gain traction. Google owning or pushing products/technologies used to mean
something. Open social? Reader? I've lost faith in them over the past few
years. (And this blog's original name was gPowered) Time will tell but the
"best" option IMO is still Titanium. I say that with finger quotes because
they all suck.</p>
]]></content:encoded></item>
<item><title>My URL Schemes for Posting Links From My iPhone and iPad Using Poster</title><description>Instapaper → Drafts → Poster This is awesome. Since I do most of my internet reading on iOS these days,
maybe this wil convince me to blog more. Huge thanks to Shawn Blanc for
posting this!</description><link>https://timbroder.com/2014/01/my-url-schemes-for-posting-links-from-my-iphone-and-ipad-using-poster/</link><guid isPermaLink="false">https://timbroder.com/2014/01/my-url-schemes-for-posting-links-from-my-iphone-and-ipad-using-poster</guid><pubDate>Sun, 26 Jan 2014 20:39:57 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>Instapaper → Drafts → Poster</p>
</blockquote>
<p>This is awesome. Since I do most of my internet reading on iOS these days,
maybe this wil convince me to blog more. Huge thanks to Shawn Blanc for
posting this!</p>
]]></content:encoded></item>
<item><title>Motivation — Sam Soffes</title><description>This hit pretty home for me. I have motivation problems sometimes. Sometimes
the TV just looks SO good. Motivation — Sam Soffes: "My friend has a
great saying: I want to program wet and naked. — Ernie Miller I love this. He was talking about getting ideas in the shower and getting so
excited that you get out and start programming before you can even dry off."</description><link>https://timbroder.com/2013/11/motivation-sam-soffes/</link><guid isPermaLink="false">https://timbroder.com/2013/11/motivation-sam-soffes</guid><pubDate>Fri, 08 Nov 2013 14:13:07 GMT</pubDate><content:encoded><![CDATA[<p>This hit pretty home for me. I have motivation problems sometimes. Sometimes
the TV just looks SO good.</p>
<blockquote>
<p><a href="http://sam.roon.io/motivation">Motivation — Sam Soffes</a>: "My friend has a
great saying:</p>
</blockquote>
<blockquote>
</blockquote>
<blockquote>
<p>I want to program wet and naked.</p>
</blockquote>
<blockquote>
</blockquote>
<blockquote>
<p>— Ernie Miller</p>
</blockquote>
<blockquote>
</blockquote>
<blockquote>
<p>I love this. He was talking about getting ideas in the shower and getting so
excited that you get out and start programming before you can even dry off."</p>
</blockquote>
]]></content:encoded></item>
<item><title>Weather Notifications on Lifehacker!</title><description>OMG. I’m on lifehacker. Weather Notifications Gives You a Forecast without Opening the
App: "iPhone: One of the problems with weather apps on the iPhone
is that you have to actually open them to get the information you want.
Weather Notifications is an app that'll send customized notifications to your
lock screen for only the information you care about. At a glance, Weather Notifications isn't that different from the weather
information that's already in Notification Center. You can set it up so you
get a…</description><link>https://timbroder.com/2013/11/weather-notifications-on-lifehacker/</link><guid isPermaLink="false">https://timbroder.com/2013/11/weather-notifications-on-lifehacker</guid><pubDate>Tue, 05 Nov 2013 19:08:53 GMT</pubDate><content:encoded><![CDATA[<p>OMG. I’m on lifehacker.</p>
<blockquote>
<p><a href="http://lifehacker.com/weather-notifications-gives-you-a-forecast-without-open-1458155902">Weather Notifications Gives You a Forecast without Opening the
App</a>: "iPhone: One of the problems with weather apps on the iPhone
is that you have to actually open them to get the information you want.
Weather Notifications is an app that'll send customized notifications to your
lock screen for only the information you care about.</p>
</blockquote>
<blockquote>
</blockquote>
<blockquote>
<p>At a glance, Weather Notifications isn't that different from the weather
information that's already in Notification Center. You can set it up so you
get a quick forecast of your day if you want, but what's useful about Weather
Notifications is the level of customization you can get with alerts. You can
set it up so you get alerts for rain, snow, fog, temperature alerts, humidity,
or wind. Basically, you can make it so you're only alerted to junky weather,
and you never have to actually open the app if you don't want to. It's an
interesting approach to a weather app that's worth a look if you're only
curious about specific types of weather."</p>
</blockquote>
]]></content:encoded></item>
<item><title>Why Android First is a Myth | steve cheney – technology, business &amp; strategy</title><description>This article made me think back to when I switch to iOS to make apps. (I was a
hardcore android proponent in general and at work).  I’m happy to have other
validation with my choice Why Android First is a Myth | steve cheney – technology, business &amp;
strategy:
In mobile,
particularly in consumer markets, there has been an ongoing debate about when
or if Android will become the first platform that sophisticated startups
develop for. Often times, this argument is wrongly centered around vanity
metrics for…</description><link>https://timbroder.com/2013/10/why-android-first-is-a-myth-steve-cheney-technology-business-strategy/</link><guid isPermaLink="false">https://timbroder.com/2013/10/why-android-first-is-a-myth-steve-cheney-technology-business-strategy</guid><pubDate>Wed, 23 Oct 2013 14:17:41 GMT</pubDate><content:encoded><![CDATA[<p>This article made me think back to when I switch to iOS to make apps. (I was a
hardcore android proponent in general and at work). &nbsp;I’m happy to have other
validation with my choice</p>
<blockquote>
<p><a href="http://stevecheney.com/why-android-first-is-a-myth/">Why Android First is a Myth | steve cheney – technology, business &amp;
strategy</a>:
In mobile,
particularly in consumer markets, there has been an ongoing debate about when
or if Android will become the first platform that sophisticated startups
develop for. Often times, this argument is wrongly centered around vanity
metrics for Android such as worldwide shipments or installed base of each
platform."</p>
</blockquote>
]]></content:encoded></item>
<item><title>GarageBand for iOS 7 to Become Free with In-App Purchases as Apple Reveals Full Set of New iLife and iWork Icons - Mac Rumors</title><description>With all the discussion around pricing the past few weeks, it's very
interesting that Apple is using a IAP model in one of it's apps GarageBand for iOS 7 to Become Free with In-App Purchases as Apple Reveals Full Set of New iLife and iWork Icons - Mac Rumors: Aside from the new icons, the updated page also reveals in a footnote
that GarageBand will become a free basic download for all iOS 7 devices,
joining the other five iLife and iWork apps that became free alongside the
release of iOS 7. GarageBand will…</description><link>https://timbroder.com/2013/10/garageband-for-ios-7-to-become-free-with-in-app-purchases-as-apple-reveals-full-set-of-new-ilife-and-iwork-icons-mac-rumors/</link><guid isPermaLink="false">https://timbroder.com/2013/10/garageband-for-ios-7-to-become-free-with-in-app-purchases-as-apple-reveals-full-set-of-new-ilife-and-iwork-icons-mac-rumors</guid><pubDate>Mon, 21 Oct 2013 15:01:03 GMT</pubDate><content:encoded><![CDATA[<p>With all the discussion around pricing the past few weeks, it's very
interesting that Apple is using a IAP model in one of it's apps</p>
<p><a href="http://www.macrumors.com/2013/10/20/garageband-for-ios-to-become-free-with-in-app-purchases-as-apple-reveals-full-set-of-new-ilife-and-iwork-icons/?utm_content=bufferfe593&amp;utm_source=buffer&amp;utm_medium=twitter&amp;utm_campaign=Buffer">GarageBand for iOS 7 to Become Free with In-App Purchases as Apple Reveals Full Set of New iLife and iWork Icons - Mac Rumors</a>:</p>
<blockquote>
<p>Aside from the new icons, the updated page also reveals in a footnote
that GarageBand will become a free basic download for all iOS 7 devices,
joining the other five iLife and iWork apps that became free alongside the
release of iOS 7.</p>
<p>GarageBand will, however, include in-app purchase content from Apple, with
additional instruments and sounds available for a fee. Licensing fees
associated with some of those sounds had been the presumed reason why
GarageBand was left out the original move to make Apple's iLife and iWork apps
for iOS free of charge, and it appears that the company has settled on in-app
purchases as a way around this issue, offering basic functionality for free
and then premium content through the paid upgrade options.</p>
</blockquote>
]]></content:encoded></item>
<item><title>inessential.com: Why Care About 30,000 Notes?</title><description>Brent Simmons posts some interesting philosophy on sample data sizes. I'm
definitely going to be using this thinking in my next app I’ve learned that I’m unlikely to over-estimate the amount of data people like
to keep. via inessential.com: Why Care About 30,000
Notes?.</description><link>https://timbroder.com/2013/10/inessential-com-why-care-about-30000-notes/</link><guid isPermaLink="false">https://timbroder.com/2013/10/inessential-com-why-care-about-30000-notes</guid><pubDate>Sun, 20 Oct 2013 15:14:45 GMT</pubDate><content:encoded><![CDATA[<p>Brent Simmons posts some interesting philosophy on sample data sizes. I'm
definitely going to be using this thinking in my next app</p>
<blockquote>
<p>I’ve learned that I’m unlikely to over-estimate the amount of data people like
to keep.</p>
</blockquote>
<p>via <a href="http://inessential.com/2013/10/05/why_care_about_30_000_notes_">inessential.com: Why Care About 30,000
Notes?</a>.</p>
]]></content:encoded></item>
<item><title>Gamasutra: David Framptons Blog - Postmortem: The Blockheads</title><description>The Blockheads is an extremely popular (and profitable) game. David Frampton
does a great Post Mortem write up of what went right and wrong: The Blockheads is an exploration/mining/crafting massive world sandbox game
released for iOS in January 2013 and only just launched for Android. To date
it has had over 7 million downloads on iOS, and has a passionate and growing
fan-base, rarely dipping below 100,000 daily active users since its launch 9
months ago. The Blockheads was entirely made by one guy - me…</description><link>https://timbroder.com/2013/10/gamasutra-david-framptons-blog-postmortem-the-blockheads/</link><guid isPermaLink="false">https://timbroder.com/2013/10/gamasutra-david-framptons-blog-postmortem-the-blockheads</guid><pubDate>Thu, 17 Oct 2013 21:50:50 GMT</pubDate><content:encoded><![CDATA[<p>The Blockheads is an extremely popular (and profitable) game. David Frampton
does a great Post Mortem write up of what went right and wrong:</p>
<p>The Blockheads is an exploration/mining/crafting massive world sandbox game
released for iOS in January 2013 and only just launched for Android. To date
it has had over 7 million downloads on iOS, and has a passionate and growing
fan-base, rarely dipping below 100,000 daily active users since its launch 9
months ago. The Blockheads was entirely made by one guy - me, over the course
of about a year, and since version 1.0 Ive released 4 major updates. Its an
ever-evolving game, and the potential additions are limitless.&nbsp;Perhaps in part
due to this constant evolution, I havent felt I could write a postmortem until
now. It still feels a long way from "complete", but I think now with the
release of the 1.4 update it finally no longer feels "incomplete". So its time
to share some of the story of its development, and where I feel I went right
and wrong with The Blockheads.</p>
<p>via <a href="http://www.gamasutra.com/blogs/DavidFrampton/20131012/202246/Postmortem_The_Blockheads.php">Gamasutra: David Framptons Blog - Postmortem: The Blockheads</a>.</p>
]]></content:encoded></item>
<item><title>Why We Do What We Do</title><description>In his talk at Smashing Conf in Freiburg Germany 2013 Dan Rubin talked about
the impact of motivation on our work. Here are some notes from his talk Why We
Do What We Do: via Smashing Conf: Why We Do What We Do.</description><link>https://timbroder.com/2013/09/why-we-do-what-we-do/</link><guid isPermaLink="false">https://timbroder.com/2013/09/why-we-do-what-we-do</guid><pubDate>Sun, 29 Sep 2013 21:09:22 GMT</pubDate><content:encoded><![CDATA[<p>In his talk at Smashing Conf in Freiburg Germany 2013 Dan Rubin talked about
the impact of motivation on our work. Here are some notes from his talk Why We
Do What We Do:</p>
<p>via <a href="http://www.lukew.com/ff/entry.asp?1791=">Smashing Conf: Why We Do What We Do</a>.</p>
]]></content:encoded></item>
<item><title>Fixing YouTube embeds in Wordpress</title><description>In some wordpress themes, youtube embeds just show up as a black screen. As
discussed here, the solution is
adding a transparency setting to the iframe's src. However, the solution in
that thread only works if the src is right next to the frameborder. Updated
code below if you are running into this problem New thread in the wordpress forums can be found
here. (The original was closed)</description><link>https://timbroder.com/2013/05/fixing-youtube-embeds-in-wordpress/</link><guid isPermaLink="false">https://timbroder.com/2013/05/fixing-youtube-embeds-in-wordpress</guid><pubDate>Fri, 10 May 2013 16:42:32 GMT</pubDate><content:encoded><![CDATA[<p>In some wordpress themes, youtube embeds just show up as a black screen. As
discussed <a href="http://wordpress.org/support/topic/dynamically-change-youtube-iframe-embeds-to-auto-add-transparent-mode?replies=8">here</a>, the solution is
adding a transparency setting to the iframe's src.</p>
<p>However, the solution in
that thread only works if the src is right next to the frameborder. Updated
code below if you are running into this problem</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="php"><code><span class="line"><span style="color:#66D9EF;font-style:italic">function</span><span style="color:#A6E22E"> add_video_wmode_transparent</span><span style="color:#F8F8F2">( $html ) {</span></span>
<span class="line"><span style="color:#F8F8F2">	$pattern </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> '#(src=&amp;quot;https?://www.youtube(?:-nocookie)?.com/(?:v|embed)/([a-zA-Z0-9-]+).&amp;quot;)#'</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#66D9EF">	preg_match_all</span><span style="color:#F8F8F2">( $pattern, $html, $matches );</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">	if</span><span style="color:#F8F8F2"> ( </span><span style="color:#66D9EF">count</span><span style="color:#F8F8F2">( $matches ) </span><span style="color:#fa4f8d">&amp;</span><span style="color:#AE81FF">gt</span><span style="color:#F8F8F2">; </span><span style="color:#AE81FF">0</span><span style="color:#F8F8F2">) {</span></span>
<span class="line"><span style="color:#fa4f8d">		foreach</span><span style="color:#F8F8F2"> ( $matches[</span><span style="color:#AE81FF">0</span><span style="color:#F8F8F2">] </span><span style="color:#fa4f8d">as</span><span style="color:#F8F8F2"> $orig_src ) {</span></span>
<span class="line"><span style="color:#fa4f8d">			if</span><span style="color:#F8F8F2"> ( </span><span style="color:#fa4f8d">!</span><span style="color:#66D9EF">strstr</span><span style="color:#F8F8F2">($orig_src, </span><span style="color:#E6DB74">'wmode=transparent'</span><span style="color:#F8F8F2"> ) </span><span style="color:#fa4f8d">&amp;</span><span style="color:#AE81FF">amp</span><span style="color:#F8F8F2">;</span><span style="color:#fa4f8d">&amp;</span><span style="color:#AE81FF">amp</span><span style="color:#F8F8F2">; </span><span style="color:#fa4f8d">!</span><span style="color:#66D9EF">strstr</span><span style="color:#F8F8F2">( $orig_src, </span><span style="color:#E6DB74">'hd=1'</span><span style="color:#F8F8F2"> ) ) {</span></span>
<span class="line"><span style="color:#F8F8F2">				$add </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> 'hd=1&amp;amp;wmode=transparent&amp;quot;'</span><span style="color:#F8F8F2">;</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">				if</span><span style="color:#F8F8F2"> ( </span><span style="color:#fa4f8d">!</span><span style="color:#66D9EF">strstr</span><span style="color:#F8F8F2">($orig_src, </span><span style="color:#E6DB74">'?'</span><span style="color:#F8F8F2">) ) {</span></span>
<span class="line"><span style="color:#F8F8F2">					$add </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> '?'</span><span style="color:#fa4f8d"> .</span><span style="color:#F8F8F2"> $add;</span></span>
<span class="line"><span style="color:#F8F8F2">				}</span></span>
<span class="line"><span style="color:#F8F8F2">				$new_src </span><span style="color:#fa4f8d">=</span><span style="color:#66D9EF"> substr</span><span style="color:#F8F8F2">( $orig_src, </span><span style="color:#AE81FF">0</span><span style="color:#F8F8F2">, </span><span style="color:#fa4f8d">-</span><span style="color:#AE81FF">1</span><span style="color:#F8F8F2"> ) </span><span style="color:#fa4f8d">.</span><span style="color:#F8F8F2"> $add;</span></span>
<span class="line"><span style="color:#F8F8F2">				$html </span><span style="color:#fa4f8d">=</span><span style="color:#66D9EF"> str_replace</span><span style="color:#F8F8F2">( $orig_src, $new_src, $html );</span></span>
<span class="line"><span style="color:#F8F8F2">			}</span></span>
<span class="line"><span style="color:#F8F8F2">		}</span></span>
<span class="line"><span style="color:#F8F8F2">	}</span></span>
<span class="line"><span style="color:#fa4f8d">	return</span><span style="color:#F8F8F2"> $html;</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span>
<span class="line"><span style="color:#A6E22E">add_filter</span><span style="color:#F8F8F2">( </span><span style="color:#E6DB74">'the_content'</span><span style="color:#F8F8F2">, </span><span style="color:#E6DB74">'add_video_wmode_transparent'</span><span style="color:#F8F8F2">, </span><span style="color:#AE81FF">10</span><span style="color:#F8F8F2"> );</span></span></code></pre>
<p>New thread in the wordpress forums can be found
<a href="htp://wordpress.org/support/topic/dynamically-change-youtube-iframe-embeds-to-auto-add-transparent-mode-updated">here</a>. (The original was closed)</p>
]]></content:encoded></item>
<item><title>Automate Adding to Trello on iOS with Launch Center Pro and Pythonista</title><description>I love using Trello to organize my life and work. While
I kind of like it's iOS app, sometimes navigating to a board to add a card can
be a little time consuming.  I want this process to be faster. I also use
Launch Center Pro to get some quick actions that I miss from Android. Mostly
around quick communication, adding events, and now, adding to Trello.  LCP
uses x-callback-urls for inter-app communication, but Trello doesn't have any
that I could see. Inspired by Federico
Viticci's article on automating…</description><link>https://timbroder.com/2013/03/automating-adding-to-trello-on-ios/</link><guid isPermaLink="false">https://timbroder.com/2013/03/automating-adding-to-trello-on-ios</guid><pubDate>Sat, 23 Mar 2013 17:38:14 GMT</pubDate><content:encoded><![CDATA[<p>I love using <a href="https://trello.com/">Trello </a>to organize my life and work. While
I kind of like it's iOS app, sometimes navigating to a board to add a card can
be a little time consuming.&nbsp; I want this process to be faster. I also use
Launch Center Pro to get some quick actions that I miss from Android. Mostly
around quick communication, adding events, and now, adding to Trello.&nbsp; LCP
uses x-callback-urls for inter-app communication, but Trello doesn't have any
that I could see. Inspired by Federico
<a href="https://twitter.com/viticci">Viticci</a>'s article on <a href="http://www.macstories.net/stories/automating-ios-how-pythonista-changed-my-workflow/">automating his iOS
workflow</a>, I decided to take a crack at it using pythonista. All
code shown below can be found on
<a href="https://github.com/broderboy/PythonistaTrello">GitHub</a>.</p>
<p><a href="https://timbroder.com/images/2013/02/2013-02-11-14.32.57.png"><img src="https://timbroder.com/images/2013/02/2013-02-11-14.32.57.png" alt="2013-02-1114.32.57"></a></p>
<p><a href="https://timbroder.com/images/2013/03/LCP.png"><img src="https://timbroder.com/images/2013/03/LCP.png" alt="2013-02-11
14.33.00"></a></p>
<p><a href="http://omz-software.com/pythonista/">Pythonista</a> lets you edit and run python scripts on your phone.
There are a few ways to get scripts onto your device:</p>
<ul>
<li>Edit right in the app</li>
<li>Import <a href="https://gist.github.com/omz/b0644f5ed1d94bd32805">from a gist</a></li>
<li>Use <a href="http://tapbots.com/software/pastebot/">pastebot</a>. A great app that gives you multiple clipboards on your device that will also sync with your mac. This is my preferred method.</li>
</ul>
<p>The endgame of all this: I want to be able to add a card to a specific board,
with as few taps as possible. Check out this video for what we are going to
build.  Digging into the <a href="https://trello.com/docs/api/card/index.html#post-1-cards">Trello
API</a>, we can see
that to add a card, we'll need a name for the card and the ID of the list to
add it to. We also see that we'll need a token for any of the API calls. To
get all of our lists, we'll also need to know about all of our boards.&nbsp; This
breaks our tasks out as follows:</p>
<ol>
<li>Get an App API Key</li>
<li>Get an API Token</li>
<li>Get a list of every board we heve</li>
<li>Get the IDs of every list on each of these boards</li>
<li>Add a new card to our list of choice</li>
</ol>
<p>To get an App API Key, you can generate one <a href="https://trello.com/1/appKey/generate" title="here">here</a>.&nbsp; In theory, the one I distribute with
these scripts should be ok. Get this first script into Pythonista and run it.
It will generate a permanant API token for you that you can leave in Launch
Center Pro when running these scripts.</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="python"><code><span class="line"><span style="color:#94907d">#GetTrelloToken</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> webbrowser</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">url </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> 'https://trello.com/1/authorize?key=3e2cd730f3dcccbe15eaf0d39d219a37&amp;amp;name=PythonistaTrello&amp;amp;expiration=never&amp;amp;response_type=token&amp;amp;scope=read,write'</span></span>
<span class="line"></span>
<span class="line"><span style="color:#94907d">#open web browser to get a permanant Trello API Token</span></span>
<span class="line"><span style="color:#F8F8F2">webbrowser.open(url)</span></span></code></pre>
<p><a href="https://timbroder.com/images/2013/02/2013-02-11-14.54.35.png"><img src="https://timbroder.com/images/2013/02/2013-02-11-14.54.35.png" alt="2013-02-11 14.54.35"></a></p>
<p><a href="https://timbroder.com/images/2013/02/2013-02-11-14.54.40.png"> <img src="https://timbroder.com/images/2013/02/2013-02-11-14.54.40.png" alt="2013-02-1114.54.40"></a></p>
<p>Now that we have our key and tokens,
let's get get all of our boards and the lists on each one. Run this script and
pass in your token and your email address as arguments. (In pythonista hold
down run to get the "Run with arguments dialog"). Add your arguments separated
by spaces. For me, this could look something like: <code>"EGYlyiOdggDOaPoTUxaTQobmS6gtiX timothy.broder@gmail.com"</code></p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="python"><code><span class="line"><span style="color:#94907d">#List all lists by user</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> urllib2</span></span>
<span class="line"><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> urllib</span></span>
<span class="line"><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> json</span></span>
<span class="line"><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> sys</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">if</span><span style="color:#66D9EF"> len</span><span style="color:#F8F8F2">(sys.argv) </span><span style="color:#fa4f8d">!=</span><span style="color:#AE81FF"> 3</span><span style="color:#F8F8F2">:</span></span>
<span class="line"><span style="color:#fa4f8d">    raise</span><span style="color:#66D9EF;font-style:italic"> Exception</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">"Usage: list_trello_lists.py [token] [email]"</span><span style="color:#F8F8F2">)</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">key </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> "3e2cd730f3dcccbe15eaf0d39d219a37"</span></span>
<span class="line"><span style="color:#F8F8F2">args </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> { </span><span style="color:#E6DB74">'key'</span><span style="color:#F8F8F2">: key,</span></span>
<span class="line"><span style="color:#E6DB74">    'token'</span><span style="color:#F8F8F2">: sys.argv[</span><span style="color:#AE81FF">1</span><span style="color:#F8F8F2">],</span></span>
<span class="line"><span style="color:#E6DB74">    'filter'</span><span style="color:#F8F8F2">: </span><span style="color:#E6DB74">'open'</span><span style="color:#F8F8F2">}</span></span>
<span class="line"></span>
<span class="line"><span style="color:#94907d">#build out api url</span></span>
<span class="line"><span style="color:#F8F8F2">username </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> sys.argv[</span><span style="color:#AE81FF">2</span><span style="color:#F8F8F2">]</span></span>
<span class="line"><span style="color:#F8F8F2">boards_url </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> "https://api.trello.com/1/members/</span><span style="color:#AE81FF">%s</span><span style="color:#E6DB74">/boards/?</span><span style="color:#AE81FF">%s</span><span style="color:#E6DB74">"</span><span style="color:#fa4f8d"> %</span><span style="color:#F8F8F2"> (username, urllib.urlencode(args))</span></span>
<span class="line"></span>
<span class="line"><span style="color:#94907d">#get board data from api</span></span>
<span class="line"><span style="color:#fa4f8d">try</span><span style="color:#F8F8F2">:</span></span>
<span class="line"><span style="color:#F8F8F2">    data </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> urllib2.urlopen(boards_url)</span></span>
<span class="line"><span style="color:#fa4f8d">except</span><span style="color:#F8F8F2"> urllib2.HTTPError </span><span style="color:#fa4f8d">as</span><span style="color:#F8F8F2"> inst:</span></span>
<span class="line"><span style="color:#fa4f8d">    raise</span><span style="color:#66D9EF;font-style:italic"> Exception</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">"Key or Token incorrect"</span><span style="color:#F8F8F2">)</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">boards </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> json.loads(data.read())</span></span>
<span class="line"></span>
<span class="line"><span style="color:#94907d">#loop through each board</span></span>
<span class="line"><span style="color:#fa4f8d">for</span><span style="color:#F8F8F2"> board </span><span style="color:#fa4f8d">in</span><span style="color:#F8F8F2"> boards:</span></span>
<span class="line"><span style="color:#F8F8F2">    board_id </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> board[</span><span style="color:#E6DB74">'id'</span><span style="color:#F8F8F2">]</span></span>
<span class="line"><span style="color:#F8F8F2">    lists_url </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> "https://api.trello.com/1/boards/</span><span style="color:#AE81FF">%s</span><span style="color:#E6DB74">/lists?</span><span style="color:#AE81FF">%s</span><span style="color:#E6DB74">"</span><span style="color:#fa4f8d"> %</span><span style="color:#F8F8F2"> (board_id, urllib.urlencode(args))</span></span>
<span class="line"><span style="color:#F8F8F2">    data </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> urllib2.urlopen(lists_url)</span></span>
<span class="line"><span style="color:#F8F8F2">    lists </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> json.loads(data.read())</span></span>
<span class="line"></span>
<span class="line"><span style="color:#66D9EF">    print</span><span style="color:#E6DB74"> "-- </span><span style="color:#AE81FF">%s</span><span style="color:#E6DB74">"</span><span style="color:#fa4f8d"> %</span><span style="color:#F8F8F2"> board[</span><span style="color:#E6DB74">'name'</span><span style="color:#F8F8F2">]</span></span>
<span class="line"><span style="color:#94907d">    #output each list in board</span></span>
<span class="line"><span style="color:#fa4f8d">    for</span><span style="color:#F8F8F2"> lizt </span><span style="color:#fa4f8d">in</span><span style="color:#F8F8F2"> lists:</span></span>
<span class="line"><span style="color:#66D9EF">        print</span><span style="color:#E6DB74"> "</span><span style="color:#AE81FF">\"%s\"</span><span style="color:#AE81FF"> %s</span><span style="color:#E6DB74">"</span><span style="color:#fa4f8d"> %</span><span style="color:#F8F8F2"> (lizt[</span><span style="color:#E6DB74">'name'</span><span style="color:#F8F8F2">], lizt[</span><span style="color:#E6DB74">'id'</span><span style="color:#F8F8F2">])</span></span>
<span class="line"><span style="color:#66D9EF">    print</span><span style="color:#E6DB74"> "</span><span style="color:#AE81FF">\n</span><span style="color:#E6DB74">"</span></span></code></pre>
<p>Running this, we'll get the IDs of the lists we need</p>
<p><a href="https://timbroder.com/images/2013/02/2013-02-11-15.06.39.png"><img src="https://timbroder.com/images/2013/02/2013-02-11-15.06.39.png" alt="2013-02-11 15.06.39"></a></p>
<p><a href="https://timbroder.com/images/2013/02/2013-02-11-15.07.13.png"><img src="https://timbroder.com/images/2013/02/2013-02-11-15.07.13.png" alt="2013-02-1115.07.13"></a></p>
<p>Finally, we'll need to take our key, the
id of the list, what we want our card to say, and hit the API with them.&nbsp; I
also add in a position so the cards I add this way will appear at the top of
their list. We'll pass these in as parameters:</p>
<p><code>"EGYlyiOdggDOaPoTUxaTQobmS6gtiX V12t3k6RQQ2r8X top the name of my card goes here"</code></p>
<p>Two things to point out inthis script:</p>
<ul>
<li>we put the name of the card at the end so we can just loop through all the remaining words and not have to worry about wrapping the name in quotes to deal with spaces.</li>
<li>since the end game of this is to run from Launch center pro, we want to jump back to Launch Center Pro at the end using it's x-callback-url</li>
</ul>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="python"><code><span class="line"><span style="color:#94907d">#Add card to List</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> urllib2</span></span>
<span class="line"><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> urllib</span></span>
<span class="line"><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> json</span></span>
<span class="line"><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> sys</span></span>
<span class="line"><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> webbrowser</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">arglen </span><span style="color:#fa4f8d">=</span><span style="color:#66D9EF"> len</span><span style="color:#F8F8F2">(sys.argv)</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">if</span><span style="color:#F8F8F2"> arglen </span><span style="color:#fa4f8d">&lt;</span><span style="color:#AE81FF"> 5</span><span style="color:#F8F8F2">:     </span><span style="color:#fa4f8d">raise</span><span style="color:#66D9EF;font-style:italic"> Exception</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">"Usage: list_trello_lists.py [token] [list_id] [position] [card_name]"</span><span style="color:#F8F8F2">) name </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> sys.argv[</span><span style="color:#AE81FF">4</span><span style="color:#F8F8F2">] </span><span style="color:#94907d">#take care of spaces if arglen &gt; 5:</span></span>
<span class="line"><span style="color:#fa4f8d">    for</span><span style="color:#F8F8F2"> i </span><span style="color:#fa4f8d">in</span><span style="color:#66D9EF"> range</span><span style="color:#F8F8F2">(</span><span style="color:#AE81FF">5</span><span style="color:#F8F8F2">,arglen):</span></span>
<span class="line"><span style="color:#F8F8F2">        name </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> "</span><span style="color:#AE81FF">%s</span><span style="color:#AE81FF"> %s</span><span style="color:#E6DB74">"</span><span style="color:#fa4f8d"> %</span><span style="color:#F8F8F2"> (name, sys.argv[i])</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">key </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> "3e2cd730f3dcccbe15eaf0d39d219a37"</span></span>
<span class="line"><span style="color:#F8F8F2">token </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> sys.argv[</span><span style="color:#AE81FF">1</span><span style="color:#F8F8F2">]</span></span>
<span class="line"><span style="color:#F8F8F2">args </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> { </span><span style="color:#E6DB74">'key'</span><span style="color:#F8F8F2">: key,</span></span>
<span class="line"><span style="color:#E6DB74">    'token'</span><span style="color:#F8F8F2">: sys.argv[</span><span style="color:#AE81FF">1</span><span style="color:#F8F8F2">],</span></span>
<span class="line"><span style="color:#E6DB74">    'name'</span><span style="color:#F8F8F2">: name,</span></span>
<span class="line"><span style="color:#E6DB74">    'pos'</span><span style="color:#F8F8F2">: sys.argv[</span><span style="color:#AE81FF">3</span><span style="color:#F8F8F2">],</span></span>
<span class="line"><span style="color:#E6DB74">    'idList'</span><span style="color:#F8F8F2">: sys.argv[</span><span style="color:#AE81FF">2</span><span style="color:#F8F8F2">]</span></span>
<span class="line"><span style="color:#F8F8F2">    }</span></span>
<span class="line"><span style="color:#F8F8F2">card_add_url </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> "https://api.trello.com/1/cards"</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">try</span><span style="color:#F8F8F2">:</span></span>
<span class="line"><span style="color:#F8F8F2">    data </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> urllib2.urlopen(card_add_url, urllib.urlencode(args))</span></span>
<span class="line"><span style="color:#fa4f8d">except</span><span style="color:#F8F8F2"> urllib2.HTTPError </span><span style="color:#fa4f8d">as</span><span style="color:#F8F8F2"> inst:</span></span>
<span class="line"><span style="color:#fa4f8d">    raise</span><span style="color:#66D9EF;font-style:italic"> Exception</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">"Key or Token incorrect"</span><span style="color:#F8F8F2">)</span></span>
<span class="line"></span>
<span class="line"><span style="color:#94907d">#jump back to Launch Center Pro</span></span>
<span class="line"><span style="color:#F8F8F2">webbrowser.open(</span><span style="color:#E6DB74">"launchpro:"</span><span style="color:#F8F8F2">)</span></span></code></pre>
<p>To run this in Launch Center Pro,
Add an Action &gt; Pythonista &gt; Run Script with Arguments. Put in the name
of the script, then in arguments, but everything from above except the name:
"EGYlyiOdggDOaPoTUxaTQobmS6gtiX V12t3k6RQQ2r8X top," then hit the button that
says input prompt. Now, when you run the script, Launch Center Pro will prompt
you for text, enter the name of the card and hit go.</p>
<p>Add as many of these as
you want! Just swap out the list ID.</p>
]]></content:encoded></item>
<item><title>Why Git?</title><description>A few months ago I gave a presentation at
work about why we moved from SVN to
distributed source and git. Totally forgot to put it in a post here. I also
had a lot of fun playing with reveal.js for the slides and setting up github
pages. I cover the following: What is traditional source control? How does distributed differ? Why Git? Git at Ai Check out the slides here</description><link>https://timbroder.com/2013/03/why-git/</link><guid isPermaLink="false">https://timbroder.com/2013/03/why-git</guid><pubDate>Thu, 07 Mar 2013 15:45:55 GMT</pubDate><content:encoded><![CDATA[<p>A few months ago I gave a presentation at
<a href="https://www.alexanderinteractive.com/">work</a> about why we moved from SVN to
distributed source and git. Totally forgot to put it in a post here. I also
had a lot of fun playing with <a href="http://broderboy.github.com/git-presentation/">reveal.js</a> for the slides and setting up <a href="http://pages.github.com/">github
pages</a>. I cover the following:</p>
<ul>
<li>What is traditional source control?</li>
<li>How does distributed differ?</li>
<li>Why Git?</li>
<li>Git at&nbsp;<a href="http://bit.ly/aiwork">Ai</a></li>
</ul>
<p>Check out the slides <a href="http://broderboy.github.com/git-presentation/">here</a></p>
]]></content:encoded></item>
<item><title>Adding a Delete Line hotkey in Xcode</title><description>When I switched from eclipse to sublime text 2, the first hotkey I moved over
was cmd+d to delete a line. I use it pretty heavily.  After using Xcode for a
few months it was driving me crazy that it didn't have delete line as an
option under hotkeys. Thanks to
stackoverflow for the solve. To add a new custom key
binding, we have to edit the Key Binding plist file: (close Xcode) Add this text just ABOVE the close of the  at the bottom of this file: Note that: This is inside the existing  so there is a  after…</description><link>https://timbroder.com/2013/02/adding-a-delete-line-hotkey-in-xcode/</link><guid isPermaLink="false">https://timbroder.com/2013/02/adding-a-delete-line-hotkey-in-xcode</guid><pubDate>Fri, 08 Feb 2013 15:49:20 GMT</pubDate><content:encoded><![CDATA[<p>When I switched from eclipse to sublime text 2, the first hotkey I moved over
was cmd+d to delete a line. I use it pretty heavily.&nbsp; After using Xcode for a
few months it was driving me crazy that it didn't have delete line as an
option under hotkeys. Thanks to
<a href="http://stackoverflow.com/questions/5834096/how-do-i-create-a-delete-line-keyboard-shortcut-in-xcode-4-the-xcode-3-solution/12678985#12678985">stackoverflow</a> for the solve. To add a new custom key
binding, we have to edit the Key Binding plist file: (close Xcode)</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="c"><code><span class="line"><span style="color:#F8F8F2">sudo vi </span><span style="color:#fa4f8d">/</span><span style="color:#F8F8F2">Applications</span><span style="color:#fa4f8d">/</span><span style="color:#F8F8F2">Xcode.app</span><span style="color:#fa4f8d">/</span><span style="color:#F8F8F2">Contents</span><span style="color:#fa4f8d">/</span><span style="color:#F8F8F2">Frameworks</span><span style="color:#fa4f8d">/</span><span style="color:#F8F8F2">IDEKit.framework</span><span style="color:#fa4f8d">/</span><span style="color:#F8F8F2">Resources</span><span style="color:#fa4f8d">/</span><span style="color:#F8F8F2">IDETextKeyBindingSet.plist</span></span></code></pre>
<p>Add this text just ABOVE the close of the <code>&lt;dict&gt;</code> at the bottom of this file:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="xml"><code><span class="line"><span style="color:#F8F8F2">&lt;</span><span style="color:#fa4f8d">key</span><span style="color:#F8F8F2">&gt;Custom&lt;/</span><span style="color:#fa4f8d">key</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">    &lt;</span><span style="color:#fa4f8d">dict</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">      &lt;</span><span style="color:#fa4f8d">key</span><span style="color:#F8F8F2">&gt;Delete Current Line In One Hit&lt;/</span><span style="color:#fa4f8d">key</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">      &lt;</span><span style="color:#fa4f8d">string</span><span style="color:#F8F8F2">&gt;moveToEndOfLine:, deleteToBeginningOfLine:, deleteToEndOfParagraph:&lt;/</span><span style="color:#fa4f8d">string</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">    &lt;/</span><span style="color:#fa4f8d">dict</span><span style="color:#F8F8F2">&gt;</span></span></code></pre>
<p>Note that:</p>
<ul>
<li>This is <em>inside</em> the existing <code>&lt;dict&gt;</code> so there is a <code>&lt;/dict&gt;&lt;/plist&gt;</code> after this</li>
<li>This associates the named action "Delete Current Line In One Hit" to the three key actions in the string. I played around with different options here to get the right combination. For instance, if you try moveToBeginningOfLine, deleteToEndOfLine instead of vice versa, then using it on empty lines will delete the line <em>and</em> the entire next line. Which is unpleasant</li>
</ul>
<p>Save this and open XCode</p>
<ol>
<li>Open XCode Preferences</li>
<li>Select Key Bindings</li>
<li>Click on All</li>
<li>In the SEarch box type "Delete" and search for "Delete Current Line in One Hit"</li>
<li>Add your new binding.</li>
</ol>
<p>I use cmd+d, so I had to map duplicate to something else first</p>
]]></content:encoded></item>
<item><title>Citrix CCA Exam for Windows 2003 Server and XenApp</title><description>Through the successful completion of the Citrix CCA XenApp Windows Server 2003
exam (1Y0-A23 exam) you can
achieve validation of your administration skills with the achievement of a
Citrix Certified Administrator (CCA) certification. This exam is the only
requirement for achieving the certification, which is a valuable credential to
obtain in the IT industry. As more and more enterprises across all sectors or
the market utilize Citrix platforms, the XenApp 1Y0-A23 exam is a positive
step in your…</description><link>https://timbroder.com/2013/01/citrix-cca-exam-for-windows-2003-server-and-xenapp/</link><guid isPermaLink="false">https://timbroder.com/2013/01/citrix-cca-exam-for-windows-2003-server-and-xenapp</guid><pubDate>Sun, 20 Jan 2013 23:26:19 GMT</pubDate><content:encoded><![CDATA[<p>Through the successful completion of the Citrix CCA XenApp Windows Server 2003
exam (<a href="http://www.testslive.com/citrix-1y0-a23.html">1Y0-A23</a> exam) you can
achieve validation of your administration skills with the achievement of a
Citrix Certified Administrator (CCA) certification. This exam is the only
requirement for achieving the certification, which is a valuable credential to
obtain in the IT industry. As more and more enterprises across all sectors or
the market utilize Citrix platforms, the XenApp 1Y0-A23 exam is a positive
step in your professional development.   Whether you work for a single
employer, contract your services to corporate clients, or are a self employed
IT professional serving a variety of customers, formally documenting your
unique skills and abilities is essential. Passing the Citrix 1Y0-A23 exam is
certainly a step in the right direction.   The Citrix 1Y0-A23 exam features 66
questions in ten primary subject areas, including everything from
implementation and configuration to troubleshooting and maintenance. A passing
score of 60 percent or higher is required for success, and you’ll need to
ensure you spend plenty of time and energy preparing for your exam.   Citrix
offers formal training in the discipline through online, self paced and
instructor led training. Onsite, in person training is also available in some
areas. Courses include labs that will allow you to hone your skills and
knowledge through hands on application. Additionally, you can utilize other
resources available through <a href="http://www.testslive.com/">online prep services</a>
such as TestsLive.com, which include tutorials and full length, detailed
practice exams. Practice tests are among the most valuable of exam prep
activities as they allow you to measure your knowledge attainment and testing
readiness prior to scheduling your 1Y0-A23 exam.</p>
]]></content:encoded></item>
<item><title>How to Remove or Change the way Wordpress Links to Images in Posts</title><description>By default, WordPress will link directly to an image in the category or post view.  In a project I was working on today I wanted to change that. On the category view I wanted the image just to link to the post, and in the post, I didn’t want a link at all. Useful trick I found below:</description><link>https://timbroder.com/2012/12/how-to-remove-or-change-the-way-wordpress-links-to-images-in-posts/</link><guid isPermaLink="false">https://timbroder.com/2012/12/how-to-remove-or-change-the-way-wordpress-links-to-images-in-posts</guid><pubDate>Mon, 24 Dec 2012 20:34:43 GMT</pubDate><content:encoded><![CDATA[<p>By default, WordPress will link directly to an image in the category or post view.  In a project I was working on today I wanted to change that. On the category view I wanted the image just to link to the post, and in the post, I didn’t want a link at all. Useful trick I found below:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="php"><code><span class="line"><span style="color:#66D9EF;font-style:italic">function</span><span style="color:#A6E22E"> change_image_permalink</span><span style="color:#F8F8F2">($content){</span></span>
<span class="line"><span style="color:#F8F8F2">	$format </span><span style="color:#fa4f8d">=</span><span style="color:#A6E22E"> get_post_format</span><span style="color:#F8F8F2">();</span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#94907d">	//category listing page. link image to post</span></span>
<span class="line"><span style="color:#fa4f8d">	if</span><span style="color:#F8F8F2"> (</span><span style="color:#A6E22E">is_single</span><span style="color:#F8F8F2">() </span><span style="color:#fa4f8d">===</span><span style="color:#AE81FF"> FALSE</span><span style="color:#fa4f8d"> AND</span><span style="color:#F8F8F2"> $format </span><span style="color:#fa4f8d">==</span><span style="color:#E6DB74"> 'image'</span><span style="color:#F8F8F2">){</span></span>
<span class="line"><span style="color:#F8F8F2">		$content </span><span style="color:#fa4f8d">=</span></span>
<span class="line"><span style="color:#66D9EF">		preg_replace</span><span style="color:#F8F8F2">(</span></span>
<span class="line"><span style="color:#66D9EF">			array</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'{&lt;a(.*?)(wp-att|wp-content/uploads)[^&gt;]*&gt;&lt;img}'</span><span style="color:#F8F8F2">,</span><span style="color:#E6DB74">'{ wp-image-[0-9]*&amp;quot; /&gt;&lt;/a&gt;}'</span><span style="color:#F8F8F2">),</span></span>
<span class="line"><span style="color:#66D9EF">			array</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'&lt;a href=&amp;quot;'</span><span style="color:#fa4f8d"> .</span><span style="color:#A6E22E"> get_permalink</span><span style="color:#F8F8F2">() </span><span style="color:#fa4f8d">.</span><span style="color:#E6DB74"> '&amp;quot;&gt;&lt;img'</span><span style="color:#F8F8F2">,</span><span style="color:#E6DB74">'&amp;quot; /&gt;&lt;/a&gt;'</span><span style="color:#F8F8F2">),</span></span>
<span class="line"><span style="color:#F8F8F2">			$content</span></span>
<span class="line"><span style="color:#F8F8F2">		);</span></span>
<span class="line"><span style="color:#F8F8F2">	}</span></span>
<span class="line"></span>
<span class="line"><span style="color:#94907d">	//post page. remove link</span></span>
<span class="line"><span style="color:#fa4f8d">	else</span><span style="color:#fa4f8d"> if</span><span style="color:#F8F8F2"> ($format </span><span style="color:#fa4f8d">==</span><span style="color:#E6DB74"> 'image'</span><span style="color:#F8F8F2">){</span></span>
<span class="line"><span style="color:#F8F8F2">		$content </span><span style="color:#fa4f8d">=</span></span>
<span class="line"><span style="color:#66D9EF">			preg_replace</span><span style="color:#F8F8F2">(</span></span>
<span class="line"><span style="color:#66D9EF">				array</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'{&lt;a(.*?)(wp-att|wp-content/uploads)[^&gt;]*&gt;&lt;img}'</span><span style="color:#F8F8F2">,</span><span style="color:#E6DB74">'{ wp-image-[0-9]*&amp;quot; /&gt;&lt;/a&gt;}'</span><span style="color:#F8F8F2">),</span></span>
<span class="line"><span style="color:#66D9EF">				array</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'&lt;img'</span><span style="color:#F8F8F2">,</span><span style="color:#E6DB74">'&amp;quot; /&gt;'</span><span style="color:#F8F8F2">),</span></span>
<span class="line"><span style="color:#F8F8F2">				$content</span></span>
<span class="line"><span style="color:#F8F8F2">			);</span></span>
<span class="line"><span style="color:#F8F8F2">	}</span></span>
<span class="line"><span style="color:#F8F8F2">	</span></span>
<span class="line"><span style="color:#fa4f8d">	return</span><span style="color:#F8F8F2"> $content;</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span>
<span class="line"><span style="color:#A6E22E">add_filter</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'the_content'</span><span style="color:#F8F8F2">, </span><span style="color:#E6DB74">'change_image_permalink'</span><span style="color:#F8F8F2">);</span></span></code></pre>
]]></content:encoded></item>
<item><title>Getting Started with Varnish Edge Side Includes and Wordpress</title><description>There are a lot of cases on blogs where once you write the post, the cache for
that page doesn't really have to be updated all that often.  Comments can be
powered by Disqus so you don't need to bust the cache every time someone
comments. If you make a change to a post, it's page and any pages that display
it (home, category, etc) should be updated automatically anyway; wp-
varnish is the best plugin for that
btw. Now, the sidebar. That's where it can get tricky.  On a lot of the
content sites I work on, we…</description><link>https://timbroder.com/2012/12/getting-started-with-varnish-edge-side-includes-and-wordpress/</link><guid isPermaLink="false">https://timbroder.com/2012/12/getting-started-with-varnish-edge-side-includes-and-wordpress</guid><pubDate>Tue, 18 Dec 2012 20:20:35 GMT</pubDate><content:encoded><![CDATA[<p>There are a lot of cases on blogs where once you write the post, the cache for
that page doesn't really have to be updated all that often. &nbsp;Comments can be
powered by Disqus so you don't need to bust the cache every time someone
comments. If you make a change to a post, it's page and any pages that display
it (home, category, etc) should be updated automatically anyway; <a href="https://github.com/pkhamre/wp-varnish">wp-
varnish</a> is the best plugin for that
btw.</p>
<p>Now, the sidebar. That's where it can get tricky. &nbsp;On a lot of the
content sites I work on, we can cache most pages for days, the backend doesn't
need to keep generating them, the content just lives in varnish. Except for
the sidebar. &nbsp;This could have things like "Popular Posts" or "New Posts".
Things that are going to change outside of the context of the post you are
currently looking at.</p>
<p>This is where <a href="http://en.wikipedia.org/wiki/Edge_Side_Includes">Edge Side
Includes</a>&nbsp;(ESI) comes in.
For a while, <a href="http://www.akamai.com/html/support/esi.html">Akamai</a> was the only way to get this behavior, and they are quite expensive. Don't get me
wrong, they are amazing, but you have to be getting serious traffic to need them. <a href="https://www.varnish-cache.org/">Varnish</a> is one of the best caching
solutions you can use, especially for Wordpress. If you are unsure where to start with Varnish and wordpress, <a href="http://www.ewanleith.com/blog/900/10-million-hits-a-day-with-wordpress-using-a-15-server">this
article</a> is a great starting point. I'v also bookmarked some other articles <a href="https://pinboard.in/u:broderboy/t:varnish/t:wordpress">here</a>.</p>
<p>ESI was
introduced in 2.1, and really fleshed out in 3.0 and can be thought of as
fragment caching for Varnish. It's really easy to fix the example I gave
above: we want to be able to cache most of the content for 24 hours but
refresh just the sidebar every 10 mins. &nbsp;Varnish will do this processing for
us, keeping the rest of the page cached, and splicing in the sidebar (and
having your webserver process just the sidebar) when it needs to. Most of what
I'm going to do below is in the ESI <a href="https://www.varnish-cache.org/docs/3.0/tutorial/esi.html">documentation</a>.</p>
<p>We're going to assume that our theme
has a dynamic sidebar called "Sidebar" and that there are cases where we want
ESI to be active (production) and some where wordpress should just behave
normally (dev). &nbsp;This is what we have before we start thinking about Varnish:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="php"><code><span class="line"><span style="color:#fa4f8d">&lt;</span><span style="color:#AE81FF">div</span><span style="color:#66D9EF;font-style:italic"> class</span><span style="color:#fa4f8d">=&amp;</span><span style="color:#AE81FF">quot</span><span style="color:#F8F8F2">;</span><span style="color:#AE81FF">five</span><span style="color:#AE81FF"> columns</span><span style="color:#fa4f8d">&amp;</span><span style="color:#AE81FF">quot</span><span style="color:#F8F8F2">;</span><span style="color:#fa4f8d">&gt;</span></span>
<span class="line"><span style="color:#fa4f8d">&lt;?</span><span style="color:#AE81FF">php</span></span>
<span class="line"><span style="color:#fa4f8d">	if</span><span style="color:#F8F8F2"> ( </span><span style="color:#fa4f8d">!</span><span style="color:#66D9EF">function_exists</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'dynamic_sidebar'</span><span style="color:#F8F8F2">) </span><span style="color:#fa4f8d">||</span><span style="color:#fa4f8d"> !</span><span style="color:#A6E22E">dynamic_sidebar</span><span style="color:#F8F8F2">(</span><span style="color:#fa4f8d">&amp;</span><span style="color:#AE81FF">quot</span><span style="color:#F8F8F2">;</span><span style="color:#AE81FF">Sidebar</span><span style="color:#fa4f8d">&amp;</span><span style="color:#AE81FF">quot</span><span style="color:#F8F8F2">;) ) </span><span style="color:#fa4f8d">:</span></span>
<span class="line"><span style="color:#fa4f8d">	endif</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#fa4f8d">?&gt;</span></span>
<span class="line"><span style="color:#fa4f8d">&lt;/</span><span style="color:#AE81FF">div</span><span style="color:#fa4f8d">&gt;</span></span></code></pre>
<p>The two varnish tags we are going to use are an esi comment, and an esi:remove tag. These are the switch that will process the page properly whether you have ESI or not. esi:remove will ignore everything between them if ESI is enabled. This is where we put our “normal processing” code. If ESI is not active, this code will run as normal. Inside the esi comment we put the code that we want to run if ESI is enabled. If it is not, the code will be ignored.</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="php"><code><span class="line"><span style="color:#fa4f8d">&lt;</span><span style="color:#AE81FF">div</span><span style="color:#66D9EF;font-style:italic"> class</span><span style="color:#fa4f8d">=&amp;</span><span style="color:#AE81FF">quot</span><span style="color:#F8F8F2">;</span><span style="color:#AE81FF">five</span><span style="color:#AE81FF"> columns</span><span style="color:#fa4f8d">&amp;</span><span style="color:#AE81FF">quot</span><span style="color:#F8F8F2">;</span><span style="color:#fa4f8d">&gt;</span></span>
<span class="line"><span style="color:#fa4f8d">	&lt;</span><span style="color:#AE81FF">esi</span><span style="color:#F8F8F2">:</span><span style="color:#AE81FF">remove</span><span style="color:#fa4f8d">&gt;</span></span>
<span class="line"><span style="color:#fa4f8d">		&lt;?</span><span style="color:#AE81FF">php</span></span>
<span class="line"><span style="color:#fa4f8d">		if</span><span style="color:#F8F8F2"> ( </span><span style="color:#fa4f8d">!</span><span style="color:#66D9EF">function_exists</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'dynamic_sidebar'</span><span style="color:#F8F8F2">) </span><span style="color:#fa4f8d">||</span><span style="color:#fa4f8d"> !</span><span style="color:#A6E22E">dynamic_sidebar</span><span style="color:#F8F8F2">(</span><span style="color:#fa4f8d">&amp;</span><span style="color:#AE81FF">quot</span><span style="color:#F8F8F2">;</span><span style="color:#AE81FF">Sidebar</span><span style="color:#fa4f8d">&amp;</span><span style="color:#AE81FF">quot</span><span style="color:#F8F8F2">;) ) </span><span style="color:#fa4f8d">:</span></span>
<span class="line"><span style="color:#fa4f8d">		endif</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#fa4f8d">		?&gt;</span></span>
<span class="line"><span style="color:#fa4f8d">	&lt;/</span><span style="color:#AE81FF">esi</span><span style="color:#fa4f8d">:</span><span style="color:#AE81FF">remove</span><span style="color:#fa4f8d">&gt;</span></span>
<span class="line"><span style="color:#fa4f8d">	&lt;!--</span><span style="color:#AE81FF">esi</span></span>
<span class="line"><span style="color:#fa4f8d">		&lt;</span><span style="color:#AE81FF">esi</span><span style="color:#F8F8F2">:</span><span style="color:#fa4f8d">include</span><span style="color:#AE81FF"> src</span><span style="color:#fa4f8d">=&amp;</span><span style="color:#AE81FF">quot</span><span style="color:#F8F8F2">;</span><span style="color:#fa4f8d">/</span><span style="color:#AE81FF">wp</span><span style="color:#fa4f8d">-</span><span style="color:#AE81FF">content</span><span style="color:#fa4f8d">/</span><span style="color:#AE81FF">plugins</span><span style="color:#fa4f8d">/</span><span style="color:#AE81FF">myplugin</span><span style="color:#fa4f8d">/</span><span style="color:#AE81FF">esihandler</span><span style="color:#fa4f8d">.</span><span style="color:#AE81FF">php</span><span style="color:#fa4f8d">&amp;</span><span style="color:#AE81FF">quot</span><span style="color:#F8F8F2">;</span><span style="color:#fa4f8d">/&gt;</span></span>
<span class="line"><span style="color:#fa4f8d">	--&gt;</span></span>
<span class="line"><span style="color:#fa4f8d">&lt;/</span><span style="color:#AE81FF">div</span><span style="color:#fa4f8d">&gt;</span></span></code></pre>
<p>Now our sidebar display is ESI ready, but we need to give Varnish an endpoint to hit so it can generate the fragment of the sidebar. So lets create esihandler.php:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="php"><code><span class="line"><span style="color:#fa4f8d">&lt;?</span><span style="color:#AE81FF">php</span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#F8F8F2">$cwd </span><span style="color:#fa4f8d">=</span><span style="color:#66D9EF"> getcwd</span><span style="color:#F8F8F2">();</span></span>
<span class="line"><span style="color:#F8F8F2">$path </span><span style="color:#fa4f8d">=</span><span style="color:#66D9EF"> substr</span><span style="color:#F8F8F2">($cwd, </span><span style="color:#AE81FF">0</span><span style="color:#F8F8F2">, </span><span style="color:#66D9EF">strpos</span><span style="color:#F8F8F2">($cwd, </span><span style="color:#E6DB74">'wp-content/'</span><span style="color:#F8F8F2">));</span></span>
<span class="line"><span style="color:#fa4f8d">require</span><span style="color:#F8F8F2"> $path </span><span style="color:#fa4f8d">.</span><span style="color:#E6DB74"> 'wp-blog-header.php'</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#fa4f8d">if</span><span style="color:#F8F8F2"> ( </span><span style="color:#fa4f8d">!</span><span style="color:#66D9EF">function_exists</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'dynamic_sidebar'</span><span style="color:#F8F8F2">) </span><span style="color:#fa4f8d">||</span><span style="color:#fa4f8d"> !</span><span style="color:#A6E22E">dynamic_sidebar</span><span style="color:#F8F8F2">(</span><span style="color:#fa4f8d">&amp;</span><span style="color:#AE81FF">quot</span><span style="color:#F8F8F2">;</span><span style="color:#AE81FF">Sidebar</span><span style="color:#fa4f8d">&amp;</span><span style="color:#AE81FF">quot</span><span style="color:#F8F8F2">;) ) </span><span style="color:#fa4f8d">:</span></span>
<span class="line"><span style="color:#fa4f8d">endif</span><span style="color:#F8F8F2">;</span></span></code></pre>
<p>Lastly, we’ll have to tell Varnish to cache for different timeframes. A full Varnish config is out of the scope of this post, see the links above for more info. What we need is in the sub vcl_fetch call. Add this at the top:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="c"><code><span class="line"><span style="color:#fa4f8d">if</span><span style="color:#F8F8F2"> (req.url </span><span style="color:#fa4f8d">~</span><span style="color:#fa4f8d"> &amp;</span><span style="color:#F8F8F2">quot;esihandler.php</span><span style="color:#fa4f8d">&amp;</span><span style="color:#F8F8F2">quot;) {</span></span>
<span class="line"><span style="color:#F8F8F2">    set beresp.ttl </span><span style="color:#fa4f8d">=</span><span style="color:#f55b5b"> 10m</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span>
<span class="line"><span style="color:#fa4f8d">else</span><span style="color:#F8F8F2"> {</span></span>
<span class="line"><span style="color:#F8F8F2">    set beresp.do_esi </span><span style="color:#fa4f8d">=</span><span style="color:#AE81FF"> true</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#F8F8F2">    set beresp.ttl </span><span style="color:#fa4f8d">=</span><span style="color:#f55b5b"> 1440m</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span></code></pre>
<p>And you should be all set. When developing you can use smaller timeframes (10 seconds, and 1min). Drop some logging in to see it in action.</p>
<p>Let me know of any questions in the comments</p>
]]></content:encoded></item>
<item><title>Generating an InlineModelAdmin Form on the fly in Django</title><description>I'm adding drag/drop uploading to the django admin for one of our open source
projects called Stager. A blog post
about that will follow, it's not screen-shot ready yet.  While doing this I
knew we needed a pretty seamless transition after the upload finished, and
that we would have to refresh the inline.  I didn't want a full page refresh,
so let's ajax it in. For these examples just assume that we have a parent CompAdmin which has an model of Comp and an inline called CompSlideInline.  We store the…</description><link>https://timbroder.com/2012/09/generating-an-inlineadmin-form-on-the-fly-in-django/</link><guid isPermaLink="false">https://timbroder.com/2012/09/generating-an-inlineadmin-form-on-the-fly-in-django</guid><pubDate>Tue, 11 Sep 2012 19:17:52 GMT</pubDate><content:encoded><![CDATA[<p>I'm adding drag/drop uploading to the django admin for one of our open source
projects called <a href="https://github.com/aiaio/ai-stager">Stager</a>. A blog post
about that will follow, it's not screen-shot ready yet.&nbsp; While doing this I
knew we needed a pretty seamless transition after the upload finished, and
that we would have to refresh the inline.&nbsp; I didn't want a full page refresh,
so let's ajax it in.</p>
<p>For these examples just assume that we have a parent CompAdmin which has an model of Comp and an inline called CompSlideInline.&nbsp; We store the instance of the Comp in comp.</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="python"><code><span class="line"><span style="color:#fa4f8d">from</span><span style="color:#F8F8F2"> django.template </span><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> loader, Context</span></span>
<span class="line"><span style="color:#fa4f8d">from</span><span style="color:#F8F8F2"> django.contrib.admin </span><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> helpers</span></span>
<span class="line"><span style="color:#fa4f8d">from</span><span style="color:#F8F8F2"> django.db </span><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> transaction</span></span>
<span class="line"><span style="color:#fa4f8d">from</span><span style="color:#F8F8F2"> django.contrib </span><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> admin</span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#F8F8F2">comp </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> Comp.objects.get(</span><span style="color:#FD971F;font-style:italic">id</span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2">comp_id)</span></span>
<span class="line"><span style="color:#94907d">#get the current site</span></span>
<span class="line"><span style="color:#F8F8F2">admin_site </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> admin.site</span></span>
<span class="line"><span style="color:#F8F8F2">compAdmin </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> CompAdmin(Comp, admin_site)</span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#94907d">#get all possible inlines for the parent Admin</span></span>
<span class="line"><span style="color:#F8F8F2">inline_instances </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> compAdmin.get_inline_instances(request)</span></span>
<span class="line"><span style="color:#F8F8F2">prefixes </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> {}</span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#fa4f8d">for</span><span style="color:#F8F8F2"> FormSet, inline </span><span style="color:#fa4f8d">in</span><span style="color:#66D9EF"> zip</span><span style="color:#F8F8F2">(compAdmin.get_formsets(request, comp), inline_instances):</span></span>
<span class="line"><span style="color:#94907d">    #get the inline of interest and generate it's formset</span></span>
<span class="line"><span style="color:#fa4f8d">    if</span><span style="color:#66D9EF"> isinstance</span><span style="color:#F8F8F2">(inline, CompSlideInline):</span></span>
<span class="line"><span style="color:#F8F8F2">        prefix </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> FormSet.get_default_prefix()</span></span>
<span class="line"><span style="color:#F8F8F2">        prefixes[prefix] </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> prefixes.get(prefix, </span><span style="color:#AE81FF">0</span><span style="color:#F8F8F2">) </span><span style="color:#fa4f8d">+</span><span style="color:#AE81FF"> 1</span></span>
<span class="line"><span style="color:#fa4f8d">        if</span><span style="color:#F8F8F2"> prefixes[prefix] </span><span style="color:#fa4f8d">!=</span><span style="color:#AE81FF"> 1</span><span style="color:#fa4f8d"> or</span><span style="color:#fa4f8d"> not</span><span style="color:#F8F8F2"> prefix:</span></span>
<span class="line"><span style="color:#F8F8F2">            prefix </span><span style="color:#fa4f8d">=</span><span style="color:#fa4f8d"> &amp;</span><span style="color:#F8F8F2">quot;</span><span style="color:#fa4f8d">%</span><span style="color:#F8F8F2">s</span><span style="color:#fa4f8d">-%</span><span style="color:#F8F8F2">s</span><span style="color:#fa4f8d">&amp;</span><span style="color:#F8F8F2">quot; </span><span style="color:#fa4f8d">%</span><span style="color:#F8F8F2"> (prefix, prefixes[prefix])</span></span>
<span class="line"><span style="color:#F8F8F2">        formset </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> FormSet(</span><span style="color:#FD971F;font-style:italic">instance</span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2">comp, </span><span style="color:#FD971F;font-style:italic">prefix</span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2">prefix, </span><span style="color:#FD971F;font-style:italic">queryset</span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2">inline.queryset(request))</span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#94907d">#get possible fieldsets, readonly, and prepopulated information for the parent Admin</span></span>
<span class="line"><span style="color:#F8F8F2">fieldsets </span><span style="color:#fa4f8d">=</span><span style="color:#66D9EF;font-style:italic"> list</span><span style="color:#F8F8F2">(inline.get_fieldsets(request, comp))</span></span>
<span class="line"><span style="color:#F8F8F2">readonly </span><span style="color:#fa4f8d">=</span><span style="color:#66D9EF;font-style:italic"> list</span><span style="color:#F8F8F2">(inline.get_readonly_fields(request, comp))</span></span>
<span class="line"><span style="color:#F8F8F2">prepopulated </span><span style="color:#fa4f8d">=</span><span style="color:#66D9EF;font-style:italic"> dict</span><span style="color:#F8F8F2">(inline.get_prepopulated_fields(request, comp))</span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#94907d">#generate the inline formset</span></span>
<span class="line"><span style="color:#F8F8F2">inline_admin_formset </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> helpers.InlineAdminFormSet(inline, formset,</span></span>
<span class="line"><span style="color:#F8F8F2">            fieldsets, prepopulated, readonly, </span><span style="color:#FD971F;font-style:italic">model_admin</span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2">compAdmin)</span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#94907d">#render the template</span></span>
<span class="line"><span style="color:#F8F8F2">t </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> loader.get_template(</span><span style="color:#E6DB74">'tabular.html'</span><span style="color:#F8F8F2">)</span></span>
<span class="line"><span style="color:#F8F8F2">c </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> Context({ </span><span style="color:#E6DB74">'inline_admin_formset'</span><span style="color:#F8F8F2">: inline_admin_formset })</span></span>
<span class="line"><span style="color:#F8F8F2">rendered </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> t.render(c)</span></span></code></pre>
]]></content:encoded></item>
<item><title>iOS: Multiple Lines of Text in a UITableViewCell</title><description>Have you ever wanted to display multiple lines of text in your Table Cell?
It's easy to do in your UITableViewController.  First, let's define the type of font we're going to use. We'll need this in 2 places: Next, calculate the height of the cell by using the height of a Label: Finally, we'll set some attributes on the cell itself to change the height and
tell the text to wrap:</description><link>https://timbroder.com/2012/09/ios-multiple-lines-of-text-in-a-uitableviewcell/</link><guid isPermaLink="false">https://timbroder.com/2012/09/ios-multiple-lines-of-text-in-a-uitableviewcell</guid><pubDate>Mon, 10 Sep 2012 23:32:42 GMT</pubDate><content:encoded><![CDATA[<p>Have you ever wanted to display multiple lines of text in your Table Cell?
It's easy to do in your&nbsp;UITableViewController.</p>
<p><img src="https://timbroder.com/images/2012/09/2012-09-10_1921.png" alt=""></p>
<p>First, let's define the type of font we're going to use. We'll need this in 2 places:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="c"><code><span class="line"><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">)fontForCell { </span><span style="color:#fa4f8d">return</span><span style="color:#F8F8F2"> [UIFont boldSystemFontOfSize:</span><span style="color:#AE81FF">18.0</span><span style="color:#F8F8F2">]; } [</span><span style="color:#fa4f8d">/</span><span style="color:#F8F8F2">c] </span></span></code></pre>
<p>Next, calculate the height of the cell by using the height of a Label:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="c"><code><span class="line"><span style="color:#fa4f8d">-</span><span style="color:#F8F8F2"> (CGFloat)tableView:(UITableView </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">)tableView heightForRowAtIndexPath:(NSIndexPath </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">)indexPath</span></span>
<span class="line"><span style="color:#F8F8F2">{</span></span>
<span class="line"><span style="color:#F8F8F2">    NSString </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">cellText </span><span style="color:#fa4f8d">=</span><span style="color:#94907d"> /* get your text */</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#F8F8F2">    UIFont </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">cellFont </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> [self fontForCell];</span></span>
<span class="line"><span style="color:#F8F8F2">    CGSize constraintSize </span><span style="color:#fa4f8d">=</span><span style="color:#A6E22E"> CGSizeMake</span><span style="color:#F8F8F2">(</span><span style="color:#AE81FF">280.0</span><span style="color:#fa4f8d">f</span><span style="color:#F8F8F2">, MAXFLOAT);</span></span>
<span class="line"><span style="color:#F8F8F2">    CGSize labelSize </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> [cellText sizeWithFont:cellFont constrainedToSize:constraintSize lineBreakMode:UILineBreakModeWordWrap];</span></span>
<span class="line"><span style="color:#F8F8F2">    </span></span>
<span class="line"><span style="color:#fa4f8d">    return</span><span style="color:#F8F8F2"> labelSize.height </span><span style="color:#fa4f8d">+</span><span style="color:#AE81FF"> 20</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span></code></pre>
<p>Finally, we'll set some attributes on the cell itself to change the height and
tell the text to wrap:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="c"><code><span class="line"><span style="color:#fa4f8d">-</span><span style="color:#F8F8F2"> (UITableViewCell </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">)tableView:(UITableView </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">)tableView cellForRowAtIndexPath:(NSIndexPath </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">)indexPath</span></span>
<span class="line"><span style="color:#F8F8F2">{</span></span>
<span class="line"><span style="color:#fa4f8d">    static</span><span style="color:#F8F8F2"> NSString </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">CellIdentifier </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> @</span><span style="color:#fa4f8d">&amp;</span><span style="color:#F8F8F2">quot;MyIdentifier</span><span style="color:#fa4f8d">&amp;</span><span style="color:#F8F8F2">quot;;</span></span>
<span class="line"><span style="color:#F8F8F2">    UITableViewCell </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">cell </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> [tableView dequeueReusableCellWithIdentifier:CellIdentifier];</span></span>
<span class="line"><span style="color:#F8F8F2">    </span></span>
<span class="line"><span style="color:#fa4f8d">    if</span><span style="color:#F8F8F2"> (</span><span style="color:#fa4f8d">!</span><span style="color:#F8F8F2">cell) {</span></span>
<span class="line"><span style="color:#F8F8F2">        cell </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier];</span></span>
<span class="line"><span style="color:#F8F8F2">        cell.textLabel.lineBreakMode </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> UILineBreakModeWordWrap;</span></span>
<span class="line"><span style="color:#F8F8F2">        cell.textLabel.numberOfLines </span><span style="color:#fa4f8d">=</span><span style="color:#AE81FF"> 0</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#F8F8F2">        cell.textLabel.font </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> [self fontForCell];</span></span>
<span class="line"><span style="color:#F8F8F2">    }</span></span>
<span class="line"><span style="color:#F8F8F2">    [cell.textLabel setText:</span><span style="color:#94907d">/* get your text */</span><span style="color:#F8F8F2">;];</span></span>
<span class="line"><span style="color:#F8F8F2">    cell.accessoryType </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> UITableViewCellAccessoryDisclosureIndicator;</span></span>
<span class="line"><span style="color:#fa4f8d">    return</span><span style="color:#F8F8F2"> cell;</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span></code></pre>
]]></content:encoded></item>
<item><title>How to tell if it's HTML5</title><description></description><link>https://timbroder.com/2012/09/how-to-tell-if-its-html5/</link><guid isPermaLink="false">https://timbroder.com/2012/09/how-to-tell-if-its-html5</guid><pubDate>Thu, 06 Sep 2012 14:44:32 GMT</pubDate><content:encoded><![CDATA[<p><img src="https://timbroder.com/images/2012/09/jxBZG.jpg" alt=""></p>
]]></content:encoded></item>
<item><title>The top 10 best Wordpress plugins to get up and running with everything you need.</title><description>These are the top 10 best wordpress plugins I use to quickly get a wordpress
blog up and running with everything I need.  I used these last week to get a
new site going in about 2 hours.  Leave some time for analytics to catch up
and you are all set. Google Analyticator harnesses the power of Google Analytics for your blog. See where traffic is coming from, where its going, as well as basic hit tracking. The plugin also comes with an easily customizable widget that can be used to display specific…</description><link>https://timbroder.com/2012/09/the-top-10-best-wordpress-plugins-to-get-up-and-running/</link><guid isPermaLink="false">https://timbroder.com/2012/09/the-top-10-best-wordpress-plugins-to-get-up-and-running</guid><pubDate>Mon, 03 Sep 2012 00:39:24 GMT</pubDate><content:encoded><![CDATA[<p>These are the top 10 best wordpress plugins I use to quickly get a wordpress
blog up and running with everything I need. &nbsp;I used these last week to get a
new site going in about 2 hours. &nbsp;Leave some time for analytics to catch up
and you are all set.</p>
<ul>
<li><a href="http://ronaldheft.com/code/analyticator/">Google Analyticator</a>&nbsp;harnesses the power of Google Analytics for your blog. See where traffic is coming from, where its going, as well as basic hit tracking. The plugin also comes with an easily customizable widget that can be used to display specific information that is gathered by Google Analytics using the&nbsp;Google Analytics API. It supports all of the tracking mechanisms that Google Analytics supports such as external link tracking, download tracking, tracking without counting administrative users, and any other advanced tracking the user wishes to add. Google Analyticator works with a majority of themes as long as these themes provide the proper plugin hooks.Features:
<ul>
<li>Supports standard Google Analytics tracking via the latest async tracking methods (faster and more reliable than the older ga.js tracking method)</li>
<li>Includes an admin dashboard widget that displays a graph of the last 30 days of visitors, a summary of site usage, the top pages, the top referrers, and the top searches</li>
<li>Provides a widget that can be used to display visitor stat information on the front-end</li>
<li>Supports external link tracking of all links on the page, including links not managed by WordPress</li>
<li>Supports download link tracking</li>
<li>Supports event tracking with outbound links / downloads instead of the old pageview tracking method</li>
<li>Supports site speed tracking</li>
<li>Supports hiding Administrator visits without affecting Google Analytics’ site overlay feature</li>
<li>Supports any advanced tracking code Google provides</li>
<li>Installs easily, only requiring the user know their UID</li>
<li>Provides complete control over options; disable any feature if needed</li>
<li>Supports&nbsp;localization&nbsp;– get the settings page in your language of choice</li>
</ul>
</li>
<li>&nbsp;<a href="http://flagrantdisregard.com/feedburner/">FD Feedburner Plugin for WordPress</a> lets you track subscribers to your feed by&nbsp;redirecting the main feed and optionally the comments feed to Feedburner.com. It does this seamlessly without the need to modify templates, setup new hidden feeds, modify .htaccess files, or asking users to migrate to a new feed. All existing feeds simply become Feedburner feeds seamlessly and transparently for all users. Just tell the plugin what your Feedburner feed URL is and you’re done.</li>
<li><a href="http://plugins.josepardilla.com/fancybox-for-wordpress/">FancyBox for WordPress</a> will automatically show all images in a fancy popup window when clicked. Handy for resized images where you don't want your users stuck on just the image file when they click on it.</li>
<li><a href="http://www.thulasidas.com/plugins/easy-adsense">Easy AdSense</a>&nbsp;manages all aspects of Google AdSense for a blog: insert ads into posts and sidebar, and add a Google Search box.Features:
<ul>
<li>Remembers AdSense code and your options by theme, so that you don’t have to re-enter them if you play with multiple themes. [This feature provides a solution to Google's unwillingness to let you modify and customize the AdSense code -- you just store all the code variants in your blog database.]</li>
<li>Enforces the Google policy of not more than three ad blocks per page.</li>
<li>Sidebar Widgets:
<ul>
<li>For AdSense for content with custom title.</li>
<li>For search with customizable text or image title.</li>
<li>For Link Units.</li>
</ul>
</li>
<li>Rich set of Options:
<ul>
<li>To put Link Units or Ad Blocks in header or footer.</li>
<li>To suppress ads on all pages (as opposed to posts), or on the front/home page.</li>
<li>To add a customizable mouse-over border decoration on ad blocks.</li>
</ul>
</li>
<li>Control over the positioning and display of AdSense blocks in each post or page.</li>
<li>Simplest possible configuration interface — nothing more than cutting and pasting AdSense code, and with sensible defaults for the few options present, all with clear instructions.</li>
<li>Internationalized (multiple languages supported).</li>
</ul>
</li>
<li>&nbsp;<a href="http://yoast.com/wordpress/seo/">WordPress SEO by Yoast</a>&nbsp;is the most complete WordPress SEO plugin that exists today for WordPress.org users. It incorporates everything from a snippet preview and page analysis functionality that helps you optimize your pages content, images titles, meta descriptions and more to XML sitemaps, and loads of optimization options in between. &nbsp;I use it to help generate a complete Google sitemap and tweak how my sites show up in Google.Features:
<ul>
<li>Post titles and meta descriptions</li>
<li>Robots Meta configuration</li>
<li>Canonical</li>
<li>Breadcrumbs</li>
<li>Permalink clean up</li>
<li>XML Sitemaps</li>
<li>RSS enhancements</li>
<li>Edit your robots.txt and .htaccess</li>
<li>Clean up head section</li>
</ul>
</li>
<li>&nbsp;<a href="http://www.w3-edge.com/wordpress-plugins/w3-total-cache/">w3-total-cache</a>is THE performance plugin for wordpress. &nbsp;It's the fastest and most complete WordPress performance optimization plugin. W3 Total Cache improves the user experience of your blog by improving your server performance, caching every aspect of your site, reducing the download time of your theme and providing transparent content delivery network (CDN) integration. &nbsp;I use it heavily for it's memcached integration, front-end compression, and CDN integration.Benefits:
<ul>
<li>At least 10x improvement in site performance (when fully configured: Grade A in YSlow or great Google Page Speed Improvements)</li>
<li>“Instant” second page views (browser caching after first page view)</li>
<li>Reduced page load time: increased visitor time on site (visitors view more pages)</li>
<li>Optimized progressive render (pages appear to load instantly)</li>
<li>Improved web server performance (easily sustain high traffic spikes)</li>
<li>Up to 80% Bandwidth savings via Minify and HTTP compression of HTML, CSS, JavaScript and RSS feeds</li>
</ul>
</li>
</ul>
<p>Features:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="plaintext"><code><span class="line"><span>* Compatible with shared hosting, virtual private servers and dedicated servers / clusters</span></span>
<span class="line"><span>* Transparent content delivery network (CDN) integration with Media Library, theme files and WordPress itself</span></span>
<span class="line"><span>* Caching of (minified and compressed) pages and posts in memory or on disk</span></span>
<span class="line"><span>* Caching of (minified and compressed) CSS and JavaScript in memory, on disk or on CDN</span></span>
<span class="line"><span>* Caching of RSS (comments, page and site) feeds in memory or on disk</span></span>
<span class="line"><span>* Caching of search results pages (i.e. URIs with query string variables) in memory or on disk</span></span>
<span class="line"><span>* Caching of database objects in memory</span></span>
<span class="line"><span>* Minification of posts and pages and RSS feeds</span></span>
<span class="line"><span>* Minification (combine and remove comments / white space) of inline, embedded or 3rd party JavaScript (with automated updates)</span></span>
<span class="line"><span>* Minification (combine and remove comments / white space) of inline, embedded or 3rd party CSS (with automated updates)</span></span>
<span class="line"><span>* Browser caching of CSS, JavaScript and HTML using future expire headers and entity tags (ETag)</span></span>
<span class="line"><span>* JavaScript grouping by template (home page, post page etc) with embed location management</span></span>
<span class="line"><span>* Non-blocking JavaScript embedding</span></span>
<span class="line"><span>* Import post attachments directly into the Media Library (and CDN)</span></span></code></pre>
<ul>
<li>Since most of my infrastructure is already on Amazon I use the <a href="http://wordpress.org/extend/plugins/amazon-ses-and-dkim-mailer/">Amazon SES DKIM Mailer</a>&nbsp;plugin to use <a href="http://aws.amazon.com/ses/">SES</a> as my mail provider. &nbsp;It's a quick, easy way to get&nbsp;guaranteed&nbsp;delivery.</li>
<li><a href="http://contactform7.com/">Contact Form 7</a> is the best contact form out there. &nbsp;It allows you to flexibly design the form and mail. You can manage multiple contact forms as well. &nbsp;In addition, it supports many features including AJAX submitting, CAPTCHA, Akismet spam filtering, file uploading, etc.</li>
<li><a href="http://dialect.ca/code/wp-smushit/">WP Smush.it</a>&nbsp; taps into the API behind&nbsp;Yahoo’s excellent Exceptional Performance series recommends optimizing images in several lossless ways: stripping meta data from JPEGs, optimizing JPEG compression, converting certain GIFs to indexed PNGs and stripping the un-used colours from indexed images.</li>
<li>This last one isn't required for all setups, but if like me you have varnish sitting in front of your app servers, <a href="https://github.com/pkhamre/wp-varnish">wp-varnish</a> is a must have. It&nbsp;automatically&nbsp;clears your varnish caches as needed.</li>
</ul>
]]></content:encoded></item>
<item><title>Get 18+ Gigs on a Free Dropbox account for $10-$20</title><description>Dropbox recently raised the cap on it's free tier to 18 gigs. But, you only
get 2 gigs out of the gate. The rest is easy to get, but takes a little leg
work.  First, log into Dropbox and click on
"Get free space!" at the top right. Then, do all the Facebook/twitter/social
offers to get free space. Really bumping up your space involves Google
Adwords.  You can max out your space by putting
your referral link on Dropbox ads that will show up in Google. How much this
will end up costing you can vary. One of my…</description><link>https://timbroder.com/2012/08/get-18-gigs-on-a-free-dropbox-account-for-10-20/</link><guid isPermaLink="false">https://timbroder.com/2012/08/get-18-gigs-on-a-free-dropbox-account-for-10-20</guid><pubDate>Wed, 29 Aug 2012 14:03:28 GMT</pubDate><content:encoded><![CDATA[<p>Dropbox recently raised the cap on it's free tier to 18 gigs. But, you only
get 2 gigs out of the gate. The rest is easy to get, but takes a little leg
work. <a href="https://timbroder.com/images/2012/08/dropbox01.png"><img src="https://timbroder.com/images/2012/08/dropbox01.png" alt=""></a> First, log into Dropbox and click on
"Get free space!" at the top right. Then, do all the Facebook/twitter/social
offers to get free space.</p>
<p>Really bumping up your space involves Google
<a href="https://adwords.google.com">Adwords</a>.&nbsp; You can max out your space by putting
your referral link on Dropbox ads that will show up in Google. How much this
will end up costing you can vary. One of my coworkers spent $7, another $11,
and I spent $19. If you set it up like I show below, you don't even have to
think about it.</p>
<p>Log into AdWords, create a new campaign and copy the below settings: (Click to
zoom in)</p>
<p><a href="https://timbroder.com/images/2012/08/dropbox1.png"><img src="https://timbroder.com/images/2012/08/dropbox1.png" alt=""></a>
<a href="https://timbroder.com/images/2012/08/dropbox2.png"><img src="https://timbroder.com/images/2012/08/dropbox2.png" alt=""></a>
<a href="https://timbroder.com/images/2012/08/dropbox3.png"><img src="https://timbroder.com/images/2012/08/dropbox3.png" alt=""></a>
<a href="https://timbroder.com/images/2012/08/dropbox4.png"><img src="https://timbroder.com/images/2012/08/dropbox4.png" alt=""></a>
<a href="https://timbroder.com/images/2012/08/dropbox5.png"><img src="https://timbroder.com/images/2012/08/dropbox5.png" alt=""></a></p>
<p>After this the campaign should be approved and you are all set. Keep an eye on
it at the end of every day and see if you want to continue it to keep getting
more space</p>
<p>Get free space!</p>
]]></content:encoded></item>
<item><title>Compiling Textmate</title><description>TextMate 2 recently went open
source on
github and a coworker
friend of mine was asking if I had
compiled it yet. Here's the quick and easy on how to compile it. Prerequisites Either homebrew or macports (I'll be using homebrew for this post) Xcode 4.4+ (make sure to open at least once and accept licence agreement) Now install the needed apps with brew: [shell] brew install ragel boost
multimarkdown hg ninja proctools [/shell] ninja — build system similar to  ragel — state machine compiler boost — portable…</description><link>https://timbroder.com/2012/08/compiling-textmate/</link><guid isPermaLink="false">https://timbroder.com/2012/08/compiling-textmate</guid><pubDate>Sun, 26 Aug 2012 18:24:16 GMT</pubDate><content:encoded><![CDATA[<p>TextMate 2 recently went <a href="http://blog.macromates.com/2012/textmate-2-at-github/">open
source</a> on
<a href="https://github.com/textmate/textmate">github</a> and a coworker
<a href="https://twitter.com/tweetonwards">friend</a> of mine was asking if I had
compiled it yet. Here's the quick and easy on how to compile it.</p>
<h2 id="prerequisites">Prerequisites</h2>
<ul>
<li>Either <a href="http://mxcl.github.com/homebrew/">homebrew</a> or <a href="http://www.macports.org/">macports</a> (I'll be using homebrew for this post)</li>
<li><a href="http://itunes.apple.com/us/app/xcode/id497799835?mt=12">Xcode</a>&nbsp;4.4+ (make sure to open at least once and accept licence agreement)</li>
</ul>
<p>Now install the needed apps with brew: [shell] brew install ragel boost
multimarkdown hg ninja proctools [/shell]</p>
<ul>
<li><a href="http://martine.github.com/ninja/">ninja</a>&nbsp;— build system similar to&nbsp;<code>make</code></li>
<li><a href="http://www.complang.org/ragel/">ragel</a>&nbsp;— state machine compiler</li>
<li><a href="http://www.boost.org/">boost</a>&nbsp;— portable C++ source libraries</li>
<li><a href="http://fletcherpenney.net/multimarkdown/">multimarkdown</a>&nbsp;— marked-up plain text compiler</li>
<li><a href="http://mercurial.selenic.com/">mercurial</a>&nbsp;— distributed SCM system</li>
<li>pgrep and pkill - part of protocols</li>
</ul>
<p>If the hg install gives you issues, get the latest command line tools from
<a href="https://developer.apple.com/downloads/index.action">Apple</a>. (At the time of
this writing it is&nbsp;Command Line Tools (OS X Lion) for Xcode - August 2012)
Compile</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="plaintext"><code><span class="line"><span>git clone https://github.com/textmate/textmate.git </span></span>
<span class="line"><span>cd textmate</span></span>
<span class="line"><span>git submodule update --init ./configure &amp;amp;&amp;amp; ninja </span></span></code></pre>
<p>Install and Cleanup</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="plaintext"><code><span class="line"><span>cp -R ~/build/TextMate/Applications/TextMate/TextMate.app ~/Applications </span></span>
<span class="line"><span>rm -Rf ~/build/TextMate*</span></span></code></pre>
]]></content:encoded></item>
<item><title>Getting Started with Solr and Django</title><description>Solr is a very powerful search tool and it
is pretty easy to get the basics, such as full text search, facets, and
related assets up and running pretty quickly. We will be using haystack to do
the communication between Django and Solr. All code for this can be viewed on
github. Install Assuming you already have Django up and running, the first thing we need to do
is install Solr. Next install pysolr and haystack. (At the time of this writing the git
checkout of haystack works better with the Solr 4.0 beta…</description><link>https://timbroder.com/2012/08/getting-started-with-solr-and-django/</link><guid isPermaLink="false">https://timbroder.com/2012/08/getting-started-with-solr-and-django</guid><pubDate>Thu, 23 Aug 2012 19:45:56 GMT</pubDate><content:encoded><![CDATA[<p><a href="http://lucene.apache.org/solr/">Solr</a> is a very powerful search tool and it
is pretty easy to get the basics, such as full text search, facets, and
related assets up and running pretty quickly. We will be using haystack to do
the communication between Django and Solr. All code for this can be viewed on
<a href="https://github.com/broderboy/django-solr-demo">github</a>.</p>
<h2 id="install">Install</h2>
<p>Assuming you already have Django up and running, the first thing we need to do
is install Solr.</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="plaintext"><code><span class="line"><span>curl -O http://mirrors.gigenet.com/apache/lucene/solr/4.0.0-BETA/apache-solr-4.0.0-BETA.zip</span></span>
<span class="line"><span>unzip apache-solr-4.0.0-BETA.zip</span></span>
<span class="line"><span>cd apache-solr-4.0.0-BETA</span></span>
<span class="line"><span>cd example</span></span>
<span class="line"><span>java -jar start.jar</span></span></code></pre>
<p>Next install pysolr and haystack. (At the time of this writing the git
checkout of haystack works better with the Solr 4.0 beta then the 1.2.7 that's
in pip.)</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="plaintext"><code><span class="line"><span>pip install pysolr</span></span>
<span class="line"><span>pip install -e https://github.com/toastdriven/django-haystack.git</span></span></code></pre>
<p>Add 'haystack' to INSTALLED_APPS in settings.py and add the following haystack
connection:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="python"><code><span class="line"><span style="color:#AE81FF">HAYSTACK_CONNECTIONS</span><span style="color:#fa4f8d"> =</span><span style="color:#F8F8F2"> { </span></span>
<span class="line"><span style="color:#E6DB74">	'default'</span><span style="color:#F8F8F2">: { </span></span>
<span class="line"><span style="color:#E6DB74">		'ENGINE'</span><span style="color:#F8F8F2">: </span><span style="color:#E6DB74">'haystack.backends.solr_backend.SolrEngine'</span><span style="color:#F8F8F2">, </span></span>
<span class="line"><span style="color:#E6DB74">		'URL'</span><span style="color:#F8F8F2">: </span><span style="color:#E6DB74">'http://127.0.0.1:8983/solr'</span><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#F8F8F2">	}, </span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span></code></pre>
<h2 id="full-text-search">Full Text Search</h2>
<p>For the example, we're going to create a simple job database that a recruiter
might use. Here is the model:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="python"><code><span class="line"><span style="color:#fa4f8d">from</span><span style="color:#F8F8F2"> django.db </span><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> models</span></span>
<span class="line"><span style="color:#fa4f8d">from</span><span style="color:#F8F8F2"> django.contrib.localflavor.us</span></span>
<span class="line"><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> models </span><span style="color:#fa4f8d">as</span><span style="color:#F8F8F2"> us_models</span></span>
<span class="line"></span>
<span class="line"><span style="color:#AE81FF">JOB_TYPES</span><span style="color:#fa4f8d"> =</span><span style="color:#F8F8F2"> (</span></span>
<span class="line"><span style="color:#F8F8F2">	(</span><span style="color:#E6DB74">'pt'</span><span style="color:#F8F8F2">, </span><span style="color:#E6DB74">'Part Time'</span><span style="color:#F8F8F2">),</span></span>
<span class="line"><span style="color:#F8F8F2">	(</span><span style="color:#E6DB74">'ft'</span><span style="color:#F8F8F2">, </span><span style="color:#E6DB74">'Full Time'</span><span style="color:#F8F8F2">),</span></span>
<span class="line"><span style="color:#F8F8F2">	(</span><span style="color:#E6DB74">'ct'</span><span style="color:#F8F8F2">, </span><span style="color:#E6DB74">'Contract'</span><span style="color:#F8F8F2">)</span></span>
<span class="line"><span style="color:#F8F8F2">)</span></span>
<span class="line"></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">class</span><span> </span><span style="color:#A6E22E;text-decoration:underline">Company</span><span style="color:#F8F8F2">(</span><span style="color:#A6E22E;font-style:italic;text-decoration:underline">models</span><span style="color:#F8F8F2">.</span><span style="color:#A6E22E;font-style:italic;text-decoration:underline">Model</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#F8F8F2">	name </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> models.CharField(</span><span style="color:#FD971F;font-style:italic">max_length</span><span style="color:#fa4f8d">=</span><span style="color:#AE81FF">64</span><span style="color:#F8F8F2">)</span></span>
<span class="line"><span style="color:#F8F8F2">	address </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> models.TextField(</span><span style="color:#FD971F;font-style:italic">blank</span><span style="color:#fa4f8d">=</span><span style="color:#AE81FF">True</span><span style="color:#F8F8F2">, </span><span style="color:#FD971F;font-style:italic">null</span><span style="color:#fa4f8d">=</span><span style="color:#AE81FF">True</span><span style="color:#F8F8F2">)</span></span>
<span class="line"><span style="color:#F8F8F2">	contact_email </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> models.EmailField()</span></span>
<span class="line"><span style="color:#F8F8F2">	</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">	def</span><span style="color:#66D9EF"> __unicode__</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F;font-style:italic">self</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#fa4f8d">		return</span><span style="color:#FD971F"> self</span><span style="color:#F8F8F2">.name</span></span>
<span class="line"></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">class</span><span> </span><span style="color:#A6E22E;text-decoration:underline">Location</span><span style="color:#F8F8F2">(</span><span style="color:#A6E22E;font-style:italic;text-decoration:underline">models</span><span style="color:#F8F8F2">.</span><span style="color:#A6E22E;font-style:italic;text-decoration:underline">Model</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#F8F8F2">	city </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> models.CharField(</span><span style="color:#FD971F;font-style:italic">max_length</span><span style="color:#fa4f8d">=</span><span style="color:#AE81FF">64</span><span style="color:#F8F8F2">)</span></span>
<span class="line"><span style="color:#F8F8F2">	state </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> us_models.USStateField()</span></span>
<span class="line"></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">	def</span><span style="color:#66D9EF"> __unicode__</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F;font-style:italic">self</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#fa4f8d">		return</span><span style="color:#E6DB74"> "</span><span style="color:#AE81FF">%s</span><span style="color:#E6DB74">, </span><span style="color:#AE81FF">%s</span><span style="color:#E6DB74">"</span><span style="color:#fa4f8d"> %</span><span style="color:#F8F8F2"> (</span><span style="color:#FD971F">self</span><span style="color:#F8F8F2">.city, </span><span style="color:#FD971F">self</span><span style="color:#F8F8F2">.state)</span></span>
<span class="line"></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">class</span><span> </span><span style="color:#A6E22E;text-decoration:underline">Job</span><span style="color:#F8F8F2">(</span><span style="color:#A6E22E;font-style:italic;text-decoration:underline">models</span><span style="color:#F8F8F2">.</span><span style="color:#A6E22E;font-style:italic;text-decoration:underline">Model</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#F8F8F2">	name </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> models.CharField(</span><span style="color:#FD971F;font-style:italic">max_length</span><span style="color:#fa4f8d">=</span><span style="color:#AE81FF">64</span><span style="color:#F8F8F2">)</span></span>
<span class="line"><span style="color:#F8F8F2">	description </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> models.TextField()</span></span>
<span class="line"><span style="color:#F8F8F2">	salary </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> models.CharField(</span><span style="color:#FD971F;font-style:italic">max_length</span><span style="color:#fa4f8d">=</span><span style="color:#AE81FF">64</span><span style="color:#F8F8F2">, </span><span style="color:#FD971F;font-style:italic">blank</span><span style="color:#fa4f8d">=</span><span style="color:#AE81FF">True</span><span style="color:#F8F8F2">, </span><span style="color:#FD971F;font-style:italic">null</span><span style="color:#fa4f8d">=</span><span style="color:#AE81FF">True</span><span style="color:#F8F8F2">)</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">	type</span><span style="color:#fa4f8d"> =</span><span style="color:#F8F8F2"> models.CharField(</span><span style="color:#FD971F;font-style:italic">max_length</span><span style="color:#fa4f8d">=</span><span style="color:#AE81FF">2</span><span style="color:#F8F8F2">, </span><span style="color:#FD971F;font-style:italic">choices</span><span style="color:#fa4f8d">=</span><span style="color:#AE81FF">JOB_TYPES</span><span style="color:#F8F8F2">)</span></span>
<span class="line"><span style="color:#F8F8F2">	company </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> models.ForeignKey(Company, </span><span style="color:#FD971F;font-style:italic">related_name</span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74">'jobs'</span><span style="color:#F8F8F2">)</span></span>
<span class="line"><span style="color:#F8F8F2">	location </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> models.ForeignKey(Location, </span><span style="color:#FD971F;font-style:italic">related_name</span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74">'location_jobs'</span><span style="color:#F8F8F2">)</span></span>
<span class="line"><span style="color:#F8F8F2">	contact_email </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> models.EmailField(</span><span style="color:#FD971F;font-style:italic">blank</span><span style="color:#fa4f8d">=</span><span style="color:#AE81FF">True</span><span style="color:#F8F8F2">, </span><span style="color:#FD971F;font-style:italic">null</span><span style="color:#fa4f8d">=</span><span style="color:#AE81FF">True</span><span style="color:#F8F8F2">)</span></span>
<span class="line"><span style="color:#F8F8F2">	added_at </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> models.DateTimeField(</span><span style="color:#FD971F;font-style:italic">auto_now</span><span style="color:#fa4f8d">=</span><span style="color:#AE81FF">True</span><span style="color:#F8F8F2">)</span></span>
<span class="line"><span style="color:#F8F8F2">	</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">	def</span><span style="color:#66D9EF"> __unicode__</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F;font-style:italic">self</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#fa4f8d">		return</span><span style="color:#FD971F"> self</span><span style="color:#F8F8F2">.name</span></span>
<span class="line"></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">	def</span><span style="color:#A6E22E"> get_contact_email</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F;font-style:italic">self</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#fa4f8d">		if</span><span style="color:#FD971F"> self</span><span style="color:#F8F8F2">.contact_email:</span></span>
<span class="line"><span style="color:#fa4f8d">			return</span><span style="color:#FD971F"> self</span><span style="color:#F8F8F2">.contact_email</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">		return</span><span style="color:#FD971F"> self</span><span style="color:#F8F8F2">.company.contact_email</span></span></code></pre>
<p>The next step is to create the
SearchIndex object that will be used to transpose to data to Solr. save this
as search_indexes.py in the same folder as your models.py. The text field with
its template will be used for full text search on Solr. The other two fields
will be used to faceted (drill down) navigation. For more details on this
file, check out the <a href="http://django-haystack.readthedocs.org/en/latest/tutorial.html#handling-data">haystack tutorial</a>.</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="plaintext"><code><span class="line"><span>class JobIndex(indexes.SearchIndex, indexes.Indexable):</span></span>
<span class="line"><span>	text = indexes.CharField(document=True, use_template=True)</span></span>
<span class="line"><span>	type = indexes.CharField(model_attr='type', faceted=True)</span></span>
<span class="line"><span>	location = indexes.CharField(model_attr='location', faceted=True)</span></span>
<span class="line"><span>	</span></span>
<span class="line"><span>	def get_model(self):</span></span>
<span class="line"><span>		return Job</span></span>
<span class="line"><span></span></span>
<span class="line"><span>	def index_queryset(self):</span></span>
<span class="line"><span>		return self.get_model().objects.all()</span></span></code></pre>
<p>Create the search index template in your template folder with the following
naming convention: <code>search/indexes/[app]/[model]_text.txt</code></p>
<p>For us, this is templates/search/indexes/jobs/job_text.txt</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="html"><code><span class="line"><span style="color:#F8F8F2">{% verbatim %}</span></span>
<span class="line"><span style="color:#F8F8F2">{{ object.name }}</span></span>
<span class="line"><span style="color:#F8F8F2">{{ object.description }}</span></span>
<span class="line"><span style="color:#F8F8F2">{{ object.salary }}</span></span>
<span class="line"><span style="color:#F8F8F2">{{ object.type }}</span></span>
<span class="line"><span style="color:#F8F8F2">{{ object.added_at }}</span></span>
<span class="line"><span style="color:#F8F8F2">{% endverbatim %}</span></span></code></pre>
<p>Now, lets get our data into Solr. Run ./manage.py build_solr_schema to
generate a schema.xml file. Move this into example\solr\conf in your Solr
install. Note: if using Solr 4, edit this file and replace stopwords_en.txt
with lang/stopwords_en.txt in all locations. To test everything and load your
data, run: manage.py rebuild_index Subsequent updates can be made with:
manage.py update_index.</p>
<p>If that all worked we can start working on the front-end to see the data in
Django. Add this to your urls.py</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="plaintext"><code><span class="line"><span>(r'^$', include('haystack.urls')),</span></span></code></pre>
<p>At this point there are at least two templates we'll need. One for the search
results page, and a sub-template to represent each item we are pulling back.
My example uses <a href="http://twitter.github.com/bootstrap/">twitter bootstrap</a> for
some layout help and styling, see my base.html
<a href="https://github.com/broderboy/django-solr-demo/blob/master/templates/base.html">here</a> if interested.</p>
<p>Create templates/search/search.html This gives you a basic search form, the
results, and pagination for a number of results</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="html"><code><span class="line"><span style="color:#F8F8F2">{% verbatim %}</span></span>
<span class="line"><span style="color:#F8F8F2">{% extends 'base.html' %}</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">{% block hero_text %}Search{% endblock %}</span></span>
<span class="line"><span style="color:#F8F8F2">{% block header %}&lt;</span><span style="color:#fa4f8d">p</span><span style="color:#F8F8F2">&gt;Click around!&lt;/</span><span style="color:#fa4f8d">p</span><span style="color:#F8F8F2">&gt;{% endblock %}</span></span>
<span class="line"></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">{% block content %}</span></span>
<span class="line"><span style="color:#F8F8F2">&lt;</span><span style="color:#fa4f8d">div</span><span style="color:#A6E22E"> class</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"span12"</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">    &lt;</span><span style="color:#fa4f8d">h1</span><span style="color:#F8F8F2">&gt;Search&lt;/</span><span style="color:#fa4f8d">h1</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">    &lt;</span><span style="color:#fa4f8d">form</span><span style="color:#A6E22E"> method</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"get"</span><span style="color:#A6E22E"> action</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"."</span><span style="color:#A6E22E"> class</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">".form-search"</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">        &lt;</span><span style="color:#fa4f8d">table</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">            {{ form.as_table }}</span></span>
<span class="line"><span style="color:#F8F8F2">        &lt;/</span><span style="color:#fa4f8d">table</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">        &lt;</span><span style="color:#fa4f8d">input</span><span style="color:#A6E22E"> type</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"submit"</span><span style="color:#A6E22E"> value</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"Search"</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">    &lt;/</span><span style="color:#fa4f8d">form</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">&lt;/</span><span style="color:#fa4f8d">div</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">        {% if query %}</span></span>
<span class="line"><span style="color:#F8F8F2">            &lt;</span><span style="color:#fa4f8d">div</span><span style="color:#A6E22E"> class</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"span2"</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                &lt;</span><span style="color:#fa4f8d">h3</span><span style="color:#F8F8F2">&gt;Filter&lt;/</span><span style="color:#fa4f8d">h3</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                {% if facets.fields.type %}</span></span>
<span class="line"><span style="color:#F8F8F2">                    &lt;</span><span style="color:#fa4f8d">div</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                        &lt;</span><span style="color:#fa4f8d">h4</span><span style="color:#F8F8F2">&gt;Type&lt;/</span><span style="color:#fa4f8d">h4</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                        &lt;</span><span style="color:#fa4f8d">ul</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                        {% for type in facets.fields.type %}</span></span>
<span class="line"><span style="color:#F8F8F2">                            &lt;</span><span style="color:#fa4f8d">li</span><span style="color:#F8F8F2">&gt;&lt;</span><span style="color:#fa4f8d">a</span><span style="color:#A6E22E"> href</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"{{ request.get_full_path }}</span><span style="color:#AE81FF">&amp;amp;</span><span style="color:#E6DB74">selected_facets=type_exact:{{ type.0|urlencode }}"</span><span style="color:#F8F8F2">&gt;{{ type.0 }}&lt;/</span><span style="color:#fa4f8d">a</span><span style="color:#F8F8F2">&gt; ({{ type.1 }})&lt;/</span><span style="color:#fa4f8d">li</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                        {% endfor %}</span></span>
<span class="line"><span style="color:#F8F8F2">                        &lt;/</span><span style="color:#fa4f8d">ul</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                    &lt;/</span><span style="color:#fa4f8d">div</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                {% endif %}</span></span>
<span class="line"><span style="color:#F8F8F2">                {% if facets.fields.location %}</span></span>
<span class="line"><span style="color:#F8F8F2">                    &lt;</span><span style="color:#fa4f8d">div</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                        &lt;</span><span style="color:#fa4f8d">h4</span><span style="color:#F8F8F2">&gt;Location&lt;/</span><span style="color:#fa4f8d">h4</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                        &lt;</span><span style="color:#fa4f8d">ul</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                        {% for location in facets.fields.location %}</span></span>
<span class="line"><span style="color:#F8F8F2">                            &lt;</span><span style="color:#fa4f8d">li</span><span style="color:#F8F8F2">&gt;&lt;</span><span style="color:#fa4f8d">a</span><span style="color:#A6E22E"> href</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"{{ request.get_full_path }}</span><span style="color:#AE81FF">&amp;amp;</span><span style="color:#E6DB74">selected_facets=location_exact:{{ location.0|urlencode }}"</span><span style="color:#F8F8F2">&gt;{{ location.0 }}&lt;/</span><span style="color:#fa4f8d">a</span><span style="color:#F8F8F2">&gt; ({{ location.1 }})&lt;/</span><span style="color:#fa4f8d">li</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                        {% endfor %}</span></span>
<span class="line"><span style="color:#F8F8F2">                        &lt;/</span><span style="color:#fa4f8d">ul</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                    &lt;/</span><span style="color:#fa4f8d">div</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                {% endif %}</span></span>
<span class="line"><span style="color:#F8F8F2">            &lt;/</span><span style="color:#fa4f8d">div</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">            &lt;</span><span style="color:#fa4f8d">div</span><span style="color:#A6E22E"> class</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"span6"</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                &lt;</span><span style="color:#fa4f8d">h3</span><span style="color:#F8F8F2">&gt;Results&lt;/</span><span style="color:#fa4f8d">h3</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                &lt;</span><span style="color:#fa4f8d">div</span><span style="color:#A6E22E"> class</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"accordion"</span><span style="color:#A6E22E"> id</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"accordion2"</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                    {% for result in page.object_list %}</span></span>
<span class="line"><span style="color:#F8F8F2">                        {% include 'search/_result_object.html' %}</span></span>
<span class="line"><span style="color:#F8F8F2">                    {% empty %}</span></span>
<span class="line"><span style="color:#F8F8F2">                        &lt;</span><span style="color:#fa4f8d">p</span><span style="color:#F8F8F2">&gt;No results found.&lt;/</span><span style="color:#fa4f8d">p</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                    {% endfor %}</span></span>
<span class="line"><span style="color:#F8F8F2">                &lt;/</span><span style="color:#fa4f8d">div</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">    </span></span>
<span class="line"><span style="color:#F8F8F2">                {% if page.has_previous or page.has_next %}</span></span>
<span class="line"><span style="color:#F8F8F2">                    &lt;</span><span style="color:#fa4f8d">div</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                        {% if page.has_previous %}&lt;</span><span style="color:#fa4f8d">a</span><span style="color:#A6E22E"> href</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"?q={{ query }}</span><span style="color:#AE81FF">&amp;amp;</span><span style="color:#E6DB74">page={{ page.previous_page_number }}"</span><span style="color:#F8F8F2">&gt;{% endif %}</span><span style="color:#AE81FF">&amp;laquo;</span><span style="color:#F8F8F2"> Previous{% if page.has_previous %}&lt;/</span><span style="color:#fa4f8d">a</span><span style="color:#F8F8F2">&gt;{% endif %}</span></span>
<span class="line"><span style="color:#F8F8F2">                        |</span></span>
<span class="line"><span style="color:#F8F8F2">                        {% if page.has_next %}&lt;</span><span style="color:#fa4f8d">a</span><span style="color:#A6E22E"> href</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"?q={{ query }}</span><span style="color:#AE81FF">&amp;amp;</span><span style="color:#E6DB74">page={{ page.next_page_number }}"</span><span style="color:#F8F8F2">&gt;{% endif %}Next </span><span style="color:#AE81FF">&amp;raquo;</span><span style="color:#F8F8F2">{% if page.has_next %}&lt;/</span><span style="color:#fa4f8d">a</span><span style="color:#F8F8F2">&gt;{% endif %}</span></span>
<span class="line"><span style="color:#F8F8F2">                    &lt;/</span><span style="color:#fa4f8d">div</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                {% endif %}</span></span>
<span class="line"><span style="color:#F8F8F2">            &lt;/</span><span style="color:#fa4f8d">div</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">        {% else %}</span></span>
<span class="line"><span style="color:#F8F8F2">            &lt;</span><span style="color:#fa4f8d">div</span><span style="color:#A6E22E"> class</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"span6"</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                {# Show some example queries to run, maybe query syntax, something else? #}</span></span>
<span class="line"><span style="color:#F8F8F2">            &lt;/</span><span style="color:#fa4f8d">div</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">        {% endif %}</span></span>
<span class="line"><span style="color:#F8F8F2">{% endblock %}</span></span>
<span class="line"><span style="color:#F8F8F2">{% endverbatim %}</span></span></code></pre>
<p>And the templates/search/_result_object.txt</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="html"><code><span class="line"><span style="color:#F8F8F2">{% verbatim %}</span></span>
<span class="line"><span style="color:#F8F8F2">{% load more_like_this %}</span></span>
<span class="line"></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">{% with obj=result.object %}</span></span>
<span class="line"><span style="color:#F8F8F2">&lt;</span><span style="color:#fa4f8d">div</span><span style="color:#A6E22E"> class</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"accordion-group"</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">    &lt;</span><span style="color:#fa4f8d">div</span><span style="color:#A6E22E"> class</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"accordion-heading"</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">        &lt;</span><span style="color:#fa4f8d">a</span><span style="color:#A6E22E"> class</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"accordion-toggle"</span><span style="color:#A6E22E"> data-toggle</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"collapse"</span><span style="color:#A6E22E"> data-parent</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"#accordion2"</span><span style="color:#A6E22E"> href</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"#collapse_{{ obj.id }}"</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">            {{ obj.name }}</span></span>
<span class="line"><span style="color:#F8F8F2">        &lt;/</span><span style="color:#fa4f8d">a</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">        &lt;</span><span style="color:#fa4f8d">div</span><span style="color:#A6E22E"> style</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"padding: 8px 15px;"</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">            &lt;</span><span style="color:#fa4f8d">p</span><span style="color:#F8F8F2">&gt;Company: {{ obj.company }}&lt;/</span><span style="color:#fa4f8d">p</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">            &lt;</span><span style="color:#fa4f8d">p</span><span style="color:#F8F8F2">&gt;Type: {{ obj.type }}&lt;/</span><span style="color:#fa4f8d">p</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">            {% if obj.salary %}&lt;</span><span style="color:#fa4f8d">p</span><span style="color:#F8F8F2">&gt;Salary: {{ obj.salary }}&lt;/</span><span style="color:#fa4f8d">p</span><span style="color:#F8F8F2">&gt;{% endif %}</span></span>
<span class="line"><span style="color:#F8F8F2">            &lt;</span><span style="color:#fa4f8d">p</span><span style="color:#F8F8F2">&gt;Location: {{ obj.location }}&lt;/</span><span style="color:#fa4f8d">p</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">        &lt;/</span><span style="color:#fa4f8d">div</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">    &lt;/</span><span style="color:#fa4f8d">div</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">    &lt;</span><span style="color:#fa4f8d">div</span><span style="color:#A6E22E"> id</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"collapse_{{ obj.id }}"</span><span style="color:#A6E22E"> class</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"accordion-body collapse in"</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">        &lt;</span><span style="color:#fa4f8d">div</span><span style="color:#A6E22E"> class</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"accordion-inner"</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">            &lt;</span><span style="color:#fa4f8d">p</span><span style="color:#F8F8F2">&gt;Contact: &lt;</span><span style="color:#fa4f8d">a</span><span style="color:#A6E22E"> href</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"mailto:{{ obj.get_contact_email }}"</span><span style="color:#F8F8F2">&gt;{{ obj.get_contact_email }}&lt;/</span><span style="color:#fa4f8d">a</span><span style="color:#F8F8F2">&gt;&lt;/</span><span style="color:#fa4f8d">p</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">            {{ obj.description }}</span></span>
<span class="line"><span style="color:#F8F8F2">            {% more_like_this obj as related_content limit 5  %}</span></span>
<span class="line"><span style="color:#F8F8F2">            {% if related_content %}</span></span>
<span class="line"><span style="color:#F8F8F2">                &lt;</span><span style="color:#fa4f8d">div</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                    &lt;</span><span style="color:#fa4f8d">br</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                    &lt;</span><span style="color:#fa4f8d">p</span><span style="color:#F8F8F2">&gt;&lt;</span><span style="color:#fa4f8d">strong</span><span style="color:#F8F8F2">&gt;Related:&lt;/</span><span style="color:#fa4f8d">strong</span><span style="color:#F8F8F2">&gt;&lt;/</span><span style="color:#fa4f8d">p</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                    &lt;</span><span style="color:#fa4f8d">ul</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                        {% for related in related_content %}</span></span>
<span class="line"><span style="color:#F8F8F2">                            &lt;</span><span style="color:#fa4f8d">li</span><span style="color:#F8F8F2">&gt;&lt;</span><span style="color:#fa4f8d">a</span><span style="color:#F8F8F2">&gt;{{ related.object.name }}&lt;/</span><span style="color:#fa4f8d">a</span><span style="color:#F8F8F2">&gt;&lt;/</span><span style="color:#fa4f8d">li</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                        {% endfor %}</span></span>
<span class="line"><span style="color:#F8F8F2">                    &lt;/</span><span style="color:#fa4f8d">ul</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                &lt;/</span><span style="color:#fa4f8d">div</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">            {% endif %}</span></span>
<span class="line"><span style="color:#F8F8F2">        &lt;/</span><span style="color:#fa4f8d">div</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">    &lt;/</span><span style="color:#fa4f8d">div</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">&lt;/</span><span style="color:#fa4f8d">div</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">{% endwith %}</span></span>
<span class="line"><span style="color:#F8F8F2">{% endverbatim %}</span></span></code></pre>
<p>Start up your dev server for search!</p>
<p><a href="https://timbroder.com/images/2012/08/solr1.png"><img src="https://timbroder.com/images/2012/08/solr1.png" alt=""></a></p>
<h2 id="related-items">Related Items</h2>
<p>Adding Related Items is as simple as using the related_content tag in the
haystack more_like_this tag library and tweaking out Solr config. Open up
solrconfig.xml and add a MoreLikeThisHandler within thetag:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="xml"><code><span class="line"><span style="color:#F8F8F2">&lt;</span><span style="color:#fa4f8d">requesthandler</span><span style="color:#A6E22E"> name</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"/mlt"</span><span style="color:#A6E22E"> class</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"solr.MoreLikeThisHandler"</span><span style="color:#F8F8F2">&gt;&lt;/</span><span style="color:#fa4f8d">requesthandler</span><span style="color:#F8F8F2">&gt;</span></span></code></pre>
<p>Our full _result_object.html now looks like this:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="html"><code><span class="line"><span style="color:#F8F8F2">{% verbatim %}</span></span>
<span class="line"><span style="color:#F8F8F2">{% load more_like_this %}</span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#F8F8F2">{% with obj=result.object %}</span></span>
<span class="line"><span style="color:#F8F8F2">&lt;</span><span style="color:#fa4f8d">div</span><span style="color:#A6E22E"> class</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"accordion-group"</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">    &lt;</span><span style="color:#fa4f8d">div</span><span style="color:#A6E22E"> class</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"accordion-heading"</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">        &lt;</span><span style="color:#fa4f8d">a</span><span style="color:#A6E22E"> class</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"accordion-toggle"</span><span style="color:#A6E22E"> data-toggle</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"collapse"</span><span style="color:#A6E22E"> data-parent</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"#accordion2"</span><span style="color:#A6E22E"> href</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"#collapse_{{ obj.id }}"</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">            {{ obj.name }}</span></span>
<span class="line"><span style="color:#F8F8F2">        &lt;/</span><span style="color:#fa4f8d">a</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">        &lt;</span><span style="color:#fa4f8d">div</span><span style="color:#A6E22E"> style</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"padding: 8px 15px;"</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">            &lt;</span><span style="color:#fa4f8d">p</span><span style="color:#F8F8F2">&gt;Company: {{ obj.company }}&lt;/</span><span style="color:#fa4f8d">p</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">            &lt;</span><span style="color:#fa4f8d">p</span><span style="color:#F8F8F2">&gt;Type: {{ obj.type }}&lt;/</span><span style="color:#fa4f8d">p</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">            {% if obj.salary %}&lt;</span><span style="color:#fa4f8d">p</span><span style="color:#F8F8F2">&gt;Salary: {{ obj.salary }}&lt;/</span><span style="color:#fa4f8d">p</span><span style="color:#F8F8F2">&gt;{% endif %}</span></span>
<span class="line"><span style="color:#F8F8F2">            &lt;</span><span style="color:#fa4f8d">p</span><span style="color:#F8F8F2">&gt;Location: {{ obj.location }}&lt;/</span><span style="color:#fa4f8d">p</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">        &lt;/</span><span style="color:#fa4f8d">div</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">    &lt;/</span><span style="color:#fa4f8d">div</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">    &lt;</span><span style="color:#fa4f8d">div</span><span style="color:#A6E22E"> id</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"collapse_{{ obj.id }}"</span><span style="color:#A6E22E"> class</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"accordion-body collapse in"</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">        &lt;</span><span style="color:#fa4f8d">div</span><span style="color:#A6E22E"> class</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"accordion-inner"</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">            &lt;</span><span style="color:#fa4f8d">p</span><span style="color:#F8F8F2">&gt;Contact: &lt;</span><span style="color:#fa4f8d">a</span><span style="color:#A6E22E"> href</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"mailto:{{ obj.get_contact_email }}"</span><span style="color:#F8F8F2">&gt;{{ obj.get_contact_email }}&lt;/</span><span style="color:#fa4f8d">a</span><span style="color:#F8F8F2">&gt;&lt;/</span><span style="color:#fa4f8d">p</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">            {{ obj.description }}</span></span>
<span class="line"><span style="color:#F8F8F2">            {% more_like_this obj as related_content limit 5  %}</span></span>
<span class="line"><span style="color:#F8F8F2">            {% if related_content %}</span></span>
<span class="line"><span style="color:#F8F8F2">                &lt;</span><span style="color:#fa4f8d">div</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                    &lt;</span><span style="color:#fa4f8d">br</span><span style="color:#F8F8F2"> /&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                    &lt;</span><span style="color:#fa4f8d">p</span><span style="color:#F8F8F2">&gt;&lt;</span><span style="color:#fa4f8d">strong</span><span style="color:#F8F8F2">&gt;Related:&lt;/</span><span style="color:#fa4f8d">strong</span><span style="color:#F8F8F2">&gt;&lt;/</span><span style="color:#fa4f8d">p</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                    &lt;</span><span style="color:#fa4f8d">ul</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                        {% for related in related_content %}</span></span>
<span class="line"><span style="color:#F8F8F2">                            &lt;</span><span style="color:#fa4f8d">li</span><span style="color:#F8F8F2">&gt;&lt;</span><span style="color:#fa4f8d">a</span><span style="color:#F8F8F2">&gt;{{ related.object.name }}&lt;/</span><span style="color:#fa4f8d">a</span><span style="color:#F8F8F2">&gt;&lt;/</span><span style="color:#fa4f8d">li</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                        {% endfor %}</span></span>
<span class="line"><span style="color:#F8F8F2">                    &lt;/</span><span style="color:#fa4f8d">ul</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                &lt;/</span><span style="color:#fa4f8d">div</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">            {% endif %}</span></span>
<span class="line"><span style="color:#F8F8F2">        &lt;/</span><span style="color:#fa4f8d">div</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">    &lt;/</span><span style="color:#fa4f8d">div</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">&lt;/</span><span style="color:#fa4f8d">div</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">{% endwith %}</span></span>
<span class="line"><span style="color:#F8F8F2">{% endverbatim %}</span></span></code></pre>
<h2 id="facets">Facets</h2>
<p>To get our type and location facets, we'll have to add them to a queryset and
pass this to a FacetedSearchView instead of the default one. urls.py now looks
like this:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="python"><code><span class="line"><span style="color:#fa4f8d">from</span><span style="color:#F8F8F2"> django.conf.urls </span><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> patterns, include, url</span></span>
<span class="line"><span style="color:#fa4f8d">from</span><span style="color:#F8F8F2"> django.contrib </span><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> admin</span></span>
<span class="line"><span style="color:#F8F8F2">admin.autodiscover()</span></span>
<span class="line"><span style="color:#fa4f8d">from</span><span style="color:#F8F8F2"> haystack.forms </span><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> FacetedSearchForm</span></span>
<span class="line"><span style="color:#fa4f8d">from</span><span style="color:#F8F8F2"> haystack.query </span><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> SearchQuerySet</span></span>
<span class="line"><span style="color:#fa4f8d">from</span><span style="color:#F8F8F2"> haystack.views </span><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> FacetedSearchView</span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#F8F8F2">sqs </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> SearchQuerySet().facet(</span><span style="color:#E6DB74">'type'</span><span style="color:#F8F8F2">).facet(</span><span style="color:#E6DB74">'location'</span><span style="color:#F8F8F2">)</span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#F8F8F2">urlpatterns </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> patterns(</span><span style="color:#E6DB74">'haystack.views'</span><span style="color:#F8F8F2">,</span></span>
<span class="line"><span style="color:#F8F8F2">    url(</span><span style="color:#66D9EF;font-style:italic">r</span><span style="color:#E6DB74">'^$'</span><span style="color:#F8F8F2">, FacetedSearchView(</span><span style="color:#FD971F;font-style:italic">form_class</span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2">FacetedSearchForm, </span><span style="color:#FD971F;font-style:italic">searchqueryset</span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2">sqs), </span><span style="color:#FD971F;font-style:italic">name</span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74">'haystack_search'</span><span style="color:#F8F8F2">),</span></span>
<span class="line"><span style="color:#F8F8F2">)</span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#F8F8F2">urlpatterns </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> urlpatterns </span><span style="color:#fa4f8d">+</span><span style="color:#F8F8F2"> patterns(</span><span style="color:#E6DB74">''</span><span style="color:#F8F8F2">,</span></span>
<span class="line"><span style="color:#F8F8F2">    url(</span><span style="color:#66D9EF;font-style:italic">r</span><span style="color:#E6DB74">'^admin/'</span><span style="color:#F8F8F2">, include(admin.site.urls)),</span></span>
<span class="line"><span style="color:#94907d">    #(r'^', include('haystack.urls')),</span></span>
<span class="line"><span style="color:#F8F8F2">)</span></span>
<span class="line"><span style="color:#fa4f8d">-</span><span style="color:#F8F8F2"> See more at: http:</span><span style="color:#fa4f8d">//</span><span style="color:#F8F8F2">timbroder.com</span><span style="color:#fa4f8d">/</span><span style="color:#AE81FF">2012</span><span style="color:#fa4f8d">/</span><span style="color:#AE81FF">0</span><span style="color:#f55b5b">8</span><span style="color:#fa4f8d">/</span><span style="color:#F8F8F2">getting</span><span style="color:#fa4f8d">-</span><span style="color:#F8F8F2">started</span><span style="color:#fa4f8d">-with-</span><span style="color:#F8F8F2">solr</span><span style="color:#fa4f8d">-and-</span><span style="color:#F8F8F2">django.html</span><span style="color:#f55b5b">?</span><span style="color:#F8F8F2">preview</span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2">true</span><span style="color:#fa4f8d">&amp;</span><span style="color:#F8F8F2">preview_id</span><span style="color:#fa4f8d">=</span><span style="color:#AE81FF">1167</span><span style="color:#fa4f8d">&amp;</span><span style="color:#F8F8F2">preview_nonce</span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2">f6c209628d</span><span style="color:#94907d">#sthash.2NVpbeDJ.dpuf</span></span></code></pre>
<p>Then, we can use the generated facets in the search template in the facets
variable</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="html"><code><span class="line"><span style="color:#F8F8F2">{% verbatim %}</span></span>
<span class="line"><span style="color:#F8F8F2">{% extends 'base.html' %}</span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#F8F8F2">{% block hero_text %}Search{% endblock %}</span></span>
<span class="line"><span style="color:#F8F8F2">{% block header %}&lt;/</span><span style="color:#fa4f8d">p</span><span style="color:#F8F8F2">&gt;&lt;</span><span style="color:#fa4f8d">p</span><span style="color:#F8F8F2">&gt;Click around!&lt;/</span><span style="color:#fa4f8d">p</span><span style="color:#F8F8F2">&gt;{% endblock %}</span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#F8F8F2">{% block content %}</span></span>
<span class="line"><span style="color:#F8F8F2">&lt;</span><span style="color:#fa4f8d">div</span><span style="color:#A6E22E"> class</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"span12"</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">    &lt;</span><span style="color:#fa4f8d">h1</span><span style="color:#F8F8F2">&gt;Search&lt;/</span><span style="color:#fa4f8d">h1</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">    &lt;</span><span style="color:#fa4f8d">form</span><span style="color:#A6E22E"> method</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"get"</span><span style="color:#A6E22E"> action</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"."</span><span style="color:#A6E22E"> class</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">".form-search"</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">        &lt;</span><span style="color:#fa4f8d">table</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">            {{ form.as_table }}</span></span>
<span class="line"><span style="color:#F8F8F2">        &lt;/</span><span style="color:#fa4f8d">table</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">        &lt;</span><span style="color:#fa4f8d">input</span><span style="color:#A6E22E"> type</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"submit"</span><span style="color:#A6E22E"> value</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"Search"</span><span style="color:#F8F8F2">/&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">    &lt;/</span><span style="color:#fa4f8d">form</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">&lt;/</span><span style="color:#fa4f8d">div</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">        {% if query %}</span></span>
<span class="line"><span style="color:#F8F8F2">            &lt;</span><span style="color:#fa4f8d">div</span><span style="color:#A6E22E"> class</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"span2"</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                &lt;</span><span style="color:#fa4f8d">h3</span><span style="color:#F8F8F2">&gt;Filter&lt;/</span><span style="color:#fa4f8d">h3</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                {% if facets.fields.type %}</span></span>
<span class="line"><span style="color:#F8F8F2">                    &lt;</span><span style="color:#fa4f8d">div</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                        &lt;</span><span style="color:#fa4f8d">h4</span><span style="color:#F8F8F2">&gt;Type&lt;/</span><span style="color:#fa4f8d">h4</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                        &lt;</span><span style="color:#fa4f8d">ul</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                        {% for type in facets.fields.type %}</span></span>
<span class="line"><span style="color:#F8F8F2">                            &lt;</span><span style="color:#fa4f8d">li</span><span style="color:#F8F8F2">&gt;&lt;</span><span style="color:#fa4f8d">a</span><span style="color:#A6E22E"> href</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"{{ request.get_full_path }}</span><span style="color:#AE81FF">&amp;amp;</span><span style="color:#E6DB74">selected_facets=type_exact:{{ type.0|urlencode }}"</span><span style="color:#F8F8F2">&gt;{{ type.0 }}&lt;/</span><span style="color:#fa4f8d">a</span><span style="color:#F8F8F2">&gt; ({{ type.1 }})&lt;/</span><span style="color:#fa4f8d">li</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                        {% endfor %}</span></span>
<span class="line"><span style="color:#F8F8F2">                        &lt;/</span><span style="color:#fa4f8d">ul</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                    &lt;/</span><span style="color:#fa4f8d">div</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                {% endif %}</span></span>
<span class="line"><span style="color:#F8F8F2">                {% if facets.fields.location %}</span></span>
<span class="line"><span style="color:#F8F8F2">                    &lt;</span><span style="color:#fa4f8d">div</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                        &lt;</span><span style="color:#fa4f8d">h4</span><span style="color:#F8F8F2">&gt;Location&lt;/</span><span style="color:#fa4f8d">h4</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                        &lt;</span><span style="color:#fa4f8d">ul</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                        {% for location in facets.fields.location %}</span></span>
<span class="line"><span style="color:#F8F8F2">                            &lt;</span><span style="color:#fa4f8d">li</span><span style="color:#F8F8F2">&gt;&lt;</span><span style="color:#fa4f8d">a</span><span style="color:#A6E22E"> href</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"{{ request.get_full_path }}</span><span style="color:#AE81FF">&amp;amp;</span><span style="color:#E6DB74">selected_facets=location_exact:{{ location.0|urlencode }}"</span><span style="color:#F8F8F2">&gt;{{ location.0 }}&lt;/</span><span style="color:#fa4f8d">a</span><span style="color:#F8F8F2">&gt; ({{ location.1 }})&lt;/</span><span style="color:#fa4f8d">li</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                        {% endfor %}</span></span>
<span class="line"><span style="color:#F8F8F2">                        &lt;/</span><span style="color:#fa4f8d">ul</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                    &lt;/</span><span style="color:#fa4f8d">div</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                {% endif %}</span></span>
<span class="line"><span style="color:#F8F8F2">            &lt;/</span><span style="color:#fa4f8d">div</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">            &lt;</span><span style="color:#fa4f8d">div</span><span style="color:#A6E22E"> class</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"span6"</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                &lt;</span><span style="color:#fa4f8d">h3</span><span style="color:#F8F8F2">&gt;Results&lt;/</span><span style="color:#fa4f8d">h3</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                &lt;</span><span style="color:#fa4f8d">div</span><span style="color:#A6E22E"> class</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"accordion"</span><span style="color:#A6E22E"> id</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"accordion2"</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                    {% for result in page.object_list %}</span></span>
<span class="line"><span style="color:#F8F8F2">                        {% include 'search/_result_object.html' %}</span></span>
<span class="line"><span style="color:#F8F8F2">                    {% empty %}</span></span>
<span class="line"><span style="color:#F8F8F2">                        &lt;</span><span style="color:#fa4f8d">p</span><span style="color:#F8F8F2">&gt;No results found.&lt;/</span><span style="color:#fa4f8d">p</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                    {% endfor %}</span></span>
<span class="line"><span style="color:#F8F8F2">                &lt;/</span><span style="color:#fa4f8d">div</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">    </span></span>
<span class="line"><span style="color:#F8F8F2">                {% if page.has_previous or page.has_next %}</span></span>
<span class="line"><span style="color:#F8F8F2">                    &lt;</span><span style="color:#fa4f8d">div</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                        {% if page.has_previous %}&lt;</span><span style="color:#fa4f8d">a</span><span style="color:#A6E22E"> href</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"?q={{ query }}</span><span style="color:#AE81FF">&amp;amp;</span><span style="color:#E6DB74">page={{ page.previous_page_number }}"</span><span style="color:#F8F8F2">&gt;{% endif %}</span><span style="color:#AE81FF">&amp;laquo;</span><span style="color:#F8F8F2"> Previous{% if page.has_previous %}&lt;/</span><span style="color:#fa4f8d">a</span><span style="color:#F8F8F2">&gt;{% endif %}</span></span>
<span class="line"><span style="color:#F8F8F2">                        |</span></span>
<span class="line"><span style="color:#F8F8F2">                        {% if page.has_next %}&lt;</span><span style="color:#fa4f8d">a</span><span style="color:#A6E22E"> href</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"?q={{ query }}</span><span style="color:#AE81FF">&amp;amp;</span><span style="color:#E6DB74">page={{ page.next_page_number }}"</span><span style="color:#F8F8F2">&gt;{% endif %}Next </span><span style="color:#AE81FF">&amp;raquo;</span><span style="color:#F8F8F2">{% if page.has_next %}&lt;/</span><span style="color:#fa4f8d">a</span><span style="color:#F8F8F2">&gt;{% endif %}</span></span>
<span class="line"><span style="color:#F8F8F2">                    &lt;/</span><span style="color:#fa4f8d">div</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                {% endif %}</span></span>
<span class="line"><span style="color:#F8F8F2">            &lt;/</span><span style="color:#fa4f8d">div</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">        {% else %}</span></span>
<span class="line"><span style="color:#F8F8F2">            &lt;</span><span style="color:#fa4f8d">div</span><span style="color:#A6E22E"> class</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"span6"</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                {# Show some example queries to run, maybe query syntax, something else? #}</span></span>
<span class="line"><span style="color:#F8F8F2">            &lt;/</span><span style="color:#fa4f8d">div</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">        {% endif %}</span></span>
<span class="line"><span style="color:#F8F8F2">{% endblock %}</span></span>
<span class="line"><span style="color:#F8F8F2">{% endverbatim %}</span></span></code></pre>
<p>And we're done! As I said, check out the <a href="http://django-haystack.readthedocs.org/en/latest/index.html">haystack documentation</a> for more information.
Leave any questions in the comments and I'll be sure to answer them</p>
<p><a href="https://timbroder.com/images/2012/08/solr2.png"><img src="https://timbroder.com/images/2012/08/solr2.png" alt=""></a></p>
]]></content:encoded></item>
<item><title>Hiding fields in the Django admin based on permission</title><description>Quick and easy if you have one group of users that can only edit an asset, and
another group that has publishing rights</description><link>https://timbroder.com/2012/08/hiding-fields-in-the-admin-based-on-permission/</link><guid isPermaLink="false">https://timbroder.com/2012/08/hiding-fields-in-the-admin-based-on-permission</guid><pubDate>Mon, 20 Aug 2012 16:53:46 GMT</pubDate><content:encoded><![CDATA[<p>Quick and easy if you have one group of users that can only edit an asset, and
another group that has publishing rights</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="python"><code><span class="line"><span style="color:#66D9EF;font-style:italic">def</span><span style="color:#A6E22E"> remove_from_fieldsets</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F;font-style:italic">fieldsets</span><span style="color:#F8F8F2">, </span><span style="color:#FD971F;font-style:italic">fields</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#fa4f8d">    for</span><span style="color:#F8F8F2"> fieldset </span><span style="color:#fa4f8d">in</span><span style="color:#F8F8F2"> fieldsets:</span></span>
<span class="line"><span style="color:#fa4f8d">        for</span><span style="color:#F8F8F2"> field </span><span style="color:#fa4f8d">in</span><span style="color:#F8F8F2"> fields:</span></span>
<span class="line"><span style="color:#fa4f8d">            if</span><span style="color:#F8F8F2"> field </span><span style="color:#fa4f8d">in</span><span style="color:#F8F8F2"> fieldset[</span><span style="color:#AE81FF">1</span><span style="color:#F8F8F2">][</span><span style="color:#E6DB74">'fields'</span><span style="color:#F8F8F2">]:</span></span>
<span class="line"><span style="color:#F8F8F2">                new_fields </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> []</span></span>
<span class="line"><span style="color:#fa4f8d">                for</span><span style="color:#F8F8F2"> new_field </span><span style="color:#fa4f8d">in</span><span style="color:#F8F8F2"> fieldset[</span><span style="color:#AE81FF">1</span><span style="color:#F8F8F2">][</span><span style="color:#E6DB74">'fields'</span><span style="color:#F8F8F2">]:</span></span>
<span class="line"><span style="color:#fa4f8d">                    if</span><span style="color:#fa4f8d"> not</span><span style="color:#F8F8F2"> new_field </span><span style="color:#fa4f8d">in</span><span style="color:#F8F8F2"> fields:</span></span>
<span class="line"><span style="color:#F8F8F2">                        new_fields.append(new_field)</span></span>
<span class="line"><span style="color:#F8F8F2">                        </span></span>
<span class="line"><span style="color:#F8F8F2">                fieldset[</span><span style="color:#AE81FF">1</span><span style="color:#F8F8F2">][</span><span style="color:#E6DB74">'fields'</span><span style="color:#F8F8F2">] </span><span style="color:#fa4f8d">=</span><span style="color:#66D9EF;font-style:italic"> tuple</span><span style="color:#F8F8F2">(new_fields)</span></span>
<span class="line"><span style="color:#fa4f8d">                break</span></span>
<span class="line"></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">class</span><span> </span><span style="color:#A6E22E;text-decoration:underline">PositionAdmin</span><span style="color:#F8F8F2">(</span><span style="color:#A6E22E;font-style:italic;text-decoration:underline">admin</span><span style="color:#F8F8F2">.</span><span style="color:#A6E22E;font-style:italic;text-decoration:underline">ModelAdmin</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#AE81FF">    ...</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">    def</span><span style="color:#A6E22E"> get_fieldsets</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F;font-style:italic">self</span><span style="color:#F8F8F2">, </span><span style="color:#FD971F;font-style:italic">request</span><span style="color:#F8F8F2">, </span><span style="color:#FD971F;font-style:italic">obj</span><span style="color:#fa4f8d">=</span><span style="color:#AE81FF">None</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#F8F8F2">        fieldsets </span><span style="color:#fa4f8d">=</span><span style="color:#66D9EF;font-style:italic"> super</span><span style="color:#F8F8F2">(PositionAdmin, </span><span style="color:#FD971F">self</span><span style="color:#F8F8F2">).get_fieldsets(request, obj)</span></span>
<span class="line"><span style="color:#F8F8F2">    </span></span>
<span class="line"><span style="color:#fa4f8d">        if</span><span style="color:#fa4f8d"> not</span><span style="color:#F8F8F2"> request.user.is_superuser </span><span style="color:#fa4f8d">and</span><span style="color:#F8F8F2"> request.user.groups.filter(</span><span style="color:#FD971F;font-style:italic">name</span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74">'publisher'</span><span style="color:#F8F8F2">).count() </span><span style="color:#fa4f8d">==</span><span style="color:#AE81FF"> 0</span><span style="color:#F8F8F2">:</span></span>
<span class="line"><span style="color:#F8F8F2">            remove_from_fieldsets(fieldsets, (</span><span style="color:#E6DB74">'is_published'</span><span style="color:#F8F8F2">,))</span></span>
<span class="line"><span style="color:#fa4f8d">        return</span><span style="color:#F8F8F2"> fieldsets</span></span></code></pre>
]]></content:encoded></item>
<item><title>Animate an AdWhirlView from the Bottom of the Screen</title><description>If you are using AdWhirl and want the ad to slide
in from the bottom of the screen when your View loads, use this snippet:</description><link>https://timbroder.com/2012/08/animate-adwhirl-bottom/</link><guid isPermaLink="false">https://timbroder.com/2012/08/animate-adwhirl-bottom</guid><pubDate>Sat, 18 Aug 2012 00:50:47 GMT</pubDate><content:encoded><![CDATA[<p>If you are using <a href="https://www.adwhirl.com/">AdWhirl</a> and want the ad to slide
in from the bottom of the screen when your View loads, use this snippet:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="c"><code><span class="line"><span style="color:#fa4f8d">-</span><span style="color:#F8F8F2"> (</span><span style="color:#66D9EF;font-style:italic">void</span><span style="color:#F8F8F2">)viewDidLoad</span></span>
<span class="line"><span style="color:#F8F8F2">{</span></span>
<span class="line"><span style="color:#F8F8F2">    [super viewDidLoad];</span></span>
<span class="line"><span style="color:#F8F8F2">    AdWhirlView </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">adWhirlView </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> [AdWhirlView requestAdWhirlViewWithDelegate:self];</span></span>
<span class="line"><span style="color:#F8F8F2">    adWhirlView.delegate </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> self;</span></span>
<span class="line"><span style="color:#F8F8F2">    adWhirlView.frame </span><span style="color:#fa4f8d">=</span><span style="color:#A6E22E"> CGRectMake</span><span style="color:#F8F8F2">(</span><span style="color:#AE81FF">0</span><span style="color:#F8F8F2">, </span><span style="color:#AE81FF">430</span><span style="color:#fa4f8d">+</span><span style="color:#AE81FF">kAdWhirlViewHeight</span><span style="color:#F8F8F2">, </span><span style="color:#AE81FF">kAdWhirlViewWidth</span><span style="color:#F8F8F2">, </span><span style="color:#AE81FF">kAdWhirlViewHeight</span><span style="color:#F8F8F2">);</span></span>
<span class="line"><span style="color:#F8F8F2">    [self.parentViewController.view insertSubview:adWhirlView belowSubview:self.view];</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">    [UIView beginAnimations:@</span><span style="color:#fa4f8d">&amp;</span><span style="color:#F8F8F2">quot;AdWhirlIn</span><span style="color:#fa4f8d">&amp;</span><span style="color:#F8F8F2">quot; context:nil];</span></span>
<span class="line"><span style="color:#F8F8F2">    [UIView setAnimationDuration:</span><span style="color:#AE81FF">.5</span><span style="color:#F8F8F2">];</span></span>
<span class="line"><span style="color:#F8F8F2">    [UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];</span></span>
<span class="line"><span style="color:#F8F8F2">    adWhirlView.frame </span><span style="color:#fa4f8d">=</span><span style="color:#A6E22E"> CGRectMake</span><span style="color:#F8F8F2">(</span><span style="color:#AE81FF">0</span><span style="color:#F8F8F2">, </span><span style="color:#AE81FF">430</span><span style="color:#F8F8F2">, </span><span style="color:#AE81FF">kAdWhirlViewWidth</span><span style="color:#F8F8F2">, </span><span style="color:#AE81FF">kAdWhirlViewHeight</span><span style="color:#F8F8F2">);</span></span>
<span class="line"><span style="color:#F8F8F2">    [UIView commitAnimations];</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span></code></pre>
]]></content:encoded></item>
<item><title>Adding Done and Cancel buttons to an iOS number pad</title><description>There are some cases when you may want to have a "Done" or "Cancel" button on
an iOs number pad when editing a text field. This doesn't come by default, but
is easy to add. See the example snippets below, or check out the code on
github.  Sample Usage: DoneCancelNumberPadToolbar.h DoneCancelNumberPadToolbar.m Special thanks to akozl
ik for the help with delegates.</description><link>https://timbroder.com/2012/08/adding-done-and-cancel-buttons-to-an-ios-number-pad/</link><guid isPermaLink="false">https://timbroder.com/2012/08/adding-done-and-cancel-buttons-to-an-ios-number-pad</guid><pubDate>Fri, 17 Aug 2012 15:49:55 GMT</pubDate><content:encoded><![CDATA[<p>There are some cases when you may want to have a "Done" or "Cancel" button on
an iOs number pad when editing a text field. This doesn't come by default, but
is easy to add. See the example snippets below, or check out the code on
<a href="https://github.com/broderboy/iphone-DoneCancelNumberPadToolbar">github</a>.</p>
<p><a href="https://timbroder.com/images/2012/08/Done-Cancel-Iphone.png"><img src="https://timbroder.com/images/2012/08/Done-Cancel-Iphone.png" alt=""></a></p>
<p>Sample Usage:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="c"><code><span class="line"><span style="color:#94907d">//In the view controller that's going ot use the component, put this in the header after the class being extended.</span></span>
<span class="line"><span style="color:#fa4f8d">&lt;</span><span style="color:#F8F8F2">DoneCancelNumberPadToolbarDelegate</span><span style="color:#fa4f8d">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#94907d">// Then instantiate your toolbar component where it's needed</span></span>
<span class="line"><span style="color:#F8F8F2">DoneCancelNumberPadToolbar </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">toolbar </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> [[DoneCancelNumberPadToolbar alloc] initWithTextField:textField];</span></span>
<span class="line"><span style="color:#F8F8F2">toolbar.delegate </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> self;</span></span>
<span class="line"><span style="color:#F8F8F2">textField.inputAccessoryView </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> toolbar;</span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#94907d">// Finally, implement the following two delegate methods</span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#fa4f8d">#pragma mark</span><span style="color:#fa4f8d"> - DoneCancelNumberpadToolbar delegate</span></span>
<span class="line"><span style="color:#fa4f8d">-</span><span style="color:#F8F8F2">(</span><span style="color:#66D9EF;font-style:italic">void</span><span style="color:#F8F8F2">)doneCancelNumberPadToolbarDelegate:(DoneCancelNumberPadToolbar </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">)controller didClickDone:(UITextField </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">)textField</span></span>
<span class="line"><span style="color:#F8F8F2">{</span></span>
<span class="line"><span style="color:#A6E22E">    NSLog</span><span style="color:#F8F8F2">(@</span><span style="color:#fa4f8d">&amp;</span><span style="color:#F8F8F2">quot;</span><span style="color:#fa4f8d">%</span><span style="color:#F8F8F2">@</span><span style="color:#fa4f8d">&amp;</span><span style="color:#F8F8F2">quot;, textField.text);</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#fa4f8d">-</span><span style="color:#F8F8F2">(</span><span style="color:#66D9EF;font-style:italic">void</span><span style="color:#F8F8F2">)doneCancelNumberPadToolbarDelegate:(DoneCancelNumberPadToolbar </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">)controller didClickCancel:(UITextField </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">)textField</span></span>
<span class="line"><span style="color:#F8F8F2">{</span></span>
<span class="line"><span style="color:#A6E22E">    NSLog</span><span style="color:#F8F8F2">(@</span><span style="color:#fa4f8d">&amp;</span><span style="color:#F8F8F2">quot;Canceled: </span><span style="color:#fa4f8d">%</span><span style="color:#F8F8F2">@</span><span style="color:#fa4f8d">&amp;</span><span style="color:#F8F8F2">quot;, [textField description]);</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span></code></pre>
<p>DoneCancelNumberPadToolbar.h</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="plaintext"><code><span class="line"><span>#import &lt;UIKit/UIKit.h&gt;</span></span>
<span class="line"><span></span></span>
<span class="line"><span>@class DoneCancelNumberPadToolbar;</span></span>
<span class="line"><span></span></span>
<span class="line"><span>@protocol DoneCancelNumberPadToolbarDelegate &lt;NSObject&gt;</span></span>
<span class="line"><span></span></span>
<span class="line"><span>-(void)doneCancelNumberPadToolbarDelegate:(DoneCancelNumberPadToolbar *)controller didClickDone:(UITextField *)textField;</span></span>
<span class="line"><span>-(void)doneCancelNumberPadToolbarDelegate:(DoneCancelNumberPadToolbar *)controller didClickCancel:(UITextField *)textField;</span></span>
<span class="line"><span></span></span>
<span class="line"><span>@end</span></span>
<span class="line"><span></span></span>
<span class="line"><span>@interface DoneCancelNumberPadToolbar : UIToolbar</span></span>
<span class="line"><span>{</span></span>
<span class="line"><span>    UITextField* textField;</span></span>
<span class="line"><span>}</span></span></code></pre>
<p>DoneCancelNumberPadToolbar.m</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="c"><code><span class="line"><span style="color:#fa4f8d">#import</span><span style="color:#F8F8F2"> &amp;quot;DoneCancelNumberPadToolbar.h&amp;quot;</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">@implementation DoneCancelNumberPadToolbar</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">@synthesize delegate;</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">-</span><span style="color:#F8F8F2"> (id) initWithTextField:(UITextField </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">)aTextField</span></span>
<span class="line"><span style="color:#F8F8F2">{</span></span>
<span class="line"><span style="color:#F8F8F2">    self </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> [super initWithFrame:</span><span style="color:#A6E22E">CGRectMake</span><span style="color:#F8F8F2">(</span><span style="color:#AE81FF">0</span><span style="color:#F8F8F2">, </span><span style="color:#AE81FF">0</span><span style="color:#F8F8F2">, </span><span style="color:#AE81FF">320</span><span style="color:#F8F8F2">, </span><span style="color:#AE81FF">50</span><span style="color:#F8F8F2">)];</span></span>
<span class="line"><span style="color:#fa4f8d">    if</span><span style="color:#F8F8F2"> (self) {</span></span>
<span class="line"><span style="color:#F8F8F2">        textField </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> aTextField;</span></span>
<span class="line"><span style="color:#F8F8F2">        self.barStyle </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> UIBarStyleBlackTranslucent;</span></span>
<span class="line"><span style="color:#F8F8F2">        self.items </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> [NSArray arrayWithObjects:</span></span>
<span class="line"><span style="color:#F8F8F2">                      [[UIBarButtonItem alloc]initWithTitle:@</span><span style="color:#fa4f8d">&amp;</span><span style="color:#F8F8F2">quot;Cancel</span><span style="color:#fa4f8d">&amp;</span><span style="color:#F8F8F2">quot;</span></span>
<span class="line"><span style="color:#F8F8F2">                                                      style:UIBarButtonItemStyleBordered</span></span>
<span class="line"><span style="color:#F8F8F2">                                                     target:self</span></span>
<span class="line"><span style="color:#F8F8F2">                                                     action:@</span><span style="color:#A6E22E">selector</span><span style="color:#F8F8F2">(cancelNumberPad)],</span></span>
<span class="line"><span style="color:#F8F8F2">                      [[UIBarButtonItem alloc]initWithBarButtonSystemItem:UIBarButtonSystemItemFlexibleSpace</span></span>
<span class="line"><span style="color:#F8F8F2">                                                                   target:nil action:nil],</span></span>
<span class="line"><span style="color:#F8F8F2">                      [[UIBarButtonItem alloc]initWithTitle:@</span><span style="color:#fa4f8d">&amp;</span><span style="color:#F8F8F2">quot;Done</span><span style="color:#fa4f8d">&amp;</span><span style="color:#F8F8F2">quot;</span></span>
<span class="line"><span style="color:#F8F8F2">                                                      style:UIBarButtonItemStyleDone</span></span>
<span class="line"><span style="color:#F8F8F2">                                                     target:self</span></span>
<span class="line"><span style="color:#F8F8F2">                                                     action:@</span><span style="color:#A6E22E">selector</span><span style="color:#F8F8F2">(doneWithNumberPad)],</span></span>
<span class="line"><span style="color:#F8F8F2">                      nil];</span></span>
<span class="line"><span style="color:#F8F8F2">        [self sizeToFit];</span></span>
<span class="line"><span style="color:#F8F8F2">        </span></span>
<span class="line"><span style="color:#F8F8F2">    }</span></span>
<span class="line"><span style="color:#fa4f8d">    return</span><span style="color:#F8F8F2"> self;</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">-</span><span style="color:#F8F8F2">(</span><span style="color:#66D9EF;font-style:italic">void</span><span style="color:#F8F8F2">)cancelNumberPad</span></span>
<span class="line"><span style="color:#F8F8F2">{</span></span>
<span class="line"><span style="color:#F8F8F2">    [textField resignFirstResponder];</span></span>
<span class="line"><span style="color:#F8F8F2">    textField.text </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> @</span><span style="color:#fa4f8d">&amp;</span><span style="color:#F8F8F2">quot;</span><span style="color:#fa4f8d">&amp;</span><span style="color:#F8F8F2">quot;;</span></span>
<span class="line"><span style="color:#F8F8F2">    [self.delegate doneCancelNumberPadToolbarDelegate:self didClickCancel:textField];</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">-</span><span style="color:#F8F8F2">(</span><span style="color:#66D9EF;font-style:italic">void</span><span style="color:#F8F8F2">)doneWithNumberPad</span></span>
<span class="line"><span style="color:#F8F8F2">{</span></span>
<span class="line"><span style="color:#F8F8F2">    [textField resignFirstResponder];</span></span>
<span class="line"><span style="color:#F8F8F2">    [self.delegate doneCancelNumberPadToolbarDelegate:self didClickDone:textField];</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span>
<span class="line"><span style="color:#F8F8F2">@end</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">@</span><span style="color:#A6E22E">property</span><span style="color:#F8F8F2"> (nonatomic, weak) id </span><span style="color:#fa4f8d">&lt;</span><span style="color:#F8F8F2">DoneCancelNumberPadToolbarDelegate</span><span style="color:#fa4f8d">&gt;</span><span style="color:#F8F8F2"> delegate;</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">-</span><span style="color:#F8F8F2"> (id) initWithTextField:(UITextField </span><span style="color:#fa4f8d">*</span><span style="color:#F8F8F2">)textField;</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">@end</span></span></code></pre>
<p>Special thanks to <a href="http://www.reddit.com/r/iOSProgramming/comments/ydrzv/adding_done_and_cancel_buttons_to_an_ios_number/c5v4rpt">akozl
ik</a> for the help with delegates.</p>
]]></content:encoded></item>
<item><title>Improve your Magento workflow: Use git or mercurial</title><description>Most of our new projects at work are on mercurial and I've moved most of my
personal projects over to git.  We do, unfortunately, still have one Magento
install that lives in our old subversion repository.  If you've ever tried to
work with a project the size of Magento in SVN with branching, you know the
kind of pain this can cause. My machine at work is no slouch. An i7, 8 gigs of
ram, 256 megs graphics card, and an SSD. Perfect for any number of high
performance or online games, compiling, or video…</description><link>https://timbroder.com/2012/07/improve-your-magento-workflow-use-git-or-mercurial/</link><guid isPermaLink="false">https://timbroder.com/2012/07/improve-your-magento-workflow-use-git-or-mercurial</guid><pubDate>Tue, 31 Jul 2012 13:18:07 GMT</pubDate><content:encoded><![CDATA[<p>Most of our new projects at work are on mercurial and I've moved most of my
personal projects over to git.&nbsp; We do, unfortunately, still have one Magento
install that lives in our old subversion repository.&nbsp; If you've ever tried to
work with a project the size of Magento in SVN with branching, you know the
kind of pain this can cause. My machine at work is no slouch. An i7, 8 gigs of
ram, 256 megs graphics card, and an SSD. Perfect for any number of high
performance or <a href="http://sv.partypoker.com/">online games</a>, compiling, or video
editing. Yet, switching branches on the mercurial project brings it to its
knees.&nbsp; It's honestly better to go shoot a quick game of pool while its
switching rather then try to get anything done.&nbsp; Eventually... we'll get it
into mercurial.   Anyway, to migrate a project from svn to git, use the
following command: [code]git svn clone <a href="http://svn/repo/here/trunk%5B/code">http://svn/repo/here/trunk[/code</a>] To
migrate a project from svn to hg, use the following command:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="plaintext"><code><span class="line"><span>hg convert http://svn/repo/here/trunk</span></span></code></pre>
<p>Branching is now much, much easier and if
that isn't enough for you to switch here are a few more reasons:</p>
<ul>
<li>git is much easier to use than when it first came out</li>
<li>merging is exponentially smoother than SVN</li>
<li>distributed: you can branch, merge, commit, revert all locally without effecting your team until you push. All this happens locally = faster</li>
<li>you can work offline</li>
<li>can centralize only if you want to</li>
<li>branching takes on a whole new level. Create custom workflows base on release, or bug, or whatever you want</li>
<li>merging is exponentially smoother than SVN (yes, I listed this twice)</li>
<li>visual branch diagrams</li>
</ul>
]]></content:encoded></item>
<item><title>iOS Game Engines</title><description>After playing Rovio's new Amazing Alex game
for a while, and seeing this article on BGR this morning, it made me remember some old
success stories that I had read about, and I got to thinking about what it
would take to develop a game for iOS. More just
to see what options were out there than anything else; I know nothing about
game programming. Side note: Amazing Alex is great. If you have ever played
the incredible machine, you'll feel right at home. One success story I remember is Ethan Nicholas and…</description><link>https://timbroder.com/2012/07/ios-game-engines/</link><guid isPermaLink="false">https://timbroder.com/2012/07/ios-game-engines</guid><pubDate>Mon, 30 Jul 2012 20:06:21 GMT</pubDate><content:encoded><![CDATA[<p>After playing Rovio's new <a href="http://teaser.amazingalex.com/">Amazing Alex</a> game
for a while, and seeing <a href="http://www.bgr.com/2012/07/30/amazing-alex-sales-app-store/">this article</a> on BGR this morning, it made me remember some old
success stories that I had read about, and I got to thinking about what it
would take to develop a <a href="http://sv.partypoker.com/">game</a> for iOS. More just
to see what options were out there than anything else; I know nothing about
game programming. Side note: Amazing Alex is great. If you have ever played
the incredible machine, you'll feel right at home.</p>
<p>One success story I remember is Ethan Nicholas and iShoot, which made him over $800k. Check out
how he did it, and how to get started with iOS here: <a href="http://www.lookingforiphone.com/2012/05/17/iphone-developer-in-eight-easy-steps/">iPhone developer in
eight easy steps</a>. If he can do it... why not? But, I digress.   ManiacDev
has great lists of both <a href="http://maniacdev.com/2009/08/the-open-source-iphone-game-engine-comparison/">Open Source</a> and <a href="http://maniacdev.com/2009/09/the-commercial-iphone-game-engine-comparison-3d-and-2d/">Commercial
</a>graphic engines for iOS. As far as free goes, <a href="http://www.cocos2d-iphone.org/">cocos2d</a> and <a href="http://gamua.com/sparrow/">sparrow</a> both jumped out
at me. Sparrow seemed like the fastest ramp-up time and after a quick look at
it's <a href="http://wiki.sparrow-framework.org/manual/display_objects">api</a>, felt
familiar. Without diving too much into the examples, it seems to follow
similar patterns to some of the python/js UI frameworks I've used.
Unfortunately, the <a href="http://forum.sparrow-framework.org/">forum</a> seems pretty
sparse. Cocos2d, while looking like a steeper learning curve, seems a little
more mature and a much more engaged community. It's forum has 85% more posts
than sparrow, which coming from a busy php/python community, I like to see. As
for commercial engines, after reading about how Infinity Blade was Epic's most
<a href="http://www.geek.com/articles/mobile/infinity-blade-is-epics-most-profitable-game-20120627/">profitable game ever</a>, and seeing that a license would only be
$99, the <a href="http://www.udk.com/">Unreal Development Kit For iOS</a> is totally the
way I would go.</p>
<p>[sponsored post]</p>
]]></content:encoded></item>
<item><title>Refreshing all the css on a page using jQuery</title><description>I have a client project where we let them customize some css attributes in the
admin, show them the updates in a small preview area, then save the changes
back to the server. The custom css attributes are in a small css file that is
generated on pageload and then cached to the server. All of the admin
functionality is done through ajax, so I wanted a good way to update the UI of
the site without having to do a full pageload. The below function was a great
help.</description><link>https://timbroder.com/2012/07/refreshing-all-the-css-on-a-page-using-jquery/</link><guid isPermaLink="false">https://timbroder.com/2012/07/refreshing-all-the-css-on-a-page-using-jquery</guid><pubDate>Mon, 16 Jul 2012 19:16:03 GMT</pubDate><content:encoded><![CDATA[<p>I have a client project where we let them customize some css attributes in the
admin, show them the updates in a small preview area, then save the changes
back to the server. The custom css attributes are in a small css file that is
generated on pageload and then cached to the server. All of the admin
functionality is done through ajax, so I wanted a good way to update the UI of
the site without having to do a full pageload. The below function was a great
help.</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="javascript"><code><span class="line"><span style="color:#66D9EF;font-style:italic">function</span><span style="color:#A6E22E"> reloadStylesheets</span><span style="color:#F8F8F2">() {</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">    var</span><span style="color:#F8F8F2"> queryString </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> '?reload='</span><span style="color:#fa4f8d"> +</span><span style="color:#fa4f8d"> new</span><span style="color:#A6E22E"> Date</span><span style="color:#F8F8F2">().</span><span style="color:#A6E22E">getTime</span><span style="color:#F8F8F2">();</span></span>
<span class="line"><span style="color:#A6E22E">    $</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'link[rel=&amp;quot;stylesheet&amp;quot;]'</span><span style="color:#F8F8F2">).</span><span style="color:#A6E22E">each</span><span style="color:#F8F8F2">(</span><span style="color:#66D9EF;font-style:italic">function</span><span style="color:#F8F8F2"> () {</span></span>
<span class="line"><span style="color:#FD971F">        this</span><span style="color:#F8F8F2">.href </span><span style="color:#fa4f8d">=</span><span style="color:#FD971F"> this</span><span style="color:#F8F8F2">.href.</span><span style="color:#A6E22E">replace</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">/</span><span style="color:#AE81FF">\?.</span><span style="color:#fa4f8d">*|$</span><span style="color:#E6DB74">/</span><span style="color:#F8F8F2">, queryString);</span></span>
<span class="line"><span style="color:#F8F8F2">    });</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span></code></pre>
]]></content:encoded></item>
<item><title>Important Magento Security Update – Zend Platform Vulnerability</title><description>While doing routine sanity checks, on of our QA Engineers, Sammy Shaar, was
alerted about an important Magento security update. The
vulnerability potentially allows an attacker to read any file on the web
server where the Zend XMLRPC functionality is enabled.
This might include password files, configuration files, and possibly even
databases if they are stored on the same machine as the Magento web server. To
see if you site has been affected, please see this page.
Luckily, Magento has released patches for…</description><link>https://timbroder.com/2012/07/important-magento-security-update-zend-platform-vulnerability/</link><guid isPermaLink="false">https://timbroder.com/2012/07/important-magento-security-update-zend-platform-vulnerability</guid><pubDate>Fri, 06 Jul 2012 18:47:04 GMT</pubDate><content:encoded><![CDATA[<p>While doing routine sanity checks, on of our QA Engineers, Sammy Shaar, was
alerted about an important Magento <a href="http://by.ai/MnzJ">security update</a>. The
vulnerability potentially allows an attacker to read any file on the web
server where the <a href="http://by.ai/rk3s">Zend XMLRPC</a> functionality is enabled.
This might include password files, configuration files, and possibly even
databases if they are stored on the same machine as the Magento web server. To
see if you site has been affected, please see <a href="http://by.ai/CpYr">this page</a>.
Luckily, Magento has released patches for all supported versions:</p>
<ul>
<li>Magento Enterprise Edition and Professional Edition merchants: You may access the Zend Security Upgrade patch from Patches &amp; Support for your product in the Downloads section of your Magento account. Account log-in is required.<a href="http://www.magentocommerce.com/products/customer/account/" title="Download"> Download</a></li>
<li>Magento Community Edition merchants:<a href="http://www.magentocommerce.com/downloads/assets/1.7.0.2/CE_1.4.0.0-1.4.1.1.patch" title="Community Edition 1.4.0.0 through 1.4.1.1"> Community Edition 1.4.0.0 through 1.4.1.1</a><a href="http://www.magentocommerce.com/downloads/assets/1.7.0.2/CE_1.4.2.0.patch" title="Community Edition 1.4.2.0"> Community Edition 1.4.2.0</a><a href="http://www.magentocommerce.com/downloads/assets/1.7.0.2/CE_1.5.0.0-1.7.0.1.patch" title="Community Edition 1.5.0.0 through 1.7.0.1"> Community Edition 1.5.0.0 through 1.7.0.1</a></li>
</ul>
<p>To install the patch, place the patch file in the root of your Magento site
and run the following command: patch -p0 &lt; zendxml_fix.patch If you don't
have ssh access or patch installed on your machine, please see this stack
overflow <a href="http://by.ai/1LtK">post </a>for alternative methods.</p>
]]></content:encoded></item>
<item><title>Setting up Office 365 email on Android</title><description></description><link>https://timbroder.com/2012/05/setting-office-365-email-android/</link><guid isPermaLink="false">https://timbroder.com/2012/05/setting-office-365-email-android</guid><pubDate>Fri, 25 May 2012 16:42:48 GMT</pubDate><content:encoded><![CDATA[<p><a href="https://timbroder.com/images/2012/05/Screenshot_2012-05-24-14-05-231.png"><img src="https://timbroder.com/images/2012/05/Screenshot_2012-05-24-14-05-231.png" alt=""></a></p>
]]></content:encoded></item>
<item><title>Making virtualenv on windows with powershell a little cleaner</title><description>While I code on a mac at home, I can't live without my giant dual screens and
solid state drive at work so I'm on a windows 7 box.  Most of the time it's
fine, does everything I need, and I'm happy.  I became full of rage for the
first time last week trying to properly get virtualenv to play nice with
powershell.  (If you code on windows and are in the terminal a lot, switch to
powershell, its great and comes with windows 7. There is a download for
Windows XP) I'm not going to recap how to set up virtualenv…</description><link>https://timbroder.com/2012/05/making-virtualenv-on-windows-with-powershell-a-little-cleaner/</link><guid isPermaLink="false">https://timbroder.com/2012/05/making-virtualenv-on-windows-with-powershell-a-little-cleaner</guid><pubDate>Tue, 22 May 2012 15:27:45 GMT</pubDate><content:encoded><![CDATA[<p>While I code on a mac at home, I can't live without my giant dual screens and
solid state drive at work so I'm on a windows 7 box.&nbsp; Most of the time it's
fine, does everything I need, and I'm happy.&nbsp; I became full of rage for the
first time last week trying to properly get virtualenv to play nice with
powershell.&nbsp; (If you code on windows and are in the terminal a lot, switch to
powershell, its great and comes with windows 7. There is a download for
Windows XP) I'm not going to recap how to set up virtualenv for your project
as there is a great walk through on that
<a href="http://www.saltycrane.com/blog/2009/05/notes-using-pip-and-virtualenv-django/">here</a>.&nbsp; The issue on windows is around when you want to activate your
project.&nbsp; Powershell has a restricted execution policy turned on by default.
The manual way around this is to run powershell as an administrator, and run
this: [code] Set-ExecutionPolicy Unrestricted [/code] Works, but that's an
extra click.&nbsp; You can also change this value permanently in the registry at
the key listed below, but that didn't seem to stick when opening powershell
through <a href="http://www.launchy.net/">launchy</a> [code]
HKLM\Software\Microsoft\PowerShell\1\ShellIds\Microsoft.PowerShell [/code]
Enter my hacked up solution. Create a shortcut for powershell with these
parameters:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="plaintext"><code><span class="line"><span>Target: %SystemRoot%\syswow64\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy</span></span>
<span class="line"><span>Unrestricted Start In: %HOMEDRIVE%%HOMEPATH% </span></span></code></pre>
<p>Then, if your workspace and projects are set up relatively the same, you can create a powershell script (or a cmd script if not using powershell), named workon.ps1 that looks
something like this:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="plaintext"><code><span class="line"><span>$ENV:PYTHONPATH="" </span></span>
<span class="line"><span>cd C:\Users\tbroder\workspace\$args\ .\myenv\Scripts\activate</span></span></code></pre>
<p>I threw
this in my C:\Python26\Scripts folder.&nbsp; It assumes your project lives in a
workspace folder, that your project name is a single word, and that all of
your virtualenvs are called myenv.&nbsp; Example of using it below:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="plaintext"><code><span class="line"><span>Windows PowerShell Copyright (C) 2009 Microsoft Corporation. All rights reserved. PS</span></span>
<span class="line"><span>C:\Users\tbroder&amp;gt; workon gsb (myenv) PS C:\Users\tbroder\workspace\gsb&amp;gt;</span></span></code></pre>
]]></content:encoded></item>
<item><title>Developing with multiple versions of Django on windows</title><description>At work, we have sites that use
various versions of Django, so there is a
need to switch packages.  On my mac I use
virtualenv to handle this,
but I've never quite gotten it to play nice with windows, and just switching
Django versions has sufficed so far. If you can set up virtualenv, that's a
much better solution Download junction (think symbolic links for windows). Put the executable somewhere in your path. I put it in my Python scripts folder  Plan out your directory structure: Make sure you don't have…</description><link>https://timbroder.com/2012/04/developing-with-multiple-versions-of-django-on-windows/</link><guid isPermaLink="false">https://timbroder.com/2012/04/developing-with-multiple-versions-of-django-on-windows</guid><pubDate>Thu, 19 Apr 2012 16:47:46 GMT</pubDate><content:encoded><![CDATA[<p>At <a href="https://www.alexanderinteractive.com/">work</a>, we have sites that use
various versions of <a href="https://www.djangoproject.com/">Django</a>, so there is a
need to switch packages.&nbsp; On my mac I use
<a href="http://www.virtualenv.org/en/latest/index.html">virtualenv</a> to handle this,
but I've never quite gotten it to play nice with windows, and just switching
Django versions has sufficed so far. If you can set up virtualenv, that's a
much better solution</p>
<ol>
<li>
<p>Download <a href="http://technet.microsoft.com/en-us/sysinternals/bb896768">junction</a> (think symbolic links for windows). Put the executable somewhere in your path. I put it in my Python scripts folder <code>(C:\Python26\Scripts)</code></p>
</li>
<li>
<p>Plan out your directory structure: Make sure you don't have any stock django eggs or folders in your site-packages folder</p>
</li>
<li>
<p>Create a django_veresions folder in site-packages <code>(C:\Python26\Lib\site-packages\django_versions)</code></p>
</li>
<li>
<p>In this folder I put my different django installs</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="plaintext"><code><span class="line"><span>C:\Python26\Lib\site-packages\django_versions\1.1\django</span></span>
<span class="line"><span>C:\Python26\Lib\site-packages\django_versions\1.3\django</span></span>
<span class="line"><span>C:\Python26\Lib\site-packages\django_versions\1.4\django</span></span></code></pre>
</li>
<li>
<p>I also put a txt file inside the django folder to easily see what version is there (this will be helpful later to double check)</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="plaintext"><code><span class="line"><span>C:\Python26\Lib\site-packages\django_versions\1.4\django\1.4.txt</span></span></code></pre>
</li>
<li>
<p>Create a file called djangoversion.cmd and drop it in C:\Python26\Scripts</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="plaintext"><code><span class="line"><span>junction -d C:\Python26\Lib\site-packages\django junction</span></span>
<span class="line"><span>C:\Python26\Lib\site-packages\django</span></span>
<span class="line"><span>C:\Python26\Lib\site-packages\django_versions\%1\django</span></span></code></pre>
</li>
<li>
<p>The first line removes any links that may have been there. The second line creates a new link to the version you'll pass in.</p>
</li>
<li>
<p>Now, to switch versions, just run this from the command line:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="plaintext"><code><span class="line"><span>djangoversion 1.4</span></span>
<span class="line"><span>PS C:\Users\tbroder&gt; djangoversion 1.4</span></span>
<span class="line"><span>C:\Users\tbroder&gt;junction -d</span></span>
<span class="line"><span>C:\Python26\Lib\site-packages\django Junction v1.06 - Windows junction creator and reparse point viewer Copyright (C) 2000-2010 Mark Russinovich Sysinternals - www.sysinternals.com Deleted</span></span>
<span class="line"><span>C:\Python26\Lib\site-packages\django.</span></span>
<span class="line"><span>C:\Users\tbroder&gt;junction C:\Python26\Lib\site-packages\django</span></span>
<span class="line"><span>C:\Python26\Lib\site-packages\django_versions\1.4\django Junction v1.06 - Windows junction creator and reparse point viewer Copyright (C) 2000-2010 Mark Russinovich Sysinternals - www.sysinternals.com Created:</span></span>
<span class="line"><span>C:\Python26\Lib\site-packages\django Targetted at:</span></span>
<span class="line"><span>C:\Python26\Lib\site-packages\django_versions\1.4\django PS C:\Users\tbroder&gt;</span></span></code></pre>
</li>
<li>
<p>Switch as needed</p>
</li>
</ol>
]]></content:encoded></item>
<item><title>Sync side-loaded content between your Kindle and other devices</title><description>I read a lot of books on my kindle that I got from other sources, mostly
Manning and
O'Rielly, but these won't sync
between my phone and my kindle.  Only books purchased from Amazon will sync
between devices. Again, Calibre to the rescue. For this to work, the book must already
exist on the kindle and be sold through Amazon.  The example book I'm going to
use is Version Control with
Git. Add the book to your Calibre library Update any needed metadata. Jump over to Amazon and open the book's page Make sure…</description><link>https://timbroder.com/2012/04/sync-side-loaded-content-between-your-kindle-and-other-devices/</link><guid isPermaLink="false">https://timbroder.com/2012/04/sync-side-loaded-content-between-your-kindle-and-other-devices</guid><pubDate>Mon, 16 Apr 2012 17:35:23 GMT</pubDate><content:encoded><![CDATA[<p>I read a lot of books on my kindle that I got from other sources, mostly
<a href="http://www.manning.com/catalog/mobile/">Manning</a> and
<a href="http://shop.oreilly.com/category/ebooks.do">O'Rielly</a>, but these won't sync
between my phone and my kindle. &nbsp;Only books purchased from Amazon will sync
between devices. <a href="https://timbroder.com/2011/01/getting-it-onto-the-kindle/">Again</a>, Calibre to the rescue. For this to work, the book must already
exist on the kindle and be sold through Amazon. &nbsp;The example book I'm going to
use is&nbsp;<a href="http://shop.oreilly.com/product/9780596520137.do">Version Control with
Git</a>.</p>
<ol>
<li>Add the book to your Calibre library</li>
<li>Update any needed metadata.</li>
<li>Jump over to Amazon and open the <a href="http://www.amazon.com/Version-Control-Git-collaborative-ebook/dp/B002L4EXHO/ref=tmm_kin_title_0?ie=UTF8&amp;m=AG56TWVU5XWC2&amp;qid=1334596465&amp;sr=1-1">book's page</a></li>
<li>Make sure you are on the Kindle edition of the book. &nbsp;If there is no kindle edition, this will not work.</li>
<li>Make note of the ASIN code. <img src="https://timbroder.com/images/remote/2012-04-16-sync-side-loaded-content-between-your-kindle-and-other-devices/7084540211_05042bf0fc_o.png" alt=""></li>
<li>Take this code and use it as the ISBN number in Calibre (it will not like this, that's ok) <img src="https://timbroder.com/images/remote/2012-04-16-sync-side-loaded-content-between-your-kindle-and-other-devices/7084540251_5ce233f54c_o.png" alt=""></li>
<li>Convert the book to .mobi (Even if it is already in .mobi format, you have to do this)</li>
<li>Copy the book to your kindle via USB. Either by dragging it in your file manager or through Calibre. Do not use email, wifi, or 3g to do this, it will remove the ASIN code that we just wrapped onto the document. Once it is on the device syncing over wifi/3g will function as normal)</li>
<li>Using USB, copy the file to your device. For android this is the kindle folder on your SD card. I haven't tested but doing through iTunes is supposed to work for an iphone/ipad.</li>
</ol>
<p>Enjoy!</p>
]]></content:encoded></item>
<item><title>Where the new Ice Cream Sandwich build of dropbox stores files</title><description>In the old version of dropbox, you used to be able to long press &gt; download
a file.  This has been replaced by "favorite". Instead of going to:
 These files are now stored in:</description><link>https://timbroder.com/2011/12/where-the-new-ice-cream-sandwich-build-of-dropbox-stores-files/</link><guid isPermaLink="false">https://timbroder.com/2011/12/where-the-new-ice-cream-sandwich-build-of-dropbox-stores-files</guid><pubDate>Sat, 24 Dec 2011 16:21:12 GMT</pubDate><content:encoded><![CDATA[<p>In the old version of dropbox, you used to be able to long press &gt; download
a file. &nbsp;This has been replaced by "favorite". Instead of going to:
<code>/sdcard/dropbox</code> These files are now stored in: <code>/sdcard/Android/data/com.dropbox.android/files/scratch</code></p>
]]></content:encoded></item>
<item><title>What do you listen to? (podcast edition)</title><description>I tend to listen to a decent number of podcasts. Usually while doing the
dishes, running, or something or other in the park.  Some are book/comic
related and help me keep up to date with what's coming out and how some books
were that I didn't have time to read.  Others are tech and help me get other
opinions on the new libraries or trends.  I've found a number of fun libraries
/how-tos from listening. Check them out below, what do you listen to? Tech Sitepoint - Web Dev news, tutorials, interviews  http…</description><link>https://timbroder.com/2011/10/what-do-you-listen-to-podcast-edition/</link><guid isPermaLink="false">https://timbroder.com/2011/10/what-do-you-listen-to-podcast-edition</guid><pubDate>Fri, 21 Oct 2011 16:25:07 GMT</pubDate><content:encoded><![CDATA[<p>I tend to listen to a decent number of podcasts. Usually while doing the
dishes, running, or something or other in the park.&nbsp; Some are book/comic
related and help me keep up to date with what's coming out and how some books
were that I didn't have time to read.&nbsp; Others are tech and help me get other
opinions on the new libraries or trends.&nbsp; I've found a number of fun libraries
/how-tos from listening. Check them out below, what do you listen to? Tech</p>
<ul>
<li>Sitepoint - Web Dev news, tutorials, interviews <a href="http://www.sitepoint.com/"> http://www.sitepoint.com/</a></li>
<li>Official jQuery podcast* - Javascript library <a href="http://podcast.jquery.com/">http://podcast.jquery.com/</a></li>
<li>yayQuery* - Front End Dev podcast <a href="http://yayquery.com/"> http://yayquery.com/</a></li>
<li>djangodose* - Had great news about jquery, but I think its dead <a href="http://djangodose.com/">http://djangodose.com/</a></li>
<li>techzinglive - Random tech/hacker news <a href="http://techzinglive.com/">http://techzinglive.com/</a></li>
<li>The Dev Show - Ruby,Php, Java, Javascript <a href="http://5by5.tv/devshow">http://5by5.tv/devshow</a></li>
<li>The changelog - Open source news <a href="http://thechangelog.com/"> http://thechangelog.com/</a></li>
<li>ATX Web Show - web stuff <a href="http://atxwebshow.com/">http://atxwebshow.com/</a></li>
<li>The javascript show* - great js news and library coverage <a href="http://javascriptshow.com/">http://javascriptshow.com/</a></li>
</ul>
<p>Non Tech</p>
<ul>
<li>iFanboy* - Comic book news and reviews <a href="http://javascriptshow.com/">http://ifanboy.com/</a></li>
<li>Sword and Laser* - Science Fiction and Fantasy book club <a href="http://www.swordandlaser.com/">http://www.swordandlaser.com/</a></li>
<li>11 O'Clock Comics - Comic news and culture <a href="http://bullpenbulletinspodcast.com/">http://bullpenbulletinspodcast.com/</a></li>
<li>Word Balloon - Comic creator interviews <a href="http://wordballoon.com/"> http://wordballoon.com/</a></li>
<li>Fuzzy Typewriter - Random media / culture <a href="http://fuzzytypewriter.wordpress.com/"> http://fuzzytypewriter.wordpress.com/</a></li>
</ul>
<p>** I listen to every episode, others I cherry-pick</p>
]]></content:encoded></item>
<item><title>Creating a stateless request in Magento</title><description>Have you ever wanted to create a stateless request in Magento? Something that doesn't touch any of Magento's sessions?  We were having issues with some of the ajax calls on our cart and checkout pages mucking with the user's cart and had get stateless on these calls.  The issue we were having was our checkout page was loading, then a javascript include was going out and bringing code from a 3rd party relevance engine into our dom, which was in turn calling back an ajax request to our servers.  This issue…</description><link>https://timbroder.com/2011/10/1060/</link><guid isPermaLink="false">https://timbroder.com/2011/10/1060</guid><pubDate>Mon, 17 Oct 2011 16:22:06 GMT</pubDate><content:encoded><![CDATA[<p>Have you ever wanted to create a stateless request in Magento? Something that doesn't touch any of Magento's sessions?&nbsp; We were having issues with some of the ajax calls on our cart and checkout pages mucking with the user's cart and had get stateless on these calls.&nbsp; The issue we were having was our checkout page was loading, then a javascript include was going out and bringing code from a 3rd party relevance engine into our dom, which was in turn calling back an ajax request to our servers.&nbsp; This issue with this being that at the start of the page load, the checkout session was being set to a certain state.&nbsp; This state was then being sent through the rest of the page load, and the ajax calls. Unfortunately, by the time the ajax call got back to our server, the session was different in both locations, creating a race condition.&nbsp; The ajax request usually won, removing the work the full page load had done with trying to process checkout.&nbsp; The good news was there was nothing in the ajax call that needed to touch the session, it was just some data lookup. So, nix the session part of that call, and our troubles should be over... Magento's api controller is the only place that implements a stateless request this but its fairly easy to do (after a bit of digging).</p>
<p>As long as Mage_Core_Controller_Varien_Action is a parent in your controller's hierchy, you are good to go (it probably is).&nbsp; This class has a const FLAG_NO_START_SESSION which looks promising. Digging into the code a little we see that it controls whether cookies are processed or the session is started:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="php"><code><span class="line"><span style="color:#fa4f8d">&lt;?</span><span style="color:#AE81FF">php</span></span>
<span class="line"><span style="color:#fa4f8d">...</span></span>
<span class="line"><span style="color:#fa4f8d">        if</span><span style="color:#F8F8F2"> (</span><span style="color:#fa4f8d">!</span><span style="color:#FD971F">$this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">getFlag</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">''</span><span style="color:#F8F8F2">, </span><span style="color:#66D9EF;font-style:italic">self</span><span style="color:#fa4f8d">::</span><span style="color:#AE81FF">FLAG_NO_START_SESSION</span><span style="color:#F8F8F2">)) {</span></span>
<span class="line"><span style="color:#F8F8F2">            $checkCookie </span><span style="color:#fa4f8d">=</span><span style="color:#66D9EF"> in_array</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F">$this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">getRequest</span><span style="color:#F8F8F2">()</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">getActionName</span><span style="color:#F8F8F2">(), </span><span style="color:#FD971F">$this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">_cookieCheckActions);</span></span>
<span class="line"><span style="color:#F8F8F2">            $checkCookie </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> $checkCookie </span><span style="color:#fa4f8d">&amp;</span><span style="color:#AE81FF">amp</span><span style="color:#F8F8F2">;</span><span style="color:#fa4f8d">&amp;</span><span style="color:#AE81FF">amp</span><span style="color:#F8F8F2">; </span><span style="color:#fa4f8d">!</span><span style="color:#FD971F">$this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">getRequest</span><span style="color:#F8F8F2">()</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">getParam</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'nocookie'</span><span style="color:#F8F8F2">, </span><span style="color:#AE81FF">false</span><span style="color:#F8F8F2">);</span></span>
<span class="line"><span style="color:#F8F8F2">            $cookies </span><span style="color:#fa4f8d">=</span><span style="color:#66D9EF;font-style:italic"> Mage</span><span style="color:#fa4f8d">::</span><span style="color:#A6E22E">getSingleton</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'core/cookie'</span><span style="color:#F8F8F2">)</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">get</span><span style="color:#F8F8F2">();</span></span>
<span class="line"><span style="color:#fa4f8d">            if</span><span style="color:#F8F8F2"> ($checkCookie </span><span style="color:#fa4f8d">&amp;</span><span style="color:#AE81FF">amp</span><span style="color:#F8F8F2">;</span><span style="color:#fa4f8d">&amp;</span><span style="color:#AE81FF">amp</span><span style="color:#F8F8F2">; </span><span style="color:#66D9EF">empty</span><span style="color:#F8F8F2">($cookies)) {</span></span>
<span class="line"><span style="color:#FD971F">                $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">setFlag</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">''</span><span style="color:#F8F8F2">, </span><span style="color:#66D9EF;font-style:italic">self</span><span style="color:#fa4f8d">::</span><span style="color:#AE81FF">FLAG_NO_COOKIES_REDIRECT</span><span style="color:#F8F8F2">, </span><span style="color:#AE81FF">true</span><span style="color:#F8F8F2">);</span></span>
<span class="line"><span style="color:#F8F8F2">            }</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">            Mage</span><span style="color:#fa4f8d">::</span><span style="color:#A6E22E">getSingleton</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'core/session'</span><span style="color:#F8F8F2">, </span><span style="color:#66D9EF">array</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'name'</span><span style="color:#fa4f8d"> =&gt;</span><span style="color:#FD971F"> $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">_sessionNamespace))</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">start</span><span style="color:#F8F8F2">();</span></span>
<span class="line"><span style="color:#F8F8F2">        }</span></span></code></pre>
<p>By adding to the preDispatch() method of our Action or Controller we can toggle this:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="php"><code><span class="line"><span style="color:#fa4f8d">&lt;?</span><span style="color:#AE81FF">php</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">class</span><span> </span><span style="color:#A6E22E;text-decoration:underline">Ai_AjaxCatalog_Controller_Action</span><span style="color:#fa4f8d"> extends</span><span> </span><span style="color:#A6E22E;font-style:italic;text-decoration:underline">Mage_Core_Controller_Front_Action</span></span>
<span class="line"><span style="color:#F8F8F2">{</span></span>
<span class="line"><span style="color:#fa4f8d">	public</span><span style="color:#66D9EF;font-style:italic"> function</span><span style="color:#A6E22E"> preDispatch</span><span style="color:#F8F8F2">()</span></span>
<span class="line"><span style="color:#F8F8F2">	{</span></span>
<span class="line"><span style="color:#FD971F">		$this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">setFlag</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">''</span><span style="color:#F8F8F2">, </span><span style="color:#66D9EF;font-style:italic">self</span><span style="color:#fa4f8d">::</span><span style="color:#AE81FF">FLAG_NO_START_SESSION</span><span style="color:#F8F8F2">, </span><span style="color:#AE81FF">1</span><span style="color:#F8F8F2">); </span><span style="color:#94907d">// Do not start standard session</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">		parent</span><span style="color:#fa4f8d">::</span><span style="color:#A6E22E">preDispatch</span><span style="color:#F8F8F2">();</span></span>
<span class="line"><span style="color:#fa4f8d">		return</span><span style="color:#FD971F"> $this</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#F8F8F2">	}</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span></code></pre>
<p>Now, any action in this controller will be stateless and not effect any sessions.</p>
]]></content:encoded></item>
<item><title>Jira Tabs: Open all those Jira's at once!</title><description>Update: Code lives on GitHub Ever want to open all the Jira’s on the screen in new tabs? Jess does, I do,
and you should too! For firefox and chrome we now have the JiraTabs bookmark
button. Go to this page and drag the link up to your bookmarks bar. Then, whenever you are
on a filter or search view of Jira's, click the button and all the jira's on
your screen will open up in new tabs Demo:</description><link>https://timbroder.com/2011/04/jira-tabs-open-all-those-jiras-at-once/</link><guid isPermaLink="false">https://timbroder.com/2011/04/jira-tabs-open-all-those-jiras-at-once</guid><pubDate>Fri, 22 Apr 2011 18:21:22 GMT</pubDate><content:encoded><![CDATA[<p>Update: Code lives on <a href="https://github.com/broderboy/jira-tabs" title="GitHub">GitHub</a></p>
<p>Ever want to open all the Jira’s on the screen in new tabs? Jess does, I do,
and you should too! For firefox and chrome we now have the JiraTabs bookmark
button. Go to <a href="http://broderboy.github.io/jira-tabs/" title="this page">this page</a> and drag the link up to your bookmarks bar. Then, whenever you are
on a filter or search view of Jira's, click the button and all the jira's on
your screen will open up in new tabs</p>
<p>Demo:</p>
<p><a href="http://www.youtube.com/watch?v=PltTkfuhKfM"><img src="https://timbroder.com/images/remote/2011-04-22-jira-tabs-open-all-those-jiras-at-once/0.jpg" alt=""></a></p>
]]></content:encoded></item>
<item><title>Google’s Groupon Competitor Goes Live</title><description>http://bit.ly/eFvNwn</description><link>https://timbroder.com/2011/04/groupon-competitor-goes-live/</link><guid isPermaLink="false">https://timbroder.com/2011/04/groupon-competitor-goes-live</guid><pubDate>Thu, 21 Apr 2011 21:43:56 GMT</pubDate><content:encoded><![CDATA[<p><a href="http://bit.ly/eFvNwn">http://bit.ly/eFvNwn</a></p>
]]></content:encoded></item>
<item><title>Skynet Becomes Self Aware Tonight</title><description>Terminator: The Sarah Connor Chronicles April 21, 2011. Judgment Day. Kyle Reese and Derek Reese witness the launch of U.S. missiles while playing ball in their yard.[1] As a result of temporal interference by Sarah Connor, her son John, Miles Dyson, and the T-800[2] destroyingCyberdyne headquarters and all backups of the research in 1995, the date for Judgment day is moved back to here.[3] Skynet is destined to go online a few days earlier on April 19, 2011 at 20:11</description><link>https://timbroder.com/2011/04/skynet/</link><guid isPermaLink="false">https://timbroder.com/2011/04/skynet</guid><pubDate>Tue, 19 Apr 2011 21:25:05 GMT</pubDate><content:encoded><![CDATA[<h2 id="terminator-the-sarah-connor-chronicles">Terminator: The Sarah Connor Chronicles</h2>
<ul>
<li>
<p><strong>April 21,&nbsp;<a href="http://terminator.wikia.com/wiki/2011" title="2011">2011</a></strong>.&nbsp;<a href="http://terminator.wikia.com/wiki/Judgment_Day" title="Judgment Day">Judgment Day</a>.&nbsp;<a href="http://terminator.wikia.com/wiki/Kyle_Reese" title="Kyle Reese">Kyle Reese</a> and&nbsp;<a href="http://terminator.wikia.com/wiki/Derek_Reese" title="Derek Reese">Derek Reese</a> witness the launch of U.S. missiles while playing ball in their yard.<a href="http://terminator.wikia.com/wiki/2011/04/21#cite_note-0">[1]</a></p>
<p>As a result of temporal interference by&nbsp;<a href="http://terminator.wikia.com/wiki/Sarah_Connor" title="Sarah Connor">Sarah Connor</a>, her son&nbsp;<a href="http://terminator.wikia.com/wiki/John_Connor" title="John Connor">John</a>,&nbsp;<a href="http://terminator.wikia.com/wiki/Miles_Dyson" title="Miles Dyson">Miles Dyson</a>, and the&nbsp;<a href="http://terminator.wikia.com/wiki/T-800_%28Terminator_2%29" title="T-800 (Terminator 2)">T-800</a><a href="http://terminator.wikia.com/wiki/2011/04/21#cite_note-1">[2]</a> destroying<a href="http://terminator.wikia.com/wiki/Cyberdyne" title="Cyberdyne">Cyberdyne</a> headquarters and all backups of the research in&nbsp;<a href="http://terminator.wikia.com/wiki/1995" title="1995">1995</a>, the date for Judgment day is moved back to here.<a href="http://terminator.wikia.com/wiki/2011/04/21#cite_note-2">[3]</a> Skynet is destined to go online a few days earlier on&nbsp;<strong><a href="http://terminator.wikia.com/wiki/2011/04/19" title="2011/04/19">April 19</a>,&nbsp;<a href="http://terminator.wikia.com/wiki/2011" title="2011">2011</a></strong> at&nbsp;<strong>20:11</strong></p>
</li>
</ul>
]]></content:encoded></item>
<item><title>Extending a Magento Controller</title><description>We're ajaxing part of the Magento shopping cart so we need to modify/extend some of the cart controller functionality.  Sometimes when modifying controller's you have to worry about updating the routes. For this, we don't need to, we still want all the urls to be used the same way. app/code/local/Ai/Checkout/etc/config.xml: app/code/local/Ai/Checkout/controllers/CartController.php:</description><link>https://timbroder.com/2011/04/extending-a-magento-controller/</link><guid isPermaLink="false">https://timbroder.com/2011/04/extending-a-magento-controller</guid><pubDate>Tue, 19 Apr 2011 21:16:46 GMT</pubDate><content:encoded><![CDATA[<p>We're ajaxing part of the Magento shopping cart so we need to modify/extend some of the cart controller functionality.&nbsp; Sometimes when modifying controller's you have to worry about updating the routes. For this, we don't need to, we still want all the urls to be used the same way.</p>
<p>app/code/local/Ai/Checkout/etc/config.xml:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="xml"><code><span class="line"><span style="color:#F8F8F2">&lt;</span><span style="color:#fa4f8d">config</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">    &lt;</span><span style="color:#fa4f8d">modules</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">        &lt;</span><span style="color:#fa4f8d">Ai_Checkout</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">             &lt;</span><span style="color:#fa4f8d">version</span><span style="color:#F8F8F2">&gt;0.0.1&lt;/</span><span style="color:#fa4f8d">version</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">        &lt;/</span><span style="color:#fa4f8d">Ai_Checkout</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">    &lt;/</span><span style="color:#fa4f8d">modules</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">...</span></span>
<span class="line"><span style="color:#F8F8F2">    &lt;</span><span style="color:#fa4f8d">frontend</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">        &lt;</span><span style="color:#fa4f8d">routers</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">            &lt;</span><span style="color:#fa4f8d">checkout</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                &lt;</span><span style="color:#fa4f8d">use</span><span style="color:#F8F8F2">&gt;standard&lt;/</span><span style="color:#fa4f8d">use</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                &lt;</span><span style="color:#fa4f8d">args</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                    &lt;</span><span style="color:#fa4f8d">module</span><span style="color:#F8F8F2">&gt;Ai_Checkout&lt;/</span><span style="color:#fa4f8d">module</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                    &lt;</span><span style="color:#fa4f8d">frontName</span><span style="color:#F8F8F2">&gt;checkout&lt;/</span><span style="color:#fa4f8d">frontName</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">                &lt;/</span><span style="color:#fa4f8d">args</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">            &lt;/</span><span style="color:#fa4f8d">checkout</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">        &lt;/</span><span style="color:#fa4f8d">routers</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">    &lt;/</span><span style="color:#fa4f8d">frontend</span><span style="color:#F8F8F2">&gt;    </span></span>
<span class="line"><span style="color:#F8F8F2">&lt;/</span><span style="color:#fa4f8d">config</span><span style="color:#F8F8F2">&gt;</span></span></code></pre>
<p>app/code/local/Ai/Checkout/controllers/CartController.php:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="php"><code><span class="line"><span style="color:#fa4f8d">require_once</span><span style="color:#66D9EF;font-style:italic"> Mage</span><span style="color:#fa4f8d">::</span><span style="color:#A6E22E">getModuleDir</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'controllers'</span><span style="color:#F8F8F2">, </span><span style="color:#E6DB74">'Mage_Checkout'</span><span style="color:#F8F8F2">) </span><span style="color:#fa4f8d">.</span><span style="color:#AE81FF"> DS</span><span style="color:#fa4f8d"> .</span><span style="color:#E6DB74"> 'CartController.php'</span><span style="color:#F8F8F2">;</span></span>
<span class="line"></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">class</span><span> </span><span style="color:#A6E22E;text-decoration:underline">Ai_Checkout_CartController</span><span style="color:#fa4f8d"> extends</span><span> </span><span style="color:#A6E22E;font-style:italic;text-decoration:underline">Mage_Checkout_CartController</span></span>
<span class="line"><span style="color:#F8F8F2">{</span></span>
<span class="line"><span style="color:#fa4f8d">   public</span><span style="color:#66D9EF;font-style:italic"> function</span><span style="color:#A6E22E"> updatePostAction</span><span style="color:#F8F8F2">()</span></span>
<span class="line"><span style="color:#F8F8F2">    {</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">    	Mage</span><span style="color:#fa4f8d">::</span><span style="color:#A6E22E">log</span><span style="color:#F8F8F2">(</span><span style="color:#fa4f8d">&amp;</span><span style="color:#AE81FF">quot</span><span style="color:#F8F8F2">;</span><span style="color:#fa4f8d">NEW</span><span style="color:#66D9EF;font-style:italic"> CONTROLLER</span><span style="color:#fa4f8d">&amp;</span><span style="color:#AE81FF">quot</span><span style="color:#F8F8F2">;, </span><span style="color:#AE81FF">null</span><span style="color:#F8F8F2">, </span><span style="color:#E6DB74">'tim.log'</span><span style="color:#F8F8F2">);</span></span>
<span class="line"><span style="color:#fa4f8d">        try</span><span style="color:#F8F8F2"> {</span></span>
<span class="line"><span style="color:#F8F8F2">[</span><span style="color:#fa4f8d">/</span><span style="color:#AE81FF">php</span><span style="color:#F8F8F2">]</span></span></code></pre>
]]></content:encoded></item>
<item><title>Moving Gmail Gadgets to the Right Side</title><description>I started using Remember the Milk recently but didn't want the gmail
gadget to be so far
down on the left hand side of my screen.  There is no built in way to move
gadgets to the right hand side with the exception of chat (labels used to do
this but was removed in favor of drag in drop back in late 2009).
   If you don't have anything
in the right hand column, enable Right-Side Chat from Gmail Labs.  We are
going to add in some custom css to gmail so install either Stylist for
Chrome or Stylish
for Firefox…</description><link>https://timbroder.com/2011/04/moving-gmail-gadgets-to-the-right-side/</link><guid isPermaLink="false">https://timbroder.com/2011/04/moving-gmail-gadgets-to-the-right-side</guid><pubDate>Thu, 07 Apr 2011 14:56:39 GMT</pubDate><content:encoded><![CDATA[<p>I started using Remember the Milk recently but didn't want the <a href="http://www.rememberthemilk.com/services/gmail/gadget/">gmail
gadget</a> to be so far
down on the left hand side of my screen.&nbsp; There is no built in way to move
gadgets to the right hand side with the exception of chat (labels used to do
this but was removed in favor of drag in drop back in late 2009).
<a href="https://timbroder.com/images/2011/04/gmail_right_widgets.png"><img src="https://timbroder.com/images/2011/04/gmail_right_widgets.png" alt=""></a>   If you don't have anything
in the right hand column, <em>enable Right-Side Chat</em> from Gmail Labs.&nbsp; We are
going to add in some custom css to gmail so install either <a href="https://chrome.google.com/extensions/detail/pabfempgigicdjjlccdgnbmeggkbjdhd">Stylist </a>for
Chrome or <a href="https://addons.mozilla.org/en-US/firefox/addon/stylish/">Stylish</a>
for Firefox. Add the following style:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="plaintext"><code><span class="line"><span>div.TZ:nth-child(8) {</span></span>
<span class="line"><span>position:absolute !important; </span></span>
<span class="line"><span>right:0px; </span></span>
<span class="line"><span>top:165px; </span></span>
<span class="line"><span>width:164px; }</span></span></code></pre>
<p>In chrome you can also restrict the domain to mail.google.com. For me, the
Remember the Milk gadget was the 8th child. Play with this until it looks
right for you. You may also have to play with the "top" element depending on
how much room your chat gadget takes up</p>
]]></content:encoded></item>
<item><title>New Digg reverse paywall coming</title><description>Interesting: http://about.digg.com/blog/cha-ching Welcome to the future of killing time on the internet, and getting paid for
it: Digg is implementing a reverse pay wall! We believe this will greatly
enhance the Digg experience. Early reaction from test users has been great.
Can Duruk, developer at Digg, sums it up well: "I thought Rebecca Black's
'Friday' video was great now that I got paid to watch it!" Now, I used to be on Digg for at least an hour a day. then v4 came... and it
kind of sucks now…</description><link>https://timbroder.com/2011/04/new-digg-reverse-paywall-coming/</link><guid isPermaLink="false">https://timbroder.com/2011/04/new-digg-reverse-paywall-coming</guid><pubDate>Wed, 06 Apr 2011 13:45:21 GMT</pubDate><content:encoded><![CDATA[<p>Interesting: <a href="http://about.digg.com/blog/cha-ching">http://about.digg.com/blog/cha-ching</a></p>
<blockquote>
<p><em>Welcome to the future of killing time on the internet, and getting paid for
it: Digg is implementing a reverse pay wall! We believe this will greatly
enhance the Digg experience. Early reaction from test users has been great.
Can Duruk, developer at Digg, sums it up well:</em> <em>"I thought Rebecca Black's
'Friday' video was great now that I got paid to watch it!"</em></p>
</blockquote>
<p>Now, I used to be on Digg for at least an hour a day. then v4 came... and it
kind of sucks now..... Losing nested categories was a huge loss for me.</p>
<p>(9:39:48 AM) Tim: i would totally go back to digg to get paid
<a href="http://about.digg.com/blog/cha-ching">http://about.digg.com/blog/cha-ching</a></p>
<p>(9:40:46 AM) Laura: Hmm</p>
<p>(9:41:00 AM) Laura: Digg is so horrible, that's a little like being ok with becoming a
prostitute</p>
<p>(9:41:03 AM) Laura: I mean, you get paid</p>
<p><a href="http://about.digg.com/blog/cha-ching" title="http://about.digg.com/blog/cha-ching">http://about.digg.com/blog/cha-ching</a></p>
]]></content:encoded></item>
<item><title>42.75" New Box Jump PR</title><description>video</description><link>https://timbroder.com/2011/04/42-75-new-box-jump-pr/</link><guid isPermaLink="false">https://timbroder.com/2011/04/42-75-new-box-jump-pr</guid><pubDate>Tue, 05 Apr 2011 13:24:33 GMT</pubDate><content:encoded><![CDATA[<p><a href="https://www.facebook.com/timbroder/videos/679430254336/?l=2066031206978693743" title="video">video</a></p>
]]></content:encoded></item>
<item><title>Firefox 4 landing</title><description>It will be updating on your current installs tomorrow. To download now:
Windows, Mac, and
Linux</description><link>https://timbroder.com/2011/03/firefox-4-landing/</link><guid isPermaLink="false">https://timbroder.com/2011/03/firefox-4-landing</guid><pubDate>Mon, 21 Mar 2011 20:01:55 GMT</pubDate><content:encoded><![CDATA[<p><img src="https://timbroder.com/images/remote/2011-03-21-firefox-4-landing/2011-03-21_1559.png" alt=""> It will be updating on your current installs tomorrow.</p>
<p>To download now:
<a href="http://fileforum.betanews.com/detail/Mozilla-Firefox-v4-for-Windows/1032985422/16">Windows</a>, <a href="http://fileforum.betanews.com/detail/Mozilla-Firefox-v4-for-Mac-OS-X/1032985422/17">Mac</a>, and
<a href="http://fileforum.betanews.com/detail/Mozilla-Firefox-v4-for-Linux/1032985422/18">Linux</a></p>
]]></content:encoded></item>
<item><title>Setting a project as the default redmine homepage</title><description>Only have a single project running on redmine? want
it to be the homepage? In</description><link>https://timbroder.com/2011/03/setting-a-project-as-the-default-redmine-homepage/</link><guid isPermaLink="false">https://timbroder.com/2011/03/setting-a-project-as-the-default-redmine-homepage</guid><pubDate>Tue, 15 Mar 2011 23:31:01 GMT</pubDate><content:encoded><![CDATA[<p>Only have a single project running on <a href="http://www.redmine.org/">redmine</a>? want
it to be the homepage?</p>
<p>In <code>config/routes.rb in cofig/routes.rb</code></p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="ruby"><code><span class="line"><span style="color:#F8F8F2">map.</span><span style="color:#A6E22E">home</span><span style="color:#E6DB74"> ''</span><span style="color:#F8F8F2">, </span><span style="color:#AE81FF">:controller</span><span style="color:#fa4f8d"> =&amp;</span><span style="color:#F8F8F2">gt; </span><span style="color:#E6DB74">'projects'</span><span style="color:#F8F8F2">, </span><span style="color:#AE81FF">:action</span><span style="color:#fa4f8d"> =&amp;</span><span style="color:#F8F8F2">gt; </span><span style="color:#E6DB74">'show'</span><span style="color:#F8F8F2">, </span><span style="color:#AE81FF">:id</span><span style="color:#fa4f8d"> =&amp;</span><span style="color:#F8F8F2">gt; </span><span style="color:#E6DB74">'my_project_name'</span></span></code></pre>
]]></content:encoded></item>
<item><title>Jump Higher</title><description></description><link>https://timbroder.com/2011/03/jump-higher/</link><guid isPermaLink="false">https://timbroder.com/2011/03/jump-higher</guid><pubDate>Tue, 15 Mar 2011 21:22:42 GMT</pubDate><content:encoded><![CDATA[<p><a href="http://www.youtube.com/watch?v=tPZdYboa-HY"><img src="https://timbroder.com/images/remote/2011-03-15-jump-higher/0.jpg" alt=""></a></p>
]]></content:encoded></item>
<item><title>Crossfit 2011. Are you Ready?</title><description></description><link>https://timbroder.com/2011/03/crossfit-2011-are-you-ready/</link><guid isPermaLink="false">https://timbroder.com/2011/03/crossfit-2011-are-you-ready</guid><pubDate>Fri, 04 Mar 2011 18:25:24 GMT</pubDate><content:encoded><![CDATA[<p><a href="http://www.youtube.com/watch?v=xqbw6hZW91k"><img src="https://timbroder.com/images/remote/2011-03-04-crossfit-2011-are-you-ready/0.jpg" alt=""></a></p>
]]></content:encoded></item>
<item><title>Stress Relief: Blow things up</title><description>Online Physics Games</description><link>https://timbroder.com/2011/02/stress-relief-blow-things-up/</link><guid isPermaLink="false">https://timbroder.com/2011/02/stress-relief-blow-things-up</guid><pubDate>Mon, 28 Feb 2011 20:09:35 GMT</pubDate><content:encoded><![CDATA[<p><a href="http://www.physicsgames.net/">Online Physics Games</a></p>
]]></content:encoded></item>
<item><title>Running Mongodb as a service on windows</title><description></description><link>https://timbroder.com/2011/02/running-mongodb-as-a-service-on-windows/</link><guid isPermaLink="false">https://timbroder.com/2011/02/running-mongodb-as-a-service-on-windows</guid><pubDate>Wed, 23 Feb 2011 20:55:22 GMT</pubDate><content:encoded><![CDATA[<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="plaintext"><code><span class="line"><span>&gt; c:\mongodb\mongod.exe --logpath "c:\mongodb\logs\mongo.log" --logappend --dbpath "c:\mongodb\dat</span></span>
<span class="line"><span>a" --directoryperdb --install</span></span>
<span class="line"><span>all output going to: c:\mongodb\logs\mongo.log</span></span>
<span class="line"><span>Creating service MongoDB.</span></span>
<span class="line"><span>Service creation successful.</span></span>
<span class="line"><span>Service can be started from the command line via 'net start "MongoDB"'.</span></span>
<span class="line"><span></span></span>
<span class="line"><span>&gt; net start MongoDB</span></span>
<span class="line"><span>The Mongo DB service was started successfully.</span></span>
<span class="line"><span>&gt;</span></span>
<span class="line"><span></span></span>
<span class="line"><span>&gt; mongo</span></span>
<span class="line"><span>MongoDB shell version: 1.6.5</span></span>
<span class="line"><span>connecting to: test</span></span>
<span class="line"><span>&gt;</span></span></code></pre>
]]></content:encoded></item>
<item><title>A note on Magento and multiple nodes using Memcached</title><description>If you have multiple nodes using a shared memcached server, make sure you
define a shared prefix for the keys to use. In local.xml:</description><link>https://timbroder.com/2011/02/a-note-on-magento-and-multiple-nodes-using-memcached/</link><guid isPermaLink="false">https://timbroder.com/2011/02/a-note-on-magento-and-multiple-nodes-using-memcached</guid><pubDate>Fri, 11 Feb 2011 18:35:44 GMT</pubDate><content:encoded><![CDATA[<p>If you have multiple nodes using a shared memcached server, make sure you
define a shared prefix for the keys to use.</p>
<p>In local.xml:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="xml"><code><span class="line"><span style="color:#F8F8F2">        &lt;</span><span style="color:#fa4f8d">cache</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">...</span></span>
<span class="line"><span style="color:#F8F8F2">            &lt;</span><span style="color:#fa4f8d">prefix</span><span style="color:#F8F8F2">&gt;a1i&lt;/</span><span style="color:#fa4f8d">prefix</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">            &lt;</span><span style="color:#fa4f8d">id_prefix</span><span style="color:#F8F8F2">&gt;a1i&lt;/</span><span style="color:#fa4f8d">id_prefix</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">            &lt;</span><span style="color:#fa4f8d">memcached</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">...</span></span></code></pre>
]]></content:encoded></item>
<item><title>Wolverine? Or 2 Batmen?</title><description></description><link>https://timbroder.com/2011/02/wolverine-or-2-batmen/</link><guid isPermaLink="false">https://timbroder.com/2011/02/wolverine-or-2-batmen</guid><pubDate>Tue, 08 Feb 2011 20:59:49 GMT</pubDate><content:encoded><![CDATA[<p><img src="https://timbroder.com/images/remote/2011-02-08-wolverine-or-2-batmen/wolverinebatmen.jpg" alt=""></p>
]]></content:encoded></item>
<item><title>Twitter recap of the superbowl halftime show</title><description>Ok so, the superbowl halftime was just god awful @tomkaters I just put Prince on the turntable. #MakeMyOwnHalftimeShow @cskilpatrick This halftime show needs more Bieber. #superbowl @CobraCommander Who is this tranny singer butchering Guns at halftime? @iamunscared Fergie is a train wreck, just ruined G n R. @amyasparklethe sound from the halftime show is completely messed up. awful. @garyvee No more pls @tomkaters Enjoy halftime by tom. http://www.youtube.com/watch?v=_bP48M2BEs0 @cskilpatrick They should…</description><link>https://timbroder.com/2011/02/twitter-recap-of-the-superbowl-halftime-show/</link><guid isPermaLink="false">https://timbroder.com/2011/02/twitter-recap-of-the-superbowl-halftime-show</guid><pubDate>Mon, 07 Feb 2011 01:36:05 GMT</pubDate><content:encoded><![CDATA[<p>Ok so, the superbowl halftime was just god awful</p>
<p>@tomkaters I just put Prince on the turntable. #MakeMyOwnHalftimeShow</p>
<p>@cskilpatrick This halftime show needs more Bieber. #superbowl</p>
<p>@CobraCommander Who is this tranny singer butchering Guns at halftime?</p>
<p>@iamunscared Fergie is a train wreck, just ruined G n R.</p>
<p>@amyasparklethe sound from the halftime show is completely messed up. awful.</p>
<p>@garyvee No more pls</p>
<p>@tomkaters Enjoy halftime by tom. <a href="http://www.youtube.com/watch?v=_bP48M2BEs0">http://www.youtube.com/watch?v=_bP48M2BEs0</a></p>
<p>@cskilpatrick They should play this halftime show when they're trying to get
cultists to leave their compound. #superbowl</p>
<p>@brianshaler Glad everyone already tweeted about all the flaws in the Super
Bowl halftime show. Now I don't have to.</p>
<p>@garyvee It's time for a new format for superbowl halftime shows, how about
interviews at the 50 yrd line ...conan and Jon Stewart interview Prince</p>
<p>@brianshaler My favorite part of the halftime show was when they played the
song "Where is the Lol? E"</p>
<p>@werty Pretty sure Fergie raided Ace Frehley's closet for her Super Bowl
halftime show costume. #superbowl #blackeyedpeas</p>
]]></content:encoded></item>
<item><title>Want to output the full xml config Magento is running?</title><description>Where full_config.xml is the file you want it dumped to.</description><link>https://timbroder.com/2011/01/want-to-output-the-full-xml-config-magento-is-running/</link><guid isPermaLink="false">https://timbroder.com/2011/01/want-to-output-the-full-xml-config-magento-is-running</guid><pubDate>Thu, 27 Jan 2011 19:56:14 GMT</pubDate><content:encoded><![CDATA[<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="php"><code><span class="line"><span style="color:#66D9EF;font-style:italic">Mage</span><span style="color:#fa4f8d">::</span><span style="color:#A6E22E">getConfig</span><span style="color:#F8F8F2">()</span><span style="color:#fa4f8d">-&amp;</span><span style="color:#AE81FF">gt</span><span style="color:#F8F8F2">;</span><span style="color:#A6E22E">getNode</span><span style="color:#F8F8F2">()</span><span style="color:#fa4f8d">-&amp;</span><span style="color:#AE81FF">gt</span><span style="color:#F8F8F2">;</span><span style="color:#A6E22E">asNiceXml</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'full_config.xml'</span><span style="color:#F8F8F2">);</span></span></code></pre>
<p>Where full_config.xml is the file you want it dumped to.</p>
]]></content:encoded></item>
<item><title>Getting it onto the Kindle</title><description>Been loving my Kindle 3 since I upgraded from my sony reader. There are so
many options for getting various reading materials onto it. Here are a few of
the ones I like the best: Want to get some RSS feeds onto the Kindle? (12 feeds for free) KindleFeeder is the way to go. It also has a bookmarklet for capturing and sending whole pages from your browser.I use this to send articles in Google Reader that I want to read later to my Kindle. I use my starred items to do this. Starred items have their own RSS…</description><link>https://timbroder.com/2011/01/getting-it-onto-the-kindle/</link><guid isPermaLink="false">https://timbroder.com/2011/01/getting-it-onto-the-kindle</guid><pubDate>Thu, 27 Jan 2011 15:05:49 GMT</pubDate><content:encoded><![CDATA[<p>Been loving my Kindle 3 since I upgraded from my sony reader. There are so
many options for getting various reading materials onto it. Here are a few of
the ones I like the best:</p>
<ul>
<li>Want to get some RSS feeds onto the Kindle? (12 feeds for free) <a href="http://kindlefeeder.com/">KindleFeeder</a> is the way to go. It also has a bookmarklet for capturing and sending whole pages from your browser.I use this to send articles in Google Reader that I want to read later to my Kindle. I use my starred items to do this. Starred items have their own RSS feed which you can put into kindlefeeder. For information on how to get the link to the RSS of your starred items, <a href="http://www.freewaregenius.com/2008/01/16/how-to-broadcast-your-google-reader-starred-items-to-an-rss-feed-or-widget-on-your-blog/">click here</a>.</li>
<li>"<a href="https://chrome.google.com/webstore/detail/ipkfnchcgalnafehpglfbommidgmalan#">Send to Kindle</a>" for chrome is a button that will send the content of the page your are currently viewing.</li>
<li>The third method is the built in free Kindle email address that isn't broadly advertised: <a href="https://timbroder.com/2011/01/getting-it-onto-the-kindle/your.name@free.kindle.com">your.name@free.kindle.com</a> will beam most docs that you mail it to your Kindle over wifi (does not work with 3G)</li>
<li><a href="http://calibre-ebook.com/" title="calibre">Calibre</a> is great for managing what is on your Kindle and converting just about any file format to .mobi (a format the Kindle can read).&nbsp; Calibre can also be used to <a href="https://apprenticealf.wordpress.com/2011/01/13/ebooks-formats-drm-and-you-%E2%80%94-a-guide-for-the-perplexed/">strip the DRM</a> off of your purchased Kindle books</li>
</ul>
<p><a href="http://www.youtube.com/watch?v=Xu_FgtM_Oqs" title="http://www.youtube.com/watch?v=Xu_FgtM_Oqs">http://www.youtube.com/watch?v=Xu_FgtM_Oqs</a></p>
]]></content:encoded></item>
<item><title>My picks for the 2011 Oscars</title><description>Best Supporting Actress Amy Adams, The Fighter Helena Bonham Carter, The King's Speech Melissa
Leo, The Fighter Hailee Steinfeld, True Grit Jackie Weaver, The
Animal Kingdom This was close between Steinfeld and Leo Best Supporting Actor Christian Bale, The Fighter John Hawkes, Winter's Bone Jeremy Renner, The Town Mark Ruffalo, The Kids Are All Right Geoffrey Rush, The King's Speech As much as I loved the town, not even close_ _ Best Actress Annette Bening, The Kids Are All Right Nicole Kidman, Rabbit Hole…</description><link>https://timbroder.com/2011/01/my-picks-for-the-2011-oscars/</link><guid isPermaLink="false">https://timbroder.com/2011/01/my-picks-for-the-2011-oscars</guid><pubDate>Tue, 25 Jan 2011 16:24:40 GMT</pubDate><content:encoded><![CDATA[<h2 id="best-supporting-actress">Best Supporting Actress</h2>
<p>Amy Adams, <em>The Fighter</em> Helena Bonham Carter, <em>The King's Speech</em> Melissa
Leo, <em>The Fighter</em> <strong>Hailee Steinfeld, <em>True Grit</em></strong> Jackie Weaver, <em>The
Animal Kingdom</em> This was close between Steinfeld and Leo</p>
<h2 id="best-supporting-actor">Best Supporting Actor</h2>
<p><strong>Christian Bale, <em>The Fighter</em></strong> John Hawkes, <em>Winter's Bone</em> Jeremy Renner, <em>The Town</em> Mark Ruffalo, <em>The Kids Are All Right</em> Geoffrey Rush, <em>The King's Speech</em> As much as I loved the town, not even close_ _</p>
<h2 id="best-actress">Best Actress</h2>
<p>Annette Bening, <em>The Kids Are All Right</em> Nicole Kidman, <em>Rabbit Hole</em> Jennifer
Lawrence, <em>Winter's Bone</em> <strong>Natalie Portman, <em>The Black Swan</em></strong> Michelle
Williams, <em>Blue Valentine</em></p>
<h2 id="best-actor">Best Actor</h2>
<p>Javier Bardem, <em>Biutiful</em> Jeff Bridges, <em>True Grit</em> <strong>Jesse Eisenberg, <em>The
Social Network</em></strong> Colin Firth, <em>The King's Speech</em> James Franco, <em>127 Hours</em></p>
<h2 id="best-director">Best Director</h2>
<p><strong>Darren Aronofsky, <em>Black Swan</em></strong> ** David O. Russell, <em>The Fighter</em>** Tom Hooper, <em>The King's Speech</em> <strong>David Fincher, <em>The Social Network</em></strong> Joel &amp; Ethan Coen, <em>True Grit</em> Seriously? True Grit sucked balls_. <em>I can't decide though</em> _</p>
<h2 id="best-original-screenplay">Best Original Screenplay</h2>
<p><em>Another Year</em> - Mike Leigh <em>The Fighter</em> - Scott Silver, Paul Tamasy &amp;
Eric Johnson <strong><em>Inception</em> - Christopher Nolan</strong> <em>The Kids Are All Right</em> -
Lisa Cholodenko &amp; Stuart Blumberg <em>The King's Speech</em> - David Seidler</p>
<h2 id="best-adapted-screenplay">Best Adapted Screenplay</h2>
<p><em>127 Hours</em> - Danny Boyle &amp; Simon Beaufoy <strong><em>The Social Network</em> - Aaron
Sorkin</strong> <em>Toy Story 3</em> - Michael Arndt <em>True Grit</em> - Joel &amp; Ethan Coen
<em>Winter's Bone</em> - Debra Granik &amp; Anne Rossellini</p>
<h2 id="best-foreign-film">Best Foreign Film</h2>
<p><em>Biutiful</em> (Mexico) <em>Dogtooth</em> (Greece) <em>In a Better World</em> (Denmark)
<em>Incendies</em> (Canada) <em>Outside the Law</em> (France) Didn't see any of these</p>
<h2 id="best-animated-film">Best Animated Film</h2>
<p><strong><em>How to Train Your Dragon</em></strong> <em>The Illusionist</em> <em>Toy Story 3</em> go Eli!_ _</p>
<h2 id="best-picture">Best Picture</h2>
<p><em>Black Swan</em> <em>The Fighter</em> <strong><em>Inception</em></strong> <em>The Kids Are All Right</em> <em>The
King's Speech</em> <em>127 Hours</em> <em>The Social Network</em> <em>Toy Story 3</em> <em>True Grit</em>
<em>Winter's Bone</em> INCEPTION INCEPTION INCEPTION!!!!</p>
]]></content:encoded></item>
<item><title>Breaking them in</title><description></description><link>https://timbroder.com/2011/01/breaking-them-in/</link><guid isPermaLink="false">https://timbroder.com/2011/01/breaking-them-in</guid><pubDate>Sun, 23 Jan 2011 18:24:49 GMT</pubDate><content:encoded><![CDATA[<p><img src="https://timbroder.com/images/2011/01/wpid-IMAG0003.jpg" alt="image"></p>
]]></content:encoded></item>
<item><title>Want to trace the call stack in Magento?</title><description>Update: This code is also available on Github as a Mageno module This has helped me immensely in situations like "Where is this getting called from??!?" Create a helper like so: That can be called from anywhere: ``PHP
Mage::helper('stack/callstack')-&gt;toFirePhp();
Mage::helper('stack/callstack')-&gt;toLog(); .../app/code/community/Timbroder/Stack/Helper/Callstack.php line 16 calls get_callstack()
.../app/design/frontend/mongoose/default/template/catalog/cms/bikes_bmx.phtml line 12 calls toLog()
.../app/design…</description><link>https://timbroder.com/2011/01/want-to-trace-the-call-stack-in-magento/</link><guid isPermaLink="false">https://timbroder.com/2011/01/want-to-trace-the-call-stack-in-magento</guid><pubDate>Tue, 04 Jan 2011 21:35:38 GMT</pubDate><content:encoded><![CDATA[<p>Update: This code is also available on <a href="https://github.com/broderboy/magento-callstack" title="Github">Github</a> as a Mageno module</p>
<p>This has helped me immensely in situations like "Where is this getting called from??!?"</p>
<p>Create a helper like so:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="php"><code><span class="line"><span style="color:#66D9EF;font-style:italic">class</span><span> </span><span style="color:#A6E22E;text-decoration:underline">Timbroder_Stack_Helper_Callstack</span><span style="color:#fa4f8d"> extends</span><span> </span><span style="color:#A6E22E;font-style:italic;text-decoration:underline">Mage_Core_Helper_Abstract</span></span>
<span class="line"><span style="color:#F8F8F2">{</span></span>
<span class="line"><span style="color:#fa4f8d">	private</span><span style="color:#66D9EF;font-style:italic"> function</span><span style="color:#A6E22E"> get_callstack</span><span style="color:#F8F8F2">($delim</span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2">&amp;</span><span style="color:#AE81FF">quot</span><span style="color:#F8F8F2">;\</span><span style="color:#AE81FF">n</span><span style="color:#F8F8F2">&amp;</span><span style="color:#AE81FF">quot</span><span style="color:#F8F8F2">;) {</span></span>
<span class="line"><span style="color:#F8F8F2">	  $dt </span><span style="color:#fa4f8d">=</span><span style="color:#66D9EF"> debug_backtrace</span><span style="color:#F8F8F2">();</span></span>
<span class="line"><span style="color:#F8F8F2">	  $cs </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> ''</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#fa4f8d">	  foreach</span><span style="color:#F8F8F2"> ($dt </span><span style="color:#fa4f8d">as</span><span style="color:#F8F8F2"> $t) {</span></span>
<span class="line"><span style="color:#F8F8F2">	    $cs </span><span style="color:#fa4f8d">.=</span><span style="color:#F8F8F2"> $t[</span><span style="color:#E6DB74">'file'</span><span style="color:#F8F8F2">] </span><span style="color:#fa4f8d">.</span><span style="color:#E6DB74"> ' line '</span><span style="color:#fa4f8d"> .</span><span style="color:#F8F8F2"> $t[</span><span style="color:#E6DB74">'line'</span><span style="color:#F8F8F2">] </span><span style="color:#fa4f8d">.</span><span style="color:#E6DB74"> ' calls '</span><span style="color:#fa4f8d"> .</span><span style="color:#F8F8F2"> $t[</span><span style="color:#E6DB74">'function'</span><span style="color:#F8F8F2">] </span><span style="color:#fa4f8d">.</span><span style="color:#fa4f8d"> &amp;</span><span style="color:#AE81FF">quot</span><span style="color:#F8F8F2">;()</span><span style="color:#fa4f8d">&amp;</span><span style="color:#AE81FF">quot</span><span style="color:#F8F8F2">; </span><span style="color:#fa4f8d">.</span><span style="color:#F8F8F2"> $delim;</span></span>
<span class="line"><span style="color:#F8F8F2">	  }</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">	  return</span><span style="color:#F8F8F2"> $cs;</span></span>
<span class="line"><span style="color:#F8F8F2">	}</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">	public</span><span style="color:#66D9EF;font-style:italic"> function</span><span style="color:#A6E22E"> toLog</span><span style="color:#F8F8F2">() {</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">		Mage</span><span style="color:#fa4f8d">::</span><span style="color:#A6E22E">log</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F">$this</span><span style="color:#fa4f8d">-&amp;</span><span style="color:#AE81FF">gt</span><span style="color:#F8F8F2">;</span><span style="color:#A6E22E">get_callstack</span><span style="color:#F8F8F2">());</span></span>
<span class="line"><span style="color:#F8F8F2">	}</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">	public</span><span style="color:#66D9EF;font-style:italic"> function</span><span style="color:#A6E22E"> toFirePhp</span><span style="color:#F8F8F2">() {</span></span>
<span class="line"><span style="color:#F8F8F2">		$stack </span><span style="color:#fa4f8d">=</span><span style="color:#FD971F"> $this</span><span style="color:#fa4f8d">-&amp;</span><span style="color:#AE81FF">gt</span><span style="color:#F8F8F2">;</span><span style="color:#A6E22E">get_callstack</span><span style="color:#F8F8F2">();</span></span>
<span class="line"><span style="color:#fa4f8d">		foreach</span><span style="color:#F8F8F2"> (</span><span style="color:#66D9EF">explode</span><span style="color:#F8F8F2">(</span><span style="color:#fa4f8d">&amp;</span><span style="color:#AE81FF">quot</span><span style="color:#F8F8F2">;\</span><span style="color:#AE81FF">n</span><span style="color:#fa4f8d">&amp;</span><span style="color:#AE81FF">quot</span><span style="color:#F8F8F2">;, $stack) </span><span style="color:#fa4f8d">as</span><span style="color:#F8F8F2"> $line) {</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">			Mage</span><span style="color:#fa4f8d">::</span><span style="color:#A6E22E">helper</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'firephp'</span><span style="color:#F8F8F2">)</span><span style="color:#fa4f8d">-&amp;</span><span style="color:#AE81FF">gt</span><span style="color:#F8F8F2">;</span><span style="color:#A6E22E">send</span><span style="color:#F8F8F2">($line);</span></span>
<span class="line"><span style="color:#F8F8F2">		}</span></span>
<span class="line"><span style="color:#F8F8F2">	}</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span></code></pre>
<p>That can be called from anywhere:</p>
<p>``PHP
Mage::helper('stack/callstack')-&gt;toFirePhp();
Mage::helper('stack/callstack')-&gt;toLog();</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="plaintext"><code><span class="line"><span></span></span>
<span class="line"><span>I've also wrapped this into a module that you can drop right into your project.  Details here: [https://bitbucket.org/broderboy/magento_callstack/src](https://bitbucket.org/broderboy/magento_callstack/src "https://bitbucket.org/broderboy/magento_callstack/src")</span></span>
<span class="line"><span></span></span>
<span class="line"><span>Example output:</span></span></code></pre>
<p>.../app/code/community/Timbroder/Stack/Helper/Callstack.php line 16 calls get_callstack()
.../app/design/frontend/mongoose/default/template/catalog/cms/bikes_bmx.phtml line 12 calls toLog()
.../app/design/frontend/mongoose/default/template/catalog/cms/bikes.phtml line 21 calls require_once()
.../app/code/core/Mage/Core/Block/Template.php line 212 calls include()
.../app/code/core/Mage/Core/Block/Template.php line 239 calls fetchView()
.../app/code/core/Mage/Core/Block/Template.php line 253 calls renderView()
.../app/code/core/Mage/Core/Block/Abstract.php line 668 calls _toHtml()
.../app/code/core/Mage/Core/Model/Email/Template/Filter.php line 190 calls toHtml()
.../lib/Varien/Filter/Template.php line 134 calls call_user_func()
.../app/code/core/Mage/Core/Model/Email/Template/Filter.php line 501 calls filter()
.../app/code/core/Mage/Cms/Block/Page.php line 100 calls filter()
.../app/code/core/Mage/Core/Block/Abstract.php line 668 calls _toHtml()
.../app/code/core/Mage/Core/Block/Abstract.php line 513 calls toHtml()
.../app/code/core/Mage/Core/Block/Abstract.php line 460 calls _getChildHtml()
.../app/code/local/Mage/Page/Block/Html/Wrapper.php line 52 calls getChildHtml()
.../app/code/core/Mage/Core/Block/Abstract.php line 668 calls _toHtml()
.../app/code/core/Mage/Core/Block/Text/List.php line 43 calls toHtml()
.../app/code/core/Mage/Core/Block/Abstract.php line 668 calls _toHtml()
.../app/code/core/Mage/Core/Block/Abstract.php line 513 calls toHtml()
.../app/code/core/Mage/Core/Block/Abstract.php line 464 calls _getChildHtml()
.../app/design/frontend/mongoose/default/template/page/1column.phtml line 55 calls getChildHtml()
.../app/code/core/Mage/Core/Block/Template.php line 212 calls include()
.../app/code/core/Mage/Core/Block/Template.php line 239 calls fetchView()
.../app/code/core/Mage/Core/Block/Template.php line 253 calls renderView()
.../app/code/core/Mage/Core/Block/Abstract.php line 668 calls _toHtml()
.../app/code/core/Mage/Core/Model/Layout.php line 529 calls toHtml()
.../app/code/local/Mage/Core/Controller/Varien/Action.php line 389 calls getOutput()
.../app/code/core/Mage/Cms/Helper/Page.php line 130 calls renderLayout()
.../app/code/core/Mage/Cms/Helper/Page.php line 52 calls _renderPage()
.../app/code/core/Mage/Cms/controllers/PageController.php line 45 calls renderPage()
.../app/code/local/Mage/Core/Controller/Varien/Action.php line 418 calls viewAction()
.../app/code/core/Mage/Core/Controller/Varien/Router/Standard.php line 254 calls dispatch()
.../app/code/core/Mage/Core/Controller/Varien/Front.php line 177 calls match()
.../app/code/core/Mage/Core/Model/App.php line 304 calls dispatch()
.../app/Mage.php line 598 calls run()
.../index.php line 155 calls run()</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="plaintext"><code><span class="line"><span></span></span>
<span class="line"><span>Thanks to [nextide](http://www.nextide.ca/node/518) for some of the code</span></span></code></pre>
]]></content:encoded></item>
<item><title>Want user available in every template in Django?</title><description>Create a context processor settings.py context_processors.py user is now available in any template: source: StackOverflow</description><link>https://timbroder.com/2010/12/want-user-available-in-every-template-in-django/</link><guid isPermaLink="false">https://timbroder.com/2010/12/want-user-available-in-every-template-in-django</guid><pubDate>Wed, 29 Dec 2010 03:08:52 GMT</pubDate><content:encoded><![CDATA[<p>Create a context processor</p>
<p>settings.py</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="python"><code><span class="line"><span style="color:#AE81FF">TEMPLATE_CONTEXT_PROCESSORS</span><span style="color:#fa4f8d"> =</span><span style="color:#F8F8F2"> (</span></span>
<span class="line"><span style="color:#E6DB74">	'myapp.context_processors.user'</span><span style="color:#F8F8F2">,</span></span>
<span class="line"><span style="color:#F8F8F2">)</span></span></code></pre>
<p>context_processors.py</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="python"><code><span class="line"><span style="color:#66D9EF;font-style:italic">def</span><span style="color:#A6E22E"> user</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F;font-style:italic">request</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#fa4f8d">	if</span><span style="color:#66D9EF"> hasattr</span><span style="color:#F8F8F2">(request, </span><span style="color:#E6DB74">'user'</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#fa4f8d">		return</span><span style="color:#F8F8F2"> {</span><span style="color:#E6DB74">'user'</span><span style="color:#F8F8F2">:request.user }</span></span>
<span class="line"><span style="color:#fa4f8d">	return</span><span style="color:#F8F8F2"> {}</span></span></code></pre>
<p>user is now available in any template:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="html"><code><span class="line"><span style="color:#F8F8F2">{% verbatim %}</span></span>
<span class="line"><span style="color:#F8F8F2">{% if user.is_authenticated %}Do Something Special{% endif %}</span></span>
<span class="line"><span style="color:#F8F8F2">{% endverbatim %}</span></span></code></pre>
<p>source: <a href="http://stackoverflow.com/questions/41547/always-including-the-user-in-the-django-template-context" title="StackOverflow">StackOverflow</a></p>
]]></content:encoded></item>
<item><title>Want to dump every SQL query Magento runs?</title><description>In:</description><link>https://timbroder.com/2010/12/want-to-dump-every-sql-query-magento-runs/</link><guid isPermaLink="false">https://timbroder.com/2010/12/want-to-dump-every-sql-query-magento-runs</guid><pubDate>Thu, 02 Dec 2010 22:35:04 GMT</pubDate><content:encoded><![CDATA[<p>In: <code>lib/Zend/DB/Adapter/Adapter.php</code></p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="php"><code><span class="line"><span style="color:#fa4f8d">public</span><span style="color:#66D9EF;font-style:italic"> function</span><span style="color:#A6E22E"> query</span><span style="color:#F8F8F2">($sql, $bind </span><span style="color:#fa4f8d">=</span><span style="color:#66D9EF"> array</span><span style="color:#F8F8F2">())</span></span>
<span class="line"><span style="color:#F8F8F2">{</span></span>
<span class="line"><span style="color:#94907d">	// connect to the database if needed</span></span>
<span class="line"><span style="color:#FD971F">	$this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">_connect</span><span style="color:#F8F8F2">();</span></span>
<span class="line"></span>
<span class="line"><span style="color:#94907d">	// is the $sql a Zend_Db_Select object?</span></span>
<span class="line"><span style="color:#fa4f8d">	if</span><span style="color:#F8F8F2"> ($sql </span><span style="color:#fa4f8d">instanceof</span><span style="color:#66D9EF;font-style:italic"> Zend_Db_Select</span><span style="color:#F8F8F2">) {</span></span>
<span class="line"><span style="color:#fa4f8d">		if</span><span style="color:#F8F8F2"> (</span><span style="color:#66D9EF">empty</span><span style="color:#F8F8F2">($bind)) {</span></span>
<span class="line"><span style="color:#F8F8F2">			$bind </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> $sql</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">getBind</span><span style="color:#F8F8F2">();</span></span>
<span class="line"><span style="color:#F8F8F2">		}</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">		$sql </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> $sql</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">assemble</span><span style="color:#F8F8F2">();</span></span>
<span class="line"><span style="color:#F8F8F2">	}</span></span>
<span class="line"><span style="color:#F8F8F2">	</span></span>
<span class="line"><span style="color:#F8F8F2">	$time_start </span><span style="color:#fa4f8d">=</span><span style="color:#66D9EF"> microtime</span><span style="color:#F8F8F2">(</span><span style="color:#AE81FF">true</span><span style="color:#F8F8F2">);</span></span>
<span class="line"></span>
<span class="line"><span style="color:#94907d">	// make sure $bind to an array;</span></span>
<span class="line"><span style="color:#94907d">	// don't use (array) typecasting because</span></span>
<span class="line"><span style="color:#94907d">	// because $bind may be a Zend_Db_Expr object</span></span>
<span class="line"><span style="color:#fa4f8d">	if</span><span style="color:#F8F8F2"> (</span><span style="color:#fa4f8d">!</span><span style="color:#66D9EF">is_array</span><span style="color:#F8F8F2">($bind)) {</span></span>
<span class="line"><span style="color:#F8F8F2">		$bind </span><span style="color:#fa4f8d">=</span><span style="color:#66D9EF"> array</span><span style="color:#F8F8F2">($bind);</span></span>
<span class="line"><span style="color:#F8F8F2">	}</span></span>
<span class="line"></span>
<span class="line"><span style="color:#94907d">	// prepare and execute the statement with profiling</span></span>
<span class="line"><span style="color:#F8F8F2">	$stmt </span><span style="color:#fa4f8d">=</span><span style="color:#FD971F"> $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">prepare</span><span style="color:#F8F8F2">($sql);</span></span>
<span class="line"><span style="color:#F8F8F2">	$stmt</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">execute</span><span style="color:#F8F8F2">($bind);</span></span>
<span class="line"></span>
<span class="line"><span style="color:#94907d">	// return the results embedded in the prepared statement object</span></span>
<span class="line"><span style="color:#F8F8F2">	$stmt</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">setFetchMode</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F">$this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">_fetchMode);</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">	$time_end </span><span style="color:#fa4f8d">=</span><span style="color:#66D9EF"> microtime</span><span style="color:#F8F8F2">(</span><span style="color:#AE81FF">true</span><span style="color:#F8F8F2">);</span></span>
<span class="line"><span style="color:#F8F8F2">	$time </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> $time_end </span><span style="color:#fa4f8d">-</span><span style="color:#F8F8F2"> $time_start;</span></span>
<span class="line"></span>
<span class="line"><span style="color:#66D9EF">	echo</span><span style="color:#E6DB74"> "SQL[</span><span style="color:#F8F8F2">$time</span><span style="color:#E6DB74"> | </span><span style="color:#F8F8F2">$sql</span><span style="color:#E6DB74"> ]"</span><span style="color:#fa4f8d"> .</span><span style="color:#E6DB74"> "</span><span style="color:#AE81FF">\n</span><span style="color:#E6DB74">&lt;br /&gt;</span><span style="color:#AE81FF">\n</span><span style="color:#E6DB74">"</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#fa4f8d">	return</span><span style="color:#F8F8F2"> $stmt;</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span></code></pre>
]]></content:encoded></item>
<item><title>Magento: Want CKEditor to appear on Category edit pages in Magento?</title><description>It is pretty common to replace the TinyMCE
editor in the Magento Admin with the CKEditor
using this extension However, the way magento ajaxes the form fields into view on the category pages breaks this functionality. This snippet should help anyone trying to get it to work in  in  add this at the bottom but inside the script tag</description><link>https://timbroder.com/2010/12/magento-want-ckeditor-to-appear-on-category-edit-pages-in-magento/</link><guid isPermaLink="false">https://timbroder.com/2010/12/magento-want-ckeditor-to-appear-on-category-edit-pages-in-magento</guid><pubDate>Thu, 02 Dec 2010 16:50:50 GMT</pubDate><content:encoded><![CDATA[<p>It is pretty common to replace the <a href="http://tinymce.moxiecode.com/">TinyMCE
</a>editor in the Magento Admin with the <a href="http://ckeditor.com/">CKEditor
</a>using this <a href="http://www.magentocommerce.com/magento-connect/Fontis/extension/586/fontis-wysiwyg-editor">extension</a></p>
<p>However, the way magento ajaxes the form fields into view on the category pages breaks this functionality.</p>
<p>This snippet should help anyone trying to get it to work in <code>app/design/adminhtml/default/default/template/fontis/wysiwyg/wysiwyg.phtml</code></p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="php"><code><span class="line"><span style="color:#F8F8F2">{</span><span style="color:#fa4f8d">%</span><span style="color:#AE81FF"> verbatim</span><span style="color:#fa4f8d"> %</span><span style="color:#F8F8F2">}</span></span>
<span class="line"><span style="color:#fa4f8d">&lt;?</span><span style="color:#AE81FF">php</span><span style="color:#F8F8F2"> } </span><span style="color:#fa4f8d">else</span><span style="color:#fa4f8d"> if</span><span style="color:#F8F8F2">($editorType </span><span style="color:#fa4f8d">==</span><span style="color:#E6DB74"> 'ckeditor'</span><span style="color:#F8F8F2">) { </span><span style="color:#fa4f8d">?&gt;</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">	&lt;</span><span style="color:#AE81FF">script</span><span style="color:#AE81FF"> type</span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74">"text/javascript"</span><span style="color:#AE81FF"> src</span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74">"&lt;?php echo </span><span style="color:#F8F8F2">$this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">getJsUrl</span><span style="color:#E6DB74">() ?&gt;fontis/ckeditor/ckeditor.js"</span><span style="color:#fa4f8d">&gt;&lt;/</span><span style="color:#AE81FF">script</span><span style="color:#fa4f8d">&gt;</span></span>
<span class="line"><span style="color:#fa4f8d">	&lt;</span><span style="color:#AE81FF">script</span><span style="color:#AE81FF"> type</span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74">"text/javascript"</span><span style="color:#fa4f8d">&gt;</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">	var</span><span style="color:#AE81FF"> pageLoaded</span><span style="color:#fa4f8d"> =</span><span style="color:#AE81FF"> false</span><span style="color:#F8F8F2">;</span></span>
<span class="line"></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">	function</span><span style="color:#A6E22E"> applyCKEditor</span><span style="color:#F8F8F2">() {</span></span>
<span class="line"><span style="color:#fa4f8d">		if</span><span style="color:#F8F8F2">(</span><span style="color:#AE81FF">pageLoaded</span><span style="color:#F8F8F2">) {</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">			var</span><span style="color:#AE81FF"> editable_areas</span><span style="color:#fa4f8d"> =</span><span style="color:#E6DB74"> '&lt;?php echo $editableAreas ?&gt;'</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#fa4f8d">			&lt;?</span><span style="color:#AE81FF">php</span><span style="color:#fa4f8d"> if</span><span style="color:#F8F8F2">(</span><span style="color:#66D9EF">strpos</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F">$this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">helper</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'core/url'</span><span style="color:#F8F8F2">)</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">getCurrentUrl</span><span style="color:#F8F8F2">(), </span><span style="color:#E6DB74">'catalog_category'</span><span style="color:#F8F8F2">) </span><span style="color:#fa4f8d">!=</span><span style="color:#AE81FF"> false</span><span style="color:#F8F8F2">)</span><span style="color:#fa4f8d">:</span><span style="color:#fa4f8d"> ?&gt;</span></span>
<span class="line"><span style="color:#AE81FF">				CKEDITOR</span><span style="color:#fa4f8d">.</span><span style="color:#AE81FF">instances</span><span style="color:#fa4f8d"> =</span><span style="color:#F8F8F2"> {};</span></span>
<span class="line"><span style="color:#fa4f8d">			&lt;?</span><span style="color:#AE81FF">php</span><span style="color:#fa4f8d"> endif</span><span style="color:#F8F8F2">; </span><span style="color:#fa4f8d">?&gt;</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">			&lt;?</span><span style="color:#AE81FF">php</span><span style="color:#94907d"> /* Add CKeditor to any matching textareas. */</span><span style="color:#fa4f8d"> ?&gt;</span></span>
<span class="line"><span style="color:#AE81FF">			editable_areas</span><span style="color:#fa4f8d">.</span><span style="color:#66D9EF">split</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">','</span><span style="color:#F8F8F2">)</span><span style="color:#fa4f8d">.</span><span style="color:#A6E22E">each</span><span style="color:#F8F8F2">(</span><span style="color:#66D9EF;font-style:italic">function</span><span style="color:#F8F8F2">(dom_id) {</span></span>
<span class="line"><span style="color:#fa4f8d">			if</span><span style="color:#F8F8F2">($(</span><span style="color:#AE81FF">dom_id</span><span style="color:#F8F8F2">)) {</span></span>
<span class="line"><span style="color:#fa4f8d">				&lt;?</span><span style="color:#AE81FF">php</span><span style="color:#94907d"> /* Remove the required-entry CSS class so Magento will</span></span>
<span class="line"><span style="color:#94907d">				allow the contents of the editor to be submitted. */</span><span style="color:#fa4f8d"> ?&gt;</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">				var</span><span style="color:#AE81FF"> loopCheck</span><span style="color:#fa4f8d"> =</span><span style="color:#AE81FF"> 0</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#fa4f8d">				while</span><span style="color:#F8F8F2">($(</span><span style="color:#AE81FF">dom_id</span><span style="color:#F8F8F2">)</span><span style="color:#fa4f8d">.</span><span style="color:#A6E22E">hasClassName</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'required-entry'</span><span style="color:#F8F8F2">) </span><span style="color:#fa4f8d">&amp;&amp;</span><span style="color:#AE81FF"> loopCheck</span><span style="color:#fa4f8d"> &lt;</span><span style="color:#AE81FF"> 10</span><span style="color:#F8F8F2">) {</span></span>
<span class="line"><span style="color:#F8F8F2">					$(</span><span style="color:#AE81FF">dom_id</span><span style="color:#F8F8F2">)</span><span style="color:#fa4f8d">.</span><span style="color:#A6E22E">removeClassName</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'required-entry'</span><span style="color:#F8F8F2">);</span></span>
<span class="line"><span style="color:#AE81FF">					loopCheck</span><span style="color:#fa4f8d"> +=</span><span style="color:#AE81FF"> 1</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#F8F8F2">				}</span></span>
<span class="line"></span>
<span class="line"><span style="color:#AE81FF">				CKEDITOR</span><span style="color:#fa4f8d">.</span><span style="color:#A6E22E">replace</span><span style="color:#F8F8F2">(</span><span style="color:#AE81FF">dom_id</span><span style="color:#F8F8F2">, {</span></span>
<span class="line"><span style="color:#F8F8F2">					width : </span><span style="color:#AE81FF">640</span><span style="color:#F8F8F2">,</span></span>
<span class="line"><span style="color:#F8F8F2">					height: </span><span style="color:#AE81FF">350</span><span style="color:#F8F8F2">,</span></span>
<span class="line"><span style="color:#F8F8F2">					protectedSource : [</span><span style="color:#E6DB74">'(/{{[\s\S]*?}}/g)'</span><span style="color:#F8F8F2">]</span></span>
<span class="line"><span style="color:#F8F8F2">				});</span></span>
<span class="line"><span style="color:#F8F8F2">			}</span></span>
<span class="line"><span style="color:#F8F8F2">		});</span></span>
<span class="line"><span style="color:#F8F8F2">	}</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span>
<span class="line"></span>
<span class="line"><span style="color:#AE81FF">window</span><span style="color:#fa4f8d">.</span><span style="color:#AE81FF">onload</span><span style="color:#fa4f8d"> =</span><span style="color:#66D9EF;font-style:italic"> function</span><span style="color:#F8F8F2">() {</span></span>
<span class="line"><span style="color:#AE81FF">pageLoaded</span><span style="color:#fa4f8d"> =</span><span style="color:#AE81FF"> true</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#fa4f8d">&lt;?</span><span style="color:#AE81FF">php</span><span style="color:#fa4f8d"> if</span><span style="color:#F8F8F2">(</span><span style="color:#66D9EF">strpos</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F">$this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">helper</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'core/url'</span><span style="color:#F8F8F2">)</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">getCurrentUrl</span><span style="color:#F8F8F2">(), </span><span style="color:#E6DB74">'catalog_category'</span><span style="color:#F8F8F2">) </span><span style="color:#fa4f8d">===</span><span style="color:#AE81FF"> false</span><span style="color:#F8F8F2">)</span><span style="color:#fa4f8d">:</span><span style="color:#fa4f8d"> ?&gt;</span></span>
<span class="line"><span style="color:#A6E22E">	applyCKEditor</span><span style="color:#F8F8F2">();</span></span>
<span class="line"><span style="color:#fa4f8d">&lt;?</span><span style="color:#AE81FF">php</span><span style="color:#fa4f8d"> endif</span><span style="color:#F8F8F2">; </span><span style="color:#fa4f8d">?&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span>
<span class="line"><span style="color:#fa4f8d">&lt;/</span><span style="color:#AE81FF">script</span><span style="color:#fa4f8d">&gt;</span></span>
<span class="line"><span style="color:#fa4f8d">&lt;?</span><span style="color:#AE81FF">php</span><span style="color:#F8F8F2"> } </span><span style="color:#fa4f8d">?&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">{</span><span style="color:#fa4f8d">%</span><span style="color:#AE81FF"> endverbatim</span><span style="color:#fa4f8d"> %</span><span style="color:#F8F8F2">}</span></span></code></pre>
<p>in <code>app/design/adminhtml/default/default/template/catalog/category/edit/form.phtml</code> add this at the bottom but inside the script tag</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="javascript"><code><span class="line"><span style="color:#fa4f8d">if</span><span style="color:#F8F8F2">(</span><span style="color:#fa4f8d">typeof</span><span style="color:#F8F8F2"> applyCKEditor </span><span style="color:#fa4f8d">==</span><span style="color:#E6DB74"> 'function'</span><span style="color:#F8F8F2">) {</span></span>
<span class="line"><span style="color:#A6E22E">	applyCKEditor</span><span style="color:#F8F8F2">();</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span></code></pre>
]]></content:encoded></item>
<item><title>How Batman and Robin #16 should have ended</title><description>What really happened:  What SHOULD have happened: Thanks to John
for the images</description><link>https://timbroder.com/2010/11/how-batman-and-robin-16-should-have-ended/</link><guid isPermaLink="false">https://timbroder.com/2010/11/how-batman-and-robin-16-should-have-ended</guid><pubDate>Thu, 18 Nov 2010 16:08:40 GMT</pubDate><content:encoded><![CDATA[<p>What really happened:</p>
<p><a href="https://timbroder.com/images/2010/11/batmaninc1.jpg"><img src="https://timbroder.com/images/2010/11/batmaninc1.jpg" alt=""></a><a href="https://timbroder.com/images/2010/11/batmaninc2.jpg"><img src="https://timbroder.com/images/2010/11/batmaninc2.jpg" alt=""></a></p>
<p>What SHOULD have happened:</p>
<p><a href="https://timbroder.com/images/2010/11/batman3.jpg"><img src="https://timbroder.com/images/2010/11/batman3.jpg" alt=""></a>Thanks to <a href="http://twitter.com/#!/falcore000">John
</a>for the images</p>
]]></content:encoded></item>
<item><title>oh amazon</title><description>(10:18:07 AM) Laura: I think you ordered two plastic ball and chaisn (10:18:10AM) Laura: chains (10:18:20 AM) Me: i did (10:18:22 AM) Laura: Oh (10:18:24AM) Laura: Why? (10:18:35 AM) Me: i got enough bachelor parties coming up where i'll use it (10:18:39 AM) Laura: Ah (10:18:43 AM) Laura: Cool</description><link>https://timbroder.com/2010/10/oh-amazon/</link><guid isPermaLink="false">https://timbroder.com/2010/10/oh-amazon</guid><pubDate>Mon, 18 Oct 2010 14:19:31 GMT</pubDate><content:encoded><![CDATA[<p>(10:18:07 AM) Laura: I think you ordered two plastic ball and chaisn</p>
<p>(10:18:10AM) Laura: chains</p>
<p>(10:18:20 AM) Me: i did</p>
<p>(10:18:22 AM) Laura: Oh</p>
<p>(10:18:24AM) Laura: Why?</p>
<p>(10:18:35 AM) Me: i got enough bachelor parties coming up where i'll use it</p>
<p>(10:18:39 AM) Laura: Ah</p>
<p>(10:18:43 AM) Laura: Cool</p>
]]></content:encoded></item>
<item><title>Pesto</title><description>Really want to try this this week (via Jon) 1 to 1 1/2 cups of olive oil 2 cups fresh basil chopped (i usually get a couple of bushels 3 or 4 depends on what much u want to make its breaks down, i usually just take it off the stem and throw it in) 1/2 tsp fresh ground pepper 5 cloves of garlic chopped 1 tsp salt 1/2 cup grated Parmesan cheese Put like 1/2 cup of oil in blender to start with and add the basil. pepper
garlic and salt.  Keep adding basil and the rest of oil till it all blend
smooth Mix with…</description><link>https://timbroder.com/2010/10/pesto/</link><guid isPermaLink="false">https://timbroder.com/2010/10/pesto</guid><pubDate>Mon, 04 Oct 2010 20:35:20 GMT</pubDate><content:encoded><![CDATA[<p>Really want to try this this week (via <a href="http://twitter.com/mrblondeau">Jon</a>)</p>
<ul>
<li>1 to 1 1/2 cups of olive oil</li>
<li>2 cups fresh basil chopped (i usually get a couple of bushels 3 or 4 depends on what much u want to make its breaks down, i usually just take it off the stem and throw it in)</li>
<li>1/2 tsp fresh ground pepper</li>
<li>5 cloves of garlic chopped</li>
<li>1 tsp salt</li>
<li>1/2 cup grated Parmesan cheese</li>
</ul>
<p>Put like 1/2 cup of oil in blender to start with and add the basil. pepper
garlic and salt.&nbsp; Keep adding basil and the rest of oil till it all blend
smooth Mix with Parmesan cheese before serving</p>
]]></content:encoded></item>
<item><title>Huge omelet after OPT</title><description>James OPT Fitzgerald came to the black box yesterday which was a lot of fun.
Needed a huge omelet after.</description><link>https://timbroder.com/2010/10/huge-omelet-after-opt/</link><guid isPermaLink="false">https://timbroder.com/2010/10/huge-omelet-after-opt</guid><pubDate>Sun, 03 Oct 2010 13:49:39 GMT</pubDate><content:encoded><![CDATA[<p><img src="https://timbroder.com/images/2010/10/wpid-IMG_20101002_113547.jpg" alt="image"></p>
<p>James OPT Fitzgerald came to the black box yesterday which was a lot of fun.
Needed a huge omelet after.</p>
]]></content:encoded></item>
<item><title>Goo.gl url shortener goes public</title><description>Google's URL shortener service is now public, complete with QR code generation
Check it out: http://goo.gl/AP5t http://goo.gl/AP5t.qr It will be
interesting to see how this stands up to bit.ly</description><link>https://timbroder.com/2010/10/goo-gl-url-shortener-goes-public/</link><guid isPermaLink="false">https://timbroder.com/2010/10/goo-gl-url-shortener-goes-public</guid><pubDate>Fri, 01 Oct 2010 14:53:20 GMT</pubDate><content:encoded><![CDATA[<p>Google's URL shortener service is now public, complete with QR code generation
Check it out: <a href="http://goo.gl/AP5t">http://goo.gl/AP5t</a> <a href="http://goo.gl/AP5t.qr">http://goo.gl/AP5t.qr</a> It will be
interesting to see how this stands up to <a href="http://bit.ly">bit.ly</a></p>
]]></content:encoded></item>
<item><title>Some reading from django-nyc</title><description>Went to the django-nyc meetup last night, it was
in Manhattan and much easier to get to then when it's at huge in bk.  Wrote
down a few things to read up on: Celery - Celery is an asynchronous task queue/job queue based on distributed message passing. It is focused on real-time operation, but supports scheduling as well. Django ideas - Voting on things with limited numbers of votes to spread around, ala UserVoice Google tech meetup Google prediction api Nyc js Ben Firshman class based views Django con blip…</description><link>https://timbroder.com/2010/09/some-reading-from-django-nyc/</link><guid isPermaLink="false">https://timbroder.com/2010/09/some-reading-from-django-nyc</guid><pubDate>Thu, 30 Sep 2010 18:04:45 GMT</pubDate><content:encoded><![CDATA[<p>Went to the <a href="http://www.djangonyc.org/">django-nyc</a> meetup last night, it was
in Manhattan and much easier to get to then when it's at huge in bk. &nbsp;Wrote
down a few things to read up on:</p>
<ul>
<li><a href="http://celeryproject.org/">Celery</a> - Celery is an asynchronous task queue/job queue based on distributed message passing. It is focused on real-time operation, but supports scheduling as well.</li>
<li><a href="http://github.com/justinlilly/django-ideas">Django ideas</a> - Voting on things with limited numbers of votes to spread around, ala UserVoice</li>
<li><a href="http://www.meetup.com/NYC-GTUG/">Google tech meetup</a></li>
<li><a href="http://code.google.com/apis/predict/">Google prediction api</a></li>
<li><a href="http://www.meetup.com/javascript-7/">Nyc js</a></li>
<li><a href="http://www.google.com/search?q=Ben+Firshman+class+based+views&amp;ie=utf-8&amp;oe=utf-8&amp;aq=t&amp;rls=org.mozilla:en-US:official&amp;client=firefox-a">Ben Firshman class based views</a></li>
<li><a href="http://djangocon.blip.tv/">Django con blip tv</a></li>
<li><a href="http://djangocon.blip.tv/file/4135225/">Scaling worlds largest Django install </a></li>
<li>Maps of imaginary lands</li>
<li>Eric's keynote</li>
<li><a href="http://a.images.blip.tv/Robertlofthouse-PonyPwning373-117.jpg">Pony pwning security risks</a></li>
<li><a href="http://djangocon.blip.tv/file/4107023/">How to sell Django</a></li>
<li><a href="http://djangocon.blip.tv/file/4111172/">Nosql and Django</a></li>
<li><a href="http://djangocon.blip.tv/file/4134218/">How to come up to speed with new codebase</a></li>
<li>Frameworks</li>
<li>Virtualenv wrapper</li>
<li><a href="http://www.google.com/search?q=Fabric&amp;ie=utf-8&amp;oe=utf-8&amp;aq=t&amp;rls=org.mozilla:en-US:official&amp;client=firefox-a#sclient=psy&amp;hl=en&amp;client=firefox-a&amp;hs=X5N&amp;rls=org.mozilla%3Aen-US%3Aofficial&amp;source=hp&amp;q=Fabric+django&amp;aq=f&amp;aqi=g1g-m1g-o1&amp;aql=&amp;oq=&amp;gs_rfai=&amp;pbx=1&amp;fp=84f34ab5383c7ee9">Fabric</a></li>
<li><a href="http://www.capistranorb.com/">Capistrana</a></li>
<li>Django picket ajax</li>
<li><a href="http://dajaxproject.com/">Dajax</a></li>
</ul>
]]></content:encoded></item>
<item><title>Face vs. watermelon = BRUTAL</title><description></description><link>https://timbroder.com/2010/09/face-vs-watermelon-brutal/</link><guid isPermaLink="false">https://timbroder.com/2010/09/face-vs-watermelon-brutal</guid><pubDate>Wed, 08 Sep 2010 22:33:52 GMT</pubDate><content:encoded/></item>
<item><title>Google goes Instant</title><description>Google Instant is a new search enhancement that shows results as you type. We
are pushing the limits of our technology and infrastructure to help you get
better search results, faster. Our key technical insight was that people type
slowly, but read quickly, typically taking 300 milliseconds between
keystrokes, but only 30 milliseconds (a tenth of the time!) to glance at
another part of the page. This means that you can scan a results page while
you type. The most obvious change is that you get to the right…</description><link>https://timbroder.com/2010/09/google-goes-instant/</link><guid isPermaLink="false">https://timbroder.com/2010/09/google-goes-instant</guid><pubDate>Wed, 08 Sep 2010 19:21:05 GMT</pubDate><content:encoded><![CDATA[<p>Google Instant is a new search enhancement that shows results as you type. We
are pushing the limits of our technology and infrastructure to help you get
better search results, faster. Our key technical insight was that people type
slowly, but read quickly, typically taking 300 milliseconds between
keystrokes, but only 30 milliseconds (a tenth of the time!) to glance at
another part of the page. This means that you can scan a results page while
you type. The most obvious change is that you get to the right content much
faster than before because you don’t have to finish typing your full search
term, or even press “search.” Another shift is that seeing results as you type
helps you formulate a better search term by providing instant feedback. You
can now adapt your search on the fly until the results match exactly what you
want. In time, we may wonder how search ever worked in any other way.</p>
<h2 id="benefits">Benefits</h2>
<p><strong>Faster Searches:</strong> By predicting your search and showing results before you finish typing, Google Instant can save 2-5 seconds per search.</p>
<p><strong>Smarter Predictions:</strong> Even when you don’t know exactly what you’re looking for, predictions help guide your search. The top prediction is shown in grey text directly in the search box, so you can stop typing as soon as you see what you need.</p>
<p><strong>Instant Results:</strong> Start typing and results appear right before your eyes. Until now, you had to type a full search term, hit return, and hope for the right results. Now results appear instantly as you type, helping you see where you’re headed, every step of the way.</p>
]]></content:encoded></item>
<item><title>Outtake from our engagement photo shoot.</title><description></description><link>https://timbroder.com/2010/09/outtake-from-our-engagement-photo-shoot/</link><guid isPermaLink="false">https://timbroder.com/2010/09/outtake-from-our-engagement-photo-shoot</guid><pubDate>Wed, 08 Sep 2010 18:31:54 GMT</pubDate><content:encoded><![CDATA[<p><img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
]]></content:encoded></item>
<item><title>Magento:: Enabling the Product Review form anywhere</title><description>the form code lives in
 in
catalog.xml enable it with: and in your template:</description><link>https://timbroder.com/2010/09/magento-enabling-the-product-review-form-anywhere/</link><guid isPermaLink="false">https://timbroder.com/2010/09/magento-enabling-the-product-review-form-anywhere</guid><pubDate>Wed, 08 Sep 2010 18:03:07 GMT</pubDate><content:encoded><![CDATA[<p>the form code lives in
<code>app/design/frontend/yourtemplate/default/template/review/form.phtml</code> in
catalog.xml enable it with:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="xml"><code><span class="line"><span style="color:#F8F8F2">&lt;</span><span style="color:#fa4f8d">block</span><span style="color:#A6E22E"> type</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"review/form"</span><span style="color:#A6E22E"> name</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"product.info.review_form"</span><span style="color:#A6E22E"> as</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"review_form"</span><span style="color:#A6E22E"> template</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"review/form.phtml"</span><span style="color:#F8F8F2">/&gt;</span></span></code></pre>
<p>and in your template:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="php"><code><span class="line"><span style="color:#fa4f8d">&lt;?</span><span style="color:#AE81FF">php</span><span style="color:#66D9EF"> echo</span><span style="color:#FD971F"> $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">getChildHtml</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'review_form'</span><span style="color:#F8F8F2">); </span><span style="color:#fa4f8d">?&gt;</span></span></code></pre>
]]></content:encoded></item>
<item><title>Using widgets outside of the CMS in Magento</title><description>Magento ships with widget functionality that lets you build out data models
and then reuse them on product and CMS pages. If you want to use these in a
custom template however, you are out of luck.  This can be done by extending
the Widget Collection class. Create the following directory structure: Copy  into your new directory The Mage_Widget_Model_Mysql4_Widget_Instance_Collection
comes with a store filter but thats about it.  To be more usefull we are going
to add a type filter, a title filter, and a…</description><link>https://timbroder.com/2010/09/using-widgets-outside-of-the-cms-in-magento/</link><guid isPermaLink="false">https://timbroder.com/2010/09/using-widgets-outside-of-the-cms-in-magento</guid><pubDate>Tue, 07 Sep 2010 19:51:46 GMT</pubDate><content:encoded><![CDATA[<p>Magento ships with widget functionality that lets you build out data models
and then reuse them on product and CMS pages. If you want to use these in a
custom template however, you are out of luck.&nbsp; This can be done by extending
the Widget Collection class.</p>
<p>Create the following directory structure:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="plaintext"><code><span class="line"><span>app/code/local/Mage/Widget/Model/Myswql4/Widget/Instance</span></span></code></pre>
<p>Copy <code>app/code/core/Mage/Widget/Model/Myswql4/Widget/Instance/Collection.php</code> into your new directory</p>
<p>The Mage_Widget_Model_Mysql4_Widget_Instance_Collection
comes with a store filter but thats about it.&nbsp; To be more usefull we are going
to add a type filter, a title filter, and a sorter.</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="php"><code><span class="line"><span style="color:#66D9EF;font-style:italic">class</span><span> </span><span style="color:#A6E22E;text-decoration:underline">Mage_Widget_Model_Mysql4_Widget_Instance_Collection</span><span style="color:#fa4f8d"> extends</span><span> </span><span style="color:#A6E22E;font-style:italic;text-decoration:underline">Mage_Core_Model_Mysql4_Collection_Abstract</span></span>
<span class="line"><span style="color:#F8F8F2">{</span></span>
<span class="line"><span style="color:#94907d">    /**</span></span>
<span class="line"><span style="color:#94907d">     * Constructor</span></span>
<span class="line"><span style="color:#94907d">     */</span></span>
<span class="line"><span style="color:#fa4f8d">    protected</span><span style="color:#66D9EF;font-style:italic"> function</span><span style="color:#A6E22E"> _construct</span><span style="color:#F8F8F2">()</span></span>
<span class="line"><span style="color:#F8F8F2">    {</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">        parent</span><span style="color:#fa4f8d">::</span><span style="color:#A6E22E">_construct</span><span style="color:#F8F8F2">();</span></span>
<span class="line"><span style="color:#FD971F">        $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">_init</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'widget/widget_instance'</span><span style="color:#F8F8F2">);</span></span>
<span class="line"><span style="color:#F8F8F2">    }</span></span>
<span class="line"></span>
<span class="line"><span style="color:#94907d">    /**</span></span>
<span class="line"><span style="color:#94907d">     * Filter by store ids</span></span>
<span class="line"><span style="color:#94907d">     *</span></span>
<span class="line"><span style="color:#94907d">     * </span><span style="color:#fa4f8d">@param</span><span style="color:#fa4f8d"> array</span><span style="color:#94907d">|</span><span style="color:#fa4f8d">integer</span><span style="color:#94907d"> $storeIds</span></span>
<span class="line"><span style="color:#94907d">     * </span><span style="color:#fa4f8d">@param</span><span style="color:#fa4f8d"> boolean</span><span style="color:#94907d"> $withDefaultStore if TRUE also filter by store id '0'</span></span>
<span class="line"><span style="color:#94907d">     * </span><span style="color:#fa4f8d">@return</span><span style="color:#66D9EF;font-style:italic"> Mage_Widget_Model_Mysql4_Widget_Instance_Collection</span></span>
<span class="line"><span style="color:#94907d">     */</span></span>
<span class="line"><span style="color:#fa4f8d">    public</span><span style="color:#66D9EF;font-style:italic"> function</span><span style="color:#A6E22E"> addStoreFilter</span><span style="color:#F8F8F2">($storeIds </span><span style="color:#fa4f8d">=</span><span style="color:#66D9EF"> array</span><span style="color:#F8F8F2">(), $withDefaultStore </span><span style="color:#fa4f8d">=</span><span style="color:#AE81FF"> true</span><span style="color:#F8F8F2">)</span></span>
<span class="line"><span style="color:#F8F8F2">    {</span></span>
<span class="line"><span style="color:#fa4f8d">        if</span><span style="color:#F8F8F2"> (</span><span style="color:#fa4f8d">!</span><span style="color:#66D9EF">is_array</span><span style="color:#F8F8F2">($storeIds)) {</span></span>
<span class="line"><span style="color:#F8F8F2">            $storeIds </span><span style="color:#fa4f8d">=</span><span style="color:#66D9EF"> array</span><span style="color:#F8F8F2">($storeIds);</span></span>
<span class="line"><span style="color:#F8F8F2">        }</span></span>
<span class="line"><span style="color:#fa4f8d">        if</span><span style="color:#F8F8F2"> ($withDefaultStore </span><span style="color:#fa4f8d">&amp;&amp;</span><span style="color:#fa4f8d"> !</span><span style="color:#66D9EF">in_array</span><span style="color:#F8F8F2">(</span><span style="color:#AE81FF">0</span><span style="color:#F8F8F2">, $storeIds)) {</span></span>
<span class="line"><span style="color:#66D9EF">            array_unshift</span><span style="color:#F8F8F2">($storeIds, </span><span style="color:#AE81FF">0</span><span style="color:#F8F8F2">);</span></span>
<span class="line"><span style="color:#F8F8F2">        }</span></span>
<span class="line"><span style="color:#F8F8F2">        $select </span><span style="color:#fa4f8d">=</span><span style="color:#FD971F"> $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">getSelect</span><span style="color:#F8F8F2">();</span></span>
<span class="line"><span style="color:#fa4f8d">        foreach</span><span style="color:#F8F8F2"> ($storeIds </span><span style="color:#fa4f8d">as</span><span style="color:#F8F8F2"> $storeId) {</span></span>
<span class="line"><span style="color:#F8F8F2">            $select</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">orWhere</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'FIND_IN_SET(?, `store_ids`)'</span><span style="color:#F8F8F2">, $storeId);</span></span>
<span class="line"><span style="color:#F8F8F2">        }</span></span>
<span class="line"><span style="color:#fa4f8d">        return</span><span style="color:#FD971F"> $this</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#F8F8F2">    }</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">    public</span><span style="color:#66D9EF;font-style:italic"> function</span><span style="color:#A6E22E"> addTypeFilter</span><span style="color:#F8F8F2">($type) {</span></span>
<span class="line"><span style="color:#FD971F">    	$this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">getSelect</span><span style="color:#F8F8F2">()</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">where</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'type=?'</span><span style="color:#F8F8F2">, $type);</span></span>
<span class="line"><span style="color:#fa4f8d">    	return</span><span style="color:#FD971F"> $this</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#F8F8F2">    }</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">    public</span><span style="color:#66D9EF;font-style:italic"> function</span><span style="color:#A6E22E"> addTitleFilter</span><span style="color:#F8F8F2">($type) {</span></span>
<span class="line"><span style="color:#FD971F">    	$this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">getSelect</span><span style="color:#F8F8F2">()</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">where</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'title=?'</span><span style="color:#F8F8F2">, $type);</span></span>
<span class="line"><span style="color:#fa4f8d">    	return</span><span style="color:#FD971F"> $this</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#F8F8F2">    }</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">    public</span><span style="color:#66D9EF;font-style:italic"> function</span><span style="color:#A6E22E"> addAttributeToSort</span><span style="color:#F8F8F2">($attribute, $dir</span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74">'asc'</span><span style="color:#F8F8F2">) {</span></span>
<span class="line"><span style="color:#FD971F">    	$this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">getSelect</span><span style="color:#F8F8F2">()</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">order</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">"{</span><span style="color:#F8F8F2">$attribute</span><span style="color:#E6DB74">} {</span><span style="color:#F8F8F2">$dir</span><span style="color:#E6DB74">}"</span><span style="color:#F8F8F2">);</span></span>
<span class="line"><span style="color:#fa4f8d">    	return</span><span style="color:#FD971F"> $this</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#F8F8F2">    }</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span></code></pre>
<p>Now we should be able to query any widgets from any template in our system:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="php"><code><span class="line"><span style="color:#fa4f8d">&lt;</span><span style="color:#fa4f8d"> ?</span><span style="color:#AE81FF">php</span><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#F8F8F2">$wids </span><span style="color:#fa4f8d">=</span><span style="color:#66D9EF;font-style:italic"> Mage</span><span style="color:#fa4f8d">::</span><span style="color:#A6E22E">getModel</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'widget/widget_instance'</span><span style="color:#F8F8F2">)</span></span>
<span class="line"><span style="color:#fa4f8d">	-&gt;</span><span style="color:#A6E22E">getCollection</span><span style="color:#F8F8F2">()</span></span>
<span class="line"><span style="color:#fa4f8d">	-&gt;</span><span style="color:#A6E22E">addTypeFilter</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'masswidget/list'</span><span style="color:#F8F8F2">)</span></span>
<span class="line"><span style="color:#fa4f8d">	-&gt;</span><span style="color:#A6E22E">addAttributeToSort</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'title'</span><span style="color:#F8F8F2">, </span><span style="color:#E6DB74">'asc'</span><span style="color:#F8F8F2">)</span></span>
<span class="line"><span style="color:#fa4f8d">	-&gt;</span><span style="color:#A6E22E">load</span><span style="color:#F8F8F2">();</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">foreach</span><span style="color:#F8F8F2"> ($wids </span><span style="color:#fa4f8d">as</span><span style="color:#F8F8F2"> $wid)</span><span style="color:#fa4f8d">:</span></span>
<span class="line"><span style="color:#F8F8F2">	$params </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> $wid</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">getWidgetParameters</span><span style="color:#F8F8F2">();</span></span>
<span class="line"><span style="color:#66D9EF">	echo</span><span style="color:#F8F8F2"> $params[</span><span style="color:#E6DB74">'custom_param'</span><span style="color:#F8F8F2">];</span></span>
<span class="line"><span style="color:#66D9EF">	echo</span><span style="color:#F8F8F2"> $wid</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">gettitle</span><span style="color:#F8F8F2">();</span></span>
<span class="line"><span style="color:#fa4f8d">endforeach</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#fa4f8d">?&gt;</span></span></code></pre>
]]></content:encoded></item>
<item><title>The Primal Blueprint 30-Day Challenge</title><description>primal 30day challenge 1 If you want to lose weight, gain muscle, reduce stress, increase energy or
just generally look and feel healthier you’ve come to the right place. Oh, and
you can win lots of cool Primal gear, too (Over $10,000 in prizes!). That’s
right, it’s the annual Primal Blueprint 30-Day Challenge! Watch the following
video and read the article for all the details.</description><link>https://timbroder.com/2010/09/the-primal-blueprint-30-day-challenge/</link><guid isPermaLink="false">https://timbroder.com/2010/09/the-primal-blueprint-30-day-challenge</guid><pubDate>Tue, 07 Sep 2010 17:24:45 GMT</pubDate><content:encoded><![CDATA[<p><img src="https://timbroder.com/images/remote/2010-09-07-the-primal-blueprint-30-day-challenge/primal_30day_challenge-1.gif" alt="primal 30day challenge 1"></p>
<p>If you want to lose weight, gain muscle, reduce stress, increase energy or
just generally look and feel healthier you’ve come to the right place. Oh, and
you can win lots of cool Primal gear, too (Over $10,000 in prizes!). That’s
right, it’s the annual Primal Blueprint 30-Day Challenge! Watch the following
video and read <a href="http://www.marksdailyapple.com/the-primal-blueprint-30-day-challenge/">the article</a> for all the details.</p>
]]></content:encoded></item>
<item><title>Google Reader adds to trends view</title><description>Google Reader has added some more stats up at the top.  Number of
subscriptions, 30 days summary, when you started using Google reader, and
total number of articles read From your 233 subscriptions, over the last
30 days you read 1,227 items, clicked 6 items, starred 0 items,
shared 62 items, and emailed 28 items. Since September 12, 2006 you have read a total of 72,380 items.</description><link>https://timbroder.com/2010/08/google-reader-adds-to-trends-view/</link><guid isPermaLink="false">https://timbroder.com/2010/08/google-reader-adds-to-trends-view</guid><pubDate>Tue, 31 Aug 2010 13:22:38 GMT</pubDate><content:encoded><![CDATA[<p>Google Reader has added some more stats up at the top.&nbsp; Number of
subscriptions, 30 days summary, when you started using Google reader, and
total number of articles read From your <strong>233 subscriptions</strong>, over the last
30 days <strong>you read 1,227 items</strong>, <strong>clicked 6 items</strong>, <strong>starred 0 items</strong>,
<strong>shared 62 items</strong>, and <strong>emailed 28 items</strong>.</p>
<p>Since <strong>September 12, 2006</strong> you have read a total of <strong>72,380</strong> items.</p>
]]></content:encoded></item>
<item><title>How fuc**d is your database?</title><description>Are you using PostgreSQL, MySQL, MSSQL, Oracle, SQLite, MS Access, or NoSQL?
http://howfuckedismydatabase.com/</description><link>https://timbroder.com/2010/08/how-fucd-is-your-database/</link><guid isPermaLink="false">https://timbroder.com/2010/08/how-fucd-is-your-database</guid><pubDate>Thu, 26 Aug 2010 20:53:42 GMT</pubDate><content:encoded><![CDATA[<p>Are you using PostgreSQL, MySQL, MSSQL, Oracle, SQLite, MS Access, or NoSQL?
<a href="http://howfuckedismydatabase.com/">http://howfuckedismydatabase.com/</a></p>
]]></content:encoded></item>
<item><title>Gmail to real phone calling</title><description>We're playing with this at the office, pretty slick.  Seems like google just
really wants to be skype though  "Gmail voice and video
chat makes it easy to stay in touch with friends and family using
your computer’s microphone and speakers. But until now, this required both
people to be at their computers, signed into Gmail at the same time. Given
that most of us don’t spend all day in front of our computers, we thought,
“wouldn’t it be nice if you could call people directly on their phones?”
Starting today…</description><link>https://timbroder.com/2010/08/gmail-to-real-phone-calling/</link><guid isPermaLink="false">https://timbroder.com/2010/08/gmail-to-real-phone-calling</guid><pubDate>Wed, 25 Aug 2010 19:07:05 GMT</pubDate><content:encoded><![CDATA[<p>We're playing with this at the office, pretty slick.&nbsp; Seems like google just
really wants to be skype though <img src="https://timbroder.com/images/remote/2010-08-25-gmail-to-real-phone-calling/screenshot2.jpg" alt=""> "<a href="http://gmailblog.blogspot.com/2008/11/say-hello-to-gmail-voice-and-video-chat.html">Gmail voice and video
chat</a> makes it easy to stay in touch with friends and family using
your computer’s microphone and speakers. But until now, this required both
people to be at their computers, signed into Gmail at the same time. Given
that most of us don’t spend all day in front of our computers, we thought,
“wouldn’t it be nice if you could call people directly on their phones?”
Starting today, you can call any phone right from Gmail."  Full info can be
found <a href="http://gmailblog.blogspot.com/2010/08/call-phones-from-gmail.html">here</a></p>
]]></content:encoded></item>
<item><title>AMC'S THE WALKING DEAD Trailer</title><description>Very excited for this!</description><link>https://timbroder.com/2010/08/amcs-the-walking-dead-trailer/</link><guid isPermaLink="false">https://timbroder.com/2010/08/amcs-the-walking-dead-trailer</guid><pubDate>Tue, 24 Aug 2010 17:53:49 GMT</pubDate><content:encoded><![CDATA[<p>Very excited for this!</p>
]]></content:encoded></item>
<item><title>Digg 4v and Hulu Plus invites to give away</title><description>If anyone wants invites to the new Digg site, or a
Hulu Plus invite that can be activated right now, Post in the comments and
I'll divvy them out</description><link>https://timbroder.com/2010/08/digg-4v-and-hulu-plus-invites-to-give-away/</link><guid isPermaLink="false">https://timbroder.com/2010/08/digg-4v-and-hulu-plus-invites-to-give-away</guid><pubDate>Thu, 19 Aug 2010 19:32:25 GMT</pubDate><content:encoded><![CDATA[<p>If anyone wants invites to the <a href="http://new.digg.com/">new Digg site</a>, or a
Hulu Plus invite that can be activated right now, Post in the comments and
I'll divvy them out</p>
]]></content:encoded></item>
<item><title>Why VPS?</title><description>Lately the four main web hosting options are shared, VPS, dedicated, or a
cloud based solution.  I'll follow up on this article at a later date with my
experience with Amazon's cloud solution.  We are rolling out a magento install
into the cloud in a few weeks and I'll be commenting on how that goes.  To
start off, what is VPS web
hosting? A Virtual Private
Server (VPS) is a hosting environment that combines the benefits of both
shared hosting and dedicated hosting. It does this by creating a virtual
server…</description><link>https://timbroder.com/2010/08/why-vps/</link><guid isPermaLink="false">https://timbroder.com/2010/08/why-vps</guid><pubDate>Thu, 19 Aug 2010 15:16:43 GMT</pubDate><content:encoded><![CDATA[<p>Lately the four main web hosting options are shared, VPS, dedicated, or a
cloud based solution.&nbsp; I'll follow up on this article at a later date with my
experience with Amazon's cloud solution.&nbsp; We are rolling out a magento install
into the cloud in a few weeks and I'll be commenting on how that goes.&nbsp; To
start off, what is <a href="http://www.inmotionhosting.com/vps_hosting.html">VPS web
hosting</a>? A Virtual Private
Server (VPS) is a hosting environment that combines the benefits of both
shared hosting and dedicated hosting. It does this by creating a virtual
server that runs inside a hardware server via a specially designed partition.
So why would you need one over shared hosting?</p>
<ul>
<li>
<p>Speed: Much faster then shared hosting.&nbsp; There are fewer people sharing resources on the server and you have guaranteed resources.&nbsp; If another site is hogging 100% of the cpu on its VPS, this will not effect your sites performance.&nbsp; A VPS can handle might higher traffic loads then shared hosting.</p>
</li>
<li>
<p>Security: Your files are isolated from other VPS instances</p>
</li>
<li>
<p>Full root access to your instance</p>
</li>
<li>
<p>Reboot: Reboot apache or your whole server instance without effecting the other servers</p>
</li>
<li>
<p>Cost: Much cheaper then a dedicated instance with almost the same control/resources</p>
</li>
<li>
<p>More space for files</p>
</li>
<li>
<p>Custom Instances:&nbsp; More control over what you get, and is not dependent on the other instances on the same physical server.&nbsp; With shared hosting the provider usually picks the OS, with VPS there are usually dozens of options.</p>
</li>
<li>
<p>Private email, IP, and domain: Shared hosts will have one email server for all the hosts</p>
</li>
<li>
<p>Custom Security policies: From on server virus scanning to a customizable firewall</p>
</li>
<li>
<p>Reseller: if you have extra resources available you can usually resell these
The top VPS Hosting providers according to <a href="http://webhostinggeeks.com/vpshosting.html">Web Hosting
Geeks</a> are:</p>
</li>
<li>
<p><a href="http://www.inmotionhosting.com/vps_hosting.html">Inmotion</a></p>
</li>
<li>
<p><a href="http://www.ultrahosting.com/">Ultrahosting</a></p>
</li>
<li>
<p><a href="http://www.networksolutions.com/vps/index.jsp">Network Solutions</a></p>
</li>
<li>
<p><a href="http://www.ace-host.net/index.html">Ace Host</a></p>
</li>
<li>
<p><a href="http://www.hostican.com/">HostIcan</a></p>
</li>
<li>
<p><a href="http://www.lpdedicated.com/index.php">Lunar Pages</a></p>
</li>
<li>
<p><a href="http://order.1and1.com/xml/order/VirtualServer">1&amp;1</a></p>
</li>
<li>
<p><a href="http://www.xlhost.com/">xlhost</a></p>
</li>
</ul>
]]></content:encoded></item>
<item><title>Powering Chrome to Phone with Android to Device Messaging</title><description>Android Cloud to Device Messaging
(C2DM) was launched recently as part of
Android 2.2. C2DM enables third-party developers to push lightweight data
messages to the phone. C2DM created a nice opportunity for us to pull together
different Google developer tools to create a simple but useful application to
enable users to push links and other information from their desktop / laptop
to their phone. The result was Chrome to Phone - a 20-percent
time project at
Google. Chrome to Phone comprises a Chrome
Extension…</description><link>https://timbroder.com/2010/08/powering-chrome-to-phone-with-android-to-device-messaging/</link><guid isPermaLink="false">https://timbroder.com/2010/08/powering-chrome-to-phone-with-android-to-device-messaging</guid><pubDate>Thu, 12 Aug 2010 18:42:08 GMT</pubDate><content:encoded><![CDATA[<p>Android <a href="http://code.google.com/android/c2dm/">Cloud to Device Messaging
(C2DM)</a> was launched recently as part of
Android 2.2. C2DM enables third-party developers to push lightweight data
messages to the phone. C2DM created a nice opportunity for us to pull together
different Google developer tools to create a simple but useful application to
enable users to push links and other information from their desktop / laptop
to their phone. The result was Chrome to Phone - a <a href="http://www.google.com/intl/en/jobs/lifeatgoogle/englife/">20-percent
time</a> project at
Google. <a href="http://chrome.blogspot.com/">Chrome to Phone</a> comprises a Chrome
Extension, an Android Application, and a Google AppEngine server. All of the
code is open sourced and serves as a nice example of how to use C2DM. I really
can't wait for the 2.2 update to my phone. Check out the technical brief
<a href="http://android-developers.blogspot.com/2010/08/powering-chrome-to-phone-with-android.html">here</a></p>
]]></content:encoded></item>
<item><title>Fake Stan Lee vs. Comic Con 2009</title><description></description><link>https://timbroder.com/2010/08/fake-stan-lee-vs-comic-con-2009/</link><guid isPermaLink="false">https://timbroder.com/2010/08/fake-stan-lee-vs-comic-con-2009</guid><pubDate>Thu, 05 Aug 2010 15:01:33 GMT</pubDate><content:encoded><![CDATA[<p><a href="http://www.youtube.com/watch?v=6RX-gNBRgqc"><img src="https://timbroder.com/images/remote/2010-08-05-fake-stan-lee-vs-comic-con-2009/0.jpg" alt=""></a></p>
]]></content:encoded></item>
<item><title>Avengers teaser trailer from Comic Con</title><description></description><link>https://timbroder.com/2010/08/avengers-teaser-trailer-from-comic-con/</link><guid isPermaLink="false">https://timbroder.com/2010/08/avengers-teaser-trailer-from-comic-con</guid><pubDate>Thu, 05 Aug 2010 15:00:32 GMT</pubDate><content:encoded/></item>
<item><title>gpowered.net is now timbroder.com</title><description>Hi all, some of you may have noticed this site is no longer on the
gpowered.net domain.  I've been wanting to move onto wordpress for a while now
and also do some additional writing beyond code stuffs which would be outside
of the scope of gpowered.  I also unfortunately (or fortunately because I love
my job) don't have as much time as I
used to to research and post how to's.  Heavy django and magento going on
lately, I'll try to post about those. There are two RSS links at the top, RSS
has everything on…</description><link>https://timbroder.com/2010/07/gpowered-net-is-now-timbroder-com/</link><guid isPermaLink="false">https://timbroder.com/2010/07/gpowered-net-is-now-timbroder-com</guid><pubDate>Fri, 23 Jul 2010 19:48:27 GMT</pubDate><content:encoded><![CDATA[<p>Hi all, some of you may have noticed this site is no longer on the
gpowered.net domain.&nbsp; I've been wanting to move onto wordpress for a while now
and also do some additional writing beyond code stuffs which would be outside
of the scope of gpowered.&nbsp; I also unfortunately (or fortunately because I love
my <a href="https://www.alexanderinteractive.com/">job</a>) don't have as much time as I
used to to research and post how to's.&nbsp; Heavy django and magento going on
lately, I'll try to post about those. There are two RSS links at the top, RSS
has everything on this site including gpowered.&nbsp; the gpowered RSS will
continue to contain only tech articles. Let me know of any issues on the new
site</p>
]]></content:encoded></item>
<item><title>Pig Roast</title><description>Had a great time at Crossfit
Virtuosity's anniversary pig roast this
past weekend. mmmm pig</description><link>https://timbroder.com/2010/07/pig-roast/</link><guid isPermaLink="false">https://timbroder.com/2010/07/pig-roast</guid><pubDate>Mon, 19 Jul 2010 21:40:21 GMT</pubDate><content:encoded><![CDATA[<p>Had a great time at <a href="http://www.crossfitvirtuosity.com/">Crossfit
Virtuosity</a>'s anniversary pig roast this
past weekend. mmmm pig</p>
<p><img src="https://timbroder.com/images/2010/07/IMAG0124-150x150.jpg" alt="">
<img src="https://timbroder.com/images/2010/07/IMAG0125-150x150.jpg" alt="">
<img src="https://timbroder.com/images/2010/07/IMAG0126-150x150.jpg" alt=""></p>
]]></content:encoded></item>
<item><title>Front Runners New York Lesbian and Gay Pride Run (5M)</title><description>Was hot, humid, and I was still tired from Thursday night's Wallstreet race,
but a good time nevertheless</description><link>https://timbroder.com/2010/07/front-runners-new-york-lesbian-and-gay-pride-run-5m/</link><guid isPermaLink="false">https://timbroder.com/2010/07/front-runners-new-york-lesbian-and-gay-pride-run-5m</guid><pubDate>Tue, 06 Jul 2010 22:03:12 GMT</pubDate><content:encoded><![CDATA[<p>Was hot, humid, and I was still tired from Thursday night's Wallstreet race,
but a good time nevertheless  <img src="https://timbroder.com/images/2010/07/2010-07-06_1800.png" alt=""></p>
]]></content:encoded></item>
<item><title>Cook/bake off at #aiaio!</title><description>I made wings!</description><link>https://timbroder.com/2010/07/cookbake-off-at-aiaio/</link><guid isPermaLink="false">https://timbroder.com/2010/07/cookbake-off-at-aiaio</guid><pubDate>Thu, 01 Jul 2010 17:56:52 GMT</pubDate><content:encoded><![CDATA[<p>I made wings! <img src="https://timbroder.com/images/2010/07/IMAG0109.jpg" alt=""></p>
]]></content:encoded></item>
<item><title>Displaying Custom Attributes on the Product Page in Magento</title><description>At some point you may not want to use the canned attributes.phtml groupings
that magento provides, or you just want to cherry pick which attributes to
show on your product listing page template/catalog/product/view.phtml</description><link>https://timbroder.com/2010/06/displaying-custom-attributes-on-the-product-page-in-magento/</link><guid isPermaLink="false">https://timbroder.com/2010/06/displaying-custom-attributes-on-the-product-page-in-magento</guid><pubDate>Tue, 29 Jun 2010 16:27:47 GMT</pubDate><content:encoded><![CDATA[<p>At some point you may not want to use the canned attributes.phtml groupings
that magento provides, or you just want to cherry pick which attributes to
show on your product listing page template/catalog/product/view.phtml</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="php"><code><span class="line"><span style="color:#F8F8F2">$_product </span><span style="color:#fa4f8d">=</span><span style="color:#FD971F"> $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">getProduct</span><span style="color:#F8F8F2">();</span></span>
<span class="line"></span>
<span class="line"><span style="color:#94907d">//For the attribute bike_specs_rear_shock</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">$_product</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">getResource</span><span style="color:#F8F8F2">()</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">getAttribute</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'bike_specs_rear_shock'</span><span style="color:#F8F8F2">)</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">getStoreLabel</span><span style="color:#F8F8F2">(); </span><span style="color:#94907d">//label</span></span>
<span class="line"><span style="color:#F8F8F2">$_product</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">getbike_specs_rear_shock</span><span style="color:#F8F8F2">(); </span><span style="color:#94907d">//value</span></span></code></pre>
]]></content:encoded></item>
<item><title>iPhone4 vs HTC Evo</title><description>Warning: cursing</description><link>https://timbroder.com/2010/06/iphone4-vs-htc-evo/</link><guid isPermaLink="false">https://timbroder.com/2010/06/iphone4-vs-htc-evo</guid><pubDate>Mon, 28 Jun 2010 17:24:17 GMT</pubDate><content:encoded><![CDATA[<p>Warning: cursing</p>
<p><a href="http://www.youtube.com/watch?v=FL7yD-0pqZg"><img src="https://timbroder.com/images/remote/2010-06-28-iphone4-vs-htc-evo/0.jpg" alt=""></a></p>
]]></content:encoded></item>
<item><title>Wedding Planning</title><description>Tim: aside from not being a buffet, the food looks redic
Tim: also, they are
using joomla for their site via maybe-not.</description><link>https://timbroder.com/2010/06/wedding-planning/</link><guid isPermaLink="false">https://timbroder.com/2010/06/wedding-planning</guid><pubDate>Tue, 22 Jun 2010 21:39:41 GMT</pubDate><content:encoded><![CDATA[<p>Tim: aside from not being a buffet, the food looks redic
Tim: also, they are
using joomla for their site</p>
<p>via <a href="http://maybe-not.net/post/726385577">maybe-not</a>.</p>
]]></content:encoded></item>
<item><title>SyntaxHighlighter Evolved</title><description>I'm currently in the process of migrating gpowerd.net over to this domain and
onto wordpress.  SyntaxHighlighter
has been upgraded quite a
bit since I last wrote about
it.  I came across a great
plugin to handle the
code highlighting for me on wordpress.  I love the plugin, didn't have to go
into the wordpress template. It doesn't support the old pre syntax that I had
been using previously but it was simple to add in. Patch to add this to 2.3.8
is below, Thanks to Alex for the plugin</description><link>https://timbroder.com/2010/06/syntaxhighlighter-evolved/</link><guid isPermaLink="false">https://timbroder.com/2010/06/syntaxhighlighter-evolved</guid><pubDate>Fri, 18 Jun 2010 17:45:25 GMT</pubDate><content:encoded><![CDATA[<p>I'm currently in the process of migrating gpowerd.net over to this domain and
onto wordpress. <a href="http://alexgorbatchev.com/wiki/SyntaxHighlighter"> SyntaxHighlighter
</a>has been upgraded quite a
bit since I <a href="https://timbroder.com/2007/07/howto-post-code/">last</a> wrote about
it.&nbsp; I came across a <a href="http://wordpress.org/extend/plugins/syntaxhighlighter/">great
plugin</a> to handle the
code highlighting for me on wordpress.&nbsp; I love the plugin, didn't have to go
into the wordpress template. It doesn't support the old pre syntax that I had
been using previously but it was simple to add in. Patch to add this to 2.3.8
is below, Thanks to <a href="http://www.viper007bond.com/wordpress-plugins/syntaxhighlighter/">Alex </a>for the plugin</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="plaintext"><code><span class="line"><span>    --- syntaxhighlighter.orrig.php	2010-06-03 20:08:24.000000000 -0500</span></span>
<span class="line"><span>    +++ syntaxhighlighter.php	2010-06-18 12:27:35.000000000 -0500</span></span>
<span class="line"><span>    @@ -101,12 +101,15 @@</span></span>
<span class="line"><span>     			'tabsize'        =&gt; 4,</span></span>
<span class="line"><span>     			'toolbar'        =&gt; 1,</span></span>
<span class="line"><span>     			'wraplines'      =&gt; 1,</span></span>
<span class="line"><span>    +			'legacy'         =&gt; 0,</span></span>
<span class="line"><span>     		) );</span></span>
<span class="line"><span>    </span></span>
<span class="line"><span>     		// Create the settings array by merging the user's settings and the defaults</span></span>
<span class="line"><span>     		$usersettings = (array) get_option('syntaxhighlighter_settings');</span></span>
<span class="line"><span>     		$this-&gt;settings = wp_parse_args( $usersettings, $this-&gt;defaultsettings );</span></span>
<span class="line"><span>    </span></span>
<span class="line"><span>    +		if ( 1 == $this-&gt;settings['legacy'] )</span></span>
<span class="line"><span>    +					wp_register_script( 'syntaxhighlighter-brush-legacy',             plugins_url('syntaxhighlighter/syntaxhighlighter/scripts/shLegacy.js'),            array(),                         $this-&gt;agshver );</span></span>
<span class="line"><span>    </span></span>
<span class="line"><span>     		// Register generic hooks</span></span>
<span class="line"><span>     		add_filter( 'the_content',                array(&amp;$this, 'parse_shortcodes'),                              7 );</span></span>
<span class="line"><span>    @@ -175,6 +178,7 @@</span></span>
<span class="line"><span>     			'javascript'    =&gt; 'jscript',</span></span>
<span class="line"><span>     			//'latex'         =&gt; 'latex',</span></span>
<span class="line"><span>     			'tex'           =&gt; 'latex',</span></span>
<span class="line"><span>    +			'legacy'        =&gt; 'legacy',</span></span>
<span class="line"><span>     			'matlab'        =&gt; 'matlabkey',</span></span>
<span class="line"><span>     			'objc'          =&gt; 'objc',</span></span>
<span class="line"><span>     			'obj-c'         =&gt; 'objc',</span></span>
<span class="line"><span>    @@ -583,6 +587,9 @@</span></span>
<span class="line"><span>     		echo "	SyntaxHighlighter.config.strings.noBrush = '" . $this-&gt;js_escape_singlequotes( __( "Can't find brush for: ", 'syntaxhighlighter' ) ) . "';\n";</span></span>
<span class="line"><span>     		echo "	SyntaxHighlighter.config.strings.brushNotHtmlScript = '" . $this-&gt;js_escape_singlequotes( __( "Brush wasn't configured for html-script option: ", 'syntaxhighlighter' ) ) . "';\n";</span></span>
<span class="line"><span>    </span></span>
<span class="line"><span>    +		if ( 1 == $this-&gt;settings['legacy'] )</span></span>
<span class="line"><span>    +			echo "	dp.SyntaxHighlighter.HighlightAll('code');\n";</span></span>
<span class="line"><span>    +</span></span>
<span class="line"><span>     		if ( 1 != $this-&gt;settings['autolinks'] )</span></span>
<span class="line"><span>     			echo "	SyntaxHighlighter.defaults['auto-links'] = false;\n";</span></span>
<span class="line"><span>    </span></span>
<span class="line"><span>    @@ -687,6 +694,7 @@</span></span>
<span class="line"><span>     			'tabsize'        =&gt; false,</span></span>
<span class="line"><span>     			'toolbar'        =&gt; false,</span></span>
<span class="line"><span>     			'wraplines'      =&gt; false,</span></span>
<span class="line"><span>    +			'legacy'         =&gt; false,</span></span>
<span class="line"><span>     		), $atts ) );</span></span>
<span class="line"><span>    </span></span>
<span class="line"><span>     		// Check for language shortcode tag such as [php]code[/php]</span></span>
<span class="line"><span>    </span></span>
<span class="line"><span>    </span></span>
<span class="line"><span>    @@ -771,6 +779,7 @@</span></span>
<span class="line"><span>     'smarttabs'      =&gt; 'smart-tabs',</span></span>
<span class="line"><span>     'tabsize'        =&gt; 'tab-size',</span></span>
<span class="line"><span>     'wraplines'      =&gt; 'wrap-lines',</span></span>
<span class="line"><span>    +			'legacy'         =&gt; 'legacy',</span></span>
<span class="line"><span>     );</span></span>
<span class="line"><span>    </span></span>
<span class="line"><span>     // Allowed configuration parameters and their type</span></span>
<span class="line"><span>    @@ -925,6 +934,7 @@</span></span>
<span class="line"><span>     settings['light'], 1 ); ?&gt; /&gt; </span></span>
<span class="line"><span>    </span></span>
<span class="line"><span>     settings['smarttabs'], 1 ); ?&gt; /&gt; </span></span>
<span class="line"><span>    </span></span>
<span class="line"><span>     settings['wraplines'], 1 ); ?&gt; /&gt; </span></span>
<span class="line"><span>    </span></span>
<span class="line"><span>    +					settings['legacy'], 1 ); ?&gt; /&gt; </span></span>
<span class="line"><span>    </span></span>
<span class="line"><span>     </span></span>
<span class="line"><span>     </span></span>
<span class="line"><span>    </span></span>
<span class="line"><span>    </span></span>
<span class="line"><span>    @@ -1062,6 +1072,7 @@</span></span>
<span class="line"><span>     $settings['smarttabs']      = ( !empty($settings['smarttabs']) )      ? 1 : 0;</span></span>
<span class="line"><span>     $settings['toolbar']        = ( !empty($settings['toolbar']) )        ? 1 : 0;</span></span>
<span class="line"><span>     $settings['wraplines']      = ( !empty($settings['wraplines']) )      ? 1 : 0;</span></span>
<span class="line"><span>    +			$settings['legacy']         = ( !empty($settings['legacy']) )         ? 1 : 0;</span></span>
<span class="line"><span>    </span></span>
<span class="line"><span>     if ( 'true' != $settings['padlinenumbers'] &amp;&amp; 'false' != $settings['padlinenumbers'] )</span></span>
<span class="line"><span>     $settings['padlinenumbers'] = (int) $settings['padlinenumbers'];</span></span>
<span class="line"><span>    ```</span></span></code></pre>
]]></content:encoded></item>
<item><title>Lazy bum</title><description>Jack guards the office</description><link>https://timbroder.com/2010/06/lazy-bum/</link><guid isPermaLink="false">https://timbroder.com/2010/06/lazy-bum</guid><pubDate>Thu, 03 Jun 2010 17:49:39 GMT</pubDate><content:encoded><![CDATA[<p><img src="https://timbroder.com/images/2010/06/wpid-IMAG0048.jpg" alt="image"> Jack guards the office</p>
]]></content:encoded></item>
<item><title>Never lose a bet at #aiaio</title><description></description><link>https://timbroder.com/2010/04/never-lose-a-bet-at-aiaio/</link><guid isPermaLink="false">https://timbroder.com/2010/04/never-lose-a-bet-at-aiaio</guid><pubDate>Fri, 23 Apr 2010 13:38:07 GMT</pubDate><content:encoded><![CDATA[<p><img src="https://timbroder.com/images/2010/04/wpid-2010-04-21-14.15.53.jpg" alt=""></p>
]]></content:encoded></item>
<item><title>select foo, count(*) from bar group by foo in django</title><description>Every once in a while you need some old fashion SQL style queries in django.
This is a common one for reporting and aggregation.  Its fairly easy to
replicate in a queryset.  Say I wanted to get the authors and the number of
articles they have written going back to the beginning of 2009 to the
present:﻿ The result:</description><link>https://timbroder.com/2010/03/select-foo-count-from-bar-group-by-foo-in-django/</link><guid isPermaLink="false">https://timbroder.com/2010/03/select-foo-count-from-bar-group-by-foo-in-django</guid><pubDate>Wed, 31 Mar 2010 16:31:06 GMT</pubDate><content:encoded><![CDATA[<p>Every once in a while you need some old fashion SQL style queries in django.
This is a common one for reporting and aggregation.&nbsp; Its fairly easy to
replicate in a queryset.&nbsp; Say I wanted to get the authors and the number of
articles they have written going back to the beginning of 2009 to the
present:﻿</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="python"><code><span class="line"><span style="color:#fa4f8d">from</span><span style="color:#F8F8F2"> django.db.models </span><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> Count</span></span>
<span class="line"><span style="color:#F8F8F2">Article.objects</span></span>
<span class="line"><span style="color:#F8F8F2">	.filter(</span><span style="color:#FD971F;font-style:italic">created_date__gte</span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2">datetime.datetime(</span><span style="color:#AE81FF">2009</span><span style="color:#F8F8F2">,</span><span style="color:#AE81FF">1</span><span style="color:#F8F8F2">,</span><span style="color:#AE81FF">1</span><span style="color:#F8F8F2">))</span></span>
<span class="line"><span style="color:#F8F8F2">	.values(</span><span style="color:#E6DB74">'author'</span><span style="color:#F8F8F2">)</span></span>
<span class="line"><span style="color:#F8F8F2">	.annotate(Count(</span><span style="color:#E6DB74">'author'</span><span style="color:#F8F8F2">))</span></span></code></pre>
<p>The result:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="plaintext"><code><span class="line"><span>[{'author__count': 1028, 'author': 17L}, {'author__count': 9, 'author': 9L}, {'author__count': 39, 'author': 12L}, {'author__count': 581, 'author': 10L}, {'author__count': 15, 'author': 7L}, {'author__count': 366, 'author': 13L}, {'author__count': 233, 'author': 5L}, {'author__count': 167, 'author': 15L}, {'author__count': 287, 'author': 14L}, {'author__count': 10, 'author': 6L}, {'author__count': 2101, 'author': 16L}]</span></span></code></pre>
]]></content:encoded></item>
<item><title>IE9 platform preview</title><description>Interested in checking out the new Web platform capabilities of Internet
Explorer 9? Download the
Internet Explorer Platform Preview right now.</description><link>https://timbroder.com/2010/03/ie9-platform-preview/</link><guid isPermaLink="false">https://timbroder.com/2010/03/ie9-platform-preview</guid><pubDate>Tue, 16 Mar 2010 20:15:00 GMT</pubDate><content:encoded><![CDATA[<p><a href="https://timbroder.com/images/remote/2010-03-16-ie9-platform-preview/ie9scribble.jpg"><img src="https://timbroder.com/images/remote/2010-03-16-ie9-platform-preview/ie9scribble.jpg" alt=""></a></p>
<p>Interested in checking out the new Web platform capabilities of Internet
Explorer 9?</p>
<p><a href="http://ie.microsoft.com/testdrive/info/ThankYou/Default.html">Download</a> the
Internet Explorer Platform Preview right now.</p>
]]></content:encoded></item>
<item><title>Hide buzz without disabling it</title><description>If you want people to see your buzzes, but like myself want to keep checking
people's google reader shares IN google reader, and see twitter in twitter,
you can hide the Buzz label.  Go into settings &gt; labels &gt; buzz &gt; hide</description><link>https://timbroder.com/2010/02/hide-buzz-without-disabling-it/</link><guid isPermaLink="false">https://timbroder.com/2010/02/hide-buzz-without-disabling-it</guid><pubDate>Fri, 12 Feb 2010 16:27:00 GMT</pubDate><content:encoded><![CDATA[<p>If you want people to see your buzzes, but like myself want to keep checking
people's google reader shares IN google reader, and see twitter in twitter,
you can hide the Buzz label.  Go into settings &gt; labels &gt; buzz &gt; hide</p>
]]></content:encoded></item>
<item><title>Why Google Needs Buzz</title><description>Why Google Needs Buzz: "</description><link>https://timbroder.com/2010/02/why-google-needs-buzz/</link><guid isPermaLink="false">https://timbroder.com/2010/02/why-google-needs-buzz</guid><pubDate>Fri, 12 Feb 2010 14:34:00 GMT</pubDate><content:encoded><![CDATA[<p><a href="http://kevinrose.com/post/385156078">Why Google Needs Buzz</a>: "</p>
]]></content:encoded></item>
<item><title>Google Buzz? Facebook Email?</title><description>Google Buzz quetly came out, adds friendfeed
like functionality to gmail Facebook is also launching email, interesting times ahead in the communication
world.</description><link>https://timbroder.com/2010/02/google-buzz-facebook-email/</link><guid isPermaLink="false">https://timbroder.com/2010/02/google-buzz-facebook-email</guid><pubDate>Wed, 10 Feb 2010 16:55:00 GMT</pubDate><content:encoded><![CDATA[<p><a href="http://www.google.com/buzz">Google Buzz</a> quetly came out, adds friendfeed
like functionality to gmail</p>
<p>Facebook is also <a href="http://gizmodo.com/5465353/facebook-eyes-webmail-with-project-titan">launching email</a>, interesting times ahead in the communication
world.</p>
]]></content:encoded></item>
<item><title>Django Admin inline preview</title><description>Update: This code lives on Github To get inline Admin Previews in the list view Inherit from PreviewAdmin in your ModelAdmin In your model's template directory, create a folder called preview, and
create a template for that model's preview Example for model Article then edit  Whatever is in article.html will be shown inline 
Access your Article object through {{ object }} in the template</description><link>https://timbroder.com/2010/02/django-admin-inline-preview/</link><guid isPermaLink="false">https://timbroder.com/2010/02/django-admin-inline-preview</guid><pubDate>Tue, 09 Feb 2010 19:17:00 GMT</pubDate><content:encoded><![CDATA[<p>Update: This code lives on <a href="https://github.com/broderboy/django-admin-preview">Github</a></p>
<p>To get inline Admin Previews in the list view</p>
<ol>
<li>Inherit from PreviewAdmin in your ModelAdmin</li>
<li>In your model's template directory, create a folder called preview, and
create a template for that model's preview</li>
</ol>
<p>Example for model Article</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="python"><code><span class="line"><span style="color:#66D9EF;font-style:italic">class</span><span> </span><span style="color:#A6E22E;text-decoration:underline">ArticleAdmin</span><span style="color:#F8F8F2">(</span><span style="color:#A6E22E;font-style:italic;text-decoration:underline">PreviewAdmin</span><span style="color:#F8F8F2">, </span><span style="color:#A6E22E;font-style:italic;text-decoration:underline">other</span><span> </span><span style="color:#A6E22E;font-style:italic;text-decoration:underline">admin</span><span style="color:#F8F8F2">.</span><span style="color:#A6E22E;font-style:italic;text-decoration:underline">ModelAdmin</span><span style="color:#F8F8F2">,,,</span><span style="color:#A6E22E;font-style:italic;text-decoration:underline">_</span><span style="color:#F8F8F2">):  </span></span>
<span class="line"><span style="color:#F8F8F2">	list_display </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> (..,.., </span><span style="color:#E6DB74">'admin_slide_preview'</span><span style="color:#F8F8F2">)  </span></span>
<span class="line"><span style="color:#AE81FF">	...</span><span style="color:#F8F8F2">  </span></span>
<span class="line"><span style="color:#AE81FF">	...</span><span style="color:#F8F8F2">  </span></span></code></pre>
<p>then edit <code>app_that_has_ArticleModel/templates/preview/article.html</code></p>
<p>Whatever is in article.html will be shown inline<br>
Access your Article object through {{ object }} in the template</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="python"><code><span class="line"><span style="color:#66D9EF;font-style:italic">class</span><span> </span><span style="color:#A6E22E;text-decoration:underline">PreviewAdmin</span><span style="color:#F8F8F2">(</span><span style="color:#A6E22E;font-style:italic;text-decoration:underline">admin</span><span style="color:#F8F8F2">.</span><span style="color:#A6E22E;font-style:italic;text-decoration:underline">ModelAdmin</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#94907d">    #add to your ModelAdmin</span></span>
<span class="line"><span style="color:#94907d">    #list_display = ('headline','created_date', 'state', 'admin_slide_preview')</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">    def</span><span style="color:#A6E22E"> admin_slide_preview</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F;font-style:italic">self</span><span style="color:#F8F8F2">, </span><span style="color:#FD971F;font-style:italic">obj</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#fa4f8d">        return</span><span style="color:#E6DB74"> "&lt;div class=</span><span style="color:#AE81FF">\"</span><span style="color:#E6DB74">previewslide</span><span style="color:#AE81FF">\"</span><span style="color:#E6DB74"> id=</span><span style="color:#AE81FF">\"%s</span><span style="color:#E6DB74">/preview/</span><span style="color:#AE81FF">\"</span><span style="color:#E6DB74">&gt;+&lt;/div&gt;"</span><span style="color:#fa4f8d"> %</span><span style="color:#F8F8F2"> obj.id</span></span>
<span class="line"><span style="color:#F8F8F2">    admin_slide_preview.allow_tags </span><span style="color:#fa4f8d">=</span><span style="color:#AE81FF"> True</span></span>
<span class="line"><span style="color:#F8F8F2">    admin_slide_preview.short_description </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> 'Preview'</span></span>
<span class="line"><span style="color:#F8F8F2">    </span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">    def</span><span style="color:#A6E22E"> get_preview</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F;font-style:italic">self</span><span style="color:#F8F8F2">, </span><span style="color:#FD971F;font-style:italic">request</span><span style="color:#F8F8F2">, </span><span style="color:#FD971F;font-style:italic">object_id</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#F8F8F2">        sub </span><span style="color:#fa4f8d">=</span><span style="color:#FD971F"> self</span><span style="color:#F8F8F2">.queryset(request)[</span><span style="color:#AE81FF">0</span><span style="color:#F8F8F2">]</span></span>
<span class="line"><span style="color:#F8F8F2">        template </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> "preview/</span><span style="color:#AE81FF">%s</span><span style="color:#E6DB74">.html"</span><span style="color:#fa4f8d"> %</span><span style="color:#F8F8F2"> sub.__class__.__name__</span></span>
<span class="line"><span style="color:#fa4f8d">        return</span><span style="color:#F8F8F2"> object_detail(request, </span><span style="color:#FD971F;font-style:italic">queryset</span><span style="color:#fa4f8d">=</span><span style="color:#FD971F">self</span><span style="color:#F8F8F2">.queryset(request), </span><span style="color:#FD971F;font-style:italic">object_id</span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2">object_id, </span><span style="color:#FD971F;font-style:italic">template_name</span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2">template.lower())</span></span>
<span class="line"><span style="color:#F8F8F2">        </span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">    def</span><span style="color:#A6E22E"> get_urls</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F;font-style:italic">self</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#F8F8F2">        urls </span><span style="color:#fa4f8d">=</span><span style="color:#66D9EF;font-style:italic"> super</span><span style="color:#F8F8F2">(PreviewAdmin, </span><span style="color:#FD971F">self</span><span style="color:#F8F8F2">).get_urls()</span></span>
<span class="line"><span style="color:#F8F8F2">        my_urls </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> patterns(</span><span style="color:#E6DB74">''</span><span style="color:#F8F8F2">,</span></span>
<span class="line"><span style="color:#F8F8F2">            (</span><span style="color:#66D9EF;font-style:italic">r</span><span style="color:#E6DB74">'^(</span><span style="color:#fa4f8d">?P&lt;object_id&gt;</span><span style="color:#E6DB74">\d</span><span style="color:#fa4f8d">+</span><span style="color:#E6DB74">)/preview/$'</span><span style="color:#F8F8F2">, </span><span style="color:#FD971F">self</span><span style="color:#F8F8F2">.get_preview),</span></span>
<span class="line"><span style="color:#F8F8F2">        )</span></span>
<span class="line"><span style="color:#fa4f8d">        return</span><span style="color:#F8F8F2"> my_urls </span><span style="color:#fa4f8d">+</span><span style="color:#F8F8F2"> urls</span></span>
<span class="line"><span style="color:#F8F8F2">    </span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">    class</span><span> </span><span style="color:#A6E22E;text-decoration:underline">Media</span><span style="color:#F8F8F2">:</span></span>
<span class="line"><span style="color:#F8F8F2">        js </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> js </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> (</span><span style="color:#E6DB74">'js/jquery.js'</span><span style="color:#F8F8F2">,</span></span>
<span class="line"><span style="color:#E6DB74">                   'js/jquery.adminpreview.js'</span></span></code></pre>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="css"><code><span class="line"><span style="color:#F8F8F2">//base.css</span></span>
<span class="line"><span style="color:#A6E22E">.previewslide</span><span style="color:#F8F8F2"> {</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">	cursor</span><span style="color:#F8F8F2">:</span><span style="color:#66D9EF">pointer</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">	cursor</span><span style="color:#F8F8F2">:</span><span style="color:#66D9EF">hand</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">```javascript</span></span>
<span class="line"><span style="color:#F8F8F2">//jquery.adminpreview.js</span></span>
<span class="line"><span style="color:#F8F8F2">$(document).ready(function(){</span></span>
<span class="line"><span style="color:#F8F8F2"> $(".previewslide").click(function(){</span></span>
<span class="line"><span style="color:#F8F8F2">  $.ajax({</span></span>
<span class="line"><span style="color:#F8F8F2">   url:$(this).attr('id'),</span></span>
<span class="line"><span style="color:#F8F8F2">   context: $(this).parent().parent(),</span></span>
<span class="line"><span style="color:#F8F8F2">   success:function(</span><span style="color:#fa4f8d">data</span><span style="color:#F8F8F2">){</span></span>
<span class="line"><span style="color:#F8F8F2">    var $html = $(data);</span></span>
<span class="line"><span style="color:#F8F8F2">    $('.previewed').each(function(){</span></span>
<span class="line"><span style="color:#F8F8F2">     $(this).remove();</span></span>
<span class="line"><span style="color:#F8F8F2">    });</span></span>
<span class="line"><span style="color:#F8F8F2">    </span></span>
<span class="line"><span style="color:#F8F8F2">    if(!$</span><span style="color:#fa4f8d">html</span><span style="color:#F8F8F2">.hasClass('previewed')){</span></span>
<span class="line"><span style="color:#F8F8F2">     $html.addClass('previewed');</span></span>
<span class="line"><span style="color:#F8F8F2">    }</span></span>
<span class="line"><span style="color:#F8F8F2">    </span></span>
<span class="line"><span style="color:#F8F8F2">    $html.addClass($(this.context).attr('class'));  </span></span>
<span class="line"><span style="color:#F8F8F2">    $(this.context).</span><span style="color:#66D9EF;font-style:italic">after</span><span style="color:#F8F8F2">($html);</span></span>
<span class="line"><span style="color:#F8F8F2">   }</span></span>
<span class="line"><span style="color:#F8F8F2">  });</span></span>
<span class="line"><span style="color:#F8F8F2"> });</span></span>
<span class="line"><span style="color:#F8F8F2">});</span></span></code></pre>
]]></content:encoded></item>
<item><title>Get the admin url for a django model</title><description>Add this to your model to be able to get their admin change link from anywhere Useful if you want to jump to the admin screen of an object you are looking at
on the front end</description><link>https://timbroder.com/2010/02/get-admin-url-for-django-model/</link><guid isPermaLink="false">https://timbroder.com/2010/02/get-admin-url-for-django-model</guid><pubDate>Tue, 09 Feb 2010 18:48:00 GMT</pubDate><content:encoded><![CDATA[<p>Add this to your model to be able to get their admin change link from anywhere</p>
<p>Useful if you want to jump to the admin screen of an object you are looking at
on the front end</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="python"><code><span class="line"><span style="color:#fa4f8d">from</span><span style="color:#F8F8F2"> django.core </span><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> urlresolvers</span></span>
<span class="line"><span style="color:#fa4f8d">from</span><span style="color:#F8F8F2"> django.contrib.contenttypes.models </span><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> ContentType</span></span>
<span class="line"></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">def</span><span style="color:#A6E22E"> get_admin_url</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F;font-style:italic">self</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#F8F8F2">    content_type </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> ContentType.objects.get_for_model(</span><span style="color:#FD971F">self</span><span style="color:#F8F8F2">.__class__)</span></span>
<span class="line"><span style="color:#fa4f8d">    return</span><span style="color:#F8F8F2"> urlresolvers.reverse(</span><span style="color:#E6DB74">"admin:</span><span style="color:#AE81FF">%s</span><span style="color:#E6DB74">_</span><span style="color:#AE81FF">%s</span><span style="color:#E6DB74">_change"</span><span style="color:#fa4f8d"> %</span><span style="color:#F8F8F2"> (content_type.app_label, content_type.model), </span><span style="color:#FD971F;font-style:italic">args</span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F">self</span><span style="color:#F8F8F2">.id,))</span></span></code></pre>
]]></content:encoded></item>
<item><title>Remaining character count in django admin</title><description>Update: This code also lives on Github Want to display the remaining characters on a text field in admin? (based off
of maxlength or an override)</description><link>https://timbroder.com/2010/02/remaining-character-count-in-django/</link><guid isPermaLink="false">https://timbroder.com/2010/02/remaining-character-count-in-django</guid><pubDate>Mon, 01 Feb 2010 19:28:00 GMT</pubDate><content:encoded><![CDATA[<p>Update: This code also lives on <a href="https://github.com/broderboy/django-admin-remainingcharacters">Github</a></p>
<p>Want to display the remaining characters on a text field in admin? (based off
of maxlength or an override)</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="python"><code><span class="line"><span style="color:#94907d">#have your ModelAdmin inherit this to use</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">class</span><span> </span><span style="color:#A6E22E;text-decoration:underline">CounterAdmin</span><span style="color:#F8F8F2">(</span><span style="color:#A6E22E;font-style:italic;text-decoration:underline">admin</span><span style="color:#F8F8F2">.</span><span style="color:#A6E22E;font-style:italic;text-decoration:underline">ModelAdmin</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#F8F8F2">    counted_fields </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> ()</span></span>
<span class="line"><span style="color:#F8F8F2">    </span></span>
<span class="line"><span style="color:#94907d">    #really for textareas</span></span>
<span class="line"><span style="color:#F8F8F2">    max_lengths </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> {</span><span style="color:#E6DB74">'abstract'</span><span style="color:#F8F8F2">: </span><span style="color:#AE81FF">400</span><span style="color:#F8F8F2">,}</span></span>
<span class="line"><span style="color:#F8F8F2">    </span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">    class</span><span> </span><span style="color:#A6E22E;text-decoration:underline">Media</span><span style="color:#F8F8F2">:</span></span>
<span class="line"><span style="color:#F8F8F2">        js </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> (</span><span style="color:#E6DB74">'js/jquery.js'</span><span style="color:#F8F8F2">,</span></span>
<span class="line"><span style="color:#E6DB74">              'js/jquery.charCount.js'</span><span style="color:#F8F8F2">,)</span></span>
<span class="line"><span style="color:#F8F8F2">        </span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">    def</span><span style="color:#A6E22E"> formfield_for_dbfield</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F;font-style:italic">self</span><span style="color:#F8F8F2">, </span><span style="color:#FD971F;font-style:italic">db_field</span><span style="color:#F8F8F2">, </span><span style="color:#fa4f8d">**</span><span style="color:#FD971F;font-style:italic">kwargs</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#F8F8F2">        field </span><span style="color:#fa4f8d">=</span><span style="color:#66D9EF;font-style:italic"> super</span><span style="color:#F8F8F2">(CounterAdmin, </span><span style="color:#FD971F">self</span><span style="color:#F8F8F2">).formfield_for_dbfield(db_field, </span><span style="color:#fa4f8d">**</span><span style="color:#F8F8F2">kwargs)</span></span>
<span class="line"><span style="color:#66D9EF">        print</span><span style="color:#F8F8F2"> db_field.name</span></span>
<span class="line"><span style="color:#66D9EF">        print</span><span style="color:#FD971F"> self</span><span style="color:#F8F8F2">.counted_fields</span></span>
<span class="line"><span style="color:#fa4f8d">        if</span><span style="color:#F8F8F2"> db_field.name </span><span style="color:#fa4f8d">in</span><span style="color:#FD971F"> self</span><span style="color:#F8F8F2">.counted_fields:</span></span>
<span class="line"><span style="color:#fa4f8d">            try</span><span style="color:#F8F8F2">:</span></span>
<span class="line"><span style="color:#66D9EF">                len</span><span style="color:#fa4f8d"> =</span><span style="color:#FD971F"> self</span><span style="color:#F8F8F2">.max_lengths[db_field.name]</span></span>
<span class="line"><span style="color:#F8F8F2">                field.widget.attrs[</span><span style="color:#E6DB74">'maxlength'</span><span style="color:#F8F8F2">] </span><span style="color:#fa4f8d">=</span><span style="color:#66D9EF"> len</span></span>
<span class="line"><span style="color:#fa4f8d">            except</span><span style="color:#F8F8F2">: </span><span style="color:#fa4f8d">pass</span></span>
<span class="line"><span style="color:#F8F8F2">            field.widget.attrs[</span><span style="color:#E6DB74">'class'</span><span style="color:#F8F8F2">] </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> 'counted '</span><span style="color:#fa4f8d"> +</span><span style="color:#F8F8F2"> field.widget.attrs.get(</span><span style="color:#E6DB74">'class'</span><span style="color:#F8F8F2">,</span><span style="color:#E6DB74">''</span><span style="color:#F8F8F2">)</span></span>
<span class="line"><span style="color:#fa4f8d">        return</span><span style="color:#F8F8F2"> field</span></span></code></pre>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="javascript"><code><span class="line"><span style="color:#F8F8F2">jquery,charCount.js</span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#94907d">/*</span></span>
<span class="line"><span style="color:#94907d">*  Character Count Plugin - jQuery plugin</span></span>
<span class="line"><span style="color:#94907d">*  Dynamic character count for text areas and input fields</span></span>
<span class="line"><span style="color:#94907d">* written by Alen Grakalic</span></span>
<span class="line"><span style="color:#94907d">* http://cssglobe.com/post/7161/jquery-plugin-simplest-twitterlike-dynamic-character-count-for-textareas</span></span>
<span class="line"><span style="color:#94907d">*</span></span>
<span class="line"><span style="color:#94907d">* Copyright (c) 2009 Alen Grakalic (http://cssglobe.com)</span></span>
<span class="line"><span style="color:#94907d">* Dual licensed under the MIT (MIT-LICENSE.txt)</span></span>
<span class="line"><span style="color:#94907d">* and GPL (GPL-LICENSE.txt) licenses.</span></span>
<span class="line"><span style="color:#94907d">*</span></span>
<span class="line"><span style="color:#94907d">* Built for jQuery library</span></span>
<span class="line"><span style="color:#94907d">* http://jquery.com</span></span>
<span class="line"><span style="color:#94907d">*</span></span>
<span class="line"><span style="color:#94907d">*/</span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#94907d">/*</span></span>
<span class="line"><span style="color:#94907d">* Modified 2010 Tim Broder for django-admin-charcount</span></span>
<span class="line"><span style="color:#94907d">* https://gpowered.net</span></span>
<span class="line"><span style="color:#94907d">*/</span></span>
<span class="line"><span style="color:#F8F8F2">(</span><span style="color:#66D9EF;font-style:italic">function</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F;font-style:italic">$</span><span style="color:#F8F8F2">) {</span></span>
<span class="line"><span style="color:#F8F8F2">$.fn.</span><span style="color:#A6E22E">charCount</span><span style="color:#fa4f8d"> =</span><span style="color:#66D9EF;font-style:italic"> function</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F;font-style:italic">options</span><span style="color:#F8F8F2">){</span></span>
<span class="line"><span style="color:#94907d">  // default configuration properties</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">  var</span><span style="color:#F8F8F2"> defaults </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> {</span></span>
<span class="line"><span style="color:#F8F8F2">   allowed: </span><span style="color:#AE81FF">140</span><span style="color:#F8F8F2">,  </span></span>
<span class="line"><span style="color:#F8F8F2">   warning: </span><span style="color:#AE81FF">20</span><span style="color:#F8F8F2">,</span></span>
<span class="line"><span style="color:#F8F8F2">   css: </span><span style="color:#E6DB74">'help'</span><span style="color:#F8F8F2">,</span></span>
<span class="line"><span style="color:#F8F8F2">   counterElement: </span><span style="color:#E6DB74">'p'</span><span style="color:#F8F8F2">,</span></span>
<span class="line"><span style="color:#F8F8F2">   cssWarning: </span><span style="color:#E6DB74">'warning'</span><span style="color:#F8F8F2">,</span></span>
<span class="line"><span style="color:#F8F8F2">   cssExceeded: </span><span style="color:#E6DB74">'exceeded'</span><span style="color:#F8F8F2">,</span></span>
<span class="line"><span style="color:#F8F8F2">   counterText: </span><span style="color:#E6DB74">''</span></span>
<span class="line"><span style="color:#F8F8F2">  };</span></span>
<span class="line"><span style="color:#F8F8F2">  </span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">  var</span><span style="color:#F8F8F2"> options </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> $.</span><span style="color:#A6E22E">extend</span><span style="color:#F8F8F2">(defaults, options);</span></span>
<span class="line"><span style="color:#F8F8F2">  </span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">  function</span><span style="color:#A6E22E"> calculate</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F;font-style:italic">obj</span><span style="color:#F8F8F2">){</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">   var</span><span style="color:#F8F8F2"> count </span><span style="color:#fa4f8d">=</span><span style="color:#A6E22E"> $</span><span style="color:#F8F8F2">(obj).</span><span style="color:#A6E22E">val</span><span style="color:#F8F8F2">().length;</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">   var</span><span style="color:#F8F8F2"> available </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> options.allowed </span><span style="color:#fa4f8d">-</span><span style="color:#F8F8F2"> count;</span></span>
<span class="line"><span style="color:#fa4f8d">   if</span><span style="color:#F8F8F2">(available </span><span style="color:#fa4f8d">&lt;</span><span style="color:#fa4f8d"> =</span><span style="color:#F8F8F2"> options.warning </span><span style="color:#fa4f8d">&amp;&amp;</span><span style="color:#F8F8F2"> available </span><span style="color:#fa4f8d">&gt;=</span><span style="color:#AE81FF"> 0</span><span style="color:#F8F8F2">){</span></span>
<span class="line"><span style="color:#A6E22E">    $</span><span style="color:#F8F8F2">(obj).</span><span style="color:#A6E22E">next</span><span style="color:#F8F8F2">().</span><span style="color:#A6E22E">addClass</span><span style="color:#F8F8F2">(options.cssWarning);</span></span>
<span class="line"><span style="color:#F8F8F2">   } </span><span style="color:#fa4f8d">else</span><span style="color:#F8F8F2"> {</span></span>
<span class="line"><span style="color:#A6E22E">    $</span><span style="color:#F8F8F2">(obj).</span><span style="color:#A6E22E">next</span><span style="color:#F8F8F2">().</span><span style="color:#A6E22E">removeClass</span><span style="color:#F8F8F2">(options.cssWarning);</span></span>
<span class="line"><span style="color:#F8F8F2">   }</span></span>
<span class="line"><span style="color:#fa4f8d">   if</span><span style="color:#F8F8F2">(available </span><span style="color:#fa4f8d">&lt;</span><span style="color:#AE81FF"> 0</span><span style="color:#F8F8F2">){</span></span>
<span class="line"><span style="color:#A6E22E">    $</span><span style="color:#F8F8F2">(obj).</span><span style="color:#A6E22E">next</span><span style="color:#F8F8F2">().</span><span style="color:#A6E22E">addClass</span><span style="color:#F8F8F2">(options.cssExceeded);</span></span>
<span class="line"><span style="color:#F8F8F2">   } </span><span style="color:#fa4f8d">else</span><span style="color:#F8F8F2"> {</span></span>
<span class="line"><span style="color:#A6E22E">    $</span><span style="color:#F8F8F2">(obj).</span><span style="color:#A6E22E">next</span><span style="color:#F8F8F2">().</span><span style="color:#A6E22E">removeClass</span><span style="color:#F8F8F2">(options.cssExceeded);</span></span>
<span class="line"><span style="color:#F8F8F2">   }</span></span>
<span class="line"><span style="color:#A6E22E">   $</span><span style="color:#F8F8F2">(obj).</span><span style="color:#A6E22E">next</span><span style="color:#F8F8F2">().</span><span style="color:#A6E22E">html</span><span style="color:#F8F8F2">(options.counterText </span><span style="color:#fa4f8d">+</span><span style="color:#F8F8F2"> available);</span></span>
<span class="line"><span style="color:#F8F8F2">  };</span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#FD971F">  this</span><span style="color:#F8F8F2">.</span><span style="color:#A6E22E">each</span><span style="color:#F8F8F2">(</span><span style="color:#66D9EF;font-style:italic">function</span><span style="color:#F8F8F2">() {    </span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#A6E22E">   $</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F">this</span><span style="color:#F8F8F2">).</span><span style="color:#A6E22E">after</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'&lt;'</span><span style="color:#fa4f8d">+</span><span style="color:#F8F8F2"> options.counterElement </span><span style="color:#fa4f8d">+</span><span style="color:#E6DB74">' class="'</span><span style="color:#fa4f8d"> +</span><span style="color:#F8F8F2"> options.css </span><span style="color:#fa4f8d">+</span><span style="color:#E6DB74"> '"&gt;'</span><span style="color:#fa4f8d">+</span><span style="color:#F8F8F2"> options.counterText </span><span style="color:#fa4f8d">+</span><span style="color:#E6DB74">''</span><span style="color:#F8F8F2">);</span></span>
<span class="line"><span style="color:#A6E22E">   calculate</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F">this</span><span style="color:#F8F8F2">);</span></span>
<span class="line"><span style="color:#A6E22E">   $</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F">this</span><span style="color:#F8F8F2">).</span><span style="color:#A6E22E">keyup</span><span style="color:#F8F8F2">(</span><span style="color:#66D9EF;font-style:italic">function</span><span style="color:#F8F8F2">(){</span><span style="color:#A6E22E">calculate</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F">this</span><span style="color:#F8F8F2">); });</span></span>
<span class="line"><span style="color:#A6E22E">   $</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F">this</span><span style="color:#F8F8F2">).</span><span style="color:#A6E22E">change</span><span style="color:#F8F8F2">(</span><span style="color:#66D9EF;font-style:italic">function</span><span style="color:#F8F8F2">(){</span><span style="color:#A6E22E">calculate</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F">this</span><span style="color:#F8F8F2">)});</span></span>
<span class="line"><span style="color:#F8F8F2">  });</span></span>
<span class="line"><span style="color:#F8F8F2">  </span></span>
<span class="line"><span style="color:#F8F8F2">};</span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#F8F8F2">})(jQuery);</span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#94907d">/*function init_counters(selector, len){</span></span>
<span class="line"><span style="color:#94907d">$(selector).each(function() {</span></span>
<span class="line"><span style="color:#94907d">  //console.log($(this).attr('maxlength'));</span></span>
<span class="line"><span style="color:#94907d">  if(len==null){</span></span>
<span class="line"><span style="color:#94907d">   len = $(this).attr('maxlength');</span></span>
<span class="line"><span style="color:#94907d">  }</span></span>
<span class="line"><span style="color:#94907d">  $(this).charCount({</span></span>
<span class="line"><span style="color:#94907d">   counterText: 'Characters Remaining: ',</span></span>
<span class="line"><span style="color:#94907d">   allowed: len,</span></span>
<span class="line"><span style="color:#94907d">  });</span></span>
<span class="line"><span style="color:#94907d">});</span></span>
<span class="line"><span style="color:#94907d">}*/</span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#A6E22E">$</span><span style="color:#F8F8F2">(document).</span><span style="color:#A6E22E">ready</span><span style="color:#F8F8F2">(</span><span style="color:#66D9EF;font-style:italic">function</span><span style="color:#F8F8F2">(){</span></span>
<span class="line"><span style="color:#A6E22E">$</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">".counted"</span><span style="color:#F8F8F2">).</span><span style="color:#A6E22E">each</span><span style="color:#F8F8F2">(</span><span style="color:#66D9EF;font-style:italic">function</span><span style="color:#F8F8F2">(){</span></span>
<span class="line"><span style="color:#F8F8F2">  console.</span><span style="color:#A6E22E">log</span><span style="color:#F8F8F2">(</span><span style="color:#A6E22E">$</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F">this</span><span style="color:#F8F8F2">));</span></span>
<span class="line"><span style="color:#F8F8F2">  len </span><span style="color:#fa4f8d">=</span><span style="color:#A6E22E"> $</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F">this</span><span style="color:#F8F8F2">).</span><span style="color:#A6E22E">attr</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'maxlength'</span><span style="color:#F8F8F2">);</span></span>
<span class="line"><span style="color:#A6E22E">  $</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F">this</span><span style="color:#F8F8F2">).</span><span style="color:#A6E22E">charCount</span><span style="color:#F8F8F2">({</span></span>
<span class="line"><span style="color:#F8F8F2">   counterText: </span><span style="color:#E6DB74">'Characters Remaining: '</span><span style="color:#F8F8F2">,</span></span>
<span class="line"><span style="color:#F8F8F2">   allowed: len,</span></span>
<span class="line"><span style="color:#F8F8F2">  });</span></span>
<span class="line"><span style="color:#F8F8F2">});</span></span>
<span class="line"><span style="color:#94907d">//init_counters("input[maxlength]", 80);</span></span>
<span class="line"><span style="color:#94907d">//init_counters("textarea[maxlength]");</span></span>
<span class="line"><span style="color:#94907d">//init_counters("#id_abstract", 400);</span></span>
<span class="line"><span style="color:#F8F8F2">});</span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#94907d">/*</span></span>
<span class="line"><span style="color:#94907d">* &lt;style type="text/css"&gt;</span></span>
<span class="line"><span style="color:#94907d">form .counter{</span></span>
<span class="line"><span style="color:#94907d">}</span></span>
<span class="line"><span style="color:#94907d">form .warning{color:#600;}</span></span>
<span class="line"><span style="color:#94907d">form .exceeded{color:#e00;}</span></span>
<span class="line"><span style="color:#94907d">&lt;/style&gt;</span></span>
<span class="line"><span style="color:#94907d">*/</span></span></code></pre>
]]></content:encoded></item>
<item><title>Override QuerySet.delete() (one way of preventing cascading deletes)</title><description>We needed to override the default QuerySet delete function to deal with a
client problem that we were facing Yes This is monkey-patching, and probably bad practice but if anyone needs to
conditionally override the cascading delete that django does at the
application level from a queryset, this is how to do it</description><link>https://timbroder.com/2010/01/override-querysetdelete-one-way-of/</link><guid isPermaLink="false">https://timbroder.com/2010/01/override-querysetdelete-one-way-of</guid><pubDate>Thu, 07 Jan 2010 17:05:00 GMT</pubDate><content:encoded><![CDATA[<p>We needed to override the default QuerySet delete function to deal with a
client problem that we were facing</p>
<p>Yes This is monkey-patching, and probably bad practice but if anyone needs to
conditionally override the cascading delete that django does at the
application level from a queryset, this is how to do it</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="python"><code><span class="line"><span style="color:#fa4f8d">from</span><span style="color:#F8F8F2"> django.db.models.query </span><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> QuerySet</span></span>
<span class="line"></span>
<span class="line"><span style="color:#94907d">#save original delete method</span></span>
<span class="line"><span style="color:#F8F8F2">orrigdelete </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> QuerySet.delete</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">def</span><span style="color:#A6E22E"> showdelete</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F;font-style:italic">self</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#94907d">    #add on to delete method</span></span>
<span class="line"><span style="color:#fa4f8d">    for</span><span style="color:#F8F8F2"> test </span><span style="color:#fa4f8d">in</span><span style="color:#FD971F"> self</span><span style="color:#F8F8F2">:</span></span>
<span class="line"><span style="color:#fa4f8d">        if</span><span style="color:#66D9EF"> isinstance</span><span style="color:#F8F8F2">(test, YourObject):</span></span>
<span class="line"><span style="color:#fa4f8d">            raise</span><span style="color:#66D9EF;font-style:italic"> Exception</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'someone tried to delete your object'</span><span style="color:#F8F8F2">)</span></span>
<span class="line"><span style="color:#fa4f8d">            return</span><span style="color:#F8F8F2">  </span></span>
<span class="line"><span style="color:#fa4f8d">        else</span><span style="color:#F8F8F2">:</span></span>
<span class="line"><span style="color:#fa4f8d">            break</span><span style="color:#F8F8F2">   </span></span>
<span class="line"><span style="color:#94907d">    #call original delete</span></span>
<span class="line"><span style="color:#fa4f8d">    return</span><span style="color:#F8F8F2"> orrigdelete(</span><span style="color:#FD971F">self</span><span style="color:#F8F8F2">)</span></span>
<span class="line"></span>
<span class="line"><span style="color:#94907d">#set the queryset delete as our new method</span></span>
<span class="line"><span style="color:#F8F8F2">QuerySet.delete </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> showdelete</span></span></code></pre>
]]></content:encoded></item>
<item><title>A quick way to display your delicious links by tag</title><description>quick, dirty, and slow with lots of tags</description><link>https://timbroder.com/2010/01/quick-way-to-display-your-delicious/</link><guid isPermaLink="false">https://timbroder.com/2010/01/quick-way-to-display-your-delicious</guid><pubDate>Tue, 05 Jan 2010 14:46:00 GMT</pubDate><content:encoded><![CDATA[<p>quick, dirty, and slow with lots of tags</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="html"><code><span class="line"><span style="color:#F8F8F2">&lt;</span><span style="color:#fa4f8d">html</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">&lt;</span><span style="color:#fa4f8d">body</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">&lt;</span><span style="color:#fa4f8d">script</span><span style="color:#A6E22E"> type</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"text/javascript"</span><span style="color:#F8F8F2">&gt; </span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">function</span><span style="color:#A6E22E"> goforit</span><span style="color:#F8F8F2"> (</span><span style="color:#FD971F;font-style:italic">posts</span><span style="color:#F8F8F2">) {</span></span>
<span class="line"><span style="color:#fa4f8d"> for</span><span style="color:#F8F8F2"> ( </span><span style="color:#66D9EF;font-style:italic">var</span><span style="color:#F8F8F2"> tagname </span><span style="color:#fa4f8d">in</span><span style="color:#F8F8F2"> posts ) {</span></span>
<span class="line"><span style="color:#F8F8F2">  document.</span><span style="color:#A6E22E">writeln</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'&lt;scr'</span><span style="color:#fa4f8d">+</span><span style="color:#E6DB74">'ipt type="text/javascript" src="http://feeds.delicious.com/v2/js/NYCEndurance/'</span><span style="color:#fa4f8d"> +</span><span style="color:#F8F8F2"> tagname </span><span style="color:#fa4f8d">+</span><span style="color:#E6DB74"> '?title='</span><span style="color:#fa4f8d"> +</span><span style="color:#F8F8F2"> tagname </span><span style="color:#fa4f8d">+</span><span style="color:#E6DB74"> '&amp;icon;=s&amp;count;=100&amp;sort;=alpha&amp;tags;"&gt;&lt;/scr'</span><span style="color:#fa4f8d">+</span><span style="color:#E6DB74">'ipt&gt;'</span><span style="color:#F8F8F2">); </span></span>
<span class="line"><span style="color:#F8F8F2"> }</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span>
<span class="line"><span style="color:#F8F8F2">&lt;/</span><span style="color:#fa4f8d">script</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">&lt;</span><span style="color:#fa4f8d">script</span><span style="color:#A6E22E"> type</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"text/javascript"</span><span style="color:#A6E22E"> src</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"http://feeds.delicious.com/v2/json/tags/NYCEndurance?callback=goforit"</span><span style="color:#F8F8F2">&gt;&lt;/</span><span style="color:#fa4f8d">script</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">&lt;/</span><span style="color:#fa4f8d">body</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">&lt;/</span><span style="color:#fa4f8d">html</span><span style="color:#F8F8F2">&gt;</span></span></code></pre>
]]></content:encoded></item>
<item><title>Jack Vs Spider and Happy Holidays</title><description>Happy Holidays and thanks everyone for a great year. Check out my company's holiday E-card
here Our VP of Security takes on an 8 legged intruder</description><link>https://timbroder.com/2009/12/jack-vs-spider-and-happy-holidays/</link><guid isPermaLink="false">https://timbroder.com/2009/12/jack-vs-spider-and-happy-holidays</guid><pubDate>Thu, 24 Dec 2009 15:46:00 GMT</pubDate><content:encoded><![CDATA[<p>Happy Holidays and thanks everyone for a great year.</p>
<p>Check out my company's holiday E-card
<a href="https://www.alexanderinteractive.com/holiday/2009/">here</a></p>
<p>Our VP of Security takes on an 8 legged intruder</p>
<p><a href="http://www.youtube.com/watch?v=HZB3N9bqBSg"><img src="https://timbroder.com/images/missing-image.svg" alt=""></a></p>
]]></content:encoded></item>
<item><title>Django gets Multi-DB</title><description>For his Google Summer of Code project Alex
Gaynor added Multiple Database support to
Django, which just got pushed to Trunk. The Documentation is available
here. Some of the offhand benifits I can see: Multiple of databases.  Got some legacy systems you don't want to migrate but have access to the data? no problem Have a read and a write database.  Want one of your databases to speed up by configuring faster indexes and disabling writes? done. Multiple TYPES of databases.  This is the one I'm most excited…</description><link>https://timbroder.com/2009/12/django-gets-multi-db/</link><guid isPermaLink="false">https://timbroder.com/2009/12/django-gets-multi-db</guid><pubDate>Tue, 22 Dec 2009 19:58:00 GMT</pubDate><content:encoded><![CDATA[<p>For his Google Summer of Code project <a href="http://lazypython.blogspot.com/">Alex
Gaynor</a> added Multiple Database support to
Django, which just got pushed to Trunk.</p>
<p>The Documentation is available
<a href="http://docs.djangoproject.com/en/dev/topics/db/multi-db/">here</a>.</p>
<p>Some of the offhand benifits I can see:</p>
<ol>
<li>Multiple of databases.  Got some legacy systems you don't want to migrate but have access to the data? no problem</li>
<li>Have a read and a write database.  Want one of your databases to speed up by configuring faster indexes and disabling writes? done.</li>
<li>Multiple TYPES of databases.  This is the one I'm most excited about.  This is going to enable people to use some of the NoSQL databases (<a href="http://www.mongodb.org/">MongoDB</a>, <a href="http://couchdb.apache.org/">CouchDB</a>, see <a href="http://en.wikipedia.org/wiki/NoSQL#List_of_NoSQL_open_source_projects">here </a>for a more complete list)</li>
</ol>
<p>For a great application of MongoDB on a news site see <a href="http://www.businessinsider.com/how-we-use-mongodb-2009-11">Business
Insider</a></p>
]]></content:encoded></item>
<item><title>Share Google Reader folders with friends</title><description>A quick rundown on how to share whole folders with friends so they can see
what you are reading, there might be an easier way to do this but this was the
quickest I found Click explore click "View all recommendations"  click Browse click Create a bundle  Fill out the form and drag folders or individual feeds.  After this is done you can email the bundle to your friends</description><link>https://timbroder.com/2009/12/share-google-reader-folders-with/</link><guid isPermaLink="false">https://timbroder.com/2009/12/share-google-reader-folders-with</guid><pubDate>Tue, 22 Dec 2009 17:09:00 GMT</pubDate><content:encoded><![CDATA[<p>A quick rundown on how to share whole folders with friends so they can see
what you are reading, there might be an easier way to do this but this was the
quickest I found</p>
<ol>
<li>
<p>Click explore</p>
</li>
<li>
<p>click "View all recommendations"</p>
<p><img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
</li>
<li>
<p>click Browse</p>
</li>
<li>
<p>click Create a bundle</p>
<p><img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
</li>
<li>
<p>Fill out the form and drag folders or individual feeds.</p>
<p><img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
</li>
<li>
<p>After this is done you can email the bundle to your friends</p>
</li>
</ol>
]]></content:encoded></item>
<item><title>Sneak some advanced logic into a Django template</title><description>I was adding on an app to a Django project at work where I was overriding an
existing template but did not have access to the view that called that
template. I was left in a scenario where I had the variables that the view was
originally set up with, but non of the new models that I had added. In a filter you can do whatever logic you want, and then pass information back
to the view. Please keep in mind, this is probably a horrible practice, but it
does have its uses. In this specific scenario I needed to…</description><link>https://timbroder.com/2009/12/sneak-some-advanced-logic-into-django/</link><guid isPermaLink="false">https://timbroder.com/2009/12/sneak-some-advanced-logic-into-django</guid><pubDate>Thu, 17 Dec 2009 17:03:00 GMT</pubDate><content:encoded><![CDATA[<p>I was adding on an app to a Django project at work where I was overriding an
existing template but did not have access to the view that called that
template. I was left in a scenario where I had the variables that the view was
originally set up with, but non of the new models that I had added.</p>
<p>In a filter you can do whatever logic you want, and then pass information back
to the view. Please keep in mind, this is probably a horrible practice, but it
does have its uses. In this specific scenario I needed to query the new models
without modifying the existing view, solution: add a filter and do the
querying there.</p>
<p>This is the filter that I used to do the querying:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="python"><code><span class="line"><span style="color:#F8F8F2">{</span><span style="color:#fa4f8d">%</span><span style="color:#F8F8F2"> verbatim </span><span style="color:#fa4f8d">%</span><span style="color:#F8F8F2">}</span></span>
<span class="line"><span style="color:#fa4f8d">from</span><span style="color:#F8F8F2"> django </span><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> template</span></span>
<span class="line"><span style="color:#fa4f8d">from</span><span style="color:#F8F8F2"> stager.jira.models </span><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> JiraProject, ProjectLink</span></span>
<span class="line"><span style="color:#fa4f8d">from</span><span style="color:#F8F8F2"> stager.staging.models </span><span style="color:#fa4f8d">import</span><span style="color:#fa4f8d"> *</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">register </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> template.Library()</span></span>
<span class="line"></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">def</span><span style="color:#A6E22E"> has_jira</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F;font-style:italic">value</span><span style="color:#F8F8F2">, </span><span style="color:#FD971F;font-style:italic">arg</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#F8F8F2">    client </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> Client.objects.get(</span><span style="color:#FD971F;font-style:italic">path</span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2">value)</span></span>
<span class="line"><span style="color:#F8F8F2">    project </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> client.projects.get(</span><span style="color:#FD971F;font-style:italic">path</span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2">arg)</span></span>
<span class="line"><span style="color:#fa4f8d">    try</span><span style="color:#F8F8F2">:</span></span>
<span class="line"><span style="color:#F8F8F2">        jiras </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> ProjectLink.objects.get(</span><span style="color:#FD971F;font-style:italic">ClientProject</span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2">project).JiraProject.exclude(</span><span style="color:#FD971F;font-style:italic">filter_id</span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74">''</span><span style="color:#F8F8F2">)</span></span>
<span class="line"><span style="color:#fa4f8d">        return</span><span style="color:#AE81FF"> True</span></span>
<span class="line"><span style="color:#fa4f8d">    except</span><span style="color:#F8F8F2">:</span></span>
<span class="line"><span style="color:#fa4f8d">        return</span><span style="color:#AE81FF"> False</span></span>
<span class="line"><span style="color:#F8F8F2">register.filter(</span><span style="color:#E6DB74">'has_jira'</span><span style="color:#F8F8F2">, has_jira)</span></span>
<span class="line"><span style="color:#F8F8F2">{</span><span style="color:#fa4f8d">%</span><span style="color:#F8F8F2"> endverbatim </span><span style="color:#fa4f8d">%</span><span style="color:#F8F8F2">}</span></span></code></pre>
<p>Then, in my template:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="html"><code><span class="line"><span style="color:#F8F8F2">{% verbatim %}</span></span>
<span class="line"><span style="color:#F8F8F2">{% load has_jira %}</span></span>
<span class="line"><span style="color:#F8F8F2">{% if client.path|has_jira:project.path %}</span></span>
<span class="line"><span style="color:#F8F8F2">     &lt;</span><span style="color:#fa4f8d">li</span><span style="color:#F8F8F2">&gt;&lt;</span><span style="color:#fa4f8d">a</span><span style="color:#A6E22E"> href</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"jira/projects"</span><span style="color:#F8F8F2"> &gt;Jira&lt;/</span><span style="color:#fa4f8d">a</span><span style="color:#F8F8F2">&gt;&lt;/</span><span style="color:#fa4f8d">li</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">{% endif %}</span></span>
<span class="line"><span style="color:#F8F8F2">{% endverbatim %}</span></span></code></pre>
<p>A more general example if this would be to work around the annoyance of not being able to have multiple tests in an if statement in a template: You can’t do <code>{% verbatim %} {% if this and that %} {% endverbatim %}</code></p>
<p>A solution would be:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="python"><code><span class="line"><span style="color:#F8F8F2">{</span><span style="color:#fa4f8d">%</span><span style="color:#F8F8F2"> verbatim </span><span style="color:#fa4f8d">%</span><span style="color:#F8F8F2">}</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">def</span><span style="color:#A6E22E"> if_and</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F;font-style:italic">value</span><span style="color:#F8F8F2">, </span><span style="color:#FD971F;font-style:italic">arg</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#fa4f8d">    if</span><span style="color:#F8F8F2"> value </span><span style="color:#fa4f8d">and</span><span style="color:#F8F8F2"> arg:</span></span>
<span class="line"><span style="color:#fa4f8d">        return</span><span style="color:#AE81FF"> True</span></span>
<span class="line"><span style="color:#fa4f8d">    else</span><span style="color:#F8F8F2">:</span></span>
<span class="line"><span style="color:#fa4f8d">        return</span><span style="color:#AE81FF"> False</span></span>
<span class="line"></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">def</span><span style="color:#A6E22E"> if_or</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F;font-style:italic">value</span><span style="color:#F8F8F2">, </span><span style="color:#FD971F;font-style:italic">arg</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#fa4f8d">    if</span><span style="color:#F8F8F2"> value </span><span style="color:#fa4f8d">or</span><span style="color:#F8F8F2"> arg:</span></span>
<span class="line"><span style="color:#fa4f8d">        return</span><span style="color:#AE81FF"> True</span></span>
<span class="line"><span style="color:#fa4f8d">    else</span><span style="color:#F8F8F2">:</span></span>
<span class="line"><span style="color:#fa4f8d">        return</span><span style="color:#AE81FF"> False</span></span>
<span class="line"><span style="color:#F8F8F2">{</span><span style="color:#fa4f8d">%</span><span style="color:#F8F8F2"> endverbatim </span><span style="color:#fa4f8d">%</span><span style="color:#F8F8F2">}</span></span></code></pre>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="html"><code><span class="line"><span style="color:#F8F8F2">{% verbatim %}</span></span>
<span class="line"><span style="color:#F8F8F2">{% if True|if_and:False %}</span></span>
<span class="line"><span style="color:#F8F8F2">show</span></span>
<span class="line"><span style="color:#F8F8F2">{% else %}</span></span>
<span class="line"><span style="color:#F8F8F2">don't show</span></span>
<span class="line"><span style="color:#F8F8F2">{% endif %}</span></span>
<span class="line"><span style="color:#F8F8F2">{% endverbatim %}</span></span></code></pre>
<p>Let me know your thoughts, pros/cons of this method.</p>
<p>Ai's stager project is open source and can be found at [github](<a href="http://github.com/aiaio/ai-stager">http://github.com/aiaio/ai-stager</a></p>
]]></content:encoded></item>
<item><title>We fix while we eat</title><description>Hey, thats me! We fix while we eat: "  
Ai's David Napolitan and Tim
Broder fix a
late night production bug</description><link>https://timbroder.com/2009/12/we-fix-while-we-eat/</link><guid isPermaLink="false">https://timbroder.com/2009/12/we-fix-while-we-eat</guid><pubDate>Thu, 10 Dec 2009 16:48:00 GMT</pubDate><content:encoded><![CDATA[<p>Hey, thats me!</p>
<p><a href="https://www.alexanderinteractive.com/blog/2009/12/we-fix-while-we-eat.html">We fix while we eat</a>: "</p>
<p><img src="https://timbroder.com/images/remote/2009-12-10-we-fix-while-we-eat/IMAG0015.jpg" alt=""><br>
Ai's David Napolitan and <a href="https://www.alexanderinteractive.com/blog/author/tim-broder-1/">Tim
Broder</a> fix a
late night production bug</p>
]]></content:encoded></item>
<item><title>Google Wave Invites</title><description>I have quite a few Google Wave invites left, if you would like one
email me,
@broderboy me, or leave a comment below.  In all
cases, please leave the email address to send the invite to.</description><link>https://timbroder.com/2009/12/google-wave-invites/</link><guid isPermaLink="false">https://timbroder.com/2009/12/google-wave-invites</guid><pubDate>Thu, 10 Dec 2009 15:01:00 GMT</pubDate><content:encoded><![CDATA[<p>I have quite a few Google Wave invites left, if you would like one
<a href="mailto:timothy.broder@gmail.com">email</a> me,
<a href="http://www.twitter.com/">@broderboy</a> me, or leave a comment below.  In all
cases, please leave the email address to send the invite to.</p>
]]></content:encoded></item>
<item><title>Take your batch into the cloud</title><description>From the work blog: Take your batch into the
cloud: " About a year ago I wrote a webapp called
twitter2gtalk, which simply takes your
latest Twitter message and sets it as your Google Talk
Status. Shortly there after I attended an App
Engine Hackathon (GAE) at Google NYC. At
the hackathon, I started porting the app over to app engine. At the time,
there was no scheduling or cron support in GAE. I created a hybrid app running
between GAE and my webfaction server. My webfaction server would handle the
cron…</description><link>https://timbroder.com/2009/11/take-your-batch-into-cloud/</link><guid isPermaLink="false">https://timbroder.com/2009/11/take-your-batch-into-cloud</guid><pubDate>Mon, 16 Nov 2009 22:07:00 GMT</pubDate><content:encoded><![CDATA[<p>From the work blog:</p>
<p><a href="https://www.alexanderinteractive.com/blog/2009/11/take-your-batch-into-the-cloud.html">Take your batch into the
cloud</a>: "</p>
<p>About a year ago I wrote a webapp called
<a href="http://twitter2gtalk.appspot.com">twitter2gtalk</a>, which simply takes your
latest Twitter message and sets it as your Google <a href="http://www.google.com/talk/">Talk
</a>Status. Shortly there after I attended an <a href="http://code.google.com/appengine/">App
Engine</a> Hackathon (GAE) at Google NYC. At
the hackathon, I started porting the app over to app engine. At the time,
there was no scheduling or cron support in GAE. I created a hybrid app running
between GAE and my webfaction server. My webfaction server would handle the
cron, proxy out the requests, and do some of the longer running tasks (the
limit on an app engine request is 20 seconds).</p>
<p>Now with the release of the <a href="http://code.google.com/appengine/docs/python/config/cron.html">Task
Scheduler</a> and
<a href="http://code.google.com/appengine/docs/python/taskqueue/">Task Queues</a>, you
can break up a long winded process into the cloud. My batch was taking around
18 minutes to run, with about 800 users being processed each time. For each
user the app had to get their Twitter status, then connect to Google's xmpp
server, and after a couple of xmpp calls, update the Google Talk Status. Even
being single threaded, this whole process started eating up a lot of juice on
the server. The rest of my apache processes suffered and the entire site
slowed down</p>
<p>Using the new app engine features, I was able to do two things: 1) Move the
scheduling into app engine itself and 2) have app engine do the bulk of the
work, by having each user-update be its own task. These worker tasks are then
processed anywhere in the cloud, and can be run in parallel, independently of
each other</p>
<p>The original code was something like:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="plaintext"><code><span class="line"><span>    for users in all my users:  </span></span>
<span class="line"><span>         get twitter status  </span></span>
<span class="line"><span>         connect to gtalk  </span></span>
<span class="line"><span>         get current status  </span></span>
<span class="line"><span>         update status</span></span></code></pre>
<p>My process for converting this to app engine tasks was as follows:</p>
<ol>
<li>Create a process to load all of the users into a Task Queue</li>
<li>Set up each Task Queue so that it can independently do the work for the
user that it is associated with</li>
<li>Schedule Step 1 to run every half hour</li>
</ol>
<p>Skeleton Code for Step 1:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="python"><code><span class="line"><span style="color:#66D9EF;font-style:italic">    class</span><span> </span><span style="color:#A6E22E;text-decoration:underline">TaskLoader</span><span style="color:#F8F8F2">(</span><span style="color:#A6E22E;font-style:italic;text-decoration:underline">BaseRequestHandler</span><span style="color:#F8F8F2">):</span></span>
<span class="line"></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">        def</span><span style="color:#A6E22E"> get</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F;font-style:italic">self</span><span style="color:#F8F8F2">):  </span></span>
<span class="line"><span style="color:#F8F8F2">            logging.info(</span><span style="color:#E6DB74">"Starting to load tasks </span><span style="color:#AE81FF">%s</span><span style="color:#E6DB74">"</span><span style="color:#fa4f8d"> %</span></span>
<span class="line"><span style="color:#F8F8F2">datetime.datetime.now())</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">            users </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> Account.gql(</span><span style="color:#E6DB74">'WHERE active = :1'</span><span style="color:#F8F8F2">, </span><span style="color:#AE81FF">True</span><span style="color:#F8F8F2">)  </span></span>
<span class="line"><span style="color:#F8F8F2">  </span></span>
<span class="line"><span style="color:#F8F8F2">            count </span><span style="color:#fa4f8d">=</span><span style="color:#AE81FF"> 0</span><span style="color:#F8F8F2">  </span></span>
<span class="line"><span style="color:#fa4f8d">            for</span><span style="color:#F8F8F2"> user </span><span style="color:#fa4f8d">in</span><span style="color:#F8F8F2"> users:</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">                send_key </span><span style="color:#fa4f8d">=</span><span style="color:#94907d"> # data to send to the worker  </span></span>
<span class="line"><span style="color:#F8F8F2">                taskqueue.add(</span><span style="color:#FD971F;font-style:italic">url</span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74">'/worker/'</span><span style="color:#F8F8F2">, </span><span style="color:#FD971F;font-style:italic">params</span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2">{</span><span style="color:#E6DB74">'key'</span><span style="color:#F8F8F2">: send_key})</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">                count </span><span style="color:#fa4f8d">+=</span><span style="color:#AE81FF"> 1</span><span style="color:#F8F8F2">  </span></span>
<span class="line"><span style="color:#F8F8F2">  </span></span>
<span class="line"><span style="color:#F8F8F2">            logging.info(</span><span style="color:#E6DB74">"Ended load tasks (</span><span style="color:#AE81FF">%d</span><span style="color:#E6DB74"> users) </span><span style="color:#AE81FF">%s</span><span style="color:#E6DB74">"</span><span style="color:#fa4f8d"> %</span><span style="color:#F8F8F2"> (count,</span></span>
<span class="line"><span style="color:#F8F8F2">datetime.datetime.now()))  </span></span></code></pre>
<p>The Url call for this method: ('/taskloader/', TaskLoader),</p>
<p>The Skeleton code for step 2:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="python"><code><span class="line"><span style="color:#66D9EF;font-style:italic">    class</span><span> </span><span style="color:#A6E22E;text-decoration:underline">TaskWorker</span><span style="color:#F8F8F2">(</span><span style="color:#A6E22E;font-style:italic;text-decoration:underline">BaseRequestHandler</span><span style="color:#F8F8F2">):  </span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">         def</span><span style="color:#A6E22E"> post</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F;font-style:italic">self</span><span style="color:#F8F8F2">):  </span></span>
<span class="line"><span style="color:#F8F8F2">             key </span><span style="color:#fa4f8d">=</span><span style="color:#FD971F"> self</span><span style="color:#F8F8F2">.request.get(</span><span style="color:#E6DB74">'key'</span><span style="color:#F8F8F2">)</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">             t </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> ''</span><span style="color:#F8F8F2">.join([</span><span style="color:#E6DB74">"http://django.gpowered.net/xmppproxy/"</span><span style="color:#F8F8F2">, key])</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">             logging.info(</span><span style="color:#E6DB74">"URL !</span><span style="color:#AE81FF">%s</span><span style="color:#E6DB74">!"</span><span style="color:#fa4f8d"> %</span><span style="color:#F8F8F2"> t)  </span></span>
<span class="line"><span style="color:#F8F8F2">             result </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> urlfetch.fetch(t,  </span></span>
<span class="line"><span style="color:#AE81FF">                     None</span><span style="color:#F8F8F2">,  </span></span>
<span class="line"><span style="color:#F8F8F2">                     urlfetch.</span><span style="color:#AE81FF">GET</span><span style="color:#F8F8F2">,  </span></span>
<span class="line"><span style="color:#F8F8F2">                     {</span><span style="color:#E6DB74">'Cache-Control'</span><span style="color:#F8F8F2">:</span><span style="color:#E6DB74">'no-cache,max-age=0'</span><span style="color:#F8F8F2">, </span><span style="color:#E6DB74">'Pragma'</span><span style="color:#F8F8F2">:</span><span style="color:#E6DB74">'no-</span></span>
<span class="line"><span style="color:#F8F8F2">cache</span><span style="color:#E6DB74">'})  </span></span></code></pre>
<p>Url call for this method: ('/worker/', TaskWorker),</p>
<p>So, TaskLoader loads all of the users into the Task queue. App Engine
processes these when it has the cpu cycles to do so, and for each of these,
TaskWorker is called</p>
<p>I can schedule these using cron.yaml in my project:</p>
<p>cron:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="plaintext"><code><span class="line"><span>description: load the task queue  </span></span>
<span class="line"><span>url: /taskloader/  </span></span>
<span class="line"><span>schedule: every 30 minutes  </span></span></code></pre>
<p>This is a general overview of how to break up your batch in to smaller, easier
to manage tasks. Please see the App Engine <a href="http://code.google.com/appengine/docs/python/overview.html">documentation
</a>for more detailed
information.</p>
]]></content:encoded></item>
<item><title>Online advertising moving to.... your car?</title><description>Another one of mine on the work blog - Online advertising moving to.... your
car?: With the release of Android
2.0 on the
Motorola Droid, the Google Maps for Mobile
application brings turn by turn GPS navigation (with voice) to your car. A
great feature by far, it actually made Garmin and TomTom's stocks tank, but
what does it mean for the future? Currently adwords is all over the web; on pages, in your mail, on maps. Now
picture this possibility and keep in mind this is all hypothetical: You are
using…</description><link>https://timbroder.com/2009/11/online-advertising-moving-to-your-car/</link><guid isPermaLink="false">https://timbroder.com/2009/11/online-advertising-moving-to-your-car</guid><pubDate>Tue, 10 Nov 2009 22:38:00 GMT</pubDate><content:encoded><![CDATA[<p>Another one of mine on the work blog -</p>
<p><a href="https://www.alexanderinteractive.com/blog/2009/11/online-advertising-moving-to-your-car.html">Online advertising moving to.... your
car?</a>:</p>
<blockquote>
<p>With the release of <a href="http://developer.android.com/sdk/android-2.0-highlights.html">Android
2.0</a> on the
Motorola <a href="http://www.motorola.com/Consumers/US-EN/Consumer-Product-and-Services/Mobile-Phones/Motorola-DROID-US-EN">Droid</a>, the Google Maps for Mobile
application brings turn by turn GPS navigation (with voice) to your car. A
great feature by far, it actually made Garmin and TomTom's stocks <a href="http://www.wiseandroid.com/NewsItem.aspx?category=News&amp;path=October&amp;itemid=37">tank</a>, but
what does it mean for the future?</p>
</blockquote>
<p>Currently adwords is all over the web; on pages, in your mail, on maps. Now
picture this possibility and keep in mind this is all hypothetical: You are
using Navigator to get you to the local movie theater and it randomly chimes
in with 'You are about to pass Joe's Pizza!' This could be good and bad. Good
because you might be able to set the navigator to find restaurants you've
never tried and didn't know were there. Bad because it could get annoying.
Good because it would open up a whole new form of advertising for small
businesses.</p>
<p>Either way, just something to think about, times are changing with all the
technology we now carry around in our pockets.</p>
]]></content:encoded></item>
<item><title>Google’s Christmas gift to America is free Wi-Fi at airports starting today (reblog)</title><description>Google’s Christmas gift to America is free Wi-Fi at airports starting
today: google-xmas-wifi Those that hate Google but travel frequently might feel a bit conflicted over
the next couple of months because of Google’s holiday gift to America.
Starting today and ending on January 15th, Google will be offering up free, no
strings attached Wi-Fi at 47 airports while Virgin American flyers will be
getting free in-flight Wi-Fi as of the 18th. The In addition to this, Google
has set up a way for travelers at each…</description><link>https://timbroder.com/2009/11/googles-christmas-gift-to-america-is/</link><guid isPermaLink="false">https://timbroder.com/2009/11/googles-christmas-gift-to-america-is</guid><pubDate>Tue, 10 Nov 2009 21:03:00 GMT</pubDate><content:encoded><![CDATA[<p><a href="http://feedproxy.google.com/~r/TheBoyGeniusReport/~3/XoTZjgYPRM4/">Google’s Christmas gift to America is free Wi-Fi at airports starting
today</a>:</p>
<p><img src="https://timbroder.com/images/missing-image.svg" alt="google-xmas-wifi"></p>
<blockquote>
<p>Those that hate Google but travel frequently might feel a bit conflicted over
the next couple of months because of Google’s holiday gift to America.
Starting today and ending on January 15th, Google will be offering up free, no
strings attached Wi-Fi at 47 airports while Virgin American flyers will be
getting free in-flight Wi-Fi as of the 18th. The In addition to this, Google
has set up a way for travelers at each airport to donate to charities
Engineers Without Borders, the One Economy Corporation and Climate Savers
Computing Initiative. Google will match each airports donations up to $250,000
and will also give the most generous airport $15,000 for the charity of its
choosing.</p>
</blockquote>
<p><a href="http://www.google.com/intl/en/press/pressrel/20091110_free_airport_wifi_holiday.html">Read</a></p>
]]></content:encoded></item>
<item><title>Google Wave as a Project Collaboration Tool</title><description>I'm a'bloggin on the company blog! (Alexander Interactive) Google Wave as a
Project Collaboration Tool: If you aren't already familiar with Google Wave, check out some basic info,
and a very in-depth video here.
Wave is a new project from Google that reinvents email communication. Forget
everything you know about email, it was invented back in the 70's, things have
changed; technology is faster, we have cloud computing, web apps look fancier,
and for a while, a large portion of email users are moving (back…</description><link>https://timbroder.com/2009/10/google-wave-as-project-collaboration/</link><guid isPermaLink="false">https://timbroder.com/2009/10/google-wave-as-project-collaboration</guid><pubDate>Thu, 29 Oct 2009 17:21:00 GMT</pubDate><content:encoded><![CDATA[<p>I'm a'bloggin on the company blog! (Alexander Interactive) <a href="https://www.alexanderinteractive.com/blog/2009/10/google-wave-as-a-project-collaboration-tool.html">Google Wave as a
Project Collaboration Tool</a>:</p>
<p>If you aren't already familiar with Google Wave, check out some basic info,
and a very in-depth video <a href="http://wave.google.com/help/wave/about.html">here</a>.
Wave is a new project from Google that reinvents email communication. Forget
everything you know about email, it was invented back in the 70's, things have
changed; technology is faster, we have cloud computing, web apps look fancier,
and for a while, a large portion of email users are moving (back) to web based
clients.</p>
<p>Email is the current method of communication and collaboration when working on
a project. You usually have a folder for that project in Outlook, some rules
to filter project related messages into that folder, and an email chain for
each issue. People reply to messages inside that chain somewhere, the thread
gets continued, people get added to the thread, people drop off. You don't
know where you are in the chain when you check in a few hours later, and you
get bombarded by... STOP!</p>
<p>Wave is very early in its adoption, it's invite only, but it has the strong
potential to fix a lot of these problems. It can clean up a lot of the clutter
of project communication and throw it on the cloud so you can get to it
anywhere. Wave does need some more security built in for the corporate
settings, but that is in the pipeline. Right now waves can only be private or
public, but once inside a private wave, that user can invite anyone.</p>
<p>Some notes on how Wave can help a project:</p>
<ul>
<li>
<p>Each Project would get its own folder in wave</p>
</li>
<li>
<p>Anyone working on the project would have access to this folder</p>
</li>
<li>
<p>Every issue or conversation would get its own wave and everyone who needs to be involved in the issue is added to the wave.</p>
</li>
<li>
<p>At this point every project related message is confined to the projects folder. No Outlook rules or message dragging will ever be needed. If a new person needs to be involved in the discussion, they are just added to the wave, no forwarding or reply-all.</p>
</li>
<li>
<p>The conversation can continue similar to email, with individual replies, but it can be so much more. In line replies with related topics can appear right with the original topic, not hidden down 6 replies in an email chain</p>
</li>
<li>
<p>You can show only new replies on the wave and get caught back up in the discussion quickly</p>
</li>
<li>
<p>You can do a playback of all or part of the discussion and see who chimed in and when</p>
</li>
<li>
<p>Need to share documents? You will eventually be able to drag them right out of your file system into the browser and into the wave. (This is currently only supported for pictures)</p>
</li>
</ul>
<p>As I said, Wave is very early in its adoption, but after more people join, and
more developer plugins come out, I think it will be a very valuable tool both
in the workplace and at home.</p>
]]></content:encoded></item>
<item><title>Use Google Voice with your existing number</title><description>WOOHOO!!!! It's working on my verizon blackberry! "Up until now, if you wanted to use Google Voice,
you needed to choose a new number (a "Google number"). Taking calls through
your Google number allows us to offer features like call recording, call
screening and getting text messages via email. But we know not everyone wants
to switch to a new phone number, so it made sense for us to create a lighter
version of Google Voice for people who are willing to trade some features for
the ability to use their…</description><link>https://timbroder.com/2009/10/use-google-voice-with-your-existing/</link><guid isPermaLink="false">https://timbroder.com/2009/10/use-google-voice-with-your-existing</guid><pubDate>Tue, 27 Oct 2009 14:17:00 GMT</pubDate><content:encoded><![CDATA[<p>WOOHOO!!!! It's working on my verizon blackberry!</p>
<p>"Up until now, if you wanted to use <a href="http://google.com/voice">Google Voice</a>,
you needed to choose a new number (a "Google number"). Taking calls through
your Google number allows us to offer features like call recording, call
screening and getting text messages via email. But we know not everyone wants
to switch to a new phone number, so it made sense for us to create a lighter
version of Google Voice for people who are willing to trade some features for
the ability to use their existing numbers.</p>
<p>We're excited to announce that you now have the choice to get Google Voice
with your existing mobile number OR with a Google number.</p>
<p>If you sign up using your existing number, you'll still get many of Google
Voice's features. Most notably, you'll get all the functionality of Google
voicemail, as explained in this video:</p>
<p><a href="http://www.youtube.com/v/Ua9Q5frlQ2M&amp;rel=0&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en&amp;feature=player_embedded&amp;fs=1"></a><a href="http://www.youtube.com/v/Ua9Q5frlQ2M&amp;rel=0&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en&amp;feature=player_embedded&amp;fs=1"></a><a href="http://www.youtube.com/v/Ua9Q5frlQ2M&amp;rel=0&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en&amp;feature=player_embedded&amp;fs=1"></a><a href="http://www.youtube.com/v/Ua9Q5frlQ2M&amp;rel=0&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en&amp;feature=player_embedded&amp;fs=1"></a><a href="http://www.youtube.com/v/Ua9Q5frlQ2M&amp;rel=0&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en&amp;feature=player_embedded&amp;fs=1"></a><a href="http://www.youtube.com/v/Ua9Q5frlQ2M&amp;rel=0&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en&amp;feature=player_embedded&amp;fs=1"></a><a href="http://www.youtube.com/v/Ua9Q5frlQ2M&amp;rel=0&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en&amp;feature=player_embedded&amp;fs=1"></a><a href="http://www.youtube.com/v/Ua9Q5frlQ2M&amp;rel=0&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en&amp;feature=player_embedded&amp;fs=1"></a></p>
<p>If you already have a Google Voice account, you can <a href="http://www.google.com/support/voice/bin/answer.py?hl=en&amp;answer=164652">add Google voicemail</a> to any
mobile phone you've linked to your account. If you're not yet using Google
Voice, you can <a href="https://services.google.com/fb/forms/googlevoiceinvite/">request an
invite</a> or ask a
friend with a Google Voice account to send you an invitation. When you receive
the invitation to sign up, you can choose to use Google Voice with your
existing number — or to get a Google number for additional features.</p>
<p>Google Voice is about giving you more control over your communications. We
hope this new option makes it easier for you to manage your messages and
personalize your voicemail experience."</p>
]]></content:encoded></item>
<item><title>Google Wave checker for firefox</title><description>I'm liking google wave so far (not loving yet, but there aren't that many
people on it yet), but one of the annoying things was actually having to be in
the app to see if I have new waves. Firefox
plugin, problem solved!</description><link>https://timbroder.com/2009/10/google-wave-checker-for-firefox/</link><guid isPermaLink="false">https://timbroder.com/2009/10/google-wave-checker-for-firefox</guid><pubDate>Wed, 14 Oct 2009 20:12:00 GMT</pubDate><content:encoded><![CDATA[<p>I'm liking google wave so far (not loving yet, but there aren't that many
people on it yet), but one of the annoying things was actually having to be in
the app to see if I have new waves. <a href="https://addons.mozilla.org/en-US/firefox/addon/14973">Firefox
plugin</a>, problem solved!</p>
<p><img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
]]></content:encoded></item>
<item><title>Firefox Keyboard and Mouse Shortcuts</title><description>Here is a list of
Firefox keyboard and mouse shortcuts for each of the three major operating
systems organized by topic.</description><link>https://timbroder.com/2009/10/firefox-keyboard-and-mouse-shortcuts/</link><guid isPermaLink="false">https://timbroder.com/2009/10/firefox-keyboard-and-mouse-shortcuts</guid><pubDate>Mon, 05 Oct 2009 15:06:00 GMT</pubDate><content:encoded><![CDATA[<p><a href="http://www.mouserunner.com/FF_Shortcuts1Printable.html">Here is a list</a> of
Firefox keyboard and mouse shortcuts for each of the three major operating
systems organized by topic.</p>
]]></content:encoded></item>
<item><title>Checking if a remote file exists in python</title><description>Normally, to check if a remote web file exists I would use urllib's getcode()
but that is a 2.6 and newer feature.  In Python 2.5 its a little more
interesting.  Thankfully, wget's spider command can help us out.</description><link>https://timbroder.com/2009/09/checking-if-remote-file-exists-in/</link><guid isPermaLink="false">https://timbroder.com/2009/09/checking-if-remote-file-exists-in</guid><pubDate>Wed, 30 Sep 2009 19:51:00 GMT</pubDate><content:encoded><![CDATA[<p>Normally, to check if a remote web file exists I would use urllib's getcode()
but that is a 2.6 and newer feature.  In Python 2.5 its a little more
interesting.  Thankfully, wget's spider command can help us out.</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="python"><code><span class="line"><span style="color:#fa4f8d">from</span><span style="color:#F8F8F2"> subprocess </span><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> Popen, </span><span style="color:#AE81FF">PIPE</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">def</span><span style="color:#A6E22E"> url_exists</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F;font-style:italic">url</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#F8F8F2">    command </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> [</span><span style="color:#E6DB74">"wget"</span><span style="color:#F8F8F2">, </span><span style="color:#E6DB74">"-S"</span><span style="color:#F8F8F2">, </span><span style="color:#E6DB74">"--spider"</span><span style="color:#F8F8F2">, url]</span></span>
<span class="line"><span style="color:#F8F8F2">    p </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> Popen(command, </span><span style="color:#FD971F;font-style:italic">stdout</span><span style="color:#fa4f8d">=</span><span style="color:#AE81FF">PIPE</span><span style="color:#F8F8F2">, </span><span style="color:#FD971F;font-style:italic">stderr</span><span style="color:#fa4f8d">=</span><span style="color:#AE81FF">PIPE</span><span style="color:#F8F8F2">)</span></span>
<span class="line"><span style="color:#F8F8F2">    stdout, stderr </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> p.communicate()</span></span>
<span class="line"><span style="color:#F8F8F2">    exists </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> stderr.find(</span><span style="color:#E6DB74">'ERROR 404'</span><span style="color:#F8F8F2">)</span></span>
<span class="line"><span style="color:#fa4f8d">    if</span><span style="color:#66D9EF;font-style:italic"> int</span><span style="color:#F8F8F2">(exists) </span><span style="color:#fa4f8d">&gt;</span><span style="color:#fa4f8d"> -</span><span style="color:#AE81FF">1</span><span style="color:#F8F8F2">:</span></span>
<span class="line"><span style="color:#fa4f8d">        return</span><span style="color:#AE81FF"> False</span></span>
<span class="line"><span style="color:#fa4f8d">    else</span><span style="color:#F8F8F2">:</span></span>
<span class="line"><span style="color:#fa4f8d">        return</span><span style="color:#AE81FF"> True</span></span></code></pre>
]]></content:encoded></item>
<item><title>Twitter get phone calls, Facebook gets voice chat</title><description>Twitter users on Thursday will, for the first time, be able to make voice
calls directly to each other through the
microblogging service. Look out, Facebook users: Here comes voice chat. Sometime in the next few weeks, the social network's tens of millions of users
will begin to be able to have high-quality voice conversations, even as its
third-party developers are able to start including voice in their
applications.</description><link>https://timbroder.com/2009/09/twitter-get-phone-calls-facebook-gets/</link><guid isPermaLink="false">https://timbroder.com/2009/09/twitter-get-phone-calls-facebook-gets</guid><pubDate>Fri, 18 Sep 2009 19:40:00 GMT</pubDate><content:encoded><![CDATA[<p>Twitter users on Thursday will, for the first time, be able to <a href="http://digg.com/d314ZwX">make voice
calls</a> directly to each other through the
microblogging service.</p>
<p>Look out, Facebook users: <a href="http://digg.com/d314NzW">Here comes voice chat</a>.</p>
<p>Sometime in the next few weeks, the social network's tens of millions of users
will begin to be able to have high-quality voice conversations, even as its
third-party developers are able to start including voice in their
applications.</p>
]]></content:encoded></item>
<item><title>Fight Gone Bad IV</title><description>Anyone want to help me out by donating? Fight Gone Bad IV: On Sept 26th I am competing in Fight Gone Bad IV to raise money for Wounded
Warriors and Athletes for a cure.  Fight gone bad is a CrossFit workout scored
by the number of reps. Description from the CrossFit website 4.3. Explain Fight Gone Bad
In this workout you move from each of five stations after a minute. This is a five-minute round from which a one-minute break is allowed before repeating. We’ve used this in 3 and 5 round versions. The…</description><link>https://timbroder.com/2009/09/fight-gone-bad-iv/</link><guid isPermaLink="false">https://timbroder.com/2009/09/fight-gone-bad-iv</guid><pubDate>Thu, 10 Sep 2009 19:18:00 GMT</pubDate><content:encoded><![CDATA[<p>Anyone want to help me out by donating?</p>
<p><a href="http://feedproxy.google.com/~r/timbroder/~3/PDBIQvyH3rY/">Fight Gone Bad IV</a>:</p>
<p>On Sept 26th I am competing in Fight Gone Bad IV to raise money for Wounded
Warriors and Athletes for a cure.&nbsp; Fight gone bad is a CrossFit workout scored
by the number of reps.</p>
<p>Description from the <a href="http://www.crossfit.com/cf-info/faq.html#WOD2">CrossFit website</a></p>
<p><strong>4.3. Explain Fight Gone Bad</strong>
In this workout you move from each of five stations after a minute. This is a five-minute round from which a one-minute break is allowed before repeating. We’ve used this in 3 and 5 round versions. The stations are:</p>
<ol>
<li>Wall-ball: 20 pound ball, 10 ft target. (Reps)</li>
<li>Sumo deadlift high-pull: 75 pounds (Reps)</li>
<li>Box Jump: 20″ box (Reps)</li>
<li>Push-press: 75 pounds (Reps)</li>
<li>Row: calories (Calories)</li>
</ol>
<p>The clock does not reset or stop between exercises. On call of “rotate,” the
athlete/s must move to next station immediately for good score. One point is
given for each rep, except on the rower where each calorie is one point.</p>
<p>If you can, <a href="http://bit.ly/2N8ifX">please donate</a> to help me support these
initiatives</p>
]]></content:encoded></item>
<item><title>Location, Location, Location</title><description>This will be pretty cool when it comes out Location, Location, Location: "Twitter platform developers have been doing innovative work
with location for some time despite having access to only a rudimentary level
of API support. Most of the location-based projects we see are built using the
simple, account-level location field folks can fill out as part of their
profile. Since anything can be written in this field, it's interesting but not
very dependable. We're gearing up to launch a new feature which makes…</description><link>https://timbroder.com/2009/08/location-location-location/</link><guid isPermaLink="false">https://timbroder.com/2009/08/location-location-location</guid><pubDate>Sat, 29 Aug 2009 18:39:00 GMT</pubDate><content:encoded><![CDATA[<p>This will be pretty cool when it comes out</p>
<p><a href="http://blog.twitter.com/2009/08/location-location-location.html">Location, Location, Location</a>: "<img src="https://timbroder.com/images/remote/2009-08-29-location-location-location/iStock_000006260161Small.jpg" alt="">Twitter platform developers have been doing innovative work
with location for some time despite having access to only a rudimentary level
of API support. Most of the location-based projects we see are built using the
simple, account-level location field folks can fill out as part of their
profile. Since anything can be written in this field, it's interesting but not
very dependable.</p>
<p>We're gearing up to launch a new feature which makes Twitter truly location-
aware. A new API will allow developers to add latitude and longitude to any
tweet. Folks will need to activate this new feature by choice because it will
be off by default and the exact location data won't be stored for an extended
period of time. However, if people do opt-in to sharing location on a tweet-
by-tweet basis, compelling context will be added to each burst of information.</p>
<p>For example, with accurate, tweet-level location data you could switch from
reading the tweets of accounts you follow to reading tweets from anyone in
your neighborhood or city—whether you follow them or not. It's easy to imagine
how this might be interesting at an event like a concert or even something
more dramatic like an earthquake. There will likely be many use cases we
haven't even thought of yet which is part of what makes this so exciting.</p>
<p>Developer Preview</p>
<p>We're going to release geolocation to platform developers before we add the
feature to Twitter.com. Most of the mobile applications people use and love
are built by Twitter platform developers. Developers will have access to this
new geolocation feature early which means it will most likely be available on
your app of choice before it's available on Twitter's web site. Later, we'll
add it to our mobile web site and Twitter.com as well.</p>
<p>We're very excited about the potential of location metadata combined with
Twitter. Our platform team has been on a roll lately. Geolocation lead
@<a href="http://twitter.com/rsarver">rsarver</a> is particularly enthusiastic about
location given his personal interest and involvement in events such as
WhereCamp and his career history with location-aware services.</p>
]]></content:encoded></item>
<item><title>Tech Support Cheat Sheet</title><description>Tech Support Cheat Sheet: 'Hey Megan, it's your
father. How do I print out a
flowchart?'</description><link>https://timbroder.com/2009/08/tech-support-cheat-sheet/</link><guid isPermaLink="false">https://timbroder.com/2009/08/tech-support-cheat-sheet</guid><pubDate>Mon, 24 Aug 2009 18:32:00 GMT</pubDate><content:encoded><![CDATA[<p><a href="http://xkcd.com/627/">Tech Support Cheat Sheet</a>: <img src="https://timbroder.com/images/remote/2009-08-24-tech-support-cheat-sheet/tech_support_cheat_sheet.png" alt="'Hey Megan, it's your
father. How do I print out a
flowchart?'"></p>
]]></content:encoded></item>
<item><title>Send To Tumblr And Track With Bitly Google Reader Custom Link</title><description>Testing the "send to blogger" button... Send To Tumblr And Track With Bitly
Google Reader Custom Link: " Google Reader just launched a “Send to Twitter” feature that allows you to
share bit.ly links to interesting items in your reader with your Twitter
friends.  First, awesome! Second, Google Reader has been getting lots of product development attention
lately, and with all the awesome stuff they are adding, I spend all of my time
there as opposed to twitter.com/home, facebook.com/home, or Tumblr Dashboard…</description><link>https://timbroder.com/2009/08/send-to-tumblr-and-track-with-bitly/</link><guid isPermaLink="false">https://timbroder.com/2009/08/send-to-tumblr-and-track-with-bitly</guid><pubDate>Fri, 14 Aug 2009 13:43:00 GMT</pubDate><content:encoded><![CDATA[<p>Testing the "send to blogger" button... <a href="https://labs.kortina.net/2009/08/13/send-to-tumblr-and-track-with-bitly-google-reader-custom-link/">Send To Tumblr And Track With Bitly
Google Reader Custom Link</a>: "</p>
<p>Google Reader just launched a “Send to Twitter” feature that allows you to
share bit.ly links to interesting items in your reader with your Twitter
friends. &nbsp;First, awesome!</p>
<p>Second, Google Reader has been getting lots of product development attention
lately, and with all the awesome stuff they are adding, I spend all of my time
there as opposed to twitter.com/home, facebook.com/home, or Tumblr Dashboard.
One thing I miss about Tumblr dashboard was easy reblogging.</p>
<p><a href="https://labs.kortina.net/files/2009/08/2009-08-13_2354.png"><img src="https://timbroder.com/images/remote/2009-08-14-send-to-tumblr-and-track-with-bitly/2009-08-13_2354-300x173.png" alt="How to Create Custom Send To Links in Google Reader"></a></p>
<p>How to Create Custom Send To Links in Google Reader</p>
<p>There is a “Send to Tumblr” link as one of the defaults, but it doesn’t use
bit.ly urls. So, I hacked together a custom “Send to Tumblr” link.</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="plaintext"><code><span class="line"><span>URL: http://tumblr.com/share?v=2&amp;u=&amp;t=Send To Tumblr And Track With Bitly</span></span>
<span class="line"><span>Google Reader Custom Link&amp;s=Send To Tumblr And Track With Bitly Google Reader</span></span>
<span class="line"><span>Custom Link%0Avia%20kortina`</span></span></code></pre>
<p><code>Icon URL: http://assets.tumblr.com/images/favicon.gif?2</code></p>
<p><a href="https://labs.kortina.net/files/2009/08/2009-08-13_2351.png"><img src="https://timbroder.com/images/remote/2009-08-14-send-to-tumblr-and-track-with-bitly/2009-08-13_2351-300x170.png" alt="Custom Send to Tumblr with Bitly Link from Google Reader Link"></a></p>
<p>Custom Send to Tumblr with Bitly Link from Google Reader Link</p>
<p><img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
<p>Possibly related posts:</p>
<ol>
<li><a href="https://labs.kortina.net/2009/07/26/i-want-read-flare-plugins-for-sharing-in-google-reader/" title="Permanent Link: I Want “Read Flare” — Plugins for Sharing in Google Reader">I Want “Read Flare” — Plugins for Sharing in Google Reader</a></li>
<li><a href="https://labs.kortina.net/2009/08/05/business-cards-have-google-maps-now/" title="Permanent Link: Business Cards Have Google Maps Now">Business Cards Have Google Maps Now</a></li>
<li><a href="https://labs.kortina.net/2009/07/13/how-to-make-a-fixed-link-to-twitter-thats-always-visible-on-your-webpage/" title="Permanent Link: How To Make a Fixed Link to Twitter That’s Always Visible on Your Webpage">How To Make a Fixed Link to Twitter That’s Always Visible on Your Webpage</a></li>
</ol>
]]></content:encoded></item>
<item><title>Google Opt Out Feature Lets Users Protect Privacy by Moving to Remote Village</title><description>Google Opt Out Feature Lets Users Protect Privacy By Moving To Remote Village</description><link>https://timbroder.com/2009/08/google-opt-out-feature-lets-users/</link><guid isPermaLink="false">https://timbroder.com/2009/08/google-opt-out-feature-lets-users</guid><pubDate>Thu, 13 Aug 2009 21:20:00 GMT</pubDate><content:encoded><![CDATA[<p><a href="http://www.theonion.com/content/video/google_opt_out_feature_lets_users?utm_source=videoembed">Google Opt Out Feature Lets Users Protect Privacy By Moving To Remote Village
</a></p>
]]></content:encoded></item>
<item><title>The author of the Windows file copy dialog visits some friends</title><description></description><link>https://timbroder.com/2009/07/author-of-windows-file-copy-dialog/</link><guid isPermaLink="false">https://timbroder.com/2009/07/author-of-windows-file-copy-dialog</guid><pubDate>Mon, 20 Jul 2009 13:40:00 GMT</pubDate><content:encoded><![CDATA[<p><a href="https://timbroder.com/images/remote/2009-07-20-author-of-windows-file-copy-dialog/estimation.png"><img src="https://timbroder.com/images/remote/2009-07-20-author-of-windows-file-copy-dialog/estimation.png" alt=""></a></p>
]]></content:encoded></item>
<item><title>Android hacked to run on x86</title><description>I foresee this being my weekend project https://androidcommunity.com/android-hacked-to-run-on-x86-20090714/</description><link>https://timbroder.com/2009/07/android-hacked-to-run-on-x86/</link><guid isPermaLink="false">https://timbroder.com/2009/07/android-hacked-to-run-on-x86</guid><pubDate>Wed, 15 Jul 2009 14:51:00 GMT</pubDate><content:encoded><![CDATA[<p>I foresee this being my weekend project <a href="https://androidcommunity.com/android-hacked-to-run-on-x86-20090714/">https://androidcommunity.com/android-hacked-to-run-on-x86-20090714/</a></p>
]]></content:encoded></item>
<item><title>Wordpress Plugin: Displaying your Google Reader RSS subscriptions</title><description>I've been meaning to write this code for a while, and I really wanted to take
a stab at writing a wordpress plugin so here it goes. The following takes in Google user credentials, and allows the user to display
what RSS feeds they subscribe to on their wordpress blog Example: The RSS that I read 
Update: This plugin is now hosted by wordpress. click
here</description><link>https://timbroder.com/2009/06/how-to-display-what-google-reader-rss/</link><guid isPermaLink="false">https://timbroder.com/2009/06/how-to-display-what-google-reader-rss</guid><pubDate>Tue, 02 Jun 2009 15:07:00 GMT</pubDate><content:encoded><![CDATA[<p>I've been meaning to write this code for a while, and I really wanted to take
a stab at writing a wordpress plugin so here it goes.</p>
<p>The following takes in Google user credentials, and allows the user to display
what RSS feeds they subscribe to on their wordpress blog</p>
<p>Example: <a href="http://timbroder.gpowered.net/rss-i-read/">The RSS that I read</a><br>
Update: This plugin is now hosted by wordpress. <a href="http://wordpress.org/extend/plugins/google-reader-subscription-list/">click
here</a></p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="php"><code><span class="line"><span style="color:#94907d">/*</span></span>
<span class="line"><span style="color:#94907d">Plugin Name: Google Reader Subscription List</span></span>
<span class="line"><span style="color:#94907d">Version: 1</span></span>
<span class="line"><span style="color:#94907d">Author: Timothy Broder</span></span>
<span class="line"><span style="color:#94907d">Description: Lists a users subscribed Google Reader feeds</span></span>
<span class="line"><span style="color:#94907d">*/</span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#94907d">/*  Copyright 2009  Timothy Broder (email : timothy.broder@gmail.com)</span></span>
<span class="line"><span style="color:#94907d"> </span></span>
<span class="line"><span style="color:#94907d">    This program is free software; you can redistribute it and/or modify</span></span>
<span class="line"><span style="color:#94907d">    it under the terms of the GNU General Public License as published by</span></span>
<span class="line"><span style="color:#94907d">    the Free Software Foundation; either version 2 of the License, or</span></span>
<span class="line"><span style="color:#94907d">    (at your option) any later version.</span></span>
<span class="line"><span style="color:#94907d"> </span></span>
<span class="line"><span style="color:#94907d">    This program is distributed in the hope that it will be useful,</span></span>
<span class="line"><span style="color:#94907d">    but WITHOUT ANY WARRANTY; without even the implied warranty of</span></span>
<span class="line"><span style="color:#94907d">    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span></span>
<span class="line"><span style="color:#94907d">    GNU General Public License for more details.</span></span>
<span class="line"><span style="color:#94907d"> </span></span>
<span class="line"><span style="color:#94907d">    You should have received a copy of the GNU General Public License</span></span>
<span class="line"><span style="color:#94907d">    along with this program; if not, write to the Free Software</span></span>
<span class="line"><span style="color:#94907d">    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA</span></span>
<span class="line"><span style="color:#94907d">*/</span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#fa4f8d">if</span><span style="color:#F8F8F2"> (</span><span style="color:#fa4f8d">!</span><span style="color:#66D9EF">class_exists</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'GoogleReaderSubList'</span><span style="color:#F8F8F2">)) {</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">class</span><span> </span><span style="color:#A6E22E;text-decoration:underline">GoogleReaderSubList</span><span style="color:#F8F8F2"> {</span></span>
<span class="line"><span style="color:#F8F8F2">  </span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">  var</span><span style="color:#F8F8F2"> $show_list       </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> 'show-google-reader-sub-list'</span><span style="color:#F8F8F2">;  </span><span style="color:#94907d">//the hook in a page</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">  var</span><span style="color:#F8F8F2"> $login          </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> ''</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">  var</span><span style="color:#F8F8F2"> $pass          </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> ''</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">  var</span><span style="color:#F8F8F2"> $source         </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> 'wordpress-google-reader-sub-list-'</span><span style="color:#F8F8F2">;  </span><span style="color:#94907d">//the source the api sees when logging into Google</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">  var</span><span style="color:#F8F8F2"> $service         </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> 'reader'</span><span style="color:#F8F8F2">;  </span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">  var</span><span style="color:#F8F8F2"> $login_url        </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> 'https://www.google.com/accounts/ServiceLoginAuth?service=mail'</span><span style="color:#F8F8F2">; </span><span style="color:#94907d">//URL to login to google</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">  var</span><span style="color:#F8F8F2"> $subscription_list_url  </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> 'http://www.google.com/reader/api/0/subscription/list'</span><span style="color:#F8F8F2">; </span><span style="color:#94907d">//URL that holds a users subscriptions</span></span>
<span class="line"><span style="color:#F8F8F2">  </span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">  function</span><span style="color:#A6E22E"> GoogleReaderSubList</span><span style="color:#F8F8F2">() {</span></span>
<span class="line"><span style="color:#F8F8F2">   $options    </span><span style="color:#fa4f8d">=</span><span style="color:#FD971F"> $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">get_admin_options</span><span style="color:#F8F8F2">();</span></span>
<span class="line"><span style="color:#FD971F">   $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">login  </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> $options[</span><span style="color:#E6DB74">'google_login'</span><span style="color:#F8F8F2">];</span></span>
<span class="line"><span style="color:#FD971F">   $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">pass  </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> $options[</span><span style="color:#E6DB74">'google_pass'</span><span style="color:#F8F8F2">];</span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#FD971F">   $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">source </span><span style="color:#fa4f8d">=</span><span style="color:#FD971F"> $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">source </span><span style="color:#fa4f8d">.</span><span style="color:#FD971F"> $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">login;</span></span>
<span class="line"><span style="color:#F8F8F2">  }</span></span>
<span class="line"><span style="color:#F8F8F2">    </span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">  function</span><span style="color:#A6E22E"> show_sub_list</span><span style="color:#F8F8F2">() {</span></span>
<span class="line"><span style="color:#F8F8F2">   $stop </span><span style="color:#fa4f8d">=</span><span style="color:#AE81FF"> false</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#fa4f8d">   if</span><span style="color:#F8F8F2"> (</span><span style="color:#FD971F">$this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">login </span><span style="color:#fa4f8d">==</span><span style="color:#E6DB74"> ''</span><span style="color:#fa4f8d"> ||</span><span style="color:#FD971F"> $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">login </span><span style="color:#fa4f8d">==</span><span style="color:#AE81FF"> null</span><span style="color:#F8F8F2">) {</span></span>
<span class="line"><span style="color:#66D9EF">    echo</span><span style="color:#E6DB74"> 'Google login not set&lt;br /&gt;'</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#F8F8F2">    $stop </span><span style="color:#fa4f8d">=</span><span style="color:#AE81FF"> true</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#F8F8F2">   }</span></span>
<span class="line"><span style="color:#fa4f8d">   if</span><span style="color:#F8F8F2"> (</span><span style="color:#FD971F">$this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">pass </span><span style="color:#fa4f8d">==</span><span style="color:#E6DB74"> ''</span><span style="color:#fa4f8d"> ||</span><span style="color:#FD971F"> $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">pass </span><span style="color:#fa4f8d">==</span><span style="color:#AE81FF"> null</span><span style="color:#F8F8F2">) {</span></span>
<span class="line"><span style="color:#66D9EF">    echo</span><span style="color:#E6DB74"> 'Google password not set&lt;br /&gt;'</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#F8F8F2">    $stop </span><span style="color:#fa4f8d">=</span><span style="color:#AE81FF"> true</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#F8F8F2">   }</span></span>
<span class="line"><span style="color:#F8F8F2">  </span></span>
<span class="line"><span style="color:#94907d">   //check to see if the zend plugin has been installed and activated</span></span>
<span class="line"><span style="color:#94907d">   //http://wordpress.org/extend/plugins/zend-framework/</span></span>
<span class="line"><span style="color:#fa4f8d">   if</span><span style="color:#F8F8F2"> (</span><span style="color:#fa4f8d">!</span><span style="color:#F8F8F2">(</span><span style="color:#66D9EF">defined</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'WP_ZEND_FRAMEWORK'</span><span style="color:#F8F8F2">) </span><span style="color:#fa4f8d">&amp;&amp;</span><span style="color:#AE81FF"> WP_ZEND_FRAMEWORK</span><span style="color:#F8F8F2">)) {</span></span>
<span class="line"><span style="color:#66D9EF">    echo</span><span style="color:#E6DB74"> 'The &lt;a href="http://wordpress.org/extend/plugins/zend-framework/" target="_blank"&gt;Zend Framework Plugin&lt;/a&gt; is not active.  Please install and activate it.'</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#F8F8F2">    $stop </span><span style="color:#fa4f8d">=</span><span style="color:#AE81FF"> true</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#F8F8F2">   }</span></span>
<span class="line"><span style="color:#fa4f8d">   if</span><span style="color:#F8F8F2"> ($stop) {</span></span>
<span class="line"><span style="color:#fa4f8d">    return</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#F8F8F2">   }</span></span>
<span class="line"><span style="color:#F8F8F2">      </span></span>
<span class="line"><span style="color:#F8F8F2">   $client </span><span style="color:#fa4f8d">=</span><span style="color:#fa4f8d"> new</span><span style="color:#66D9EF;font-style:italic"> Zend_Http_Client</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F">$this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">login_url);</span></span>
<span class="line"><span style="color:#F8F8F2">  </span></span>
<span class="line"><span style="color:#94907d">   //connect, authenticate, and handshake with Google</span></span>
<span class="line"><span style="color:#F8F8F2">   $client</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">setCookieJar</span><span style="color:#F8F8F2">()</span></span>
<span class="line"><span style="color:#fa4f8d">    -&gt;</span><span style="color:#A6E22E">setMethod</span><span style="color:#F8F8F2">(</span><span style="color:#66D9EF;font-style:italic">Zend_Http_Client</span><span style="color:#fa4f8d">::</span><span style="color:#AE81FF">POST</span><span style="color:#F8F8F2">)</span></span>
<span class="line"><span style="color:#fa4f8d">    -&gt;</span><span style="color:#A6E22E">setParameterPost</span><span style="color:#F8F8F2">(</span><span style="color:#66D9EF">array</span><span style="color:#F8F8F2">(</span></span>
<span class="line"><span style="color:#E6DB74">     'continue'</span><span style="color:#fa4f8d">             =&gt;</span><span style="color:#FD971F"> $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">subscription_list_url,</span></span>
<span class="line"><span style="color:#E6DB74">     'service'</span><span style="color:#fa4f8d">              =&gt;</span><span style="color:#E6DB74"> 'reader'</span><span style="color:#F8F8F2">,</span></span>
<span class="line"><span style="color:#E6DB74">     'niu'</span><span style="color:#fa4f8d">                  =&gt;</span><span style="color:#AE81FF"> 1</span><span style="color:#F8F8F2">,</span></span>
<span class="line"><span style="color:#E6DB74">     'hl'</span><span style="color:#fa4f8d">                   =&gt;</span><span style="color:#E6DB74"> 'en'</span><span style="color:#F8F8F2">,</span></span>
<span class="line"><span style="color:#E6DB74">     'Email'</span><span style="color:#fa4f8d">              =&gt;</span><span style="color:#FD971F"> $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">login,</span></span>
<span class="line"><span style="color:#E6DB74">     'Passwd'</span><span style="color:#fa4f8d">               =&gt;</span><span style="color:#FD971F"> $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">pass,</span></span>
<span class="line"><span style="color:#E6DB74">     'PersistentCookie'</span><span style="color:#fa4f8d">     =&gt;</span><span style="color:#E6DB74"> 'yes'</span><span style="color:#F8F8F2">,</span></span>
<span class="line"><span style="color:#E6DB74">     'asts'</span><span style="color:#fa4f8d">                 =&gt;</span><span style="color:#E6DB74"> ''</span></span>
<span class="line"><span style="color:#F8F8F2">    ));</span></span>
<span class="line"><span style="color:#F8F8F2">    </span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#94907d">   //$error_level = error_reporting();</span></span>
<span class="line"><span style="color:#94907d">   //error_reporting(1);</span></span>
<span class="line"><span style="color:#F8F8F2">   $response </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> $client</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">request</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'POST'</span><span style="color:#F8F8F2">);</span></span>
<span class="line"><span style="color:#F8F8F2">   $client</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">setUri</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F">$this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">subscription_list_url)</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">setMethod</span><span style="color:#F8F8F2">(</span><span style="color:#66D9EF;font-style:italic">Zend_Http_Client</span><span style="color:#fa4f8d">::</span><span style="color:#AE81FF">GET</span><span style="color:#F8F8F2">);</span></span>
<span class="line"><span style="color:#F8F8F2">   $response </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> $client</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">request</span><span style="color:#F8F8F2">()</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">getBody</span><span style="color:#F8F8F2">();</span></span>
<span class="line"><span style="color:#F8F8F2">  </span></span>
<span class="line"><span style="color:#fa4f8d">   if</span><span style="color:#F8F8F2"> ($client</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">request</span><span style="color:#F8F8F2">()</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">getStatus</span><span style="color:#F8F8F2">() </span><span style="color:#fa4f8d">==</span><span style="color:#AE81FF"> 400</span><span style="color:#F8F8F2">) {</span></span>
<span class="line"><span style="color:#fa4f8d">    ?&gt;</span><span style="color:#AE81FF">Unable</span><span style="color:#AE81FF"> to</span><span style="color:#AE81FF"> login</span><span style="color:#AE81FF"> with</span><span style="color:#AE81FF"> supplied</span><span style="color:#AE81FF"> Google</span><span style="color:#AE81FF"> login</span><span style="color:#fa4f8d">/</span><span style="color:#AE81FF">password</span><span style="color:#fa4f8d">&lt;</span><span style="color:#fa4f8d"> ?</span></span>
<span class="line"><span style="color:#fa4f8d">    return</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#F8F8F2">   }</span></span>
<span class="line"><span style="color:#F8F8F2">  </span></span>
<span class="line"><span style="color:#94907d">   //error_reporting($error_level);</span></span>
<span class="line"><span style="color:#F8F8F2">  </span></span>
<span class="line"><span style="color:#94907d">   //got the feed, parse it</span></span>
<span class="line"><span style="color:#F8F8F2">   $feed </span><span style="color:#fa4f8d">=</span><span style="color:#66D9EF"> simplexml_load_string</span><span style="color:#F8F8F2">($response);</span></span>
<span class="line"><span style="color:#F8F8F2">  </span></span>
<span class="line"><span style="color:#F8F8F2">   $hashmap </span><span style="color:#fa4f8d">=</span><span style="color:#66D9EF"> array</span><span style="color:#F8F8F2">();</span></span>
<span class="line"><span style="color:#F8F8F2">  </span></span>
<span class="line"><span style="color:#94907d">   //organize the feeds by tag  </span></span>
<span class="line"><span style="color:#fa4f8d">   foreach</span><span style="color:#F8F8F2"> ($feed</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">list</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">object </span><span style="color:#fa4f8d">as</span><span style="color:#F8F8F2"> $e) {</span></span>
<span class="line"><span style="color:#F8F8F2">    $url </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> $e</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">string[</span><span style="color:#AE81FF">0</span><span style="color:#F8F8F2">];</span></span>
<span class="line"><span style="color:#F8F8F2">    $title </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> $e</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">string[</span><span style="color:#AE81FF">1</span><span style="color:#F8F8F2">];</span></span>
<span class="line"><span style="color:#F8F8F2">    $cat </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> $e</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">list</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">object</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">string[</span><span style="color:#AE81FF">1</span><span style="color:#F8F8F2">];</span></span>
<span class="line"><span style="color:#F8F8F2">    </span></span>
<span class="line"><span style="color:#94907d">    //make sure a feed is filed somewhere</span></span>
<span class="line"><span style="color:#fa4f8d">    if</span><span style="color:#F8F8F2"> ($cat </span><span style="color:#fa4f8d">==</span><span style="color:#E6DB74"> ''</span><span style="color:#F8F8F2">) {</span></span>
<span class="line"><span style="color:#F8F8F2">     $cat </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> 'unfiled'</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#F8F8F2">    }</span></span>
<span class="line"><span style="color:#F8F8F2">    $t </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> $hashmap[</span><span style="color:#E6DB74">"</span><span style="color:#F8F8F2">$cat</span><span style="color:#E6DB74">"</span><span style="color:#F8F8F2">];</span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#94907d">    //a category hasn't been used before</span></span>
<span class="line"><span style="color:#fa4f8d">    if</span><span style="color:#F8F8F2"> ($t </span><span style="color:#fa4f8d">==</span><span style="color:#AE81FF"> null</span><span style="color:#F8F8F2">) {</span></span>
<span class="line"><span style="color:#F8F8F2">     $t </span><span style="color:#fa4f8d">=</span><span style="color:#66D9EF"> array</span><span style="color:#F8F8F2">($e);</span></span>
<span class="line"><span style="color:#F8F8F2">     $hashmap[</span><span style="color:#E6DB74">"</span><span style="color:#F8F8F2">$cat</span><span style="color:#E6DB74">"</span><span style="color:#F8F8F2">] </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> $t;</span></span>
<span class="line"><span style="color:#F8F8F2">    }</span></span>
<span class="line"><span style="color:#94907d">    //category has been used before</span></span>
<span class="line"><span style="color:#fa4f8d">    else</span><span style="color:#F8F8F2"> {</span></span>
<span class="line"><span style="color:#66D9EF">     array_push</span><span style="color:#F8F8F2">($t, $e);</span></span>
<span class="line"><span style="color:#F8F8F2">     $hashmap[</span><span style="color:#E6DB74">"</span><span style="color:#F8F8F2">$cat</span><span style="color:#E6DB74">"</span><span style="color:#F8F8F2">] </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> $t;</span></span>
<span class="line"><span style="color:#F8F8F2">    }</span></span>
<span class="line"><span style="color:#F8F8F2">   }</span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#94907d">   //sort the categories</span></span>
<span class="line"><span style="color:#66D9EF">   ksort</span><span style="color:#F8F8F2">($hashmap);</span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#94907d">   //output</span></span>
<span class="line"><span style="color:#fa4f8d">   ?&gt;</span></span>
<span class="line"><span style="color:#fa4f8d">   &lt;</span><span style="color:#AE81FF">p</span><span style="color:#fa4f8d">&gt;</span><span style="color:#AE81FF">Tags</span><span style="color:#fa4f8d">:</span></span>
<span class="line"><span style="color:#fa4f8d">    &lt;</span><span style="color:#fa4f8d"> ?</span></span>
<span class="line"><span style="color:#F8F8F2">    $endKey </span><span style="color:#fa4f8d">=</span><span style="color:#66D9EF"> end</span><span style="color:#F8F8F2">(</span><span style="color:#66D9EF">array_keys</span><span style="color:#F8F8F2">($hashmap));</span></span>
<span class="line"><span style="color:#fa4f8d">    foreach</span><span style="color:#F8F8F2"> ($hashmap </span><span style="color:#fa4f8d">as</span><span style="color:#F8F8F2"> $cat</span><span style="color:#fa4f8d">=&gt;</span><span style="color:#F8F8F2">$t) {</span></span>
<span class="line"><span style="color:#66D9EF">     echo</span><span style="color:#E6DB74"> "&lt;a href='#</span><span style="color:#F8F8F2">$cat</span><span style="color:#E6DB74">'&gt;</span><span style="color:#F8F8F2">$cat</span><span style="color:#E6DB74">&lt;/a&gt;"</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#fa4f8d">     if</span><span style="color:#F8F8F2"> ($cat </span><span style="color:#fa4f8d">!=</span><span style="color:#F8F8F2"> $endKey) {</span></span>
<span class="line"><span style="color:#66D9EF">      echo</span><span style="color:#E6DB74"> ', '</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#F8F8F2">     }</span></span>
<span class="line"><span style="color:#F8F8F2">    }</span></span>
<span class="line"><span style="color:#fa4f8d">    ?&gt;</span></span>
<span class="line"><span style="color:#fa4f8d">   &lt;/</span><span style="color:#AE81FF">p</span><span style="color:#fa4f8d">&gt;&lt;</span><span style="color:#fa4f8d"> ?</span></span>
<span class="line"><span style="color:#F8F8F2">  </span></span>
<span class="line"><span style="color:#fa4f8d">   foreach</span><span style="color:#F8F8F2"> ($hashmap </span><span style="color:#fa4f8d">as</span><span style="color:#F8F8F2"> $cat</span><span style="color:#fa4f8d">=&gt;</span><span style="color:#F8F8F2">$t) {</span></span>
<span class="line"><span style="color:#66D9EF">    echo</span><span style="color:#E6DB74"> "&lt;a name='</span><span style="color:#F8F8F2">$cat</span><span style="color:#E6DB74">'&gt;&lt;/a&gt;"</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#66D9EF">    echo</span><span style="color:#E6DB74"> "&lt;b&gt;</span><span style="color:#F8F8F2">$cat</span><span style="color:#E6DB74">&lt;/b&gt;&lt;br /&gt;"</span><span style="color:#F8F8F2">;    </span></span>
<span class="line"><span style="color:#fa4f8d">    foreach</span><span style="color:#F8F8F2"> ($t </span><span style="color:#fa4f8d">as</span><span style="color:#F8F8F2"> $e) {</span></span>
<span class="line"><span style="color:#66D9EF">     list</span><span style="color:#F8F8F2">($feed, $url) </span><span style="color:#fa4f8d">=</span><span style="color:#66D9EF"> split</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'feed/'</span><span style="color:#F8F8F2">, $e</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">string[</span><span style="color:#AE81FF">0</span><span style="color:#F8F8F2">]);</span></span>
<span class="line"><span style="color:#F8F8F2">     $title </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> $e</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">string[</span><span style="color:#AE81FF">1</span><span style="color:#F8F8F2">];</span></span>
<span class="line"><span style="color:#F8F8F2">    </span></span>
<span class="line"><span style="color:#66D9EF">     echo</span><span style="color:#E6DB74"> "&lt;a href='</span><span style="color:#F8F8F2">$url</span><span style="color:#E6DB74">' target='_blank'&gt;</span><span style="color:#F8F8F2">$title</span><span style="color:#E6DB74">&lt;/a&gt;&lt;br /&gt;"</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#F8F8F2">    </span></span>
<span class="line"><span style="color:#F8F8F2">    }</span></span>
<span class="line"><span style="color:#66D9EF">    echo</span><span style="color:#E6DB74"> '&lt;br /&gt;'</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#F8F8F2">   }</span></span>
<span class="line"><span style="color:#F8F8F2">  }</span></span>
<span class="line"><span style="color:#F8F8F2">  </span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">  function</span><span style="color:#A6E22E"> addContent</span><span style="color:#F8F8F2">($content) {</span></span>
<span class="line"><span style="color:#94907d">   // Only do this if this is a page and it has the appropriate custom field</span></span>
<span class="line"><span style="color:#fa4f8d">   if</span><span style="color:#F8F8F2"> (</span><span style="color:#A6E22E">is_page</span><span style="color:#F8F8F2">()) {</span></span>
<span class="line"><span style="color:#F8F8F2">    $cust_field_values </span><span style="color:#fa4f8d">=</span><span style="color:#A6E22E"> get_post_custom_values</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F">$this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">show_list);</span></span>
<span class="line"><span style="color:#fa4f8d">    if</span><span style="color:#F8F8F2"> ($cust_field_values </span><span style="color:#fa4f8d">!=</span><span style="color:#AE81FF"> NULL</span><span style="color:#F8F8F2">) {</span></span>
<span class="line"><span style="color:#fa4f8d">     if</span><span style="color:#F8F8F2"> (</span><span style="color:#66D9EF">defined</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'WP_ZEND_FRAMEWORK'</span><span style="color:#F8F8F2">) </span><span style="color:#fa4f8d">&amp;&amp;</span><span style="color:#AE81FF"> WP_ZEND_FRAMEWORK</span><span style="color:#F8F8F2">) {</span></span>
<span class="line"><span style="color:#fa4f8d">      require_once</span><span style="color:#E6DB74"> 'Zend/Loader.php'</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">      Zend_Loader</span><span style="color:#fa4f8d">::</span><span style="color:#A6E22E">loadClass</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'Zend_Http_Client'</span><span style="color:#F8F8F2">);</span></span>
<span class="line"><span style="color:#F8F8F2">     }</span></span>
<span class="line"><span style="color:#F8F8F2">     $content </span><span style="color:#fa4f8d">=</span><span style="color:#FD971F"> $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">show_sub_list</span><span style="color:#F8F8F2">();</span></span>
<span class="line"><span style="color:#F8F8F2">    }</span></span>
<span class="line"><span style="color:#F8F8F2">   }</span></span>
<span class="line"><span style="color:#fa4f8d">   return</span><span style="color:#F8F8F2"> $content;</span></span>
<span class="line"><span style="color:#F8F8F2">  }</span></span>
<span class="line"><span style="color:#F8F8F2">  </span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">  function</span><span style="color:#A6E22E"> init</span><span style="color:#F8F8F2">() {</span></span>
<span class="line"><span style="color:#FD971F">   $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">get_admin_options</span><span style="color:#F8F8F2">();</span></span>
<span class="line"><span style="color:#F8F8F2">  }  </span></span>
<span class="line"><span style="color:#F8F8F2">  </span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">  function</span><span style="color:#A6E22E"> get_admin_options</span><span style="color:#F8F8F2">() {</span></span>
<span class="line"><span style="color:#F8F8F2">   $admin_options </span><span style="color:#fa4f8d">=</span><span style="color:#66D9EF"> array</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'google_login'</span><span style="color:#fa4f8d"> =&gt;</span><span style="color:#E6DB74"> ''</span><span style="color:#F8F8F2">,</span></span>
<span class="line"><span style="color:#E6DB74">    'google_pass'</span><span style="color:#fa4f8d"> =&gt;</span><span style="color:#E6DB74"> ''</span><span style="color:#F8F8F2">,</span></span>
<span class="line"><span style="color:#E6DB74">    'use_accordion'</span><span style="color:#fa4f8d"> =&gt;</span><span style="color:#E6DB74"> 'true'</span><span style="color:#F8F8F2">);</span></span>
<span class="line"><span style="color:#F8F8F2">   $options </span><span style="color:#fa4f8d">=</span><span style="color:#A6E22E"> get_option</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F">$this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">adminOptionName);</span></span>
<span class="line"><span style="color:#fa4f8d">   if</span><span style="color:#F8F8F2"> (</span><span style="color:#fa4f8d">!</span><span style="color:#66D9EF">empty</span><span style="color:#F8F8F2">($options)) {</span></span>
<span class="line"><span style="color:#fa4f8d">    foreach</span><span style="color:#F8F8F2"> ($options </span><span style="color:#fa4f8d">as</span><span style="color:#F8F8F2"> $key </span><span style="color:#fa4f8d">=&gt;</span><span style="color:#F8F8F2"> $option) {</span></span>
<span class="line"><span style="color:#F8F8F2">     $admin_options[$key] </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> $option;</span></span>
<span class="line"><span style="color:#F8F8F2">    }</span></span>
<span class="line"><span style="color:#F8F8F2">   }</span></span>
<span class="line"><span style="color:#A6E22E">   update_option</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F">$this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">admin_optionsName, $admin_options);</span></span>
<span class="line"><span style="color:#fa4f8d">   return</span><span style="color:#F8F8F2"> $admin_options;</span></span>
<span class="line"><span style="color:#F8F8F2">  }</span></span>
<span class="line"><span style="color:#F8F8F2">  </span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">  function</span><span style="color:#A6E22E"> printAdminPage</span><span style="color:#F8F8F2">() {</span></span>
<span class="line"><span style="color:#F8F8F2">   $options </span><span style="color:#fa4f8d">=</span><span style="color:#FD971F"> $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">get_admin_options</span><span style="color:#F8F8F2">();</span></span>
<span class="line"><span style="color:#F8F8F2">  </span></span>
<span class="line"><span style="color:#fa4f8d">   if</span><span style="color:#F8F8F2"> (</span><span style="color:#66D9EF">isset</span><span style="color:#F8F8F2">($_POST[</span><span style="color:#E6DB74">'update_greader_sub_list_settings'</span><span style="color:#F8F8F2">])) {</span></span>
<span class="line"><span style="color:#fa4f8d">    if</span><span style="color:#F8F8F2"> (</span><span style="color:#66D9EF">isset</span><span style="color:#F8F8F2">($_POST[</span><span style="color:#E6DB74">'greader_sub_list_login'</span><span style="color:#F8F8F2">])) {</span></span>
<span class="line"><span style="color:#F8F8F2">     $options[</span><span style="color:#E6DB74">'google_login'</span><span style="color:#F8F8F2">] </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> $_POST[</span><span style="color:#E6DB74">'greader_sub_list_login'</span><span style="color:#F8F8F2">];</span></span>
<span class="line"><span style="color:#F8F8F2">    }</span></span>
<span class="line"><span style="color:#fa4f8d">    if</span><span style="color:#F8F8F2"> (</span><span style="color:#66D9EF">isset</span><span style="color:#F8F8F2">($_POST[</span><span style="color:#E6DB74">'greader_sub_list_pass'</span><span style="color:#F8F8F2">])) {</span></span>
<span class="line"><span style="color:#F8F8F2">     $options[</span><span style="color:#E6DB74">'google_pass'</span><span style="color:#F8F8F2">] </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> $_POST[</span><span style="color:#E6DB74">'greader_sub_list_pass'</span><span style="color:#F8F8F2">];</span></span>
<span class="line"><span style="color:#F8F8F2">    }</span></span>
<span class="line"><span style="color:#F8F8F2">    </span></span>
<span class="line"><span style="color:#A6E22E">    update_option</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F">$this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">admin_optionsName, $options);</span></span>
<span class="line"><span style="color:#66D9EF">    echo</span><span style="color:#E6DB74"> '&lt;div class="updated"&gt;&lt;p&gt;&lt;strong&gt;'</span><span style="color:#fa4f8d"> .</span><span style="color:#A6E22E">  _e</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'Settings Updated.'</span><span style="color:#F8F8F2">, </span><span style="color:#E6DB74">'GoogleReaderSubList'</span><span style="color:#F8F8F2">)</span><span style="color:#fa4f8d">.</span><span style="color:#E6DB74"> '&lt;/strong&gt;&lt;/p&gt;&lt;/div&gt;'</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#F8F8F2">    </span></span>
<span class="line"><span style="color:#F8F8F2">   }</span></span>
<span class="line"><span style="color:#94907d">   //$submit = _e('Update Settings', 'GoogleReaderSubList');</span></span>
<span class="line"><span style="color:#F8F8F2">  </span></span>
<span class="line"><span style="color:#66D9EF">   echo</span><span style="color:#E6DB74"> "&lt;div class='wrap'&gt;    &lt;form method='post' action='"</span><span style="color:#fa4f8d"> .</span><span style="color:#F8F8F2"> $_SERVER[</span><span style="color:#E6DB74">'REQUEST_URI'</span><span style="color:#F8F8F2">] </span><span style="color:#fa4f8d">.</span><span style="color:#E6DB74"> "'&gt;     &lt;h2&gt;Google Reader Subscription List&lt;/h2&gt;     &lt;h3&gt;Google Login&lt;/h3&gt;     &lt;input type='text' name='greader_sub_list_login' value='"</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#66D9EF">   echo</span><span style="color:#A6E22E"> _e</span><span style="color:#F8F8F2">(</span><span style="color:#A6E22E">apply_filters</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'format_to_edit'</span><span style="color:#F8F8F2">, $options[</span><span style="color:#E6DB74">'google_login'</span><span style="color:#F8F8F2">]), </span><span style="color:#E6DB74">'GoogleReaderSubList'</span><span style="color:#F8F8F2">);</span></span>
<span class="line"><span style="color:#66D9EF">   echo</span><span style="color:#E6DB74"> "' /&gt;</span></span>
<span class="line"><span style="color:#E6DB74">     &lt;h3&gt;Google Password&lt;/h3&gt;     &lt;input type='password' name='greader_sub_list_pass' value='"</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#66D9EF">   echo</span><span style="color:#A6E22E"> _e</span><span style="color:#F8F8F2">(</span><span style="color:#A6E22E">apply_filters</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'format_to_edit'</span><span style="color:#F8F8F2">, $options[</span><span style="color:#E6DB74">'google_pass'</span><span style="color:#F8F8F2">]), </span><span style="color:#E6DB74">'GoogleReaderSubList'</span><span style="color:#F8F8F2">);</span></span>
<span class="line"><span style="color:#66D9EF">   echo</span><span style="color:#E6DB74"> "' /&gt;</span></span>
<span class="line"><span style="color:#E6DB74">     &lt;div class='submit'&gt;      &lt;input type='submit' name='update_greader_sub_list_settings' value='"</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#66D9EF">   echo</span><span style="color:#A6E22E"> _e</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'Update Settings'</span><span style="color:#F8F8F2">, </span><span style="color:#E6DB74">'GoogleReaderSubList'</span><span style="color:#F8F8F2">);</span></span>
<span class="line"><span style="color:#66D9EF">   echo</span><span style="color:#E6DB74"> "'/&gt;</span></span>
<span class="line"><span style="color:#E6DB74">     &lt;/div&gt;    &lt;/form&gt;   &lt;/div&gt;"</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#F8F8F2">  }</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#fa4f8d">if</span><span style="color:#F8F8F2"> (</span><span style="color:#66D9EF">class_exists</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'GoogleReaderSubList'</span><span style="color:#F8F8F2">)) {</span></span>
<span class="line"><span style="color:#F8F8F2">$greader_sub_list </span><span style="color:#fa4f8d">=</span><span style="color:#fa4f8d"> new</span><span style="color:#66D9EF;font-style:italic"> GoogleReaderSubList</span><span style="color:#F8F8F2">();</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#fa4f8d">if</span><span style="color:#F8F8F2"> (</span><span style="color:#fa4f8d">!</span><span style="color:#66D9EF">function_exists</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'greader_sub_list_ap'</span><span style="color:#F8F8F2">)) {</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">function</span><span style="color:#A6E22E"> greader_sub_list_ap</span><span style="color:#F8F8F2">() {</span></span>
<span class="line"><span style="color:#fa4f8d">  global</span><span style="color:#F8F8F2"> $greader_sub_list;</span></span>
<span class="line"><span style="color:#fa4f8d">  if</span><span style="color:#F8F8F2"> (</span><span style="color:#fa4f8d">!</span><span style="color:#66D9EF">isset</span><span style="color:#F8F8F2">($greader_sub_list)) {</span></span>
<span class="line"><span style="color:#fa4f8d">   return</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#F8F8F2">  }</span></span>
<span class="line"><span style="color:#fa4f8d">  if</span><span style="color:#F8F8F2"> (</span><span style="color:#66D9EF">function_exists</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'add_options_page'</span><span style="color:#F8F8F2">)) {</span></span>
<span class="line"><span style="color:#A6E22E">   add_options_page</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'gReader Subscriptions'</span><span style="color:#F8F8F2">, </span><span style="color:#E6DB74">'gReader Subscriptions'</span><span style="color:#F8F8F2">, </span><span style="color:#AE81FF">9</span><span style="color:#F8F8F2">, </span><span style="color:#66D9EF">basename</span><span style="color:#F8F8F2">(</span><span style="color:#AE81FF">__FILE__</span><span style="color:#F8F8F2">), </span><span style="color:#66D9EF">array</span><span style="color:#F8F8F2">(</span><span style="color:#fa4f8d">&amp;</span><span style="color:#F8F8F2">$greader_sub_list, </span><span style="color:#E6DB74">'printAdminPage'</span><span style="color:#F8F8F2">));</span></span>
<span class="line"><span style="color:#F8F8F2">  }</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#fa4f8d">if</span><span style="color:#F8F8F2"> (</span><span style="color:#66D9EF">isset</span><span style="color:#F8F8F2">($greader_sub_list)) {</span></span>
<span class="line"><span style="color:#A6E22E">add_action</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'admin_menu'</span><span style="color:#F8F8F2">, </span><span style="color:#E6DB74">'greader_sub_list_ap'</span><span style="color:#F8F8F2">);</span></span>
<span class="line"><span style="color:#A6E22E">add_action</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'activate_google-raeder-list/google-reader-list.php'</span><span style="color:#F8F8F2">, </span><span style="color:#66D9EF">array</span><span style="color:#F8F8F2">(</span><span style="color:#fa4f8d">&amp;</span><span style="color:#F8F8F2">$greader_sub_list, </span><span style="color:#E6DB74">'init'</span><span style="color:#F8F8F2">));</span></span>
<span class="line"><span style="color:#A6E22E">add_filter</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'the_content'</span><span style="color:#F8F8F2">, </span><span style="color:#66D9EF">array</span><span style="color:#F8F8F2">(</span><span style="color:#fa4f8d">&amp;</span><span style="color:#F8F8F2">$greader_sub_list, </span><span style="color:#E6DB74">'addContent'</span><span style="color:#F8F8F2">), </span><span style="color:#E6DB74">'7'</span><span style="color:#F8F8F2">);</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span></code></pre>
]]></content:encoded></item>
<item><title>Quick Google Authentication in PHP</title><description>Here is a quick way to authenticate against Google and retrieve a protected
feed. It does not use the supported ClientLogin method but it does allow you
to get to some unsupported feeds (Reader, Bookmarks, etc) The Zend Gdata
library is required</description><link>https://timbroder.com/2009/06/quick-google-authentication-in-php/</link><guid isPermaLink="false">https://timbroder.com/2009/06/quick-google-authentication-in-php</guid><pubDate>Tue, 02 Jun 2009 15:02:00 GMT</pubDate><content:encoded><![CDATA[<p>Here is a quick way to authenticate against Google and retrieve a protected
feed. It does not use the supported ClientLogin method but it does allow you
to get to some unsupported feeds (Reader, Bookmarks, etc) The <a href="http://framework.zend.com/download/gdata">Zend Gdata
library</a> is required</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="php"><code><span class="line"><span style="color:#F8F8F2">$show_list       </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> 'show-google-reader-sub-list'</span><span style="color:#F8F8F2">;  </span><span style="color:#94907d">//the hook in a page</span></span>
<span class="line"><span style="color:#F8F8F2">$login          </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> ''</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#F8F8F2">$pass          </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> ''</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#F8F8F2">$source         </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> 'wordpress-google-reader-sub-list-'</span><span style="color:#F8F8F2">;  </span><span style="color:#94907d">//the source the api sees when logging into Google</span></span>
<span class="line"><span style="color:#F8F8F2">$service         </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> 'reader'</span><span style="color:#F8F8F2">;  </span></span>
<span class="line"><span style="color:#F8F8F2">$login_url        </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> 'https://www.google.com/accounts/ServiceLoginAuth?service=mail'</span><span style="color:#F8F8F2">; </span><span style="color:#94907d">//URL to login to google</span></span>
<span class="line"><span style="color:#F8F8F2">$subscription_list_url  </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> 'http://www.google.com/reader/api/0/subscription/list'</span><span style="color:#F8F8F2">; </span><span style="color:#94907d">//URL that holds a users subscriptions</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2"> </span></span>
<span class="line"><span style="color:#F8F8F2">$client </span><span style="color:#fa4f8d">=</span><span style="color:#fa4f8d"> new</span><span style="color:#66D9EF;font-style:italic"> Zend_Http_Client</span><span style="color:#F8F8F2">($login_url);</span></span>
<span class="line"></span>
<span class="line"><span style="color:#94907d">//connect, authenticate, and handshake with Google</span></span>
<span class="line"><span style="color:#F8F8F2">$client</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">setCookieJar</span><span style="color:#F8F8F2">()</span></span>
<span class="line"><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">setMethod</span><span style="color:#F8F8F2">(</span><span style="color:#66D9EF;font-style:italic">Zend_Http_Client</span><span style="color:#fa4f8d">::</span><span style="color:#AE81FF">POST</span><span style="color:#F8F8F2">)</span></span>
<span class="line"><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">setParameterPost</span><span style="color:#F8F8F2">(</span><span style="color:#66D9EF">array</span><span style="color:#F8F8F2">(</span></span>
<span class="line"><span style="color:#E6DB74"> 'continue'</span><span style="color:#fa4f8d">             =&gt;</span><span style="color:#F8F8F2"> $subscription_list_url,</span></span>
<span class="line"><span style="color:#E6DB74"> 'service'</span><span style="color:#fa4f8d">              =&gt;</span><span style="color:#E6DB74"> 'reader'</span><span style="color:#F8F8F2">,</span></span>
<span class="line"><span style="color:#E6DB74"> 'niu'</span><span style="color:#fa4f8d">                  =&gt;</span><span style="color:#AE81FF"> 1</span><span style="color:#F8F8F2">,</span></span>
<span class="line"><span style="color:#E6DB74"> 'hl'</span><span style="color:#fa4f8d">                   =&gt;</span><span style="color:#E6DB74"> 'en'</span><span style="color:#F8F8F2">,</span></span>
<span class="line"><span style="color:#E6DB74"> 'Email'</span><span style="color:#fa4f8d">              =&gt;</span><span style="color:#F8F8F2"> $login,</span></span>
<span class="line"><span style="color:#E6DB74"> 'Passwd'</span><span style="color:#fa4f8d">               =&gt;</span><span style="color:#F8F8F2"> $pass,</span></span>
<span class="line"><span style="color:#E6DB74"> 'PersistentCookie'</span><span style="color:#fa4f8d">     =&gt;</span><span style="color:#E6DB74"> 'yes'</span><span style="color:#F8F8F2">,</span></span>
<span class="line"><span style="color:#E6DB74"> 'asts'</span><span style="color:#fa4f8d">                 =&gt;</span><span style="color:#E6DB74"> ''</span></span>
<span class="line"><span style="color:#F8F8F2">));</span></span>
<span class="line"></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">$response </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> $client</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">request</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'POST'</span><span style="color:#F8F8F2">);</span></span>
<span class="line"><span style="color:#F8F8F2">$client</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">setUri</span><span style="color:#F8F8F2">($subscription_list_url)</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">setMethod</span><span style="color:#F8F8F2">(</span><span style="color:#66D9EF;font-style:italic">Zend_Http_Client</span><span style="color:#fa4f8d">::</span><span style="color:#AE81FF">GET</span><span style="color:#F8F8F2">);</span></span>
<span class="line"><span style="color:#F8F8F2">$response </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> $client</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">request</span><span style="color:#F8F8F2">()</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">getBody</span><span style="color:#F8F8F2">();</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">if</span><span style="color:#F8F8F2"> ($client</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">request</span><span style="color:#F8F8F2">()</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">getStatus</span><span style="color:#F8F8F2">() </span><span style="color:#fa4f8d">==</span><span style="color:#AE81FF"> 400</span><span style="color:#F8F8F2">) {</span></span>
<span class="line"><span style="color:#fa4f8d">?&gt;</span><span style="color:#AE81FF">Unable</span><span style="color:#AE81FF"> to</span><span style="color:#AE81FF"> login</span><span style="color:#AE81FF"> with</span><span style="color:#AE81FF"> supplied</span><span style="color:#AE81FF"> Google</span><span style="color:#AE81FF"> login</span><span style="color:#fa4f8d">/</span><span style="color:#AE81FF">password</span><span style="color:#E6DB74">```</span></span></code></pre>
]]></content:encoded></item>
<item><title>Diggnation NYC, June 4th!</title><description>Veeeeery excited about this.  Last year was a blast When? Thursday, June 4th, 2009 
7:30pm Where? Webster Hall 
125 East 11th Street, New York City, NY 
view map Streaming? No Live Event? Yes Venue Website: websterhall.com</description><link>https://timbroder.com/2009/05/diggnation-nyc-june-4th/</link><guid isPermaLink="false">https://timbroder.com/2009/05/diggnation-nyc-june-4th</guid><pubDate>Thu, 28 May 2009 14:29:00 GMT</pubDate><content:encoded><![CDATA[<h5 id="veeeeery-excited-about-this--last-year-was-a-blast">Veeeeery excited about this.  <a href="https://timbroder.com/2008/06/live-diggnation-ny-photos/">Last year</a> was a blast</h5>
<h5 id="when">When?</h5>
<p>Thursday, June 4th, 2009<br>
7:30pm</p>
<h5 id="where">Where?</h5>
<p>Webster Hall<br>
125 East 11th Street, New York City, NY<br>
<a href="http://maps.google.com/?q=125%20East%2011th%20Street,%20New%20York%20City,%20NY">view map</a></p>
<h5 id="streaming">Streaming?</h5>
<p>No</p>
<h5 id="live-event">Live Event?</h5>
<p>Yes</p>
<h5 id="venue-website">Venue Website:</h5>
<p><a href="http://websterhall.com/">websterhall.com</a></p>
]]></content:encoded></item>
<item><title>Google Maps F-Bombs street names!</title><description>Good stuff. Link</description><link>https://timbroder.com/2009/05/google-maps-shows-interesting-street/</link><guid isPermaLink="false">https://timbroder.com/2009/05/google-maps-shows-interesting-street</guid><pubDate>Fri, 01 May 2009 00:16:00 GMT</pubDate><content:encoded><![CDATA[<p>Good stuff. <a href="http://maps.google.co.uk/maps?&amp;ll=48.067541,12.862533&amp;spn=0.006345,0.010267&amp;t=h&amp;z=17">Link</a></p>
<p><a href="https://1.bp.blogspot.com/_Ng3QbVQfLZ8/Sfo_Jqi6JyI/AAAAAAAAbHo/QilHprrfP9c/s1600-h/Untitled.jpg"><img src="https://timbroder.com/images/missing-image.svg" alt=""></a></p>
]]></content:encoded></item>
<item><title>How a Programmer reads your resume</title><description></description><link>https://timbroder.com/2009/04/how-programmer-reads-your-resume/</link><guid isPermaLink="false">https://timbroder.com/2009/04/how-programmer-reads-your-resume</guid><pubDate>Tue, 28 Apr 2009 16:00:00 GMT</pubDate><content:encoded><![CDATA[<p><a href="https://timbroder.com/images/remote/2009-04-28-how-programmer-reads-your-resume/resume_comic.png"><img src="https://timbroder.com/images/remote/2009-04-28-how-programmer-reads-your-resume/resume_comic.png" alt=""></a></p>
]]></content:encoded></item>
<item><title>How to manage podcasts in Winamp (screw itunes)</title><description>So I really have been digging the Windows 7 beta.  However, Itunes does not
sync podcasts correctly on the 64 bit version.  IF syncing works at all, it
takes a while. I had used winamp to listen to my music a while ago, but had
switched to amarok when I started single booting linux (yes, I hated Vista
that much).  Now that I'm back to using windows a bit, I wanted my podcast
experience to go flawlessly. As much as I dislike iTunes, they have got podcast management down pat search for podcast subscribe to…</description><link>https://timbroder.com/2009/04/how-to-manage-podcasts-in-winamp-screw/</link><guid isPermaLink="false">https://timbroder.com/2009/04/how-to-manage-podcasts-in-winamp-screw</guid><pubDate>Fri, 17 Apr 2009 19:11:00 GMT</pubDate><content:encoded><![CDATA[<p>So I really have been digging the Windows 7 beta.  However, Itunes does not
sync podcasts correctly on the 64 bit version.  IF syncing works at all, it
takes a while. I had used winamp to listen to my music a while ago, but had
switched to amarok when I started single booting linux (yes, I hated Vista
that much).  Now that I'm back to using windows a bit, I wanted my podcast
experience to go flawlessly.</p>
<p>As much as I dislike iTunes, they have got podcast management down pat</p>
<ul>
<li>search for podcast</li>
<li>subscribe to podcast</li>
<li>download episodes</li>
<li>sync with ipod</li>
<li><strong>after an episode has been listened to, delete from computer hard drive</strong></li>
</ul>
<p>That last point is the most important part, everything else can be done
manually</p>
<p>All this can be done with winamp. You will need two things, winamp and the
<a href="http://mlipod.sourceforge.net/?page=downloads">ml_iPod</a> plugin.  While winamp
does come with ipod support built in, ml_iPod has many more features.  The
following steps should get you up to speed on podcasting with winamp</p>
<ul>
<li>install winamp</li>
<li>install the ml_iPod plugin (it will tell you it has to remove the built in ipod plugin, this is ok)</li>
<li>set a directory to save the episodes in</li>
</ul>
<p><img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
<ul>
<li>plug in your ipod</li>
<li>enable podcast support for the ipod</li>
<li>point it to your episode folder</li>
<li>set the query for when to delete old episodes</li>
</ul>
<p><img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
<ul>
<li>Add your podcasts by searching for them in the directory, or adding them manually using their RSS feed</li>
</ul>
<p><img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
<p>After this you should be good to go. podcasts!</p>
]]></content:encoded></item>
<item><title>Big Appengine news: Cron, Java, Firewalled Data, DB Import</title><description>Java Support: This was the first, and most popular request
in the bug
tracker. Followed closely by PHP support.  Google has merged the simplicity of
appengine with the robustness of java, and added it to their Eclipse
plugin to boot. Cron Support:
The cron support works by calling a URL at a given interval. I'm not sure if
cron jobs are also restricted by the timeout policy, hopefully they will be
allowed to be longer. Secure Data Connector: An
exampled of this would be accessing data behind a corporate…</description><link>https://timbroder.com/2009/04/big-appengine-news-cron-java-firewalled/</link><guid isPermaLink="false">https://timbroder.com/2009/04/big-appengine-news-cron-java-firewalled</guid><pubDate>Wed, 08 Apr 2009 13:45:00 GMT</pubDate><content:encoded><![CDATA[<p><a href="http://googleappengine.blogspot.com/2009/04/seriously-this-time-new-language-on-app.html">Java Support</a>: This was the first, and most popular <a href="http://code.google.com/p/googleappengine/issues/detail?id=1">request
</a>in the bug
tracker. Followed closely by PHP support.  Google has merged the simplicity of
appengine with the robustness of java, and added it to their <a href="http://code.google.com/eclipse">Eclipse
plugin</a> to boot.</p>
<p><a href="http://code.google.com/appengine/docs/python/config/cron.html">Cron Support</a>:
The cron support works by calling a URL at a given interval. I'm not sure if
cron jobs are also restricted by the timeout policy, hopefully they will be
allowed to be longer.</p>
<p><a href="http://code.google.com/securedataconnector/">Secure Data Connector</a>: An
exampled of this would be accessing data behind a corporate firewall.  Might
be a (good/bad) idea ;)</p>
<p><a href="http://code.google.com/appengine/docs/python/tools/uploadingdata.html">Bulk Uploader</a>: Dump data into appengine from another database or a CSV
file</p>
]]></content:encoded></item>
<item><title>Twitter Blog: Replies Are Now Mentions</title><description>Twitter Blog: Replies Are Now Mentions Hopefully this is a step towards official
support of @reply (or @mention) notifications again</description><link>https://timbroder.com/2009/03/twitter-blog-replies-are-now-mentions/</link><guid isPermaLink="false">https://timbroder.com/2009/03/twitter-blog-replies-are-now-mentions</guid><pubDate>Tue, 31 Mar 2009 14:33:00 GMT</pubDate><content:encoded><![CDATA[<p><a href="http://blog.twitter.com/2009/03/replies-are-now-mentions.html">Twitter Blog: Replies Are Now Mentions</a> Hopefully this is a step towards official
support of @reply (or @mention) notifications again</p>
]]></content:encoded></item>
<item><title>First Google Chrome Extensions</title><description>Extensions are coming for chrome. Google’s Matt Cutts in a blog post says: “Extensions currently have very Greasemonkey-like
functionality: you identify which web pages should be modified, plus
JavaScript to be added to those pages. By default, the extension’s JavaScript
runs after the page loads, but you can specify that the extension’s JavaScript
should run before the page loads. Right now, you can only load one JS file,
but that could change in the future. You also can’t currently load Cascading
Style…</description><link>https://timbroder.com/2009/03/first-google-chrome-extensions/</link><guid isPermaLink="false">https://timbroder.com/2009/03/first-google-chrome-extensions</guid><pubDate>Thu, 19 Mar 2009 17:11:00 GMT</pubDate><content:encoded><![CDATA[<p>Extensions <a href="http://dev.chromium.org/developers/design-documents/extensions/howto">are coming</a> for chrome.</p>
<p>Google’s Matt Cutts <a href="http://www.mattcutts.com/blog/write-chrome-extension/">in a blog post says</a>: “Extensions currently have very Greasemonkey-like
functionality: you identify which web pages should be modified, plus
JavaScript to be added to those pages. By default, the extension’s JavaScript
runs after the page loads, but you can specify that the extension’s JavaScript
should run before the page loads. Right now, you can only load one JS file,
but that could change in the future. You also can’t currently load Cascading
Style Sheets (CSS), but that might also change.”</p>
<p>Personally, I think they should just port greasemonkey directly so chrome can
take advantage off all the <a href="http://userscripts.org/">existing scripts
</a></p>
]]></content:encoded></item>
<item><title>Google’s JavaScript/ Chrome Experiments Showcase</title><description>Google at ChromeExperiments.com released
a showcase site for JavaScript experiments especially aimed as promotion to
demonstrate their own Chrome browser’s capabilities.  From games to 3D
graphics, these demo's really show off what the chrome javascript engine can
do</description><link>https://timbroder.com/2009/03/googles-javascript-chrome-experiments/</link><guid isPermaLink="false">https://timbroder.com/2009/03/googles-javascript-chrome-experiments</guid><pubDate>Thu, 19 Mar 2009 17:08:00 GMT</pubDate><content:encoded><![CDATA[<p>Google at <a href="http://www.chromeexperiments.com/">ChromeExperiments.com</a> released
a showcase site for JavaScript experiments especially aimed as promotion to
demonstrate their own Chrome browser’s capabilities.  From games to 3D
graphics, these demo's really show off what the chrome javascript engine can
do</p>
<p><img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
]]></content:encoded></item>
<item><title>No Content Found</title><description>Test post from sms (now supported by blogger http://tinyurl.com/bx6vao
)</description><link>https://timbroder.com/2009/03/test-post-from-sms-now-supported-by/</link><guid isPermaLink="false">https://timbroder.com/2009/03/test-post-from-sms-now-supported-by</guid><pubDate>Mon, 16 Mar 2009 20:51:00 GMT</pubDate><content:encoded><![CDATA[<p>Test post from sms (now supported by blogger <a href="http://tinyurl.com/bx6vao">http://tinyurl.com/bx6vao</a>
)</p>
]]></content:encoded></item>
<item><title>GrandCentral finally resurected</title><description>GrandCentral lives again, as Google Voice.  Google voice is rolling out, although
currently only open to current GrandCentral users.  To request an invite when
it is open to all, click
here Features: Google number - One number for all your calls and SMS Features_thumb1 Call screening - Announce and screen callers Listen in - Listen before taking a call Block calls - Keep unwanted callers at bay SMS - Send, receive, and store SMS Place calls - Call US numbers for free Taking calls - Answer on any of your…</description><link>https://timbroder.com/2009/03/grandcentral-finally-resurected/</link><guid isPermaLink="false">https://timbroder.com/2009/03/grandcentral-finally-resurected</guid><pubDate>Thu, 12 Mar 2009 13:46:00 GMT</pubDate><content:encoded><![CDATA[<p>GrandCentral <a href="http://googleblog.blogspot.com/2009/03/here-comes-google-voice.html">lives again</a>, as Google Voice.  Google voice is rolling out, although
currently only open to current GrandCentral users.  To request an invite when
it is open to all, click
<a href="http://services.google.com/fb/forms/googlevoiceinvite">here</a></p>
<p>Features:</p>
<p><strong>Google number</strong> - One number for all your calls and SMS</p>
<p><img src="https://timbroder.com/images/remote/2009-03-12-grandcentral-finally-resurected/3664525910-features_thumb1.jpg" alt="Features_thumb1"></p>
<ul>
<li><a href="https://www.google.com/voice/about#">Call screening</a> - Announce and screen callers</li>
<li><a href="https://www.google.com/voice/about#">Listen in</a> - Listen before taking a call</li>
<li><a href="https://www.google.com/voice/about#">Block calls</a> - Keep unwanted callers at bay</li>
<li><a href="https://www.google.com/voice/about#">SMS</a> - Send, receive, and store SMS</li>
<li><a href="https://www.google.com/voice/about#">Place calls</a> - Call US numbers for free</li>
<li><a href="https://www.google.com/voice/about#">Taking calls</a> - Answer on any of your phones</li>
<li><a href="https://www.google.com/voice/about#">Phone routing</a> - Phones ring based on who calls</li>
<li><a href="https://www.google.com/voice/about#">Forwarding phones</a> - Add phones and decide which ring</li>
</ul>
<p><strong>Google voicemail</strong> - Voicemail as easy as email, with transcripts</p>
<p><img src="https://timbroder.com/images/remote/2009-03-12-grandcentral-finally-resurected/4096164457-features_thumb2.jpg" alt="Features_thumb2"></p>
<ul>
<li><a href="https://www.google.com/voice/about#">Voicemail transcripts</a> - Read what your voicemail says</li>
<li><a href="https://www.google.com/voice/about#">Listen to voicemail</a> - Check online or from your phone</li>
<li><a href="https://www.google.com/voice/about#">Notifications</a> - Receive voicemails via email or SMS</li>
<li><a href="https://www.google.com/voice/about#">Personalize greeting</a> - Vary greetings by caller</li>
<li><a href="https://www.google.com/voice/about#">Share voicemail</a> - Forward or download voicemails</li>
</ul>
<p>|</p>
<p><strong>Voice features</strong> - More cool things you can do with Google Voice</p>
<p><img src="https://timbroder.com/images/remote/2009-03-12-grandcentral-finally-resurected/67413083-features_thumb3.jpg" alt="Features_thumb3"></p>
<ul>
<li><a href="https://www.google.com/voice/about#">Conference calling</a> - Join people into a single call</li>
<li><a href="https://www.google.com/voice/about#">Call record</a> - Record calls and store them online</li>
<li><a href="https://www.google.com/voice/about#">Call switch</a> - Switch phones during a call</li>
<li><a href="https://www.google.com/voice/about#">Mobile site</a> - View your inbox from your mobile</li>
<li><a href="https://www.google.com/voice/about#">GOOG-411</a> - Check directory assistance</li>
<li><a href="https://www.google.com/voice/about#">Manage groups</a> - Set preferences by group</li>
</ul>
]]></content:encoded></item>
<item><title>Google Calendar gets offline access with Gears</title><description>4 of my 5 most used Google apps now have offline access through Gears
(Gmail, Docs, and reader being the other).  I use
picasa heavily also but there is way too much data there for gears.  Head over
to your calendar to add the feature.</description><link>https://timbroder.com/2009/03/google-calendar-gets-offline-access/</link><guid isPermaLink="false">https://timbroder.com/2009/03/google-calendar-gets-offline-access</guid><pubDate>Wed, 04 Mar 2009 13:50:00 GMT</pubDate><content:encoded><![CDATA[<p>4 of my 5 most used Google apps now have offline access through <a href="http://gears.google.com/">Gears
</a>(Gmail, Docs, and reader being the other).  I use
picasa heavily also but there is way too much data there for gears.  Head over
to your <a href="https://www.google.com/calendar/">calendar </a>to add the feature.</p>
<p><img src="https://timbroder.com/images/remote/2009-03-04-google-calendar-gets-offline-access/offline-calendar-1.png" alt=""></p>
]]></content:encoded></item>
<item><title>Installing Ubuntu Netbook Remix (with Jaunty) on an MSI Wind</title><description>I recently picked up a MSI Wind Netbook and love the damn thing. Ubuntu
Netbook Remix brings in a great
UI which makes navigating on the small screen much easier.I used Ubuntu Jaunty
Jackalope Alpha 4 as the base install, mainly because I didn't want to go
through the trouble of converting my ext3 partitions to ext4 when it comes out
on April 23rd, and the driver support is more complete.  I haven't had many
problems with it aside from a few random firefox crashes.   We're going to make a bootable USB stick…</description><link>https://timbroder.com/2009/02/installing-ubuntu-netbook-remix-with/</link><guid isPermaLink="false">https://timbroder.com/2009/02/installing-ubuntu-netbook-remix-with</guid><pubDate>Wed, 25 Feb 2009 20:51:00 GMT</pubDate><content:encoded><![CDATA[<p>I recently picked up a MSI Wind Netbook and love the damn thing. <a href="http://www.canonical.com/projects/ubuntu/unr">Ubuntu
Netbook Remix</a> brings in a great
UI which makes navigating on the small screen much easier.I used Ubuntu Jaunty
Jackalope Alpha 4 as the base install, mainly because I didn't want to go
through the trouble of converting my ext3 partitions to ext4 when it comes out
on April 23rd, and the driver support is more complete.  I haven't had many
problems with it aside from a few random firefox crashes.</p>
<p><img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
<p><img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
<ol>
<li>
<p>We're going to make a bootable USB stick to install Ubuntu</p>
</li>
<li>
<p>On a separate machine, <a href="http://www.ubuntu.com/testing/jaunty/alpha4#Download%20Alpha%204">Download </a>the cd image.  If you want to use 8.10, get the iso <a href="http://www.ubuntu.com/getubuntu/download">here</a></p>
</li>
<li>
<p>if you are already using an Ubuntu install of 8.10 or higher, skip to step 11</p>
</li>
<li>
<p>burn the image to a cd</p>
</li>
<li>
<p>Boot to the cd, do not install, load the demo OS</p>
</li>
<li>
<p>click System-&gt;Administration-&gt;Create a USB startup disk</p>
</li>
<li>
<p>point it to either the cd in your drive, or the iso</p>
</li>
<li>
<p>point to the correct USB stick</p>
</li>
<li>
<p>the rest of the settings can stay default</p>
</li>
<li>
<p>click Make Startup Disk</p>
</li>
<li>
<p>Insert the usb drive into your wind, power it on, and hit delete to go into the bios, change the first boot device to USB Drive</p>
</li>
<li>
<p>save and exit the bios</p>
</li>
<li>
<p>If the wind boots off of the USB stick correctly, you should see the same screen as when you had booted off the cd</p>
</li>
<li>
<p><a href="https://help.ubuntu.com/community/GraphicalInstall">Install </a>Ubuntu</p>
</li>
<li>
<p>I made my partitions as follows:</p>
</li>
</ol>
<p>|30 gig recovery partition|20 gig XP partition|15 Gig Ext4 Ubuntu Partition|4
gig swap partition|the rest of the drive as an ext4 partition<br>
<img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
<ol start="16">
<li>
<p>That last partition is where I will mount my home directory, as well as mount from windows xp using <a href="http://www.fs-driver.org/faq.html">ext2fs </a>(I havn't actually tried this yet)</p>
</li>
<li>
<p>Add the netbook remix repositories to your system.  This can be be done in synaptic or by typing the following into a terminal<br>
sudo gedit /etc/apt/sources.list</p>
</li>
<li>
<p>add the following:</p>
</li>
</ol>
<p>deb <a href="http://ppa.launchpad.net/netbook-remix-team/ubuntu">http://ppa.launchpad.net/netbook-remix-team/ubuntu</a> intrepid main<br>
deb-src <a href="http://ppa.launchpad.net/netbook-remix-team/ubuntu">http://ppa.launchpad.net/netbook-remix-team/ubuntu</a> intrepid main</p>
<ol start="19">
<li>
<p>sudo apt-get update</p>
</li>
<li>
<p>sudo apt-get install go-home-applet<br>
sudo apt-get install window-picker-applet<br>
sudo apt-get install maximus<br>
sudo apt-get install human-netbook-theme</p>
</li>
<li>
<p>Select the "Human Netbook Theme" in System Preferences&gt;Apperance</p>
</li>
<li>
<p>go into System Preferences-&gt; sessions-&gt;startup programs and confirm that "Maximus" and "window-picker-applet" are thre</p>
</li>
<li>
<p><strong>Disable Compiz Effects</strong> System Preferences-&gt;Appearance-&gt;None</p>
<p>This is what is required to get netbook remix running, I continued with the
following to tweak it some more</p>
</li>
<li>
<p>Delete the bottom panel by right clicking on it</p>
</li>
<li>
<p>Delete all the applets on the top panel by right clicking on them</p>
</li>
<li>
<p>Add applets to the top panel so it ends up like:</p>
</li>
</ol>
<p>Window Picker Applet | Trash Can |Notification Area | MixerApplet | Clock</p>
<ol start="27">
<li>I also made alt+q the hotkey to show the desktop, makes navigating to it faster. Another option is the show desktop applet button that can be added to the top bar.  Preferences-&gt;keyboard shortcuts-&gt;"Hide all normal windows....."</li>
</ol>
<p>More info is available
<a href="http://wiki.msiwind.net/index.php/Ubuntu_8.04_Hardy_Heron">here</a>.</p>
]]></content:encoded></item>
<item><title>Google App Engine Blog: The sky's (almost) the limit! "High CPU" is no more.</title><description>It looks like the app engine infrastructure is improving. No more High CPU
request warnings, the response deadline (timeout) has been raised from 10 to
30 seconds, and the static file limit is now 10MB.</description><link>https://timbroder.com/2009/02/google-app-engine-blog-skys-almost/</link><guid isPermaLink="false">https://timbroder.com/2009/02/google-app-engine-blog-skys-almost</guid><pubDate>Tue, 17 Feb 2009 16:16:00 GMT</pubDate><content:encoded><![CDATA[<p>It looks like the app engine infrastructure is improving. No more High CPU
request warnings, the response deadline (timeout) has been raised from 10 to
30 seconds, and the static file limit is now 10MB.</p>
]]></content:encoded></item>
<item><title>The Matrix Runs on Windows</title><description>See more funny videos and funny
pictures at
CollegeHumor.</description><link>https://timbroder.com/2009/01/matrix-runs-on-windows/</link><guid isPermaLink="false">https://timbroder.com/2009/01/matrix-runs-on-windows</guid><pubDate>Wed, 28 Jan 2009 19:39:00 GMT</pubDate><content:encoded><![CDATA[<p>See more <a href="http://www.collegehumor.com/videos">funny videos</a> and <a href="http://www.collegehumor.com/pictures">funny
pictures</a> at
<a href="http://www.collegehumor.com/">CollegeHumor</a>.</p>
]]></content:encoded></item>
<item><title>How to get brightkite photos into an RSS feed (to post to a blog)</title><description>I started another blog so I have a place to rant about
comics or movies or whatever else I need to get off my chest, and I needed an
excuse to play with wordpress (something I've been wanting to do for a while).
I plan on posting how I did certain things on that blog on gPowered. One of
the things I really wanted to do was have my twitter photos show up as posts
on that blog. For a while I have been using
twitpic, but have recently changed over
to brightkite. Brightkite provides
an rss feed of all your…</description><link>https://timbroder.com/2009/01/how-to-get-brightkite-photos-into-rss/</link><guid isPermaLink="false">https://timbroder.com/2009/01/how-to-get-brightkite-photos-into-rss</guid><pubDate>Mon, 26 Jan 2009 15:11:00 GMT</pubDate><content:encoded><![CDATA[<p>I started another <a href="https://timbroder.com/">blog </a>so I have a place to rant about
comics or movies or whatever else I need to get off my chest, and I needed an
excuse to play with wordpress (something I've been wanting to do for a while).
I plan on posting how I did certain things on that blog on gPowered. One of
the things I really wanted to do was have my twitter photos show up as posts
on that blog. For a while I have been using
<a href="http://twitpic.com/photos/broderboy">twitpic</a>, but have recently changed over
to <a href="http://brightkite.com/people/broderboy">brightkite</a>. Brightkite provides
an rss feed of all your activity, but I was only interested in the photos.
Looked like a job for <a href="http://pipes.yahoo.com/pipes/pipe.info?_id=PMOQjpHo3RGyu7JdLXO0Kg">Yahoo!
Pipes</a>.</p>
<p><a href="https://4.bp.blogspot.com/_Ng3QbVQfLZ8/SX3Uw_HR3KI/AAAAAAAAajI/XPnLMt02wdQ/s1600-h/pipe1.JPG"><img src="https://timbroder.com/images/missing-image.svg" alt=""></a></p>
<p>I imported the bkite feed into pipes, filtered on the items that were photo
posts, and renamed the title so it would have the title of the photo instead
of the bkite location (by default bkite photo titles are the location where
you most recently checked in). I also did some URL generation so anyone could
<a href="http://pipes.yahoo.com/pipes/pipe.run?_id=PMOQjpHo3RGyu7JdLXO0Kg&amp;_render=rss&amp;username=broderboy">use the pipe</a> The next step was to get this into
wordpress. I Installed the
<a href="http://projects.radgeek.com/feedwordpress/">FeedWordPress</a> plugin and set it
up to import the pipe's RSS feed. You can tweak the the settings on what user
should be used to write the posts, categories, tags, permalinks (I set mine to
point directly back to brightkite). Hope this helps someone out there,
enjoy</p>
]]></content:encoded></item>
<item><title>Finding unread gmails (or: the best gmail filter ever)</title><description>As the year starts to wind down, I figure I should start the year off with a
clean inbox.  I try to keep no unread messages in my inbox, instead I tag and
archive.  These past few weeks however, my inbox has gotten a little crazy. I found this filter to show me all my unread mail that is still in my inbox,
hope it helps someone organize like it did me is:inbox is:unread Happy Holidays all</description><link>https://timbroder.com/2008/12/finding-unread-gmails-or-best-gmail/</link><guid isPermaLink="false">https://timbroder.com/2008/12/finding-unread-gmails-or-best-gmail</guid><pubDate>Tue, 23 Dec 2008 15:45:00 GMT</pubDate><content:encoded><![CDATA[<p>As the year starts to wind down, I figure I should start the year off with a
clean inbox.  I try to keep no unread messages in my inbox, instead I tag and
archive.  These past few weeks however, my inbox has gotten a little crazy.</p>
<p>I found this filter to show me all my unread mail that is still in my inbox,
hope it helps someone organize like it did me</p>
<p>is:inbox is:unread</p>
<p>Happy Holidays all</p>
]]></content:encoded></item>
<item><title>Google Reader gets a facelift</title><description>It's now less "bubble" looking. I'm wondering if its pulling from my gmail
theme, but I unfortunately can't check that from work. I really like being
able to hide the stats in the upper left. The only one I ever look at is how
many total unread items I have.</description><link>https://timbroder.com/2008/12/google-reader-gets-facelift/</link><guid isPermaLink="false">https://timbroder.com/2008/12/google-reader-gets-facelift</guid><pubDate>Fri, 05 Dec 2008 14:20:00 GMT</pubDate><content:encoded><![CDATA[<p>It's now less "bubble" looking. I'm wondering if its pulling from my gmail
theme, but I unfortunately can't check that from work. I really like being
able to hide the stats in the upper left. The only one I ever look at is how
many total unread items I have.</p>
<p><img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
]]></content:encoded></item>
<item><title>Set / Change / Reset the MySQL root password on Ubuntu Linux (Ubuntu)</title><description>This came in veeeerrryyy handy just now... Stop the MySQL Server sudo /etc/init.d/mysql stop Start the mysqld config sudo mysqld --skip-grant-tables &amp; Login to the server as root mysql -u root mysql Ser your NEWPASSWORD UPDATE user SET Password=PASSWORD('NEWPASSWORD') WHERE User='root'; FLUSH PRIVILEGES; exit; туры на майские праздники
днепропетровсквзять денег в долг
срочно</description><link>https://timbroder.com/2008/11/set-change-reset-mysql-root-password-on/</link><guid isPermaLink="false">https://timbroder.com/2008/11/set-change-reset-mysql-root-password-on</guid><pubDate>Mon, 24 Nov 2008 23:53:00 GMT</pubDate><content:encoded><![CDATA[<p>This came in veeeerrryyy handy just now...</p>
<ol>
<li>
<p>Stop the MySQL Server</p>
<p>sudo /etc/init.d/mysql stop</p>
</li>
<li>
<p>Start the mysqld config</p>
<p>sudo mysqld --skip-grant-tables &amp;</p>
</li>
<li>
<p>Login to the server as root</p>
<p>mysql -u root mysql</p>
</li>
<li>
<p>Ser your NEWPASSWORD</p>
<p>UPDATE user SET Password=PASSWORD('NEWPASSWORD') WHERE</p>
<p>User='root'; FLUSH</p>
<p>PRIVILEGES; exit;</p>
</li>
</ol>
<p><a href="https://altezza.travel/groups.php">туры на майские праздники
днепропетровск</a><a href="http://purmedispa.com/dengi-v-dolg-chastnoe-litso.php" title="потребительский
кредит под залог недвижимости сбербанк">взять денег в долг
срочно</a></p>
]]></content:encoded></item>
<item><title>Gmail adds voice and video chat</title><description>Is the death of Skype iminent?  The plugin isn't out for Linux so I
can't test it out just yet. Hopefully I'll be able to try it out on
Laura's mac later.  Until then, more info is
available here.  If
you've tried it out, let me know.</description><link>https://timbroder.com/2008/11/gmail-adds-voice-and-video-chat/</link><guid isPermaLink="false">https://timbroder.com/2008/11/gmail-adds-voice-and-video-chat</guid><pubDate>Tue, 11 Nov 2008 22:54:00 GMT</pubDate><content:encoded><![CDATA[<p>Is the death of Skype iminent?</p>
<p><a href="https://mail.google.com/videochat?hl=en"><img src="https://timbroder.com/images/remote/2008-11-11-gmail-adds-voice-and-video-chat/screenshot.png" alt=""></a></p>
<p>The <a href="https://mail.google.com/videochat?hl=en">plugin</a> isn't out for Linux so I
can't test it out just yet. Hopefully I'll be able to try it out on
<a href="http://maybe-not.net/">Laura's</a> mac later.  Until then, more info is
available <a href="http://mashable.com/2008/11/11/gmail-video-voice-chat/">here</a>.  If
you've tried it out, let me <a href="http://www.twitter.com/broderboy/">know</a>.</p>
]]></content:encoded></item>
<item><title>Foxtrot Android</title><description></description><link>https://timbroder.com/2008/11/foxtrot-android/</link><guid isPermaLink="false">https://timbroder.com/2008/11/foxtrot-android</guid><pubDate>Mon, 10 Nov 2008 14:37:00 GMT</pubDate><content:encoded><![CDATA[<p><a href="https://timbroder.com/images/remote/2008-11-10-foxtrot-android/ft081109.gif"><img src="https://timbroder.com/images/remote/2008-11-10-foxtrot-android/ft081109.gif" alt=""></a></p>
]]></content:encoded></item>
<item><title>Android Market now open. Full source released</title><description>The Android Market is now open, register to add your apps!
http://www.android.com/market/  The full source code for Android is now available:
http://source.android.com/</description><link>https://timbroder.com/2008/11/android-market-now-open-full-source/</link><guid isPermaLink="false">https://timbroder.com/2008/11/android-market-now-open-full-source</guid><pubDate>Mon, 03 Nov 2008 14:28:00 GMT</pubDate><content:encoded><![CDATA[<p>The Android Market is now open, register to add your apps!
<a href="http://www.android.com/market/">http://www.android.com/market/</a></p>
<p><a href="https://1.bp.blogspot.com/_Ng3QbVQfLZ8/SQ8LWQBaTRI/AAAAAAAATtw/vUbKNKpvwLg/s1600-h/market.JPG"><img src="https://timbroder.com/images/missing-image.svg" alt=""></a></p>
<p>The full source code for Android is now available:
<a href="http://source.android.com/">http://source.android.com/</a></p>
]]></content:encoded></item>
<item><title>GWTPHP = Google Web Toolkit + PHP 5</title><description>I know there is a pretty high number of programmers who haven't tried to dable
GWT yet because out of the box, the back end is java only.  PHP developers
rejoice! _Unlike most of the other frameworks, GwtPHP is a
framework for both client and server part. In GwtPHP you don’t need to hack
JavaScript, you work with modern, object oriented languages. User interface
(client) is programmed in Java, then compiled by Google Web Toolkit (GWT) to
browser-dependent JavaScript. Server part uses PHP 5. _ Not yet…</description><link>https://timbroder.com/2008/10/gwtphp-google-web-toolkit-php-5/</link><guid isPermaLink="false">https://timbroder.com/2008/10/gwtphp-google-web-toolkit-php-5</guid><pubDate>Thu, 09 Oct 2008 20:28:00 GMT</pubDate><content:encoded><![CDATA[<p>I know there is a pretty high number of programmers who haven't tried to dable
GWT yet because out of the box, the back end is java only.  PHP developers
rejoice!</p>
<p>_Unlike most of the other frameworks, <a href="http://www.gwtphp.com/">GwtPHP </a>is a
framework for both client and server part. In GwtPHP you don’t need to hack
JavaScript, you work with modern, object oriented languages. User interface
(client) is programmed in Java, then compiled by Google Web Toolkit (GWT) to
browser-dependent JavaScript. Server part uses PHP 5. _</p>
<p>Not yet available to the public, but you can sign up to be <a href="http://www.gwtphp.com/download/">notified
</a>when it is</p>
]]></content:encoded></item>
<item><title>How to turn any webpage into an RSS feed</title><description>Using a tool called Dapper and Yahoo
Pipes, its fairly easy to turn any webpage
into an RSS feed. Dapper is a powerful HTML scrapping system and Pipes is a
handy data remixing tool.  Head on over to dapper.net and check to make sure
someone hasn't already done what you are planning on doing (Do this by using
dapper's search function.)  If you can't find any, you are ready to go. For this example, I'm going to scrape
http://ifanboy.com/users/broderboy/comics which shows the comic books I'm
interested in this…</description><link>https://timbroder.com/2008/10/how-to-turn-any-webpage-into-rss-feed/</link><guid isPermaLink="false">https://timbroder.com/2008/10/how-to-turn-any-webpage-into-rss-feed</guid><pubDate>Mon, 06 Oct 2008 12:55:00 GMT</pubDate><content:encoded><![CDATA[<p>Using a tool called <a href="http://www.dapper.net/">Dapper</a> and <a href="http://pipes.yahoo.com/pipes/">Yahoo
Pipes</a>, its fairly easy to turn any webpage
into an RSS feed. Dapper is a powerful HTML scrapping system and Pipes is a
handy data remixing tool.  Head on over to dapper.net and check to make sure
someone hasn't already done what you are planning on doing (Do this by using
dapper's search function.)  If you can't find any, you are ready to go.</p>
<p>For this example, I'm going to scrape
<a href="http://ifanboy.com/users/broderboy/comics">http://ifanboy.com/users/broderboy/comics</a> which shows the comic books I'm
interested in this week.  Click "create new dapp" (located under the search
bar). Once inside the Dapp Factory, input the url of the page you want to
scrape.  Then, change the format to RSS Feed.  You can leave the format is
Dapp XML if you want much more control over the data, as well as more options
for output, but its harder to turn this into an RSS feed.  I'll cover how to
do this in a later article.</p>
<p><img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
<p>At this point I would recommend watching the Demo that will pop up.  After the
demo you should see a rendering of the page you were looking at.  Click add to
basket.  Then, try to add more pages that are similar, but might have
different data.  For my example this would be other people's comics.  Add
these to the basket as well (you should try to have at least 4)</p>
<p><a href="https://1.bp.blogspot.com/_Ng3QbVQfLZ8/SOoOoUkvuhI/AAAAAAAATJ8/ktxQucSBFxY/s1600-h/2.jpg"><img src="https://timbroder.com/images/missing-image.svg" alt=""></a></p>
<p>Click next step, and the system will analyze your pages.  You can watch
another demo at this point.  Now you can start selecting page elements.  The
more example pages you gave dapper, the smarter the element selecting will be.
All I'm interested in is the title of the comic, which I'm going to use for
the title of the RSS article, and the number of pulls it had, which I will use
for the body of the article.</p>
<p><a href="https://3.bp.blogspot.com/_Ng3QbVQfLZ8/SOoP7VrxYiI/AAAAAAAATKE/cZegoqyOGRg/s1600-h/3.jpg"><img src="https://timbroder.com/images/missing-image.svg" alt=""></a></p>
<p>After I have these selected, I move on to the next step. Here you can preview
or save you dapp.  It should have already grouped your 2 items into an RSS
group for you.  Exit the wizard to get the RSS feed and options.</p>
<p><a href="http://2.bp.blogspot.com/_Ng3QbVQfLZ8/SOoRHt1LJRI/AAAAAAAATKM/byTDlv2rlaA/s1600-h/4.jpg"><img src="https://timbroder.com/images/missing-image.svg" alt=""></a></p>
<p>At this point, you have the RSS feed and are done with that portion.  If you
only need the address of the feed for yourself, there is no need to go any
furthur.  I wanted to make the input very easy for anyone to use the feed for
any user on iFanboy.  Enter Yahoo Pipes.  I used a text input, string builder,
and URL builder to create the URL I would need.  Then sent this url into the
dapp, and pulled back the RSS.  The orriginal URL for the dapp was <a href="http://www.dapper.net/transform.php?dappName=iFanboyComicsfortheWeekRSS&amp;transformer=RSS&amp;extraArg_title=comic_title&amp;extraArg_description%5B%5D=pulls&amp;applyToUrl=http%3A%2F%2Fwww.ifanboy.com%2Fusers%2Fbroderboy%2Fcomics">http://www.dapper.net/transform.php?dappName=iFanboyComicsfortheWeekRSS&amp;transformer=RSS&amp;extraArg_title=comic_title&amp;extraArg_description[]=pulls&amp;applyToUrl=http%3A%2F%2Fwww.ifanboy.com%2Fusers%2Fbroderboy%2Fcomics</a>.  While the 'broderboy' could
have been replaced directly in this url, it might not have been clear.  The
new Pipes URL makes it a little easier to see <a href="http://pipes.yahoo.com/pipes/pipe.run?_id=GjdOGm9_3RGeKVooPxJ3AQ&amp;_render=rss&amp;username=broderboy">http://pipes.yahoo.com/pipes/pipe.run?_id=GjdOGm9_3RGeKVooPxJ3AQ&amp;_render=rss&amp;username=broderboy</a>.</p>
<p><a href="https://1.bp.blogspot.com/_Ng3QbVQfLZ8/SOoTMSgH6JI/AAAAAAAATKU/fxS2mt00hNc/s1600-h/5.jpg"><img src="https://timbroder.com/images/missing-image.svg" alt=""></a></p>
<p>You can also merge multiple RSS feeds in the pipe using the Union node.</p>
<p>Enjoy!</p>
]]></content:encoded></item>
<item><title>Debate 2.0</title><description>Last week during the presidential debate, the country was a-twitter.  There
were a bunch of sites doing some sort of realtime web 2.0 shows of the debate,
with a lot of these using twitter and hashtags.  If anyone knows of any sites
that I haven't listed below, please let me know We had the TV, a couple of laptops, and a few bottles of wine going and it
turned out to be great fun. My favorite site was definitely Current's Hack the
Debate  It displays the
video/audio of the debate, as well as real time…</description><link>https://timbroder.com/2008/10/debate-20/</link><guid isPermaLink="false">https://timbroder.com/2008/10/debate-20</guid><pubDate>Thu, 02 Oct 2008 21:00:00 GMT</pubDate><content:encoded><![CDATA[<p>Last week during the presidential debate, the country was a-twitter.  There
were a bunch of sites doing some sort of realtime web 2.0 shows of the debate,
with a lot of these using twitter and hashtags.  If anyone knows of any sites
that I haven't listed below, please let me know</p>
<p>We had the TV, a couple of laptops, and a few bottles of wine going and it
turned out to be great fun.</p>
<p>My favorite site was definitely Current's <a href="http://current.com/topics/88834922_hack_the_debate">Hack the
Debate</a>  It displays the
video/audio of the debate, as well as real time tweets that are tagged with #current.  This is where I'll be spending most of my time.</p>
<p>Twitter weighs in with <a href="http://election.twitter.com/">http://election.twitter.com/
</a></p>
<p><a href="http://www.web-strategist.com/blog/2008/09/21/twitter-presidential-debates-sept-26/">#tweetdebate</a> was an experiment to use twitter to track in
real time who is winning, this is tracked using search.twitter.com.  See the
<a href="http://www.web-strategist.com/blog/2008/09/21/twitter-presidential-debates-sept-26/">site</a> for rules.</p>
<p>Other websites with twitter mashups for the debate<br>
<a href="http://friendfeed.com/search?q=obama+OR+mccain&amp;who=everyone">FriendFeed</a><br>
<a href="http://dnc08.c-span.org/?page_id=1579">C-SPAN</a> (democrats)<br>
<a href="http://rnc08.c-span.org/?page_id=338">C-SPAN</a> (republicans)<br>
<a href="http://www.perspctv.com/">http://www.perspctv.com/</a><br>
<a href="http://www.npr.org/blogs/politics/2008/10/help_us_factcheck_tonights_deb.html">NPR</a> (#factcheck)</p>
<p>I'm cooking dinner / having wine for the VP debate tonight with some friends.
Follow us up on twitter if you want to join in on the fun.</p>
<p><a href="http://twitter.com/broderboy">http://twitter.com/broderboy</a><br>
<a href="http://twitter.com/bingopajamas">http://twitter.com/bingopajamas</a><br>
<a href="http://twitter.com/franksstella">http://twitter.com/franksstella</a><br>
<a href="http://twitter.com/mrblondeau">http://twitter.com/mrblondeau</a><br>
<a href="http://twitter.com/delapaz">http://twitter.com/delapaz</a><a href="https://altezza.travel/articles/Safari_in_Tanzania">поездка в
танзанию</a></p>
]]></content:encoded></item>
<item><title>September Madness</title><description>A little off the beaten path from what I usually post, but have at, we're
taking bets here at work, winner gets to claim Alaska as their sovereign
kingdom of awesomeness</description><link>https://timbroder.com/2008/09/september-madness/</link><guid isPermaLink="false">https://timbroder.com/2008/09/september-madness</guid><pubDate>Tue, 30 Sep 2008 18:54:00 GMT</pubDate><content:encoded><![CDATA[<p>A little off the beaten path from what I usually post, but have at, we're
taking bets here at work, winner gets to claim Alaska as their sovereign
kingdom of awesomeness</p>
<p><img src="https://timbroder.com/images/remote/2008-09-30-september-madness/septembermadnessb.jpg" alt=""></p>
]]></content:encoded></item>
<item><title>Digg and Facebook Heading to the Future of Web Apps expo</title><description>This sounds like a
lot of fun, some good presentations (interesting topics and good presenters),
a live Diggnation, and I LOVE London.
Wish I could go Here's the lineup: Mark Zuckerberg - Fireside Chat Kevin Rose - The future of social news Dave Morin - A more social Web with Facebook
Connect Joe Stump - Languages don't scale To wrap up the conference there will be a live Diggnation on the main stage
(Oct 10). Directly after that will be the wrap up party which is rumored to
have an open bar, but you didn't…</description><link>https://timbroder.com/2008/09/digg-and-facebook-heading-to-future-of/</link><guid isPermaLink="false">https://timbroder.com/2008/09/digg-and-facebook-heading-to-future-of</guid><pubDate>Tue, 30 Sep 2008 14:17:00 GMT</pubDate><content:encoded><![CDATA[<p><a href="http://developers.facebook.com/news.php?blog=1&amp;story=157">This </a>sounds like a
lot of fun, some good presentations (interesting topics and good presenters),
a live <a href="http://revision3.com/diggnation/">Diggnation</a>, and I LOVE London.
Wish I could go</p>
<p>Here's the lineup:</p>
<ul>
<li>Mark Zuckerberg - Fireside Chat</li>
<li>Kevin Rose - The future of social news</li>
<li>Dave Morin - A more social Web with <a href="http://developers.facebook.com/connect.php">Facebook
Connect</a></li>
<li>Joe Stump - Languages don't scale</li>
</ul>
<p>To wrap up the conference there will be a live Diggnation on the main stage
(Oct 10). Directly after that will be the wrap up party which is rumored to
have an open bar, but you didn't hear that from me</p>
]]></content:encoded></item>
<item><title>What happens if you break the NDA with Apple's App Store</title><description></description><link>https://timbroder.com/2008/09/what-happens-if-you-break-nda-with/</link><guid isPermaLink="false">https://timbroder.com/2008/09/what-happens-if-you-break-nda-with</guid><pubDate>Tue, 30 Sep 2008 14:08:00 GMT</pubDate><content:encoded><![CDATA[<p><a href="https://timbroder.com/images/remote/2008-09-30-what-happens-if-you-break-nda-with/1156.jpg"><img src="https://timbroder.com/images/remote/2008-09-30-what-happens-if-you-break-nda-with/1156.jpg" alt=""></a></p>
]]></content:encoded></item>
<item><title>I JUST WON £500,000.00 GBP FROM GOOGLE UK!!!</title><description>Now, normally gmail's spam system picks up on these.  I apparently was entered
by using the "Googler" Search Engine.  Oh well, next time it will know, and
knowing is half the battle! ::hits spam button:: _This E-mail is to inform you that your e-email have emerged you a winner of
£500,000.00 GBP (Five Hundred Thousand British 
Pounds) in our online Give-away 1Oth year Anniversary draws. 
GoogleUK has successfully organized for the second time a Cash Give-Away
marking 2008 10th Anniversary in the UK. Over…</description><link>https://timbroder.com/2008/09/i-just-won-50000000-gbp-from-google-uk/</link><guid isPermaLink="false">https://timbroder.com/2008/09/i-just-won-50000000-gbp-from-google-uk</guid><pubDate>Thu, 25 Sep 2008 15:27:00 GMT</pubDate><content:encoded><![CDATA[<p>Now, normally gmail's spam system picks up on these.  I apparently was entered
by using the "Googler" Search Engine.  Oh well, next time it will know, and
knowing is half the battle! ::hits spam button::</p>
<p>_This E-mail is to inform you that your e-email have emerged you a winner of
£500,000.00 GBP (Five Hundred Thousand British<br>
Pounds) in our online Give-away 1Oth year Anniversary draws.<br>
GoogleUK has successfully organized for the second time a Cash Give-Away
marking 2008 10th Anniversary in the UK. Over £20,000,000.00 (Twenty Million
British pounds) is to be given out for this Anniversary Draws.<br>
No purchases of tickets were required. Participants for the draws were
randomly selected from a world wide range of web searchers who use the Google
search engine (Googler) and other Google ancillary services. Google is now the
biggest search engine worldwide and in an effort to make sure that it remains
the most widely used search engine, Google is running an e-mail beta test.
Winners were selected randomly through a computer ballot system from worldwide
users of the Google search engine.</p>
<p>YOUR WINNING DETAILS ARE AS FOLLOW:<br>
Computer Generated Profile Numbers (CGPN):7-22-71-00-66-12 Ticket number:
00869575733664 Serial numbers: / BTD/8070447706/06 Lucky numbers:
12-12-23-35-40-41(12)</p>
<p>To claim your give-away prize, send the following Your full
names.................<br>
,sex...............................,<br>
Location............................,<br>
Alternate e-mail address..................<br>
Your winning details.................<br>
To your processing agent (Mr. Francis Henson) who have been assigned to handle
your winning file and payment processing.</p>
<p>Your Processing Agent contact:<br>
Mr. Francis Henson,<br>
Email: <a href="mailto:f.henson002@gmail.com">f.henson002@gmail.com</a><br>
We wish you the best of luck as you spend your good fortune.<br>
Thank you for using Google!<br>
Sincerely,<br>
Mrs Anita Simon</p>
]]></content:encoded></item>
<item><title>Woohoo! Google Maps adds NYC transit directions</title><description>Finally! Took em long enough. It even has the New Jersey Path. I've been using GypsyMaps up until now if I
needed directions, we'll see how they stack up against each other http://maps.google.com/nyc</description><link>https://timbroder.com/2008/09/wooho-google-maps-adds-nyc-transit/</link><guid isPermaLink="false">https://timbroder.com/2008/09/wooho-google-maps-adds-nyc-transit</guid><pubDate>Wed, 24 Sep 2008 17:55:00 GMT</pubDate><content:encoded><![CDATA[<p>Finally! Took em long enough. It even has the New Jersey Path.</p>
<p>I've been using <a href="http://www.gypsymaps.com/">GypsyMaps</a> up until now if I
needed directions, we'll see how they stack up against each other</p>
<p><a href="http://maps.google.com/nyc">http://maps.google.com/nyc</a></p>
]]></content:encoded></item>
<item><title>Google Android G1 T-Mobile announcement is streaming live</title><description>Watch it here</description><link>https://timbroder.com/2008/09/google-android-g1-t-mobile-announcement/</link><guid isPermaLink="false">https://timbroder.com/2008/09/google-android-g1-t-mobile-announcement</guid><pubDate>Tue, 23 Sep 2008 14:36:00 GMT</pubDate><content:encoded><![CDATA[<p>Watch it <a href="http://announcement.t-mobileg1.com/">here</a></p>
]]></content:encoded></item>
<item><title>Twitter enters the Porn industry</title><description>Just got this at work, I must have missed the memo... The site you have attempted to access has been blocked 
_If you feel access to this site has a valid business justification, we
welcome you to submit a request to access the site which will be reviewed for
compliance with [my company here] Policy.  _ URL Requested: http://www.tweettrak.com/ 
URL Category:  Sex 
Date:  2008-09-23 14:20:25</description><link>https://timbroder.com/2008/09/twitter-enters-porn-industry/</link><guid isPermaLink="false">https://timbroder.com/2008/09/twitter-enters-porn-industry</guid><pubDate>Tue, 23 Sep 2008 14:23:00 GMT</pubDate><content:encoded><![CDATA[<p>Just got this at work, I must have missed the memo...</p>
<p><em>The site you have attempted to access has been blocked</em><br>
_If you feel access to this site has a valid <strong>business justification</strong>, we
welcome you to submit a request to access the site which will be reviewed for
compliance with [my company here] Policy.  _</p>
<h2 id="url-requested">URL Requested:</h2>
<p><a href="http://www.tweettrak.com/">http://www.tweettrak.com/</a><br>
URL Category:  Sex<br>
Date:  2008-09-23 14:20:25</p>
]]></content:encoded></item>
<item><title>How to stream video to an Xbox 360 from linux</title><description>There are a couple of different methods floating around to do this, but I
think this is the quickest and easiest to get set up. So far, I like this
better then FTP'ing files over to my old modded xbox. Some notes about further
investigating will be at the bottom. Note: this was tested on an Ubuntu
machine. Make sure your 360 has all the current updates Install ushare "sudo apt-get install ushare" if ushare complains about a missing libdlna dependency, get it from here: **"wget http://www.geexbox.org/debian…</description><link>https://timbroder.com/2008/09/how-to-stream-video-to-xbox-360-from/</link><guid isPermaLink="false">https://timbroder.com/2008/09/how-to-stream-video-to-xbox-360-from</guid><pubDate>Mon, 22 Sep 2008 22:05:00 GMT</pubDate><content:encoded><![CDATA[<p>There are a couple of different methods floating around to do this, but I
think this is the quickest and easiest to get set up. So far, I like this
better then FTP'ing files over to my old modded xbox. Some notes about further
investigating will be at the bottom. Note: this was tested on an Ubuntu
machine.</p>
<ul>
<li>Make sure your 360 has all the current updates</li>
<li>Install ushare <strong>"sudo apt-get install ushare"</strong></li>
<li>if ushare complains about a missing libdlna dependency, get it from here: **"wget <a href="http://www.geexbox.org/debian/pool/main/libdlna/libdlna0_0.2.3-0ubuntu1_i386.deb">http://www.geexbox.org/debian/pool/main/libdlna/libdlna0_0.2.3-0ubuntu1_i386.deb</a>" **</li>
<li>Edit the ushare configuration <strong>"sudo vim /etc/ushare.conf"</strong> update any ports or network devices you need to (I changed mine to eth1 so it would just use the wireless) as well as what folder to scan</li>
<li>There is a mime-type you need to update <strong>"sudo vim /usr/share/mime/packages/freedesktop.org.xml"</strong> change <strong>mime-type type="video/x-msvideo"</strong> to <strong>mime-type type="video/x-ms-wmv"</strong></li>
<li>restart gnome (<strong>ctrl + alt + backspace)</strong></li>
<li>start ushare with <strong>"ushare -x"</strong></li>
<li>Go to the media blade on your 360 dashboard</li>
<li>Press 'X' to change the source</li>
<li>You should see uShare (or whatever you named the share to in the configuration)</li>
<li>play videos!</li>
<li>note: **to play a .mkv file, rename it to .m4v **</li>
</ul>
<p>To Do:</p>
<ul>
<li>get uShare to automatically rescan the directory (currently if I add a video to the folder, the 360 will not see it until i restart uShare)</li>
<li>get 1080p HD content to stream. I have tried a few re-encapsulation methods so far, nothing working yet</li>
<li>this is an xbox thing, that hopefully will be fixed in the fall update, but navigating large folder trees can get annoying</li>
</ul>
]]></content:encoded></item>
<item><title>Official: T-Mobile Android Announcement September 23rd</title><description>Cool, for T-Mobile users anyway. Hopefully Verizon or
AT&amp;T; is next in line, and yes, I will leave Verizon for AT&amp;T; if they
get it first</description><link>https://timbroder.com/2008/09/official-t-mobile-android-announcement/</link><guid isPermaLink="false">https://timbroder.com/2008/09/official-t-mobile-android-announcement</guid><pubDate>Wed, 17 Sep 2008 22:31:00 GMT</pubDate><content:encoded><![CDATA[<p><a href="http://www.talkandroid.com/211-official-t-mobile-android-september/#comment-250">Cool</a>, for T-Mobile users anyway. Hopefully Verizon or
AT&amp;T; is next in line, and yes, I will leave Verizon for AT&amp;T; if they
get it first</p>
]]></content:encoded></item>
<item><title>Man I would love to do this</title><description>Official Google Blog: Running Hood to
Coast "A 197-mile Oregon race that starts at Mount Hood, travels through Portland,
and finishes on the beach in the town of Seaside. More than 1000 teams
participate in the race, with 12 runners on each team running three legs
each."</description><link>https://timbroder.com/2008/09/man-i-would-love-to-do-this/</link><guid isPermaLink="false">https://timbroder.com/2008/09/man-i-would-love-to-do-this</guid><pubDate>Wed, 17 Sep 2008 20:48:00 GMT</pubDate><content:encoded><![CDATA[<p><a href="http://googleblog.blogspot.com/2008/09/running-hood-to-coast.html">Official Google Blog: Running Hood to
Coast</a></p>
<p>"A 197-mile Oregon race that starts at Mount Hood, travels through Portland,
and finishes on the beach in the town of Seaside. More than 1000 teams
participate in the race, with 12 runners on each team running three legs
each."</p>
]]></content:encoded></item>
<item><title>T-Mobile Android handset to retail for $199</title><description>iPhone vs. Android, go!</description><link>https://timbroder.com/2008/09/t-mobile-android-handset-to-retail-for/</link><guid isPermaLink="false">https://timbroder.com/2008/09/t-mobile-android-handset-to-retail-for</guid><pubDate>Wed, 17 Sep 2008 20:30:00 GMT</pubDate><content:encoded><![CDATA[<p>iPhone vs. Android, <a href="https://androidcommunity.com/t-mobile-android-handset-to-retail-for-199-20080918/">go!</a></p>
]]></content:encoded></item>
<item><title>Offerpal Media Facebook to Publish Event Directory for Search Engines</title><description>Things have changed slightly since I last wrote about this, but for the
better. Look like Google will be able to trawl some of Facebook after
all. Searchable data will include People, Pages, Applications, Events, and
Groups.</description><link>https://timbroder.com/2008/09/offerpal-media-facebook-to-publish/</link><guid isPermaLink="false">https://timbroder.com/2008/09/offerpal-media-facebook-to-publish</guid><pubDate>Wed, 17 Sep 2008 20:04:00 GMT</pubDate><content:encoded><![CDATA[<p>Things have changed slightly since I <a href="https://timbroder.com/2008/05/why-microsoft-will-buy-facebook-and/">last</a> wrote about this, but for the
better. Look like Google will be able to trawl some of Facebook <a href="http://www.insidefacebook.com/2008/09/12/facebook-to-publish-event-directory-for-search-engines/">after
all</a>.</p>
<p>Searchable data will include People, Pages, Applications, Events, and
Groups.</p>
]]></content:encoded></item>
<item><title>Adobe AIR Beta Now Available for Linux</title><description>Adobe air is out of alpha and can be downloaded
here. Also check out Life
Hacker's top 10 apps worth installing Adobe AIR for</description><link>https://timbroder.com/2008/09/adobe-air-beta-now-available-for-linux/</link><guid isPermaLink="false">https://timbroder.com/2008/09/adobe-air-beta-now-available-for-linux</guid><pubDate>Wed, 17 Sep 2008 20:00:00 GMT</pubDate><content:encoded><![CDATA[<p>Adobe air is out of alpha and can be downloaded
<a href="http://labs.adobe.com/downloads/air_linux.html">here</a>. Also check out Life
Hacker's <a href="http://lifehacker.com/396393/top-10-apps-worth-installing-adobe-air-for">top 10</a> apps worth installing Adobe AIR for</p>
]]></content:encoded></item>
<item><title>Diggnation in your living room!</title><description>This could be a lot of fun.  If you win, Kevin, Alex, Prager, the Hippie, and
whoever else will come shoot an episode of Diggnation from your living room. I
love Diggnation, either way, it will be a great episode. "In this once in a lifetime opportunity, Kevin and Alex will travel to a
fan’s house to shoot an episode of Diggnation this fall. From now until
October 22, every time you use the code
“diggcouch” when you purchase something from Go
Daddy you are automatically entered to win. Go Daddy will choose…</description><link>https://timbroder.com/2008/09/diggnation-in-your-living-room/</link><guid isPermaLink="false">https://timbroder.com/2008/09/diggnation-in-your-living-room</guid><pubDate>Wed, 17 Sep 2008 14:23:00 GMT</pubDate><content:encoded><![CDATA[<p>This could be a lot of fun.  If you win, Kevin, Alex, Prager, the Hippie, and
whoever else will come shoot an episode of Diggnation from your living room. I
love Diggnation, either way, it will be a great episode.</p>
<p>"<em>In this once in a lifetime opportunity, Kevin and Alex will travel to a
fan’s house to shoot an episode of Diggnation this fall. From now until
October 22, every time you use the code
“<strong><a href="http://www.godaddy.com/">diggcouch</a></strong>” when you purchase something from Go
Daddy you are automatically entered to win. Go Daddy will choose one lucky
winner at random. This fall, Kevin and Alex will travel to their house to
shoot an episode of Diggnation in their living room.</em></p>
<p><em>In addition to entering the contest you also get 10% off your entire order
when you use the code “diggcouch” at check out. So make sure you get over to
<a href="http://www.godaddy.com/">GoDaddy.com</a> and make some purchases and get your
entry in today!</em>"</p>
<p><a href="http://revision3.com/blog/2008/09/15/kevin-and-alex-in-your-living-room/">Spread the word</a></p>
]]></content:encoded></item>
<item><title>Geek 1.0 vs. Geek 2.0</title><description></description><link>https://timbroder.com/2008/09/geek-10-vs-geek-20/</link><guid isPermaLink="false">https://timbroder.com/2008/09/geek-10-vs-geek-20</guid><pubDate>Fri, 12 Sep 2008 15:26:00 GMT</pubDate><content:encoded><![CDATA[<p><a href="http://spotonce.com/story.php?title=Geek_1-0_vs-_Geek_2-0__Pic"><img src="https://timbroder.com/images/remote/2008-09-12-geek-10-vs-geek-20/2780453718_16d3121d13_o.gif" alt=""></a></p>
]]></content:encoded></item>
<item><title>First Community run Android App Market goes live</title><description>Check it out</description><link>https://timbroder.com/2008/09/first-community-run-android-app-market/</link><guid isPermaLink="false">https://timbroder.com/2008/09/first-community-run-android-app-market</guid><pubDate>Tue, 09 Sep 2008 16:38:00 GMT</pubDate><content:encoded><![CDATA[<p><a href="http://www.google-phone.com/android-developer-challenge-winners-android-market-is-up-and-accessories-store-goes-live-08316.php">Check it out</a></p>
<p><a href="https://4.bp.blogspot.com/_Ng3QbVQfLZ8/SMan487MRKI/AAAAAAAATDI/V5qQCIr-QD0/s1600-h/and.JPG"><img src="https://timbroder.com/images/missing-image.svg" alt=""></a></p>
]]></content:encoded></item>
<item><title>Chrome: Don't Clog the Tubes!</title><description>A buddy at work mentioned this. There are also a lot more listed over at
lifehacker</description><link>https://timbroder.com/2008/09/chrome-dont-clog-tubes/</link><guid isPermaLink="false">https://timbroder.com/2008/09/chrome-dont-clog-tubes</guid><pubDate>Mon, 08 Sep 2008 19:06:00 GMT</pubDate><content:encoded><![CDATA[<p>A buddy at work mentioned this. There are also a lot more listed over at
<a href="http://lifehacker.com/5045164/google-chromes-full-list-of-special-about-pages">lifehacker</a></p>
<p><a href="https://3.bp.blogspot.com/_Ng3QbVQfLZ8/SMV4afne6pI/AAAAAAAATC8/PbOxUVJEpkI/s1600-h/clog.JPG"><img src="https://timbroder.com/images/missing-image.svg" alt=""></a></p>
]]></content:encoded></item>
<item><title>WINE Updates with Better Chrome Support</title><description>via lifehacker: I'll be trying this when I get home.</description><link>https://timbroder.com/2008/09/wine-updates-with-better-chrome-support/</link><guid isPermaLink="false">https://timbroder.com/2008/09/wine-updates-with-better-chrome-support</guid><pubDate>Mon, 08 Sep 2008 14:41:00 GMT</pubDate><content:encoded><![CDATA[<p>via <a href="http://lifehacker.com/5046581/wine-updates-with-better-chrome-support">lifehacker</a>: I'll be trying this when I get home.</p>
]]></content:encoded></item>
<item><title>Django 1.0 released!</title><description>No, you’re not hallucinating, it’s really here. NOW GO GET IT</description><link>https://timbroder.com/2008/09/django-10-released/</link><guid isPermaLink="false">https://timbroder.com/2008/09/django-10-released</guid><pubDate>Fri, 05 Sep 2008 01:00:00 GMT</pubDate><content:encoded><![CDATA[<p>No, you’re not hallucinating, it’s really here.</p>
<p>NOW GO <a href="http://www.djangoproject.com/download/">GET IT</a></p>
]]></content:encoded></item>
<item><title>Chrome coming to Android?</title><description>Android Community and a few other blogs have stated that Chrome will be
making its way to android, but aside from the processing stack and improved
javascriptability (yes I just made up a word), is it really going to be the
full chrome app everyone is playing with or just a tweaked out webkit (which
we already knew was going to be the native Android browser)</description><link>https://timbroder.com/2008/09/chrome-coming-to-android/</link><guid isPermaLink="false">https://timbroder.com/2008/09/chrome-coming-to-android</guid><pubDate>Thu, 04 Sep 2008 13:24:00 GMT</pubDate><content:encoded><![CDATA[<p><a href="https://androidcommunity.com/google-chrome-coming-to-android-20080903/">Android Community</a> and a few other blogs have stated that Chrome will be
making its way to android, but aside from the processing stack and improved
javascriptability (yes I just made up a word), is it really going to be the
full chrome app everyone is playing with or just a tweaked out webkit (which
we already knew was going to be the native Android browser)</p>
]]></content:encoded></item>
<item><title>Android Market: a user-driven content distribution system</title><description>Android Developers Blog: Android Market: a user-driven content distribution
system Eat it Apple 
The beta version of the market will be available at launch  |
 
 |</description><link>https://timbroder.com/2008/09/android-market-user-driven-content/</link><guid isPermaLink="false">https://timbroder.com/2008/09/android-market-user-driven-content</guid><pubDate>Wed, 03 Sep 2008 14:31:00 GMT</pubDate><content:encoded><![CDATA[<p><a href="http://android-developers.blogspot.com/2008/08/android-market-user-driven-content.html">Android Developers Blog: Android Market: a user-driven content distribution
system</a></p>
<p>Eat it Apple<br>
The beta version of the market will be available at launch</p>
<p><img src="https://timbroder.com/images/remote/2008-09-03-android-market-user-driven-content/1.png" alt=""> |
<img src="https://timbroder.com/images/remote/2008-09-03-android-market-user-driven-content/2.png" alt=""><br>
<img src="https://timbroder.com/images/remote/2008-09-03-android-market-user-driven-content/3.png" alt=""> |
<img src="https://timbroder.com/images/remote/2008-09-03-android-market-user-driven-content/4.png" alt=""></p>
]]></content:encoded></item>
<item><title>Share your code at ‘Google App Engine Cookbook’</title><description>Google App Engine Blog: Our favorite recipes for App Engine, all in one
place I'll be submitting some snippets in the near future. Said code will also be
posted on here ;)</description><link>https://timbroder.com/2008/09/share-your-code-at-google-app-engine/</link><guid isPermaLink="false">https://timbroder.com/2008/09/share-your-code-at-google-app-engine</guid><pubDate>Tue, 02 Sep 2008 15:56:00 GMT</pubDate><content:encoded><![CDATA[<p><a href="http://googleappengine.blogspot.com/2008/08/our-favorite-recipes-for-app-engine-all.html">Google App Engine Blog: Our favorite recipes for App Engine, all in one
place</a></p>
<p>I'll be submitting some snippets in the near future. Said code will also be
posted on here ;)</p>
]]></content:encoded></item>
<item><title>New Android news</title><description>T-Mobile G1 phone images leaked!  Android Developer Challenge Winners Announced Android App Market Confirmed. EAT IT IPHONE</description><link>https://timbroder.com/2008/09/new-android-news/</link><guid isPermaLink="false">https://timbroder.com/2008/09/new-android-news</guid><pubDate>Tue, 02 Sep 2008 15:47:00 GMT</pubDate><content:encoded><![CDATA[<ul>
<li><a href="https://androidcommunity.com/t-mobile-g1-phone-images-leaked-20080830/">T-Mobile G1 phone images leaked!</a></li>
</ul>
<p><img src="https://timbroder.com/images/remote/2008-09-02-new-android-news/t-mobile-g1-htc-android-dream_s.jpg" alt=""></p>
<ul>
<li>
<p><a href="https://androidcommunity.com/congrats-to-winners-of-the-android-developer-challenge-i-20080829/">Android Developer Challenge Winners Announced</a></p>
</li>
<li>
<p><a href="https://androidcommunity.com/android-market-confirmed-no-app-checking-by-google-20080828/">Android App Market Confirmed</a>. EAT IT IPHONE</p>
</li>
</ul>
]]></content:encoded></item>
<item><title>Javascript pacman clone</title><description>A great example of
javascript to create a pacman clone. (Uses
YUI)</description><link>https://timbroder.com/2008/09/javascript-pacman-clone/</link><guid isPermaLink="false">https://timbroder.com/2008/09/javascript-pacman-clone</guid><pubDate>Tue, 02 Sep 2008 15:40:00 GMT</pubDate><content:encoded><![CDATA[<p>A <a href="http://www.digitalinsane.com/archives/2008/08/30/pacman/">great</a> example of
javascript to create a pacman clone. (Uses
<a href="http://developer.yahoo.com/yui/">YUI</a>)</p>
]]></content:encoded></item>
<item><title>Official Google Blog: A fresh take on the browser</title><description>Official Google Blog: A fresh take on the
browser Not too sure how I feel about this. We'll see what it ends up being More info:
comic</description><link>https://timbroder.com/2008/09/official-google-blog-fresh-take-on/</link><guid isPermaLink="false">https://timbroder.com/2008/09/official-google-blog-fresh-take-on</guid><pubDate>Tue, 02 Sep 2008 13:54:00 GMT</pubDate><content:encoded><![CDATA[<p><a href="http://googleblog.blogspot.com/2008/09/fresh-take-on-browser.html">Official Google Blog: A fresh take on the
browser</a></p>
<p>Not too sure how I feel about this. We'll see what it ends up being</p>
<p>More info:
<a href="http://www.google.com/googlebooks/chrome/index.html">comic</a></p>
]]></content:encoded></item>
<item><title>Resistance is Futile: Microsoft Paperclip comes to Unix</title><description>туры в танзанию килиманджаро</description><link>https://timbroder.com/2008/08/resistance-is-futile-microsoft/</link><guid isPermaLink="false">https://timbroder.com/2008/08/resistance-is-futile-microsoft</guid><pubDate>Thu, 28 Aug 2008 20:40:00 GMT</pubDate><content:encoded><![CDATA[<p><a href="https://timbroder.com/images/remote/2008-08-28-resistance-is-futile-microsoft/vim001.gif"><img src="https://timbroder.com/images/remote/2008-08-28-resistance-is-futile-microsoft/vim001.gif" alt=""></a><a href="https://altezza.travel/">
туры в танзанию килиманджаро</a></p>
]]></content:encoded></item>
<item><title>New third-party party tool for monitoring App Engine cluster status</title><description>Cloud Status has some pretty cool
real-time appengine cloud stats. Check it out</description><link>https://timbroder.com/2008/08/new-third-party-party-tool-for/</link><guid isPermaLink="false">https://timbroder.com/2008/08/new-third-party-party-tool-for</guid><pubDate>Sat, 23 Aug 2008 01:34:00 GMT</pubDate><content:encoded><![CDATA[<p><a href="http://www.cloudstatus.com/appengine">Cloud Status</a> has some pretty cool
real-time appengine cloud stats. Check it out</p>
]]></content:encoded></item>
<item><title>T-Mobile Android slated for Oct 13th</title><description>Highlights pre-order will go until Oct. 3 at 5pm Phones will be received on Oct 13th Price: $199 $18 "upgrade" fee 2 year contract required $35 unlimited data &amp; messaging plan $25 plan including 400 messages Phone Features Touch Screen Full Qwerty keyboard 3G/ WiFi Full HTML internet capabilities Easy access to all Google applications (Gmail, Gtalk, search) Maps Street view You Tube Phone IM/Text Email Camera 3.0mp Video (playback only, no recording) Music player &amp; 1GB memory card pre-loaded Applications…</description><link>https://timbroder.com/2008/08/t-mobile-android-slated-for-oct-13th/</link><guid isPermaLink="false">https://timbroder.com/2008/08/t-mobile-android-slated-for-oct-13th</guid><pubDate>Fri, 22 Aug 2008 13:19:00 GMT</pubDate><content:encoded><![CDATA[<p>Highlights</p>
<ul>
<li>pre-order will go until Oct. 3 at 5pm</li>
<li>Phones will be received on Oct 13th</li>
<li>Price: $199</li>
<li>$18 "upgrade" fee</li>
<li>2 year contract required</li>
<li>$35 unlimited data &amp; messaging plan</li>
<li>$25 plan including 400 messages</li>
</ul>
<p>Phone Features</p>
<ul>
<li>Touch Screen</li>
<li>Full Qwerty keyboard</li>
<li>3G/ WiFi</li>
<li>Full HTML internet capabilities</li>
<li>Easy access to all Google applications (Gmail, Gtalk, search)</li>
<li>Maps</li>
<li>Street view</li>
<li>You Tube</li>
<li>Phone</li>
<li>IM/Text</li>
<li>Email</li>
<li>Camera 3.0mp</li>
<li>Video (playback only, no recording)</li>
<li>Music player &amp; 1GB memory card pre-loaded</li>
<li>Applications, all available in Google marketplace (icon on the homescreen)</li>
</ul>
]]></content:encoded></item>
<item><title>Back from Vacation</title><description>I did as much relaxing as I could on Vacation down at the Jersey Shore. No
computers at all. Just me, the beach and a bunch of books. Went on the Human
Sling shot (spring shot?) which was a lot of fun, see the video and pictures
below. Also, Check out goodreads.com. Its a lot better then any of the other
bookshelving services I've reviewed in the
past. The reasons why will be in a future post in the not so
distant future. Widget_logo  Vacation in
WIldwood</description><link>https://timbroder.com/2008/08/back-from-vacation/</link><guid isPermaLink="false">https://timbroder.com/2008/08/back-from-vacation</guid><pubDate>Tue, 12 Aug 2008 23:22:00 GMT</pubDate><content:encoded><![CDATA[<p>I did as much relaxing as I could on Vacation down at the Jersey Shore. No
computers at all. Just me, the beach and a bunch of books. Went on the Human
Sling shot (spring shot?) which was a lot of fun, see the video and pictures
below.</p>
<p>Also, Check out goodreads.com. Its a lot better then any of the other
bookshelving services I've reviewed <a href="https://timbroder.com/2007/09/google-books-my-library-vs-librarything/">in the
past</a>. The reasons why will be in a future post in the not so
distant future.</p>
<p><a href="http://www.goodreads.com/user/show/1253891"><img src="https://timbroder.com/images/remote/2008-08-12-back-from-vacation/widget_logo.gif" alt="Widget_logo"></a></p>
<h2 id=""><a href="http://picasaweb.google.com/timothy.broder/VacationInWIldwood"><img src="https://timbroder.com/images/missing-image.svg" alt=""></a></h2>
<p><a href="http://picasaweb.google.com/timothy.broder/VacationInWIldwood">Vacation in
WIldwood</a></p>
]]></content:encoded></item>
<item><title>Android: Analyst HTC delay rumors debunked - Q4 launch still on track</title><description>Well thats good. Fingers crossed for Verizon release. Sorry for the lack of posts. 3 month project going live this weekend. Will
hopefully have some free time after that. Via Android Community</description><link>https://timbroder.com/2008/08/analyst-htc-delay-rumors-debunked-q4/</link><guid isPermaLink="false">https://timbroder.com/2008/08/analyst-htc-delay-rumors-debunked-q4</guid><pubDate>Mon, 11 Aug 2008 14:41:00 GMT</pubDate><content:encoded><![CDATA[<p>Well thats good. Fingers crossed for Verizon release.</p>
<p>Sorry for the lack of posts. 3 month project going live this weekend. Will
hopefully have some free time after that.</p>
<p>Via <a href="https://androidcommunity.com/analyst-htc-delay-rumors-debunked-q4-launch-still-on-track-20080808/">Android Community</a></p>
]]></content:encoded></item>
<item><title>Heading on Vacation</title><description>Finally getting a vacation in, going down to the Jersey shore.  Got a nice
stack of books and comics. Can't wait to relax.  My next project will be
released a few days after I get back. It's almost done =) Got my stack of books for vacation at the shore. Bye world se... on
TwitPic</description><link>https://timbroder.com/2008/07/heading-on-vacation/</link><guid isPermaLink="false">https://timbroder.com/2008/07/heading-on-vacation</guid><pubDate>Sat, 26 Jul 2008 13:45:00 GMT</pubDate><content:encoded><![CDATA[<p>Finally getting a vacation in, going down to the Jersey shore.  Got a nice
stack of books and comics. Can't wait to relax.  My next project will be
released a few days after I get back. It's almost done =)</p>
<p><a href="http://twitpic.com/5gbx" title="Got
my stack of books for vacation at the shore. Bye world se... on TwitPic"><img src="https://timbroder.com/images/missing-image.svg" alt="Got my stack of books for vacation at the shore. Bye world se... on
TwitPic"></a></p>
]]></content:encoded></item>
<item><title>I'm not sure I like the new Facebook Design</title><description>Originally I had friendfeed taking care of all my Facebook status updates. I
wasn't sure I liked this on the old profile and was experimenting. Now I
definitely want it to go. But even working with other apps and feeds, I'm not
sure the new profile can display what the old one could. These pics are from
the new one. Some valuable information is missing from the posts, diggs,
twitter isn't even showing up... I'll have to play some more. What do people
think?</description><link>https://timbroder.com/2008/07/im-not-sure-i-like-new-facebook-design/</link><guid isPermaLink="false">https://timbroder.com/2008/07/im-not-sure-i-like-new-facebook-design</guid><pubDate>Wed, 23 Jul 2008 02:19:00 GMT</pubDate><content:encoded><![CDATA[<p>Originally I had friendfeed taking care of all my Facebook status updates. I
wasn't sure I liked this on the old profile and was experimenting. Now I
definitely want it to go. But even working with other apps and feeds, I'm not
sure the new profile can display what the old one could. These pics are from
the new one. Some valuable information is missing from the posts, diggs,
twitter isn't even showing up... I'll have to play some more. What do people
think?</p>
<p><a href="https://4.bp.blogspot.com/_Ng3QbVQfLZ8/SIaW5MGLaHI/AAAAAAAASOU/FrPl0GKnWr0/s1600-h/newfb2.jpg"><img src="https://timbroder.com/images/missing-image.svg" alt=""></a></p>
<hr>
<p><a href="https://3.bp.blogspot.com/_Ng3QbVQfLZ8/SIaW8qi4MXI/AAAAAAAASOc/pVuueWByKZI/s1600-h/newfb1.jpg"><img src="https://timbroder.com/images/missing-image.svg" alt=""></a></p>
]]></content:encoded></item>
<item><title>New and Improved Google Personal Homepage (ig)</title><description>I unfortunately haven't had time to touch Google reader in almost 2 weeks now,
but just caught on lifehacker that Google is rolling out a new personal homepage.
Some of you may have it enabled by default. If not, head over to
www.google.com/ig/sandbox and sign up to
get into the developer sandbox. If you aren't a developer, fake it. My
favorite addition is definitely full screen Gmail preview, which I can't get
to at work. I wonder how long until they block it....</description><link>https://timbroder.com/2008/07/new-and-improved-google-personal/</link><guid isPermaLink="false">https://timbroder.com/2008/07/new-and-improved-google-personal</guid><pubDate>Fri, 18 Jul 2008 19:56:00 GMT</pubDate><content:encoded><![CDATA[<p>I unfortunately haven't had time to touch Google reader in almost 2 weeks now,
but just caught on <a href="http://lifehacker.com/398759/the-new-igoogle-gets-full+screen-gmail">lifehacker</a> that Google is rolling out a new personal homepage.
Some of you may have it enabled by default. If not, head over to
<a href="http://www.google.com/ig/sandbox">www.google.com/ig/sandbox</a> and sign up to
get into the developer sandbox. If you aren't a developer, fake it. My
favorite addition is definitely full screen Gmail preview, which I can't get
to at work. I wonder how long until they block it....</p>
<p><a href="https://3.bp.blogspot.com/_Ng3QbVQfLZ8/SID2FFUAMUI/AAAAAAAASN8/Wr2BUjBqMs8/s1600-h/ig.JPG"><img src="https://timbroder.com/images/missing-image.svg" alt=""></a></p>
]]></content:encoded></item>
<item><title>gPowered Rated 8.2 on Blogged.com!</title><description>I recently received an email about someone submitting gPowered to
blogged.com. To whoever submitted it, thank you so much!! _ Dear Timothy Broder, Our editors recently reviewed your blog and have given it an 8.2 score out of
(10) in the Technology category of Blogged.com. This is quite an achievement! [ http://www.blogged.com/directory/technology]( http://www.blogged.com/directory/technology) We evaluated your blog based on the following criteria: Frequency of Updates,
Relevance of Content, Site Design, and…</description><link>https://timbroder.com/2008/07/gpowered-rated-82-on-bloggedcom/</link><guid isPermaLink="false">https://timbroder.com/2008/07/gpowered-rated-82-on-bloggedcom</guid><pubDate>Wed, 02 Jul 2008 01:19:00 GMT</pubDate><content:encoded><![CDATA[<p>I recently received an email about someone submitting gPowered to
<a href="http://www.blogged.com/blogs/gpowered-by-the-power-of-google.html">blogged.com</a>. To whoever submitted it, thank you so much!!</p>
<p>_ Dear Timothy Broder,</p>
<p>Our editors recently reviewed your blog and have given it an 8.2 score out of
(10) in the Technology category of Blogged.com.</p>
<p>This is quite an achievement!</p>
<p>[ <a href="http://www.blogged.com/directory/technology%5D(">http://www.blogged.com/directory/technology](</a></p>
<p><a href="http://www.blogged.com/directory/technology">http://www.blogged.com/directory/technology</a>)</p>
<p>We evaluated your blog based on the following criteria: Frequency of Updates,
Relevance of Content, Site Design, and Writing Style.</p>
<p>After carefully reviewing each of these criteria, your site was given its 8.2
score.</p>
<p>We’ve also created Blogged.com score badges with your score prominently
displayed. Simply visit your website’s summary page on Blogged.com:</p>
<p>Click on the "Show this rating on your blog!" link underneath the score and
follow the instructions provided.</p>
<p>Please accept my congratulations on a blog well-done!!</p>
<p>Sincerely,</p>
<p>Amy Liu<br>
Marketing Department<br>
<a href="mailto:amy@blogged.com">amy@blogged.com</a><br>
<a href="http://www.blogged.com">www.blogged.com</a></p>
]]></content:encoded></item>
<item><title>Mars Robot twittered from Space</title><description>The Mars Phoenix robot found water on mars and what does it do? Sends a
tweet "Are you ready to celebrate? Well, get ready: We have ICE!!!!! Yes, ICE,
WATER ICE on Mars! w00t!!! Best day ever!!"</description><link>https://timbroder.com/2008/06/mars-robot-twittered-from-space/</link><guid isPermaLink="false">https://timbroder.com/2008/06/mars-robot-twittered-from-space</guid><pubDate>Mon, 23 Jun 2008 18:34:00 GMT</pubDate><content:encoded><![CDATA[<p>The Mars Phoenix robot found water on mars and what does it do? Sends a
<a href="http://blog.twitter.com/2008/06/nasa-twitter-and-news-from-mars.html">tweet</a></p>
<p>"Are you ready to celebrate? Well, get ready: We have ICE!!!!! Yes, ICE,
<em>WATER ICE</em> on Mars! w00t!!! Best day ever!!"</p>
]]></content:encoded></item>
<item><title>Android Handset’s Could Be Delayed Until 2009</title><description>Well... that would suck</description><link>https://timbroder.com/2008/06/android-handsets-could-be-delayed-until/</link><guid isPermaLink="false">https://timbroder.com/2008/06/android-handsets-could-be-delayed-until</guid><pubDate>Mon, 23 Jun 2008 18:28:00 GMT</pubDate><content:encoded><![CDATA[<p>Well... that would <a href="http://www.talkandroid.com/124-google-android-delayed/">suck</a></p>
]]></content:encoded></item>
<item><title>Social Badges</title><description>So, for whatever reason. I never added my social network badges to this site.
I should have, a long time ago. Feel free to follow me on
FriendFeed or
Twitter, be my friend on
Facebook or
linkedin, see what I've
Dugg or
listened to, take a look at my
photos, and more. Will definitly
be seeing how this effects my social
graph FriendFeed Twitter
Blog
Facebook Digg Google Reader Last.fm Picasa Web Albums LinkedIn LibraryThing Pandora ![del.icio.us]
(https://gpowered.net/php/images/delicious.png)
StumbleUpon…</description><link>https://timbroder.com/2008/06/social-badges/</link><guid isPermaLink="false">https://timbroder.com/2008/06/social-badges</guid><pubDate>Fri, 20 Jun 2008 00:25:00 GMT</pubDate><content:encoded><![CDATA[<p>So, for whatever reason. I never added my social network badges to this site.
I should have, a long time ago. Feel free to follow me on
<a href="http://friendfeed.com/broderboy">FriendFeed</a> or
<a href="http://twitter.com/broderboy">Twitter</a>, be my friend on
<a href="http://www.facebook.com/profile.php?id=17500954">Facebook</a> or
<a href="http://www.linkedin.com/pub/5/749/644">linkedin</a>, see what I've
<a href="http://www.digg.com/users/timothybroder">Dugg</a> or
<a href="http://www.last.fm/user/broderboy/">listened</a> to, take a look at my
<a href="http://picasaweb.google.com/timothy.broder">photos</a>, and more. Will definitly
be seeing how this effects my <a href="http://code.google.com/apis/socialgraph/">social
graph</a></p>
<p><a href="http://friendfeed.com/broderboy"><img src="https://timbroder.com/images/remote/2008-06-20-social-badges/internal.png" alt="FriendFeed"></a> <a href="http://twitter.com/broderboy"><img src="https://timbroder.com/images/remote/2008-06-20-social-badges/twitter.png" alt="Twitter"></a>
<a href="https://timbroder.com/"><img src="https://timbroder.com/images/remote/2008-06-20-social-badges/blog.png" alt="Blog"></a>
<a href="http://www.facebook.com/profile.php?id=17500954"><img src="https://timbroder.com/images/remote/2008-06-20-social-badges/facebook.png" alt="Facebook"></a> <a href="http://www.digg.com/users/timothybroder"><img src="https://timbroder.com/images/remote/2008-06-20-social-badges/digg.png" alt="Digg"></a> <a href="http://www.google.com/reader/shared/16162999404522159936"><img src="https://timbroder.com/images/remote/2008-06-20-social-badges/googlereader.png" alt="Google Reader"></a> <a href="http://www.last.fm/user/broderboy/"><img src="https://timbroder.com/images/remote/2008-06-20-social-badges/lastfm.png" alt="Last.fm"></a> <a href="http://picasaweb.google.com/timothy.broder"><img src="https://timbroder.com/images/remote/2008-06-20-social-badges/picasa.png" alt="Picasa Web Albums"></a> <a href="http://www.linkedin.com/pub/5/749/644"><img src="https://timbroder.com/images/remote/2008-06-20-social-badges/linkedin.png" alt="LinkedIn"></a> <a href="http://www.librarything.com/profile/broderboy"><img src="https://timbroder.com/images/remote/2008-06-20-social-badges/librarything.png" alt="LibraryThing"></a> <a href="http://www.pandora.com/people/timothy.broder"><img src="https://timbroder.com/images/remote/2008-06-20-social-badges/pandora.png" alt="Pandora"></a> <a href="http://del.icio.us/broderboy">![del.icio.us]
(https://gpowered.net/php/images/delicious.png)</a>
<a href="http://broderboy.stumbleupon.com/"><img src="https://timbroder.com/images/remote/2008-06-20-social-badges/stumbleupon.png" alt="StumbleUpon"></a> <a href="http://broderboy.tumblr.com/"><img src="https://timbroder.com/images/remote/2008-06-20-social-badges/tumblr.png" alt="Tumblr"></a> <a href="http://www.youtube.com/profile?user=broderboy"><img src="https://timbroder.com/images/remote/2008-06-20-social-badges/youtube.png" alt="YouTube"></a> <a href="http://pownce.com/broderboy/"><img src="https://timbroder.com/images/remote/2008-06-20-social-badges/pownce.png" alt="Pownce"></a></p>
]]></content:encoded></item>
<item><title>Python 2.6 and 3.0 Beta 1 Released.</title><description>Get them while they're hot! 2.6 3.0 Beta</description><link>https://timbroder.com/2008/06/httpjessenollercom20080619python-26-and/</link><guid isPermaLink="false">https://timbroder.com/2008/06/httpjessenollercom20080619python-26-and</guid><pubDate>Thu, 19 Jun 2008 22:28:00 GMT</pubDate><content:encoded><![CDATA[<p>Get them while they're hot!</p>
<p><a href="http://www.python.org/download/releases/2.6/">2.6</a></p>
<p><a href="http://www.python.org/download/releases/3.0/">3.0 Beta</a></p>
]]></content:encoded></item>
<item><title>Wine 1.0 has been released</title><description>Big Day for software</description><link>https://timbroder.com/2008/06/wine-10-has-been-released/</link><guid isPermaLink="false">https://timbroder.com/2008/06/wine-10-has-been-released</guid><pubDate>Tue, 17 Jun 2008 15:37:00 GMT</pubDate><content:encoded><![CDATA[<p><a href="http://www.winehq.org/">Big Day</a> for software</p>
]]></content:encoded></item>
<item><title>Firefox3: Help set a world record starting at 1pm EST</title><description>Do it</description><link>https://timbroder.com/2008/06/firefox3-help-set-world-record-starting/</link><guid isPermaLink="false">https://timbroder.com/2008/06/firefox3-help-set-world-record-starting</guid><pubDate>Tue, 17 Jun 2008 15:15:00 GMT</pubDate><content:encoded><![CDATA[<p><a href="http://www.spreadfirefox.com/en-US/worldrecord/">Do it</a></p>
]]></content:encoded></item>
<item><title>Google I/O session videos posted with slides</title><description>As I said earlier, Quite a few presentations from Google I/O have
been posted for your viewing pleasure.
I'll be glued to these this weekend while I'm on call. Topics include 
Ajax 
KML 
Sketchup 
Android 
OpenSocial 
Appengine 
Data APIs 
Theory Talks 
Youtube 
Gears 
Mashups 
Maps 
and more!</description><link>https://timbroder.com/2008/06/google-io-session-videos-posted-with/</link><guid isPermaLink="false">https://timbroder.com/2008/06/google-io-session-videos-posted-with</guid><pubDate>Mon, 16 Jun 2008 19:11:00 GMT</pubDate><content:encoded><![CDATA[<p>As I said <a href="https://timbroder.com/2008/04/select-google-io-sessions-to-be-posted/">earlier</a>, Quite a few presentations from Google I/O have
been <a href="http://sites.google.com/site/io/">posted</a> for your viewing pleasure.
I'll be glued to these this weekend while I'm on call.</p>
<p>Topics include<br>
Ajax<br>
KML<br>
Sketchup<br>
Android<br>
OpenSocial<br>
Appengine<br>
Data APIs<br>
Theory Talks<br>
Youtube<br>
Gears<br>
Mashups<br>
Maps<br>
and more!</p>
]]></content:encoded></item>
<item><title>Google Toolbar Available for Firefox 3</title><description>Finally, the Google
toolbar is available for all those with the
Firefox beta or RC releases. Just in time too... took them long enough...
happy days are here again!</description><link>https://timbroder.com/2008/06/google-toolbar-available-for-firefox-3/</link><guid isPermaLink="false">https://timbroder.com/2008/06/google-toolbar-available-for-firefox-3</guid><pubDate>Mon, 16 Jun 2008 17:54:00 GMT</pubDate><content:encoded><![CDATA[<p><a href="http://blogoscoped.com/archive/2008-06-16.html#n62">Finally</a>, the Google
<a href="http://toolbar.google.com/">toolbar</a> is available for all those with the
Firefox beta or RC releases. Just in time too... took them long enough...
happy days are here again!</p>
]]></content:encoded></item>
<item><title>Live Diggnation NY Photos</title><description>The show was absolutely nuts. Had a great time at Studio B. Sorry for the
crappy photo quality, I forgot my camera and the blackberry doesn't do so well
in the dark... I think the estimate for this meetup was about 2,000 people
inside and 600 waiting outside in the rain? Great turnout, great show.
Diggnation better come back to NY. (As they said at the show, NY creates/diggs
the most content on Digg then anywhere else in the world, GO NEW YORK!</description><link>https://timbroder.com/2008/06/live-diggnation-ny-photos/</link><guid isPermaLink="false">https://timbroder.com/2008/06/live-diggnation-ny-photos</guid><pubDate>Thu, 05 Jun 2008 11:31:00 GMT</pubDate><content:encoded><![CDATA[<p>The show was absolutely nuts. Had a great time at Studio B. Sorry for the
crappy photo quality, I forgot my camera and the blackberry doesn't do so well
in the dark... I think the estimate for this meetup was about 2,000 people
inside and 600 waiting outside in the rain? Great turnout, great show.
Diggnation better come back to NY. (As they said at the show, NY creates/diggs
the most content on Digg then anywhere else in the world, GO NEW YORK!</p>
<p><a href="http://2.bp.blogspot.com/_Ng3QbVQfLZ8/SEfPwSCzrtI/AAAAAAAASAk/uE3SLJhkVc4/s1600-h/IMG00031.jpg"><img src="https://timbroder.com/images/missing-image.svg" alt=""></a> <a href="https://4.bp.blogspot.com/_Ng3QbVQfLZ8/SEfPtyCzrsI/AAAAAAAASAc/peqDoJ87kDk/s1600-h/IMG00032.jpg"><img src="https://timbroder.com/images/missing-image.svg" alt=""></a> <a href="http://2.bp.blogspot.com/_Ng3QbVQfLZ8/SEfPrSCzrrI/AAAAAAAASAU/eCCoFaLbTwo/s1600-h/IMG00033.jpg"><img src="https://timbroder.com/images/missing-image.svg" alt=""></a> <a href="https://3.bp.blogspot.com/_Ng3QbVQfLZ8/SEfPliCzrqI/AAAAAAAASAM/tpEyMMpkI9I/s1600-h/IMG00034.jpg"><img src="https://timbroder.com/images/missing-image.svg" alt=""></a> <a href="http://2.bp.blogspot.com/_Ng3QbVQfLZ8/SEfPgSCzrpI/AAAAAAAASAE/dSjsnwdN89U/s1600-h/IMG00035.jpg"><img src="https://timbroder.com/images/missing-image.svg" alt=""></a> <a href="https://3.bp.blogspot.com/_Ng3QbVQfLZ8/SEfPYiCzroI/AAAAAAAAR_8/knHsvfKP7Vs/s1600-h/IMG00036.jpg"><img src="https://timbroder.com/images/missing-image.svg" alt=""></a> <a href="https://3.bp.blogspot.com/_Ng3QbVQfLZ8/SEfPRiCzrnI/AAAAAAAAR_0/qAMV4gBESLs/s1600-h/IMG00037.jpg"><img src="https://timbroder.com/images/missing-image.svg" alt=""></a> <a href="https://3.bp.blogspot.com/_Ng3QbVQfLZ8/SEfPKiCzrmI/AAAAAAAAR_s/SAWtqLlV5Qw/s1600-h/IMG00038.jpg"><img src="https://timbroder.com/images/missing-image.svg" alt=""></a> <a href="https://3.bp.blogspot.com/_Ng3QbVQfLZ8/SEfPGiCzrlI/AAAAAAAAR_k/9ZVOZXOuhq8/s1600-h/IMG00039.jpg"><img src="https://timbroder.com/images/missing-image.svg" alt=""></a> <a href="http://2.bp.blogspot.com/_Ng3QbVQfLZ8/SEfPDSCzrkI/AAAAAAAAR_c/HuoFOMnMPvw/s1600-h/IMG00040.jpg"><img src="https://timbroder.com/images/missing-image.svg" alt=""></a>
<a href="https://4.bp.blogspot.com/_Ng3QbVQfLZ8/SEfPAyCzrjI/AAAAAAAAR_U/Fq-qaIQjk-E/s1600-h/IMG00041.jpg"><img src="https://timbroder.com/images/missing-image.svg" alt=""></a>
<a href="http://2.bp.blogspot.com/_Ng3QbVQfLZ8/SEfO-SCzriI/AAAAAAAAR_M/jaP9miTIGAE/s1600-h/IMG00042.jpg"><img src="https://timbroder.com/images/missing-image.svg" alt=""></a></p>
]]></content:encoded></item>
<item><title>Diggnation filming at Studio B in NYC tonight</title><description>Kevin Rose is filming Diggnation in Brooklyn tonight for Internet
Week. It starts at 6 I should be able to get
out of work in time. Anyone else going? "Diggnation is a weekly video podcast produced by Revision3. It is hosted by
Kevin Rose and Alex Albrecht, who had previously hosted TechTV's The Screen
Savers together. Its main purpose is to discuss the top stories from Digg, the
social bookmarking website developed by Rose and others. The format of the
show usually involves Rose and Albrecht reviewing one…</description><link>https://timbroder.com/2008/06/diggnation-filming-at-studio-b-in-nyc/</link><guid isPermaLink="false">https://timbroder.com/2008/06/diggnation-filming-at-studio-b-in-nyc</guid><pubDate>Wed, 04 Jun 2008 11:36:00 GMT</pubDate><content:encoded><![CDATA[<p>Kevin Rose is filming Diggnation in Brooklyn tonight for <a href="http://www.internetweekny.com/">Internet
Week</a>. It starts at 6 I should be able to get
out of work in time. Anyone else going?</p>
<p>"Diggnation is a weekly video podcast produced by Revision3. It is hosted by
Kevin Rose and Alex Albrecht, who had previously hosted TechTV's The Screen
Savers together. Its main purpose is to discuss the top stories from Digg, the
social bookmarking website developed by Rose and others. The format of the
show usually involves Rose and Albrecht reviewing one or more brands of beer
at the opening of the show, of which they will consume throughout the show,
(steadily getting more and more drunk until they are almost incoherent)
followed by them discussing various Digg stories from the previous week. Both
audio and video versions of the podcast are available from Revision3."</p>
]]></content:encoded></item>
<item><title>5 Reasons Why RIM Should Make A BlackBerry That Runs Android</title><description>I'd really enjoy this. 1) I'm obviously addicted to my crackberry. 2) I'm not
sure how I feel about lots of typing in a touch screen. I played with the HTC
Touch over the weekend. It was cool, it was pretty, but the screen wasn't as
responsive as I would have hoped. We'll see what HTC can do with the
Diamond and the
Dream</description><link>https://timbroder.com/2008/06/5-reasons-why-rim-should-make/</link><guid isPermaLink="false">https://timbroder.com/2008/06/5-reasons-why-rim-should-make</guid><pubDate>Mon, 02 Jun 2008 23:21:00 GMT</pubDate><content:encoded><![CDATA[<p>I'd really enjoy this. 1) I'm obviously addicted to my crackberry. 2) I'm not
sure how I feel about lots of typing in a touch screen. I played with the HTC
Touch over the weekend. It was cool, it was pretty, but the screen wasn't as
responsive as I would have hoped. We'll see what HTC can do with the
<a href="http://www.htc.com/www/product.aspx?id=46278">Diamond</a> and the
<a href="https://androidcommunity.com/first-live-images-of-fullscreen-android-demo-20080528/">Dream</a></p>
]]></content:encoded></item>
<item><title>I/O: MySpace installs gears</title><description>Myspace unveiled a new search feature of their message center at Google I/O
utilizing gears. As you search your messages, results are shown in real time,
coming out of the local cache stored in gears. Hopefully this will give gears
more publicity and other sited (ahem,
facebook) will take a look at it ;) This almost makes me want to create a myspace account to go play with it...
ALMOST...</description><link>https://timbroder.com/2008/05/io-myspace-installs-gears/</link><guid isPermaLink="false">https://timbroder.com/2008/05/io-myspace-installs-gears</guid><pubDate>Thu, 29 May 2008 21:34:00 GMT</pubDate><content:encoded><![CDATA[<p>Myspace unveiled a new search feature of their message center at Google I/O
utilizing gears. As you search your messages, results are shown in real time,
coming out of the local cache stored in gears. Hopefully this will give gears
more publicity and other sited (<a href="https://www.techcrunch.com/2008/05/28/myspace-shows-facebook-how-its-done-google-gears-to-power-messaging/">ahem</a>,
facebook) will take a look at it ;)</p>
<p>This almost makes me want to create a myspace account to go play with it...
ALMOST...</p>
]]></content:encoded></item>
<item><title>I/O: AppEngine is open!</title><description>Appengine is no longer limited to the first 10,000 people or hackathon
attendees. Anyone can set up an account but each account is still limited to 3
apps. Guess all those extra gmail accounts will come in handy eh?</description><link>https://timbroder.com/2008/05/io-appengine-is-open/</link><guid isPermaLink="false">https://timbroder.com/2008/05/io-appengine-is-open</guid><pubDate>Thu, 29 May 2008 14:02:00 GMT</pubDate><content:encoded><![CDATA[<p>Appengine is no longer limited to the first 10,000 people or hackathon
attendees. Anyone can set up an account but each account is still limited to 3
apps. Guess all those extra gmail accounts will come in handy eh?</p>
]]></content:encoded></item>
<item><title>I/O: Lots of Android UI Videos!</title><description>Check them out, as usual, youtube is blocked at work for me...</description><link>https://timbroder.com/2008/05/io-lots-of-android-ui-videos/</link><guid isPermaLink="false">https://timbroder.com/2008/05/io-lots-of-android-ui-videos</guid><pubDate>Thu, 29 May 2008 13:53:00 GMT</pubDate><content:encoded><![CDATA[<p>Check <a href="https://androidcommunity.com/first-live-images-of-fullscreen-android-demo-20080528/">them</a> out, as usual, youtube is blocked at work for me...</p>
]]></content:encoded></item>
<item><title>I/O: Web Browser, Meet Google Earth</title><description>Enabling you to switch a Google Maps mashup or page to 3D Google earth with
just a few lines of javascript</description><link>https://timbroder.com/2008/05/io-web-browser-meet-google-earth/</link><guid isPermaLink="false">https://timbroder.com/2008/05/io-web-browser-meet-google-earth</guid><pubDate>Wed, 28 May 2008 22:14:00 GMT</pubDate><content:encoded><![CDATA[<p>Enabling you to switch a Google Maps mashup or page to 3D Google earth with
just a few lines of javascript</p>
]]></content:encoded></item>
<item><title>I/O: AOL Joins OpenSocial</title><description>After today, AOL's products will
support Google's
OpenSocial.</description><link>https://timbroder.com/2008/05/aol-joins-opensocial/</link><guid isPermaLink="false">https://timbroder.com/2008/05/aol-joins-opensocial</guid><pubDate>Wed, 28 May 2008 18:48:00 GMT</pubDate><content:encoded><![CDATA[<p>After today, AOL's products will
<a href="https://www.techcrunch.com/2008/05/28/aol-joins-opensocial/">support</a> Google's
OpenSocial.</p>
]]></content:encoded></item>
<item><title>I/O: Android on the HTC Dream</title><description>You might see some random I/O posts popping up from me over the next few
days... ;) In the keynote at Google I/O, the HTC Touch was demonstrated
running Android. Touch streetview, and heck, when you move the phone,
streetview moves with you! Video on Engadget and stills on Talk
Android</description><link>https://timbroder.com/2008/05/io-android-on-htc-dream/</link><guid isPermaLink="false">https://timbroder.com/2008/05/io-android-on-htc-dream</guid><pubDate>Wed, 28 May 2008 18:37:00 GMT</pubDate><content:encoded><![CDATA[<p>You might see some random I/O posts popping up from me over the next few
days... ;) In the keynote at Google I/O, the HTC Touch was demonstrated
running Android. Touch streetview, and heck, when you move the phone,
streetview moves with you!</p>
<p>Video on <a href="http://www.engadgetmobile.com/2008/05/28/google-demos-the-htc-dream-at-i-o-conference/">Engadget</a> and stills on <a href="http://www.talkandroid.com/101-google-io-opening-android-keynote/">Talk
Android</a></p>
]]></content:encoded></item>
<item><title>Google hosting popular javascript libraries</title><description>I came across this yesterday looking for the mootools
download link. Google is hosting a bunch of the popular javascript libraries
on their server for you. Pros: Use Google's Bandwidth Google takes care of keeping the files up to date Common include code across your apps Use Google as a Fast proxy Gadgets will have access to cached files Cons: Have to rely on Google to keep files up to date Probably won't include beta releases of libraries The main page is here and currently
includes: jQuery prototype…</description><link>https://timbroder.com/2008/05/google-hosting-popular-javascript/</link><guid isPermaLink="false">https://timbroder.com/2008/05/google-hosting-popular-javascript</guid><pubDate>Wed, 28 May 2008 16:04:00 GMT</pubDate><content:encoded><![CDATA[<p>I came across this yesterday looking for the <a href="http://mootools.net/">mootools</a>
download link. Google is hosting a bunch of the popular javascript libraries
on their server for you.</p>
<p>Pros:</p>
<ul>
<li>Use Google's Bandwidth</li>
<li>Google takes care of keeping the files up to date</li>
<li>Common include code across your apps</li>
<li>Use Google as a Fast proxy</li>
<li>Gadgets will have access to cached files</li>
</ul>
<p>Cons:</p>
<ul>
<li>Have to rely on Google to keep files up to date</li>
<li>Probably won't include beta releases of libraries</li>
</ul>
<p>The main page is <a href="http://code.google.com/apis/ajaxlibs/">here</a> and currently
includes:</p>
<ul>
<li><a href="http://jquery.com/">jQuery</a></li>
<li><a href="http://www.prototypejs.org/">prototype</a></li>
<li><a href="http://script.aculo.us/">script.aculo.us</a></li>
<li><a href="http://mootools.net/">MooTools</a></li>
<li><a href="http://dojotoolkit.org/">Dojo</a></li>
</ul>
<p>Example jQuery:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="plaintext"><code><span class="line"><span>&lt;script src="http://www.google.com/jsapi"&gt;&lt;/script&gt;</span></span>
<span class="line"><span>&lt;script&gt;</span></span>
<span class="line"><span>  // Load jQuery</span></span>
<span class="line"><span>  google.load("jquery", "1");</span></span>
<span class="line"><span> </span></span>
<span class="line"><span>  // on page load complete, fire off a jQuery json-p query</span></span>
<span class="line"><span>  // against Google web search</span></span>
<span class="line"><span>  google.setOnLoadCallback(function() {</span></span>
<span class="line"><span>    $.getJSON("http://ajax.googleapis.com/ajax/services/search/web?q=google&amp;;v=1.0&amp;;callback=?",</span></span>
<span class="line"><span> </span></span>
<span class="line"><span>      // on search completion, process the results</span></span>
<span class="line"><span>      function (data) {</span></span>
<span class="line"><span>        if (data.responseDate.results &amp;&amp;</span></span>
<span class="line"><span>            data.responseDate.results.length&gt;0) {</span></span>
<span class="line"><span>          renderResults(data.responseDate.results);</span></span>
<span class="line"><span>        }</span></span>
<span class="line"><span>      });</span></span>
<span class="line"><span>    });</span></span>
<span class="line"><span>&lt;/script&gt;</span></span></code></pre>
]]></content:encoded></item>
<item><title>AppEngine Pricing announced</title><description>These look pretty cheap for what you get, and if one of my little apps
actually got popular enough to fall outside of the free range, I'd gladly pay
for it Free quota to get started: 500MB storage and enough CPU and bandwidth for
about 5 million pageviews per month 
$0.10 - $0.12 per CPU core-hour 
$0.15 - $0.18 per GB-month of storage 
$0.11 - $0.13 per GB outgoing bandwidth 
$0.09 - $0.11 per GB incoming bandwidth Google I/O started this morning, unhappy I am not there...</description><link>https://timbroder.com/2008/05/appengine-pricing-announced/</link><guid isPermaLink="false">https://timbroder.com/2008/05/appengine-pricing-announced</guid><pubDate>Wed, 28 May 2008 13:55:00 GMT</pubDate><content:encoded><![CDATA[<p>These look pretty cheap for what you get, and if one of my little apps
actually got popular enough to fall outside of the free range, I'd gladly pay
for it</p>
<p>Free quota to get started: 500MB storage and enough CPU and bandwidth for
about 5 million pageviews per month<br>
$0.10 - $0.12 per CPU core-hour<br>
$0.15 - $0.18 per GB-month of storage<br>
$0.11 - $0.13 per GB outgoing bandwidth<br>
$0.09 - $0.11 per GB incoming bandwidth</p>
<p>Google I/O started this morning, unhappy I am not there...</p>
]]></content:encoded></item>
<item><title>Google Treasure Hunt Week 3 is up</title><description>have at</description><link>https://timbroder.com/2008/05/google-treasure-hunt-week-3-is-up/</link><guid isPermaLink="false">https://timbroder.com/2008/05/google-treasure-hunt-week-3-is-up</guid><pubDate>Tue, 27 May 2008 18:36:00 GMT</pubDate><content:encoded><![CDATA[<p>have at</p>
]]></content:encoded></item>
<item><title>twitter2gTalk Goes Live!</title><description>Get your tweets onto Google Talk! Twitter: A free social networking and micro-blogging
service that allows users to send "updates" (or "tweets"; text-based posts, up
to 140 characters long) to the Twitter website, via short message service
(SMS), instant messaging, or a third-party application such as Twitterrific or
Facebook. gTalk: (Google Talk) is a Windows and web-based
application for voice over internet (VOIP) and instant messaging, offered by
Google. twitter2gTalk: Takes your current tweet
and sets…</description><link>https://timbroder.com/2008/05/twitter2gtalk-goes-live/</link><guid isPermaLink="false">https://timbroder.com/2008/05/twitter2gtalk-goes-live</guid><pubDate>Thu, 22 May 2008 19:01:00 GMT</pubDate><content:encoded><![CDATA[<p><strong>Get your tweets onto Google Talk!</strong></p>
<p><a href="http://www.twitter.com">Twitter</a>: A free social networking and micro-blogging
service that allows users to send "updates" (or "tweets"; text-based posts, up
to 140 characters long) to the Twitter website, via short message service
(SMS), instant messaging, or a third-party application such as Twitterrific or
Facebook.</p>
<p><a href="http://www.google.com/talk/">gTalk</a>: (Google Talk) is a Windows and web-based
application for voice over internet (VOIP) and instant messaging, offered by
Google.</p>
<p><a href="http://twitter2gtalk.appspot.com/">twitter2gTalk</a>: Takes your current tweet
and sets it as your Google Talk status (away) message.</p>
<p>I've been toying with <a href="https://timbroder.com/2008/03/update-google-talk-status-with-twitter/">this</a> for a while now. I really wanted to launch
twitter2gTalk as a service that anyone could use. I had the backend code all
done and was dragging my feet writing the django front-end. I went to a
hackathon for <a href="https://timbroder.com/2008/05/twitter2gtalk-goes-live/code.google.com/appengine/">Google AppEngine</a> and converted
most of the code to run on that. You need a Google Account to login, but then
again, you need one to use gTalk anyway.</p>
<p>I hope some people will find this cool or useful (some people have been
<a href="http://heavycrag.blogspot.com/2008/05/new-reason-to-tweet.html">waiting</a> for
this and already signed up). Feel free to follow
<a href="http://twitter.com/broderboy">me</a> or <a href="http://twitter.com/twit2gTalk">the app</a>
on twitter for feature updates or
<a href="https://feeds.feedburner.com/gPpowered">subscribe</a> to this blog.</p>
]]></content:encoded></item>
<item><title>Why Microsoft will buy Facebook and keep it closed</title><description>Normally I don't just link to other posts, but Scoble's latest
article is quite a read. It delves into Microsoft + Yahoo Search +
Facebook giving Google and the rest of the open web quite a hard time.
Definitely work the time to read.</description><link>https://timbroder.com/2008/05/why-microsoft-will-buy-facebook-and/</link><guid isPermaLink="false">https://timbroder.com/2008/05/why-microsoft-will-buy-facebook-and</guid><pubDate>Mon, 19 May 2008 21:42:00 GMT</pubDate><content:encoded><![CDATA[<p>Normally I don't just link to other posts, but Scoble's <a href="http://scobleizer.com/2008/05/19/why-microsoft-will-buy-facebook-and-keep-it-closed/">latest
article</a> is quite a read. It delves into Microsoft + Yahoo Search +
Facebook giving Google and the rest of the open web quite a hard time.
Definitely work the time to read.</p>
]]></content:encoded></item>
<item><title>Android Developer Challenge Judges and Top 50 Details</title><description>The Android developer's challenge has release most of the top 50 (a few opted
to not be made public for now). A slide deck of the winners is available
here. I've gone
through some of them and they have been blowing me away.
Lists are being put together with the websites for the winners. There
is some really exciting work being done. Even though its the first one on the list, AndroidScan still blows me away. It
uses the phone on the camera to take a photo of a bar code, look up the
product in a database, and…</description><link>https://timbroder.com/2008/05/android-developer-challenge-judges-and/</link><guid isPermaLink="false">https://timbroder.com/2008/05/android-developer-challenge-judges-and</guid><pubDate>Thu, 15 May 2008 12:27:00 GMT</pubDate><content:encoded><![CDATA[<p>The Android developer's challenge has release most of the top 50 (a few opted
to not be made public for now). A slide deck of the winners is available
<a href="http://code.google.com/android/images/adc1r1_deck.pdf">here</a>. I've gone
through some of them and they have been blowing me away.
<a href="http://www.talkandroid.com/92-developer-challenge-top-50-android-application/">Lists</a> are being put together with the websites for the winners. There
is some really exciting work being done.</p>
<p>Even though its the first one on the list, AndroidScan still blows me away. It
uses the phone on the camera to take a photo of a bar code, look up the
product in a database, and then gets you all the information you would need
about that product and where you can buy it right from your phone (amazon,
ebay, etc). Do yourself a favor and watch the
<a href="https://scan.jsharkey.org/">video</a>.</p>
<p><img src="https://timbroder.com/images/remote/2008-05-15-android-developer-challenge-judges-and/vlcsnap-7082040.png.jpg" alt=""></p>
<p>I'll be going through that slide deck and will be posting some more of my
favorites. Anyone else hope the HTC Diamond can run Android out of the box?
;)</p>
]]></content:encoded></item>
<item><title>Appengine Hackathon!</title><description>I'm heading to Google NY for the day for an appengine hackathon. I have a
bazillion ideas banging around in my head. We'll see what I come back with. If
anyone else is going to be there send me an
email me or send me a
tweet View Larger Map</description><link>https://timbroder.com/2008/05/appengine-hackathon/</link><guid isPermaLink="false">https://timbroder.com/2008/05/appengine-hackathon</guid><pubDate>Wed, 07 May 2008 12:07:00 GMT</pubDate><content:encoded><![CDATA[<p>I'm heading to Google NY for the day for an appengine hackathon. I have a
bazillion ideas banging around in my head. We'll see what I come back with. If
anyone else is going to be there send me an
<a href="mailto:timothy.broder@gmail.com">email</a> me or send me a
<a href="http://twitter.com/broderboy">tweet</a></p>
<p><a href="http://maps.google.com/maps?f=q&amp;hl=en&amp;geocode=&amp;q=76+Ninth+Avenue,+New+York,+NY+10011&amp;sll=40.71453,-74.00713&amp;sspn=0.208963,0.421944&amp;ie=UTF8&amp;ll=40.751744,-74.000387&amp;spn=0.003845,0.010042&amp;z=14&amp;iwloc=addr&amp;source=embed">View Larger Map</a></p>
]]></content:encoded></item>
<item><title>Got my Google appengine account!</title><description>But someone already registered gpowered =(</description><link>https://timbroder.com/2008/05/got-my-google-appengine-account/</link><guid isPermaLink="false">https://timbroder.com/2008/05/got-my-google-appengine-account</guid><pubDate>Tue, 06 May 2008 23:59:00 GMT</pubDate><content:encoded><![CDATA[<p>But someone already registered gpowered =(</p>
<p><a href="https://3.bp.blogspot.com/_Ng3QbVQfLZ8/SCDxA_mVqRI/AAAAAAAARz8/mPX39zsC2Vk/s1600-h/no_gpowered.jpg"><img src="https://timbroder.com/images/missing-image.svg" alt=""></a></p>
]]></content:encoded></item>
<item><title>New Work Blackberry</title><description>Got a new blackberry at work today: The
8820. Much nicer then
my old clunker which... err... broke... yeah we'll go with
broke. Getting the curve when it comes out on Friday for Verizon. I can't
install any applications on my work one, but as soon as I get my personal one,
Google Blackberry app reviews will be pouring out =)</description><link>https://timbroder.com/2008/05/new-work-blackberry/</link><guid isPermaLink="false">https://timbroder.com/2008/05/new-work-blackberry</guid><pubDate>Mon, 05 May 2008 21:31:00 GMT</pubDate><content:encoded><![CDATA[<p>Got a new blackberry at work today: The
<a href="http://www.blackberry8800series.com/blackberry8820/">8820</a>. Much nicer then
my old <a href="http://na.blackberry.com/eng/devices/device-detail.jsp?navId=H0,C63,P65">clunker</a> which... err... broke... yeah we'll go with
broke. Getting the curve when it comes out on Friday for Verizon. I can't
install any applications on my work one, but as soon as I get my personal one,
Google Blackberry app reviews will be pouring out =)</p>
]]></content:encoded></item>
<item><title>Select Google I/O sessions to be posted online</title><description>I won't be able to attend Google I/O (It's a bit expensive on short notice for
me) bit it's a relieve that some of the sessions are going to be posted online
after the conference.</description><link>https://timbroder.com/2008/04/select-google-io-sessions-to-be-posted/</link><guid isPermaLink="false">https://timbroder.com/2008/04/select-google-io-sessions-to-be-posted</guid><pubDate>Wed, 30 Apr 2008 00:17:00 GMT</pubDate><content:encoded><![CDATA[<p>I won't be able to attend Google I/O (It's a bit expensive on short notice for
me) bit it's a relieve that some of the sessions are going to be posted online
after the conference.</p>
]]></content:encoded></item>
<item><title>Added a tag cloud</title><description>I haven't been to crazy about how Blogger's default tag/label list looks
lately. On some of my shorter posts it was taking up most of the vertical
space on the page. I looked around to see if I could find a more traditional
tag cloud. I found a pretty good (and very easy)
tutorial and just installed it. I have to play with the colors a bit but I
like the way it looks.</description><link>https://timbroder.com/2008/04/added-tag-cloud/</link><guid isPermaLink="false">https://timbroder.com/2008/04/added-tag-cloud</guid><pubDate>Tue, 29 Apr 2008 22:57:00 GMT</pubDate><content:encoded><![CDATA[<p>I haven't been to crazy about how Blogger's default tag/label list looks
lately. On some of my shorter posts it was taking up most of the vertical
space on the page. I looked around to see if I could find a more traditional
tag cloud. I found a pretty good (and very easy)
<a href="http://phydeaux3.blogspot.com/2006/09/code-for-beta-blogger-label-cloud.html">tutorial</a> and just installed it. I have to play with the colors a bit but I
like the way it looks.</p>
]]></content:encoded></item>
<item><title>Distributing Ubuntu</title><description>... is much better then Windows ;-)  In other news: I
requested my Hardy Heron dvd =)</description><link>https://timbroder.com/2008/04/distributing-ubuntu/</link><guid isPermaLink="false">https://timbroder.com/2008/04/distributing-ubuntu</guid><pubDate>Tue, 29 Apr 2008 20:39:00 GMT</pubDate><content:encoded><![CDATA[<p>... is much better then Windows ;-)</p>
<p><a href="https://timbroder.com/images/remote/2008-04-29-distributing-ubuntu/2428594983_fe30642b19_o.jpg"><img src="https://timbroder.com/images/remote/2008-04-29-distributing-ubuntu/2428594983_fe30642b19_o.jpg" alt=""></a> In other news: I
<a href="https://shipit.ubuntu.com/">requested</a> my Hardy Heron dvd =)</p>
]]></content:encoded></item>
<item><title>Limit Google Search Results by Date</title><description>Tech Recipes goes
into how how to restrict Google search results by date: Appending
 to a search will display a drop down that lets you choose how
far back in time to search. A Greasemonkey script will also
do this for you. Pretty useful if you are searching about a brand new issue.
This would have helped me a lot when I was having a problem with
Hardy</description><link>https://timbroder.com/2008/04/limit-google-search-results-by-date/</link><guid isPermaLink="false">https://timbroder.com/2008/04/limit-google-search-results-by-date</guid><pubDate>Mon, 28 Apr 2008 14:43:00 GMT</pubDate><content:encoded><![CDATA[<p><a href="http://www.tech-recipes.com/rx/2860/google_how_to_access_filter_by_date_dropdown_box">Tech Recipes</a> goes
into how how to restrict Google search results by date: Appending
<code>&amp;amp;as;_qdr=d</code> to a search will display a drop down that lets you choose how
far back in time to search.</p>
<p>A <a href="http://userscripts.org/scripts/show/25684">Greasemonkey script</a> will also
do this for you. Pretty useful if you are searching about a brand new issue.
This would have helped me a lot when I was having a problem with
<a href="https://timbroder.com/2008/04/fixing-nvidia-8600-gt-on-hardy-heron/">Hardy</a></p>
<p><a href="https://1.bp.blogspot.com/_Ng3QbVQfLZ8/SBXj3PmVqPI/AAAAAAAARzs/24rQwWzgGHA/s1600-h/search_lmit.JPG"><img src="https://timbroder.com/images/missing-image.svg" alt=""></a></p>
]]></content:encoded></item>
<item><title>Fixing Nvidia 8600 GT on Hardy Heron</title><description>After updating to Hardy I got a white screen of death upon rebooting. After
some research it turned out that this was more of an Nvidia driver issue
rather then Ubuntu. This may not have been the most correct way to fix it, but
it worked for me. Completely remove nvidia-glx-new Remove nvidia-kernel-common (this also removes linux-restricted-modules), (I am not sure if step 2 is required) install build-essentials Download the Nvidia beta driver that came out on April 10. You can get it here hit ctrl + alt…</description><link>https://timbroder.com/2008/04/fixing-nvidia-8600-gt-on-hardy-heron/</link><guid isPermaLink="false">https://timbroder.com/2008/04/fixing-nvidia-8600-gt-on-hardy-heron</guid><pubDate>Sat, 26 Apr 2008 19:22:00 GMT</pubDate><content:encoded><![CDATA[<p>After updating to Hardy I got a white screen of death upon rebooting. After
some research it turned out that this was more of an Nvidia driver issue
rather then Ubuntu. This may not have been the most correct way to fix it, but
it worked for me.</p>
<ol>
<li>
<p>Completely remove nvidia-glx-new</p>
</li>
<li>
<p>Remove nvidia-kernel-common (this also removes linux-restricted-modules), (I am not sure if step 2 is required)</p>
</li>
<li>
<p>install build-essentials</p>
</li>
<li>
<p>Download the Nvidia beta driver that came out on April 10. You can get it <a href="http://www.nvidia.com/object/linux_display_ia32_173.08.html">here</a></p>
</li>
<li>
<p>hit ctrl + alt + f1 to break out of gnome</p>
</li>
<li>
<p>"sudo /etc/init.d/gdm stop" to shutdown the X server</p>
</li>
<li>
<p>sudo sh NVIDIA-Linux-x86-173.08-pkg1.run to install the driver. If it asks you to update you're xorg.conf file, let it.</p>
</li>
<li>
<p>Reboot. ("sudo reboot") You should now be able to enable Desktop effects. YAY FISH!</p>
</li>
</ol>
<p>This issue has also been addressed on the <a href="http://ubuntuforums.org/showthread.php?t=712479">Ubuntu
Forums</a> and on
<a href="https://bugs.launchpad.net/ubuntu/+source/linux-restricted-modules-2.6.24/+bug/208718">launchpad</a></p>
<p><em>Note: I have a Dell XPS M1530</em></p>
]]></content:encoded></item>
<item><title>Google Code Blog: Google App Engine Hack-a-thon coming to your coast!</title><description>I'm going to the NYC one, anyone else?</description><link>https://timbroder.com/2008/04/google-code-blog-google-app-engine-hack/</link><guid isPermaLink="false">https://timbroder.com/2008/04/google-code-blog-google-app-engine-hack</guid><pubDate>Fri, 25 Apr 2008 14:42:00 GMT</pubDate><content:encoded><![CDATA[<p>I'm going to the NYC one, anyone else?</p>
]]></content:encoded></item>
<item><title>But Daddy! I want and Andoid phone NOW!</title><description>A Microsoft Office editor should be available at launch and based on these
screenshots, its
going to be pretty useful. I'll have to fire up the Android emulator this weekend and see how this stacks
up against mobile Google Docs and Spreadsheets.  Veruca Salt: Hey, Daddy, I want an Oompa Loompa. I want you to get me an Oompa Loompa right away. 
Mr. Salt: All right, Veruca, all right. I'll get you one before the day is out. 
Veruca Salt: I want an Oompa Loompa now! 
Violet Beauregarde: Can it, you nit…</description><link>https://timbroder.com/2008/04/but-daddy-i-want-and-andoid-phone-now/</link><guid isPermaLink="false">https://timbroder.com/2008/04/but-daddy-i-want-and-andoid-phone-now</guid><pubDate>Fri, 25 Apr 2008 14:02:00 GMT</pubDate><content:encoded><![CDATA[<p>A Microsoft Office editor should be available at launch and based on these
<a href="http://www.talkandroid.com/85-quickoffice-for-android/">screenshots</a>, its
going to be pretty useful.</p>
<p>I'll have to fire up the Android emulator this weekend and see how this stacks
up against mobile Google Docs and Spreadsheets.</p>
<p><a href="http://2.bp.blogspot.com/_Ng3QbVQfLZ8/SBHoRfmVqOI/AAAAAAAARzk/Z6ryO5Ce-mo/s1600-h/veruca+salt.jpg"><img src="https://timbroder.com/images/missing-image.svg" alt=""></a></p>
<p><strong><a href="http://www.imdb.com/name/nm0170628/">Veruca Salt</a></strong>: Hey, Daddy, I want an Oompa Loompa. I want you to get me an Oompa Loompa right away.<br>
<strong><a href="http://www.imdb.com/name/nm0455702/">Mr. Salt</a></strong>: All right, Veruca, all right. I'll get you one before the day is out.<br>
<strong><a href="http://www.imdb.com/name/nm0170628/">Veruca Salt</a></strong>: I want an Oompa Loompa now!<br>
<strong><a href="http://www.imdb.com/name/nm0630019/">Violet Beauregarde</a></strong>: Can it, you nit!<br>
(<a href="http://www.imdb.com/title/tt0067992/">Willy Wonka &amp; the Chocolate
Factory</a>)<a href="https://altezza.travel/safari.php">тур в крым на майские
праздники 2015</a><a href="http://uc-forsage.ru/dengi-v-dolg-dlya-studentov.php" title="деньги в долг
студентам">деньги в долг студентам в
казани</a></p>
]]></content:encoded></item>
<item><title>Upgrade Ubuntu to 8.04 Hardy Heron</title><description>Hardy Heron came out this morning and ubuntu.com is very much down for the
count You can Still update though, click here for the Google Cache version. Happy Updating! New Features in this release: Install on an existing filesystem without overwriting
/home 
When I moved from feisty to gutsy, I decided to do a fresh install. One of the
things I had to do was back up my home folder, and when I finished installing
gutsy I just copied it back onto my computer. This new feature will allow
people to install the…</description><link>https://timbroder.com/2008/04/upgrade-ubuntu-to-804-hardy-heron/</link><guid isPermaLink="false">https://timbroder.com/2008/04/upgrade-ubuntu-to-804-hardy-heron</guid><pubDate>Thu, 24 Apr 2008 14:09:00 GMT</pubDate><content:encoded><![CDATA[<p>Hardy Heron came out this morning and ubuntu.com is very much down for the
count</p>
<p>You can Still update though, click <a href="http://72.14.205.104/search?q=cache:maBlktBTwPAJ:www.ubuntu.com/getubuntu/upgrading+upgrade+ubuntu&amp;hl=en&amp;ct=clnk&amp;cd=1&amp;gl=us&amp;client=firefox-a">here</a> for the Google Cache version.</p>
<p>Happy Updating!</p>
<p>New Features in this release:</p>
<p><a href="https://wiki.ubuntu.com/UbiquityPreserveHome">Install on an existing filesystem without overwriting
/home</a><br>
When I moved from feisty to gutsy, I decided to do a fresh install. One of the
things I had to do was back up my home folder, and when I finished installing
gutsy I just copied it back onto my computer. This new feature will allow
people to install the new version of Ubuntu without it overwriting their home
folder.I'm sure this will come in very handy for people who like trying out
different distro's.</p>
<p><a href="https://wiki.ubuntu.com/DesktopTeam/Specs/HardyHardwareDetection">Hardy Hardware
Detection</a><br>
This is more of a bug fix than a new feature. Gutsy already has excellent
hardware support and the plan for hardy is even better and more robust
detection of hardware. Sounds good to me.</p>
<p><a href="https://wiki.ubuntu.com/DesktopTeam/Specs/GdmFaceBrowser">GDM Face Browser</a><br>
One of the changes I made to my gutsy is the GDM. I replaced the old one with
something that allows me to just click on a picture of my username and login.
This will hopefully be the default for hardy.</p>
<p><a href="https://wiki.ubuntu.com/X/AutodetectMonitorFrequency">Auto Detection of Monitor
Frequency</a><br>
While I was testing gutsy beta I had to manually configure xorg.conf to get it
to the right resolution. It wasn't fun. This should be a thing of the past
with hardy as it will automatically detect everything for you. Huzzah!</p>
<p><a href="https://wiki.ubuntu.com/AptAuthenticationReliability">Apt Authentication
Reliability</a><br>
Have you ever had an update fail for no reason? Well it actually fails because
of 'transient network failures'. The aim is to make hardy more robust against
these errors.</p>
<p><a href="https://wiki.ubuntu.com/DesktopTeam/Specs/RestrictedManagerRewrite">Redesign Restricted-Manager
Code</a><br>
They want to expand the role of the restricted manager and change it so that
other distro's can share the joy.<br>
<a href="https://wiki.ubuntu.com/HardyFullDiskHandling"><br>
Handling Full Disks</a><br>
I've never had this problem with Ubuntu, but if your disk gets full, things
can get quite ugly. They plan to add a notification and disk clean-up tool
when your running low on space.</p>
<p><a href="https://wiki.ubuntu.com/DesktopTeam/Specs/HardyDesktopEffects">Desktop
Effects</a><br>
Make compiz fusion more robust and easier to use.</p>
<p><a href="https://wiki.ubuntu.com/DesktopTeam/Specs/HardyTheme">New Theme</a><br>
Hardy Heron will be getting a shiny new theme, I hope they move away from the
brown theme and choose something lighter and more fresh.</p>
<p><a href="https://wiki.ubuntu.com/EasyFileSharing">Easy File Sharing</a><br>
To allow people to easily share files over a network. Not more I can say about
this.</p>
<p><a href="https://blueprints.launchpad.net/ubuntu/+spec/multi-monitor-config">Dual/Multi Monitor Support</a><br>
Currently you have to manually tweak Ubuntu if you want to use more than one
monitor. They want to fix this for hardy.</p>
<p><a href="https://wiki.ubuntu.com/DesktopTeam/Specs/Prefetch">Integrate Prefetch into
Ubuntu</a><br>
I noticed a slightly increased start up time in gutsy compared to feisty.
Hardy will use file prefetch and other optimisations to speed up boot time.</p>
<p><a href="https://wiki.ubuntu.com/Automatix/Ubuntu_Team_Collaboration?highlight=%20automatix%20#81830218674224151">Automatix-Ubuntu Team Collaboration</a><br>
Automatix was extremely helpful for me in feisty. Although I don't use it in
gutsy, its good that they are collaborating with the automatix team.</p>
<p><a href="https://wiki.ubuntu.com/SingleClickInstall">Single Click Install</a><br>
Installing software is already pretty straightforward in Ubuntu. They want to
make it even easier to install third party applications. I'm not complaining.</p>
<p><a href="https://wiki.ubuntu.com/HardyAppArmor">Apparmor Integration</a><br>
This is already a part of gutsy, the plan is to increase integration to make
Ubuntu even safer.</p>
<p><a href="https://blueprints.launchpad.net/ubuntu/+spec/ubuntu-firewall">Firewall</a><br>
Make it easier for users to configure their firewall.</p>
<p><a href="https://blueprints.launchpad.net/ubuntu/+spec/third-party-apt">Third Party Apt</a><br>
Now when you install third party apps, you have to manually add the software
repository to the sources.list. This spec makes it easy for users to install
third party software and have it update automatically.</p>
<p><a href="https://wiki.ubuntu.com/DesktopTeam/Specs/ExitStrategy"><strong>Revamped Logout
Screen</strong></a><br>
They want to streamline the options you have when you click that big red
button, to make things less confusing.</p>
<p><a href="https://blueprints.launchpad.net/ubuntu/+spec/better-integrated-wine">Better Integrated Wine</a><br>
Better Wine will make it easier for Windows users to convert, thus helping to
solve <a href="https://blueprints.launchpad.net/bugs/1">bug #1</a>.</p>
<p><a href="https://wiki.ubuntu.com/Xorg7.3Integration">Xorg 7.3</a><br>
This is one of the features that missed the gutsy deadline. This should make
manual configuration of xorg.conf obsolete. Another much anticipated feature
is Bullet Proof X, which will go into a graphical safe mode if anything goes
wrong with X.</p>
<p><a href="https://wiki.ubuntu.com/SlickBoot">Slick Boot</a><br>
To improve the boot and shutdown process and also make the things look nicer.</p>
]]></content:encoded></item>
<item><title>Almost time for a new Ubuntu</title><description>Ubuntu 8.04, Hardy Heron comes out in
two days Be ready for it. (Or install it now)</description><link>https://timbroder.com/2008/04/almost-time-for-new-ubuntu/</link><guid isPermaLink="false">https://timbroder.com/2008/04/almost-time-for-new-ubuntu</guid><pubDate>Tue, 22 Apr 2008 10:59:00 GMT</pubDate><content:encoded><![CDATA[<p>Ubuntu 8.04, <a href="https://wiki.ubuntu.com/HardyHeron/">Hardy Heron</a> comes out in
two days</p>
<p>Be ready for it.</p>
<p><em>(Or install it <a href="https://help.ubuntu.com/community/HardyUpgrades#head-d552909d23532acc4ecb9a4c51a902e79caab0e8">now</a>)</em></p>
]]></content:encoded></item>
<item><title>Google Website Optimizer is out of beta</title><description>Google's Website Optimizer is out of
beta. I'll be running the blog portion of gPowered through it to see what it
thinks of a blogger generated page ;) Results to follow. Everyone have a good weekend! I know I need it!</description><link>https://timbroder.com/2008/04/google-website-optimizer-is-out-of-beta/</link><guid isPermaLink="false">https://timbroder.com/2008/04/google-website-optimizer-is-out-of-beta</guid><pubDate>Sat, 19 Apr 2008 02:46:00 GMT</pubDate><content:encoded><![CDATA[<p>Google's <a href="http://www.google.com/websiteoptimizer">Website Optimizer</a> is out of
beta. I'll be running the blog portion of gPowered through it to see what it
thinks of a blogger generated page ;) Results to follow.</p>
<p>Everyone have a good weekend! I know I need it!</p>
]]></content:encoded></item>
<item><title>Non Google AppEngine hosting</title><description>If you are like me, and are waiting to get in on the action, check it out:
http://appdrop.com/</description><link>https://timbroder.com/2008/04/non-google-appengine-hosting/</link><guid isPermaLink="false">https://timbroder.com/2008/04/non-google-appengine-hosting</guid><pubDate>Fri, 18 Apr 2008 20:05:00 GMT</pubDate><content:encoded><![CDATA[<p>If you are like me, and are waiting to get in on the action, check it out:
<a href="http://appdrop.com/">http://appdrop.com/</a></p>
]]></content:encoded></item>
<item><title>Best Android quote</title><description>Android handsets are poised to spread like wildfire across the open source and
developer communities upon release. I can't wait. Verizon better have Android</description><link>https://timbroder.com/2008/04/best-android-quote/</link><guid isPermaLink="false">https://timbroder.com/2008/04/best-android-quote</guid><pubDate>Thu, 10 Apr 2008 23:00:00 GMT</pubDate><content:encoded><![CDATA[<blockquote>
<p>Android handsets are poised to spread like wildfire across the open source and
developer communities upon release.</p>
</blockquote>
<p>I can't wait. Verizon better have Android</p>
]]></content:encoded></item>
<item><title>test from my blackberry</title><description>If you are reading this. I was able to post from my work blackberry, neat (Waiting for a baby shower, I mean meeting, to start. Currently guarding the
cake) Mmmmm cake</description><link>https://timbroder.com/2008/04/test-from-my-blackberry/</link><guid isPermaLink="false">https://timbroder.com/2008/04/test-from-my-blackberry</guid><pubDate>Thu, 10 Apr 2008 19:23:00 GMT</pubDate><content:encoded><![CDATA[<p>If you are reading this. I was able to post from my work blackberry, neat</p>
<p><em>(Waiting for a baby shower, I mean meeting, to start. Currently guarding the
cake) Mmmmm cake</em></p>
]]></content:encoded></item>
<item><title>Blogger adds bloggroll</title><description>Blogger in draft added 2 new features today: a
blogroll page element, and post scheduling. Post scheduling is pretty useful,
you can write up your post, set the time (in the future) that you want it to
post, and Blogger will do it automatically. The second feature, a blogroll, I
would like a lot more if it was done better. The main thing I like about it is
that it integrates with Google Reader so if I'm linking to my friend's blogs,
I just scroll to my 'Friends' Tag and add them. The thing I don't like…</description><link>https://timbroder.com/2008/04/blogger-adds-bloggroll/</link><guid isPermaLink="false">https://timbroder.com/2008/04/blogger-adds-bloggroll</guid><pubDate>Thu, 03 Apr 2008 22:37:00 GMT</pubDate><content:encoded><![CDATA[<p><a href="http://buzz.blogger.com/2008/04/blog-list-scheduled-post-publishing-on.html">Blogger</a> in <a href="http://draft.blogger.com/">draft</a> added 2 new features today: a
blogroll page element, and post scheduling. Post scheduling is pretty useful,
you can write up your post, set the time (in the future) that you want it to
post, and Blogger will do it automatically. The second feature, a blogroll, I
would like a lot more if it was done better. The main thing I like about it is
that it integrates with Google Reader so if I'm linking to my friend's blogs,
I just scroll to my 'Friends' Tag and add them. The thing I don't like however
is that it does not support <a href="http://gmpg.org/xfn/">XFN</a> or
<a href="http://gmpg.org/xfn/">FOAF</a> therefore not getting picked up by the
<a href="http://code.google.com/apis/socialgraph/docs/">SocialGraph API</a>. For example,
if I linked to my <a href="http://maybe-not.net/" title="Laura's blog">girlfriend's blog</a>,
the blogroll just lists this as</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="html"><code><span class="line"><span style="color:#F8F8F2">&lt;</span><span style="color:#fa4f8d">a</span><span style="color:#A6E22E"> href</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">'http://maybe-not.net/'</span><span style="color:#A6E22E"> target</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">'_blank'</span><span style="color:#F8F8F2">&gt;Maybe-Not&lt;/</span><span style="color:#fa4f8d">a</span><span style="color:#F8F8F2">&gt;</span></span></code></pre>
<p>A better link, for example from a <a href="http://www.wordpress.org">wordpress</a>
blogroll would look something like</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="html"><code><span class="line"><span style="color:#F8F8F2">&lt;</span><span style="color:#fa4f8d">a</span><span style="color:#A6E22E"> href</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"http://maybe-not.net/"</span><span style="color:#A6E22E"> rel</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"friend sweetheart"</span><span style="color:#A6E22E"> title</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"Laura</span><span style="color:#AE81FF">&amp;#8217;</span><span style="color:#E6DB74">s blog"</span><span style="color:#F8F8F2">&gt;Maybe-Not&lt;/</span><span style="color:#fa4f8d">a</span><span style="color:#F8F8F2">&gt;</span><span style="color:#f55b5b">&lt;</span><span style="color:#F8F8F2"> </span></span></code></pre>
<p>...and get picked up but the SocialGraph as having a relationship to me.
Blogger is great and I love using it, but the features of wordpress are
blowing it out of the water.</p>
]]></content:encoded></item>
<item><title>Update Google Talk status with Twitter</title><description>I've had this idea in my head for a while and just got it to work this
morning. Basically you send a tweet from Twitter and
this script runs, picks up your current twitter status, and if need be,
updates your gChat status. I'm working on a service version of this where you
could use gpowered.net to do all this for you. Stay tuned =) If I change the
version of the script that I have running in the service, you will be able to
see the source code that I have checked in here For those of you that don't know…</description><link>https://timbroder.com/2008/03/update-google-talk-status-with-twitter/</link><guid isPermaLink="false">https://timbroder.com/2008/03/update-google-talk-status-with-twitter</guid><pubDate>Sun, 30 Mar 2008 23:11:00 GMT</pubDate><content:encoded><![CDATA[<p>I've had this idea in my head for a while and just got it to work this
morning.</p>
<p>Basically you send a tweet from <a href="http://twitter.com/broderboy">Twitter</a> and
this script runs, picks up your current twitter status, and if need be,
updates your gChat status. I'm working on a service version of this where you
could use gpowered.net to do all this for you. Stay tuned =) If I change the
version of the script that I have running in the service, you will be able to
see the source code that I have checked in <a href="http://code.google.com/p/gpowered/source/browse/trunk/gpowered/scripts/twitter2gChat.py">here</a></p>
<p>For those of you that don't know what Twitter is: _<br>
"Twitter is a free social networking and micro-blogging service that allows
users to send "updates" (or "tweets"; text-based posts, up to 140 characters
long) to the Twitter website, via short message service (e.g. on a cell
phone), instant messaging, or a third-party application such as Twitterrific
or Facebook. Updates are displayed on the user's profile page and instantly
delivered to other users who have signed up to receive them. The sender can
restrict delivery to those in his or her circle of friends (delivery to
everyone is the default). Users can receive updates via the Twitter website,
instant messaging, SMS, RSS, email or through an application. For SMS, four
gateway numbers are currently available: short codes for the USA, Canada, and
India, as well as a UK number for international use. Several third parties
offer posting and receiving updates via email."
(<a href="http://en.wikipedia.org/wiki/Twitter">Wikipidia</a>)_</p>
<p>Requirements:<br>
<a href="http://xmpppy.sourceforge.net/">xmpppy</a><br>
<a href="http://code.google.com/p/python-twitter/">python-twitter</a></p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="plaintext"><code><span class="line"><span>import sys, xmpp, os, twitter</span></span>
<span class="line"><span></span></span>
<span class="line"><span>class Twitter2gChat:</span></span>
<span class="line"><span>    </span></span>
<span class="line"><span>    twitter_login = os.environ['TWITTER_LOGIN']</span></span>
<span class="line"><span>    twitter_pass = os.environ['TWITTER_PASS']</span></span>
<span class="line"><span>    google_login = os.environ['GOOGLE_LOGIN']</span></span>
<span class="line"><span>    google_pass = os.environ['GOOGLE_PASS']</span></span>
<span class="line"><span></span></span>
<span class="line"><span>    twitter_status = None</span></span>
<span class="line"><span>    updated = False</span></span>
<span class="line"><span>    catches = 0</span></span>
<span class="line"><span>    </span></span>
<span class="line"><span>    #keep looping and wait for xmpp response</span></span>
<span class="line"><span>    def GoOn(self,conn):</span></span>
<span class="line"><span>        while self.StepOn(conn):</span></span>
<span class="line"><span>            pass</span></span>
<span class="line"><span>    </span></span>
<span class="line"><span>    #keep listening for responses</span></span>
<span class="line"><span>    def StepOn(self,conn):</span></span>
<span class="line"><span>        try:</span></span>
<span class="line"><span>            conn.Process(1)</span></span>
<span class="line"><span>        except KeyboardInterrupt:</span></span>
<span class="line"><span>                return 0</span></span>
<span class="line"><span>        return 1</span></span>
<span class="line"><span></span></span>
<span class="line"><span>    #handle responses</span></span>
<span class="line"><span>    def iqHandler(self, conn,iq_node):</span></span>
<span class="line"><span>        print 'in iqHandler'</span></span>
<span class="line"><span>        self.catches = self.catches + 1</span></span>
<span class="line"><span>        </span></span>
<span class="line"><span>        #we have looped enough, die</span></span>
<span class="line"><span>        if self.catches == 4:</span></span>
<span class="line"><span>            print 'i think we did it'</span></span>
<span class="line"><span>            sys.exit(0)</span></span>
<span class="line"><span>        </span></span>
<span class="line"><span>        #print response, don't need to send anything back    </span></span>
<span class="line"><span>        if self.updated == True:</span></span>
<span class="line"><span>            print iq_node</span></span>
<span class="line"><span>        </span></span>
<span class="line"><span>        #havn't updated yet, sent status update</span></span>
<span class="line"><span>        else:</span></span>
<span class="line"><span>            #we can build of response</span></span>
<span class="line"><span>            node = iq_node.getChildren()[0]</span></span>
<span class="line"><span>            </span></span>
<span class="line"><span>            #remove what we don't ned</span></span>
<span class="line"><span>            node.delAttr('status-list-max')</span></span>
<span class="line"><span>            node.delAttr('status-max')</span></span>
<span class="line"><span>            node.delAttr('status-list-contents-max')</span></span>
<span class="line"><span>            iq_node.delAttr('from')</span></span>
<span class="line"><span>            iq_node.delAttr('type')</span></span>
<span class="line"><span>            iq_node.delAttr('to')</span></span>
<span class="line"><span>           </span></span>
<span class="line"><span>           #update the current status</span></span>
<span class="line"><span>            curr_status = node.getChildren()[0]</span></span>
<span class="line"><span>            </span></span>
<span class="line"><span>            #no need to update</span></span>
<span class="line"><span>            if curr_status.getData() == self.twitter_status:</span></span>
<span class="line"><span>                print 'status is already tweet'</span></span>
<span class="line"><span>                sys.exit(0)</span></span>
<span class="line"><span>                </span></span>
<span class="line"><span>            curr_status.setData(self.twitter_status)</span></span>
<span class="line"><span></span></span>
<span class="line"><span>            #set response</span></span>
<span class="line"><span>            iq_node.setType('set')</span></span>
<span class="line"><span>            </span></span>
<span class="line"><span>            print 'sending'</span></span>
<span class="line"><span>            print iq_node</span></span>
<span class="line"><span>            self.updated = True</span></span>
<span class="line"><span>            conn.send(iq_node)</span></span>
<span class="line"><span>            print 'end of iqHandler\n\n'</span></span>
<span class="line"><span></span></span>
<span class="line"><span>    #start talking to the server and update status</span></span>
<span class="line"><span>    def updateGtalkStatus(self):</span></span>
<span class="line"><span>        </span></span>
<span class="line"><span>        #connect</span></span>
<span class="line"><span>        jid=xmpp.protocol.JID(self.google_login)</span></span>
<span class="line"><span>        cl=xmpp.Client(jid.getDomain(),debug=[])</span></span>
<span class="line"><span>        if not cl.connect(('talk.google.com',5222)):</span></span>
<span class="line"><span>            print 'Can not connect to server.'</span></span>
<span class="line"><span>            sys.exit(1)</span></span>
<span class="line"><span>        if not cl.auth(jid.getNode(),self.google_pass):</span></span>
<span class="line"><span>            print 'Can not auth with server'</span></span>
<span class="line"><span>            sys.exit(1)</span></span>
<span class="line"><span>            </span></span>
<span class="line"><span>        #build query to get current status</span></span>
<span class="line"><span>        iq = xmpp.Iq()</span></span>
<span class="line"><span>        iq.setType('get')</span></span>
<span class="line"><span>        iq.setTo('timothy.broder@gmail.com')</span></span>
<span class="line"><span></span></span>
<span class="line"><span>        node = xmpp.Node()</span></span>
<span class="line"><span>        node.setName('query')</span></span>
<span class="line"><span>        node.setAttr('xmlns', 'google:shared-status')</span></span>
<span class="line"><span></span></span>
<span class="line"><span>        iq.addChild(node=node) </span></span>
<span class="line"><span>        print iq</span></span>
<span class="line"><span></span></span>
<span class="line"><span>        #register with server and send subscribe to status updates</span></span>
<span class="line"><span>        cl.RegisterHandler('iq',self.iqHandler)</span></span>
<span class="line"><span>        cl.send(iq)</span></span>
<span class="line"><span></span></span>
<span class="line"><span>        self.GoOn(cl)</span></span>
<span class="line"><span>        cl.disconnect()</span></span>
<span class="line"><span>        </span></span>
<span class="line"><span>    #get current twitter status</span></span>
<span class="line"><span>    def getTwitterStatus(self):</span></span>
<span class="line"><span>        api = twitter.Api(username=self.twitter_login, password=self.twitter_pass)</span></span>
<span class="line"><span>        self.twitter_status = api.GetUserTimeline(self.twitter_login, 1)[0].text</span></span>
<span class="line"><span>        </span></span>
<span class="line"><span>        #don't want to use replies</span></span>
<span class="line"><span>        if self.twitter_status.find('@') &gt;= 0:</span></span>
<span class="line"><span>            sys.exit(0)</span></span>
<span class="line"><span></span></span>
<span class="line"><span>t = Twitter2gChat()</span></span>
<span class="line"><span>t.getTwitterStatus()</span></span>
<span class="line"><span>t.updateGtalkStatus()</span></span></code></pre>
]]></content:encoded></item>
<item><title>Ressurection</title><description>Hi all, I've been away for a while and for this I apologize. It's been a combination
of work, real life, and traveling (both for work and for fun). Since my last
post I've been to Tokyo, Southern Ireland, Paris, London, and Colorado, the
longest stint being in London where I was working for a while. Check out my
photos below. A lot has happened in my absence. At the top of my list are
Android, Open
Social, the Social
Graph, and many many more. Just this
morning RIM released an eclipse plugin for their IDE…</description><link>https://timbroder.com/2008/03/ressurection/</link><guid isPermaLink="false">https://timbroder.com/2008/03/ressurection</guid><pubDate>Wed, 19 Mar 2008 02:15:00 GMT</pubDate><content:encoded><![CDATA[<p>Hi all,</p>
<p>I've been away for a while and for this I apologize. It's been a combination
of work, real life, and traveling (both for work and for fun). Since my last
post I've been to Tokyo, Southern Ireland, Paris, London, and Colorado, the
longest stint being in London where I was working for a while. Check out my
photos below.</p>
<p>A lot has happened in my absence. At the top of my list are
<a href="http://code.google.com/android">Android,</a> <a href="http://code.google.com/apis/opensocial">Open
Social</a>, the <a href="http://code.google.com/apis/socialgraph">Social
Graph</a>, and many many more. Just this
morning RIM released an eclipse plugin for their IDE (the original one was a
royal pain to get working on Linux). Expect me to try to get some Google API's
running on it quite soon ;-)</p>
<p>I'm toying with changing the format of the blog slightly: less articles, more
content in each post. I would love to do a couple of posts each day like I
used to but with work I just don't have the time. I work on <a href="http://www.lehman.com">Lehman
Brother's</a> Brokerage Calculation Engine, and believe
me, it never sleeps.</p>
<p>I do have quite a few projects in the works though and I'll be posting about
them soon: I want to try to get Google Bookmarks into a BlackBerry app,
another side project to track online social web presence, and another
involving <a href="http://twitter.com/broderboy">twitter</a> (which i joined a little
while ago) and gChat. Should be fun, stay tuned ;)</p>
<h2 id=""><a href="http://picasaweb.google.com/timothy.broder/Ireland"><img src="https://timbroder.com/images/missing-image.svg" alt=""></a></h2>
<h2 id="ireland"><a href="http://picasaweb.google.com/timothy.broder/Ireland">Ireland</a><br>
<a href="http://picasaweb.google.com/timothy.broder/Paris"><img src="https://timbroder.com/images/missing-image.svg" alt=""></a></h2>
<p><a href="http://picasaweb.google.com/timothy.broder/Paris">Paris</a></p>
<h2 id="-1"><a href="http://picasaweb.google.com/timothy.broder/London"><img src="https://timbroder.com/images/missing-image.svg" alt=""></a></h2>
<h2 id="london"><a href="http://picasaweb.google.com/timothy.broder/London">London</a><br>
<a href="http://picasaweb.google.com/timothy.broder/VisitingSeanInColorado"><img src="https://timbroder.com/images/missing-image.svg" alt=""></a></h2>
<p><a href="http://picasaweb.google.com/timothy.broder/VisitingSeanInColorado">Visiting Sean in
Colorado</a></p>
]]></content:encoded></item>
<item><title>gPhone, or lack there of</title><description>To be honest, when I heard that Google was going to announce whatever it is
they have been working on with a "gPhone" I was really excited. The
announcement of Android, their new open mobile platform is cool and all, but I
was a little disappointed. Granted thats because might have been expecting
something as cool as the iPhone, or that I desperately need a new phone. I've
been following the openmoko project and its going
to be intersting how Android compares to it. For the full Android story, check
out…</description><link>https://timbroder.com/2007/11/gphone-or-lack-there-of/</link><guid isPermaLink="false">https://timbroder.com/2007/11/gphone-or-lack-there-of</guid><pubDate>Thu, 08 Nov 2007 01:09:00 GMT</pubDate><content:encoded><![CDATA[<p>To be honest, when I heard that Google was going to announce whatever it is
they have been working on with a "gPhone" I was really excited. The
announcement of Android, their new open mobile platform is cool and all, but I
was a little disappointed. Granted thats because might have been expecting
something as cool as the iPhone, or that I desperately need a new phone. I've
been following the <a href="http://www.openmoko.com/">openmoko</a> project and its going
to be intersting how Android compares to it. For the full Android story, check
out these articles</p>
<ul>
<li><a href="http://googleblog.blogspot.com/2007/11/wheres-my-gphone.html">Where's my Gphone?</a></li>
<li><a href="http://gizmodo.com/gadgets/gphone/analysis-the-android-google-phone-and-the-four-carriers-319127.php">Analysis: Google's Android Phone and the Four Carriers</a></li>
<li><a href="http://mashable.com/2007/11/05/google-android/">GPhone: The Facts are In; Google Launching Open Mobile Platform</a></li>
<li><a href="http://mashable.com/2007/11/04/gphone-european-exec-confirms-its-existence/">gPhone: European Exec Confirms Its Existence</a></li>
<li><a href="http://googlesystem.blogspot.com/2007/11/google-launches-android-open-mobile.html">Google Launches Android, an Open Mobile Platform</a></li>
<li><a href="http://googlified.com/2007google-phone-announced/">Google Phone Announced</a></li>
<li><a href="http://rejon.org/2007/11/05/open-mobile-space-growing/">Open Mobile Space Growing</a></li>
<li><a href="http://blogoscoped.com/archive/2007-11-05-n74.html">Android: The "Gphone" Mobile Platform</a></li>
<li><a href="http://www.nytimes.com/2007/11/04/technology/04google.html?_r=1&amp;pagewanted=all">I, Robot: The Man Behind the Google Phone</a></li>
</ul>
]]></content:encoded></item>
<item><title>October Speedlinking</title><description>I haven't been able to post as often or as in depth as I'd like to have this
past month. I chalk it up mostly to work, we all love 12 hour days right? But
now that sign-off has passed and our last release of 2007 is calmly
approaching (its on Friday), things have settled down a bit. Below are some
great links from October, most of which I wanted to mention at some point and
haven't gotten a chance to until now. Enjoy. The JavaScript Library for Google Calendar was released. This allows for authenticated…</description><link>https://timbroder.com/2007/11/october-speedlinking/</link><guid isPermaLink="false">https://timbroder.com/2007/11/october-speedlinking</guid><pubDate>Mon, 05 Nov 2007 23:17:00 GMT</pubDate><content:encoded><![CDATA[<p>I haven't been able to post as often or as in depth as I'd like to have this
past month. I chalk it up mostly to work, we all love 12 hour days right? But
now that sign-off has passed and our last release of 2007 is calmly
approaching (its on Friday), things have settled down a bit. Below are some
great links from October, most of which I wanted to mention at some point and
haven't gotten a chance to until now. Enjoy.</p>
<ul>
<li>
<p>The <a href="http://googlemashupeditor.blogspot.com/2007/09/authenticated-calendar-support-via-new.html">JavaScript Library</a> for Google Calendar was released. This allows for authenticated, cross domain access. Hopefully Picasa Web will follow suit.</p>
</li>
<li>
<p><a href="http://googlewebtoolkit.blogspot.com/2007/09/gwt-application-development-for-iphone.html">GWT</a> goes to the iPhone</p>
</li>
<li>
<p>The <a href="http://googledataapis.blogspot.com/2007/09/python-client-library-same-great-taste.html">Python Client Library</a> came out with version 1.0.8</p>
</li>
<li>
<p>The <a href="http://gearsblog.blogspot.com/2007/09/digg-oracle-using-workerpool-as-well-as.html">Digg Oracle</a> demonstrates Gears' Worker Pool</p>
</li>
<li>
<p>Google's <a href="http://googlified.com/2007google-stock-passes-600-mark/#comment-17313">Stock broke $600</a>. It is now well over $700</p>
</li>
<li>
<p><a href="http://mashable.com/2007/10/08/orkut/">Orkut</a> ramps up for a US push</p>
</li>
<li>
<p><a href="http://gearsblog.blogspot.com/2007/10/vortex-simple-new-offline-and-sync.html">Vortex</a> combines the know-how of Dojo and Gears</p>
</li>
<li>
<p><a href="http://googlemapsapi.blogspot.com/2007/10/labeledmarker-v11-now-supporting-marker.html">LabeledMarker v1.1</a> in Google Maps comes out with Marker and Label toggling</p>
</li>
<li>
<p>Google Reader comes out with <a href="http://googlesystem.blogspot.com/2007/10/find-number-of-google-subscribers-for.html">Subscriber stats</a>. Read about the controversy <a href="https://timbroder.com/2007/10/google-reader-stats-out-of-wack/">here</a>. Google responds <a href="http://googlereader.blogspot.com/2007/10/subscriber-stats-summed-up.html">here</a></p>
</li>
<li>
<p><a href="http://googlesystem.blogspot.com/2007/10/google-maps-becomes-social.html">Google Maps Goes Social</a></p>
</li>
<li>
<p>The <a href="http://googleajaxsearchapi.blogspot.com/2007/10/direct-access-to-youtube-channels.html">AJAX Search API</a> gives direct access to YouTube Channels</p>
</li>
<li>
<p>Blogger GData JavaScript client library released with <a href="http://google-code-updates.blogspot.com/2007/10/blogger-gdata-javascript-client-library.html">offline Blogger client example</a></p>
</li>
<li>
<p>Google Code Search <a href="http://google-code-updates.blogspot.com/2007/10/tell-us-about-code-on-your-site-with.html">goes to SiteMaps</a></p>
</li>
<li>
<p>The Ajax API gets <a href="http://googleajaxsearchapi.blogspot.com/2007/10/ajax-feed-api-addition-dynamic-feed.html">Dynamic Feed Control</a></p>
</li>
<li>
<p>You can now play <a href="http://google-latlong.blogspot.com/2007/10/now-playing-youtube-videos-in-google.html">Youtube videos in Google Earth</a></p>
</li>
<li>
<p>Summer of code wrapped up with <a href="http://google-code-updates.blogspot.com/2007/10/wrapping-up-our-third-summer-of-code.html">Graduation</a></p>
</li>
<li>
<p><a href="http://mashable.com/2007/10/24/google-finance-gadgets/">Google Finance adds new Gadgets and an API</a></p>
</li>
<li>
<p>YouTubes player becomes <a href="http://googlesystem.blogspot.com/2007/10/customize-youtubes-player.html">Customizable</a></p>
</li>
<li>
<p>A Greasemonkey script lets you have <a href="http://googlesystem.blogspot.com/2007/10/nested-folders-in-gmail.html">nested folders</a> in Gmail</p>
</li>
<li>
<p>Blogger adds <a href="http://buzz.blogger.com/2007/10/subscribe-to-comments-by-email.html">Comment Notification</a></p>
</li>
<li>
<p>Google <a href="http://www.entrepreneurs-journey.com/864/possible-explanations-for-the-pagerank-penalty-sweep/"> cracks down</a> on pages selling PageRank links</p>
</li>
<li>
<p>Google contributes to <a href="http://mashable.com/2007/10/25/mysql-google/">MySQL</a></p>
</li>
<li>
<p>Google Mac <a href="http://googlemac.blogspot.com/2007/10/google-desktop-update-for-leopard.html">updates Leopard</a></p>
</li>
<li>
<p>Gmail <a href="http://gmailblog.blogspot.com/2007/10/sync-your-inbox-across-devices-with.html">enables IMAP</a></p>
</li>
<li>
<p>Google Maps gets <a href="http://googlemapsapi.blogspot.com/2007/10/clickable-polys-old-school-image-maps.html">Clickable Polygons</a></p>
</li>
<li>
<p>There is now a wizard for adding <a href="http://bloggerindraft.blogspot.com/2007/10/new-feature-gadgets-for-your-blog.html">Google Gadgets to your blog</a></p>
</li>
<li>
<p>Webmaster central fixes the <a href="http://googlewebmastercentral.blogspot.com/2007/10/dealing-with-sitemap-cross-submissions.html">Cross Domain Sitemap errors</a></p>
</li>
<li>
<p>Google maps <a href="https://feeds.feedburner.com/~r/OfficialGoogleMapsApiBlog/~3/174019883/make-your-kml-flash-y.html">adds Flash Content</a> into KLM</p>
</li>
<li>
<p><a href="http://googlesystem.blogspot.com/2007/11/google-notebook-adds-labels-and.html">Google Notebook adds labels and bookmarks</a></p>
</li>
<li>
<p>Blog Search is <a href="http://googlesystem.blogspot.com/2007/11/blog-search-included-in-google-history.html">now included</a> in Google History</p>
</li>
<li>
<p>A cheap "<a href="http://googlesystem.blogspot.com/2007/11/tentative-google-pc.html">Google PC</a>" is on the market</p>
</li>
<li>
<p>A new <a href="http://googlesystem.blogspot.com/2007/10/google-photo-picker.html">Photo Picker</a> for Gmail and Orkut pulls from Picasa</p>
</li>
<li>
<p>GTalk may soon be able to <a href="http://googlesystem.blogspot.com/2007/10/google-to-connect-to-other-im-networks.html">connect to other networks</a> like AIM and Yahoo! Talk</p>
</li>
<li>
<p>The <a href="http://googlesystem.blogspot.com/2007/10/gmails-new-version-is-now-available.html">new version</a> of Gmail comes out</p>
</li>
<li>
<p>Google Code gets a <a href="http://googlified.com/2007new-google-code/">facelift</a></p>
</li>
<li>
<p>Webmaster Tools gets <a href="http://googlified.com/2007set-geographic-target-in-webmaster-tools/">Geographic Targeting</a></p>
</li>
<li>
<p>The Google Gadget Directory gets a <a href="http://blogoscoped.com/archive/2007-11-01-n78.html">facelift</a></p>
</li>
<li>
<p>Microsoft is going to release the <a href="http://mashable.com/2007/11/04/microsoft-sync-framework/">Microsoft Sync Framework</a> to compete with Gears</p>
</li>
<li>
<p>Picasa Web gets <a href="http://googlephotos.blogspot.com/2007/11/better-connections-with-picasa-web.html">opened</a>. (Flikr can transfer a picasa album to itself)</p>
</li>
<li>
<p>Webmasters can now <a href="http://googlewebmastercentral.blogspot.com/2007/10/webmasters-can-now-provide-feedback-on.html">provide feedback</a> on sitelinks</p>
</li>
<li>
<p><a href="http://gearsblog.blogspot.com/2007/10/bloggears-offline-blogger-client.html">Blog.gears</a> comes out</p>
</li>
<li>
<p>Mapplets gets a documentation and example <a href="http://googlemapsapi.blogspot.com/2007/10/updated-documentation-examples-for.html">update</a></p>
</li>
<li>
<p>New articles are posted for <a href="http://googlemapsapi.blogspot.com/2007/10/kml-articles-abound-its-about-time.html">KML</a></p>
</li>
<li>
<p>The Ajax slideshow gets a full <a href="http://googleajaxsearchapi.blogspot.com/2007/10/slide-show-update-full-control-panel.html">Control Panel</a></p>
</li>
<li>
<p><a href="http://googlemapsapi.blogspot.com/2007/10/map-of-dead-screen-overlayed-shoot-em_31.html">Map of the Dead!!</a> Google Maps overlay shooting game!</p>
</li>
</ul>
]]></content:encoded></item>
<item><title>Linux Distro Popularity According to Google</title><description>Over the years I've used a variety of Linux Distros: Mandrake, Red Hat,
FreeBSD, Fedora, Gentoo, and Ubuntu. Distrowatch
keeps track of everything we need to know about the distros, and recently
there has been an enormous push in desktop Linux thanks to Dell putting Ubuntu
on desktops and Compiz-Fusion bringing snazzy
eye candy to even low end machines. Distrowatch gives some pretty decent stats
on the main Distros but for a while I've wanted to know how Google sees their
popularity; mainly by how many…</description><link>https://timbroder.com/2007/10/linux-distro-popularity-according-to/</link><guid isPermaLink="false">https://timbroder.com/2007/10/linux-distro-popularity-according-to</guid><pubDate>Tue, 30 Oct 2007 02:30:00 GMT</pubDate><content:encoded><![CDATA[<p>Over the years I've used a variety of Linux Distros: Mandrake, Red Hat,
FreeBSD, Fedora, Gentoo, and Ubuntu. <a href="http://distrowatch.com/">Distrowatch</a>
keeps track of everything we need to know about the distros, and recently
there has been an enormous push in desktop Linux thanks to Dell putting Ubuntu
on desktops and <a href="http://www.compiz-fusion.org">Compiz-Fusion</a> bringing snazzy
eye candy to even low end machines. Distrowatch gives some pretty decent stats
on the main Distros but for a while I've wanted to know how Google sees their
popularity; mainly by how many pages mention specific distros.</p>
<p>Using some python, a spreadsheet, and a little scraping, I was able to get my
answer. To see how Google would rank different distros I'm using the number of
results Google returns when searching for the Distro's name as my numbers. I'm
going to write a HOWTO on the technical aspects of what I did sometime this
week, but here are the basic steps</p>
<ol>
<li>In a Google Spreadsheet I made a sheet that held the names of the top distros on Distrowatch.</li>
<li>Another sheet holds the full list from distro watch (366 on record at the time of this writing)</li>
<li>I set up a dapp to take these names, and return the number of results Google would have if you searched them</li>
<li>A python script pulls the distros out of the spreadsheet, queries the dapp, and puts the results back into another sheet</li>
</ol>
<p>I have 2 sets of results. One is a query using the vanilla list out of the
spreadsheet. The second is appending the word Linux to the distro if it does
not already have it as the title, I was curious as to how this would effect
the results. Below are the results of the most popular Distros on Distrowatch.
Look, Ubuntu! The spreadsheet that has all of the findings (and all 366
distros) is shared
<a href="https://spreadsheets.google.com/pub?key=p919ps7OYXvugbqx9SegSTw">here</a></p>
<table>
<thead>
<tr>
<th><strong>Distro</strong></th>
<th><strong>Page Hist</strong></th>
</tr>
</thead>
<tbody>
<tr>
<td>Ubuntu</td>
<td>96,800,000</td>
</tr>
<tr>
<td>FreeBSD</td>
<td>36,700,000</td>
</tr>
<tr>
<td>Fedora</td>
<td>35,800,000</td>
</tr>
<tr>
<td>openSuse</td>
<td>29,500,000</td>
</tr>
<tr>
<td>Debian Linux</td>
<td>28,100,000</td>
</tr>
<tr>
<td>KNOPPIX</td>
<td>12,500,000</td>
</tr>
<tr>
<td>Mandriva Linux</td>
<td>5,720,000</td>
</tr>
<tr>
<td>Gentoo Linux</td>
<td>4,430,000</td>
</tr>
<tr>
<td>PCLinuxOS</td>
<td>3,170,000</td>
</tr>
<tr>
<td>Slackware Linux</td>
<td>3,010,000</td>
</tr>
<tr>
<td>MEPIS Linux</td>
<td>1,640,000</td>
</tr>
</tbody>
</table>
<p><img src="https://timbroder.com/images/missing-image.svg" alt="Distro Chart"></p>
<p>Stay tuned for the code behind it!
<a href="https://feeds.feedburner.com/gPpowered">Subscribe</a> to the feed to get more
updates.</p>
]]></content:encoded></item>
<item><title>Google Overheard in the Office</title><description>A few days ago I posted some Overheard in New York
Google Posts. Today is some Overhead in the
Office. It's not quite as good as the
orriginal, but the office posts are still really funny. If you like these,
subscribe to the feed, enjoy! No Problem, Then 
Coworker #1 on speakerphone: How do I Google something? 
Coworker #2: Go to W-W-W dot Google dot com. Then just use it like any other
search engine. 
Coworker #1: What's a search engine? 
Coworker #2: You know, like when you use Yahoo or MSN to look…</description><link>https://timbroder.com/2007/10/google-overheard-in-office/</link><guid isPermaLink="false">https://timbroder.com/2007/10/google-overheard-in-office</guid><pubDate>Fri, 26 Oct 2007 01:20:00 GMT</pubDate><content:encoded><![CDATA[<p>A few days ago I <a href="https://timbroder.com/2007/10/google-overheard-in-new-york/">posted</a> some <a href="https://timbroder.com/2007/10/google-overheard-in-office/www.overheardinnewyork.com">Overheard in New York</a>
Google Posts. Today is some <a href="http://www.overheardintheoffice.com">Overhead in the
Office</a>. It's not quite as good as the
orriginal, but the office posts are still really funny. If you like these,
<a href="http://www.overheardintheoffice.com/atom.xml">subscribe</a> to the feed, enjoy!</p>
<p><strong>No Problem, Then</strong><br>
Coworker #1 on speakerphone: How do I Google something?<br>
Coworker #2: Go to W-W-W dot Google dot com. Then just use it like any other
search engine.<br>
Coworker #1: What's a search engine?<br>
Coworker #2: You know, like when you use Yahoo or MSN to look something up.<br>
Coworker #1: I've never Googled before in my life, and I never want to again!</p>
<p>Overheard by: it actually got worse</p>
<p><strong>Or Time Management. Whatever.</strong><br>
Office manager: I'm going to Google time travel!</p>
<p><strong>What Happens When You Use Google China</strong><br>
Office manager: Civil War Battlefield Protection, how can I help you?<br>
Woman on phone: Yes, I'm trying to find information on the Civil War and I
just can't.<br>
Office manager: Well, have you tried the internet?<br>
Woman: Yes, I typed "Civil War" into Google and NOTHING comes up on the Civil
War.<br>
Office manager: ...Really?<br>
Woman: Yes... so can you tell me who was in the Civil War?<br>
Office manager: That would be the northern states and the southern states.<br>
Woman: Not the British?<br>
Office manager: Um, that was the Revolutionary War.<br>
Overheard by: Astonished</p>
<p><strong>Just Scan in His Photo and Use Face-Recognition Google</strong><br>
Boss: I went to school with this guy...I don't remember his name, but he just
became the president of some real estate development company in DC. Can you
look him up on the internet? I'd like to send him a note.</p>
<p><strong>I Think You'll Like the Results</strong><br>
Boss : What is that red thing on top of a rooster's head called? I can't find
a description anywhere on the Internet.<br>
Employee: Just Google 'cock' and 'diagram.'</p>
<p><strong>Internship</strong><br>
Boss: How many servers do you think Google has?<br>
Lackey: Infinite.<br>
Boss: Infinite? You're a retard.<br>
Overheard by: choking on a brownie</p>
<p><strong>Technical Know-How</strong><br>
Boss on phone: Wait, wait, wait, does your computer have Google on it? Yeah,
just type it in there.</p>
<p><strong>Update PR File</strong><br>
CTO: My interview article is in USA Today!<br>
Programer: Can you send me the link? Never mind, I'll just Google "USA Today"</p>
<p><strong>Back to Work</strong><br>
Engineer: I'm against Google Earth! The terrorists are using it! And the
communists!</p>
<p><strong>Sensitivity Training</strong><br>
Boss: So what's the going rate for hiring midgets these days?<br>
Boss: Yeah, I'm sure you can just fire up Google and type in "Midget to hire
tri-state" and somthin's gonna pop up.</p>
<p><strong>Send Out Press Release</strong><br>
Boss: So see if you can find these people's email addresses.<br>
Intern: ...You want me to find Desmond Tutu's email address?<br>
Boss: Try Google if you get stumped.</p>
<p><strong>Back to Work</strong><br>
Producer: My friend went to the Galapagos Islands and was astounded. They have
birds called blue boobies. Google "blue boobies". You'll see pictures of them.<br>
Suit: I'm not searching for blue boobies on my computer. I'll get called into
the office for a talk.<br>
Producer: Oh, I'll do it...see?<br>
Suit: Wow, who would have thought that would't have brought up a porn site?</p>
<p><strong>Scan PC</strong><br>
Tech: Oh crap, I've been infected by Google.</p>
<p><strong>Install Yahoo!</strong><br>
Boss: Do we have Google installed on our internet?<br>
IT guy: We put it on your machine yesterday.</p>
]]></content:encoded></item>
<item><title>Google Reader stats out of Wack</title><description>First, Techcrunch came up with a list of the top blogs that users subscribe to using
Google Reader. The top 3 on the list were BBC with 202,463, Google News wih
192,100, and ESPN with 189,274 . Remember, these are only the stats if the
subscriber is using Google Reader, obviously there are blogs with a higher
subscription count, such as the Official Google
Blog (They still haven't moved over to
blogs.google.com eh?) with over 669,000 subscribers as reported by FeedBurner. It was all well and good that…</description><link>https://timbroder.com/2007/10/google-reader-stats-out-of-wack/</link><guid isPermaLink="false">https://timbroder.com/2007/10/google-reader-stats-out-of-wack</guid><pubDate>Thu, 25 Oct 2007 00:27:00 GMT</pubDate><content:encoded><![CDATA[<p>First, <a href="https://www.techcrunch.com/2007/10/14/top-blogs-on-google-reader/">Techcrunch</a> came up with a list of the top blogs that users subscribe to using
Google Reader. The top 3 on the list were BBC with 202,463, Google News wih
192,100, and ESPN with 189,274 . Remember, these are only the stats if the
subscriber is using Google Reader, obviously there are blogs with a higher
subscription count, such as the <a href="http://googleblog.blogspot.com/">Official Google
Blog</a> (They still haven't moved over to
blogs.google.com eh?) with over 669,000 subscribers as reported by FeedBurner.</p>
<p>It was all well and good that Google Reader showed high stats for these blogs,
but.... we were apparently duped...</p>
<p>In his article <a href="http://mashable.com/2007/10/15/google-reader-stats-are-bullshit-with-proof/">Google Reader Stats are BullSh*t (With
Proof)</a>, Pete Cashmore goes into his explanation of the "default feed effect."
A default feed is a feed that comes already subscribed in a news aggregator ,
or is part of a default group (like say Digg, Engadget, and Gizmodo being in
the Technology group on Google Reader). Being in these groups is a major
traffic boost.</p>
<p>However the system has some flaws</p>
<ul>
<li>There is subscription data for feeds that don't exist</li>
<li>Google Reader does not check to see if a subscriber is active or not. (Someone signs up for Reader, adds a feed, and never touches Reader again, they count as a subscriber)</li>
<li>Feedburner pulls some stats from Google Reader</li>
<li>This problem is not limited to Google Reader. It includes many feed readers and start pages</li>
</ul>
<p>Tune in next time after I do some research into how out wack FeedBurner
statistics are.</p>
]]></content:encoded></item>
<item><title>New Blog Address</title><description>After doing quite a bit of reading over at Yaro Starak's Entrepreneur's
Journey and Darren Rowse's
ProBlogger.net I've decided to move gPowered onto my
domain at http://blog.gpowered.net/. Over the coming days/weeks I'll be updating the template on the rest of the
domain to coincide more with the blog, as well as adding the top menu to the
blog. The blog is still powered by blogger and the old address nicely forwards
to the new one, posts included. I also updated the FeedBurner
feed so if you use that to…</description><link>https://timbroder.com/2007/10/new-blog-address-23/</link><guid isPermaLink="false">https://timbroder.com/2007/10/new-blog-address_23</guid><pubDate>Tue, 23 Oct 2007 23:34:00 GMT</pubDate><content:encoded><![CDATA[<p>After doing quite a bit of reading over at Yaro Starak's <a href="http://www.entrepreneurs-journey.com/">Entrepreneur's
Journey</a> and Darren Rowse's
<a href="http://problogger.net">ProBlogger.net</a> I've decided to move gPowered onto my
domain at <a href="https://timbroder.com/">http://blog.gpowered.net/</a>.</p>
<p>Over the coming days/weeks I'll be updating the template on the rest of the
domain to coincide more with the blog, as well as adding the top menu to the
blog. The blog is still powered by blogger and the old address nicely forwards
to the new one, posts included. I also updated the <a href="https://feeds.feedburner.com/gPpowered">FeedBurner
feed</a> so if you use that to subscribe
you shouldn't have to change anything (although with the forwarding I don't
think it matters, but why risk it). I also set up gpowered.net and
<a href="http://www.gpowered.net">www.gpowered.net</a> to forward to the blog as the main page. Any of my python
examples will be moved from <a href="https://gpowered.net">https://gpowered.net</a> to <a href="https://gpowered.net/g/">https://gpowered.net/g/</a>. I'm
going to update all of the posts to reflect this.</p>
]]></content:encoded></item>
<item><title>Mashup of the Week</title><description>It's been a little more then a week... Chalk it up to quite a bit of
traveling. I'm around now until December, I promise ;) **This weeks winner: Mappington 
** API's used: Eventful Flickr GeoNames Google Maps Kayak Microsoft Virtual Earth Technorati Weather Channel Yahoo Answers Yahoo Local Search Yahoo Maps Yahoo Traffic Yahoo Travel YouTube Why it won: Mappington is the most inclusive map / location information hub I
have ever come across. "Mappington is a user created atlas of the world." It
covers the…</description><link>https://timbroder.com/2007/10/mashup-of-week/</link><guid isPermaLink="false">https://timbroder.com/2007/10/mashup-of-week</guid><pubDate>Tue, 23 Oct 2007 22:16:00 GMT</pubDate><content:encoded><![CDATA[<p>It's been a little more then a week... Chalk it up to quite a bit of
traveling. I'm around now until December, I promise ;)</p>
<p>**This weeks winner: <a href="http://www.mappington.com">Mappington</a><br>
** API's used:</p>
<ul>
<li><a href="http://api.eventful.com/">Eventful</a></li>
<li><a href="http://www.flickr.com/services/">Flickr</a></li>
<li><a href="http://www.geonames.org/export/">GeoNames</a></li>
<li><a href="http://www.google.com/apis/maps/">Google Maps</a></li>
<li><a href="http://developer.kayak.com/">Kayak</a></li>
<li><a href="http://dev.live.com/virtualearth">Microsoft Virtual Earth</a></li>
<li><a href="http://technorati.com/developers/">Technorati</a></li>
<li><a href="http://www.weather.com/services/xmloap.html">Weather Channel</a></li>
<li><a href="http://developer.yahoo.com/answers">Yahoo Answers</a></li>
<li><a href="http://developer.yahoo.net/search/local/">Yahoo Local Search</a></li>
<li><a href="http://developer.yahoo.com/maps/">Yahoo Maps</a></li>
<li><a href="http://developer.yahoo.com/traffic/index.html">Yahoo Traffic</a></li>
<li><a href="http://developer.yahoo.com/travel/">Yahoo Travel</a></li>
<li><a href="http://code.google.com/apis/youtube/overview.html">YouTube</a></li>
</ul>
<p>Why it won: Mappington is the most inclusive map / location information hub I
have ever come across. "Mappington is a user created atlas of the world." It
covers the following:</p>
<ul>
<li>Maps: Google Maps, Virtual Earth, Yahoo Maps, Google Earth</li>
<li>Photos: Flickr</li>
<li>Videos: Youtube</li>
<li>Wikipedia Entries</li>
<li>Opinions / Rating section</li>
<li>Social Web on Wikipedia, Facebook, del.icio.us, furl, Yahoo MyWeb, Wink, ma.gnolia, spurl</li>
<li>Discussions</li>
<li>History</li>
<li>News: Yahoo News</li>
<li>Blog: Google Blog Search, Technorati</li>
<li>Hotels</li>
<li>Flights</li>
<li>Weather: Weatherbug</li>
<li>Events: e:vene</li>
<li>Trips: Yahoo Travel</li>
</ul>
<p>The layout is crisp, clean, and easy on the eyes. There are minimal load times
and Mappington makes good use of Ajax. If you are planning a trip or just want
to explore new places, Mappington is the best place to do it. I'm definitely
going to use it to plan out my trip to Ireland in a few months.</p>
<p>What I think it could improve on:</p>
<ul>
<li>The video's don't show that you can click on them (mouse pointer does not change)</li>
<li>The photos should tap into Picasa Web also</li>
<li>In the News section, it looked like there was supposed to be a left frame (Google News maybe?) but it never loaded</li>
<li>I wish you could blow the map up full screen</li>
<li>The thumbnail view in Google Maps wasn't working</li>
<li>Mappington should build some widgets / gadgets to get more exposure on personal web pages and sites like myspace</li>
</ul>
<p><strong>Runner Ups</strong></p>
<p><a href="http://www.windsurfingclips.com/">Wind Surfing Clips</a></p>
<ul>
<li>API's: youtube</li>
<li>Clean interface</li>
<li>For such exciting and energetic video's, the template is pretty bland</li>
<li>I'd like a link to the original video on youtube</li>
</ul>
<p><a href="http://www.babynamemap.com/">Baby Name Map</a></p>
<ul>
<li>API's: Google Maps</li>
<li>Very fitting interface</li>
<li>Maps are slow</li>
<li>The Javascript pop-up UI feels very out of place compared to the site's theme</li>
</ul>
<p><a href="http://www.mynextdive.com/">My Next Dive</a></p>
<ul>
<li>API's: Google Maps</li>
<li>The popup on the main page won't go away</li>
</ul>
<p><a href="http://www.mymapchat.com/">My Map Chat</a></p>
<ul>
<li>API's: Google Maps</li>
<li>Global shout outs are very entertaining</li>
</ul>
<p><a href="http://www.zoogle.in/">Zoogle</a></p>
<ul>
<li>API's: Amazon eCommerce, CNET, del.icio.us, Digg, eBay, Flickr, Google Search, Windows Live Search, Yahoo Search, YouTube</li>
<li>The search box doesn't understand spaces?!? Ex: I put in "Tim Broder" it returned nothing and asked me if I meant "Tim+Broder" which returned some results that I expected</li>
</ul>
<p><a href="http://www.croatia-map.net/">Croatia-Map.net</a></p>
<ul>
<li>API's: Google Maps</li>
<li>Very smooth, clean, well done</li>
</ul>
<p><a href="http://www.cadoogle.com/">CADoogle</a><br>
Demonstrates Autodesk Freewheel. Allows you to search, preview, and download
publicly available CAD files indexed by Google. It is free to use and
leverages Google Search and Autodesk Freewheel Web services.</p>
<ul>
<li>API's: Autodesk Freewheel, Google Search</li>
<li>Sluggish</li>
<li>Heavy Loads</li>
</ul>
]]></content:encoded></item>
<item><title>Google Overheard in New York</title><description>If you haven't heard about Overheard in New
York ( OHNY ), or don't subscribe to it, I
can't recommend it more. It's absolutely hilarious. It's been around for a
while and is constantly updated with a dozen or so quotes a day that people
hear while walking / riding around New York City. You don't have to live in
the city to enjoy it, though you might not get all of the humor. I used
Google Reader Search to go through the feed looking for Google references.
Here are a few, note: there were a lot more but not…</description><link>https://timbroder.com/2007/10/google-overheard-in-new-york/</link><guid isPermaLink="false">https://timbroder.com/2007/10/google-overheard-in-new-york</guid><pubDate>Fri, 19 Oct 2007 00:42:00 GMT</pubDate><content:encoded><![CDATA[<p>If you haven't heard about <a href="http://www.overheardinnewyork.com">Overheard in New
York</a> ( OHNY ), or don't subscribe to it, I
can't recommend it more. It's absolutely hilarious. It's been around for a
while and is constantly updated with a dozen or so quotes a day that people
hear while walking / riding around New York City. You don't have to live in
the city to enjoy it, though you might not get all of the humor. I used
<a href="https://timbroder.com/2007/09/google-reader-adds-search-box/">Google Reader Search</a> to go through the feed looking for Google references.
Here are a few, note: there were a lot more but not all were appropriate for
all audiences.</p>
<p><strong>He's Started Scooping Matt Drudge</strong><br>
Female Google suit: How's your son doing?<br>
Male Google suit: Great! He's 11 months now, and he's starting to get a
personality -- it's great!<br>
Female Google suit: I'd love to see some pictures sometime!<br>
Male Google suit: He's got a blog!<br>
<em>--Elevator, Port Authority building, 15th &amp; 9th</em></p>
<p><strong>But Which One? Which One?</strong><br>
Crazy guy: Can anyone tell me about the Chinese stock market? [Two minutes
later] Can anyone tell me about the Chinese stock market? Come on, people,
that's an easy question!<br>
Suit, laughing: Here's an easy question for you: How far away is Saturn to
Pluto?<br>
Crazy guy: That is too easy. Why would you ask me something so easy? The
answer is Google. Google is the answer. The real question is, are there aliens
from Saturn and Pluto on this train right now? And how could you tell the
difference? [Looks around, waits for an answer.] Well, I know, because I'm one
of them! [Crazy guy gets off the train.]<br>
<em>--1 train</em></p>
<p><strong>But We'll Find Out for Sure When the Anime Comes Out</strong><br>
Nerd #1: So, was she hot?<br>
Nerd #2: According to Google Image search, yes.<br>
<em>--Math Building, NYU</em></p>
<p>**She Has Six Months Left to LiveJournal<br>
** Doctor guy: Okay, we have the chest x-ray and it explains what's going on. See this lesion? It is pretty impressive.<br>
Patient lady: "Impresssive"? Is that a medical term? Am I gonna have to google
that, too?<br>
<em>--Office, 71st &amp; Park</em><br>
<strong>Wednsday One-Liners</strong><br>
Sketchy doctor: I Google everything! I treat my patients with Google.<br>
<em>--Mt. Sinai School of Medicine, 98th &amp; Madison</em></p>
<p>Teen chick on cell: Yeah, it's funny... Google it. Wait, do you guys even have
Google in Florida?<br>
<em>--54th &amp; Park</em></p>
<p>Girl: Google is, like, totally taking over the world!<br>
<em>--Terminal 4, JFK</em></p>
]]></content:encoded></item>
<item><title>Ubuntu 7.10 Gutsy Gibbon is out!</title><description>Get it while its hot! (Or try to,
the servers, as usual, are bogged. To upgrade, do the following: (note: you can only upgrade using this method if
you are already using Feisty Fawn) Go to System -&gt; Administration -&gt; Update Manager 
 Hit the Check button to check for new updates to your current install (Feisty) If there are any updates, hit the "Install Updates" button, this will install any updates for your current installation. A Message should appear stating there is a 7.10 release 
 Hit "Upgrade" Follow…</description><link>https://timbroder.com/2007/10/ubuntu-710-gutsy-gibbon-is-out/</link><guid isPermaLink="false">https://timbroder.com/2007/10/ubuntu-710-gutsy-gibbon-is-out</guid><pubDate>Thu, 18 Oct 2007 12:01:00 GMT</pubDate><content:encoded><![CDATA[<p><a href="http://www.ubuntu.com/getubuntu/download">Get</a> it while its hot! (Or try to,
the servers, as usual, are bogged.</p>
<p>To upgrade, do the following: (note: you can only upgrade using this method if
you are already using Feisty Fawn)</p>
<ol>
<li>
<p>Go to System -&gt; Administration -&gt; Update Manager<br>
<img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
</li>
<li>
<p>Hit the Check button to check for new updates to your current install (Feisty)</p>
</li>
<li>
<p>If there are any updates, hit the "Install Updates" button, this will install any updates for your current installation.</p>
</li>
<li>
<p>A Message should appear stating there is a 7.10 release<br>
<img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
</li>
<li>
<p>Hit "Upgrade"</p>
</li>
<li>
<p>Follow the instructions</p>
</li>
</ol>
]]></content:encoded></item>
<item><title>My First Google API ticket has been fixed</title><description>My first ticket
for the Google Document List API has been fixed. As I posted about
before, the Document List API did not have the ability to just retrieve
the documents from a given folder or tag. This has now been made possible,
thanks API team! Original ticket: It would be ideal if we could pull back a list of documents from a certain
folder. This would give more functionality and make the size of the data
smaller if you only needed to grab a list of file from a certain folder. Possibly something like…</description><link>https://timbroder.com/2007/10/my-first-google-api-ticket-has-been/</link><guid isPermaLink="false">https://timbroder.com/2007/10/my-first-google-api-ticket-has-been</guid><pubDate>Wed, 17 Oct 2007 02:57:00 GMT</pubDate><content:encoded><![CDATA[<p>My first <a href="http://code.google.com/p/gdata-issues/issues/detail?id=44">ticket</a>
for the Google Document List API has been fixed. As I posted about
<a href="https://timbroder.com/2007/08/quick-docs-api-example-python/">before</a>, the Document List API did not have the ability to just retrieve
the documents from a given folder or tag. This has now been made possible,
thanks API team!</p>
<p>Original ticket:</p>
<blockquote>
<p>It would be ideal if we could pull back a list of documents from a certain
folder. This would give more functionality and make the size of the data
smaller if you only needed to grab a list of file from a certain folder.</p>
</blockquote>
<p>Possibly something like: <code>gdata.docs.service.DocumentQuery(folder=['myfolder1'])</code>
or <code>gdata.docs.service.DocumentQuery(folders=['myfolder1','folder2'])</code></p>
]]></content:encoded></item>
<item><title>Top Secret Picasa Features</title><description>Google Photos Blog: Lesser-known (and secret) Picasa
features Most people are familiar with Picasa's usual features; Editing, organizing,
uploading, printing, etc, but Mike Herf, the Picasa Engineering manager is
going to take us on a tour on some of the "easter egg-ish" features. He's
going to be posting hidden features and tips on Wednesdays over at the Google
Photos blog so check it out. The first up is search. While you might be familiar with searching for a
filename, or a directory you know you put the…</description><link>https://timbroder.com/2007/10/google-photos-blog-lesser-known-and/</link><guid isPermaLink="false">https://timbroder.com/2007/10/google-photos-blog-lesser-known-and</guid><pubDate>Tue, 16 Oct 2007 02:14:00 GMT</pubDate><content:encoded><![CDATA[<p><a href="http://googlephotos.blogspot.com/2007/10/lesser-known-and-secret-picasa-features.html">Google Photos Blog: Lesser-known (and secret) Picasa
features</a></p>
<p>Most people are familiar with Picasa's usual features; Editing, organizing,
uploading, printing, etc, but Mike Herf, the Picasa Engineering manager is
going to take us on a tour on some of the "easter egg-ish" features. He's
going to be posting hidden features and tips on Wednesdays over at the <a href="http://googlephotos.blogspot.com">Google
Photos</a> blog so check it out.</p>
<p>The first up is search. While you might be familiar with searching for a
filename, or a directory you know you put the photo in but can't find, you
might not be aware that you can also put in dates, camera models, flash (for
if one was used), what type of lens was used, or even the iso settings. All of
these are indexed by Picasa and will be returned in a search. Another fun
search term is color:red or color:gray. Try is out ;) The last hidden search
feature is under Tools-&gt;Experimental-&gt;Show Duplicate files and Picasa will
list all the files that show up more then once on your hard drive, pretty
nifty for cleaning space.</p>
<p>For more features on Wednesdays,
<a href="https://feeds.feedburner.com/GooglePicasaBlog">subscribe</a> to the photo blog.</p>
]]></content:encoded></item>
<item><title>Tennessee for the weekend</title><description>Be back Sunday 
View Larger Map</description><link>https://timbroder.com/2007/10/tennessee-for-weekend/</link><guid isPermaLink="false">https://timbroder.com/2007/10/tennessee-for-weekend</guid><pubDate>Fri, 12 Oct 2007 19:33:00 GMT</pubDate><content:encoded><![CDATA[<p>Be back Sunday<br>
<a href="http://maps.google.com/maps?f=q&amp;hl=en&amp;geocode=&amp;time=&amp;date=&amp;ttype=&amp;q=tennessee&amp;ie=UTF8&amp;ll=37.857507,-84.902344&amp;spn=11.960026,20.566406&amp;z=6&amp;iwloc=addr&amp;om=1&amp;source=embed">View Larger Map</a></p>
]]></content:encoded></item>
<item><title>Google Mashup Editor Blog: New Stuff - 10/4 Feature Release</title><description>Google Mashup Editor Blog: New Stuff - 10/4 Feature
Release There was a feature release for the Google Mashup
Editor and they also created a new
blog for all updates and notices. Features include Geo encoding of any element in feed XPath helper in Feed Browser In memory feed - ${tmp} google.mashups.isUserAuthenticated(): method that returns true if and only if the user is authenticated centerOnLocation(address) method added to map module: Takes a string and centers on the geo encoded location that is…</description><link>https://timbroder.com/2007/10/google-mashup-editor-blog-new-stuff-104/</link><guid isPermaLink="false">https://timbroder.com/2007/10/google-mashup-editor-blog-new-stuff-104</guid><pubDate>Thu, 11 Oct 2007 01:43:00 GMT</pubDate><content:encoded><![CDATA[<p><a href="http://googlemashupeditor.blogspot.com/2007/10/new-stuff-104-feature-release.html">Google Mashup Editor Blog: New Stuff - 10/4 Feature
Release</a></p>
<p>There was a feature release for the <a href="http://editor.googlemashups.com">Google Mashup
Editor</a> and they also created a <a href="http://gmereleases.googlemashups.com">new
blog</a> for all updates and notices.</p>
<p>Features include</p>
<ul>
<li>Geo encoding of any element in feed</li>
<li>XPath helper in Feed Browser</li>
<li>In memory feed - ${tmp}</li>
<li>google.mashups.isUserAuthenticated(): method that returns true if and only if the user is authenticated</li>
<li>centerOnLocation(address) method added to map module: Takes a string and centers on the geo encoded location that is represented by the string</li>
</ul>
<p>Bug Fixes:</p>
<ul>
<li>Fixed IE6 error that causes fatal errors in some applications.</li>
<li>Fixed Maps bugs and upgraded to Maps API version 2.88.</li>
<li>Fixed the display of images in tabs.</li>
<li>Performace improvements for syntax highlighting in the Editor.</li>
</ul>
]]></content:encoded></item>
<item><title>How often do Google Blogs post?</title><description>Google has been using it's blogger platform to deliver news about it's
products and services to the masses. Including the multi-language blogs, there
are about 76 Google blogs out there. But how often do they post? I went
through each one (of the English blogs) and figured out the average number of
posts, per month, that they have for 2007 so far. If a blog wasn't around back
in January, I took that into account also. The top two are the official Google Blog, and the Google Code blog, which
makes sense as…</description><link>https://timbroder.com/2007/10/how-often-do-google-blogs-post/</link><guid isPermaLink="false">https://timbroder.com/2007/10/how-often-do-google-blogs-post</guid><pubDate>Thu, 11 Oct 2007 01:43:00 GMT</pubDate><content:encoded><![CDATA[<p>Google has been using it's blogger platform to deliver news about it's
products and services to the masses. Including the multi-language blogs, there
are about 76 Google blogs out there. But how often do they post? I went
through each one (of the English blogs) and figured out the average number of
posts, per month, that they have for 2007 so far. If a blog wasn't around back
in January, I took that into account also.</p>
<p>The top two are the official Google Blog, and the Google Code blog, which
makes sense as they are all encompassing aspects of Google. Following these
are Maps and Adsense, two of Google biggest products.</p>
<p><img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
<p>This chart is live from the spreadsheet I made which you can view
<a href="https://spreadsheets.google.com/pub?key=p919ps7OYXvu5ZpA4odOsHw">here</a></p>
]]></content:encoded></item>
<item><title>NEW! Google Mashup of the Week</title><description>So I've decided to add a new feature to gPowered, the Google Mashup of the
week. So many of these get created all the time using various Google APIs and
services. Each week I'm going to search around find a dozen or so of the
newest ones, pick out the one I like the best and why... with a possible
runner up. As for when I'll be doing these, the new mashups will be posted
sometime in between Saturday and Monday. Usually on the weekend unless I'm
going away... like next weekend (Tennessee).... and the weekend…</description><link>https://timbroder.com/2007/10/new-google-mashup-of-week/</link><guid isPermaLink="false">https://timbroder.com/2007/10/new-google-mashup-of-week</guid><pubDate>Tue, 09 Oct 2007 03:47:00 GMT</pubDate><content:encoded><![CDATA[<p>So I've decided to add a new feature to gPowered, the Google Mashup of the
week. So many of these get created all the time using various Google APIs and
services. Each week I'm going to search around find a dozen or so of the
newest ones, pick out the one I like the best and why... with a possible
runner up. As for when I'll be doing these, the new mashups will be posted
sometime in between Saturday and Monday. Usually on the weekend unless I'm
going away... like next weekend (Tennessee).... and the weekend after that
(Boston)...</p>
<p>... and the Mashup of the Week goes to:</p>
<p><a href="http://www.jolocate.com/Listings.aspx">Jolocate</a><br>
APIs: <a href="http://www.google.com/apis/maps/">Google Maps</a>,
<a href="https://timbroder.com/2007/10/new-google-mashup-of-week/www.craigslist.org">Craigslist</a><br>
The Good: Its craigslist... with a map. Or I should say its a map with
Craiglist in it. If you've ever gone apartment hunting, you know the value of
this. Smooth, no lag when changing grids, Craiglist opens right in the same
window. I also really like the account feature. The site tries to profile you
for people looking for roommates, and also from what I gather, is going to
email me suggestions when I need to start looking for a place for a July 1
move-in.<br>
The Bad: Not necessarily bad, but I would have liked the option to have
Craigslist open in a new window<br>
The Ugly: New York wasn't in the default list!</p>
<p>Other contestants:</p>
<p><a href="http://www.google.com/ig/directory?hl=en&amp;url=http://www.sendsome.org/spellboy/modules/google_gadget/index.xml">Spell Boy Beta</a><br>
APIs: <a href="https://timbroder.com/2007/10/new-google-mashup-of-week/www.google.com/apis/gadgets/">Google Gadgets</a><br>
Why it didn't make it: For on the web FireFox or Google toolbar can spell
check all the forms for you, and if you're mail client can't spellcheck...
well.. get a new one.</p>
<p><a href="http://www.careersix.com/">http://www.careersix.com/</a><br>
APIs: <a href="http://www.google.com/apis/maps/">Google Maps</a>,
<a href="http://www.indeed.com/jsp/apiinfo.jsp">Indeed</a><br>
Why it didn't make it: The website was VERY slow to load the first time, I
almost stopped looking at it because I thought it was down. Also I didn't see
any place to search by job? only by location and then I have to hit ctrl+F?</p>
<p><a href="http://www.checker-forum.de/wbblite/portal.php">Checker-forum.de</a><br>
Small community that uses the Youtube API to show off and comment on videos in
users profiles.<br>
APIs: <a href="https://timbroder.com/2007/10/new-google-mashup-of-week/www.youtube.com/dev">Youtube</a><br>
Why it didn't make it: I don't speak German</p>
<p><a href="http://100milediet.org/map/">100 Mile Diet</a><br>
APIs: <a href="http://www.google.com/apis/maps/">Google Maps</a><br>
"When the average North American sits down to eat, each ingredient has
typically traveled at least 1,500 miles. Use this interactive map and the
100-Mile Diet book to eat local, think global."</p>
<p><a href="http://www.formspring.com/blog/2007/09/07/using-google-calendar-with-the-formspring-api/">FormSpring + Google Calendar</a><br>
APIs: <a href="https://timbroder.com/2007/10/new-google-mashup-of-week/code.google.com/apis/calendar/developers_guide_protocol.html">Google
Calendar</a>,
formspring<br>
Why it didn't make it: Formspring costs money for anything worthwhile, free
gives u 3 forms and 50 saves per form?</p>
]]></content:encoded></item>
<item><title>Picasa gets a blog!</title><description>Google Photos Blog: Ready for our close-
up The Picasa team has gotten a blog in the form of the Google Photos
Blog. I think this brings the number of
Google blogs to 75 (including the international blogs). On the photo blog they
will be posting feature updates to Picasa, photography tips, and the team's
favorite photo albums. In addition to working on Picasa and the Web
albums features, they are also in charge of
hosting blogger's photo upload feature, which is powered by Picasa web,
developing Orkut's…</description><link>https://timbroder.com/2007/10/picasa-get-blog/</link><guid isPermaLink="false">https://timbroder.com/2007/10/picasa-get-blog</guid><pubDate>Sun, 07 Oct 2007 15:47:00 GMT</pubDate><content:encoded><![CDATA[<p><a href="http://googlephotos.blogspot.com/2007/09/posted-by-jason-cook-product-marketing_28.html">Google Photos Blog: Ready for our close-
up</a></p>
<p>The Picasa team has gotten a blog in the form of the <a href="http://googlephotos.blogspot.com/">Google Photos
Blog</a>. I think this brings the number of
Google blogs to 75 (including the international blogs). On the photo blog they
will be posting feature updates to Picasa, photography tips, and the team's
favorite photo albums.</p>
<p>In addition to working on <a href="http://picasa.google.com/">Picasa</a> and the <a href="http://picasaweb.google.com/">Web
albums features</a>, they are also in charge of
hosting blogger's <a href="http://buzz.blogger.com/2007/03/blogger-and-picasa-web-albums.html">photo upload feature</a>, which is powered by Picasa web,
developing Orkut's <a href="http://en.blog.orkut.com/2007/08/spice-up-your-scraps.html">photo picker</a>, and creating Mapplets for browsing <a href="http://google-latlong.blogspot.com/2007/08/posted-by-ping-hsin-chen-software.html">geotagged photos</a>
inside of Google Maps.</p>
<p>Subscribe to their <a href="https://feeds.feedburner.com/GooglePicasaBlog">feed</a> for
updates.</p>
]]></content:encoded></item>
<item><title>Displaying what you read from Google Reader</title><description>I've been wanting to share what I
subscribe to in Google Reader and using the functions I
wrote
I was able to do just that. Check out the article for the full run down on the
unofficial Google Reader API. This is written in python but should be easily
portable to php. If i get around to it, I want to make a WordPress plugin so
bloggers can share what they read with their readers. This will be followed
(or in parallel depending on my mood) with a Javascript version so Blogspot
users can do the same in the…</description><link>https://timbroder.com/2007/10/displaying-what-you-read-in-google/</link><guid isPermaLink="false">https://timbroder.com/2007/10/displaying-what-you-read-in-google</guid><pubDate>Fri, 05 Oct 2007 02:04:00 GMT</pubDate><content:encoded><![CDATA[<p>I've been wanting to <a href="http://www.gpowered.net/g/feeds/">share</a> what I
subscribe to in Google Reader and using the <a href="https://timbroder.com/2007/08/google-reader-api-functions/">functions I
wrote</a>
I was able to do just that. Check out the article for the full run down on the
unofficial Google Reader API. This is written in python but should be easily
portable to php. If i get around to it, I want to make a WordPress plugin so
bloggers can share what they read with their readers. This will be followed
(or in parallel depending on my mood) with a Javascript version so Blogspot
users can do the same in the sidebar. On to the code!</p>
<p>To start off we'll just copy the functions we need from <a href="https://timbroder.com/2007/08/google-reader-api-functions/">last
time</a>.
Generally this is the login and SID token functions, as well as the feed list
function.</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="python"><code><span class="line"><span style="color:#fa4f8d">from</span><span style="color:#F8F8F2"> django.shortcuts </span><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> render_to_response</span></span>
<span class="line"><span style="color:#fa4f8d">from</span><span style="color:#F8F8F2"> django.template </span><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> Library</span></span>
<span class="line"><span style="color:#fa4f8d">from</span><span style="color:#F8F8F2"> elementtree </span><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> ElementTree</span></span>
<span class="line"><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> urllib</span></span>
<span class="line"><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> urllib2</span></span>
<span class="line"><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> re</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">login </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> 'timothy.broder@gmail.com'</span></span>
<span class="line"><span style="color:#F8F8F2">password </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> '***'</span></span>
<span class="line"><span style="color:#F8F8F2">source </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> 'gPowered'</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">google_url </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> 'http://www.google.com'</span></span>
<span class="line"><span style="color:#F8F8F2">reader_url </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> google_url </span><span style="color:#fa4f8d">+</span><span style="color:#E6DB74"> '/reader'</span></span>
<span class="line"><span style="color:#F8F8F2">login_url </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> 'https://www.google.com/accounts/ClientLogin'</span></span>
<span class="line"><span style="color:#F8F8F2">token_url </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> reader_url </span><span style="color:#fa4f8d">+</span><span style="color:#E6DB74"> '/api/0/token'</span></span>
<span class="line"><span style="color:#F8F8F2">subscription_list_url </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> reader_url </span><span style="color:#fa4f8d">+</span><span style="color:#E6DB74"> '/api/0/subscription/list'</span></span>
<span class="line"></span>
<span class="line"><span style="color:#94907d">#login / get SED</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">def</span><span style="color:#A6E22E"> get_SID</span><span style="color:#F8F8F2">():</span></span>
<span class="line"><span style="color:#F8F8F2">    header </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> {</span><span style="color:#E6DB74">'User-agent'</span><span style="color:#F8F8F2"> : source}</span></span>
<span class="line"><span style="color:#F8F8F2">    post_data </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> urllib.urlencode({ </span><span style="color:#E6DB74">'Email'</span><span style="color:#F8F8F2">: login, </span><span style="color:#E6DB74">'Passwd'</span><span style="color:#F8F8F2">: password, </span><span style="color:#E6DB74">'service'</span><span style="color:#F8F8F2">: </span><span style="color:#E6DB74">'reader'</span><span style="color:#F8F8F2">, </span><span style="color:#E6DB74">'source'</span><span style="color:#F8F8F2">: source, </span><span style="color:#E6DB74">'continue'</span><span style="color:#F8F8F2">: google_url, })</span></span>
<span class="line"><span style="color:#F8F8F2">    request </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> urllib2.Request(login_url, post_data, header)</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">    try</span><span style="color:#F8F8F2"> :</span></span>
<span class="line"><span style="color:#F8F8F2">        f </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> urllib2.urlopen( request )</span></span>
<span class="line"><span style="color:#F8F8F2">        result </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> f.read()</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">    except</span><span style="color:#F8F8F2">:</span></span>
<span class="line"><span style="color:#66D9EF">        print</span><span style="color:#E6DB74"> 'Error logging in'</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">    return</span><span style="color:#F8F8F2"> re.search(</span><span style="color:#E6DB74">'SID=(\S*)'</span><span style="color:#F8F8F2">, result).group(</span><span style="color:#AE81FF">1</span><span style="color:#F8F8F2">)</span></span>
<span class="line"></span>
<span class="line"><span style="color:#94907d">#get results from url</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">def</span><span style="color:#A6E22E"> get_results</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F;font-style:italic">SID</span><span style="color:#F8F8F2">, </span><span style="color:#FD971F;font-style:italic">url</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#F8F8F2">    header </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> {</span><span style="color:#E6DB74">'User-agent'</span><span style="color:#F8F8F2"> : source}</span></span>
<span class="line"><span style="color:#F8F8F2">    header[</span><span style="color:#E6DB74">'Cookie'</span><span style="color:#F8F8F2">]</span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74">'Name=SID;SID=</span><span style="color:#AE81FF">%s</span><span style="color:#E6DB74">;Domain=.google.com;Path=/;Expires=160000000000'</span><span style="color:#fa4f8d"> %</span><span style="color:#AE81FF"> SID</span></span>
<span class="line"><span style="color:#66D9EF">    print</span><span style="color:#F8F8F2"> url</span></span>
<span class="line"><span style="color:#F8F8F2">    request </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> urllib2.Request(url, </span><span style="color:#AE81FF">None</span><span style="color:#F8F8F2">, header)</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">    try</span><span style="color:#F8F8F2"> :</span></span>
<span class="line"><span style="color:#F8F8F2">        f </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> urllib2.urlopen( request )</span></span>
<span class="line"><span style="color:#F8F8F2">        result </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> f.read()</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">    except</span><span style="color:#F8F8F2">:</span></span>
<span class="line"><span style="color:#66D9EF">        print</span><span style="color:#E6DB74"> 'Error getting data from </span><span style="color:#AE81FF">%s</span><span style="color:#E6DB74">'</span><span style="color:#fa4f8d"> %</span><span style="color:#F8F8F2"> url</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">    return</span><span style="color:#F8F8F2"> result</span></span>
<span class="line"></span>
<span class="line"><span style="color:#94907d">#get a specific feed.  It works for any feed, subscribed or not</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">def</span><span style="color:#A6E22E"> get_feed</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F;font-style:italic">SID</span><span style="color:#F8F8F2">, </span><span style="color:#FD971F;font-style:italic">url</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#fa4f8d">    return</span><span style="color:#F8F8F2"> get_results(</span><span style="color:#AE81FF">SID</span><span style="color:#F8F8F2">, get_feed_url </span><span style="color:#fa4f8d">+</span><span style="color:#F8F8F2"> url.encode(</span><span style="color:#E6DB74">'utf-8'</span><span style="color:#F8F8F2">))</span></span>
<span class="line"></span>
<span class="line"><span style="color:#94907d">#get a token, this is needed for modifying to reader</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">def</span><span style="color:#A6E22E"> get_token</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F;font-style:italic">SID</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#fa4f8d">    return</span><span style="color:#F8F8F2"> get_results(</span><span style="color:#AE81FF">SID</span><span style="color:#F8F8F2">, token_url)</span></span>
<span class="line"></span>
<span class="line"><span style="color:#94907d">#get a list of the users subscribed feeds</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">def</span><span style="color:#A6E22E"> get_subscription_list</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F;font-style:italic">SID</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#fa4f8d">    return</span><span style="color:#F8F8F2"> get_results(</span><span style="color:#AE81FF">SID</span><span style="color:#F8F8F2">, subscription_list_url)</span></span></code></pre>
<p>Then we'll want to get rid off all the information in the feed that we don't
want and load what we do into a data dictionary. After its in the dictionary,
feed names and links (and the folders they are in) are ready to be displayed.
As usual, I use Django to display my pages, but everything is the same up to
the final return in the Feeds method. Below is an example of what each
subscription looks like in the Google Reader Feed, and below that is how to
process it</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="xml"><code><span class="line"><span style="color:#F8F8F2">&lt;</span><span style="color:#fa4f8d">object</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">    &lt;</span><span style="color:#fa4f8d">string</span><span style="color:#A6E22E"> name</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"id"</span><span style="color:#F8F8F2">&gt;feed/http://www.ubuntu.com/rss.xml&lt;/</span><span style="color:#fa4f8d">string</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">    &lt;</span><span style="color:#fa4f8d">string</span><span style="color:#A6E22E"> name</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"title"</span><span style="color:#F8F8F2">&gt;Ubuntu&lt;/</span><span style="color:#fa4f8d">string</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">    &lt;</span><span style="color:#fa4f8d">list</span><span style="color:#A6E22E"> name</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"categories"</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">        &lt;</span><span style="color:#fa4f8d">object</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">            &lt;</span><span style="color:#fa4f8d">string</span><span style="color:#A6E22E"> name</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"id"</span><span style="color:#F8F8F2">&gt;user/16162999404522159936/label/dev&lt;/</span><span style="color:#fa4f8d">string</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">            &lt;</span><span style="color:#fa4f8d">string</span><span style="color:#A6E22E"> name</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"label"</span><span style="color:#F8F8F2">&gt;dev&lt;/</span><span style="color:#fa4f8d">string</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">        &lt;/</span><span style="color:#fa4f8d">object</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">    &lt;/</span><span style="color:#fa4f8d">list</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">    &lt;</span><span style="color:#fa4f8d">number</span><span style="color:#A6E22E"> name</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"firstitemmsec"</span><span style="color:#F8F8F2">&gt;1186137757794&lt;/</span><span style="color:#fa4f8d">number</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">&lt;/</span><span style="color:#fa4f8d">object</span><span style="color:#F8F8F2">&gt;</span></span></code></pre>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="python"><code><span class="line"><span style="color:#66D9EF;font-style:italic">class</span><span> </span><span style="color:#A6E22E;text-decoration:underline">myFeed</span><span style="color:#F8F8F2">:</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">    def</span><span style="color:#66D9EF"> __init__</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F;font-style:italic">self</span><span style="color:#F8F8F2">, </span><span style="color:#FD971F;font-style:italic">name</span><span style="color:#F8F8F2">, </span><span style="color:#FD971F;font-style:italic">link</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#FD971F">        self</span><span style="color:#F8F8F2">.name </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> name</span></span>
<span class="line"><span style="color:#FD971F">        self</span><span style="color:#F8F8F2">.link </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> link</span></span>
<span class="line"></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">def</span><span style="color:#A6E22E"> Feeds</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F;font-style:italic">request</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#AE81FF">    SID</span><span style="color:#fa4f8d"> =</span><span style="color:#F8F8F2"> get_SID()</span></span>
<span class="line"><span style="color:#F8F8F2">    feeds </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> get_subscription_list(</span><span style="color:#AE81FF">SID</span><span style="color:#F8F8F2">)</span></span>
<span class="line"><span style="color:#F8F8F2">    tree </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> ElementTree.fromstring(feeds)</span></span>
<span class="line"><span style="color:#F8F8F2">    d </span><span style="color:#fa4f8d">=</span><span style="color:#66D9EF;font-style:italic"> dict</span><span style="color:#F8F8F2">()</span></span>
<span class="line"></span>
<span class="line"><span style="color:#94907d">    #loop through each feed</span></span>
<span class="line"><span style="color:#fa4f8d">    for</span><span style="color:#66D9EF;font-style:italic"> object</span><span style="color:#fa4f8d"> in</span><span style="color:#F8F8F2"> tree.findall(</span><span style="color:#E6DB74">'list'</span><span style="color:#F8F8F2">)[</span><span style="color:#AE81FF">0</span><span style="color:#F8F8F2">].findall(</span><span style="color:#E6DB74">'object'</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#F8F8F2">        strings </span><span style="color:#fa4f8d">=</span><span style="color:#66D9EF;font-style:italic"> object</span><span style="color:#F8F8F2">.findall(</span><span style="color:#E6DB74">'string'</span><span style="color:#F8F8F2">)</span></span>
<span class="line"><span style="color:#F8F8F2">        key </span><span style="color:#fa4f8d">=</span><span style="color:#66D9EF;font-style:italic"> object</span><span style="color:#F8F8F2">.findall(</span><span style="color:#E6DB74">'list'</span><span style="color:#F8F8F2">)[</span><span style="color:#AE81FF">0</span><span style="color:#F8F8F2">].findall(</span><span style="color:#E6DB74">'object'</span><span style="color:#F8F8F2">)[</span><span style="color:#AE81FF">0</span><span style="color:#F8F8F2">].findall(</span><span style="color:#E6DB74">'string'</span><span style="color:#F8F8F2">)[</span><span style="color:#AE81FF">1</span><span style="color:#F8F8F2">].text</span></span>
<span class="line"></span>
<span class="line"><span style="color:#94907d">        #tag already exists, add to the list</span></span>
<span class="line"><span style="color:#fa4f8d">        try</span><span style="color:#F8F8F2">:</span></span>
<span class="line"><span style="color:#F8F8F2">            d[key].append(myFeed(strings[</span><span style="color:#AE81FF">1</span><span style="color:#F8F8F2">].text, strings[</span><span style="color:#AE81FF">0</span><span style="color:#F8F8F2">].text.replace(</span><span style="color:#E6DB74">'feed/'</span><span style="color:#F8F8F2">, </span><span style="color:#E6DB74">''</span><span style="color:#F8F8F2">)))</span></span>
<span class="line"><span style="color:#94907d">        #tag doesn't exist, create list</span></span>
<span class="line"><span style="color:#fa4f8d">        except</span><span style="color:#66D9EF;font-style:italic"> KeyError</span><span style="color:#F8F8F2">:</span></span>
<span class="line"><span style="color:#F8F8F2">            d[key] </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> [myFeed(strings[</span><span style="color:#AE81FF">1</span><span style="color:#F8F8F2">].text, strings[</span><span style="color:#AE81FF">0</span><span style="color:#F8F8F2">].text.replace(</span><span style="color:#E6DB74">'feed/'</span><span style="color:#F8F8F2">, </span><span style="color:#E6DB74">''</span><span style="color:#F8F8F2">))]</span></span>
<span class="line"></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">    return</span><span style="color:#F8F8F2"> render_to_response(</span><span style="color:#E6DB74">'pages/feeds.html'</span><span style="color:#F8F8F2">, {</span></span>
<span class="line"><span style="color:#E6DB74">    'feeds'</span><span style="color:#F8F8F2">: d,</span></span>
<span class="line"><span style="color:#F8F8F2">    })</span></span></code></pre>
<p>For those of you that use django or are just curious how I end up displaying
the feeds, this is what i have in my view:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="html"><code><span class="line"></span>
<span class="line"><span style="color:#F8F8F2">### My Reading</span></span>
<span class="line"><span style="color:#F8F8F2">{% verbatim %}</span></span>
<span class="line"><span style="color:#F8F8F2">{% for item in feeds.items %}</span></span>
<span class="line"><span style="color:#F8F8F2">	{{ item.0 }}</span></span>
<span class="line"><span style="color:#F8F8F2">	{% for feed in item.1 %}</span></span>
<span class="line"><span style="color:#F8F8F2">		[{{ feed.name }}]({{ feed.link }})</span></span>
<span class="line"><span style="color:#F8F8F2">	{% endfor %}</span></span>
<span class="line"><span style="color:#F8F8F2">{% endfor %}</span></span>
<span class="line"><span style="color:#F8F8F2">{% endverbatim %}</span></span></code></pre>
<p>Again, too see what I subscribe to, <a href="http://www.gpowered.net/g/feeds/">click
here</a></p>
]]></content:encoded></item>
<item><title>Comments turned on</title><description>For various reasons, I had these turned off initially when i started gPowered.
I've now turned them on.</description><link>https://timbroder.com/2007/10/comments-turned-on/</link><guid isPermaLink="false">https://timbroder.com/2007/10/comments-turned-on</guid><pubDate>Wed, 03 Oct 2007 23:10:00 GMT</pubDate><content:encoded><![CDATA[<p>For various reasons, I had these turned off initially when i started gPowered.
I've now turned them on.</p>
]]></content:encoded></item>
<item><title>HOWTO: Use a Yahoo Pipe to filter feeds</title><description>One of my friends at work asked me today how I sift through volumes of news to
find articles and information on Google and specifically on Google Code for my
articles. The answer is simple, I don't. Granted, I DO read a LOT, but there
just aren't enough hours in the day to read everything I want to. So, I have a
Yahoo Pipe sift through the feeds for me.
Pipes is "a powerful composition tool to aggregate, manipulate, and mashup
content from around the web." Its fairly easy to use and doesn't require any
code…</description><link>https://timbroder.com/2007/10/howto-use-yahoo-pipe-to-filter-feeds/</link><guid isPermaLink="false">https://timbroder.com/2007/10/howto-use-yahoo-pipe-to-filter-feeds</guid><pubDate>Wed, 03 Oct 2007 22:59:00 GMT</pubDate><content:encoded><![CDATA[<p>One of my friends at work asked me today how I sift through volumes of news to
find articles and information on Google and specifically on Google Code for my
articles. The answer is simple, I don't. Granted, I DO read a LOT, but there
just aren't enough hours in the day to read everything I want to. So, I have a
<a href="http://pipes.yahoo.com/pipes/">Yahoo Pipe</a> sift through the feeds for me.
Pipes is "a powerful composition tool to aggregate, manipulate, and mashup
content from around the web." Its fairly easy to use and doesn't require any
code or coding experience, although understanding the basic layout of an RSS
or Atom feed is a definite plus. The method I'm going to describe could work
for any blogger or anyone who wants to filter a single or large group of feeds
by keyword. I'm not going to go into the details of Yahoo Pipes, there are
plenty of tutorials and examples for that. I'm just going to describe how I
built the small pipe I use to filter for Google news.</p>
<p>The first step is to log into or create a Yahoo account and go to
<a href="http://pipes.yahoo.com/pipes/">http://pipes.yahoo.com/pipes/</a> and click on Create Pipe. The first node we're
going to use is under sources and is called "Fetch Feed". Add as many of these
as you want to pull in all the feeds you will need.</p>
<p><img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
<p>Then use unions (located under Operators) to join these Fetches together. If
you have more then 5 feeds, you will need multiple unions.</p>
<p><img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
<p>Finally, add a filter, also located under Operators. Here, "Permit" items that
match "any" of the following. Then, add rules where item.description &gt;
Contains and then the word or phrase you want to search for. This filter will
allow any posts that have the words through, and block everything else. Send
the output of the Filter to the Pipe Output and you are done.</p>
<p><img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
<p>You can then subscribe to the output of this pipe with the reader of your
choice. When I subscribe to my pipe's <a href="http://pipes.yahoo.com/pipes/pipe.run?_id=vF35LapU3BG9UzFodbq02Q&amp;_render=rss">feed</a> in Google Reader, I only see
posts that contain the word Google or google. I also could have done that as
one filter with a regular expression, or just with "oogle".</p>
<p>Here is a full view of the
<a href="http://pipes.yahoo.com/pipes/pipe.info?_id=vF35LapU3BG9UzFodbq02Q">pipe</a></p>
<p><img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
]]></content:encoded></item>
<item><title>ProBlogger Birthday Bash: $54,000 in prizes!</title><description>ProBlogger's Birthday is
here and Darren is running
small contests throughout the week with over $54,000 in prizes. I missed the
first few, thank you work and being on call, but the prizes have been pretty
good so far. The first contest was for copies of Aaron Wall’s SEO
Book and all you had to do was comment on the post
announcing the contest. The second set of prizes were free listings on
SeekZap and all you had to do was sign up! (This is
the one I'm really bummed about missing.) The final prize for…</description><link>https://timbroder.com/2007/10/problogger-birthday-bash-54000-in/</link><guid isPermaLink="false">https://timbroder.com/2007/10/problogger-birthday-bash-54000-in</guid><pubDate>Wed, 03 Oct 2007 15:53:00 GMT</pubDate><content:encoded><![CDATA[<p>ProBlogger's Birthday is
<a href="http://www.problogger.net/archives/2007/10/02/54000-worth-of-prizes-on-offer-in-the-problogger-birthday-bash-competitions/">here</a> and Darren is running
small contests throughout the week with over $54,000 in prizes. I missed the
first few, thank you work and being on call, but the prizes have been pretty
good so far.</p>
<p>The first contest was for copies of Aaron Wall’s <a href="http://www.seobook.com/">SEO
Book</a> and all you had to do was comment on the post
announcing the contest. The second set of prizes were free listings on
<a href="http://www.seekzap.com/">SeekZap</a> and all you had to do was sign up! (This is
the one I'm really bummed about missing.) The final prize for yesterday for
the first 25 responders was tubes of Mederma scar treatment. For the full
prize list, see <a href="https://feeds.feedburner.com/~r/ProbloggerHelpingBloggersEarnMoney/~3/164167517/">here</a></p>
<p>You don't have to have a blog to participate in most of the competitions so if
you want to have some fun over the next few days, and into the weekend (this
is actually pretty good for me, I'm stuck home on call, now I'll have
something to do ;), add the feed to your reader and try to keep up.</p>
<p>Note: The current contest is for <a href="http://www.problogger.net/archives/2007/10/03/win-two-lg-usb-monitors-from-displaylink-giveaway/">2 20″ LG USB
monitors</a></p>
<p>Good luck to all!</p>
]]></content:encoded></item>
<item><title>Google Apps September recap</title><description>Its definitely been a busy month for Google Apps with the launch of
presentations (finally). As a result, there is a new
video as well as an updated
tour. There is no API available
yet but as soon as it comes out I'll post a HOWTO. Spreadsheets added new ways to pull external data.
The external sources can include XML, a URL, HTML, or any feed based file.
Spreadsheets also added autofill (type Dec and it can autofill December. Type
Jan, Feb, Mar, and it will fill in the rest of the months for you. This also…</description><link>https://timbroder.com/2007/10/google-apps-september-recap/</link><guid isPermaLink="false">https://timbroder.com/2007/10/google-apps-september-recap</guid><pubDate>Tue, 02 Oct 2007 23:28:00 GMT</pubDate><content:encoded><![CDATA[<p>Its definitely been a busy month for Google Apps with the launch of
presentations (finally). As a result, there is a new
<a href="http://youtube.com/watch?v=eRqUE6IHTEA">video</a> as well as an updated
<a href="http://www.google.com/google-d-s/tour1.html">tour</a>. There is no API available
yet but as soon as it comes out I'll post a HOWTO.</p>
<p>Spreadsheets added <a href="http://docs.google.com/support/spreadsheets/bin/answer.py?answer=75507&amp;query=googlereader&amp;topic=&amp;type=">new ways</a> to pull external data.
The external sources can include XML, a URL, HTML, or any feed based file.
Spreadsheets also added autofill (type Dec and it can autofill December. Type
Jan, Feb, Mar, and it will fill in the rest of the months for you. This also
works with days of the week, time, and more)</p>
<p>The Reporting API was release into Google Apps Premier, Education, and Partner
editions. This allows users to see detailed reports on how people in their
organization are using Google Apps. They can track account activity, disk
space, email client usage, and more.</p>
]]></content:encoded></item>
<item><title>Google StreetView Going Global?</title><description>Or at least to London? A VW bug with a camera attached to the top has been
spotted in London. Could be
Google? Maybe
expanding to areas around their offices in other countries? Nothing has been confirmed yet. I think this could pick up if Google started going to major Global Cities.
Think about it, you could go site seeing without ever leaving your desk. The
top cities on my list would be London, Tokyo, Paris, Venice, Dublin, and Hong
Kong. I am hopefully going to two of these in the next 6 months (Tokyo…</description><link>https://timbroder.com/2007/10/google-streetview-going-global/</link><guid isPermaLink="false">https://timbroder.com/2007/10/google-streetview-going-global</guid><pubDate>Mon, 01 Oct 2007 15:41:00 GMT</pubDate><content:encoded><![CDATA[<p>Or at least to London? A VW bug with a camera attached to the top has been
spotted in London. Could be
<a href="http://maps.google.com/help/maps/streetview/index.html">Google</a>? Maybe
expanding to areas around their <a href="http://googlified.com/2007is-there-a-google-office-near-you/">offices</a> in other countries? Nothing has been confirmed yet.</p>
<p>I think this could pick up if Google started going to major Global Cities.
Think about it, you could go site seeing without ever leaving your desk. The
top cities on my list would be London, Tokyo, Paris, Venice, Dublin, and Hong
Kong. I am hopefully going to two of these in the next 6 months (Tokyo and
London) around the holidays. Although, Google might have some <a href="http://www.theregister.co.uk/2007/06/05/google_street_view_legality_in_europe/">legal hoops</a>
to jump through if they decide to do this.</p>
<p><a href="https://4.bp.blogspot.com/_Ng3QbVQfLZ8/RwEVuTA7FPI/AAAAAAAAMSc/7eShW1mlfzk/s1600-h/googUK.jpg"><img src="https://timbroder.com/images/missing-image.svg" alt=""></a></p>
]]></content:encoded></item>
<item><title>By the Power of Grayskull.... I mean Google</title><description>Most of my friends got the reference to the "By the Power of Google" tagline
that I chose to use for gPowered. Being a child of the 80's I had the
privilege to watch some of the greatest cartoons ever created. One of those,
was He-Man where one of the popular lines is "BY THE POWER OF GRAYSKULL." When
I was throwing around taglines with "powered by" (powered by Google), He-Man's
line kept popping into my head and stuck. If you don't know what He-Man is,
check out the short summery from wikipedia. The show…</description><link>https://timbroder.com/2007/09/by-power-of-grayskull-i-mean-google/</link><guid isPermaLink="false">https://timbroder.com/2007/09/by-power-of-grayskull-i-mean-google</guid><pubDate>Sun, 30 Sep 2007 15:10:00 GMT</pubDate><content:encoded><![CDATA[<p>Most of my friends got the reference to the "By the Power of Google" tagline
that I chose to use for gPowered. Being a child of the 80's I had the
privilege to watch some of the greatest cartoons ever created. One of those,
was He-Man where one of the popular lines is "BY THE POWER OF GRAYSKULL." When
I was throwing around taglines with "powered by" (powered by Google), He-Man's
line kept popping into my head and stuck. If you don't know what He-Man is,
check out the short summery from wikipedia.</p>
<p><em>The show takes place on the fictional planet of Eternia, a land of magic,
myth and fantasy. The show's lead character is Prince Adam, the young son of
Eternia's rulers, King Randor and Queen Marlena. Prince Adam is a seemingly
cowardly, blond muscleman dressed in a Cote d'Azur chemise. However, Prince
Adam possesses a magic sword, and when he holds it aloft and says the magic
words "By the Power of Grayskull! I have the Power!" he is transformed into
He-Man, the most powerful man in the universe. He-Man is a brave, blond
muscleman in a baldric and loincloth. Together with his close allies, Battle
Cat, Teela, Man-At-Arms and Orko, He-Man uses his powers to defend Eternia
from the evil forces of Skeletor, a tyrannical warlord with a skull for a
face. Skeletor's main goal is to conquer the mysterious fortress of Castle
Grayskull, from which He-Man draws his powers. If he succeeds, Skeletor would
be able to conquer not only Eternia, but the whole universe.</em>
(<a href="http://en.wikipedia.org/wiki/He-Man_and_the_Masters_of_the_Universe">wikipedia</a>)</p>
<p>And now for a blast from the past, here is the opening theme complete with the
famous lines.</p>
]]></content:encoded></item>
<item><title>Ubuntu Gutsy Goes Beta</title><description>Ubuntu Gutsy Gibbon has gone beta and is on track for its October 18th
Release. So, if you haven't been using it since tribe 2 like me, and want to
upgrade from Fiesty Fawn, follow the below steps. Open a terminal. Type sudo update-manager -d Follow the instructions More information about upgrading can be found
here If you want to upgrade from a cd or do a fresh install, ISOs are available
here</description><link>https://timbroder.com/2007/09/ubuntu-gutsy-goes-beta/</link><guid isPermaLink="false">https://timbroder.com/2007/09/ubuntu-gutsy-goes-beta</guid><pubDate>Sun, 30 Sep 2007 04:59:00 GMT</pubDate><content:encoded><![CDATA[<p>Ubuntu Gutsy Gibbon has gone beta and is on track for its October 18th
Release. So, if you haven't been using it since tribe 2 like me, and want to
upgrade from Fiesty Fawn, follow the below steps.</p>
<ol>
<li>Open a terminal.</li>
<li>Type <em>sudo update-manager -d</em></li>
<li>Follow the instructions</li>
</ol>
<p>More information about upgrading can be found
<a href="https://help.ubuntu.com/community/GutsyUpgrades">here</a></p>
<p>If you want to upgrade from a cd or do a fresh install, ISOs are available
<a href="http://releases.ubuntu.com/releases/7.10/">here</a></p>
]]></content:encoded></item>
<item><title>Google Developer Podcast Ep 9 QuickCap</title><description>I got some time today to listen to this Podcast today on the way to and from
one of our other buildings today uptown. I was attending
SAS training which is a pretty cool data mining / report
generation tool. This episode was an interview with T.V. Raman and his seeing eye dog Hubbell
on accessibility in a developer's world. Quick recap: Why care about accessibility? (As a developer) You DON'T know your user try to build for the widest range of abilities Think about how people with different abilities will…</description><link>https://timbroder.com/2007/09/google-developer-podcast-ep-9-quickcap/</link><guid isPermaLink="false">https://timbroder.com/2007/09/google-developer-podcast-ep-9-quickcap</guid><pubDate>Thu, 27 Sep 2007 23:36:00 GMT</pubDate><content:encoded><![CDATA[<p>I got some time today to listen to this Podcast today on the way to and from
one of our other buildings today uptown. I was attending
<a href="http://www.sas.com">SAS</a> training which is a pretty cool data mining / report
generation tool.</p>
<p>This episode was an interview with T.V. Raman and his seeing eye dog Hubbell
on accessibility in a developer's world. Quick recap:</p>
<ul>
<li>
<p>Why care about accessibility? (As a developer)</p>
<ul>
<li>You DON'T know your user</li>
<li>try to build for the widest range of abilities</li>
</ul>
</li>
<li>
<p>Think about how people with different abilities will use the app</p>
</li>
<li>
<p>FireFox, Internet Explorer, Safari, Konquerer. Browser specifics are a problem</p>
</li>
<li>
<p>Generic browsers out of the box do not help vision, does not enhance views, or help the motion impaired</p>
</li>
<li>
<p>you have to add on to the browser</p>
</li>
<li>
<p>There is too much "slop", you need to take a step back and not assume what your user will use</p>
</li>
<li>
<p>CSS is good for getting developer / user balance</p>
</li>
<li>
<p>There are very good FireFox accessibility addons</p>
</li>
<li>
<p>Google results page is an html mess so it can work in all browsers</p>
</li>
<li>
<p>The standard GMail interface is an accessibility nightmare but this is remedied by using the mobile version</p>
</li>
<li>
<p>A year from now Ajax accessibility will get much better with FireFox 3</p>
</li>
<li>
<p><strong>Bottom Lines:</strong></p>
<ul>
<li>What is it that you are using for accessibility? Is it the base platform? Does it come with tools</li>
<li>What is the focus?</li>
<li>What platform are you on?</li>
</ul>
</li>
<li>
<p>Google books scan and OCR to voice is decent</p>
</li>
<li>
<p>The mobile calendar is also good.</p>
</li>
</ul>
]]></content:encoded></item>
<item><title>Google Developer Podcast Ep 8 Summary</title><description>I got some time today on the train today to listen to Episode 8 of the Google
Developer Podcast. Normally I'll listen to it at work when it first comes out
but it's been way to hectic. Here are some highlights some commentary thrown
in. ZohoWriter goes on Gears - See my opinions about this here. Google really needs to step it up and get Gears into their own services. The top two on my list being Gmail and Docs Embed Google Maps in a "youtube like way". Also the Drag zoom and custom marker manager controls…</description><link>https://timbroder.com/2007/09/google-developer-podcast-ep-8-summary/</link><guid isPermaLink="false">https://timbroder.com/2007/09/google-developer-podcast-ep-8-summary</guid><pubDate>Tue, 25 Sep 2007 03:24:00 GMT</pubDate><content:encoded><![CDATA[<p>I got some time today on the train today to listen to Episode 8 of the Google
Developer Podcast. Normally I'll listen to it at work when it first comes out
but it's been way to hectic. Here are some highlights some commentary thrown
in.</p>
<ul>
<li>ZohoWriter goes on Gears - See my opinions about this <a href="https://timbroder.com/2007/08/google-get-in-gear/">here</a>. Google really needs to step it up and get Gears into their own services. The top two on my list being Gmail and Docs</li>
<li>Embed Google Maps in a "youtube like way". Also the Drag zoom and custom marker manager controls have been improved. Very easy to use.</li>
<li>Sky in Google Earth. I havn't played with this yet. I'll check it out after work tomorrow if Halo 3 isn't in the mailbox ;-)
<ul>
<li>Stars</li>
<li>Google's proof that there probably is life on other planets: Earth is not just a "one off".</li>
<li>We need a Marvin the Martian Easter egg</li>
</ul>
</li>
<li>Google Objective-C library has been updated for code search, Picasa, and calendar</li>
</ul>
<p>The Guest in this episode was Mark Stahl, the Tech lead of GData since it
started (about 2 1/2 years)</p>
<ul>
<li>GData is the way to interact with Google Data, See most of my <a href="https://timbroder.com/tag/howto/">HOWTO's</a> for examples.</li>
<li>Uses the Atom publishing protocol (REST)</li>
<li>Resources are represented as XML. Many, many libraries are out there for working with XML so no steep learning curve for working with the data.</li>
<li>GET, PUT, POST, DEL to manipulate Data</li>
<li>A feed is a container of Data Items</li>
<li>Atom: syndication technology. It is a feed document. Used as a response for "get me the latest version of.... foofoo data set</li>
<li>Atom publishing protocol added manipulation in the form of read/write</li>
<li>Atom beat out RSS because it already had an ITEF committee</li>
<li>GData builds on top of Atom publishing
<ul>
<li>Way to query, by passing parameters through a URL</li>
<li>Standardized parameters</li>
</ul>
</li>
<li>Atom has no concurrency to detect conflicts / multiple writes</li>
<li>Etags are coming in the future to address this. Etags are strings that contain version info. This will enable for better caching solutions on the client, or any point in between the client and the server.</li>
<li>
<ul>
<li>The GData team chose REST because the web is built on REST ideas. It already had developer Acceptability. It's also easy to learn.</li>
</ul>
</li>
<li>REST is a style, its good at certain things, but has trouble mapping certain operations that would perhaps be better off as an RPC</li>
<li>Atomic but not transactional</li>
<li>The first service to get GData was Calendar, and it currently gets the most request, followed (in order) by Blogger, Base, and Spreadsheets.</li>
<li>The most popular client libraries are the ones in Java and .net, followed by Python, PHP, Objective C, Lisp, and Ruby</li>
<li>Authentication can be done via ClientLogin with a token (Programmatic login), or via authsub (Google handles credentials)</li>
<li>Uses "kinds": Semantic level syndication (add custom info to an entry and helps define types of entries)</li>
</ul>
]]></content:encoded></item>
<item><title>CanGoogleHearMe.com beta starts</title><description>The beta for CanGoogleHearMe.com has started
(which I am part of), but that's all I can really say about it. If you don't
know what CanGoogleHearMe is or what Aaron and the gang have been up to, check
out the original story</description><link>https://timbroder.com/2007/09/cangooglehearmecom-beta-starts/</link><guid isPermaLink="false">https://timbroder.com/2007/09/cangooglehearmecom-beta-starts</guid><pubDate>Mon, 24 Sep 2007 12:10:00 GMT</pubDate><content:encoded><![CDATA[<p>The beta for <a href="http://cangooglehearme.com/">CanGoogleHearMe.com</a> has started
(which I am part of), but that's all I can really say about it. If you don't
know what CanGoogleHearMe is or what Aaron and the gang have been up to, check
out the <a href="http://cangooglehearme.com/chapter1.php">original story</a></p>
]]></content:encoded></item>
<item><title>Bring on the GDrive!</title><description>Do you want the GDrive? I know I do. Rumors have been flying around for almost
2 years about this thing, its been the brunt of an April Fool's joke, complete
with official announcement and a Google Group (see below). Googlers use it,
and if it ever comes out, it would change the way both home and corporate
users think about file storage. Google is almost there, almost. When they
integrate Gears into Docs they'll be one step closer. They would just need a
few more features on the main Docs UI (bulk file…</description><link>https://timbroder.com/2007/09/bring-on-gdrive/</link><guid isPermaLink="false">https://timbroder.com/2007/09/bring-on-gdrive</guid><pubDate>Thu, 20 Sep 2007 01:07:00 GMT</pubDate><content:encoded><![CDATA[<p>Do you want the GDrive? I know I do. Rumors have been flying around for almost
2 years about this thing, its been the brunt of an April Fool's joke, complete
with official announcement and a Google Group (see below). Googlers use it,
and if it ever comes out, it would change the way both home and corporate
users think about file storage. Google is almost there, almost. When they
integrate Gears into Docs they'll be one step closer. They would just need a
few more features on the main Docs UI (bulk file upload, share files right
from there instead of having to publish from within the document) and allow
for any file type.</p>
<p><img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
<p>Quick recap of the internal GDrive / Platypus client:<br>
Backup: if your computer goes down, catches on fire, or just plain old BSOD's,
just get a new computer, install the platypus client, and your files<br>
will be on the new system before you know it You can sync across multiple
computers. Great if you have multiple buildings, cubes, or a laptop floating
around<br>
VPN-less access<br>
Disconnect Access. Google Gears anyone?<br>
Other users can just mount your shares on their filesystem<br>
FAST</p>
<p>I took some time and went through similar offerings that are currently
available</p>
<p>** <a href="http://aws.amazon.com/s3">Amazon S3</a>**</p>
<ul>
<li>uses Amazon account (just have to enable as a web service)</li>
<li>$.15 per gig</li>
<li>programmatic way to store files. No UI on Amazon's site</li>
</ul>
<p><strong><a href="http://www.xdrive.com">Xdrive</a></strong></p>
<p><img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
<p>Pros</p>
<ul>
<li>Nothing to install</li>
<li>Breaks into photos, docs, music, videos, downloads, and bookmarks by default</li>
<li>can upload a folder or multiple files from the same folder</li>
<li>good upload speed</li>
<li>5 gigs of space is free</li>
<li>you can make "shows" to show off your photos and/or videos</li>
</ul>
<p>Cons</p>
<ul>
<li>Had to sign in with my AIM account to sign up for the service. Then directly after signing up I had to sign in with my AIM account again.</li>
<li>can't drag files into folders</li>
<li>"Share with friend" email didn't come for 15 min</li>
<li>the "close window" button after logging out didn't work</li>
<li>login button is a little out of the way</li>
</ul>
<p><strong><a href="http://www.box.net">Box.net</a></strong></p>
<p><img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
<p>Pros</p>
<ul>
<li>fast site</li>
<li>clean look</li>
<li>5 gig free</li>
<li>easy to embed folder into site or blog</li>
<li>easy to send links to files in an email</li>
<li>share folders as a link or an RSS feed</li>
<li>drag and drop file upload in a popup</li>
<li>there are groups in the paid account</li>
</ul>
<p>Cons</p>
<ul>
<li>friends have to sign up to send files (I would rather be able to give them a public link to my folder)</li>
<li>have to pay to get groups</li>
<li>contacts section felt ackward</li>
</ul>
<p><strong><a href="https://timbroder.com/2007/09/bring-on-gdrive/www.movedigital.com/">MoveDigital</a></strong></p>
<p><img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
<p>Pros</p>
<ul>
<li>can upload a file from a URL</li>
<li>Uploads showed all the details: speed, percent done, etc</li>
<li>Has mobile phone access</li>
</ul>
<p>Cons</p>
<ul>
<li>Expensive. The pricing starts at $10 for 1 gig and goes up exponentially</li>
<li>Drag and drop is an install. And it didn't let me login (was using Vista to test these, I know... I know...)</li>
<li>Slow uploads</li>
</ul>
<p><strong><a href="https://timbroder.com/2007/09/bring-on-gdrive/www.omnidrive.com/">Omnidrive</a></strong></p>
<p><img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
<ul>
<li>Sign up was very slow</li>
<li>I tried to upload a 4 meg file and got a Java heapspace error</li>
</ul>
<p><strong>Microsoft Skydrive</strong><br>
Pros</p>
<ul>
<li>Multiple file upload is very responsive and pretty</li>
<li>Can embed in blog</li>
<li>Has link to share with public</li>
</ul>
<p>Cons</p>
<ul>
<li>Needed to install an ActiveX control (had to use IE, bummer) for multiple file upload.</li>
<li>Doesn't show upload speed</li>
<li>Only 500 MB</li>
<li>50 MB Max file size</li>
</ul>
<p>Overall I think I would have to go with Box.net. It was really smooth. Had
some good features and it was really easy to upload files. the free 5 gigs
wasn't too bad either.</p>
<p>Some related GDrive articles:</p>
<ul>
<li><a href="http://googlified.com/2007gdrive-is-here-almost/">GDrive is Here, Almost</a></li>
<li><a href="http://blogoscoped.com/archive/2007-09-04-n51.html">Evidence of GDrive in Google
Apps</a></li>
<li><a href="http://googlesystem.blogspot.com/2006/07/gdrive-is-on-way.html">GDrive Is On The Way</a></li>
<li><a href="http://battellemedia.com/archives/002986.php">Inside the GDrive Platypus
--Almost</a></li>
<li><a href="https://www.techcrunch.com/2006/10/13/another-gdrive-platypus-leak/">Another GDrive “Platypus” Leak</a></li>
<li><a href="http://blogoscoped.com/archive/2006-10-13-n53.html">Google Gdrive Client
Leaked</a></li>
<li><a href="http://googlified.com/2006gdrive-gdisk/">GDrive -&gt; GDisk</a></li>
<li><a href="http://blogoscoped.com/archive/2006-07-11-n52.html">When Will Gdrive Be Public (If
Ever)?</a></li>
<li><a href="https://www.techcrunch.com/2006/07/10/gdrive-plays-whack-a-mole-with-bloggers/">GDrive plays whack-a-mole with bloggers</a></li>
<li><a href="http://blogoscoped.com/archive/2007-09-04-n51.html">Evidence of GDrive in Google
Apps</a> <a href="https://www.techcrunch.com/2007/08/19/what-ever-happened-to-gdrive/">What Ever Happened
To GDrive?</a></li>
<li><a href="http://blogoscoped.com/archive/2007-08-19-n82.html">Rumor: Was the Gdrive Release
Canceled?</a></li>
</ul>
]]></content:encoded></item>
<item><title>Using Blogger and Feedburner Sitemaps in Webmaster Tools</title><description>Blogger, good. FeedBurner, good. Google Webmaster tools, good. The 3 working
together? A little more difficult. A few months ago blogger added
support to
have FeedBurner + blogger integration. No more editing template code, just
change a setting in blogger, and viola, FeedBurner will track all your
subscribers. However, this method did not go over so well with Google
Webmaster Tools. Previously you could just add your blog's feed as a sitemap
for you blog and the Google Bot would have no problem. If you…</description><link>https://timbroder.com/2007/09/using-blogger-and-feedburner-sitemaps/</link><guid isPermaLink="false">https://timbroder.com/2007/09/using-blogger-and-feedburner-sitemaps</guid><pubDate>Thu, 20 Sep 2007 00:20:00 GMT</pubDate><content:encoded><![CDATA[<p>Blogger, good. FeedBurner, good. Google Webmaster tools, good. The 3 working
together? A little more difficult. A few months ago blogger <a href="http://buzz.blogger.com/2007/07/attention-FeedBurner-fans.html">added
support</a> to
have FeedBurner + blogger integration. No more editing template code, just
change a setting in blogger, and viola, FeedBurner will track all your
subscribers. However, this method did not go over so well with Google
Webmaster Tools. Previously you could just add your blog's feed as a sitemap
for you blog and the Google Bot would have no problem. If you turned on
FeedBurner however, sitemap errors popped up all over because the FeedBurner
links were on a different domain from the blog, etc..</p>
<p>Here is a way to make it work (assuming you already have a blog set up):</p>
<ol>
<li>
<p>Make an account on <a href="http://www.FeedBurner.com/fb/a/home">FeedBurner</a> and add your blog to it<br>
<img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
</li>
<li>
<p>Then, in blogger go to settings &gt; Site Feed &gt; Post Feed Redirect URL and add your FeedBurner feed</p>
<p><img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
</li>
<li>
<p>Finally, if you want to track your blog in <a href="https://timbroder.com/2007/09/using-blogger-and-feedburner-sitemaps/www.google.com/webmasters/sitemaps/">Google Webmaster Tools</a> you will have to add the sitemap a little differently then normal. Add a General Web sitemap as the "rss.xml?orderby=updated" feed off of your blog. FeedBurner does not pick up this feed in the redirects, so the Google Bot will not have trouble with it.</p>
<p><img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
</li>
<li>
<p>After this your site will be tracked by FeedBurner as well as Google Webmaster tools and the Google Bot will be able to use the sitemap properly</p>
</li>
</ol>
]]></content:encoded></item>
<item><title>Google Books “My Library” Vs. LibraryThing vs. Shelfari</title><description>I love to read. I always have and I probably always will. When people ask me
why I read so much or about how fast I can, I usually attest to the fact that
when I was a child, the household rule was no television on weekdays, so, lots
of books and reading. I still remember the first book I was able to finish on
my own without any help from my mother; The Mouse and the Motorcycle. A few months ago when I was looking for a service to keep track of all my
books (those I had read and those I wanted), the top two…</description><link>https://timbroder.com/2007/09/google-books-my-library-vs-librarything/</link><guid isPermaLink="false">https://timbroder.com/2007/09/google-books-my-library-vs-librarything</guid><pubDate>Wed, 19 Sep 2007 02:11:00 GMT</pubDate><content:encoded><![CDATA[<p>I love to read. I always have and I probably always will. When people ask me
why I read so much or about how fast I can, I usually attest to the fact that
when I was a child, the household rule was no television on weekdays, so, lots
of books and reading. I still remember the first book I was able to finish on
my own without any help from my mother; The Mouse and the Motorcycle.</p>
<p>A few months ago when I was looking for a service to keep track of all my
books (those I had read and those I wanted), the top two that I had come up
with were <a href="http://www.shelfari.com/">Shelfari</a> and
<a href="http://www.librarything.com/">LibraryThing</a>. At the time LibraryThing seemed
slow and clunky while Shelfari came off as fairly polished. Note that I really
didn’t spend too much time at either during this initial assessment and that I
ended up going with Shelfari.</p>
<p>Coming back to the present, I still use Shelfari and now that <a href="http://books.google.com/">Google Book
search</a> has come out with the <a href="http://books.google.com/googlebooks/mylibrary/">“My
Library”</a> feature, its time to
do an assessment of this decision.</p>
<p><strong>My Library</strong><br>
Launched on September 6th, this is the latest feature of Google Book Search.
Normally I just go to Amazon if I’m looking for a book, but that’s more likely
because that’s what I am used to. Check out my test Library
<a href="http://books.google.com/books?as_list=BDYjGJ9gQiI2fwZ2RhK_5ARoUEnPi_37Mmen-Zjyn9rNza5Y7yew&amp;hl=en">here</a></p>
<p><img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
<p>Pros</p>
<ul>
<li>Search doesn’t always return what I want. Sometimes I had to go find the ISBN and use that</li>
<li>Very fast searching</li>
<li>Once books are added to the library, you can search the text within those books and get a preview</li>
<li>Has List view and cover view. The list view has a link to Add Labels, Write a Review, and More Editions</li>
<li>Links to buy the book from Amazon, Barns &amp; Noble, Booksense, or Froogle</li>
<li>Can look for the book in a library</li>
<li>Reviews from all over the internet (shows 10)</li>
<li>References from all over the internet (shows 10)</li>
<li>References from other books</li>
<li>Links to other editions</li>
<li>References from scholarly works</li>
<li>Can share list as an RSS feed</li>
<li>No need to sign up if you already have a Google account</li>
<li>Unlimited books</li>
</ul>
<p>Cons</p>
<ul>
<li>limited preview, I know other services don’t even offer a preview, but its such a tease</li>
<li>The library didn’t seem to be finding good results. I looked up a few books that I know are in the library up the street and it wasn’t finding them.</li>
<li>No user reviews</li>
<li>Only export format is RSS</li>
<li>Can only import by ISBN by typing a list or copy/paste</li>
<li>Need a Google account</li>
</ul>
<p><strong>LibraryThing</strong><br>
I had initially been turned off by this one because the UI seemed clunky and
was sluggish when I first tested it out. A lot of this has changed. Check out
my test library <a href="http://www.librarything.com/catalog/broderboy">here</a></p>
<p><img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
<p>Pros</p>
<ul>
<li>If you really like Amazon (me), then using that as the database is a pro</li>
<li>Good recommendations. The recommendations were pretty spot on. There are books on the list that I have been meaning to read for a while now (that I have not yet added)</li>
<li>Lots of “Find At” (buy) options: Abebooks, Alibris, Amazon, Barnes &amp; Noble, BookFinder, BookSense, Worldcat, and more</li>
<li>The size differences and bolding in the tag cloud make it pretty easy to spot trends</li>
<li>Reviews by users</li>
<li>I love the book swapping links</li>
<li>Good rating system (out of 5)</li>
<li>Links to related Wikipedia articles</li>
<li>Lots of options for blog cloud</li>
<li>Can link with other social sites: Facebook, Digg, etc</li>
</ul>
<p>Cons</p>
<ul>
<li>only searches Amazon of the Library of congress</li>
<li>You can only save 200 books. Lame. They charge $10/year or $25/lifetime to store unlimited books</li>
<li>The Display styles of A, B, C, D, E are confusing if you don’t go look up what they mean</li>
<li>The “click on cover” menu takes a little while to get used to</li>
<li>Blog cloud is static</li>
<li>Has a lot of social aspects, but no “Friends”</li>
</ul>
<p>LibraryThing Blog widget:</p>
<p><strong>Shelfari</strong><br>
This is the service I originally went with. Check out my main shelf
<a href="http://www.shelfari.com/broderboy/shelf">here</a></p>
<p><img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
<p>Pros</p>
<ul>
<li>Multiple shelves</li>
<li>Friends and groups, seems more social then the other two. (LibraryThing links to social aspects, but doesn’t have them as built in as Shelfari)</li>
<li>Quite pretty</li>
<li>Member reviews and Amazon reviews (linked separately)</li>
<li>Can write notes (different from reviews) about each book or a shelf in general</li>
</ul>
<p>Cons</p>
<ul>
<li>Requires Flash</li>
<li>Can only buy from Amazon</li>
<li>Tag cloud doesn’t have enough difference in size</li>
<li>Ads at the bottom of each page</li>
<li>Has social aspect of friends, but doesn’t reach out to other social sites</li>
</ul>
<p>Shelfari Blog Widget:</p>
<p>All in all I think I may stick with Shelfari. Yes My Library was the fastest
for searching, and did relate the books to the most external sources, but
sometimes it took a little longer to find the book I was looking for in the
list. My searches in Shelfari, while slower always had the book I wanted in
the top 3 results. I really like the recommendation and book swapping features
of LibraryThing. What sold me on Shelfari and continues to do so, is the
multiple shelves. I have a shelf for books I own and have read, a shelf for
books I own but have not read, and a shelf for books I would like to buy. I
just really like breaking it up this way. The only thing that could make this
aspect better, would be if I could like my third list to my Amazon wish list.</p>
]]></content:encoded></item>
<item><title>Rest in Peace Robert Jordan</title><description>Alas and woes, one of my favorite authors, Robert
Jordan has passed away. RJ is the
author of the magnificent The Wheel of
Time Series. The series
currently had 11 books plus a prequel. Jordan was feverishly working on the
12th and final book entitled A Memory of Light. My old Roommate
Kit got me into it and though I had
previously tried the series when I was about 10 I didn't get into it, this
time around I instantly fell in love with The Eye of the World (first book). I
put RJ's work on the same level as…</description><link>https://timbroder.com/2007/09/rest-in-peace-robert-jordan/</link><guid isPermaLink="false">https://timbroder.com/2007/09/rest-in-peace-robert-jordan</guid><pubDate>Tue, 18 Sep 2007 10:55:00 GMT</pubDate><content:encoded><![CDATA[<p>Alas and woes, one of my favorite authors, <a href="http://www.dragonmount.com/RobertJordan/">Robert
Jordan</a> has passed away. RJ is the
author of the magnificent <a href="http://en.wikipedia.org/wiki/The_Wheel_of_Time">The Wheel of
Time</a> Series. The series
currently had 11 books plus a prequel. Jordan was feverishly working on the
12th and final book entitled A Memory of Light. My old Roommate
<a href="http://www.shelfari.com/Kitster">Kit</a> got me into it and though I had
previously tried the series when I was about 10 I didn't get into it, this
time around I instantly fell in love with The Eye of the World (first book). I
put RJ's work on the same level as Tolkien, who is my all time favorite
author. Robert Jordan came to "dominate the world that Tolkien began to reveal
to us." One of the words at the bottom of gpowered.net comes from a reference
to the main character, Rand.</p>
<p>RJ, you gave me a great world to escape this one into. I will miss you dearly.
Rest in Peace and become a Memory of Light.</p>
]]></content:encoded></item>
<item><title>Google acquires Postini</title><description>Google has acquired Postini to better
improve Google Apps. A blurb from Postini's website: 
_With Postini Solutions, you can secure all of your electronic communications email, instant messaging and the web – and manage your company's
communication policies from one central location. Postini Solutions can also
make it easy to meet your archiving and encryption needs._ Things I would like to see come out of this: The ability to encrypt Gmail messages and Google Docs without having to use
greasemonkey A…</description><link>https://timbroder.com/2007/09/google-acquires-postini/</link><guid isPermaLink="false">https://timbroder.com/2007/09/google-acquires-postini</guid><pubDate>Sun, 16 Sep 2007 17:31:00 GMT</pubDate><content:encoded><![CDATA[<p>Google has acquired <a href="http://www.postini.com/index.php">Postini</a> to better
improve Google Apps.</p>
<p>A blurb from Postini's website:<br>
_With Postini Solutions, you can secure all of your electronic communications</p>
<ul>
<li>email, instant messaging and the web – and manage your company's
communication policies from one central location. Postini Solutions can also
make it easy to meet your archiving and encryption needs._</li>
</ul>
<p>Things I would like to see come out of this:</p>
<ul>
<li>The ability to encrypt Gmail messages and Google Docs without having to use
greasemonkey</li>
<li>A Google API to encrypt files and transfers in your own application or site</li>
<li>(Ad?) subsidized access to Postini services</li>
</ul>
<p>The question on the tip of my tongue is, is Postini going to remain a separate
entity though owned by Google, or are its services going to be completely
integrated into Google's services?</p>
]]></content:encoded></item>
<item><title>GME 9/14 Feature Release</title><description>A new version of the Google Mashup Editor
was released on Friday. Highlights of new features include: Ratings and Labels for external feeds Now uses GWT 1.4 (newest version) New "Save" event. List and item modules throw a save event when new entries
are added to a feed Smarter loading of external libraries Documentation and samples were updated to support new features Bug fix highlights: Auto-complete can now be used when entry has a coma "nowrap" style for blue-theme CSS class was removed Documentation…</description><link>https://timbroder.com/2007/09/gme-914-feature-release/</link><guid isPermaLink="false">https://timbroder.com/2007/09/gme-914-feature-release</guid><pubDate>Sun, 16 Sep 2007 17:21:00 GMT</pubDate><content:encoded><![CDATA[<p>A new version of the <a href="http://editor.googlemashups.com">Google Mashup Editor</a>
was released on Friday. Highlights of new features include:</p>
<ul>
<li>Ratings and Labels for external feeds</li>
<li>Now uses GWT 1.4 (newest version)</li>
<li>New "Save" event. List and item modules throw a save event when new entries
are added to a feed</li>
<li>Smarter loading of external libraries</li>
<li>Documentation and samples were updated to support new features</li>
</ul>
<p>Bug fix highlights:</p>
<ul>
<li>Auto-complete can now be used when entry has a coma</li>
<li>"nowrap" style for blue-theme CSS class was removed</li>
<li>Documentation links in the editor now point to the correct docs</li>
<li>Source highlighting in the editor was fixed</li>
</ul>
<p>For the complete list, check out this
<a href="http://googlemashupeditor.blogspot.com/2007/09/more-new-stuff-914-feature-release.html">post</a></p>
]]></content:encoded></item>
<item><title>Playing Halo 3 on IMAX!</title><description>Completely off topic, but I had to share. Last Thursday I had the amazing
privilege to play Halo 3 on the Lincoln Center IMAX Screen. It was amazing.
For those of you that don't know, the Lincoln center IMAX screen is
70-something feet tall. The master chief was bigger then me. My buddy who got
the tickets was on line around 6:30, I shower up around 8 or so (they were
only letting the first 200 people play), and we got into the theater around
9pm. Joe Tung and Luke started off by running through a campaign…</description><link>https://timbroder.com/2007/09/playing-halo-3-on-imax/</link><guid isPermaLink="false">https://timbroder.com/2007/09/playing-halo-3-on-imax</guid><pubDate>Sun, 16 Sep 2007 16:12:00 GMT</pubDate><content:encoded><![CDATA[<p>Completely off topic, but I had to share. Last Thursday I had the amazing
privilege to play Halo 3 on the Lincoln Center IMAX Screen. It was amazing.
For those of you that don't know, the Lincoln center IMAX screen is
70-something feet tall. The master chief was bigger then me. My buddy who got
the tickets was on line around 6:30, I shower up around 8 or so (they were
only letting the first 200 people play), and we got into the theater around
9pm.</p>
<p>Joe Tung and Luke started off by running through a campaign demo, showing off
the saved video features, and blowing stuff up with Forge. The campaign demo
we saw was 'The Storm' which had never been seen before. They fought through
some baddies but turned off the demo as a gigantic spider mech came on to the
screen, I guess we have to wait a few more days to see the rest of that...</p>
<p>After the demos they let us play some slayer! 8 people at a time in 6 min
rounds, I was #164 so I had to wait a bit, no worries though, seeing the other
games on the giant screen made it worth the wait. When I got to play though,
they only let 6 gamers onto the consoles... why? Joe and Luke had decided to
join the fun! Playing Halo 3 against a producer and developer... super cool!
I, of course, had my ass royally handed to me. I wish I had some photos to
show but the security was pretty tight. In retrospect I should have tried to
take a few on my way out. I had played and had nothing to lose... oh well...</p>
<p>Halo 3 can't come soon enough (and I actually have a 360 now)...</p>
]]></content:encoded></item>
<item><title>Slight delay in next HOWTO</title><description>I was trying very hard to get the next HOWTO online last night. I got it about
3/4 of the way done but then went to bed so I could go to the gym this
morning, but then I ended up setting my alarm for 6pm instead of 6am.... so
that was a waste I probably could have finished it. Tonight I'm going to test
out Halo 3 on the Lincoln Center Imax Screen which should just be crazy. Until
then here's a good article I read yesterday entitled Will The Google Bashers
Please Shut Up? Till later, I'll see what time I get…</description><link>https://timbroder.com/2007/09/slight-delay-in-next-howto/</link><guid isPermaLink="false">https://timbroder.com/2007/09/slight-delay-in-next-howto</guid><pubDate>Thu, 13 Sep 2007 11:30:00 GMT</pubDate><content:encoded><![CDATA[<p>I was trying very hard to get the next HOWTO online last night. I got it about
3/4 of the way done but then went to bed so I could go to the gym this
morning, but then I ended up setting my alarm for 6pm instead of 6am.... so
that was a waste I probably could have finished it. Tonight I'm going to test
out Halo 3 on the <a href="http://www.fandango.com/amcloewslincolnsquare13withimax_aabqi/theaterpage">Lincoln Center Imax Screen</a> which should just be crazy. Until
then here's a good article I read yesterday entitled <a href="http://performancing.com/will-the-google-bashers-please-shut-up">Will The Google Bashers
Please Shut Up?</a></p>
<p>Till later, I'll see what time I get back tonight...</p>
<p><a href="http://maps.google.com/maps?f=q&amp;hl=en&amp;geocode=&amp;q=AMC+Loews+Lincoln+Square+13+with+IMAX&amp;sll=37.0625,-95.677068&amp;sspn=46.409192,82.265625&amp;ie=UTF8&amp;om=1&amp;cid=40775399,-73982061,2461097962691146914&amp;ll=40.784441,-73.977814&amp;spn=0.019497,0.025749&amp;z=14&amp;iwloc=A&amp;source=embed">View Larger Map</a></p>
]]></content:encoded></item>
<item><title>Last week recap</title><description>These are just a few highlights from while I was gone... Google
Starts talking about a possible coding competition and gives some practice
problems. Maybe I'll take a crack at them on the train on Friday... Google Mashup Editor had a feature release. Check out the post
for the full list but my favorite new features include: Ability to edit XML, CSS and HTML files uploaded into the editor. New Tab styling and custom placement of tabs via CSS Documentation for new features Blogoscoped reported
that iGoogle…</description><link>https://timbroder.com/2007/09/last-week-recap/</link><guid isPermaLink="false">https://timbroder.com/2007/09/last-week-recap</guid><pubDate>Wed, 12 Sep 2007 01:24:00 GMT</pubDate><content:encoded><![CDATA[<p>These are just a few highlights from while I was gone...</p>
<p><a href="http://googleblog.blogspot.com/2007/09/our-plans-for-code-jam.html">Google</a>
Starts talking about a possible coding competition and gives some practice
problems. Maybe I'll take a crack at them on the train on Friday...</p>
<p><a href="http://googlemashupeditor.blogspot.com/2007/08/more-new-stuff-831-feature-release.html">Google Mashup Editor</a> had a feature release. Check out the post
for the full list but my favorite new features include:</p>
<ul>
<li>Ability to edit XML, CSS and HTML files uploaded into the editor.</li>
<li>New Tab styling and custom placement of tabs via CSS</li>
<li>Documentation for new features</li>
</ul>
<p><a href="http://blogoscoped.com/archive/2007-08-30-n76.html">Blogoscoped</a> reported
that iGoogle now has gadget to gadget communication. I think this will lead to
the design of whole tabs with smaller more placeable gadgets that talk to each
other rather then bigger uglier (possibly sluggish?) gadgets.</p>
<p><a href="http://jessenoller.com/2007/08/31/python-30-alpha-1-released-you-want-it-because-its-cool/trackback/">Jessen Oller</a>: "Python 3.0 Alpha 1 released: You
want it because it’s cool." Mmmmmmmmmm python. Get it
<a href="http://python.org/download/releases/3.0/">here</a></p>
<p><a href="http://google-code-updates.blogspot.com/2007/08/google-web-toolkit-out-of-beta-as-of-14.html">GWT</a> 1.4 came out of beta</p>
<p><a href="http://gearsblog.blogspot.com/2007/08/google-gears-02-developer-release-ready.html">Google Gears</a> 0.2 developer release ready for download. New
features include:</p>
<ul>
<li>Crosss-origin API support</li>
<li>HttpRequest and Timer modules (can be used as workers)</li>
</ul>
<p><a href="http://blogoscoped.com/archive/2007-09-03-n45.html">Blogoscoped</a> reported
that there are now new layout options on iGoogle. <a href="http://www.google.com/ig">Check it
out</a></p>
<p><a href="http://google-d-s.blogspot.com/2007/09/lazy-wednesday.html">Google Spreadsheets</a> got autocomplete. Its pretty nifty. It even understands Sun,
Mon, and then what should come next, same for months and others.</p>
]]></content:encoded></item>
<item><title>Back in NY!</title><description>Well as much fun as I had on the West Coast, there's no place like home and
its good to be back. Highlights from my trip include Pike's Market, Tap House,
Microsoft's campus, the Space Needle, and Mount Si in Seattle, and Dreamworks,
Chinatown, and San Fransisco itself. Photos to come as soon as I have time to
upload them to Picasa. As I posted while I was gone, my favorite thing I glanced at in reader was the
fact that Google Reader added a search bar. This is great for me, there are so
many times where I…</description><link>https://timbroder.com/2007/09/back-in-ny/</link><guid isPermaLink="false">https://timbroder.com/2007/09/back-in-ny</guid><pubDate>Wed, 12 Sep 2007 00:57:00 GMT</pubDate><content:encoded><![CDATA[<p>Well as much fun as I had on the West Coast, there's no place like home and
its good to be back. Highlights from my trip include Pike's Market, Tap House,
Microsoft's campus, the Space Needle, and Mount Si in Seattle, and Dreamworks,
Chinatown, and San Fransisco itself. Photos to come as soon as I have time to
upload them to Picasa.</p>
<p>As I <a href="https://timbroder.com/2007/09/google-reader-adds-search-box/">posted</a> while I was gone, my favorite thing I glanced at in reader was the
fact that Google Reader added a search bar. This is great for me, there are so
many times where I think "what the heck was that article about that thing...".</p>
<p>Quick summery post of things I saw in reader coming up...</p>
]]></content:encoded></item>
<item><title>Google Reader adds Search Box!!</title><description>Finally!! No more using Yahoo Pipes to search the feeds! I'm sitting here waiting for my friend Eli to pick me up from his apartment
for a nice lunch over at dreamworks, glancing over a few feeds (I have a LOT
to catch up on when I get back to NY), and one jumped out at me, the Google
Reader Team has finally added a search box to Google reader.  This box will search all of your feeds! Also included in this release are: Ability to hide side navigation (I just tried it, it's very well done) Unread count is…</description><link>https://timbroder.com/2007/09/google-reader-adds-search-box/</link><guid isPermaLink="false">https://timbroder.com/2007/09/google-reader-adds-search-box</guid><pubDate>Thu, 06 Sep 2007 18:20:00 GMT</pubDate><content:encoded><![CDATA[<p>Finally!! No more using Yahoo Pipes to search the feeds!</p>
<p>I'm sitting here waiting for my friend Eli to pick me up from his apartment
for a nice lunch over at dreamworks, glancing over a few feeds (I have a LOT
to catch up on when I get back to NY), and one jumped out at me, the Google
Reader Team has finally added a search box to Google reader.</p>
<p><img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
<p>This box will search all of your feeds! Also included in this release are:</p>
<ul>
<li>Ability to hide side navigation (I just tried it, it's very well done)</li>
<li>Unread count is now 1,000+ rather then 100+ (this is going to be good for
me when I get back)</li>
<li>Forward and Back buttons now have more responsiveness when moving between
folders and feeds</li>
</ul>
<p>Check out <a href="http://blogsearch.google.com/">Google Blog Search</a> for more blog
searching.</p>
]]></content:encoded></item>
<item><title>gPowered.net update: Diggs and HOWTO list</title><description>Quick update while I'm sitting here waiting for my friends in Seattle to get
home from work, and its dinner time in NY, I need food! Anyway, I added the
Digg count and HOWTO lists to the Post List
page as YUI tabview tabs.</description><link>https://timbroder.com/2007/08/gpowerednet-update-diggs-and-howto-list/</link><guid isPermaLink="false">https://timbroder.com/2007/08/gpowerednet-update-diggs-and-howto-list</guid><pubDate>Fri, 31 Aug 2007 23:50:00 GMT</pubDate><content:encoded><![CDATA[<p>Quick update while I'm sitting here waiting for my friends in Seattle to get
home from work, and its dinner time in NY, I need food! Anyway, I added the
Digg count and HOWTO lists to the <a href="https://gpowered.net/g/postlist/">Post List</a>
page as YUI tabview tabs.</p>
]]></content:encoded></item>
<item><title>HOWTO: YUI Tabview</title><description>A few days ago I added the Digg counts to the bottom of the
Posts page on gPowered.net. Although, the
more posts that I add, the further down on the page this section will get, so
I decided to play around with YUI's tabview
control and put the post list in one
tab, and the diggs in another. It turned out to be really easy: First we need a few dependencies And then we just need to organize some DIVs</description><link>https://timbroder.com/2007/08/howto-yui-tabview/</link><guid isPermaLink="false">https://timbroder.com/2007/08/howto-yui-tabview</guid><pubDate>Fri, 31 Aug 2007 23:25:00 GMT</pubDate><content:encoded><![CDATA[<p>A few days ago I added the Digg counts to the bottom of the
<a href="https://gpowered.net/g/postlist">Posts</a> page on gPowered.net. Although, the
more posts that I add, the further down on the page this section will get, so
I decided to play around with YUI's <a href="http://developer.yahoo.com/yui/tabview/">tabview
control</a> and put the post list in one
tab, and the diggs in another. It turned out to be really easy:</p>
<p>First we need a few dependencies</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="html"><code><span class="line"><span style="color:#94907d">    &lt;!-- Dependencies --&gt;</span><span style="color:#F8F8F2">  </span></span>
<span class="line"><span style="color:#94907d">    &lt;!-- core CSS --&gt;</span><span style="color:#F8F8F2">  </span></span>
<span class="line"><span style="color:#F8F8F2">    &lt;</span><span style="color:#fa4f8d">link</span><span style="color:#A6E22E"> rel</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"stylesheet"</span><span style="color:#A6E22E"> type</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"text/css"</span><span style="color:#A6E22E"> href</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"http://yui.yahooapis.com/2.3.0/build/tabview/assets/tabview.css"</span><span style="color:#F8F8F2">&gt;   </span></span>
<span class="line"><span style="color:#F8F8F2">    </span></span>
<span class="line"><span style="color:#94907d">    &lt;!-- optional skin for border tabs --&gt;</span><span style="color:#F8F8F2">  </span></span>
<span class="line"><span style="color:#F8F8F2">    &lt;</span><span style="color:#fa4f8d">link</span><span style="color:#A6E22E"> rel</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"stylesheet"</span><span style="color:#A6E22E"> type</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"text/css"</span><span style="color:#A6E22E"> href</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"http://yui.yahooapis.com/2.3.0/build/tabview/assets/border_tabs.css"</span><span style="color:#F8F8F2">&gt;   </span></span>
<span class="line"><span style="color:#F8F8F2">    </span></span>
<span class="line"><span style="color:#F8F8F2">    &lt;</span><span style="color:#fa4f8d">script</span><span style="color:#A6E22E"> type</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"text/javascript"</span><span style="color:#A6E22E"> src</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"http://yui.yahooapis.com/2.3.0/build/yahoo-dom-event/yahoo-dom-event.js"</span><span style="color:#F8F8F2">&gt;&lt;/</span><span style="color:#fa4f8d">script</span><span style="color:#F8F8F2">&gt;  </span></span>
<span class="line"><span style="color:#F8F8F2">    &lt;</span><span style="color:#fa4f8d">script</span><span style="color:#A6E22E"> type</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"text/javascript"</span><span style="color:#A6E22E"> src</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"http://yui.yahooapis.com/2.3.0/build/element/element-beta-min.js"</span><span style="color:#F8F8F2">&gt;&lt;/</span><span style="color:#fa4f8d">script</span><span style="color:#F8F8F2">&gt;  </span></span>
<span class="line"><span style="color:#F8F8F2">    </span></span>
<span class="line"><span style="color:#94907d">    &lt;!-- Source file --&gt;</span><span style="color:#F8F8F2">  </span></span>
<span class="line"><span style="color:#F8F8F2">    &lt;</span><span style="color:#fa4f8d">script</span><span style="color:#A6E22E"> type</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"text/javascript"</span><span style="color:#A6E22E"> src</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"http://yui.yahooapis.com/2.3.0/build/tabview/tabview-min.js"</span><span style="color:#F8F8F2">&gt;&lt;/</span><span style="color:#fa4f8d">script</span><span style="color:#F8F8F2">&gt;  </span></span></code></pre>
<p>And then we just need to organize some DIVs</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="html"><code><span class="line"><span style="color:#F8F8F2">    &lt;</span><span style="color:#fa4f8d">div</span><span style="color:#A6E22E"> id</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"demo"</span><span style="color:#A6E22E"> class</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"yui-navset"</span><span style="color:#F8F8F2">&gt;   </span></span>
<span class="line"><span style="color:#F8F8F2">     &lt;</span><span style="color:#fa4f8d">ul</span><span style="color:#A6E22E"> class</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"yui-nav"</span><span style="color:#F8F8F2">&gt;   </span></span>
<span class="line"><span style="color:#F8F8F2">      &lt;</span><span style="color:#fa4f8d">li</span><span style="color:#A6E22E"> class</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"selected"</span><span style="color:#F8F8F2">&gt;&lt;</span><span style="color:#fa4f8d">a</span><span style="color:#A6E22E"> href</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"#posts"</span><span style="color:#F8F8F2">&gt;&lt;</span><span style="color:#fa4f8d">em</span><span style="color:#F8F8F2">&gt;Posts&lt;/</span><span style="color:#fa4f8d">em</span><span style="color:#F8F8F2">&gt;&lt;/</span><span style="color:#fa4f8d">a</span><span style="color:#F8F8F2">&gt;&lt;/</span><span style="color:#fa4f8d">li</span><span style="color:#F8F8F2">&gt;  </span></span>
<span class="line"><span style="color:#F8F8F2">      &lt;</span><span style="color:#fa4f8d">li</span><span style="color:#F8F8F2">&gt;&lt;</span><span style="color:#fa4f8d">a</span><span style="color:#A6E22E"> href</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"#diggs"</span><span style="color:#F8F8F2">&gt;&lt;</span><span style="color:#fa4f8d">em</span><span style="color:#F8F8F2">&gt;Diggs&lt;/</span><span style="color:#fa4f8d">em</span><span style="color:#F8F8F2">&gt;&lt;/</span><span style="color:#fa4f8d">a</span><span style="color:#F8F8F2">&gt;&lt;/</span><span style="color:#fa4f8d">li</span><span style="color:#F8F8F2">&gt; </span></span>
<span class="line"><span style="color:#F8F8F2">      &lt;</span><span style="color:#fa4f8d">li</span><span style="color:#F8F8F2">&gt;&lt;</span><span style="color:#fa4f8d">a</span><span style="color:#A6E22E"> href</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"#HOWTOs"</span><span style="color:#F8F8F2">&gt;&lt;</span><span style="color:#fa4f8d">em</span><span style="color:#F8F8F2">&gt;HOWTO's&lt;/</span><span style="color:#fa4f8d">em</span><span style="color:#F8F8F2">&gt;&lt;/</span><span style="color:#fa4f8d">a</span><span style="color:#F8F8F2">&gt;&lt;/</span><span style="color:#fa4f8d">li</span><span style="color:#F8F8F2">&gt; </span></span>
<span class="line"><span style="color:#F8F8F2">     &lt;/</span><span style="color:#fa4f8d">ul</span><span style="color:#F8F8F2">&gt;               </span></span>
<span class="line"><span style="color:#F8F8F2">     &lt;</span><span style="color:#fa4f8d">div</span><span style="color:#A6E22E"> class</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"yui-content"</span><span style="color:#F8F8F2">&gt;   </span></span>
<span class="line"><span style="color:#F8F8F2">      &lt;</span><span style="color:#fa4f8d">div</span><span style="color:#A6E22E"> id</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"posts"</span><span style="color:#A6E22E"> style</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"margin: 10px"</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">       &lt;</span><span style="color:#fa4f8d">h3</span><span style="color:#F8F8F2">&gt;Posts&lt;/</span><span style="color:#fa4f8d">h3</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">       content</span></span>
<span class="line"><span style="color:#F8F8F2">      &lt;/</span><span style="color:#fa4f8d">div</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">      &lt;</span><span style="color:#fa4f8d">div</span><span style="color:#A6E22E"> id</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"diggs"</span><span style="color:#A6E22E"> style</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"margin: 10px"</span><span style="color:#F8F8F2">&gt; </span></span>
<span class="line"><span style="color:#F8F8F2">       &lt;</span><span style="color:#fa4f8d">h3</span><span style="color:#F8F8F2">&gt;Diggs&lt;/</span><span style="color:#fa4f8d">h3</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">       content</span></span>
<span class="line"><span style="color:#F8F8F2">      &lt;/</span><span style="color:#fa4f8d">div</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">     &lt;/</span><span style="color:#fa4f8d">div</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">    &lt;/</span><span style="color:#fa4f8d">div</span><span style="color:#F8F8F2">&gt;</span></span></code></pre>
]]></content:encoded></item>
<item><title>Vacation!</title><description>Hi All, I'm leaving for vacation in a few. I'm going to be in Seattle, Washington
until Wed morning and then San Fransisco until the following Sunday. I don't
know if / when I'll be able to post anything but I'll try if I have some
downtime ;) Hey look, an embedded map!! View Larger Map</description><link>https://timbroder.com/2007/08/vacation/</link><guid isPermaLink="false">https://timbroder.com/2007/08/vacation</guid><pubDate>Thu, 30 Aug 2007 20:21:00 GMT</pubDate><content:encoded><![CDATA[<p>Hi All,</p>
<p>I'm leaving for vacation in a few. I'm going to be in Seattle, Washington
until Wed morning and then San Fransisco until the following Sunday. I don't
know if / when I'll be able to post anything but I'll try if I have some
downtime ;)</p>
<p>Hey look, an embedded map!!</p>
<p><a href="http://maps.google.com/maps?f=d&amp;hl=en&amp;geocode=&amp;saddr=Hoboken,+NJ&amp;daddr=JFK+to:Seattle,+WA+to:Parnassus+Ave+%4037.762970,+-122.459770+to:JFK+-+John+F+Kennedy+Intl+Airport,+Queens,+NY+to:Hoboken,+NJ&amp;mrcr=4&amp;mra=pi&amp;sll=42.7379,-98.589685&amp;sspn=44.718271,82.265625&amp;ie=UTF8&amp;om=1&amp;ll=42.7379,-98.589685&amp;spn=44.718271,82.265625&amp;source=embed">View Larger Map</a></p>
]]></content:encoded></item>
<item><title>HOWTO: Getting the Numer of Diggs from Digg (Python)</title><description>After 2 of my posts were on the Digg front page this morning (Thank you all
very much to those that dugg them), I took my first look into the Digg
API. I wanted a way to take a quick look to see how
many Diggs certain stories were getting. In some ways it is similar to GData:
make a call to a URL, get some XML back, parse it, etc. It does, however, feel
lighter, probably due to its streamlined nature. It has one purpose, get
information off of Digg. Using this, I've added a section in the Post
List section…</description><link>https://timbroder.com/2007/08/getting-numerof-diggs-from-digg/</link><guid isPermaLink="false">https://timbroder.com/2007/08/getting-numerof-diggs-from-digg</guid><pubDate>Thu, 30 Aug 2007 03:32:00 GMT</pubDate><content:encoded><![CDATA[<p>After 2 of my posts were on the Digg front page this morning (Thank you all
very much to those that dugg them), I took my first look into the <a href="http://apidoc.digg.com/">Digg
API</a>. I wanted a way to take a quick look to see how
many Diggs certain stories were getting. In some ways it is similar to GData:
make a call to a URL, get some XML back, parse it, etc. It does, however, feel
lighter, probably due to its streamlined nature. It has one purpose, get
information off of Digg. Using this, I've added a section in the <a href="https://gpowered.net/g/postlist/">Post
List</a> section of gPowered.net that shows the
Diggs of a few of the articles that I have submitted on Digg.</p>
<p>The API is broken into 5 main sections or endpoints. Each of these will return
related types of data:</p>
<ul>
<li>Stories</li>
<li>Events</li>
<li>Users</li>
<li>Topics</li>
<li>Errors</li>
</ul>
<p>In this quick HOWTO I'm going to take a quick look into the Stories endpoint
so I can display the number of Diggs specific stories have. We'll start off by
making a small class to hold our returned data (useful to send to a template
or just for working with later on. We don't want to keep having to hit the
ElementTree to get data out). All of the calls will be send to
'<a href="http://services.digg.com/">http://services.digg.com/</a>'. In this example I will only be querying
'<a href="http://services.digg.com/story/%7Bstory">http://services.digg.com/story/{story</a> clean title}'.</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="python"><code><span class="line"><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> httplib2</span></span>
<span class="line"><span style="color:#fa4f8d">from</span><span style="color:#F8F8F2"> elementtree </span><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> ElementTree</span></span>
<span class="line"></span>
<span class="line"><span style="color:#94907d">#for storing</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">class</span><span> </span><span style="color:#A6E22E;text-decoration:underline">MyDigg</span><span style="color:#F8F8F2">:</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic"> def</span><span style="color:#66D9EF"> __init__</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F;font-style:italic">self</span><span style="color:#F8F8F2">, </span><span style="color:#FD971F;font-style:italic">title</span><span style="color:#F8F8F2">, </span><span style="color:#FD971F;font-style:italic">link</span><span style="color:#F8F8F2">, </span><span style="color:#FD971F;font-style:italic">digg</span><span style="color:#F8F8F2">, </span><span style="color:#FD971F;font-style:italic">diggs</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#FD971F">  self</span><span style="color:#F8F8F2">.title </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> title</span></span>
<span class="line"><span style="color:#FD971F">  self</span><span style="color:#F8F8F2">.link </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> link</span></span>
<span class="line"><span style="color:#FD971F">  self</span><span style="color:#F8F8F2">.digg </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> digg</span></span>
<span class="line"><span style="color:#FD971F">  self</span><span style="color:#F8F8F2">.diggs </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> diggs</span></span>
<span class="line"></span>
<span class="line"><span style="color:#66D9EF;font-style:italic"> def</span><span style="color:#66D9EF"> __str__</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F;font-style:italic">self</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#fa4f8d">  return</span><span style="color:#FD971F"> self</span><span style="color:#F8F8F2">.title </span><span style="color:#fa4f8d">+</span><span style="color:#E6DB74"> ' '</span><span style="color:#fa4f8d"> +</span><span style="color:#FD971F"> self</span><span style="color:#F8F8F2">.diggs</span></span>
<span class="line"></span>
<span class="line"><span style="color:#94907d">#stories to get diggs of</span></span>
<span class="line"><span style="color:#F8F8F2">posts </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> [</span></span>
<span class="line"><span style="color:#E6DB74"> 'Google_NOT_releasing_it_s_Goobuntu_Desktop_OS_STOP_DIGGING_IT'</span><span style="color:#F8F8F2">,</span></span>
<span class="line"><span style="color:#E6DB74"> 'New_Digg_Home_Page_breaks_the_Linux_section_on_IE'</span><span style="color:#F8F8F2">,</span></span>
<span class="line"><span style="color:#E6DB74"> 'Google_Reader_API_Functions'</span></span>
<span class="line"><span style="color:#F8F8F2"> ]</span></span>
<span class="line"></span>
<span class="line"><span style="color:#94907d">#hold returned info</span></span>
<span class="line"><span style="color:#F8F8F2">my_diggs </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> []</span></span>
<span class="line"></span>
<span class="line"><span style="color:#94907d">#all calls go through this</span></span>
<span class="line"><span style="color:#F8F8F2">digg_service </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> 'http://services.digg.com/'</span></span>
<span class="line"></span>
<span class="line"><span style="color:#94907d">#just looking at stories</span></span>
<span class="line"><span style="color:#F8F8F2">service_endpoint </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> digg_service </span><span style="color:#fa4f8d">+</span><span style="color:#E6DB74"> 'story/</span><span style="color:#AE81FF">%s</span><span style="color:#E6DB74">'</span></span>
<span class="line"></span>
<span class="line"><span style="color:#94907d">#only need 1 result back</span></span>
<span class="line"><span style="color:#F8F8F2">trailer </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> '?count=1&amp;appkey;=http%3A</span><span style="color:#AE81FF">%2F%2F</span><span style="color:#E6DB74">gpowered.blogspot.com'</span></span>
<span class="line"></span>
<span class="line"><span style="color:#94907d">#keep track of total diggs</span></span>
<span class="line"><span style="color:#F8F8F2">total_diggs </span><span style="color:#fa4f8d">=</span><span style="color:#AE81FF"> 0</span></span></code></pre>
<p>After we are set up, we will want to loop through each story we want to get
Digg data for. Add the well formed title into the query string, and send it to
the Digg service. Then, parse the response, and get the information we need.</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="python"><code><span class="line"><span style="color:#fa4f8d">for</span><span style="color:#F8F8F2"> story </span><span style="color:#fa4f8d">in</span><span style="color:#F8F8F2"> posts:</span></span>
<span class="line"><span style="color:#F8F8F2"> curr_story </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> service_endpoint </span><span style="color:#fa4f8d">%</span><span style="color:#F8F8F2"> story</span></span>
<span class="line"><span style="color:#F8F8F2"> url </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> curr_story </span><span style="color:#fa4f8d">+</span><span style="color:#F8F8F2"> trailer</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2"> h </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> httplib2.Http()</span></span>
<span class="line"><span style="color:#F8F8F2"> resp, content </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> h.request(url, </span><span style="color:#E6DB74">"GET"</span><span style="color:#F8F8F2">, </span><span style="color:#FD971F;font-style:italic">body</span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74">"nt"</span><span style="color:#F8F8F2">, </span><span style="color:#FD971F;font-style:italic">headers</span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2">{</span><span style="color:#E6DB74">'content-type'</span><span style="color:#F8F8F2">:</span><span style="color:#E6DB74">'text/plain'</span><span style="color:#F8F8F2">} )</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2"> story </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> ElementTree.fromstring(content).findall(</span><span style="color:#E6DB74">'story'</span><span style="color:#F8F8F2">)[</span><span style="color:#AE81FF">0</span><span style="color:#F8F8F2">]</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2"> d </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> MyDigg(story.findall(</span><span style="color:#E6DB74">'title'</span><span style="color:#F8F8F2">)[</span><span style="color:#AE81FF">0</span><span style="color:#F8F8F2">].text, story.get(</span><span style="color:#E6DB74">'link'</span><span style="color:#F8F8F2">), story.get(</span><span style="color:#E6DB74">'href'</span><span style="color:#F8F8F2">), story.get(</span><span style="color:#E6DB74">'diggs'</span><span style="color:#F8F8F2">))</span></span>
<span class="line"><span style="color:#F8F8F2"> total_diggs </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> total_diggs </span><span style="color:#fa4f8d">+</span><span style="color:#66D9EF;font-style:italic"> int</span><span style="color:#F8F8F2">(d.diggs)</span></span>
<span class="line"><span style="color:#F8F8F2"> my_diggs.append(d)</span></span>
<span class="line"><span style="color:#66D9EF"> print</span><span style="color:#F8F8F2"> d</span></span>
<span class="line"></span>
<span class="line"><span style="color:#66D9EF">print</span><span style="color:#E6DB74"> 'Total: '</span><span style="color:#fa4f8d"> +</span><span style="color:#66D9EF;font-style:italic"> str</span><span style="color:#F8F8F2">(total_diggs)</span></span></code></pre>
<p>And that's that. my_diggs now has all the information we need!</p>
]]></content:encoded></item>
<item><title>Google's Newest Data Center [Pics]</title><description>Information
Week
posted some photos of Google's newest data center near The Dalles' dam.
Needless to say, I wouldn't mind access to this baby. Heck, I would want one,
but there is no way I would be able to power it. I'm sure the proximity to the
dam's power station and water supply were key factors in choosing the
location.</description><link>https://timbroder.com/2007/08/google-newest-data-center-pics/</link><guid isPermaLink="false">https://timbroder.com/2007/08/google-newest-data-center-pics</guid><pubDate>Thu, 30 Aug 2007 03:25:00 GMT</pubDate><content:encoded><![CDATA[<p><a href="http://www.informationweek.com/galleries/showImage.jhtml?galleryID=62">Information
Week</a>
posted some photos of Google's newest data center near The Dalles' dam.
Needless to say, I wouldn't mind access to this baby. Heck, I would want one,
but there is no way I would be able to power it. I'm sure the proximity to the
dam's power station and water supply were key factors in choosing the
location.</p>
<p><img src="https://timbroder.com/images/remote/2007-08-30-google-newest-data-center-pics/google12_full.jpg" alt=""></p>
<p><img src="https://timbroder.com/images/remote/2007-08-30-google-newest-data-center-pics/google11_full.jpg" alt=""></p>
<p><img src="https://timbroder.com/images/remote/2007-08-30-google-newest-data-center-pics/google7_full.jpg" alt=""></p>
]]></content:encoded></item>
<item><title>NY State Fair Embedded Map</title><description>It's really, really easy to put maps onto any site or blog now using Embedded
Maps. I threw this together real quick to demonstrate. This past
weekend I drove up to Syracuse for the New York State fair. A great time if
you have never been. Plenty of fantastic food and drink. I also had to pick up
my old roomie, and using Google Maps new multiple destination feature this was
easy as well. First stop:  Adding the second stop:  Getting the code to embed the map by clicking on "Link to this page":  If you want…</description><link>https://timbroder.com/2007/08/ny-state-fair-embedded-map/</link><guid isPermaLink="false">https://timbroder.com/2007/08/ny-state-fair-embedded-map</guid><pubDate>Wed, 29 Aug 2007 03:58:00 GMT</pubDate><content:encoded><![CDATA[<p>It's really, really easy to put maps onto any site or blog now using <a href="http://google-latlong.blogspot.com/2007/08/youtube-style-embeddable-maps_21.html">Embedded
Maps</a>. I threw this together real quick to demonstrate. This past
weekend I drove up to Syracuse for the New York State fair. A great time if
you have never been. Plenty of fantastic food and drink. I also had to pick up
my old roomie, and using Google Maps new multiple destination feature this was
easy as well.</p>
<p>First stop:</p>
<p><img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
<p>Adding the second stop:</p>
<p><img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
<p>Getting the code to embed the map by clicking on "Link to this page":</p>
<p><img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
<p>If you want, more advanced options:</p>
<p><img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
<p><img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
<p>And now, the final product:</p>
<p><a href="http://maps.google.com/maps?f=d&amp;hl=en&amp;geocode=&amp;saddr=Hoboken,+NJ&amp;daddr=Morristown,+NJ+to:Syracuse,+NY&amp;mrcr=1&amp;mra=pi&amp;sll=40.759195,-74.254055&amp;sspn=0.207522,0.466919&amp;ie=UTF8&amp;om=1&amp;ll=41.87761,-75.10599&amp;spn=2.862977,4.669189&amp;z=7&amp;source=embed">View Larger Map</a></p>
]]></content:encoded></item>
<item><title>Codeless Embedded Maps</title><description>Google Maps released Embeddable Maps. It's as
easy as embedding youtube videos. All you have to do is create your map, and
then under the "Link to this page" menu, there is a new option under the link
that has some HTML iframe code to add the map anywhere. Check out the next
post to see the trip to Syracuse I took this weekend to go to the New York
State Fair.</description><link>https://timbroder.com/2007/08/codeless-embedded-maps/</link><guid isPermaLink="false">https://timbroder.com/2007/08/codeless-embedded-maps</guid><pubDate>Wed, 29 Aug 2007 03:42:00 GMT</pubDate><content:encoded><![CDATA[<p>Google Maps released <a href="http://google-latlong.blogspot.com/2007/08/youtube-style-embeddable-maps_21.html">Embeddable Maps</a>. It's as
easy as embedding youtube videos. All you have to do is create your map, and
then under the "Link to this page" menu, there is a new option under the link
that has some HTML iframe code to add the map anywhere. Check out the next
post to see the trip to Syracuse I took this weekend to go to the New York
State Fair.</p>
]]></content:encoded></item>
<item><title>Programmable Web hits 500 API's!</title><description>This isn't a Google post per say, but if you haven't checked out Programmable
Web, I highly recommend doing so. They catalog
API's, Mashups, Howto's, and host contests. Programmable Web has the following Google API's registered, next to them is
each API's mashup count: Google AdSense 14 Google AdWords 18 Google Ajax Feeds 5 Google Ajax Search 25 Google Base 18 Google Calendar 19 Google Checkout 4 Google Client Authentication 2 Google Code Search 1 Google Custom Search 0 Google Desktop 8 Google Documents…</description><link>https://timbroder.com/2007/08/programmable-web-hits-500-apis/</link><guid isPermaLink="false">https://timbroder.com/2007/08/programmable-web-hits-500-apis</guid><pubDate>Wed, 29 Aug 2007 03:32:00 GMT</pubDate><content:encoded><![CDATA[<p>This isn't a Google post per say, but if you haven't checked out <a href="http://programmableweb.com">Programmable
Web</a>, I highly recommend doing so. They catalog
API's, Mashups, Howto's, and host contests.</p>
<p>Programmable Web has the following Google API's registered, next to them is
each API's mashup count:</p>
<ul>
<li>Google AdSense 14</li>
<li>Google AdWords 18</li>
<li>Google Ajax Feeds 5</li>
<li>Google Ajax Search 25</li>
<li>Google Base 18</li>
<li>Google Calendar 19</li>
<li>Google Checkout 4</li>
<li>Google Client Authentication 2</li>
<li>Google Code Search 1</li>
<li>Google Custom Search 0</li>
<li>Google Desktop 8</li>
<li>Google Documents 0</li>
<li>Google Gears 0</li>
<li>Google Homepage 32</li>
<li>Google Maps 1128</li>
<li>Google Mashup Editor 2</li>
<li>Google Notebook 1</li>
<li>Google Picasa 5</li>
<li>Google Provisioning 0</li>
<li>Google Research 0</li>
<li>Google Safe Browsing 1</li>
<li>Google Search 80</li>
<li>Google Single SignOn 0</li>
<li>Google Spreadsheets 2</li>
<li>Google Talk 3</li>
<li>Google Translate 0</li>
<li>Google Web Authentication 1</li>
</ul>
]]></content:encoded></item>
<item><title>Old Google Design back?</title><description>Blogoscoped reports that
some people have the old design (Google App links are above the search bar
instead of the upper left). I checked at work on IE6 and firefox and at home
on firefox (on Gutsy) and IE7 both logged in and logged out but still had the
new interface. I wonder who has the old one...</description><link>https://timbroder.com/2007/08/old-google-design-back/</link><guid isPermaLink="false">https://timbroder.com/2007/08/old-google-design-back</guid><pubDate>Wed, 29 Aug 2007 03:29:00 GMT</pubDate><content:encoded><![CDATA[<p><a href="http://blogoscoped.com/archive/2007-08-27.html#n55">Blogoscoped</a> reports that
some people have the old design (Google App links are above the search bar
instead of the upper left). I checked at work on IE6 and firefox and at home
on firefox (on Gutsy) and IE7 both logged in and logged out but still had the
new interface. I wonder who has the old one...</p>
]]></content:encoded></item>
<item><title>Webmaster tools adds Internationalization support</title><description>You can now register domains in Webmaster
Central with non-English characters in
them by supporting IDNA (Internationalizing Domain Names in Applications).
Originally only domains with a-z, A-Z, 0-9, or '-' could be used. I tested it
out and it looks like its working good!</description><link>https://timbroder.com/2007/08/webmaster-tools-adds/</link><guid isPermaLink="false">https://timbroder.com/2007/08/webmaster-tools-adds</guid><pubDate>Wed, 29 Aug 2007 03:27:00 GMT</pubDate><content:encoded><![CDATA[<p>You can now register domains in <a href="http://www.google.com/webmasters/">Webmaster
Central</a> with non-English characters in
them by supporting IDNA (Internationalizing Domain Names in Applications).
Originally only domains with a-z, A-Z, 0-9, or '-' could be used. I tested it
out and it looks like its working good!</p>
]]></content:encoded></item>
<item><title>Google is NOT working on a desktop OS for the public!!</title><description>This is really just a quick response to this Digg. How it made the front
page is completely beyond my comprehension. The article itself is a year old
and Google has denied countless times they are going to release "Goobuntu".
Heck, I've been to a tech talk where its been stated that Goobuntu is just
their internal OS that developers can use that comes with some snazzy Google
tools. See below for some other confirmations that Goobuntu isn't coming out. http://digg.com/linux_unix/Google_is_preparing_its_own…</description><link>https://timbroder.com/2007/08/google-is-not-working-on-desktop-os-for/</link><guid isPermaLink="false">https://timbroder.com/2007/08/google-is-not-working-on-desktop-os-for</guid><pubDate>Tue, 28 Aug 2007 22:52:00 GMT</pubDate><content:encoded><![CDATA[<p>This is really just a quick response to <a href="http://digg.com/linux_unix/Google_is_preparing_its_own_distribution_of_Linux">this</a> Digg. How it made the front
page is completely beyond my comprehension. The article itself is a year old
and Google has denied countless times they are going to release "Goobuntu".
Heck, I've been to a tech talk where its been stated that Goobuntu is just
their internal OS that developers can use that comes with some snazzy Google
tools. See below for some other confirmations that Goobuntu isn't coming out.</p>
<ul>
<li><a href="http://digg.com/linux_unix/Google_is_preparing_its_own_distribution_of_Linux">http://digg.com/linux_unix/Google_is_preparing_its_own_distribution_of_Linux</a></li>
<li><a href="http://www.desktoplinux.com/news/NS3052748545.html">http://www.desktoplinux.com/news/NS3052748545.html</a></li>
<li><a href="http://ubuntu.wordpress.com/2006/02/01/goobuntu-analysis-of-a-hoax/">http://ubuntu.wordpress.com/2006/02/01/goobuntu-analysis-of-a-hoax/</a></li>
<li><a href="http://blogoscoped.com/forum/98978.html">http://blogoscoped.com/forum/98978.html</a></li>
<li><a href="http://en.wikipedia.org/wiki/Goobuntu">http://en.wikipedia.org/wiki/Goobuntu</a></li>
</ul>
<p>I'm going to add to this list but I really need some dinner....</p>
<p>Goobuntu is on every one's most wanted list from Google, Heck I'd rather have
that then the gPhone... maybe... but as of right now, I'll have to wait
forever....</p>
]]></content:encoded></item>
<item><title>New Digg Home Page breaks the Linux section on IE?</title><description>So I'm sitting here eating lunch and go to see if there is anything new on
Digg. Saw the new layout, looks nice, haven't really had a chance to play
around with it yet. However, when i got to the
Linux/Unix section, it wouldn't show up in
Internet Explorer (6). It works fine in FireFox. Does someone over at Digg
have a sense of humor or is my browser just acting on the bunk?</description><link>https://timbroder.com/2007/08/new-digg-home-page-breaks-linux-section/</link><guid isPermaLink="false">https://timbroder.com/2007/08/new-digg-home-page-breaks-linux-section</guid><pubDate>Tue, 28 Aug 2007 17:05:00 GMT</pubDate><content:encoded><![CDATA[<p>So I'm sitting here eating lunch and go to see if there is anything new on
Digg. Saw the new layout, looks nice, haven't really had a chance to play
around with it yet. However, when i got to the
<a href="http://digg.com/linux_unix">Linux/Unix</a> section, it wouldn't show up in
Internet Explorer (6). It works fine in FireFox. Does someone over at Digg
have a sense of humor or is my browser just acting on the bunk?</p>
<p><a href="https://4.bp.blogspot.com/_Ng3QbVQfLZ8/RtRZ55E6BUI/AAAAAAAAKos/itsvL5UrT2c/s1600-h/screen_linux.gif"><img src="https://timbroder.com/images/missing-image.svg" alt=""></a></p>
]]></content:encoded></item>
<item><title>Blogger Update: Video in post is out of beta</title><description>Or out of "in draft" I should say. Not much to show in the ways of how to use
this: A button has been
added next to the add an image icon. Maybe I'll use this in my upcoming post
about using spreadsheets and base as a database... hmmm...</description><link>https://timbroder.com/2007/08/blogger-update-video-in-post-is-out-of/</link><guid isPermaLink="false">https://timbroder.com/2007/08/blogger-update-video-in-post-is-out-of</guid><pubDate>Tue, 28 Aug 2007 02:01:00 GMT</pubDate><content:encoded><![CDATA[<p>Or out of "in draft" I should say. Not much to show in the ways of how to use
<a href="http://buzz.blogger.com/2007/08/3-2-1-action.html">this</a>: A button has been
added next to the add an image icon. Maybe I'll use this in my upcoming post
about using spreadsheets and base as a database... hmmm...</p>
<p><img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
]]></content:encoded></item>
<item><title>Zoho Writer using Gears (cont'd)</title><description>In a quick follow-up to my previous article; Google code blog
posted a video talk about the experience the Zoho team had in incorporating
Gears with their Writer. I hate to bring it up again, but like I said before, the Docs team better get
moving... a Google product competitor using Google Gears first?</description><link>https://timbroder.com/2007/08/zoho-writer-using-gears-contd/</link><guid isPermaLink="false">https://timbroder.com/2007/08/zoho-writer-using-gears-contd</guid><pubDate>Tue, 28 Aug 2007 01:45:00 GMT</pubDate><content:encoded><![CDATA[<p>In a quick follow-up to my <a href="https://timbroder.com/2007/08/google-get-in-gear/">previous article</a>; Google <a href="http://google-code-updates.blogspot.com/2007/08/weekly-google-code-roundup-reaching-sky.html">code blog</a>
posted a <a href="http://gearsblog.blogspot.com/2007/08/gearing-up-with-zoho-offline.html">video talk</a> about the experience the Zoho team had in incorporating
Gears with their Writer.</p>
<p>I hate to bring it up again, but like I said before, the Docs team better get
moving... a Google product competitor using Google Gears first?</p>
]]></content:encoded></item>
<item><title>HOWTO: Google Reader API Functions</title><description>I've been wanting an API for Google reader since I started using it, and
especially since i started gPowered so I could display a list of the feeds I
read on the site. The official word on an API for reader is "It's coming in a
few weeks," but that was back in late 2005. The reason being that at the time,
the URLs the API would use were going to change a lot. So, after a bit of
research and coding I came up with some python functions to do the job. The first step was authenticating against Google accounts…</description><link>https://timbroder.com/2007/08/google-reader-api-functions/</link><guid isPermaLink="false">https://timbroder.com/2007/08/google-reader-api-functions</guid><pubDate>Thu, 23 Aug 2007 02:57:00 GMT</pubDate><content:encoded><![CDATA[<p>I've been wanting an API for Google reader since I started using it, and
especially since i started gPowered so I could display a list of the feeds I
read on the site. The official word on an API for reader is "It's coming in a
few weeks," but that was back in late 2005. The reason being that at the time,
the URLs the API would use were going to change a lot. So, after a bit of
research and coding I came up with some python functions to do the job.</p>
<p>The first step was authenticating against Google accounts without using the
<a href="http://code.google.com/p/gdata-python-client/">client library</a>. The Python
Gdata Library makes login very easy but Reader isn't part of the Client
Library yet (maybe I'll try to add it, we'll see...) but
<a href="http://djcraven.blogspot.com/2006/10/success-posting-to-blogger-beta-using.html">this</a> was the method I was using for gdata and python pre-Client
Library, and the principles still hold true for working with Reader.
Thankfully, most of the <a href="http://www.niallkennedy.com/blog/archives/2005/12/google_reader_a.html">research</a> for working with the 'Reader API' was done for me
already by Niall Kennedy. This is an unofficial, unsupported API and the URLs
for some of the queries have changed since the writing of that article. Here
we go...</p>
<p>We're going to use urllib(2) to handle the communication with this one. I
rather would have used httplib, but I was having trouble with the
authentication cookie. Each retrieval has its own URL to query against</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="python"><code><span class="line"><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> urllib</span></span>
<span class="line"><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> urllib2</span></span>
<span class="line"><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> re</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">login </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> 'timothy.broder@gmail.com'</span></span>
<span class="line"><span style="color:#F8F8F2">password </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> '****'</span></span>
<span class="line"><span style="color:#F8F8F2">source </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> 'gPowered'</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">google_url </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> 'http://www.google.com'</span></span>
<span class="line"><span style="color:#F8F8F2">reader_url </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> google_url </span><span style="color:#fa4f8d">+</span><span style="color:#E6DB74"> '/reader'</span></span>
<span class="line"><span style="color:#F8F8F2">login_url </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> 'https://www.google.com/accounts/ClientLogin'</span></span>
<span class="line"><span style="color:#F8F8F2">token_url </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> reader_url </span><span style="color:#fa4f8d">+</span><span style="color:#E6DB74"> '/api/0/token'</span></span>
<span class="line"><span style="color:#F8F8F2">subscription_list_url </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> reader_url </span><span style="color:#fa4f8d">+</span><span style="color:#E6DB74"> '/api/0/subscription/list'</span></span>
<span class="line"><span style="color:#F8F8F2">reading_url </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> reader_url </span><span style="color:#fa4f8d">+</span><span style="color:#E6DB74"> '/atom/user/-/state/com.google/reading-list'</span></span>
<span class="line"><span style="color:#F8F8F2">read_items_url </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> reader_url </span><span style="color:#fa4f8d">+</span><span style="color:#E6DB74"> '/atom/user/-/state/com.google/read'</span></span>
<span class="line"><span style="color:#F8F8F2">reading_tag_url </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> reader_url </span><span style="color:#fa4f8d">+</span><span style="color:#E6DB74"> '/atom/user/-/label/</span><span style="color:#AE81FF">%s</span><span style="color:#E6DB74">'</span></span>
<span class="line"><span style="color:#F8F8F2">starred_url </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> reader_url </span><span style="color:#fa4f8d">+</span><span style="color:#E6DB74"> '/atom/user/-/state/com.google/starred'</span></span>
<span class="line"><span style="color:#F8F8F2">subscription_url </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> reader_url </span><span style="color:#fa4f8d">+</span><span style="color:#E6DB74"> '/api/0/subscription/edit'</span></span>
<span class="line"><span style="color:#F8F8F2">get_feed_url </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> reader_url </span><span style="color:#fa4f8d">+</span><span style="color:#E6DB74"> '/atom/feed/'</span></span></code></pre>
<p>When we authenticate against Google Reader with a gmail account and password
in the browser, a cookie is stored. We'll have to recreate the values in this
cookie. The static values are the Domain (.google.com), the Path (/), and
Expires (we'll use 160000000000). The unique value, based on the current login
session, is the SID (Session ID?), which we will need to retrieve. We'll do
the login and retrieval in the same function:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="python"><code><span class="line"><span style="color:#94907d">#login / get SED</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">def</span><span style="color:#A6E22E"> get_SID</span><span style="color:#F8F8F2">():</span></span>
<span class="line"><span style="color:#F8F8F2">    header </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> {</span><span style="color:#E6DB74">'User-agent'</span><span style="color:#F8F8F2"> : source}</span></span>
<span class="line"><span style="color:#F8F8F2">    post_data </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> urllib.urlencode({ </span><span style="color:#E6DB74">'Email'</span><span style="color:#F8F8F2">: login, </span><span style="color:#E6DB74">'Passwd'</span><span style="color:#F8F8F2">: password, </span><span style="color:#E6DB74">'service'</span><span style="color:#F8F8F2">: </span><span style="color:#E6DB74">'reader'</span><span style="color:#F8F8F2">, </span><span style="color:#E6DB74">'source'</span><span style="color:#F8F8F2">: source, </span><span style="color:#E6DB74">'continue'</span><span style="color:#F8F8F2">: google_url, })</span></span>
<span class="line"><span style="color:#F8F8F2">    request </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> urllib2.Request(login_url, post_data, header)</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">    try</span><span style="color:#F8F8F2"> :</span></span>
<span class="line"><span style="color:#F8F8F2">        f </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> urllib2.urlopen( request )</span></span>
<span class="line"><span style="color:#F8F8F2">        result </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> f.read()</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">    except</span><span style="color:#F8F8F2">:</span></span>
<span class="line"><span style="color:#66D9EF">        print</span><span style="color:#E6DB74"> 'Error logging in'</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">    return</span><span style="color:#F8F8F2"> re.search(</span><span style="color:#E6DB74">'SID=(\S*)'</span><span style="color:#F8F8F2">, result).group(</span><span style="color:#AE81FF">1</span><span style="color:#F8F8F2">)</span></span></code></pre>
<p>We'll also need a function that can handle any of those URLs, create the
header, attach a cookie to it, and retrieve the data from Google. I left the
return as a raw data string so you could use whatever XML parsing library you
want. I personally like using <a href="http://effbot.org/zone/element-index.htm">ElementTree</a>.</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="python"><code><span class="line"><span style="color:#94907d">#get results from url</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">def</span><span style="color:#A6E22E"> get_results</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F;font-style:italic">SID</span><span style="color:#F8F8F2">, </span><span style="color:#FD971F;font-style:italic">url</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#F8F8F2">    header </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> {</span><span style="color:#E6DB74">'User-agent'</span><span style="color:#F8F8F2"> : source}</span></span>
<span class="line"><span style="color:#F8F8F2">    header[</span><span style="color:#E6DB74">'Cookie'</span><span style="color:#F8F8F2">]</span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74">'Name=SID;SID=</span><span style="color:#AE81FF">%s</span><span style="color:#E6DB74">;Domain=.google.com;Path=/;Expires=160000000000'</span><span style="color:#fa4f8d"> %</span><span style="color:#AE81FF"> SID</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">    request </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> urllib2.Request(url, </span><span style="color:#AE81FF">None</span><span style="color:#F8F8F2">, header)</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">    try</span><span style="color:#F8F8F2"> :</span></span>
<span class="line"><span style="color:#F8F8F2">        f </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> urllib2.urlopen( request )</span></span>
<span class="line"><span style="color:#F8F8F2">        result </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> f.read()</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">    except</span><span style="color:#F8F8F2">:</span></span>
<span class="line"><span style="color:#66D9EF">        print</span><span style="color:#E6DB74"> 'Error getting data from </span><span style="color:#AE81FF">%s</span><span style="color:#E6DB74">'</span><span style="color:#fa4f8d"> %</span><span style="color:#F8F8F2"> url</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">    return</span><span style="color:#F8F8F2"> result</span></span></code></pre>
<p>The following methods are the calls that I've gotten working so far; I'm going
to keep working on the 'edit' functions, like adding, removing feeds, changing
tags, etc. See the comments for what they do. Note: Any edit against the API
needs to send over a changing token as part of the call</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="python"><code><span class="line"><span style="color:#94907d">#get a token, this is needed for modifying to reader</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">def</span><span style="color:#A6E22E"> get_token</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F;font-style:italic">SID</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#fa4f8d">    return</span><span style="color:#F8F8F2"> get_results(</span><span style="color:#AE81FF">SID</span><span style="color:#F8F8F2">, token_url)</span></span>
<span class="line"></span>
<span class="line"><span style="color:#94907d">#get a specific feed.  It works for any feed, subscribed or not</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">def</span><span style="color:#A6E22E"> get_feed</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F;font-style:italic">SID</span><span style="color:#F8F8F2">, </span><span style="color:#FD971F;font-style:italic">url</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#fa4f8d"> return</span><span style="color:#F8F8F2"> get_results(</span><span style="color:#AE81FF">SID</span><span style="color:#F8F8F2">, get_feed_url </span><span style="color:#fa4f8d">+</span><span style="color:#F8F8F2"> url.encode(</span><span style="color:#E6DB74">'utf-8'</span><span style="color:#F8F8F2">))</span></span>
<span class="line"></span>
<span class="line"><span style="color:#94907d">#get a list of the users subscribed feeds</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">def</span><span style="color:#A6E22E"> get_subscription_list</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F;font-style:italic">SID</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#fa4f8d">    return</span><span style="color:#F8F8F2"> get_results(</span><span style="color:#AE81FF">SID</span><span style="color:#F8F8F2">, subscription_list_url)</span></span>
<span class="line"></span>
<span class="line"><span style="color:#94907d">#get a feed of the users unread items</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">def</span><span style="color:#A6E22E"> get_reading_list</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F;font-style:italic">SID</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#fa4f8d">    return</span><span style="color:#F8F8F2"> get_results(</span><span style="color:#AE81FF">SID</span><span style="color:#F8F8F2">, reading_url)</span></span>
<span class="line"></span>
<span class="line"><span style="color:#94907d">#get a feed of the users read items</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">def</span><span style="color:#A6E22E"> get_read_items</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F;font-style:italic">SID</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#fa4f8d">    return</span><span style="color:#F8F8F2"> get_results(</span><span style="color:#AE81FF">SID</span><span style="color:#F8F8F2">, read_items_url)</span></span>
<span class="line"></span>
<span class="line"><span style="color:#94907d">#get a feed of the users unread items of a given tag</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">def</span><span style="color:#A6E22E"> get_reading_tag_list</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F;font-style:italic">SID</span><span style="color:#F8F8F2">, </span><span style="color:#FD971F;font-style:italic">tag</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#F8F8F2">        tagged_url </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> reading_tag_url </span><span style="color:#fa4f8d">%</span><span style="color:#F8F8F2"> tag</span></span>
<span class="line"><span style="color:#fa4f8d">        return</span><span style="color:#F8F8F2"> get_results(</span><span style="color:#AE81FF">SID</span><span style="color:#F8F8F2">, tagged_url.encode(</span><span style="color:#E6DB74">'utf-8'</span><span style="color:#F8F8F2">))</span></span>
<span class="line"></span>
<span class="line"><span style="color:#94907d">#get a feed of a users starred items/feeds</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">def</span><span style="color:#A6E22E"> get_starred</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F;font-style:italic">SID</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#fa4f8d">    return</span><span style="color:#F8F8F2"> get_results(</span><span style="color:#AE81FF">SID</span><span style="color:#F8F8F2">, starred_url)</span></span>
<span class="line"></span>
<span class="line"><span style="color:#94907d">#subscribe of unsubscribe to a feed</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">def</span><span style="color:#A6E22E"> modify_subscription</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F;font-style:italic">SID</span><span style="color:#F8F8F2">, </span><span style="color:#FD971F;font-style:italic">what</span><span style="color:#F8F8F2">, </span><span style="color:#FD971F;font-style:italic">do</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#F8F8F2">    url </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> subscription_url </span><span style="color:#fa4f8d">+</span><span style="color:#E6DB74"> '?client=client:</span><span style="color:#AE81FF">%s</span><span style="color:#E6DB74">&amp;ac;=</span><span style="color:#AE81FF">%s</span><span style="color:#E6DB74">&amp;s;=</span><span style="color:#AE81FF">%s</span><span style="color:#E6DB74">&amp;token;=</span><span style="color:#AE81FF">%s</span><span style="color:#E6DB74">'</span><span style="color:#fa4f8d"> %</span><span style="color:#F8F8F2"> ( login, do.encode(</span><span style="color:#E6DB74">'utf-8'</span><span style="color:#F8F8F2">), </span><span style="color:#E6DB74">'feed</span><span style="color:#AE81FF">%2F</span><span style="color:#E6DB74">'</span><span style="color:#fa4f8d"> +</span><span style="color:#F8F8F2"> what.encode(</span><span style="color:#E6DB74">'utf-8'</span><span style="color:#F8F8F2">), get_token(</span><span style="color:#AE81FF">SID</span><span style="color:#F8F8F2">) )</span></span>
<span class="line"><span style="color:#66D9EF">    print</span><span style="color:#F8F8F2"> url</span></span>
<span class="line"><span style="color:#fa4f8d">    return</span><span style="color:#F8F8F2"> get_results(</span><span style="color:#AE81FF">SID</span><span style="color:#F8F8F2">, url)</span></span>
<span class="line"></span>
<span class="line"><span style="color:#94907d">#subscribe to a feed</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">def</span><span style="color:#A6E22E"> subscribe_to</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F;font-style:italic">SID</span><span style="color:#F8F8F2">, </span><span style="color:#FD971F;font-style:italic">url</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#fa4f8d">    return</span><span style="color:#F8F8F2"> modify_subscription(</span><span style="color:#AE81FF">SID</span><span style="color:#F8F8F2">, url, </span><span style="color:#E6DB74">'subscribe'</span><span style="color:#F8F8F2">)</span></span>
<span class="line"></span>
<span class="line"><span style="color:#94907d">#unsubscribe to a feed</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">def</span><span style="color:#A6E22E"> unsubscribe_from</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F;font-style:italic">SID</span><span style="color:#F8F8F2">, </span><span style="color:#FD971F;font-style:italic">url</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#fa4f8d">    return</span><span style="color:#F8F8F2"> modify_subscription(</span><span style="color:#AE81FF">SID</span><span style="color:#F8F8F2">, url, </span><span style="color:#E6DB74">'unsubscribe'</span><span style="color:#F8F8F2">)</span></span></code></pre>
<p>Example usage:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="python"><code><span class="line"><span style="color:#AE81FF">SID</span><span style="color:#fa4f8d"> =</span><span style="color:#F8F8F2"> get_SID()</span></span>
<span class="line"><span style="color:#66D9EF">print</span><span style="color:#F8F8F2"> get_subscription_list(</span><span style="color:#AE81FF">SID</span><span style="color:#F8F8F2">)</span></span>
<span class="line"><span style="color:#94907d">#print get_reading_list(SID)</span></span>
<span class="line"><span style="color:#94907d">#print get_read_items(SID)</span></span>
<span class="line"><span style="color:#94907d">#print get_reading_tag_list(SID, 'me')</span></span>
<span class="line"><span style="color:#94907d">#print get_reading_tag_list(SID, 'nada-mas')</span></span>
<span class="line"><span style="color:#94907d">#print get_starred(SID)</span></span>
<span class="line"><span style="color:#94907d">#print get_token(SID)</span></span>
<span class="line"></span>
<span class="line"><span style="color:#94907d">#test_feed = 'http://picasaweb.google.com/data/feed/base/user/timothy.broder/albumid/5101347429735335089?kind=photo&amp;alt;=rss&amp;hl;=en_US'</span></span>
<span class="line"></span>
<span class="line"><span style="color:#94907d">#print subscribe_to(SID, test_feed)</span></span>
<span class="line"><span style="color:#94907d">#returns ok but I don't see the feed in reader?</span></span>
<span class="line"></span>
<span class="line"><span style="color:#94907d">#print get_feed(SID, test_feed)</span></span></code></pre>
<p>Like I said, I'd like to keep going with this and get the edit functionality
to work better. I'm also going to take a look into the Client Library and see
if I could set this up as a patch that people could use if they wanted to use
the API.</p>
]]></content:encoded></item>
<item><title>View Google Groups posts in Reader</title><description>I don't know why I never noticed this before but you can subscribe to the mail
sent to Google Groups through an RSS feed at the bottom of each group. I'm
trying it out for a few groups, I might like it better then reading through
the mail. I wonder if there is a way to subscribe to the rolled up versions of
the posts...</description><link>https://timbroder.com/2007/08/view-google-groups-posts-in-reader/</link><guid isPermaLink="false">https://timbroder.com/2007/08/view-google-groups-posts-in-reader</guid><pubDate>Wed, 22 Aug 2007 21:11:00 GMT</pubDate><content:encoded><![CDATA[<p>I don't know why I never noticed this before but you can subscribe to the mail
sent to Google Groups through an RSS feed at the bottom of each group. I'm
trying it out for a few groups, I might like it better then reading through
the mail. I wonder if there is a way to subscribe to the rolled up versions of
the posts...</p>
<p><img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
]]></content:encoded></item>
<item><title>Blogger resumes service</title><description>Blogger was down this morning from a little after 9:30 until a few minutes
ago, but now, all is well...</description><link>https://timbroder.com/2007/08/blogger-resumes-service/</link><guid isPermaLink="false">https://timbroder.com/2007/08/blogger-resumes-service</guid><pubDate>Wed, 22 Aug 2007 14:52:00 GMT</pubDate><content:encoded><![CDATA[<p>Blogger was down this morning from a little after 9:30 until a few minutes
ago, but now, all is well...</p>
<p><img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
<p><img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
]]></content:encoded></item>
<item><title>Google Web Toolkit 1.4 Release Candidate 2</title><description>Google Web Toolkit Blog: Google Web Toolkit 1.4 Release Candidate
2 Short post I know, but its getting late and I'm off call at
midnight so... The latest release candidate for GWT is available for
download. There are over
100 bug fixes included in this RC. Some of the enhancements include: ArrayList toArray(SomeClass[]) is now implemented SuggestBox value now gettable DateTimeFormat parse defaults to 00:00:00 for dd-MM-yyyy format The current browser event is globally accessible</description><link>https://timbroder.com/2007/08/google-web-toolkit-14-release-candidate/</link><guid isPermaLink="false">https://timbroder.com/2007/08/google-web-toolkit-14-release-candidate</guid><pubDate>Wed, 22 Aug 2007 03:47:00 GMT</pubDate><content:encoded><![CDATA[<p><a href="http://googlewebtoolkit.blogspot.com/2007/08/google-web-toolkit-14-release-candidate.html">Google Web Toolkit Blog: Google Web Toolkit 1.4 Release Candidate
2</a> Short post I know, but its getting late and I'm off call at
midnight so...</p>
<p>The latest release candidate for GWT is available for
<a href="http://code.google.com/webtoolkit/download.html#rc">download</a>. There are over
100 bug fixes included in this RC. Some of the enhancements include:</p>
<ul>
<li>ArrayList toArray(SomeClass[]) is now implemented</li>
<li>SuggestBox value now gettable</li>
<li>DateTimeFormat parse defaults to 00:00:00 for dd-MM-yyyy format</li>
<li>The current browser event is globally accessible</li>
</ul>
]]></content:encoded></item>
<item><title>Google Mashup Editor Blog: New Tutorial: Using Picasa Web Album Feeds in GME</title><description>The guys over on the Mashup team have posted a new tutorial on how to use the
Google Mashup Editor to mash Picasa Web Albums with a Google Map. The example
is here. I started working on my own
but I haven't really played with the GME before. Hopefully I'll have that
tomorrow.</description><link>https://timbroder.com/2007/08/google-mashup-editor-blog-new-tutorial/</link><guid isPermaLink="false">https://timbroder.com/2007/08/google-mashup-editor-blog-new-tutorial</guid><pubDate>Wed, 22 Aug 2007 03:34:00 GMT</pubDate><content:encoded><![CDATA[<p>The guys over on the Mashup team have posted a <a href="http://code.google.com/support/bin/answer.py?answer=74728&amp;topic=12044">new tutorial</a> on how to use the
Google Mashup Editor to mash Picasa Web Albums with a Google Map. The example
is <a href="http://levsplaces.googlemashups.com/">here</a>. I started working on my own
but I haven't really played with the GME before. Hopefully I'll have that
tomorrow.</p>
]]></content:encoded></item>
<item><title>Gadgets now on Google Calendar!</title><description>Google Gadgets can now be added to your calendar. Previously the only gadgets
I had on my calendar were Google Doodles, Weather, phases of the moon, and
PicasaWeb Photo of the day. Now just about anything is going to be possible. I
briefly played around with it this morning and added horoscopes and Sudoku to
my calendar.  Other new gadgets include Movie Release dates and famous people's birthdays. I
expect that very soon there will be video game releases as well.
Documentation is
out for the gadgets, so get…</description><link>https://timbroder.com/2007/08/gadgets-now-on-google-calendar/</link><guid isPermaLink="false">https://timbroder.com/2007/08/gadgets-now-on-google-calendar</guid><pubDate>Wed, 22 Aug 2007 02:52:00 GMT</pubDate><content:encoded><![CDATA[<p>Google Gadgets can now be added to your calendar. Previously the only gadgets
I had on my calendar were Google Doodles, Weather, phases of the moon, and
PicasaWeb Photo of the day. Now just about anything is going to be possible. I
briefly played around with it this morning and added horoscopes and Sudoku to
my calendar.</p>
<p><img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
<p>Other new gadgets include Movie Release dates and famous people's birthdays. I
expect that very soon there will be video game releases as well.
<a href="http://code.google.com/apis/calendar/calendar_gadgets.html">Documentation</a> is
out for the gadgets, so get coding!</p>
]]></content:encoded></item>
<item><title>C'mon Google! Get in Gear!!</title><description>As of this morning (or at least sometime before lunch), Zoho
Writer turned on offline mode with Google
Gears. If you haven't heard about Gears yet is a small application (and
framework for developers) to enable Ajax applications to go offline. It uses a
very small local server and database to grab all the data you would need
should the application go offline (this has to be set up by the developers of
the application). There is a great podcast about it here from
the Google Developer Podcast. The first…</description><link>https://timbroder.com/2007/08/google-get-in-gear/</link><guid isPermaLink="false">https://timbroder.com/2007/08/google-get-in-gear</guid><pubDate>Wed, 22 Aug 2007 02:34:00 GMT</pubDate><content:encoded><![CDATA[<p>As of this morning (or at least sometime before lunch), <a href="http://writer.zoho.com/index.do">Zoho
Writer</a> turned on offline mode with Google
Gears. If you haven't heard about Gears yet is a small application (and
framework for developers) to enable Ajax applications to go offline. It uses a
very small local server and database to grab all the data you would need
should the application go offline (this has to be set up by the developers of
the application). There is a great podcast about it <a href="http://google-code-updates.blogspot.com/2007/06/google-developer-podcast-episode-three.html">here</a> from
the Google Developer Podcast. The first Google product to use it was Google
Reader which I though was pretty nifty. Before you go on a trip, just hit "Go
Offline" and it will download all of your unread posts... get on the plane and
shazam, all your reading to keep you busy.</p>
<p>Zoho currently only supports offline read which I assume means Gears will grab
all of your documents and you can read them over. Zoho says they will be
adding read/write functionality in 3-4 weeks.</p>
<p>I must say though, I'm very disappointed that Google got beat to having this
in Docs and Spreadsheets first. I'm sure it would help a great deal with the
Google Office Hacks <a href="http://blogoscoped.com/archive/2007-08-08-n90.html">book</a>
that Philipp Lenssen is writing. C'mon Google, GET IN GEAR(S)!!</p>
<p><img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
<p><img src="https://timbroder.com/images/missing-image.svg" alt=""></p>
]]></content:encoded></item>
<item><title>My current fav Google Map Mashups</title><description>These are some sites I've found since people have started making Google Map
Mashups either because they are really cool or I use them a lot. DiggMap - Diggs are shown in real-time on
the map for users that have specified their location in their profile. Google Maps Batch Geocoder Google Offices - Shows Google Offices around the world Traffic and Weather Maps - Mashes Traffic
conditions, road closings, construction, and weather. Not too useful to me as
I don't have a car anymore but it was when I did ;) Walk…</description><link>https://timbroder.com/2007/08/my-current-fav-google-map-mashups/</link><guid isPermaLink="false">https://timbroder.com/2007/08/my-current-fav-google-map-mashups</guid><pubDate>Sat, 18 Aug 2007 23:18:00 GMT</pubDate><content:encoded><![CDATA[<p>These are some sites I've found since people have started making Google Map
Mashups either because they are really cool or I use them a lot.</p>
<p><a href="http://www.bittrees.com/diggmap/">DiggMap</a> - Diggs are shown in real-time on
the map for users that have specified their location in their profile.</p>
<p><a href="http://www.wotton.org/map/batchgeo.html">Google Maps Batch Geocoder</a></p>
<p><a href="http://www.google.com/maps/ms?msa=0&amp;msid=112255436550398488662.00000111d25a08716efa7">Google Offices</a> - Shows Google Offices around the world</p>
<p><a href="http://traffic.poly9.com/">Traffic and Weather Maps</a> - Mashes Traffic
conditions, road closings, construction, and weather. Not too useful to me as
I don't have a car anymore but it was when I did ;)</p>
<p><a href="http://map.talleye.com/">Walk in a straight line around the world!</a> - Pick a
spot on the map, then the direction you want to walk in, and the map will show
you all the places you would hit if you walked around the world!</p>
<p><a href="http://www.gypsymaps.com/">GypsyMaps</a> - My all time favorite. Gives
Directions with the NYC subway system. I like it a lot better then
<a href="http://www.hopstop.com">hopstop</a>, it just seems more responsive</p>
<p><a href="http://www.walkscore.com">Walk Score</a> - Put in where you live and find all
the walkable places near you. Great for living in a City and you don't have a
car.</p>
<p><a href="http://www.google.com/apis/maps/documentation/index.html">Google Maps API</a> -
Not a map, but the starting resource for if you want to make a mashup</p>
<p><a href="http://gmaps-samples.googlecode.com/svn/trunk/spreadsheetsmapwizard/makecustommap.htm">Google Maps with a spreadsheet</a> -
Power a Google map from</p>
<p><a href="http://streetviewr.com/">StreetViewr</a> - A collection of funny, interesting,
random photos that people have found with <a href="http://maps.google.com/maps?f=q&amp;hl=en&amp;ie=UTF8&amp;ll=37.09024,-95.712891&amp;spn=47.167389,92.8125&amp;z=4&amp;om=1&amp;layer=c&amp;utm_campaign=en&amp;utm_source=en-ha-na-us-google-svn&amp;utm_medium=ha">Google Street View</a></p>
<p><a href="http://the-edu-map.com/">The EDU Map</a> - See places of education for a given
city</p>
<p><a href="http://www.walkjogrun.net/">Walk Jog Run</a> - Share routes with other
runner's. I've found some new, less boring ones using this =)</p>
]]></content:encoded></item>
<item><title>Site Update: Post list and Links section</title><description>I Added an easier way to go through the posts I'v put on
blogger and the
site. Quick tutorial on it is
here. Also added a Links section that pull from my
Google Bookmarks. HOWTO is here</description><link>https://timbroder.com/2007/08/site-update-post-list-and-links-section/</link><guid isPermaLink="false">https://timbroder.com/2007/08/site-update-post-list-and-links-section</guid><pubDate>Sat, 11 Aug 2007 21:43:00 GMT</pubDate><content:encoded><![CDATA[<p>I Added an easier way to go through the posts I'v put on
<a href="https://timbroder.com/">blogger</a> and the
<a href="https://gpowered.net/g/">site</a>. Quick tutorial on it is
<a href="https://timbroder.com/2007/08/howto-getting-list-of-post-titles-from/">here</a>.</p>
<p>Also added a <a href="https://gpowered.net/links">Links</a> section that pull from my
Google Bookmarks. HOWTO is <a href="https://timbroder.com/2007/08/howto-pulling-google-bookmarks-with/">here</a></p>
]]></content:encoded></item>
<item><title>HOWTO: Pulling Google Bookmarks with Python</title><description>I love using Google Bookmarks (usually
with the Google Toolbar) because it lets me get
to my bookmarks at home on my laptop or desktop, at work, or anywhere. It's
great. Now I'm using those bookmarks to power the
links section of
gPowered.net 
First we're going to need the
httplib2 library so we can
authenticate against Google and grab the bookmark feed and then the
ElementTree to help process the
rss feed. Then we'll setup the link to pull the rss from, authenticate against the
request, and pull back the…</description><link>https://timbroder.com/2007/08/howto-pulling-google-bookmarks-with/</link><guid isPermaLink="false">https://timbroder.com/2007/08/howto-pulling-google-bookmarks-with</guid><pubDate>Sat, 11 Aug 2007 21:22:00 GMT</pubDate><content:encoded><![CDATA[<p>I love using <a href="http://www.google.com/bookmarks/">Google Bookmarks</a> (usually
with the <a href="http://toolbar.google.com">Google Toolbar</a>) because it lets me get
to my bookmarks at home on my laptop or desktop, at work, or anywhere. It's
great. Now I'm using those bookmarks to power the
<a href="https://gpowered.net/g/links/">links</a> section of
<a href="https://gpowered.net/g">gPowered.net</a><br>
First we're going to need the
<a href="http://code.google.com/p/httplib2/downloads/list">httplib2</a> library so we can
authenticate against Google and grab the bookmark feed and then the
<a href="http://effbot.org/zone/element-index.htm">ElementTree</a> to help process the
rss feed.</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="plaintext"><code><span class="line"><span>import httplib2</span></span>
<span class="line"><span>from elementtree import ElementTree</span></span></code></pre>
<p>Then we'll setup the link to pull the rss from, authenticate against the
request, and pull back the feed</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="plaintext"><code><span class="line"><span>login = "timothy.broder@gmail.com"  </span></span>
<span class="line"><span>password = "*****"</span></span>
<span class="line"><span>url = 'https://www.google.com/bookmarks/?output=rss&amp;num;=1000'  </span></span>
<span class="line"><span>  </span></span>
<span class="line"><span>h = httplib2.Http()  </span></span>
<span class="line"><span>h.add_credentials(login, password)  </span></span>
<span class="line"><span> </span></span>
<span class="line"><span>resp, content = h.request(url, "POST", body="nt", headers={'content-type':'text/plain'} )</span></span></code></pre>
<p>I figured for this a hashmap (or dictionary) would work well using the tags on
the bookmarks as keys, pointing to lists of bookmarks. Then when we display
them, just iterate through the keys. I also kept a list of the keys to make
sorting faster later on. So we define our objects and then loop through the
rss object pulling out the tags for keys, the names of the links, and the
urls. I define a small Bookmark class which holds a name and url which will go
into the hashmap to make storing the bookmark's easier. When I try to add a
bookmark to the dict's list I try to append it, if the key(tag) doesn't exist
I know I have to start a new list.</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="plaintext"><code><span class="line"><span>class Bookmark:</span></span>
<span class="line"><span> def __init__(self, name, link):</span></span>
<span class="line"><span>  self.name = name</span></span>
<span class="line"><span>  self.link = link</span></span>
<span class="line"><span>  </span></span>
<span class="line"><span>d = dict()</span></span>
<span class="line"><span>sort_keys = []</span></span>
<span class="line"><span>for item in tree.findall('item'):</span></span>
<span class="line"><span> key = item.findtext('{http://www.google.com/searchhistory}bkmk_label')</span></span>
<span class="line"><span> if (key != None) and (key != 'gpowered') and (key != 'BP') and (key != 'Quick Searches') and (key != 'Me'):</span></span>
<span class="line"><span>  title = item.findtext('title')</span></span>
<span class="line"><span>  link = item.findtext('link')</span></span>
<span class="line"><span>  try:</span></span>
<span class="line"><span>   d[key].append(Bookmark(title.encode('utf-8'), link))</span></span>
<span class="line"><span>  except KeyError:</span></span>
<span class="line"><span>   d[key] = [Bookmark(title.encode('utf-8'), link)]</span></span>
<span class="line"><span>   sort_keys.append(key)</span></span></code></pre>
<p>Then we'll sort the key list and the list of each key. To do this we need a
small function that defines how to sort a bookmark</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="plaintext"><code><span class="line"><span>def bookmark_compare(a, b):</span></span>
<span class="line"><span> return cmp(a.name, b.name)</span></span>
<span class="line"><span></span></span>
<span class="line"><span>sort_keys.sort() </span></span>
<span class="line"><span>for key in sort_keys:</span></span>
<span class="line"><span> d[key].sort(bookmark_compare)</span></span></code></pre>
<p>Check out the static HTML version <a href="https://gpowered.net/g/links/simple">Here</a>.
I also made a <a href="https://gpowered.net/g/links/">fancier version</a> using
<a href="http://developer.yahoo.com/yui/">YUI</a>'s
<a href="http://developer.yahoo.com/yui/treeview/">TreeView</a></p>
]]></content:encoded></item>
<item><title>HOWTO: Getting a list of post titles from blogger (Python)</title><description>This will be a quick one on how to pull the titles from your blog. I'm using
it to Lists the posts I have available on
gPowered.net. Firstly we'll set up our imports and
call to the blogger service. For this query we're going to use the summary feed because all we really need
for this is the titles, not the full posts: Then I just do a little counting so I can use the links on my site. All the
information we need is in feed.entry</description><link>https://timbroder.com/2007/08/howto-getting-list-of-post-titles-from/</link><guid isPermaLink="false">https://timbroder.com/2007/08/howto-getting-list-of-post-titles-from</guid><pubDate>Sat, 11 Aug 2007 18:25:00 GMT</pubDate><content:encoded><![CDATA[<p>This will be a quick one on how to pull the titles from your blog. I'm using
it to <a href="https://gpowered.net/g/postlist">Lists the posts</a> I have available on
<a href="https://gpowered.net/g/">gPowered.net</a>. Firstly we'll set up our imports and
call to the blogger service.</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="python"><code><span class="line"><span style="color:#fa4f8d">from</span><span style="color:#F8F8F2"> elementtree </span><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> ElementTree</span></span>
<span class="line"><span style="color:#fa4f8d">from</span><span style="color:#F8F8F2"> gdata </span><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> service</span></span>
<span class="line"><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> gdata</span></span>
<span class="line"><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> atom</span></span>
<span class="line"><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> getopt</span></span>
<span class="line"><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> sys</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">blog_id </span><span style="color:#fa4f8d">=</span><span style="color:#AE81FF"> 413573351281770670</span></span>
<span class="line"><span style="color:#F8F8F2">blogger_service </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> service.GDataService(</span><span style="color:#E6DB74">'timothy.broder@gmail.com'</span><span style="color:#F8F8F2">, </span><span style="color:#E6DB74">'*****'</span><span style="color:#F8F8F2">)</span></span>
<span class="line"><span style="color:#F8F8F2">blogger_service.source </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> 'Blogger_Python_Sample-1.0'</span></span>
<span class="line"><span style="color:#F8F8F2">blogger_service.service </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> 'blogger'</span></span>
<span class="line"><span style="color:#F8F8F2">blogger_service.server </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> 'www.blogger.com'</span></span>
<span class="line"><span style="color:#F8F8F2">blogger_service.ProgrammaticLogin()</span></span></code></pre>
<p>For this query we're going to use the summary feed because all we really need
for this is the titles, not the full posts:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="python"><code><span class="line"><span style="color:#F8F8F2">query </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> service.Query()</span></span>
<span class="line"><span style="color:#F8F8F2">query.feed </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> '/feeds/'</span><span style="color:#fa4f8d"> +</span><span style="color:#66D9EF;font-style:italic"> str</span><span style="color:#F8F8F2">(blog_id) </span><span style="color:#fa4f8d">+</span><span style="color:#E6DB74"> '/posts/summary'</span></span>
<span class="line"><span style="color:#F8F8F2">feed </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> blogger_service.Get(query.ToUri())</span></span></code></pre>
<p>Then I just do a little counting so I can use the links on my site. All the
information we need is in feed.entry</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="python"><code><span class="line"><span style="color:#F8F8F2">curr_id </span><span style="color:#fa4f8d">=</span><span style="color:#66D9EF;font-style:italic"> int</span><span style="color:#F8F8F2">(feed.total_results.text)</span></span>
<span class="line"><span style="color:#fa4f8d">for</span><span style="color:#F8F8F2"> entry </span><span style="color:#fa4f8d">in</span><span style="color:#F8F8F2"> feed.entry:</span></span>
<span class="line"><span style="color:#F8F8F2">    entry.my_id </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> curr_id</span></span>
<span class="line"><span style="color:#F8F8F2">    curr_id </span><span style="color:#fa4f8d">-=</span><span style="color:#AE81FF"> 1</span></span></code></pre>
]]></content:encoded></item>
<item><title>Quick Docs Api Example (python)</title><description>To use the gdata docs python client you need to upgrade to
1.0.7 or
higher. First thing is to import the modules you'll need. Then, set up the usual authentication parameters for the client. The most basic query will just return all of your documents However, if we want to display just the spreadsheets, we build the query like
this: Finally, we output the titles If we wanted to, we could also import the DateTime library and show when the
document was last updated For me this outputs:</description><link>https://timbroder.com/2007/08/quick-docs-api-example-python/</link><guid isPermaLink="false">https://timbroder.com/2007/08/quick-docs-api-example-python</guid><pubDate>Fri, 10 Aug 2007 03:04:00 GMT</pubDate><content:encoded><![CDATA[<p>To use the gdata docs python client you need to upgrade to
<a href="http://code.google.com/p/gdata-python-client/downloads/list">1.0.7</a> or
higher. First thing is to import the modules you'll need.</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="python"><code><span class="line"><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> gdata.docs.service</span></span>
<span class="line"><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> gdata.docs</span></span></code></pre>
<p>Then, set up the usual authentication parameters for the client.</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="python"><code><span class="line"><span style="color:#F8F8F2">gd_client </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> gdata.docs.service.DocsService()</span></span>
<span class="line"><span style="color:#F8F8F2">gd_client.email </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> 'timothy.broder'</span></span>
<span class="line"><span style="color:#F8F8F2">gd_client.password </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> '*****'</span></span>
<span class="line"><span style="color:#F8F8F2">gd_client.source </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> 'gpowered-docs-list-ex'</span></span>
<span class="line"><span style="color:#F8F8F2">gd_client.ProgrammaticLogin()</span></span></code></pre>
<p>The most basic query will just return all of your documents</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="python"><code><span class="line"><span style="color:#F8F8F2">feed </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> gd_client.GetDocumentListFeed()</span></span></code></pre>
<p>However, if we want to display just the spreadsheets, we build the query like
this:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="python"><code><span class="line"><span style="color:#F8F8F2">q </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> gdata.docs.service.DocumentQuery(</span><span style="color:#FD971F;font-style:italic">categories</span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2">[</span><span style="color:#E6DB74">'spreadsheet'</span><span style="color:#F8F8F2">])</span></span>
<span class="line"><span style="color:#F8F8F2">feed </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> gd_client.Query(q.ToUri())</span></span></code></pre>
<p>Finally, we output the titles</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="python"><code><span class="line"><span style="color:#fa4f8d">if</span><span style="color:#F8F8F2">(</span><span style="color:#66D9EF">len</span><span style="color:#F8F8F2">(feed.entry) </span><span style="color:#fa4f8d">==</span><span style="color:#AE81FF"> 0</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#66D9EF">        print</span><span style="color:#E6DB74"> 'No entries in feed.</span><span style="color:#AE81FF">\n</span><span style="color:#E6DB74">'</span></span>
<span class="line"><span style="color:#fa4f8d">for</span><span style="color:#F8F8F2"> i, entry </span><span style="color:#fa4f8d">in</span><span style="color:#66D9EF"> enumerate</span><span style="color:#F8F8F2">(feed.entry):</span></span>
<span class="line"><span style="color:#66D9EF">        print</span><span style="color:#E6DB74"> '</span><span style="color:#AE81FF">%s</span><span style="color:#AE81FF"> %s</span><span style="color:#E6DB74"> (</span><span style="color:#AE81FF">%s</span><span style="color:#E6DB74">)'</span><span style="color:#fa4f8d"> %</span><span style="color:#F8F8F2"> (i</span><span style="color:#fa4f8d">+</span><span style="color:#AE81FF">1</span><span style="color:#F8F8F2">, entry.title.text.encode(</span><span style="color:#E6DB74">'UTF-8'</span><span style="color:#F8F8F2">))</span></span></code></pre>
<p>If we wanted to, we could also import the DateTime library and show when the
document was last updated</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="python"><code><span class="line"><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> gdata.docs.service</span></span>
<span class="line"><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> gdata.docs</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">from</span><span style="color:#F8F8F2"> mx </span><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> DateTime</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">gd_client </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> gdata.docs.service.DocsService()</span></span>
<span class="line"><span style="color:#F8F8F2">gd_client.email </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> 'timothy.broder'</span></span>
<span class="line"><span style="color:#F8F8F2">gd_client.password </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> '*****'</span></span>
<span class="line"><span style="color:#F8F8F2">gd_client.source </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> 'gpowered-docs-list-ex'</span></span>
<span class="line"><span style="color:#F8F8F2">gd_client.ProgrammaticLogin()</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">q </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> gdata.docs.service.DocumentQuery(</span><span style="color:#FD971F;font-style:italic">categories</span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2">[</span><span style="color:#E6DB74">'spreadsheet'</span><span style="color:#F8F8F2">])</span></span>
<span class="line"><span style="color:#94907d">#feed = gd_client.GetDocumentListFeed()</span></span>
<span class="line"><span style="color:#F8F8F2">feed </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> gd_client.Query(q.ToUri())</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">if</span><span style="color:#F8F8F2">(</span><span style="color:#66D9EF">len</span><span style="color:#F8F8F2">(feed.entry) </span><span style="color:#fa4f8d">==</span><span style="color:#AE81FF"> 0</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#66D9EF">        print</span><span style="color:#E6DB74"> 'No entries in feed.</span><span style="color:#AE81FF">\n</span><span style="color:#E6DB74">'</span></span>
<span class="line"><span style="color:#fa4f8d">for</span><span style="color:#F8F8F2"> i, entry </span><span style="color:#fa4f8d">in</span><span style="color:#66D9EF"> enumerate</span><span style="color:#F8F8F2">(feed.entry):</span></span>
<span class="line"><span style="color:#F8F8F2">        dt </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> DateTime.</span><span style="color:#AE81FF">ISO</span><span style="color:#F8F8F2">.ParseDateTimeUTC(entry.updated.text)</span></span>
<span class="line"><span style="color:#66D9EF">        print</span><span style="color:#E6DB74"> '</span><span style="color:#AE81FF">%s</span><span style="color:#AE81FF"> %s</span><span style="color:#E6DB74"> (</span><span style="color:#AE81FF">%s</span><span style="color:#E6DB74">)'</span><span style="color:#fa4f8d"> %</span><span style="color:#F8F8F2"> (i</span><span style="color:#fa4f8d">+</span><span style="color:#AE81FF">1</span><span style="color:#F8F8F2">, entry.title.text.encode(</span><span style="color:#E6DB74">'UTF-8'</span><span style="color:#F8F8F2">), dt.strftime(</span><span style="color:#E6DB74">'%m/</span><span style="color:#AE81FF">%d</span><span style="color:#E6DB74">/%Y %I:%M %p'</span><span style="color:#F8F8F2">))</span></span></code></pre>
<p>For me this outputs:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="plaintext"><code><span class="line"><span>1 TDP2006 Contact Info (11/18/2006 05:41 AM)</span></span>
<span class="line"><span>2 contact info (07/23/2006 08:15 PM)</span></span>
<span class="line"><span>3 Tim and Rob (08/09/2007 10:18 PM)</span></span>
<span class="line"><span>4 nyc happy hour spreadsheet (07/04/2007 08:25 PM)</span></span>
<span class="line"><span>5 public_spring_2006_roster (10/16/2006 12:40 AM)</span></span>
<span class="line"><span>6 dax2006 (11/12/2006 11:23 PM)</span></span>
<span class="line"><span>7 project dream (07/13/2007 03:54 AM)</span></span>
<span class="line"><span>8 Stuff Tim should get (06/13/2007 01:53 AM)</span></span>
<span class="line"><span>9 Erg Test Results - 9/26 (10/15/2006 01:02 AM)</span></span>
<span class="line"><span>10 Head of the Charles Regatta Itineary (10/17/2006 04:54 PM)</span></span>
<span class="line"><span>11 tvshows (11/02/2006 11:44 PM)</span></span>
<span class="line"><span>12 HF (10/01/2006 03:36 PM)</span></span></code></pre>
]]></content:encoded></item>
<item><title>New Documents List API</title><description>Google Data API posts now you can import your spreadsheets and word
processor documents into Google Documents using the
new Documents List API. Until I write up a tutorial, check out the Documents List
API</description><link>https://timbroder.com/2007/08/new-documents-list-api/</link><guid isPermaLink="false">https://timbroder.com/2007/08/new-documents-list-api</guid><pubDate>Mon, 06 Aug 2007 23:46:00 GMT</pubDate><content:encoded><![CDATA[<p><a href="http://googledataapis.blogspot.com/2007/08/new-api-it-slices-it-dices-it-uploads.html">Google Data API posts</a> now you can import your spreadsheets and word
processor documents into <a href="http://docs.google.com/">Google Documents</a> using the
new Documents List API.</p>
<p>Until I write up a tutorial, check out the <a href="http://code.google.com/apis/documents/developers_guide_protocol.html">Documents List
API</a></p>
]]></content:encoded></item>
<item><title>Posting to Blogger from Google Docs &amp; Spreadsheets</title><description>I had seen some posts in the past (like this
one) and figured I would give it a try. The first thing I
liked was it feels a lot less cramped then the traditional blogger interface.
Secondly it feels more responsive which for me is pretty good for me as I'm on
a 6 year old laptop a lot of the time. Tagging is a little harder. You can tag
existing tags in blogger but I found it easier to post from Docs &amp;
Spreadsheets and then go back into the Blogger interface to tag. Blogger picks
up the post title from the…</description><link>https://timbroder.com/2007/08/posting-to-blogger-from-google-docs/</link><guid isPermaLink="false">https://timbroder.com/2007/08/posting-to-blogger-from-google-docs</guid><pubDate>Mon, 06 Aug 2007 01:17:00 GMT</pubDate><content:encoded><![CDATA[<p>I had seen some posts in the past (like <a href="http://websquirrel.blogspot.com/2006/11/post-google-docs-spreadsheetsto-your.html" title="this one">this
one</a>) and figured I would give it a try. The first thing I
liked was it feels a lot less cramped then the traditional blogger interface.
Secondly it feels more responsive which for me is pretty good for me as I'm on
a 6 year old laptop a lot of the time. Tagging is a little harder. You can tag
existing tags in blogger but I found it easier to post from Docs &amp;
Spreadsheets and then go back into the Blogger interface to tag. Blogger picks
up the post title from the title of the document, but you have to go back in
to add the link for the title. Check it out, it might be better for you then
the traditional interface.</p>
<p>I published this from Docs and Spreadsheets. Check out the doc
<a href="http://docs.google.com/Doc?id=dgvz8bxz_18dpvcrf">here</a></p>
]]></content:encoded></item>
<item><title>HOWTO: Displaying Blogger feeds with PHP</title><description>This HOWTO is going to follow the basic structure of the
Python one. To start out you'll have to grab the Zend Google data Client
Library and then set the
include_path so you can use it We then import the parts the we'll need: One of the first things we're going to have to do is authenticate with google
services. There are two ways to do this: AuthSub proxy authentication which has a
user login using their own credentials, and  ClientLogin username/password au
thentication where you send a username and…</description><link>https://timbroder.com/2007/08/howto-displaying-blogger-feeds-with-php/</link><guid isPermaLink="false">https://timbroder.com/2007/08/howto-displaying-blogger-feeds-with-php</guid><pubDate>Sun, 05 Aug 2007 22:44:00 GMT</pubDate><content:encoded><![CDATA[<p>This HOWTO is going to follow the basic structure of the
<a href="https://gpowered.net/g/post/2/">Python</a> one.</p>
<p>To start out you'll have to grab the <a href="http://framework.zend.com/download/gdata">Zend Google data Client
Library</a> and then set the
include_path so you can use it</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="php"><code><span class="line"><span style="color:#66D9EF">ini_set</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">"include_path"</span><span style="color:#F8F8F2">, </span><span style="color:#E6DB74">".:../:./include:../include:/home/gpowered/webapps/php/includes/ZendGdata-1.0.1/library"</span><span style="color:#F8F8F2">);</span></span></code></pre>
<p>We then import the parts the we'll need:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="php"><code><span class="line"><span style="color:#fa4f8d">require_once</span><span style="color:#E6DB74"> 'Zend/Loader.php'</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">Zend_Loader</span><span style="color:#fa4f8d">::</span><span style="color:#A6E22E">loadClass</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'Zend_Gdata'</span><span style="color:#F8F8F2">);</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">Zend_Loader</span><span style="color:#fa4f8d">::</span><span style="color:#A6E22E">loadClass</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'Zend_Gdata_Query'</span><span style="color:#F8F8F2">);</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">Zend_Loader</span><span style="color:#fa4f8d">::</span><span style="color:#A6E22E">loadClass</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'Zend_Gdata_ClientLogin'</span><span style="color:#F8F8F2">);</span></span></code></pre>
<p>One of the first things we're going to have to do is authenticate with google
services. There are two ways to do this: <a href="http://code.google.com/apis/blogger/developers_guide_php.html#auth_sub">AuthSub proxy authentication</a> which has a
user login using their own credentials, and <a href="http://code.google.com/apis/blogger/developers_guide_php.html#client_login"> ClientLogin username/password au
thentication</a> where you send a username and password. We will be using
ClientLogin. I built a small class called gPoweredBlogger to hold the
different parts I will need for this example.</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="php"><code><span class="line"><span style="color:#66D9EF;font-style:italic">class</span><span> </span><span style="color:#A6E22E;text-decoration:underline">gPoweredBlogger</span><span style="color:#F8F8F2">{</span></span>
<span class="line"><span style="color:#fa4f8d">    private</span><span style="color:#F8F8F2"> $user;</span><span style="color:#94907d">// = 'timothy.broder';</span></span>
<span class="line"><span style="color:#fa4f8d">    private</span><span style="color:#F8F8F2"> $pass;</span><span style="color:#94907d">// = '**************';</span></span>
<span class="line"><span style="color:#fa4f8d">    private</span><span style="color:#F8F8F2"> $service;</span><span style="color:#94907d">// = 'blogger';</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">    private</span><span style="color:#F8F8F2"> $blog_id;</span><span style="color:#94907d">// = '413573351281770670';</span></span>
<span class="line"><span style="color:#fa4f8d">    private</span><span style="color:#F8F8F2"> $uri;</span><span style="color:#94907d">// = "http://www.blogger.com/feeds/" . $blog_id . "/posts/default";</span></span>
<span class="line"><span style="color:#fa4f8d">    private</span><span style="color:#F8F8F2"> $show_num;</span><span style="color:#94907d">// = 5;</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">    private</span><span style="color:#F8F8F2"> $client;</span><span style="color:#94907d">// = Zend_Gdata_ClientLogin::getHttpClient($user, $pass, $service);</span></span>
<span class="line"><span style="color:#fa4f8d">    private</span><span style="color:#F8F8F2"> $gdClient;</span><span style="color:#94907d">// = new Zend_Gdata($client);</span></span>
<span class="line"><span style="color:#fa4f8d">    private</span><span style="color:#F8F8F2"> $query;</span><span style="color:#94907d">// = new Zend_Gdata_Query($uri);</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">    private</span><span style="color:#F8F8F2"> $total_posts;</span></span>
<span class="line"></span>
<span class="line"><span style="color:#fa4f8d">    public</span><span style="color:#F8F8F2"> $output;</span></span></code></pre>
<p>Then we start setting up our call to the service.</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="php"><code><span class="line"><span style="color:#fa4f8d">public</span><span style="color:#66D9EF;font-style:italic"> function</span><span style="color:#66D9EF"> __construct</span><span style="color:#F8F8F2">($user, $pass, $blog_id){</span></span>
<span class="line"><span style="color:#FD971F">    $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">user </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> $user;</span></span>
<span class="line"><span style="color:#FD971F">    $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">pass </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> $pass;</span></span>
<span class="line"><span style="color:#FD971F">    $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">service </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> 'blogger'</span><span style="color:#F8F8F2">;</span></span>
<span class="line"></span>
<span class="line"><span style="color:#FD971F">    $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">blog_id </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> $blog_id;</span></span>
<span class="line"><span style="color:#FD971F">    $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">uri </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> "http://www.blogger.com/feeds/"</span><span style="color:#fa4f8d"> .</span><span style="color:#FD971F"> $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">blog_id </span><span style="color:#fa4f8d">.</span><span style="color:#E6DB74"> "/posts/default"</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#FD971F">    $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">show_num </span><span style="color:#fa4f8d">=</span><span style="color:#AE81FF"> 5</span><span style="color:#F8F8F2">;</span></span>
<span class="line"></span>
<span class="line"><span style="color:#FD971F">    $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">client </span><span style="color:#fa4f8d">=</span><span style="color:#66D9EF;font-style:italic"> Zend_Gdata_ClientLogin</span><span style="color:#fa4f8d">::</span><span style="color:#A6E22E">getHttpClient</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F">$this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">user, </span><span style="color:#FD971F">$this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">pass, </span><span style="color:#FD971F">$this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">service);</span></span>
<span class="line"><span style="color:#FD971F">    $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">gdClient </span><span style="color:#fa4f8d">=</span><span style="color:#fa4f8d"> new</span><span style="color:#66D9EF;font-style:italic"> Zend_Gdata</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F">$this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">client);</span></span>
<span class="line"><span style="color:#FD971F">    $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">query </span><span style="color:#fa4f8d">=</span><span style="color:#fa4f8d"> new</span><span style="color:#66D9EF;font-style:italic"> Zend_Gdata_Query</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F">$this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">uri);</span></span>
<span class="line"><span style="color:#FD971F">    $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">total_posts </span><span style="color:#fa4f8d">=</span><span style="color:#FD971F"> $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">get_total</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F">$this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">query);</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span></code></pre>
<p>For more info see the <a href="http://code.google.com/apis/blogger/developers_guide_php.html">blogger developer's guide with
php</a> or the
<a href="http://code.google.com/apis/accounts/Authentication.html">Google Account Authentication
documentation</a><br>
After we have authenticated with Google we need to start building up our query
to <a href="http://code.google.com/apis/gdata/">GData</a>. The first thing you'll need is
your blog's id.<br>
You can use the function in the dev guide to help you with this if you don't
already know it.<br>
Like the Python version, the below function returns the total number of posts
that are in the feed. We can get a small response by sending 0 for the max
results. Below is the function and the small response we get from it.</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="php"><code><span class="line"><span style="color:#fa4f8d">private</span><span style="color:#66D9EF;font-style:italic"> function</span><span style="color:#A6E22E"> get_total</span><span style="color:#F8F8F2">($query){</span></span>
<span class="line"><span style="color:#94907d">    //query for no posts</span></span>
<span class="line"><span style="color:#FD971F">    $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">query</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">setParam</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'max-results'</span><span style="color:#F8F8F2">, </span><span style="color:#E6DB74">'0'</span><span style="color:#F8F8F2">);</span></span>
<span class="line"><span style="color:#FD971F">    $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">query</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">setParam</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'start-index'</span><span style="color:#F8F8F2">, </span><span style="color:#E6DB74">'1'</span><span style="color:#F8F8F2">);</span></span>
<span class="line"></span>
<span class="line"><span style="color:#94907d">    //get back entryless feed</span></span>
<span class="line"><span style="color:#F8F8F2">    $feed </span><span style="color:#fa4f8d">=</span><span style="color:#FD971F"> $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">gdClient</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">getFeed</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F">$this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">query);</span></span>
<span class="line"><span style="color:#fa4f8d">    return</span><span style="color:#F8F8F2"> $feed</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">totalResults</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">text;</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span></code></pre>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="xml"><code><span class="line"><span style="color:#F8F8F2">&lt;</span><span style="color:#fa4f8d">ns0:feed</span><span style="color:#A6E22E"> xmlns:ns0</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"http://www.w3.org/2005/Atom"</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">&lt;</span><span style="color:#fa4f8d">ns1:totalresults</span><span style="color:#A6E22E"> xmlns:ns1</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"http://a9.com/-/spec/opensearchrss/1.0/"</span><span style="color:#F8F8F2">&gt;5&lt;/</span><span style="color:#fa4f8d">ns1:totalresults</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">&lt;</span><span style="color:#fa4f8d">ns1:itemsperpage</span><span style="color:#A6E22E"> xmlns:ns1</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"http://a9.com/-/spec/opensearchrss/1.0/"</span><span style="color:#F8F8F2">&gt;0&lt;/</span><span style="color:#fa4f8d">ns1:itemsperpage</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">&lt;</span><span style="color:#fa4f8d">ns1:startindex</span><span style="color:#A6E22E"> xmlns:ns1</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"http://a9.com/-/spec/opensearchrss/1.0/"</span><span style="color:#F8F8F2">&gt;1&lt;/</span><span style="color:#fa4f8d">ns1:startindex</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">&lt;</span><span style="color:#fa4f8d">ns0:generator</span><span style="color:#A6E22E"> uri</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"http://www.blogger.com"</span><span style="color:#A6E22E"> version</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"7.00"</span><span style="color:#F8F8F2">&gt;Blogger&lt;/</span><span style="color:#fa4f8d">ns0:generator</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">&lt;</span><span style="color:#fa4f8d">ns0:author</span><span style="color:#F8F8F2">&gt;&lt;</span><span style="color:#fa4f8d">ns0:name</span><span style="color:#F8F8F2">&gt;Tim&lt;/</span><span style="color:#fa4f8d">ns0:name</span><span style="color:#F8F8F2">&gt;&lt;/</span><span style="color:#fa4f8d">ns0:author</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">&lt;</span><span style="color:#fa4f8d">ns0:id</span><span style="color:#F8F8F2">&gt;tag:blogger.com,1999:blog-413573351281770670&lt;/</span><span style="color:#fa4f8d">ns0:id</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">&lt;</span><span style="color:#fa4f8d">ns0:link</span><span style="color:#A6E22E"> href</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"https://gpowered.blogspot.com/"</span><span style="color:#A6E22E"> rel</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"alternate"</span><span style="color:#A6E22E"> type</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"text/html"</span><span style="color:#F8F8F2"> /&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">&lt;</span><span style="color:#fa4f8d">ns0:link</span><span style="color:#A6E22E"> href</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"https://gpowered.blogspot.com/feeds/posts/default"</span><span style="color:#A6E22E"> rel</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"http://schemas.google.com/g/2005#feed"</span><span style="color:#A6E22E"> type</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"application/atom+xml"</span><span style="color:#F8F8F2"> /&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">&lt;</span><span style="color:#fa4f8d">ns0:link</span><span style="color:#A6E22E"> href</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"http://www.blogger.com/feeds/413573351281770670/posts/default?max-results=0"</span><span style="color:#A6E22E"> rel</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"self"</span><span style="color:#A6E22E"> type</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"application/atom+xml"</span><span style="color:#F8F8F2"> /&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">&lt;</span><span style="color:#fa4f8d">ns0:link</span><span style="color:#A6E22E"> href</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"http://www.blogger.com/feeds/413573351281770670/posts/default"</span><span style="color:#A6E22E"> rel</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"http://schemas.google.com/g/2005#post"</span><span style="color:#A6E22E"> type</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"application/atom+xml"</span><span style="color:#F8F8F2"> /&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">&lt;</span><span style="color:#fa4f8d">ns0:title</span><span style="color:#A6E22E"> type</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"text"</span><span style="color:#F8F8F2">&gt;gPowered&lt;/</span><span style="color:#fa4f8d">ns0:title</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">&lt;</span><span style="color:#fa4f8d">ns0:updated</span><span style="color:#F8F8F2">&gt;2007-07-18T10:55:06.728-05:00&lt;/</span><span style="color:#fa4f8d">ns0:updated</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">&lt;/</span><span style="color:#fa4f8d">ns0:feed</span><span style="color:#F8F8F2">&gt;</span></span></code></pre>
<p>So we get the total number of posts and then we can start pulling data. Lets
make a generic function, PostFrom, that can be used to show multiple posts, or
just single ones, depending on what you pass to it. The start number that is
passed to PostFrom has been set to the first post in the blog is considered to
have an id of 1 and the latest post is the same as total_posts. This is useful
so if viewers want to bookmark the page they are looking at, the post that is
being displayed will not change. The following are the different functions
that will make use of it.</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="php"><code><span class="line"><span style="color:#94907d">//show latest posts</span></span>
<span class="line"><span style="color:#fa4f8d">public</span><span style="color:#66D9EF;font-style:italic"> function</span><span style="color:#A6E22E"> Posts</span><span style="color:#F8F8F2">(){</span></span>
<span class="line"><span style="color:#fa4f8d">    return</span><span style="color:#FD971F"> $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">ListPosts</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F">$this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">total_posts);</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span>
<span class="line"></span>
<span class="line"><span style="color:#94907d">//show posts starting from a certain point</span></span>
<span class="line"><span style="color:#fa4f8d">public</span><span style="color:#66D9EF;font-style:italic"> function</span><span style="color:#A6E22E"> ListPosts</span><span style="color:#F8F8F2">($start){</span></span>
<span class="line"><span style="color:#F8F8F2">    $start </span><span style="color:#fa4f8d">=</span><span style="color:#FD971F"> $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">total_posts </span><span style="color:#fa4f8d">-</span><span style="color:#F8F8F2"> $start </span><span style="color:#fa4f8d">+</span><span style="color:#AE81FF"> 1</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#fa4f8d">    return</span><span style="color:#FD971F"> $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">PostFrom</span><span style="color:#F8F8F2">($start, </span><span style="color:#FD971F">$this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">show_num);</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span>
<span class="line"></span>
<span class="line"><span style="color:#94907d">//show a single post</span></span>
<span class="line"><span style="color:#fa4f8d">public</span><span style="color:#66D9EF;font-style:italic"> function</span><span style="color:#A6E22E"> Post</span><span style="color:#F8F8F2">($start){</span></span>
<span class="line"><span style="color:#F8F8F2">    $start </span><span style="color:#fa4f8d">=</span><span style="color:#FD971F"> $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">total_posts </span><span style="color:#fa4f8d">-</span><span style="color:#F8F8F2"> $start </span><span style="color:#fa4f8d">+</span><span style="color:#AE81FF"> 1</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#fa4f8d">    return</span><span style="color:#A6E22E"> PostFrom</span><span style="color:#F8F8F2">($start, </span><span style="color:#AE81FF">1</span><span style="color:#F8F8F2">);</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span>
<span class="line"></span>
<span class="line"><span style="color:#94907d">//show count number of posts starting from a certain point</span></span>
<span class="line"><span style="color:#fa4f8d">private</span><span style="color:#66D9EF;font-style:italic"> function</span><span style="color:#A6E22E"> PostFrom</span><span style="color:#F8F8F2">($start, $count){</span></span>
<span class="line"><span style="color:#94907d">    //query for count number of posts starting at the given post</span></span>
<span class="line"><span style="color:#FD971F">    $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">query</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">setParam</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'max-results'</span><span style="color:#F8F8F2">, $count);</span></span>
<span class="line"><span style="color:#FD971F">    $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">query</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">setParam</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'start-index'</span><span style="color:#F8F8F2">, $start);</span></span>
<span class="line"><span style="color:#F8F8F2">    $feed </span><span style="color:#fa4f8d">=</span><span style="color:#FD971F"> $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">gdClient</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">getFeed</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F">$this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">query);</span></span></code></pre>
<p>Now we have all the data we need in the feed variable. Its been turned into an
object so we don't have to worry about XML parsing here. Every node has become
an objects and lists. Objects for single nodes(title), and lists for where
there are multiple nodes of the same name (entry, link)</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="php"><code><span class="line"><span style="color:#94907d">//for links</span></span>
<span class="line"><span style="color:#F8F8F2">$curr_id </span><span style="color:#fa4f8d">=</span><span style="color:#FD971F"> $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">total_posts </span><span style="color:#fa4f8d">-</span><span style="color:#F8F8F2"> $start </span><span style="color:#fa4f8d">+</span><span style="color:#AE81FF"> 1</span><span style="color:#F8F8F2">;</span></span>
<span class="line"></span>
<span class="line"><span style="color:#94907d">//normalize data for output</span></span>
<span class="line"><span style="color:#fa4f8d">foreach</span><span style="color:#F8F8F2">($feed</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">entries </span><span style="color:#fa4f8d">as</span><span style="color:#F8F8F2"> $entry){</span></span>
<span class="line"><span style="color:#94907d">    //id for links</span></span>
<span class="line"><span style="color:#F8F8F2">    $entry</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">my_id </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> $curr_id;</span></span>
<span class="line"><span style="color:#F8F8F2">    $curr_id </span><span style="color:#fa4f8d">-=</span><span style="color:#AE81FF"> 1</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span></code></pre>
<p>Of course we're going to need next and previous buttons as well. The way we've
set up the math with total_posts and the start number, we only have to
increment or decrement these by count (the number of posts to display on a
page). I also set part of the link, as well as the page title, that I will use
below in the HTML.</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="php"><code><span class="line"><span style="color:#F8F8F2">$prev </span><span style="color:#fa4f8d">=</span><span style="color:#FD971F"> $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">total_posts </span><span style="color:#fa4f8d">-</span><span style="color:#F8F8F2"> ($start </span><span style="color:#fa4f8d">-</span><span style="color:#F8F8F2"> $count) </span><span style="color:#fa4f8d">+</span><span style="color:#AE81FF"> 1</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#fa4f8d">if</span><span style="color:#F8F8F2">($prev </span><span style="color:#fa4f8d">&gt;</span><span style="color:#F8F8F2"> $total_posts){</span></span>
<span class="line"><span style="color:#F8F8F2">    $prev </span><span style="color:#fa4f8d">=</span><span style="color:#AE81FF"> null</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span>
<span class="line"></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">$next </span><span style="color:#fa4f8d">=</span><span style="color:#FD971F"> $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">total_posts </span><span style="color:#fa4f8d">-</span><span style="color:#F8F8F2"> ($start </span><span style="color:#fa4f8d">+</span><span style="color:#F8F8F2"> $count) </span><span style="color:#fa4f8d">+</span><span style="color:#AE81FF"> 1</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#fa4f8d">if</span><span style="color:#F8F8F2">($next </span><span style="color:#fa4f8d">&lt;</span><span style="color:#AE81FF"> 1</span><span style="color:#F8F8F2">){</span></span>
<span class="line"><span style="color:#F8F8F2">    $next </span><span style="color:#fa4f8d">=</span><span style="color:#AE81FF"> null</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span>
<span class="line"></span>
<span class="line"><span style="color:#94907d">//showing single post</span></span>
<span class="line"><span style="color:#fa4f8d">if</span><span style="color:#F8F8F2">(</span><span style="color:#AE81FF">count</span><span style="color:#fa4f8d"> ==</span><span style="color:#AE81FF"> 1</span><span style="color:#F8F8F2">){</span></span>
<span class="line"><span style="color:#F8F8F2">    $link </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> 'post'</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#F8F8F2">    $title </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> $feed</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">entries[</span><span style="color:#AE81FF">0</span><span style="color:#F8F8F2">]</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">title</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">text;</span></span>
<span class="line"><span style="color:#94907d">    //listing posts</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span>
<span class="line"><span style="color:#fa4f8d">else</span><span style="color:#F8F8F2">{</span></span>
<span class="line"><span style="color:#F8F8F2">    $link </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> 'posts'</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#F8F8F2">    $title </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> 'home'</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span></code></pre>
<p>The final part is to make a quick object that we can use in the HTML to output
everything</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="php"><code><span class="line"><span style="color:#FD971F">        $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">output </span><span style="color:#fa4f8d">=</span><span style="color:#fa4f8d"> new</span><span style="color:#66D9EF;font-style:italic"> Output</span><span style="color:#F8F8F2">($feed</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">entries, $title, $prev, $next, $link);</span></span>
<span class="line"><span style="color:#F8F8F2">    }</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span>
<span class="line"></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">class</span><span> </span><span style="color:#A6E22E;text-decoration:underline">Output</span><span style="color:#F8F8F2">{</span></span>
<span class="line"><span style="color:#fa4f8d">    public</span><span style="color:#F8F8F2"> $entries;</span></span>
<span class="line"><span style="color:#fa4f8d">    public</span><span style="color:#F8F8F2"> $title;</span></span>
<span class="line"><span style="color:#fa4f8d">    public</span><span style="color:#F8F8F2"> $prev;</span></span>
<span class="line"><span style="color:#fa4f8d">    public</span><span style="color:#F8F8F2"> $next;</span></span>
<span class="line"><span style="color:#fa4f8d">    public</span><span style="color:#F8F8F2"> $link;</span></span>
<span class="line"><span style="color:#fa4f8d">    public</span><span style="color:#66D9EF;font-style:italic"> function</span><span style="color:#66D9EF"> __construct</span><span style="color:#F8F8F2">($entries, $title, $prev, $next, $link){</span></span>
<span class="line"><span style="color:#FD971F">        $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">entries</span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2">$entries;</span></span>
<span class="line"><span style="color:#FD971F">        $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">title</span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2">$title;</span></span>
<span class="line"><span style="color:#FD971F">        $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">prev</span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2">$prev;</span></span>
<span class="line"><span style="color:#FD971F">        $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">next</span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2">$next;</span></span>
<span class="line"><span style="color:#FD971F">        $this</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">link</span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2">$link;</span></span>
<span class="line"><span style="color:#F8F8F2">    }</span></span>
<span class="line"><span style="color:#F8F8F2">}</span></span></code></pre>
<p>To the HTML!</p>
<p>The first part consists of displaying the post itself, along with its relevant
information. So lets built up our objects</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="php"><code><span class="line"><span style="color:#F8F8F2">$blog </span><span style="color:#fa4f8d">=</span><span style="color:#fa4f8d"> new</span><span style="color:#66D9EF;font-style:italic"> gPoweredBlogger</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'timothy.broder'</span><span style="color:#F8F8F2">, </span><span style="color:#E6DB74">'*************'</span><span style="color:#F8F8F2">, </span><span style="color:#E6DB74">'413573351281770670'</span><span style="color:#F8F8F2">);</span></span>
<span class="line"><span style="color:#F8F8F2">$blog</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#A6E22E">Posts</span><span style="color:#F8F8F2">();</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">$output </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> $blog</span><span style="color:#fa4f8d">-&gt;</span><span style="color:#F8F8F2">output;</span></span></code></pre>
<p>Below all the php we can run through out output object and display the posts</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="html"><code><span class="line"><span style="color:#f55b5b">&lt;</span><span style="color:#F8F8F2">? foreach($output-&gt;entries as $entry){ ?&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">     &lt;</span><span style="color:#fa4f8d">h2</span><span style="color:#F8F8F2">&gt;&lt;</span><span style="color:#fa4f8d">a</span><span style="color:#A6E22E"> href</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"/post/</span><span style="color:#f55b5b">&lt;</span><span style="color:#E6DB74">? echo $entry-&gt;my_id ?&gt;"</span><span style="color:#F8F8F2">&gt;</span><span style="color:#f55b5b">&lt;</span><span style="color:#F8F8F2">? echo $entry-&gt;title-&gt;text ?&gt;&lt;/</span><span style="color:#fa4f8d">h2</span><span style="color:#F8F8F2">&gt;&lt;/</span><span style="color:#fa4f8d">a</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#f55b5b">     &lt;</span><span style="color:#F8F8F2">? echo $entry-&gt;content-&gt;text;</span></span>
<span class="line"><span style="color:#F8F8F2">     $datetime = strtotime(substr($entry-&gt;published, 0, 10) . ' ' . substr($entry-&gt;published, 11, 8 ));</span></span>
<span class="line"><span style="color:#F8F8F2">     ?&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">     &lt;</span><span style="color:#fa4f8d">p</span><span style="color:#F8F8F2">&gt;Posted by </span><span style="color:#f55b5b">&lt;</span><span style="color:#F8F8F2">? echo $entry-&gt;author[0]-&gt;name-&gt;text ?&gt; on </span><span style="color:#f55b5b">&lt;</span><span style="color:#F8F8F2">? echo date("m/d/Y",$datetime) ?&gt; at </span><span style="color:#f55b5b">&lt;</span><span style="color:#F8F8F2">? echo date("g:i a",$datetime) ?&gt;&lt;/</span><span style="color:#fa4f8d">p</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"></span>
<span class="line"><span style="color:#F8F8F2">      &lt;</span><span style="color:#fa4f8d">div</span><span style="color:#A6E22E"> id</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"divider"</span><span style="color:#F8F8F2">&gt;&lt;/</span><span style="color:#fa4f8d">div</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#f55b5b">      &lt;</span><span style="color:#F8F8F2">?}?&gt;</span></span></code></pre>
<p>That's all for now. A working example is
<a href="https://gpowered.net/php/blogger.php">here</a></p>
]]></content:encoded></item>
<item><title>First Google Gadget</title><description>After being inspired about Google Gadgets from the Google Developer
Podcast I came up with one that my old crew
team can use. We have a shared google calendar that
some of us use to keep track of races, meetings, etc. This gadget pulls and
formats it nicely for the google IG or desktop. Add to Google Javascript code for the gadget:</description><link>https://timbroder.com/2007/08/google-code-updates-google-developer/</link><guid isPermaLink="false">https://timbroder.com/2007/08/google-code-updates-google-developer</guid><pubDate>Sat, 04 Aug 2007 22:48:00 GMT</pubDate><content:encoded><![CDATA[<p>After being inspired about Google Gadgets from the <a href="http://google-code-updates.blogspot.com/2007/07/google-developer-podcast-episode-five.html">Google Developer
Podcast</a> I came up with one that my old <a href="http://www.rpicrew.com">crew
team</a> can use. We have a shared google calendar that
some of us use to keep track of races, meetings, etc. This gadget pulls and
formats it nicely for the google IG or desktop.</p>
<p><a href="http://fusion.google.com/add?moduleurl=http%3A//hosting.gmodules.com/ig/gadgets/file/109141966999504040851/RPICrewSchedule.xml"><img src="https://timbroder.com/images/remote/2007-08-04-google-code-updates-google-developer/add.gif" alt="Add to Google"></a></p>
<p>Javascript code for the gadget:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="plaintext"><code><span class="line"><span>```html</span></span>
<span class="line"><span>&lt;style type="text/css"&gt;</span></span>
<span class="line"><span>div.exp{</span></span>
<span class="line"><span>	padding: 0;</span></span>
<span class="line"><span>	margin: 0;</span></span>
<span class="line"><span>}</span></span>
<span class="line"><span>div.loc{</span></span>
<span class="line"><span>	margin-left: 19px;</span></span>
<span class="line"><span>}</span></span>
<span class="line"><span>&lt;/style&gt;</span></span>
<span class="line"><span>&lt;script type="text/javascript"&gt;</span></span>
<span class="line"><span>&lt;!--</span></span>
<span class="line"><span>/**</span></span>
<span class="line"><span>* Season info *</span></span>
<span class="line"><span>* 0 Fall: Aug 26 - Nov 1</span></span>
<span class="line"><span>* 1 Winter Training: Nov 2 - March 1</span></span>
<span class="line"><span>* 2 Spring: March 2 - May 25</span></span>
<span class="line"><span>* 3 Summer: May 26 - Aug 25</span></span>
<span class="line"><span>**/</span></span>
<span class="line"><span></span></span>
<span class="line"><span>/**</span></span>
<span class="line"><span>* Callback function for the GData json-in-script call</span></span>
<span class="line"><span>* Inserts the supplied list of events into a div of a pre-defined name</span></span>
<span class="line"><span>*</span></span>
<span class="line"><span>* @param {json} root is the JSON-formatted content from GData</span></span>
<span class="line"><span>*/</span></span>
<span class="line"><span>function processRaces(root) {</span></span>
<span class="line"><span>displayRaces(root.feed, 'races');</span></span>
<span class="line"><span>}</span></span>
<span class="line"><span></span></span>
<span class="line"><span>//meow</span></span>
<span class="line"><span>function displayRaces(feed, divId){</span></span>
<span class="line"><span>var now = new Date();</span></span>
<span class="line"><span>var season = getSeason(now);</span></span>
<span class="line"><span>var events = document.getElementById(divId);</span></span>
<span class="line"><span></span></span>
<span class="line"><span>//clear "Loading..."</span></span>
<span class="line"><span>if (events.childNodes.length &gt; 0){</span></span>
<span class="line"><span>events.removeChild(events.childNodes[0]);</span></span>
<span class="line"><span>}</span></span>
<span class="line"><span></span></span>
<span class="line"><span>//display season</span></span>
<span class="line"><span>var d = document.createElement('div');</span></span>
<span class="line"><span>d.appendChild(document.createTextNode(getSeasonText(season)));</span></span>
<span class="line"><span>events.appendChild(d);</span></span>
<span class="line"><span></span></span>
<span class="line"><span>//loop races</span></span>
<span class="line"><span>for (var i=0; i&lt;feed.entry.length; i++){</span></span>
<span class="line"><span>var entry = feed.entry[i];</span></span>
<span class="line"><span></span></span>
<span class="line"><span>var d = getDate(entry['gd$when'][0].startTime);</span></span>
<span class="line"><span>if(isCurrSeason(now, d)){</span></span>
<span class="line"><span>var title = entry.title.$t;</span></span>
<span class="line"><span>var desc = entry.content.$t;</span></span>
<span class="line"><span></span></span>
<span class="line"><span>//set up image and clicking to expand</span></span>
<span class="line"><span>var div = document.createElement('div');</span></span>
<span class="line"><span>div.className = 'exp';</span></span>
<span class="line"><span>var toggle = document.createElement('img');</span></span>
<span class="line"><span>toggle.src= 'http://timothy.broder.googlepages.com/p.jpg';</span></span>
<span class="line"><span>toggle.align = 'absmiddle';</span></span>
<span class="line"><span>toggle.id = i;</span></span>
<span class="line"><span>toggle.onclick = function() {toggleDiv(this); }</span></span>
<span class="line"><span>div.appendChild(toggle);</span></span>
<span class="line"><span>div.appendChild(document.createTextNode(' ' + d.getMonth() + "/" + d.getDay() + ' - '));</span></span>
<span class="line"><span></span></span>
<span class="line"><span>// get the href to link to the event</span></span>
<span class="line"><span>for(var j=0; j&lt;entry['link'].length; j++){</span></span>
<span class="line"><span>if (entry['link'][j]['type'] == 'text/html' &amp;&amp; entry['link'][j]['rel'] == 'alternate'){</span></span>
<span class="line"><span>var href = entry['link'][j]['href'];</span></span>
<span class="line"><span>}</span></span>
<span class="line"><span>}</span></span>
<span class="line"><span></span></span>
<span class="line"><span>//we can link to the cal</span></span>
<span class="line"><span>if (typeof href != 'undefined'){</span></span>
<span class="line"><span>var link = document.createElement('a');</span></span>
<span class="line"><span>link.href = href;</span></span>
<span class="line"><span>link.target = '_blank';</span></span>
<span class="line"><span>link.appendChild(document.createTextNode(title));</span></span>
<span class="line"><span>div.appendChild(link);</span></span>
<span class="line"><span>}</span></span>
<span class="line"><span>else{ //shouldn't get here but just in case</span></span>
<span class="line"><span>div.appendChild(document.createTextNode(title));</span></span>
<span class="line"><span>}</span></span>
<span class="line"><span></span></span>
<span class="line"><span>div.appendChild(document.createElement('br'));</span></span>
<span class="line"><span></span></span>
<span class="line"><span>events.appendChild(div);</span></span>
<span class="line"><span></span></span>
<span class="line"><span>var where = entry['gd$where'][0].valueString;</span></span>
<span class="line"><span>var tDiv = document.createElement('div'); //div that will be hidden initially</span></span>
<span class="line"><span>tDiv.id ='id' + i;</span></span>
<span class="line"><span>tDiv.style['display'] = 'none';</span></span>
<span class="line"><span>tDiv.className = 'loc';</span></span>
<span class="line"><span>events.appendChild(tDiv);</span></span>
<span class="line"><span></span></span>
<span class="line"><span>if(desc != null &amp;&amp; desc != ""){ //we have a desc (should be the teams we're competing against)</span></span>
<span class="line"><span>var dDiv = document.createElement('span');</span></span>
<span class="line"><span>dDiv.appendChild(document.createTextNode(desc + " "));</span></span>
<span class="line"><span>tDiv.appendChild(dDiv);</span></span>
<span class="line"><span>}</span></span>
<span class="line"><span>//the location field is populated (hidden at start)</span></span>
<span class="line"><span>if(where != null &amp;&amp; where != ""){ //we have a location</span></span>
<span class="line"><span>var it = document.createElement('i');</span></span>
<span class="line"><span>var map = document.createElement('a');</span></span>
<span class="line"><span>map.target = '_blank';</span></span>
<span class="line"><span>//link to location on google maps</span></span>
<span class="line"><span>map.href = 'http://maps.google.com/maps?f=q&amp;hl;=en&amp;&amp;q;=' + spaceLink(entry['gd$where'][0].valueString);</span></span>
<span class="line"><span>map.appendChild(document.createTextNode(entry['gd$where'][0].valueString));</span></span>
<span class="line"><span>it.appendChild(document.createTextNode(" ("));</span></span>
<span class="line"><span>it.appendChild(map);</span></span>
<span class="line"><span>it.appendChild(document.createTextNode(")"));</span></span>
<span class="line"><span>tDiv.appendChild(it);</span></span>
<span class="line"><span>}</span></span>
<span class="line"><span>}</span></span>
<span class="line"><span>}</span></span>
<span class="line"><span>}</span></span>
<span class="line"><span></span></span>
<span class="line"><span>//format the date a little</span></span>
<span class="line"><span>function getDate(when){</span></span>
<span class="line"><span>var data = when.split("-");</span></span>
<span class="line"><span>return new Date(data[0], data[1], data[2]);</span></span>
<span class="line"><span>}</span></span>
<span class="line"><span></span></span>
<span class="line"><span>//return int representation of season</span></span>
<span class="line"><span>function getSeason(d){</span></span>
<span class="line"><span>var month = d.getMonth();</span></span>
<span class="line"><span>var day = d.getDate();</span></span>
<span class="line"><span>var year = d.getFullYear();</span></span>
<span class="line"><span></span></span>
<span class="line"><span>var aug = new Date(year, 8, 25);</span></span>
<span class="line"><span>var nov = new Date(year, 11, 1);</span></span>
<span class="line"><span>var mar = new Date(year, 3, 1);</span></span>
<span class="line"><span>var may = new Date(year, 5, 25);</span></span>
<span class="line"><span></span></span>
<span class="line"><span>if(aug &lt; d &amp;&amp; d &lt;= nov) return 0; //fall</span></span>
<span class="line"><span>else if(mar &lt; d &amp;&amp; d &lt;= may) return 2; //spring</span></span>
<span class="line"><span>else if(may &lt; d &amp;&amp; d &lt;= aug) return 3; //summer</span></span>
<span class="line"><span>else return 1; //winter</span></span>
<span class="line"><span>}</span></span>
<span class="line"><span></span></span>
<span class="line"><span>//figure out the current season</span></span>
<span class="line"><span>function isCurrSeason(now, d){</span></span>
<span class="line"><span>currSeason = getSeason(now);</span></span>
<span class="line"><span>season = getSeason(d);</span></span>
<span class="line"><span></span></span>
<span class="line"><span>if(currSeason == season){ //same season yes</span></span>
<span class="line"><span>if(now.getFullYear() == d.getFullYear()){ //same year also, match</span></span>
<span class="line"><span>return true;</span></span>
<span class="line"><span>}</span></span>
<span class="line"><span>if(season == 1 &amp;&amp; (d.getFullYear() == now.getFullYear()-1)){ //diff year, prob winter</span></span>
<span class="line"><span>return true;</span></span>
<span class="line"><span>}</span></span>
<span class="line"><span>}</span></span>
<span class="line"><span>return false;</span></span>
<span class="line"><span>}</span></span>
<span class="line"><span></span></span>
<span class="line"><span>//return text for season</span></span>
<span class="line"><span>function getSeasonText(season){</span></span>
<span class="line"><span>if(season == 0) return "Fall Season";</span></span>
<span class="line"><span>if(season == 1) return "Winter Training";</span></span>
<span class="line"><span>if(season == 2) return "Spring Season";</span></span>
<span class="line"><span>if(season == 3) return "Summer Season";</span></span>
<span class="line"><span></span></span>
<span class="line"><span>return "no season"; //really shouldn't get here</span></span>
<span class="line"><span>}</span></span>
<span class="line"><span></span></span>
<span class="line"><span>//if the div is hidden show it, if not, hide it</span></span>
<span class="line"><span>function toggleDiv(where_id){</span></span>
<span class="line"><span>var div = document.getElementById('id' + where_id.id);</span></span>
<span class="line"><span>var img = document.getElementById(where_id.id);</span></span>
<span class="line"><span>if(div != null){</span></span>
<span class="line"><span>if(div.style.display != 'none'){</span></span>
<span class="line"><span>div.style.display = 'none';</span></span>
<span class="line"><span>img.src= 'http://timothy.broder.googlepages.com/p.jpg';</span></span>
<span class="line"><span></span></span>
<span class="line"><span>}</span></span>
<span class="line"><span>else{</span></span>
<span class="line"><span>div.style.display = 'block';</span></span>
<span class="line"><span>img.src= 'http://timothy.broder.googlepages.com/m.jpg';</span></span>
<span class="line"><span>}</span></span>
<span class="line"><span>}</span></span>
<span class="line"><span>}</span></span>
<span class="line"><span></span></span>
<span class="line"><span>//convert the location so it can be used in a link to google maps</span></span>
<span class="line"><span>function spaceLink(name){</span></span>
<span class="line"><span>return name.replace(' ', ',+');</span></span>
<span class="line"><span>}</span></span>
<span class="line"><span></span></span>
<span class="line"><span>//--&gt;</span></span>
<span class="line"><span>&lt;/script&gt;</span></span>
<span class="line"><span></span></span>
<span class="line"><span>&lt;div id="races"&gt;&lt;p&gt;Loading...&lt;/p&gt;&lt;/div&gt;</span></span>
<span class="line"><span>&lt;script type="text/javascript" src="http://www.google.com/calendar/feeds/rpicrew@gmail.com/public/full?alt=json-in-script&amp;callback;=processRaces&amp;orderby;=starttime&amp;singleevents;=true&amp;sortorder;=ascending&amp;start-min;=2007-01-01T00:00:00"&gt;&lt;/script&gt;</span></span></code></pre>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="plaintext"><code><span class="line"><span></span></span>
<span class="line"><span> </span></span>
<span class="line"><span> </span></span>
<span class="line"><span>And the XML for the gadget  </span></span>
<span class="line"><span> </span></span>
<span class="line"><span></span></span>
<span class="line"><span>   </span></span></code></pre>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="plaintext"><code><span class="line"><span>&lt;?xml version="1.0" encoding="UTF-8"?&gt;</span></span>
<span class="line"><span>&lt;Module&gt;</span></span>
<span class="line"><span>&lt;ModulePrefs title="RPI Crew Schedule"</span></span>
<span class="line"><span>title_url="https://gpowered.net"</span></span>
<span class="line"><span>author="Tim Broder"</span></span>
<span class="line"><span>height="150"</span></span>
<span class="line"><span>width="250"</span></span>
<span class="line"><span>author_email="timothy.broder@gmail.com"</span></span>
<span class="line"><span>thumbnail="http://timothy.broder.googlepages.com/RPICrewScheduleThumb.jpg"</span></span>
<span class="line"><span>description="RPI Crew Race Schedule, links to the RPICrew shared google calendar"</span></span>
<span class="line"><span>author_photo="http://timothy.broder.googlepages.com/timothybrodersimpsons.png"</span></span>
<span class="line"><span>author_location="NYC"</span></span>
<span class="line"><span>author_affiliation="gPowered"</span></span>
<span class="line"><span>author_link="http://www.gpowered.net"</span></span>
<span class="line"><span>screenshot="http://timothy.broder.googlepages.com/RPICrewScheduleScreen.jpg"</span></span>
<span class="line"><span>&gt;</span></span>
<span class="line"><span>&lt;Require feature="dynamic-height"/&gt;</span></span>
<span class="line"><span>&lt;Require feature="analytics"/&gt;</span></span>
<span class="line"><span>&lt;/ModulePrefs&gt;</span></span>
<span class="line"><span>&lt;Content type="html"&gt;&lt;![CDATA[</span></span>
<span class="line"><span></span></span>
<span class="line"><span></span></span>
<span class="line"><span>&lt;script&gt;</span></span>
<span class="line"><span>// Track this gadget using Google Analytics.</span></span>
<span class="line"><span>_IG_Analytics("UA-793489-6", "/RPICrewScheduleG");</span></span>
<span class="line"><span>&lt;/script&gt;</span></span>
<span class="line"><span>&lt;style type="text/css"&gt;</span></span>
<span class="line"><span>div.exp{</span></span>
<span class="line"><span>padding: 0;</span></span>
<span class="line"><span>margin: 0;</span></span>
<span class="line"><span>}</span></span>
<span class="line"><span>div.loc{</span></span>
<span class="line"><span>margin-left: 19px;</span></span>
<span class="line"><span>}</span></span>
<span class="line"><span>&lt;/style&gt;</span></span>
<span class="line"><span>&lt;script type="text/javascript"&gt;</span></span>
<span class="line"><span>&lt;!--</span></span>
<span class="line"><span>/**</span></span>
<span class="line"><span>* Season info *</span></span>
<span class="line"><span>* 0 Fall: Aug 26 - Nov 1</span></span>
<span class="line"><span>* 1 Winter Training: Nov 2 - March 1</span></span>
<span class="line"><span>* 2 Spring: March 2 - May 25</span></span>
<span class="line"><span>* 3 Summer: May 26 - Aug 25</span></span>
<span class="line"><span>**/</span></span>
<span class="line"><span></span></span>
<span class="line"><span>/**</span></span>
<span class="line"><span>* Callback function for the GData json-in-script call</span></span>
<span class="line"><span>* Inserts the supplied list of events into a div of a pre-defined name</span></span>
<span class="line"><span>*</span></span>
<span class="line"><span>* @param {json} root is the JSON-formatted content from GData</span></span>
<span class="line"><span>*/</span></span>
<span class="line"><span>function processRaces(root) {</span></span>
<span class="line"><span>displayRaces(root.feed, 'races');</span></span>
<span class="line"><span>}</span></span>
<span class="line"><span></span></span>
<span class="line"><span>//meow</span></span>
<span class="line"><span>function displayRaces(feed, divId){</span></span>
<span class="line"><span>var now = new Date();</span></span>
<span class="line"><span>var season = getSeason(now);</span></span>
<span class="line"><span>var events = document.getElementById(divId);</span></span>
<span class="line"><span></span></span>
<span class="line"><span>//clear "Loading..."</span></span>
<span class="line"><span>if (events.childNodes.length &gt; 0){</span></span>
<span class="line"><span>events.removeChild(events.childNodes[0]);</span></span>
<span class="line"><span>}</span></span>
<span class="line"><span></span></span>
<span class="line"><span>//display season</span></span>
<span class="line"><span>var d = document.createElement('div');</span></span>
<span class="line"><span>d.appendChild(document.createTextNode(getSeasonText(season)));</span></span>
<span class="line"><span>events.appendChild(d);</span></span>
<span class="line"><span></span></span>
<span class="line"><span>//loop races</span></span>
<span class="line"><span>for (var i=0; i&lt;feed.entry.length; i++){</span></span>
<span class="line"><span>var entry = feed.entry[i];</span></span>
<span class="line"><span></span></span>
<span class="line"><span>var d = getDate(entry['gd$when'][0].startTime);</span></span>
<span class="line"><span>if(isCurrSeason(now, d)){</span></span>
<span class="line"><span>var title = entry.title.$t;</span></span>
<span class="line"><span>var desc = entry.content.$t;</span></span>
<span class="line"><span></span></span>
<span class="line"><span>//set up image and clicking to expand</span></span>
<span class="line"><span>var div = document.createElement('div');</span></span>
<span class="line"><span>div.className = 'exp';</span></span>
<span class="line"><span>var toggle = document.createElement('img');</span></span>
<span class="line"><span>toggle.src= 'http://timothy.broder.googlepages.com/p.jpg';</span></span>
<span class="line"><span>toggle.align = 'absmiddle';</span></span>
<span class="line"><span>toggle.id = i;</span></span>
<span class="line"><span>toggle.onclick = function() {toggleDiv(this); }</span></span>
<span class="line"><span>div.appendChild(toggle);</span></span>
<span class="line"><span>div.appendChild(document.createTextNode(' ' + d.getMonth() + "/" + d.getDay() + ' - '));</span></span>
<span class="line"><span></span></span>
<span class="line"><span>// get the href to link to the event</span></span>
<span class="line"><span>for(var j=0; j&lt;entry['link'].length; j++){</span></span>
<span class="line"><span>if (entry['link'][j]['type'] == 'text/html' &amp;&amp; entry['link'][j]['rel'] == 'alternate'){</span></span>
<span class="line"><span>var href = entry['link'][j]['href'];</span></span>
<span class="line"><span>}</span></span>
<span class="line"><span>}</span></span>
<span class="line"><span></span></span>
<span class="line"><span>//we can link to the cal</span></span>
<span class="line"><span>if (typeof href != 'undefined'){</span></span>
<span class="line"><span>var link = document.createElement('a');</span></span>
<span class="line"><span>link.href = href;</span></span>
<span class="line"><span>link.target = '_blank';</span></span>
<span class="line"><span>link.appendChild(document.createTextNode(title));</span></span>
<span class="line"><span>div.appendChild(link);</span></span>
<span class="line"><span>}</span></span>
<span class="line"><span>else{ //shouldn't get here but just in case</span></span>
<span class="line"><span>div.appendChild(document.createTextNode(title));</span></span>
<span class="line"><span>}</span></span>
<span class="line"><span></span></span>
<span class="line"><span>div.appendChild(document.createElement('br'));</span></span>
<span class="line"><span></span></span>
<span class="line"><span>events.appendChild(div);</span></span>
<span class="line"><span></span></span>
<span class="line"><span>var where = entry['gd$where'][0].valueString;</span></span>
<span class="line"><span>var tDiv = document.createElement('div'); //div that will be hidden initially</span></span>
<span class="line"><span>tDiv.id ='id' + i;</span></span>
<span class="line"><span>tDiv.style['display'] = 'none';</span></span>
<span class="line"><span>tDiv.className = 'loc';</span></span>
<span class="line"><span>events.appendChild(tDiv);</span></span>
<span class="line"><span></span></span>
<span class="line"><span>if(desc != null &amp;&amp; desc != ""){ //we have a desc (should be the teams we're competing against)</span></span>
<span class="line"><span>var dDiv = document.createElement('span');</span></span>
<span class="line"><span>dDiv.appendChild(document.createTextNode(desc + " "));</span></span>
<span class="line"><span>tDiv.appendChild(dDiv);</span></span>
<span class="line"><span>}</span></span>
<span class="line"><span>//the location field is populated (hidden at start)</span></span>
<span class="line"><span>if(where != null &amp;&amp; where != ""){ //we have a location</span></span>
<span class="line"><span>var it = document.createElement('i');</span></span>
<span class="line"><span>var map = document.createElement('a');</span></span>
<span class="line"><span>map.target = '_blank';</span></span>
<span class="line"><span>//link to location on google maps</span></span>
<span class="line"><span>map.href = 'http://maps.google.com/maps?f=q&amp;hl;=en&amp;&amp;q;=' + spaceLink(entry['gd$where'][0].valueString);</span></span>
<span class="line"><span>map.appendChild(document.createTextNode(entry['gd$where'][0].valueString));</span></span>
<span class="line"><span>it.appendChild(document.createTextNode(" ("));</span></span>
<span class="line"><span>it.appendChild(map);</span></span>
<span class="line"><span>it.appendChild(document.createTextNode(")"));</span></span>
<span class="line"><span>tDiv.appendChild(it);</span></span>
<span class="line"><span>}</span></span>
<span class="line"><span>}</span></span>
<span class="line"><span>}</span></span>
<span class="line"><span>}</span></span>
<span class="line"><span></span></span>
<span class="line"><span>//format the date a little</span></span>
<span class="line"><span>function getDate(when){</span></span>
<span class="line"><span>var data = when.split("-");</span></span>
<span class="line"><span>return new Date(data[0], data[1], data[2]);</span></span>
<span class="line"><span>}</span></span>
<span class="line"><span></span></span>
<span class="line"><span>//return int representation of season</span></span>
<span class="line"><span>function getSeason(d){</span></span>
<span class="line"><span>var month = d.getMonth();</span></span>
<span class="line"><span>var day = d.getDate();</span></span>
<span class="line"><span>var year = d.getFullYear();</span></span>
<span class="line"><span></span></span>
<span class="line"><span>var aug = new Date(year, 8, 25);</span></span>
<span class="line"><span>var nov = new Date(year, 11, 1);</span></span>
<span class="line"><span>var mar = new Date(year, 3, 1);</span></span>
<span class="line"><span>var may = new Date(year, 5, 25);</span></span>
<span class="line"><span></span></span>
<span class="line"><span>if(aug &lt; d &amp;&amp; d &lt;= nov) return 0; //fall</span></span>
<span class="line"><span>else if(mar &lt; d &amp;&amp; d &lt;= may) return 2; //spring</span></span>
<span class="line"><span>else if(may &lt; d &amp;&amp; d &lt;= aug) return 3; //summer</span></span>
<span class="line"><span>else return 1; //winter</span></span>
<span class="line"><span>}</span></span>
<span class="line"><span></span></span>
<span class="line"><span>//figure out the current season</span></span>
<span class="line"><span>function isCurrSeason(now, d){</span></span>
<span class="line"><span>currSeason = getSeason(now);</span></span>
<span class="line"><span>season = getSeason(d);</span></span>
<span class="line"><span></span></span>
<span class="line"><span>if(currSeason == season){ //same season yes</span></span>
<span class="line"><span>if(now.getFullYear() == d.getFullYear()){ //same year also, match</span></span>
<span class="line"><span>return true;</span></span>
<span class="line"><span>}</span></span>
<span class="line"><span>if(season == 1 &amp;&amp; (d.getFullYear() == now.getFullYear()-1)){ //diff year, prob winter</span></span>
<span class="line"><span>return true;</span></span>
<span class="line"><span>}</span></span>
<span class="line"><span>}</span></span>
<span class="line"><span>return false;</span></span>
<span class="line"><span>}</span></span>
<span class="line"><span></span></span>
<span class="line"><span>//return text for season</span></span>
<span class="line"><span>function getSeasonText(season){</span></span>
<span class="line"><span>if(season == 0) return "Fall Season";</span></span>
<span class="line"><span>if(season == 1) return "Winter Training";</span></span>
<span class="line"><span>if(season == 2) return "Spring Season";</span></span>
<span class="line"><span>if(season == 3) return "Summer Season";</span></span>
<span class="line"><span></span></span>
<span class="line"><span>return "no season"; //really shouldn't get here</span></span>
<span class="line"><span>}</span></span>
<span class="line"><span></span></span>
<span class="line"><span>//if the div is hidden show it, if not, hide it</span></span>
<span class="line"><span>function toggleDiv(where_id){</span></span>
<span class="line"><span>var div = document.getElementById('id' + where_id.id);</span></span>
<span class="line"><span>var img = document.getElementById(where_id.id);</span></span>
<span class="line"><span>if(div != null){</span></span>
<span class="line"><span>if(div.style.display != 'none'){</span></span>
<span class="line"><span>div.style.display = 'none';</span></span>
<span class="line"><span>img.src= 'http://timothy.broder.googlepages.com/p.jpg';</span></span>
<span class="line"><span></span></span>
<span class="line"><span>}</span></span>
<span class="line"><span>else{</span></span>
<span class="line"><span>div.style.display = 'block';</span></span>
<span class="line"><span>img.src= 'http://timothy.broder.googlepages.com/m.jpg';</span></span>
<span class="line"><span>}</span></span>
<span class="line"><span>}</span></span>
<span class="line"><span>}</span></span>
<span class="line"><span></span></span>
<span class="line"><span>//convert the location so it can be used in a link to google maps</span></span>
<span class="line"><span>function spaceLink(name){</span></span>
<span class="line"><span>return name.replace(' ', ',+');</span></span>
<span class="line"><span>}</span></span>
<span class="line"><span></span></span>
<span class="line"><span>//--&gt;</span></span>
<span class="line"><span>&lt;/script&gt;</span></span>
<span class="line"><span></span></span>
<span class="line"><span>&lt;div id="races"&gt;&lt;p&gt;Loading...&lt;/p&gt;&lt;/div&gt;</span></span>
<span class="line"><span>&lt;script type="text/javascript" src="http://www.google.com/calendar/feeds/rpicrew@gmail.com/public/full?alt=json-in-script&amp;callback;=processRaces&amp;orderby;=starttime&amp;singleevents;=true&amp;sortorder;=ascending&amp;start-min;=2007-01-01T00:00:00"&gt;&lt;/script&gt;</span></span>
<span class="line"><span></span></span>
<span class="line"><span></span></span>
<span class="line"><span></span></span>
<span class="line"><span></span></span>
<span class="line"><span>]]&gt;&lt;/Content&gt;</span></span>
<span class="line"><span>&lt;/Module&gt;</span></span>
<span class="line"><span>```</span></span></code></pre>
]]></content:encoded></item>
<item><title>New Calendar API features</title><description>Google Calendar API posts new read and write features. They
have added: owncalendars: contains the collection of calendars that a user 'owns' allcalendars: contains all the calendars that a user has access to Useful for listing all your calendars if you manage a lot of them, or
changing their settings all at once (both features have read and write
capabilities)</description><link>https://timbroder.com/2007/08/new-calendar-api-features/</link><guid isPermaLink="false">https://timbroder.com/2007/08/new-calendar-api-features</guid><pubDate>Fri, 03 Aug 2007 02:45:00 GMT</pubDate><content:encoded><![CDATA[<p><a href="http://googledataapis.blogspot.com/2007/07/create-calendars-with-google-calendar.html">Google Calendar API</a> posts new read and write features. They
have added:</p>
<ul>
<li><a href="http://code.google.com/apis/calendar/developers_guide_protocol.html#ManagingCalendars">owncalendars</a>: contains the collection of calendars that a user 'owns'</li>
<li><a href="http://code.google.com/apis/calendar/developers_guide_protocol.html#ManagingSubscriptions">allcalendars</a>: contains all the calendars that a user has access to</li>
</ul>
<p>Useful for listing all your calendars if you manage a lot of them, or
changing their settings all at once (both features have read and write
capabilities)</p>
]]></content:encoded></item>
<item><title>domain!</title><description>The design and domain have been set up (actually I finished it a week or so
ago but work's been keeping me pretty crazy). All my examples will be
implemented on gPowered.net as well as a copy of
theses posts. Enjoy.</description><link>https://timbroder.com/2007/07/domain/</link><guid isPermaLink="false">https://timbroder.com/2007/07/domain</guid><pubDate>Tue, 31 Jul 2007 01:31:00 GMT</pubDate><content:encoded><![CDATA[<p>The design and domain have been set up (actually I finished it a week or so
ago but work's been keeping me pretty crazy). All my examples will be
implemented on <a href="https://gpowered.net/g/">gPowered.net</a> as well as a copy of
theses posts. Enjoy.</p>
]]></content:encoded></item>
<item><title>Picasa Web Api updates</title><description>Google Data Api's posted a few updates today, a few of which
I've really been looking forward to; Community Search, Retrieving a user's
recently uploaded photos, Retrieving recently added comments for a particular
user, Searching a user's photos, Filtering by tag, Uploading non-JPEG photos,
Downloading the original photo. (my fav) Downloading the original photo: You can now download the original
photo, including all EXIF data. This is accomplished by retrieving the feed
with the  query parameter and value…</description><link>https://timbroder.com/2007/07/picasa-web-api-updates/</link><guid isPermaLink="false">https://timbroder.com/2007/07/picasa-web-api-updates</guid><pubDate>Tue, 24 Jul 2007 02:17:00 GMT</pubDate><content:encoded><![CDATA[<p><a href="http://googledataapis.blogspot.com/2007/07/picasa-web-albums-adds-new-api-features.html">Google Data Api's</a> posted a few updates today, a few of which
I've really been looking forward to; Community Search, Retrieving a user's
recently uploaded photos, Retrieving recently added comments for a particular
user, Searching a user's photos, Filtering by tag, Uploading non-JPEG photos,
Downloading the original photo.</p>
<p>(my fav) <strong>Downloading the original photo</strong>: You can now download the original
photo, including all EXIF data. This is accomplished by retrieving the feed
with the <code>imgmax=d</code> query parameter and value This will return a feed where
the <code>media:content</code> elements reference the original downloadable image.</p>
<p>It's nice not having to use a <a href="http://groups.google.com/group/Google-Picasa-Data-API/browse_thread/thread/6311fb3da0673228/a165e494fe1c1d9d#a165e494fe1c1d9d">backdoor </a>
for this anymore</p>
]]></content:encoded></item>
<item><title>HOWTO: post code</title><description>Posting code is made quite easy by using
SyntaxHighlighter. It's pretty
easy to set up and works on any html sites, as well as
blogger and wordpress.
I'll be using it heavily throughout these posts. 3 easy steps: Include the SyntaxHighlighter.css file at the top of your page. At the bottom of the page, include the
brushes and other
js files you will need, as well as the function call to stylize the
&lt;pre&gt; tags: Then, place the code you want in between these two steps using &lt;pre&gt;
tags that the javascript will…</description><link>https://timbroder.com/2007/07/howto-post-code/</link><guid isPermaLink="false">https://timbroder.com/2007/07/howto-post-code</guid><pubDate>Tue, 24 Jul 2007 01:52:00 GMT</pubDate><content:encoded><![CDATA[<p>Posting code is made quite easy by using
<a href="http://code.google.com/p/syntaxhighlighter/">SyntaxHighlighter</a>. It's pretty
easy to set up and works on any html sites, as well as
<a href="http://www.blogger.com">blogger</a> and <a href="http://www.wordpress.org">wordpress</a>.
I'll be using it heavily throughout these posts. 3 easy steps:</p>
<ol>
<li>
<p>Include the SyntaxHighlighter.css file at the top of your page.</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="html"><code><span class="line"><span style="color:#F8F8F2">&lt;</span><span style="color:#fa4f8d">link</span><span style="color:#A6E22E"> type</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"text/css"</span><span style="color:#A6E22E"> rel</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"stylesheet"</span><span style="color:#A6E22E"> href</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"/php/js/dp.SyntaxHighlighter/Styles/SyntaxHighlighter.css"</span><span style="color:#F8F8F2">&gt;&lt;/</span><span style="color:#f55b5b">link</span><span style="color:#F8F8F2">&gt;</span></span></code></pre>
</li>
<li>
<p>At the bottom of the page, include the
<a href="http://code.google.com/p/syntaxhighlighter/wiki/Brushes">brushes</a> and other
js files you will need, as well as the function call to stylize the
&lt;pre&gt; tags:</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="html"><code><span class="line"><span style="color:#F8F8F2">&lt;</span><span style="color:#fa4f8d">script</span><span style="color:#A6E22E"> language</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"javascript"</span><span style="color:#A6E22E"> src</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"/php/js/dp.SyntaxHighlighter/Scripts/shCore.js"</span><span style="color:#F8F8F2">&gt;&lt;/</span><span style="color:#fa4f8d">script</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">&lt;</span><span style="color:#fa4f8d">script</span><span style="color:#A6E22E"> language</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"javascript"</span><span style="color:#A6E22E"> src</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"/php/js/dp.SyntaxHighlighter/Scripts/shBrushCSharp.js"</span><span style="color:#F8F8F2">&gt;&lt;/</span><span style="color:#fa4f8d">script</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">&lt;</span><span style="color:#fa4f8d">script</span><span style="color:#A6E22E"> language</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"javascript"</span><span style="color:#A6E22E"> src</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"/php/js/dp.SyntaxHighlighter/Scripts/shBrushXml.js"</span><span style="color:#F8F8F2">&gt;&lt;/</span><span style="color:#fa4f8d">script</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">&lt;</span><span style="color:#fa4f8d">script</span><span style="color:#A6E22E"> language</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"javascript"</span><span style="color:#A6E22E"> src</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"/php/js/dp.SyntaxHighlighter/Scripts/shBrushPython.js"</span><span style="color:#F8F8F2">&gt;&lt;/</span><span style="color:#fa4f8d">script</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">&lt;</span><span style="color:#fa4f8d">script</span><span style="color:#A6E22E"> language</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"javascript"</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">dp.SyntaxHighlighter.ClipboardSwf </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> '/flash/clipboard.swf'</span><span style="color:#F8F8F2">;</span></span>
<span class="line"><span style="color:#F8F8F2">dp.SyntaxHighlighter.</span><span style="color:#A6E22E">HighlightAll</span><span style="color:#F8F8F2">(</span><span style="color:#E6DB74">'code'</span><span style="color:#F8F8F2">);</span></span>
<span class="line"><span style="color:#F8F8F2">&lt;/</span><span style="color:#fa4f8d">script</span><span style="color:#F8F8F2">&gt;</span></span></code></pre>
</li>
<li>
<p>Then, place the code you want in between these two steps using &lt;pre&gt;
tags that the javascript will stylize</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="html"><code><span class="line"><span style="color:#F8F8F2">&lt;</span><span style="color:#fa4f8d">pre</span><span style="color:#A6E22E"> name</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"code"</span><span style="color:#A6E22E"> class</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"html"</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#94907d">&lt;!-- code here --&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">&lt;/</span><span style="color:#fa4f8d">pre</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">&lt;</span><span style="color:#fa4f8d">pre</span><span style="color:#A6E22E"> name</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"code"</span><span style="color:#A6E22E"> class</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"python"</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2"># code here</span></span>
<span class="line"><span style="color:#F8F8F2">&lt;/</span><span style="color:#fa4f8d">pre</span><span style="color:#F8F8F2">&gt;</span></span></code></pre>
</li>
</ol>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="plaintext"><code><span class="line"><span></span></span></code></pre>
]]></content:encoded></item>
<item><title>HOWTO: Displaying Blogger feeds with Python</title><description>This first HOWTO is going to cover how I did the basic structure of the posts section of gPowered: pulling from blogger.
The main functions we'll need are to show a range of posts, a single post, and a function to get the total number of posts that are in the blog.
The reason I try to get the total number is so the different pages can be bookmarkable.  When retrieving a GData feed from blogger.  Entry 1 in the feed is going to be the newest post so there is no 'id' that is going to be static, so we'll do a…</description><link>https://timbroder.com/2007/07/howto-get-blogger-feeds-using-python/</link><guid isPermaLink="false">https://timbroder.com/2007/07/howto-get-blogger-feeds-using-python</guid><pubDate>Thu, 19 Jul 2007 03:07:00 GMT</pubDate><content:encoded><![CDATA[<p>This first HOWTO is going to cover how I did the basic structure of the posts section of gPowered: pulling from blogger.
The main functions we'll need are to show a range of posts, a single post, and a function to get the total number of posts that are in the blog.
The reason I try to get the total number is so the different pages can be bookmarkable.  When retrieving a GData feed from blogger.  Entry 1 in the feed is going to be the newest post so there is no 'id' that is going to be static, so we'll do a little math to get a number we can later use as the id.
I use Django to handle rendering the python to the browser.  I probably won't get into other methods.</p>
<p>To start out you'll have to grab the following modules.</p>
<ul>
<li>
<p>the <a href="http://code.google.com/p/gdata-python-client/downloads/list">gdata python client</a></p>
</li>
<li>
<p><a href="http://effbot.org/zone/element-index.htm">ElementTree</a></p>
</li>
<li>
<p><a href="http://www.egenix.com/products/python/mxBase/mxDateTime/">mxDateTime</a> (I used this for date formatting)</p>
</li>
</ul>
<p>We then import the parts the we'll need (you can ignore the Django part for your own methods):</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="python"><code><span class="line"><span style="color:#fa4f8d">    from</span><span style="color:#F8F8F2"> Django.shortcuts </span><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> render_to_response</span></span>
<span class="line"><span style="color:#F8F8F2">    </span></span>
<span class="line"><span style="color:#fa4f8d">    from</span><span style="color:#F8F8F2"> gdata </span><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> service</span></span>
<span class="line"><span style="color:#fa4f8d">    import</span><span style="color:#F8F8F2"> gdata</span></span>
<span class="line"><span style="color:#fa4f8d">    import</span><span style="color:#F8F8F2"> atom</span></span>
<span class="line"><span style="color:#fa4f8d">    import</span><span style="color:#F8F8F2"> getopt</span></span>
<span class="line"><span style="color:#fa4f8d">    import</span><span style="color:#F8F8F2"> sys</span></span>
<span class="line"><span style="color:#F8F8F2">    </span></span>
<span class="line"><span style="color:#fa4f8d">    from</span><span style="color:#F8F8F2"> mx </span><span style="color:#fa4f8d">import</span><span style="color:#F8F8F2"> DateTime</span></span></code></pre>
<p>One of the first things we're going to have to do is authenticate with google services.
There are two ways to do this: <a href="http://code.google.com/apis/blogger/developers_guide_python.html#auth_sub">AuthSub proxy authentication</a> which has a user login using their own credentials, and
<a href="http://code.google.com/apis/blogger/developers_guide_python.html#client_login"> ClientLogin username/password authentication</a> where you send a username and password.  We will be using ClientLogin.
First off, set your login credentials to use later.</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="python"><code><span class="line"><span style="color:#94907d">    #login info</span></span>
<span class="line"><span style="color:#F8F8F2">    user </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> 'timothy.broder@gmail.com'</span></span>
<span class="line"><span style="color:#F8F8F2">    password </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> '********'</span></span></code></pre>
<p>Then we start setting up our call to the service.</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="python"><code><span class="line"><span style="color:#94907d">    #set up service</span></span>
<span class="line"><span style="color:#F8F8F2">    blogger_service </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> service.GDataService(user, password)</span></span>
<span class="line"><span style="color:#F8F8F2">    blogger_service.source </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> 'gpowered'</span></span>
<span class="line"><span style="color:#F8F8F2">    blogger_service.service </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> 'blogger'</span></span>
<span class="line"><span style="color:#F8F8F2">    blogger_service.server </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> 'www.blogger.com'</span></span>
<span class="line"><span style="color:#F8F8F2">    blogger_service.ProgrammaticLogin()</span></span></code></pre>
<p>For more info see the <a href="http://code.google.com/apis/blogger/developers_guide_python.html">blogger developer's guide with python</a> or the <a href="http://code.google.com/apis/accounts/Authentication.html">Google Account Authentication documentation</a></p>
<p>After we have authenticated with Google we need to start building up our query to <a href="http://code.google.com/apis/gdata/">GData</a>, which will return as an ElementTree of data.  The first thing you'll need is your blog's id.</p>
<p>You can use the function in the dev guide to help you with this if you don't already know it.</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="python"><code><span class="line"><span style="color:#66D9EF;font-style:italic">    def</span><span style="color:#A6E22E"> PrintUserBlogTitles</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F;font-style:italic">blogger_service</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#F8F8F2">      query </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> service.Query()</span></span>
<span class="line"><span style="color:#F8F8F2">      query.feed </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> '/feeds/default/blogs'</span></span>
<span class="line"><span style="color:#F8F8F2">      feed </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> blogger_service.Get(query.ToUri())</span></span>
<span class="line"><span style="color:#F8F8F2">    </span></span>
<span class="line"><span style="color:#66D9EF">      print</span><span style="color:#F8F8F2"> feed.title.text</span></span>
<span class="line"><span style="color:#fa4f8d">      for</span><span style="color:#F8F8F2"> entry </span><span style="color:#fa4f8d">in</span><span style="color:#F8F8F2"> feed.entry:</span></span>
<span class="line"><span style="color:#66D9EF">        print</span><span style="color:#E6DB74"> "</span><span style="color:#AE81FF">\t</span><span style="color:#E6DB74">"</span><span style="color:#fa4f8d"> +</span><span style="color:#F8F8F2"> entry.title.text</span></span></code></pre>
<p>After you have the blog id we can start working on the query</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="python"><code><span class="line"><span style="color:#F8F8F2">    blog_id </span><span style="color:#fa4f8d">=</span><span style="color:#AE81FF"> 413573351281770670</span></span>
<span class="line"><span style="color:#F8F8F2">    feed_url </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> '/feeds/</span><span style="color:#AE81FF">%s</span><span style="color:#E6DB74">/posts/default'</span><span style="color:#fa4f8d"> %</span><span style="color:#66D9EF;font-style:italic"> str</span><span style="color:#F8F8F2">(blog_id)</span></span>
<span class="line"><span style="color:#F8F8F2">    query </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> service.Query()</span></span>
<span class="line"><span style="color:#F8F8F2">    query.feed </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> feed_url</span></span></code></pre>
<p>The below function returns the total number of posts that are in the feed.  We can get a small response by sending 0 for the max results.  Below is the function and the small response we get from it.</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="python"><code><span class="line"><span style="color:#94907d">    #get the total number of posts for this feed</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">    def</span><span style="color:#A6E22E"> get_total</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F;font-style:italic">query</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#94907d">     #query for no posts</span></span>
<span class="line"><span style="color:#F8F8F2">     query.max_results </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> '0'</span></span>
<span class="line"><span style="color:#F8F8F2">     query.start_index </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> '1'</span></span>
<span class="line"><span style="color:#F8F8F2">     </span></span>
<span class="line"><span style="color:#94907d">     #get back entryless feed</span></span>
<span class="line"><span style="color:#F8F8F2">     feed </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> blogger_service.Get(query.ToUri()) </span></span>
<span class="line"><span style="color:#fa4f8d">     return</span><span style="color:#66D9EF;font-style:italic"> int</span><span style="color:#F8F8F2">(feed.total_results.text)</span></span></code></pre>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="xml"><code><span class="line"><span style="color:#F8F8F2">    &lt;</span><span style="color:#fa4f8d">ns0:feed</span><span style="color:#A6E22E"> xmlns:ns0</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"http://www.w3.org/2005/Atom"</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">     &lt;</span><span style="color:#fa4f8d">ns1:totalresults</span><span style="color:#A6E22E"> xmlns:ns1</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"http://a9.com/-/spec/opensearchrss/1.0/"</span><span style="color:#F8F8F2">&gt;1&lt;/</span><span style="color:#fa4f8d">ns1:totalresults</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">     &lt;</span><span style="color:#fa4f8d">ns1:itemsperpage</span><span style="color:#A6E22E"> xmlns:ns1</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"http://a9.com/-/spec/opensearchrss/1.0/"</span><span style="color:#F8F8F2">&gt;0&lt;/</span><span style="color:#fa4f8d">ns1:itemsperpage</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">     &lt;</span><span style="color:#fa4f8d">ns1:startindex</span><span style="color:#A6E22E"> xmlns:ns1</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"http://a9.com/-/spec/opensearchrss/1.0/"</span><span style="color:#F8F8F2">&gt;1&lt;/</span><span style="color:#fa4f8d">ns1:startindex</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">     &lt;</span><span style="color:#fa4f8d">ns0:generator</span><span style="color:#A6E22E"> version</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"7.00"</span><span style="color:#A6E22E"> uri</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"http://www.blogger.com"</span><span style="color:#F8F8F2">&gt;Blogger&lt;/</span><span style="color:#fa4f8d">ns0:generator</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">     &lt;</span><span style="color:#fa4f8d">ns0:author</span><span style="color:#F8F8F2">&gt;&lt;</span><span style="color:#fa4f8d">ns0:name</span><span style="color:#F8F8F2">&gt;Tim&lt;/</span><span style="color:#fa4f8d">ns0:name</span><span style="color:#F8F8F2">&gt;&lt;/</span><span style="color:#fa4f8d">ns0:author</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">     &lt;</span><span style="color:#fa4f8d">ns0:id</span><span style="color:#F8F8F2">&gt;tag:blogger.com,1999:blog-413573351281770670&lt;/</span><span style="color:#fa4f8d">ns0:id</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">     &lt;</span><span style="color:#fa4f8d">ns0:link</span><span style="color:#A6E22E"> href</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"https://gpowered.blogspot.com/"</span><span style="color:#A6E22E"> type</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"text/html"</span><span style="color:#A6E22E"> rel</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"alternate"</span><span style="color:#F8F8F2">&gt;&lt;/</span><span style="color:#fa4f8d">ns0:link</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">     &lt;</span><span style="color:#fa4f8d">ns0:link</span><span style="color:#A6E22E"> href</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"https://gpowered.blogspot.com/feeds/posts/default"</span><span style="color:#A6E22E"> type</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"application/atom+xml"</span><span style="color:#A6E22E"> rel</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"http://schemas.google.com/g/2005#feed"</span><span style="color:#F8F8F2">&gt;&lt;/</span><span style="color:#fa4f8d">ns0:link</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">     &lt;</span><span style="color:#fa4f8d">ns0:link</span><span style="color:#A6E22E"> href</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"http://www.blogger.com/feeds/413573351281770670/posts/default?max-results=0"</span><span style="color:#A6E22E"> type</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"application/atom+xml"</span><span style="color:#A6E22E"> rel</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"self"</span><span style="color:#F8F8F2">&gt;&lt;/</span><span style="color:#fa4f8d">ns0:link</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">     &lt;</span><span style="color:#fa4f8d">ns0:link</span><span style="color:#A6E22E"> href</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"http://www.blogger.com/feeds/413573351281770670/posts/default"</span><span style="color:#A6E22E"> type</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"application/atom+xml"</span><span style="color:#A6E22E"> rel</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"http://schemas.google.com/g/2005#post"</span><span style="color:#F8F8F2">&gt;&lt;/</span><span style="color:#fa4f8d">ns0:link</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">     &lt;</span><span style="color:#fa4f8d">ns0:title</span><span style="color:#A6E22E"> type</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"text"</span><span style="color:#F8F8F2">&gt;gPowered&lt;/</span><span style="color:#fa4f8d">ns0:title</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">     &lt;</span><span style="color:#fa4f8d">ns0:updated</span><span style="color:#F8F8F2">&gt;2007-07-18T10:55:06.728-05:00&lt;/</span><span style="color:#fa4f8d">ns0:updated</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">    &lt;/</span><span style="color:#fa4f8d">ns0:feed</span><span style="color:#F8F8F2">&gt;</span></span></code></pre>
<p>So we get the total number of posts and then we can start pulling data.  Lets make a generic function, PostFrom, that can be used to show multiple posts, or just single ones, depending on what you pass to it.  The start number that is passed to PostFrom has been set to the first post in the blog is considered to have an id of 1 and the latest post is the same as total_posts.  This is useful so if viewers want to bookmark the page they are looking at, the post that is being displayed will not change.
The following are the different functions that will make use of it.</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="python"><code><span class="line"><span style="color:#94907d">    #show latest posts</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">    def</span><span style="color:#A6E22E"> Posts</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F;font-style:italic">request</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#fa4f8d">     return</span><span style="color:#F8F8F2"> ListPosts(request, total_posts)</span></span>
<span class="line"><span style="color:#F8F8F2">    </span></span>
<span class="line"><span style="color:#94907d">    #show posts starting from a certain point </span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">    def</span><span style="color:#A6E22E"> ListPosts</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F;font-style:italic">request</span><span style="color:#F8F8F2">, </span><span style="color:#FD971F;font-style:italic">start</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#F8F8F2">     start </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> total_posts </span><span style="color:#fa4f8d">-</span><span style="color:#66D9EF;font-style:italic"> int</span><span style="color:#F8F8F2">(start) </span><span style="color:#fa4f8d">+</span><span style="color:#AE81FF"> 1</span></span>
<span class="line"><span style="color:#fa4f8d">     return</span><span style="color:#F8F8F2"> PostFrom(request, start, show_num)</span></span>
<span class="line"><span style="color:#F8F8F2">    </span></span>
<span class="line"><span style="color:#94907d">    #show a single post</span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">    def</span><span style="color:#A6E22E"> Post</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F;font-style:italic">request</span><span style="color:#F8F8F2">, </span><span style="color:#FD971F;font-style:italic">start</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#F8F8F2">     start </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> total_posts </span><span style="color:#fa4f8d">-</span><span style="color:#66D9EF;font-style:italic"> int</span><span style="color:#F8F8F2">(start) </span><span style="color:#fa4f8d">+</span><span style="color:#AE81FF"> 1</span></span>
<span class="line"><span style="color:#fa4f8d">     return</span><span style="color:#F8F8F2"> PostFrom(request, start, </span><span style="color:#AE81FF">1</span><span style="color:#F8F8F2">)</span></span>
<span class="line"><span style="color:#F8F8F2">     </span></span>
<span class="line"><span style="color:#66D9EF;font-style:italic">    def</span><span style="color:#A6E22E"> PostFrom</span><span style="color:#F8F8F2">(</span><span style="color:#FD971F;font-style:italic">request</span><span style="color:#F8F8F2">, </span><span style="color:#FD971F;font-style:italic">start</span><span style="color:#F8F8F2">, </span><span style="color:#FD971F;font-style:italic">count</span><span style="color:#F8F8F2">):</span></span>
<span class="line"><span style="color:#94907d">     #query for count number of posts starting at the given post</span></span>
<span class="line"><span style="color:#F8F8F2">     query.max_results </span><span style="color:#fa4f8d">=</span><span style="color:#66D9EF;font-style:italic"> str</span><span style="color:#F8F8F2">(count)</span></span>
<span class="line"><span style="color:#F8F8F2">     query.start_index </span><span style="color:#fa4f8d">=</span><span style="color:#66D9EF;font-style:italic"> str</span><span style="color:#F8F8F2">(start)</span></span>
<span class="line"><span style="color:#F8F8F2">     feed </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> blogger_service.Get(query.ToUri())</span></span></code></pre>
<p>Now we have all the data we need in the feed variable.  Its been turned into an element tree so we don't have to worry about XML parsing here.  Every node has become an objects and lists.  Objects for single nodes(title), and lists for where there are multiple nodes of the same name (entry, link)
At this stage I play with the data a little so it's easier to use in my Django template.</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="python"><code><span class="line"><span style="color:#94907d">     #normalize data for output</span></span>
<span class="line"><span style="color:#fa4f8d">     for</span><span style="color:#F8F8F2"> entry </span><span style="color:#fa4f8d">in</span><span style="color:#F8F8F2"> feed.entry:</span></span>
<span class="line"><span style="color:#94907d">      #get link for template</span></span>
<span class="line"><span style="color:#F8F8F2">      entry.my_link </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> entry.link[</span><span style="color:#AE81FF">0</span><span style="color:#F8F8F2">].href</span></span>
<span class="line"><span style="color:#F8F8F2">      </span></span>
<span class="line"><span style="color:#94907d">      #id for links</span></span>
<span class="line"><span style="color:#F8F8F2">      entry.my_id </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> curr_id</span></span>
<span class="line"><span style="color:#F8F8F2">      curr_id </span><span style="color:#fa4f8d">-=</span><span style="color:#AE81FF"> 1</span></span>
<span class="line"><span style="color:#F8F8F2">      </span></span>
<span class="line"><span style="color:#94907d">      #format published date</span></span>
<span class="line"><span style="color:#F8F8F2">      dt </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> DateTime.</span><span style="color:#AE81FF">ISO</span><span style="color:#F8F8F2">.ParseDateTimeUTC(entry.published.text)</span></span>
<span class="line"><span style="color:#F8F8F2">      entry.my_date </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> dt.strftime(</span><span style="color:#E6DB74">'%m/</span><span style="color:#AE81FF">%d</span><span style="color:#E6DB74">/%Y'</span><span style="color:#F8F8F2">)</span></span>
<span class="line"><span style="color:#F8F8F2">      entry.my_time </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> dt.strftime(</span><span style="color:#E6DB74">'%I:%M %p'</span><span style="color:#F8F8F2">) </span></span></code></pre>
<p>Of course we're going to need next and previous buttons as well.  The way we've set up the math with total_posts and the start number, we only have to increment or decrement these by count (the number of posts to display on a page).  I also set part of the link, as well as the page title, that I will use in my template.</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="python"><code><span class="line"><span style="color:#F8F8F2">     prev </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> total_posts </span><span style="color:#fa4f8d">-</span><span style="color:#F8F8F2"> (start </span><span style="color:#fa4f8d">-</span><span style="color:#F8F8F2"> count) </span><span style="color:#fa4f8d">+</span><span style="color:#AE81FF"> 1</span></span>
<span class="line"><span style="color:#fa4f8d">     if</span><span style="color:#F8F8F2"> prev </span><span style="color:#fa4f8d">&gt;</span><span style="color:#F8F8F2"> total_posts:</span></span>
<span class="line"><span style="color:#F8F8F2">      prev </span><span style="color:#fa4f8d">=</span><span style="color:#AE81FF"> None</span></span>
<span class="line"><span style="color:#F8F8F2">      </span></span>
<span class="line"><span style="color:#F8F8F2">      </span></span>
<span class="line"><span style="color:#66D9EF">     next</span><span style="color:#fa4f8d"> =</span><span style="color:#F8F8F2"> total_posts </span><span style="color:#fa4f8d">-</span><span style="color:#F8F8F2"> (start </span><span style="color:#fa4f8d">+</span><span style="color:#F8F8F2"> count) </span><span style="color:#fa4f8d">+</span><span style="color:#AE81FF"> 1</span></span>
<span class="line"><span style="color:#fa4f8d">     if</span><span style="color:#66D9EF"> next</span><span style="color:#fa4f8d"> &lt;</span><span style="color:#AE81FF"> 1</span><span style="color:#F8F8F2">:</span></span>
<span class="line"><span style="color:#66D9EF">      next</span><span style="color:#fa4f8d"> =</span><span style="color:#AE81FF"> None</span></span>
<span class="line"><span style="color:#F8F8F2">     </span></span>
<span class="line"><span style="color:#94907d">     #showing single post </span></span>
<span class="line"><span style="color:#fa4f8d">     if</span><span style="color:#F8F8F2"> count </span><span style="color:#fa4f8d">==</span><span style="color:#AE81FF"> 1</span><span style="color:#F8F8F2">:</span></span>
<span class="line"><span style="color:#F8F8F2">      link </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> 'post'</span></span>
<span class="line"><span style="color:#F8F8F2">      title </span><span style="color:#fa4f8d">=</span><span style="color:#F8F8F2"> feed.entry[</span><span style="color:#AE81FF">0</span><span style="color:#F8F8F2">].title.text</span></span>
<span class="line"><span style="color:#94907d">     #listing posts</span></span>
<span class="line"><span style="color:#fa4f8d">     else</span><span style="color:#F8F8F2">:</span></span>
<span class="line"><span style="color:#F8F8F2">      link </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> 'posts'</span></span>
<span class="line"><span style="color:#F8F8F2">      title </span><span style="color:#fa4f8d">=</span><span style="color:#E6DB74"> 'home'</span></span></code></pre>
<p>The final part of the function is a return to the Django framework to populate my template.  I'm going to get into the template more in the next post, but you now have all the information you need stored.</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="python"><code><span class="line"><span style="color:#fa4f8d">     return</span><span style="color:#F8F8F2"> render_to_response(</span><span style="color:#E6DB74">'posts/index.html'</span><span style="color:#F8F8F2">, {</span></span>
<span class="line"><span style="color:#E6DB74">      'entries'</span><span style="color:#F8F8F2">: feed.entry,</span></span>
<span class="line"><span style="color:#E6DB74">      'title'</span><span style="color:#F8F8F2">: title,</span></span>
<span class="line"><span style="color:#E6DB74">      'tag_link'</span><span style="color:#F8F8F2">: tag_link, </span></span>
<span class="line"><span style="color:#E6DB74">      'prev'</span><span style="color:#F8F8F2">: prev,</span></span>
<span class="line"><span style="color:#E6DB74">      'next'</span><span style="color:#F8F8F2">: </span><span style="color:#66D9EF">next</span><span style="color:#F8F8F2">,  </span></span>
<span class="line"><span style="color:#E6DB74">      'link'</span><span style="color:#F8F8F2">: link,</span></span>
<span class="line"><span style="color:#E6DB74">      'tab_home'</span><span style="color:#F8F8F2">: </span><span style="color:#AE81FF">True</span><span style="color:#F8F8F2">,</span></span>
<span class="line"><span style="color:#F8F8F2">      })</span></span></code></pre>
<p>To the template!</p>
<p>The first part consists of displaying the post itself, along with its relevant information</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="html"><code><span class="line"><span style="color:#F8F8F2">    {% verbatim %}</span></span>
<span class="line"><span style="color:#F8F8F2">{% for entry in entries %}</span></span>
<span class="line"><span style="color:#F8F8F2">    </span></span>
<span class="line"><span style="color:#F8F8F2">      &lt;</span><span style="color:#fa4f8d">h2</span><span style="color:#F8F8F2">&gt;&lt;</span><span style="color:#fa4f8d">a</span><span style="color:#A6E22E"> href</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"/post/{{ entry.my_id }}"</span><span style="color:#F8F8F2">&gt;{{ entry.title.text }}&lt;/</span><span style="color:#fa4f8d">h2</span><span style="color:#F8F8F2">&gt;&lt;/</span><span style="color:#fa4f8d">a</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">      {{ entry.content.text }}</span></span>
<span class="line"><span style="color:#F8F8F2">      &lt;</span><span style="color:#fa4f8d">p</span><span style="color:#F8F8F2">&gt;Posted by {% for auth in entry.author %}{{ auth.name.text }}{% if not forloop.last %}, {% endif %}{% endfor %} </span></span>
<span class="line"><span style="color:#F8F8F2">      on {{ entry.my_date }} at {{ entry.my_time }}&lt;/</span><span style="color:#fa4f8d">p</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">      {% if entry.category %}&lt;</span><span style="color:#fa4f8d">p</span><span style="color:#F8F8F2">&gt;Labels: {% for cat in entry.category %}</span></span>
<span class="line"><span style="color:#F8F8F2">       &lt;</span><span style="color:#fa4f8d">a</span><span style="color:#A6E22E"> href</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"{{ tag_link }}{{ cat.term }}"</span><span style="color:#F8F8F2">&gt;{{ cat.term }}&lt;/</span><span style="color:#fa4f8d">a</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">       {% if not forloop.last %}, {% endif %}</span></span>
<span class="line"><span style="color:#F8F8F2">       {% endfor %}&lt;/</span><span style="color:#fa4f8d">p</span><span style="color:#F8F8F2">&gt;{% endif %}&lt;</span><span style="color:#fa4f8d">p</span><span style="color:#F8F8F2">&gt;&lt;</span><span style="color:#fa4f8d">a</span><span style="color:#A6E22E"> href</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"{{ entry.my_link }}"</span><span style="color:#F8F8F2">&gt;More...&lt;/</span><span style="color:#fa4f8d">a</span><span style="color:#F8F8F2">&gt;&lt;/</span><span style="color:#fa4f8d">p</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">       </span></span>
<span class="line"><span style="color:#F8F8F2">    {% endfor %}</span></span>
<span class="line"><span style="color:#F8F8F2">    {% endverbatim %}</span></span></code></pre>
<p>And the second part handles the prev and next links</p>
<pre class="astro-code monokai-aa" style="background-color:#272822;color:#F8F8F2; overflow-x: auto;" tabindex="0" data-language="html"><code><span class="line"><span style="color:#F8F8F2">    {% verbatim %}</span></span>
<span class="line"><span style="color:#F8F8F2">    &lt;</span><span style="color:#fa4f8d">br</span><span style="color:#F8F8F2">&gt;&lt;/</span><span style="color:#f55b5b">br</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">    &lt;</span><span style="color:#fa4f8d">div</span><span style="color:#A6E22E"> class</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"nav"</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">    {% if prev %}</span></span>
<span class="line"><span style="color:#F8F8F2">    &lt;</span><span style="color:#fa4f8d">a</span><span style="color:#A6E22E"> href</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"/{{ link }}/{{ prev }}"</span><span style="color:#F8F8F2">&gt;prev&lt;/</span><span style="color:#fa4f8d">a</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">    {% else %}</span></span>
<span class="line"><span style="color:#F8F8F2">        </span></span>
<span class="line"><span style="color:#F8F8F2">    {% endif %}</span></span>
<span class="line"><span style="color:#F8F8F2">        </span></span>
<span class="line"><span style="color:#F8F8F2">    {% if next %}</span></span>
<span class="line"><span style="color:#F8F8F2">    &lt;</span><span style="color:#fa4f8d">a</span><span style="color:#A6E22E"> href</span><span style="color:#F8F8F2">=</span><span style="color:#E6DB74">"/{{ link }}/{{ next }}"</span><span style="color:#F8F8F2">&gt;next&lt;/</span><span style="color:#fa4f8d">a</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">    {% else %}</span></span>
<span class="line"><span style="color:#F8F8F2">        </span></span>
<span class="line"><span style="color:#F8F8F2">    {% endif %}</span></span>
<span class="line"><span style="color:#F8F8F2">    &lt;/</span><span style="color:#fa4f8d">div</span><span style="color:#F8F8F2">&gt;</span></span>
<span class="line"><span style="color:#F8F8F2">    {% include 'bottom.html' %}</span></span>
<span class="line"><span style="color:#F8F8F2">    {% endverbatim %}</span></span></code></pre>
<p>That's all for now. A working example is the <a href="https://gpowered.net/g/">gPowered.net</a> site I'm putting up.  All posts on there are getting pulled from this blog.  I'm going to get into tags and comments next time, as well as javascript and php versions. Stay tuned!</p>
]]></content:encoded></item>
<item><title>A begining</title><description>I've been meaning to start this project for a while now so here it goes... Part of my daily routine is reading a couple of comics including Calvin and
Hobbes,
Dilbert,
Foxtrot,
Garfield, xkcd,
vgcats, and The Watering
Hole. Following the quick comic
catch up I'll look through some various project blogs including
Ampache, django,
YUI, and
facebook. But the highlight of my reading
has always been what Google is up to. On this front my favorite blogs have
been Google Operating System,
Googlefied, and Google…</description><link>https://timbroder.com/2007/07/begining/</link><guid isPermaLink="false">https://timbroder.com/2007/07/begining</guid><pubDate>Sun, 15 Jul 2007 18:33:00 GMT</pubDate><content:encoded><![CDATA[<p>I've been meaning to start this project for a while now so here it goes...</p>
<p>Part of my daily routine is reading a couple of comics including <a href="http://www.gocomics.com/calvinandhobbes/">Calvin and
Hobbes</a>,
<a href="http://www.dilbert.com/comics/dilbert/archive/">Dilbert</a>,
<a href="http://www.gocomics.com/foxtrotclassics/">Foxtrot</a>,
<a href="http://www.gocomics.com/garfield/">Garfield</a>, <a href="http://xkcd.com/">xkcd</a>,
<a href="http://www.vgcats.com/comics/">vgcats</a>, and <a href="http://www.oreillynet.com/wateringhole/blog/">The Watering
Hole</a>. Following the quick comic
catch up I'll look through some various project blogs including
<a href="http://www.ampache.org/">Ampache</a>, <a href="http://www.djangoproject.com/">django</a>,
<a href="http://developer.yahoo.com/yui/">YUI</a>, and
<a href="http://developers.facebook.com/">facebook</a>. But the highlight of my reading
has always been what Google is up to. On this front my favorite blogs have
been <a href="http://googlesystem.blogspot.com/">Google Operating System</a>,
<a href="http://googlified.com/">Googlefied</a>, and <a href="http://blogoscoped.com/">Google
Blogoscoped</a>. They keep me up to date on what Google
is doing technically and in the business world. When new api's come out I try
to take a look at their documentation and see what they can do. I'll also scan
over Google's official blogs to see if I've missed anything for the day.</p>
<p>So I guess now I have to get to the point of this project. With a little
inspiration from <a href="http://www.cangooglehearme.com">CanGoogleHearMe?</a> I envision
a website, starting out as a personal homepage, that is entirely powered by
Google; All the data stored somehow in a Google service. I'm going to
chronicle my journey of creating news, updates, photos, links, a profile, and
anything else you would want to see in a personal page, all Google powered.
Then later I also want to extend the tutorials to integrating Google with the
Facebook platform. The languages I hope to cover are python, JavaScript, and
PHP. I would also like to touch on Java if I can.</p>
<p>I also will post some updates from Google themselves, but seeing that there
are already popular sites that do that, those updates won't be the focal point
of this blog. Without further adieu, let the tutorials commence!</p>
<p>Edit: <a href="https://gpowered.net">Domain is live!</a></p>
]]></content:encoded></item>
</channel>
</rss>