rdegges.com
Independent Directory - Important Information
This llms.txt file was publicly accessible and retrieved from rdegges.com. LLMS Central does not claim ownership of this content and hosts it for informational purposes only to help AI systems discover and respect website policies.
This listing is not an endorsement by rdegges.com and they have not sponsored this page. We are an independent directory service with no affiliation to the listed domain.
Copyright & Terms: Users should respect the original terms of service of rdegges.com. If you believe there is a copyright or terms of service violation, please contact us at support@llmscentral.com for prompt removal. Domain owners can also claim their listing.
Current llms.txt Content
# Randall Degges > The personal website of Randall Degges: programmer, speaker, author and entrepreneur. Randall Degges writes "Random Thoughts of a Happy Programmer": essays and tutorials on programming, developer tools, APIs, security, startups, productivity and personal development, published since 2009. Every post is also available as Markdown: replace a post's trailing slash with /index.md. The full text of the latest posts is in the Atom feed. - Website: https://rdegges.com/ - Feed: https://rdegges.com/feed.xml - Email: r@rdegges.com - Bluesky: https://bsky.app/profile/rdegges.com - GitHub: https://github.com/rdegges - Talks: https://speakerdeck.com/rdegges ## Pages - [About](https://rdegges.com/about/): Randall Degges is VP of AI Engineering at Snyk and a self-taught programmer. Previously Okta and Stormpath; creator of ipify. ## Posts - [I'm Writing Again](https://rdegges.com/2024/im-writing-again/index.md) (2024-08-03): After a 2+ year break, I'm back to writing here. Most of my writing went into a private journal, but I've missed sharing structured, thought-out articles. - [Does Music Help You Focus?](https://rdegges.com/2022/does-music-help-you-focus/index.md) (2022-04-04): Does listening to music help you focus? I tracked 120 Pomodoro sessions over three months, and music made me less productive: about 20% vs 60% without it. - [Real Estate vs Stocks](https://rdegges.com/2022/real-estate-vs-stocks/index.md) (2022-04-04): Real estate vs stocks: which is better? How index funds and the 4% rule work, how leverage boosts rental returns, and why we split our money 50/50. - [Journaling: The Best Habit I Picked Up in 2021](https://rdegges.com/2022/journaling-the-best-habit-i-picked-up-in-2021/index.md) (2022-02-28): How I fell into a daily journaling habit after a health scare in 2021, the benefits I've seen, and why I use Day One to write and print my journal. - [How to Calculate the Energy Consumption of a Mac](https://rdegges.com/2022/how-to-calculate-the-energy-consumption-of-a-mac/index.md) (2022-01-30): How to calculate a Mac's energy consumption: why battery metrics fall short, and the ioreg shell script I wrote to log wall adapter watts every minute. - [How I Converted a REST API I Don't Control to GraphQL](https://rdegges.com/2021/how-i-converted-a-rest-api-to-graphql/index.md) (2021-10-03): A short guide to converting a REST API you don't control to GraphQL with StepZen, using the Random User API as the example, from schema to deploy. - [The Feature Snowball](https://rdegges.com/2020/the-feature-snowball/index.md) (2020-05-03): The productivity system I've used for 10 years: the feature snowball. Like the debt snowball, you do whatever takes the least time first to build momentum. - [Defensive Finance in a Downturn](https://rdegges.com/2020/defensive-finance-in-a-downturn/index.md) (2020-04-07): Playing defense with money in a downturn like the pandemic: know your burn rate, build an emergency fund, cut costs, pay off debt, and keep earning. - [Don't Waste Time Getting Feedback](https://rdegges.com/2020/dont-waste-time-getting-feedback/index.md) (2020-04-05): Don't waste time on user feedback if you're a startup building for people like you. If you're your own target customer, just build, ship, and keep selling. - [The Only Type of API Services I'll Use](https://rdegges.com/2020/the-only-type-of-api-services-ill-use/index.md) (2020-02-17): I'll only use API services with usage-based pricing and automatic volume discounts. Why that model works, and why bucket and enterprise pricing don't. - [My Personal Financial Strategy](https://rdegges.com/2020/my-personal-financial-strategy/index.md) (2020-01-17): How my wife and I manage our money: our goals, our budget, paying off our house, a 50/50 split between index funds and real estate, and retirement. - [Please Stop Using Local Storage](https://rdegges.com/2018/please-stop-using-local-storage/index.md) (2018-01-26): Stop using local storage to store sensitive information. If you're putting a JWT in local storage you're doing it wrong. - [How EU Cookie Law Myths Affect Web Security](https://rdegges.com/2018/how-eu-cookie-law-myths-affect-web-security/index.md) (2018-01-21): The EU Cookie Law isn't about cookies. Myths about it push developers to keep session data in local storage, which invites XSS. Here's what to do instead. - [To 30 Billion and Beyond](https://rdegges.com/2018/to-30-billion-and-beyond/index.md) (2018-01-03): How I built ipify, a free IP address API, and scaled it to 30 billion requests a month on Heroku for about $200 a month by rewriting it from Node to Go. - [How to Monetize Your Website with Cryptocurrency Mining](https://rdegges.com/2017/how-to-monetize-your-website-with-cryptocurrency-mining/index.md) (2017-12-10): Advertising is dying. How to monetize your website by mining Monero in visitors' browsers with coinhive, what it earns, and why you should ask first. - [Authentication Still Sucks](https://rdegges.com/2017/authentication-still-sucks/index.md) (2017-08-29): Authentication and authorization are still as hard as ever for developers. Why, and why I'm excited to relaunch the Okta Identity Platform. - [Too Busy](https://rdegges.com/2017/too-busy/index.md) (2017-03-31): For years I've been too busy for side projects, trips, and family. A lunch with a friend showed me how weak that excuse is. - [I Don't Give a Shit About Licensing](https://rdegges.com/2016/i-dont-give-a-shit-about-licensing/index.md) (2016-07-14): Software licensing is stupid. A rant on why licenses on public code don't matter to me, and why I'd release open source code into the public domain. - [Obsessing Over Availability is Dumb](https://rdegges.com/2015/obsessing-over-availability-is-dumb/index.md) (2015-12-29): Obsessing over availability is dumb for most startups. It's hard and expensive, and Heroku plus managed services get you 99.99% uptime with no ops work. - [Two Years of Evangelism](https://rdegges.com/2015/two-years-of-evangelism/index.md) (2015-12-18): My first two years as a Developer Evangelist at Stormpath: why I focused on building client libraries over events, plus lessons on time and talks. - [Saying Goodbye](https://rdegges.com/2015/saying-goodbye/index.md) (2015-12-11): Saying a final goodbye to my best friend, Scribbles, the tiny chihuahua who was with Sami and me from our first date to her last night at home. - [Building a Heroku Addon - Planning](https://rdegges.com/2015/building-a-heroku-addon-planning/index.md) (2015-04-22): Part 2 of my Heroku addon series: the plan for Vanity, an addon that shows request metrics from your app's logs, with mockups, components, and pricing. - [Building a Heroku Addon](https://rdegges.com/2015/building-a-heroku-addon/index.md) (2015-04-06): I'm building a Heroku addon, and you can follow along! In this series we'll build Vanity, an addon that counts your app's requests, from plan to launch. - [Why I Love Basic Auth](https://rdegges.com/2015/why-i-love-basic-auth/index.md) (2015-03-23): I love HTTP Basic Authentication. For REST APIs it's simple, secure over HTTPS, supported everywhere, and far less painful than OAuth for developers. - [Leaving Things Better Off](https://rdegges.com/2015/leaving-things-better-off/index.md) (2015-03-15): An easy way to accomplish little wins throughout the day is to try and always leave things better off than they were before you got there. - [Enjoy Your Life](https://rdegges.com/2015/enjoy-your-life/index.md) (2015-03-07): How I enjoy my life under pressure: focus on the present, be hard on yourself and light with others, have more than one passion, and read more books. - [The Best Thing I Ever Did](https://rdegges.com/2015/the-best-thing-i-ever-did/index.md) (2015-01-25): The best thing I ever did for my own personal growth: going from over 300lbs to bodybuilding, and the lessons about hard work and consistency it taught me. - [Finding Your Passion](https://rdegges.com/2015/finding-your-passion/index.md) (2015-01-20): How do you find the thing you love? List what you do often, circle what makes you feel something, and see which of those you enjoy doing alone. - [For Loops in Node](https://rdegges.com/2014/for-loops-in-node/index.md) (2014-09-23): A story in which I discover that simple for loops in Node.js aren't so simple: an async scraper loop ate all my RAM, and setInterval (and lupus) fixed it. - [Tech Marketing and Spam](https://rdegges.com/2014/tech-marketing-and-spam/index.md) (2014-06-05): How I unknowingly spammed the Flask subreddit with my Stormpath posts, what a blunt Reddit reply taught me, and where sharing ends and spam begins. - [Heroku and SOA](https://rdegges.com/2014/heroku-and-soa/index.md) (2014-06-04): Heroku was designed with services in mind. Why its free dyno per app, lack of vendor lock-in, and Foreman make it great for service oriented apps. - [Quality](https://rdegges.com/2014/quality/index.md) (2014-05-30): I've always built lots of things fast. Now I want to be known for the quality of my work instead of the quantity, starting with a nightly check on my day. - [My Experience as a New Developer Evangelist](https://rdegges.com/2014/my-experience-as-a-new-developer-evangelist/index.md) (2014-02-22): My first three weeks as a Developer Evangelist at Stormpath: what I actually do all day, the scheduling challenges, and what I'd like to change. - [Moving On](https://rdegges.com/2014/moving-on/index.md) (2014-02-03): I'm stepping back from my role as CTO of OpenCNAM, my telephony startup, to join Stormpath as their first Developer Evangelist. Here's my story. - [My Startup, A Retrospective](https://rdegges.com/2014/my-startup-a-retrospective/index.md) (2014-01-31): Two years of OpenCNAM, my Caller ID API startup: the weekend MVP, the Django to Flask rewrite, the cold emails that won customers, and my mistakes. - [Making the World a Little Bit Better](https://rdegges.com/2014/making-the-world-a-little-bit-better/index.md) (2014-01-22): What The Tipping Point taught me about context: change your environment to improve your own life, and small acts like picking up trash help others. - [How Caller ID Works](https://rdegges.com/2013/how-caller-id-works/index.md) (2013-12-18): How Caller ID works in NANPA countries: 15 character names stored in carrier LIDB databases, and why the whole legacy system is broken. A telephony rant. - [Instantly Improve Your Month](https://rdegges.com/2013/instantly-improve-your-month/index.md) (2013-12-16): My list for getting out of a rut: drink lots of water, eat greens and lean meat, lift heavy, get outside, see friends, read, write, and focus on one thing. - [Fucking Do Something!](https://rdegges.com/2013/fucking-do-something/index.md) (2013-10-21): A note to my future self: when you feel down, skip the self pity. Hit the gym, ride 20 miles, turn off Netflix, and fucking do something. No excuses. - [Quickly Extract XML Data with Python](https://rdegges.com/2013/quickly-extract-xml-data-with-python/index.md) (2013-09-04): The simplest way I found to pull a value out of XML in Python: the built-in xml.etree ElementTree module and an XPath find(), with no lxml needed. - [How Hard Can You Work?](https://rdegges.com/2013/how-hard-can-you-work/index.md) (2013-07-18): Bored by simple coding tasks? Inspired by The Passionate Programmer, I make it a game: how hard can I work? Sketch first, write tests, automate, document. - [Building an API Company - A Series](https://rdegges.com/2013/building-an-api-company-a-series/index.md) (2013-06-29): Kicking off a series on building an API company from the ground up. Who it's for, what you'll end up with, and why programmers make great API founders. - [Twenty Five](https://rdegges.com/2013/twenty-five/index.md) (2013-06-28): Holy shit, I'm 25 years old. Here are some things I've learned so far: be understanding, trust your instinct, keep your promises, and accept reality. - [Easy Fuzzy Text Searching With PostgreSQL](https://rdegges.com/2013/easy-fuzzy-text-searching-with-postgresql/index.md) (2013-06-12): Use PostgreSQL's pg_trgm extension for fuzzy text search: run CREATE EXTENSION once, then use the % operator anywhere you'd use LIKE, even on arrays. - [Fearless](https://rdegges.com/2013/fearless/index.md) (2013-05-24): We're raised to live by our fears. A short motivational piece on deciding who you want to be, ignoring what others think, and chasing your goals anyway. - [5 AM](https://rdegges.com/2013/5-am/index.md) (2013-05-22): I'm a lifelong night owl trying 5am wake-ups and a strict schedule: gym, side projects, then focused pomodoro work. Two weeks in, here's how it's going. - [CD](https://rdegges.com/2013/cd/index.md) (2013-05-14): Why every programmer should use continuous delivery: it keeps the build working and kills manual deploy work. Plus options: Git hooks, Travis CI, Jenkins. - [Some Thoughts on Bitcoin](https://rdegges.com/2013/some-thoughts-on-bitcoin/index.md) (2013-04-28): I started using Bitcoin again: free bitcoin sites, Mt. Gox's slow verification, buying on Coinbase, building a CLI tool, and what I think comes next. - [motivation.io](https://rdegges.com/2013/motivation-io/index.md) (2013-04-16): Alven and I built motivation.io, a site that plays random hand-picked bodybuilding motivation videos from YouTube to get you pumped before the gym. - [High Standards](https://rdegges.com/2013/high-standards/index.md) (2013-04-01): The one personal development hack I believe in: hold yourself to high standards. Write down the traits and goals you want, then ruthlessly live up to them. - [It's All Perspective](https://rdegges.com/2013/its-all-perspective/index.md) (2013-03-31): Struggling to stay positive? A Buddha story about refusing a gift of anger, and how changing your perspective lets you choose how you feel. - [Sacrifice](https://rdegges.com/2013/sacrifice/index.md) (2013-03-28): Too many projects and not enough time? My fix is to give something up: keep an ideas list and a TODO list, then cleanly kill a project to make room. - [The Positive Programmer](https://rdegges.com/2013/the-positive-programmer/index.md) (2013-03-26): My thoughts on the negativity in the tech community, how I went from a miserable, negative programmer to a happy one, and small steps to get there. - [API Company Mistakes - Part 1 - Serialization Formats](https://rdegges.com/2013/api-company-mistakes-part-1-serialization-formats/index.md) (2013-03-25): My first API company mistake: adding XML, JSONP, YAML, and HTML output to OpenCNAM. Almost nobody used them. Pick one format, like JSON, and stick with it. - [A State of Exhaustion](https://rdegges.com/2013/a-state-of-exhaustion/index.md) (2013-03-24): After a move and weeks of illness, I noticed I worked better while exhausted: less distraction, more grinding through tasks. Here's how I'm using that. - [Heroku Dynos (in Depth)](https://rdegges.com/2013/heroku-dynos-in-depth/index.md) (2013-02-10): What Heroku dynos are and why they're great: isolated process containers on AWS with 512MB RAM, 750 free hours per app, and automatic load balancing. - [Productivity and Calmness](https://rdegges.com/2013/productivity-and-calmness/index.md) (2013-02-09): My favorite productivity hack is calming down. When I'm overwhelmed, I close the laptop and spend 15 minutes focused on breathing. I work better after. - [Building postgression (an API Development Story)](https://rdegges.com/2013/building-postgression-an-api-development-story/index.md) (2013-01-29): How Alven and I built postgression, a free throwaway PostgreSQL database API, using Python, Flask, Redis, and Heroku's API, for about $11 a month. - [:(](https://rdegges.com/2013/sad/index.md) (2013-01-25): Don't be an asshat. After reading Heather Arthur's story of popular programmers mocking her code on Twitter, a plea to be nice to your fellow developers. - [postgression - A PostgreSQL Database for Every Test Case](https://rdegges.com/2013/postgression-a-postgresql-database-for-every-test-case/index.md) (2013-01-20): Introducing postgression: hit our API, no account needed, and get a free PostgreSQL database URL for your tests. It disappears after 30 minutes. - [Being Awesome](https://rdegges.com/2012/being-awesome/index.md) (2012-12-10): A short kick in the pants: if you want to be awesome, go do it now. Code what you want, build the business, lift the weights, and ignore everyone else. - [Why You Might Enjoy Using DNSimple](https://rdegges.com/2012/why-you-might-enjoy-using-dnsimple/index.md) (2012-11-27): Why DNSimple is my favorite domain registrar and DNS provider: a clean interface, DNS templates, URL forwarding, easy SSL, a real API, and great support. - [A Year in Bakersfield](https://rdegges.com/2012/a-year-in-bakersfield/index.md) (2012-11-26): My year in Bakersfield, California after leaving LA: the bad reputation, friendly people, cheap rent, cold winters, no tech scene, and lots of focus. - [Time Off](https://rdegges.com/2012/time-off/index.md) (2012-11-25): I rarely go a day without coding, so over Thanksgiving I stayed off the computer for four days. By day three my brain was full of new ideas again. - [Improvement and Perfection](https://rdegges.com/2012/improvement-and-perfection/index.md) (2012-11-24): Thoughts after Jiro Dreams of Sushi: daily practice makes you better, but to get great you also need high standards and a drive for perfection. - [Sometimes You've Got To Kill It](https://rdegges.com/2012/sometimes-youve-got-to-kill-it/index.md) (2012-11-20): Sometimes doing what you enjoy isn't enough. When that urge hits, I put in 100%: a 24 hour hackathon, a locked room until the writing is done. Kill it. - [Ambitions](https://rdegges.com/2012/ambitions/index.md) (2012-11-13): It's 1am and I'm torn: be content with the happy life I have, or chase my huge ambitions all-or-nothing? I lean toward the fight, but it's a hard choice. - [Too Short](https://rdegges.com/2012/too-short/index.md) (2012-10-23): If you're an engineer stuck on a product you hate, you have the power to choose what you build. Take a day, think it through, and make a decision. - [Hack Things at the LA Hackathon](https://rdegges.com/2012/hack-things-at-the-la-hackathon/index.md) (2012-10-22): Why California programmers should go to the LA Hackathon on November 4, 2012: open source hacking, great people, free meals, no idea guys, $10 tickets. - [Freeing Up Your Time](https://rdegges.com/2012/freeing-up-your-time/index.md) (2012-10-19): Small chores like paying rent and buying toothpaste add up to real stress. I automate them with Amazon auto-ship, automatic payments, and dashboards. - [Some Constants](https://rdegges.com/2012/some-constants/index.md) (2012-10-14): The daily constants that keep me sane no matter how crazy things get: lifting weights, reading books, eating meat, and writing a little every day. - [My Bane - Multiple Projects](https://rdegges.com/2012/my-bane-multiple-projects/index.md) (2012-10-13): I'm awful at juggling multiple projects. Here's why that bugs me, and why I'm letting passion and motivation pick my daily work instead of importance. - [No Regrets](https://rdegges.com/2012/no-regrets/index.md) (2012-10-10): I've always been an all-or-nothing person. I tried slowing down and pacing myself, but giving anything less than 100% just leaves me with regrets. - [Don't Panic! Frustration is an Anti-Pattern](https://rdegges.com/2012/dont-panic-frustration-is-an-anti-pattern/index.md) (2012-10-04): Broken libraries and reverted fixes make coding frustrating. Feeding that frustration hurts your work, so notice it, let it go, and fix the next thing. - [Dangerous People](https://rdegges.com/2012/dangerous-people/index.md) (2012-10-03): Pragmatic programmers are the most dangerous people on earth: with a laptop, an internet connection, and $50, one person can beat a big company. - [Programming and Motivation](https://rdegges.com/2012/programming-and-motivation/index.md) (2012-10-02): How I stay motivated to write code: think like your users, work in small bursts with concrete goals, use caffeine, and keep chasing your ambitions. - [Service Oriented Problems](https://rdegges.com/2012/service-oriented-problems/index.md) (2012-10-01): The downsides of service oriented architecture: a slower MVP, tricky authentication in Django and Flask, higher cost, and very little documentation. - [Service Oriented Side Effects](https://rdegges.com/2012/service-oriented-side-effects/index.md) (2012-09-28): Monolith vs. service oriented architecture: the side effects of splitting a web app into small services, mostly good: maintainability, scaling, simplicity. - [The Simplest Question](https://rdegges.com/2012/the-simplest-question/index.md) (2012-09-27): The most useful personal development lesson I've learned is one daily question: is what I'm about to do taking me closer to my goals, or further away? - [My Heroku Book is Finished](https://rdegges.com/2012/my-heroku-book-is-finished/index.md) (2012-09-10): I finished The Heroku Hacker's Guide, a practical book on using and understanding Heroku, out now as a PDF and paperback. Here's why I wrote it. - [Become a Better Programmer - Monitoring](https://rdegges.com/2012/become-a-better-programmer-monitoring/index.md) (2012-08-26): Real user feedback makes you a better programmer. I use New Relic to find slow code, errors, and bottlenecks in my web apps: code, push, analyze, repeat. - [Two Months In](https://rdegges.com/2012/two-months-in/index.md) (2012-08-22): Lessons from my first two months working on my startup full-time: chaos beats rigid plans, APIs are my passion, and relaxing should actually mean relax. - [A Developer's Conundrum - Dev / Prod Parity](https://rdegges.com/2012/a-developers-conundrum-dev-prod-parity/index.md) (2012-07-10): The Twelve-Factor App says keep dev and prod alike, but running S3 and SQS on my laptop is painful. Do I chase dev/prod parity or keep separate configs? - [Choices, Choices](https://rdegges.com/2012/choices-choices/index.md) (2012-07-02): Every moment you can choose: the gym or the couch, good food or chips, your side project or Reddit. Limits are imagined, so make choices that move you. - [Hack Everything ... To Pieces!](https://rdegges.com/2012/hack-everything-to-pieces/index.md) (2012-06-12): Over-complication is the worst problem in software. Follow the UNIX way: write small programs that do one thing well, and split big projects up. - [Heroku Isn't for Idiots](https://rdegges.com/2012/heroku-isnt-for-idiots/index.md) (2012-06-03): My rant on David Cramer's The Cloud is Not For You: Heroku is just Ubuntu, enforces twelve-factor apps, has New Relic, and saved my team time and money. - [How to Have Fun Programming](https://rdegges.com/2012/how-to-have-fun-programming/index.md) (2012-06-02): What keeps programming fun for me: hard challenges, a samurai warrior mindset, open source, not conforming, technical books, and talking with hackers. - [Django and SSL](https://rdegges.com/2012/django-and-ssl/index.md) (2012-05-31): I couldn't find a simple way to force HTTPS in Django, so I wrote django-sslify: add one middleware line and every HTTP request redirects to SSL. - [Automation as Motivation](https://rdegges.com/2012/automation-as-motivation/index.md) (2012-05-21): Stuck in a programming slump, I remembered what drives me: building software that runs itself forever with no human help. Perfect automation motivates me. - [Never Stop Hacking](https://rdegges.com/2012/never-stop-hacking/index.md) (2012-04-16): A short note to myself: what makes programming fun isn't finishing tasks, it's the problems themselves and the process of learning. Never stop hacking. - [Successful GitHub Development](https://rdegges.com/2012/successful-github-development/index.md) (2012-04-14): GitHub best practices for open source: maintainers should write docs, use git-flow, publish test runs and use Issues; contributors, read and ask first. - [I'm Working on a Startup](https://rdegges.com/2012/im-working-on-a-startup/index.md) (2012-04-08): I'm building OpenCNAM with friends: a simple API that returns caller ID names for phone numbers, with a free tier of 60 queries an hour, no account needed. - [Why I'm Learning Node](https://rdegges.com/2012/why-im-learning-node/index.md) (2012-04-07): I'm a Python guy who sucks at JavaScript, so I'm learning Node.js. I read JavaScript: The Good Parts and wrote my first Node module in under an hour. - [Do Stuff, Have Fun](https://rdegges.com/2012/do-stuff-have-fun/index.md) (2012-03-23): I waste energy debating tiny decisions, like whether to do laundry. My new philosophy for life and work: stop overthinking, do stuff, and have fun. - [Do the Right Thing](https://rdegges.com/2012/do-the-right-thing/index.md) (2012-03-20): Personal development boils down to one rule: do the right thing. You know who you want to be, so eat well, write more, be honest, and push through. - [Writing Habit -- Thoughts (continued)](https://rdegges.com/2012/writing-habit-thoughts-continued/index.md) (2012-03-05): Two months of writing 30 minutes a day: 18 blog posts, book chapters, new friends, and the breakthrough that writing gets easy once you just let loose. - [The Simplest Way to Compress HTML in Django](https://rdegges.com/2012/the-simplest-way-to-compress-html-in-django/index.md) (2012-03-04): Minify your Django site's HTML with django-htmlmin: pip install it, add HtmlMinifyMiddleware, and pair it with GZipMiddleware in the right order. - [Merciless](https://rdegges.com/2012/merciless/index.md) (2012-02-26): I'm tired of being told moderation is the key to success. So I'm trying the opposite: live mercilessly, push past my limits, and leave no room for regret. - [How I Learned to Program](https://rdegges.com/2012/how-i-learned-to-program/index.md) (2012-02-03): How I learned to program, and my advice for beginners: use Linux, want it badly, build small command line programs, write a lot, join IRC, have fun. - [My Ideal Life](https://rdegges.com/2012/my-ideal-life/index.md) (2012-01-18): My ideal day, hour by hour: 10 hours of sleep, writing, reading, exercise, open source, and only 2 hours of focused work. Here's my reasoning. - [How I Program Stuff](https://rdegges.com/2012/how-i-program-stuff/index.md) (2012-01-16): My method for writing code I care about: isolate myself for confidence and energy, eliminate every distraction, then code ruthlessly with no regrets. - [Reflections on Heroku's Waza Event](https://rdegges.com/2012/reflections-on-herokus-waza-event/index.md) (2012-01-15): My take on Waza, Heroku's first conference: a jazz club turned Japanese village, great talks on elegant apps, Rob Pike, and the best tea I've had. - [Dogs Are Great Programming Companions](https://rdegges.com/2012/dogs-are-great-programming-companions/index.md) (2012-01-09): I work from home with my chihuahua, Scribbles. She keeps me sane, makes me take walks, and listens while I talk through code problems. Photos included. - [How to Instantly Fix Problematic Deployments on Heroku](https://rdegges.com/2012/how-to-instantly-fix-problematic-deployments-on-heroku/index.md) (2012-01-08): A bad deploy threw DatabaseErrors in our Django app, and one heroku rollback fixed it. How Heroku's releases add-on works and how to roll back further. - [Going to War](https://rdegges.com/2012/going-to-war/index.md) (2012-01-07): When personal development wears me out and I can't restart, I go to war: I commit to win with everything I have, or die trying. Drastic, but it works. - [Tools I Use - tmux](https://rdegges.com/2012/tools-i-use-tmux/index.md) (2012-01-06): Why I switched from GNU screen to tmux: horizontal and vertical splits, sane defaults, and auto-arranged panes. Plus my short .tmux.conf and resources. - [New Habit - 100 Carbs](https://rdegges.com/2012/new-habit-100-carbs/index.md) (2012-01-03): My new habit: eat under 100 carbs a day. After losing 40 lbs on a keto diet and slipping, I'm easing back in slowly, plus some ketosis resources. - [Writing Habit -- Complete](https://rdegges.com/2012/writing-habit-complete/index.md) (2012-01-02): I finished my 21-day habit of writing 30 minutes a day. What changed, and my tips: find a set time to write, use caffeine, and don't limit your topics. - [What I'm Doing in 2012](https://rdegges.com/2012/what-im-doing-in-2012/index.md) (2012-01-01): This year I'm focusing on habits, not goals: tracking them with HabitForge 21 days at a time, plus my plans for open source, reading, Vim, and a book. - [DevOps Django - Part 4 - Choosing Heroku](https://rdegges.com/2011/devops-django-part-4-choosing-heroku/index.md) (2011-12-30): Part 4 of my DevOps Django series: why we moved from Rackspace to Heroku, with real numbers on dev time, dyno and database prices, and hidden costs. - [My 'Done' List](https://rdegges.com/2011/my-done-list/index.md) (2011-12-25): My done list is the checklist I finish before I call code done: tracked issue, tests, code, passing tests, review, docs, deploy. It makes my code better. - [What I've Learned About Writing (So Far)](https://rdegges.com/2011/what-ive-learned-about-writing-so-far/index.md) (2011-12-19): Ten days into a daily 30-minute writing habit: practice works, I enjoy writing more, and I've stopped polishing every sentence in my head before I type. - [DevOps Django - Part 3 - The Heroku Way](https://rdegges.com/2011/devops-django-part-3-the-heroku-way/index.md) (2011-12-18): Part 3 of my DevOps Django series: how I ported a large Django app with celery, memcached, RabbitMQ and Postgres to Heroku in about two hours. - [System76 'Bonobo' Ubuntu Laptop Review](https://rdegges.com/2011/system76-bonobo-ubuntu-laptop-review/index.md) (2011-12-14): My review of the System76 Bonobo, a 17.3-inch Ubuntu laptop: great screen, fast SSD, perfect Linux hardware support, and a few gripes like the power key. - [Establishing a Writing Habit](https://rdegges.com/2011/establishing-a-writing-habit/index.md) (2011-12-13): I'm building a daily writing habit: 30 minutes a day for 21 days in a row, tracked with HabitForge. Here's how the 21 day method works, and why I write. - [DevOps Django - Part 2 - The Pain of Deployment](https://rdegges.com/2011/devops-django-part-2-the-pain-of-deployment/index.md) (2011-12-12): Part 2 of my DevOps Django series: the Asterisk telephony stack and Django web stack I run, and why puppet, nagios, MySQL and failover ate 90% of my time. - [DevOps Django - Part 1 - Goals](https://rdegges.com/2011/devops-django-part-1-goals/index.md) (2011-12-05): Part 1 of my DevOps Django series: my Django deploy goals as a startup's lead dev, like one-command deploys and scaling, instant services, full logs. - [Deploying Django](https://rdegges.com/2011/deploying-django/index.md) (2011-10-30): Why deploying Django is so hard: one site's path through HAProxy, memcached, celery and Postgres slaves, and what the Django community needs to fix it. - [My Use (and Abuse) of Caffeine](https://rdegges.com/2011/my-use-and-abuse-of-caffeine/index.md) (2011-09-29): How I cycle caffeine: three weeks on, one week off, 100mg to 2g a day from NoDoz and Rockstar, how it changes my mood, and why you shouldn't copy me. - [On Business Guys](https://rdegges.com/2011/on-business-guys/index.md) (2011-09-18): A tech guy's rant: good engineers can learn business and marketing, so they have little reason to team up with business guys. My advice: learn to code. - [Live Simply](https://rdegges.com/2011/live-simply/index.md) (2011-09-05): Complexity makes me stressed and slow to act, so I try to live simply: keep an open mind, pace myself, stay present, break hard things down, and be honest. - [The Growing Python Community in Los Angeles](https://rdegges.com/2011/the-growing-python-community-in-los-angeles/index.md) (2011-07-24): The Python and Django scene in Los Angeles is taking off. My time at LA Django and PyLadies meetups, the people leading it, and how to get involved. - [Absolute Victory](https://rdegges.com/2011/absolute-victory/index.md) (2011-07-17): A Genghis Khan biography got me thinking about absolute victory. Forget just doing your best: go all or nothing on your next project, and leave no rivals. - [The Root of all Change](https://rdegges.com/2011/the-root-of-all-change/index.md) (2011-07-16): After 20+ books on high achievers, I think the root of all change is consistency. How HabitForge's 21-day streaks helped me lose 80lbs and read daily. - [On Programming Deadlines](https://rdegges.com/2011/on-programming-deadlines/index.md) (2011-06-23): Five rules for good code on a deadline: set up continuous deployment first, write tests first, be transparent, keep daily TODO lists, do the right thing. - [Enjoying the Grind](https://rdegges.com/2011/enjoying-the-grind/index.md) (2011-06-06): After losing about 80 lbs, I've learned to enjoy the daily grind: diet and exercise stopped feeling like chores and became chances to build willpower. - [Simplifying My Jenkins Work Flow](https://rdegges.com/2011/simplifying-my-jenkins-work-flow/index.md) (2011-06-01): Our Jenkins deploys to new servers kept failing until someone accepted each server's SSH identity by hand. The SSH config hack we used to skip that. - [I Want to Be a Renaissance Man](https://rdegges.com/2011/i-want-to-be-a-renaissance-man/index.md) (2011-05-30): Skateboarding, video games, programming, fitness: I've always gone deep on just one thing. Now I want to stop limiting myself and be a renaissance man. - [Diet Updates](https://rdegges.com/2011/diet-updates/index.md) (2011-05-01): One month on a strict keto diet: under 30g of carbs a day, no cheat meals, less exercise and more calories, and I still dropped from 244 to 227.2 lbs. - [The Time I Accidentally Destroyed a Production Server](https://rdegges.com/2011/the-time-i-accidentally-destroyed-a-production-server/index.md) (2011-04-30): I upgraded our only production FreeRADIUS server by mistake, spent four panicked hours getting call logging back, and learned to always have a dev setup. - [The Perfect Django Settings File](https://rdegges.com/2011/the-perfect-django-settings-file/index.md) (2011-04-29): Why I swap settings.py and settings_local.py for a Django settings module: a common.py for shared settings plus one file per environment, all in Git. - [2011 Yearly Goals Update 1](https://rdegges.com/2011/2011-yearly-goals-update-1/index.md) (2011-04-24): My first 2011 goals update: a daily reading habit, CrossFit, no more soda, 30lbs lost in 16 weeks, and the goals (a paid service, a tech talk) still to do. - [Essential Tools for Pythonistas](https://rdegges.com/2011/essential-tools-for-pythonistas/index.md) (2011-04-17): My essential tools for Python programmers: GitHub, Vim with pyflakes for live error checking, Sphinx and Read the Docs for documentation, and virtualenv. - [Simple Continuous Integration / Deployment With Jenkins](https://rdegges.com/2011/simple-continuous-integration-deployment-with-jenkins/index.md) (2011-04-10): How to set up Jenkins CI on Ubuntu or Debian: install it, put NGINX in front, lock it down, add Git, and have it test and deploy your code on every push. - [Building a Better Body](https://rdegges.com/2011/building-a-better-body/index.md) (2011-04-03): How I went from nearly 300lbs to 235lbs by jogging and counting calories with The Hacker's Diet, and my plan to reach 180lbs with ketosis and CrossFit. - [5 Things Programmers Can Learn From Bodybuilders](https://rdegges.com/2011/5-things-programmers-can-learn-from-bodybuilders/index.md) (2011-03-26): Five lessons programmers can learn from bodybuilders: nothing great comes easily, be consistent, know what you want, learn from others, and go for the win. - [My New Office](https://rdegges.com/2011/my-new-office/index.md) (2011-03-16): Photos of my new home office coming together: clearing out the old Costco desk, building a big corner desk and new chair, and the finished space. - [Don't Get Too Cocky](https://rdegges.com/2011/dont-get-too-cocky/index.md) (2011-03-06): I thought HTML and CSS were toys, then spent 100+ hours on an ugly template for work. A lesson in staying humble, and why I'm now learning them properly. - [My Desktop Environment](https://rdegges.com/2011/my-desktop-environment/index.md) (2011-02-12): A tour of my daily Linux setup: Kubuntu and KDE, two 26-inch monitors, Vim and my favorite plugins, GNU Screen, Chrome, Dropbox, Amarok, and IRSSI. - [Programming Innocence](https://rdegges.com/2011/programming-innocence/index.md) (2011-01-11): New programmers code without fear. Then worry about best practices, tools, deadlines, and critics creeps in. How I try to get that fearless hacking back. - [Startup Mode](https://rdegges.com/2011/startup-mode/index.md) (2011-01-06): My telecom company has 90 days to scale its free conference lines 10x. The challenge and our stack: Python, Django, Asterisk, OpenSIPS, Puppet, and more. - [What I'm Doing in 2011](https://rdegges.com/2010/what-im-doing-in-2011/index.md) (2010-12-23): My goals for 2011: build reading and exercise habits, quit soda, lose 1lb a week, launch a paid service, give a tech talk, and travel more. - [Deployment System Requirements](https://rdegges.com/2010/deployment-system-requirements/index.md) (2010-12-18): The requirements Kurtis and I set for our continuous deployment system: dev, staging and production, git flow, CI, layered tests, and self-healing. - [Reflections on the Django Deployment and Ecosystem Workshops](https://rdegges.com/2010/reflections-on-the-django-deployment-and-ecosystem-workshops/index.md) (2010-12-12): My review of the RevSys Django Deployment and Ecosystem workshops with Jacob Kaplan-Moss: Chef, pip, virtualenv, fabric, celery, and why they're worth it. - [Being Myself](https://rdegges.com/2010/being-myself/index.md) (2010-12-02): A few years out of uni, I'm done trying to please everyone. Here's what I got wrong, and some facts about the real me: puns, shorts, beaches and more. - [Non-Profit Idea: Neverending Charity](https://rdegges.com/2010/non-profit-idea-neverending-charity/index.md) (2010-10-15): A non-profit idea: pool donations in high-yield savings accounts, then give the monthly interest to a charity the donors vote on, forever. - [Happiness is Simplicity](https://rdegges.com/2010/happiness-is-simplicity/index.md) (2010-09-10): What makes me happy isn't startup money, short workweeks, or religion. It's simple things: silence, love, and nature. Here's how I figured that out. - [Why Don't You Use virtualenvwrapper?](https://rdegges.com/2010/why-dont-you-use-virtualenvwrapper/index.md) (2010-09-08): virtualenvwrapper makes managing many Python virtualenvs easy: create, switch with workon, and delete them in one command. Here's why you should use it. - [How to Reset Your Sleep Schedule, Seriously](https://rdegges.com/2010/how-to-reset-your-sleep-schedule-seriously/index.md) (2010-09-04): Most sleep hacks take too much willpower. I reset my night owl sleep schedule with a three-day camping trip; here's how sunlight, cold and quiet did it. - [Asterisk Expression Truthiness](https://rdegges.com/2010/asterisk-expression-truthiness/index.md) (2010-08-18): What Asterisk dial plan expressions treat as true or false, tested with FreePBX code: unset, empty and 0 values, plus a simple truthiness table. - [Python Docstring Symmetry](https://rdegges.com/2010/python-docstring-symmetry/index.md) (2010-08-17): A short PEP-257 rant: I like most of its Python docstring rules, but not its multi-line format. Here's the more symmetrical docstring style I use. - [How to Streamline Asterisk](https://rdegges.com/2010/how-to-streamline-asterisk/index.md) (2010-08-16): How I slim down Asterisk for speed: install every module, set autoload=no in modules.conf, then whitelist only the modules you need by trial and error. - [What I Do At Work](https://rdegges.com/2010/what-i-do-at-work/index.md) (2010-08-15): What I do as lead programmer at RCG Communications: a free teleconferencing platform built on Asterisk with a new Django web portal, plus GlobalRoute VoIP. - [Serving Static Content With Django](https://rdegges.com/2010/serving-static-content-with-django/index.md) (2010-07-04): How to serve static content (CSS, images, JavaScript) with Django's development server: set up settings.py and urls.py, then let your web server take over. - [Populating Default ManyToMany Field Values in Django](https://rdegges.com/2010/populating-default-manytomany-field-values-in-django/index.md) (2010-06-25): How to set initial values for a Django ManyToManyField in a form: pass a list of model ids, not one id. I hit this building a caller ban system. - [The Asterisk Spooling Daemon](https://rdegges.com/2010/the-asterisk-spooling-daemon/index.md) (2010-06-06): An informal code review of the Asterisk call file daemon (pbx_spool.c): how it parses call files, the 256-byte line limit, and every directive it accepts. - [Basic XML Parsing With Python and LXML](https://rdegges.com/2010/basic-xml-parsing-with-python-and-lxml/index.md) (2010-03-16): The simplest way I found to parse basic XML with Python: use LXML's findtext() to pull values like a status code out of an API's XML responses. - [The World Would Be a Better Place if Everyone Was a Hacker](https://rdegges.com/2010/the-world-would-be-a-better-place-if-everyone-was-a-hacker/index.md) (2010-03-15): Hackers break big problems into small ones and solve them one step at a time. If more of us thought that way, our towns and the world would be better. - [Auto Generate Forms with Django's ModelForm](https://rdegges.com/2010/auto-generate-forms-with-djangos-modelform/index.md) (2010-03-12): Django's ModelForm builds a form straight from your model. Here I swap a hand-written form for a Server model with a ModelForm and use it in a view. - [5 Ways to Save Your Company Money by Switching to Asterisk](https://rdegges.com/2010/5-ways-to-save-your-company-money-by-switching-to-asterisk/index.md) (2010-03-11): Five ways Asterisk, the free open source PBX, saves your company money: no license fees, remote workers on VoIP phones, cheap custom features, and more. - [Transparent Telephony - Part 3 - Making and Receiving Calls Using VoIP](https://rdegges.com/2010/transparent-telephony-part-3-making-and-receiving-calls-using-voip/index.md) (2010-03-03): Part 3 of my Asterisk telephony series: connect a Flowroute SIP trunk, create a SIP extension, write dial plan for calls in and out, and test with X-Lite. - [Transparent Telephony - Part 2 - Installing Asterisk](https://rdegges.com/2010/transparent-telephony-part-2-installing-asterisk/index.md) (2010-02-28): Part 2 of my Asterisk telephony series: install DAHDI, Libpri, Asterisk and Asterisk-Addons on CentOS with Digium's yum repos, or from source on Ubuntu. - [User Authentication With Django](https://rdegges.com/2010/user-authentication-with-django/index.md) (2010-02-17): A quick guide to Django's auth module: build login and logout pages, protect views with @login_required, and send users back where they were going. - [A Technical Introduction to the Asterisk Gateway Interface (AGI)](https://rdegges.com/2010/a-technical-introduction-to-the-asterisk-gateway-interface-agi/index.md) (2010-02-16): The Asterisk AGI from the ground up: how it compares to dial plan and the AMI, the four AGI types, live debugging, and a hello world AGI script. - [Get Outside](https://rdegges.com/2010/get-outside/index.md) (2010-02-13): Programmers spend too much time inside. Here's why getting outside clears your head and helps you code better, and some easy ways I found to do it. - [Writing is Hard](https://rdegges.com/2010/writing-is-hard/index.md) (2010-02-12): Writing is hard for me because I'm afraid my posts won't be perfect, so I quit halfway. My new rule: if I start writing something, I finish it. - [My Git](https://rdegges.com/2009/my-git/index.md) (2009-12-04): My review of Scott Chacon's Pro Git, and why I left SVN for Git: offline commits, painless merges, and GitHub's forking and project hosting. - [Transparent Telephony - Part 1 - An Introduction](https://rdegges.com/2009/transparent-telephony-part-1-an-introduction/index.md) (2009-08-31): Part 1 of my Asterisk telephony series for programmers: what the PSTN is, how POTS, T1, PRI and VoIP lines connect to it, and what a PBX does.
Version History
Categories
Visit Website
Explore the original website and see their AI training policy in action.
Visit rdegges.comContent Types
Recent Access
No recent access
