Category: Posts
-
How to download a file from GitHub
A quick tip – since it was not immediately obvious to me. If you need to download a file from GitHub (as opposed to cloning it etc), look for the “Raw” button – that’s a link to the file, then right click and do whatever your browser needs to download a web resource.
-
Project 4 Challenges
I’ve completed the Project 4 challenges (source) of the 100 Days of SwiftUI, no biggie – the increase in difficulty between each step of Paul’s bootcamp is small enough that it’s never too stressful, but large enough you feel like you’re progressing all the time. Since I’ve paid to be a member of Hacking with…
-
Machine Learning
A few years ago when I still used a Tom-Tom for car navigation, I was a little freaked out when it started offering suggestions on where to go to when I started the car – guessing, usually correctly, where I wanted to go. Like – how did it know I was leaving school for band…
-
Before SwiftUI
I’m on Day 26 of 100 Days, and didn’t grok the dates on my first read through, so I’ve read a couple of other explanations and sat down with a coffee and thought I’d see what YouTube had for me on the subject. I seen a few great iOS Academy videos, so this one seemed…
-
Rock, Paper Scissors (2)
When I was forced by a deadline into delivering this project, I noted in its post that there was a number of improvements to make: Here’s the progress The rock paper scissors could be some better data structure than an array and some ints Done. Made a sweet swifty enum. Read about it here. That…
-
Swift enums
I’ve started on the refactoring for Rock, paper, scissors. One of the things I didn’t like was using Ints to signal which shape (I’m calling the rock, or paper, or scissors hand shape a shape) was being handed around. The Int I was using was also the index into an array of the emoji’s –…
-
.git stuffed
I’m in a bit of a swing with my git process. I usually develop locally committing as needed, then when I reach some sort of first milestone, create an empty repo on GitHub the push up to it by: or, I start on GitHub, create a new repo with a readme.md in it, and then…
-
Rock, Paper, Scissors (1)
As I mentioned yesterday, I needed to make some progress to blog about, and I had a half working version of a Rock, Paper, Scissors for Day 25 so I pushed myself to get that working. There’s lots in the code below I don’t love. source on github
-
A deadline is a good thing
I usually have a few days of blog posts written in advance so I can schedule one to come out each day, and not sweat if I’m caught up in real life. There’s no real reason why I should have that strict publishing schedule, but it is part of my internal discipline to ensure that,…
-
Learn to Code
This blog exists for a couple of reasons – firstly Paul Hudson insisted on posting progress in the 100 days of SwiftUI on social media, and secondly, when I try to explain something, I’m forced to understand it clearly – so I know this is a good learning technique. This video from Fireship says this…