Not sure why, but it catches me every year. Repeat after me:

WWDC keynotes are not really for developers.
WWDC keynotes are not really for developers.
WWDC keynotes are not really for developers.
WWDC keynotes are not really for developers.
WWDC keynotes are not really for…

tech   

Amen:

“Children shouldn’t be subjected to Teams.”

@siracusa, ~53 mins into ATP, episode 428

edu   

Somehow @siracusa’s games simultaneously captivate and dumbfound me.

Vaccinated.

Virus: SARS-CoV-2
Vaccine: Oxford / AstraZeneca
Dose number: 2
Superpowers: still nothing

personal   

I am trying to burn command line Git into my brain, rather than using a graphical tool. The options are fine, but I need to actually get the command correct…

zsh: command not found: got

tech   

Preparing to Ignore Files with Git and Xcode

Source code version control is a core competency of the modern developer. But sometimes the system and the environment can get in the way.

When using Xcode (or other tools) with services such as GitHub the default situation is to associate a folder with a new repository, including all files and subfolders contained within. This might also include some files or folders you might not want to include.

For example, macOS uses hidden files named .DS_Store (Apple’s Desktop Services Store) to manage information about the state of local folders, and Xcode places files in xcuserdata/ folders which track the state its own UI.

Both of these are useful for the local user, but are unlikely to be so for others who might be working on your project code.

Before Your First Project

If you want to prevent all of your local projects including selected files or folders in their repositories, then you can update Git’s global settings.

Step One: create a .gitignore file

Create a file named .gitignore_global in your local user root directory. For example, by using the following command in the Terminal:

touch ~/.gitignore_global

Note the _global suffix to highlight to future you that this affects all repositories.

Step Two: add the required rules to the .gitignore file

Using your preferred text editor, add the name of each file or folder that you want to be excluded from all of your Git repositories. For the examples above, the file would contain (with #-prefixed comments included):

# macOS
.DS_Store

# Xcode
xcuserdata/

There are other options, such as using wildcards, which can be explored as extended reading.

Step Three: Configure Git to use the .gitignore file

Use the Terminal to tell Git to use this list of files folders to be ignored when creating all new local repositories:

git config --global core.excludesfile ~/.gitignore_global

Ignoring by Project

You might want to ignore files on a project by project basis.

The process is the same, but in each project root folder you should include a .gitignore file, formatted as above.

Fixing Files that Slip Through the Net

If you had already linked your Xcode project via Git, and after setting up your global, or per-project, ignore files, perhaps now have the odd erroneous file such as .DS_Store in one of your repositories, you can remove the individual files from your repository:

git rm --cached .DS_Store

This will need done for each rogue file in your local repository, with files being removed from your remote repository on the next git push.

article    xcode   

Our Professional Learning Community breakfast club continued today with a discussion abut metacognition:

All good teachers implicitly understand and support the metacognitive development of their students, but too rarely have/take the time to explicitly explore the topic.

edu   

It’s a small solar system (but I wouldn’t want to paint it)! Congratulations NASA! 🚀 🖖

Vaccinated.

Virus: SARS-CoV-2
Vaccine: Oxford / AstraZeneca
Dose number: 1
Superpowers: none yet detected

personal   

Day 100 of #100DaysOfSwiftUI: without distinction

Thanks to @twostraws for an exceptionally high quality SwiftUI course. It’s taken me 499 days to get this done, but worth every devoted hour.

100 Days of SwiftUI Certificate of Merit

100DaysOfSwiftUI   

Day 99 of #100DaysOfSwiftUI: always seeking snow

Final challenge day, and not lazy for a change. All challenges complete. With care and attention.

“Tomorrow we’ll discover
What our god in heaven has in store!
One more dawn, one more day, one day more!”

100DaysOfSwiftUI   

Splash of the Titans:

Mathieu van der Poel on his way to besting Wout van Aert in the battle for the cyclocross rainbow bands in Ostend. Not often bike races take place in the North Sea.

Dutch and Belgian cyclists racing through the waves

cycling   

Cumbria County Council get free pass from UK government to allow a new coal mine:

“[Projected emissions are] greater than the level of annual emissions we have projected from all open UK coalmines to 2050.”

— Lord Deben, reported by The Guardian

🎵 ‘Caterpillar’, Hamish Hawk

New single from the sensational Hamish Hawk (Twitter: @HHawkOfficial).

Bit of an early 80s indie vibe going on with this one, with Byrne-esque visuals.

The first meeting of our virtual Professional Learning Community breakfast club is tomorrow morning. The topic? Retrieval Practice. Want a primer?

PDF: http://pdf.retrievalpractice.org/RetrievalPracticeGuide.pdf

edu   

Last quarter of 2020:

  • Apple sales > 850,000 USD a minute
  • Food banks

Mind-blowing.

Apple today announced financial results for its […] quarter ended December 26, 2020. The Company posted all-time record revenue of $111.4 billion

Apple PR

Current favourite tools for teaching Maths (synchronous, remote):

DrFrostMaths: https://www.drfrostmaths.com/

Whiteboard.fi: https://whiteboard.fi

And good old PDFs with an iPad and Apple Pencil.

edu   

Day 98 of #100DaysOfSwiftUI: first degree burns

Last project complete, bar the inevitable challenges. And two days to go…

“Nae man can tether Time nor Tide,
The hour approaches Tam maun ride;”

100DaysOfSwiftUI   

It’s easier to quote words than live by them:

“O ye wha are sae guid yoursel’,
Sae pious and sae holy,
Ye’ve nought to do but mark and tell
Your neibours’ fauts and folly!”

Address to the Unco Guid, Robert Burns

But that doesn’t mean we shouldn’t try.

Day 97 of #100DaysOfSwiftUI: lobbest thou thy code

How many days left?

“Three shall be the number thou shalt count, and the number of the counting shall be three. Four shalt thou not count, neither count thou two, excepting that thou then proceed to three.”

100DaysOfSwiftUI   

Day 96 of #100DaysOfSwiftUI: oxford can do commas

Just started looking at building SwiftUI views for iPad.

Four days left to finish this off and squeeze in Mac, Apple TV, and Apple Watch. Simple.

100DaysOfSwiftUI   

Day 95 of #100DaysOfSwiftUI: always rolling

I wonder if @jamesthomson knows that this course has been building up to creating an army of Dice by PCalc ‘clones’?

Don’t worry James, I am not a threat to your empire.

Screenshot of Day 95 project

100DaysOfSwiftUI   

When an America-curious young Scot decides he wants to explore the culture and personality of the nation across the pond in early 2021, what should he do?

Start a podcast, of course! And what a time in history to do so.

🎙 Lewis Davie presents They The People

2004 - SQA launch SOLAR built on Adobe Flash

2017 - Flash deprecated

2020 - Flash ‘End of Life’d

2021 - SOLAR requires Flash-embedded viewer app

Scotland needs an open, national conversation about digital/remote assessment. And investment.

edu   

When your employer suggests that it’s maybe time for a virtual home visit to check that your working environment meets health and safety requirements you know you have been working from home for too long…

I have requested a badge if I can make it a full year!

personal