Sign in

very simple circular progress bar and donate button

So you’ve signed up for the You Need a Budget app. You’re trying to be responsible and save up for your goals. The problem is saving takes months and you’d much rather receive donations.

Here’s your warning: your security is your problem and this little tutorial doesn’t cover that. The code written here will expose your private YNAB information to the outside world. Enjoy!

I like to start with the visual stuff first. It gives me an early sense of achievement.

pixel drawing in GIMP

Let’s get our free software set up for…

Bo Burnham doesn’t have a milligram of optimism for you.

I just finished the “comedian’s” new special “Inside" and am not wasting a moment to process it. As usual for his shows, the theme is less thesis and more mood. He bounces between ideas, but doesn’t do much to connect them. He admits as much at the beginning.

One chapter that will get a lot of traction on the Internet is “How the World Works" featuring Socko, a woke anticapitalist sock. Don’t worry — Socko is made compliant by the end of the segment. …

Finite state machine indicating the probability of a region transitioning into another

The goal here is to quickly assemble a Markov chain-based generator for geography. I’ll be using the finite state machine pictured above.

First, notice how each geographical feature (state) has three exit arrows with an associated decimal. Those add up to 1, because they represent a percent probability of entering the next state. Ocean has a 10% chance of becoming Beach, which has a 0% chance of becoming Cliff (don’t expect geographical realism here). Ocean has a 90% chance of becoming Ocean again.

I might use this later to build a game map. I’d start with a hexagonal Cliff tile…

dumpster diver with head in the trash and legs in the air

There was a time in my life that all of my meals had at least one component that came from a dumpster. It wasn’t even a question for me. I was hungry, I didn’t have money for food, and there was a lot of it freely available in the trash. As it turned out, there were a lot of things in the trash that were perfectly usable. There were a lot of forces policing this so-called garbage and who was allowed to handle it. …

straightforward contact form that doesn’t use <table>

I used Bootstrap to take care of most of the CSS, but the idea is to use divs to group related elements instead of tables.

<legend>Contact Information</legend>
<div class=”row”>
<div class=”col-md-6">
<label for=”fname”>First Name</label>
<input name=”fname” type=”text” id=”fname” class=”col-md-12">
<div class=”col-md-6">
<label for=”lname”>Last Name</label><br/>
<input name=”lname” type=”text” id=”lname” class=”col-md-12">
<div class=”row”>
<div class=”col-md-12">
<label for=”mname”>Middle Name</label>
<input name=”mname” type=”text” id=”mname” class=”col-md-12">…

Ben P

Web developer looking to make a quick buck.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store