
Just a week left before Advent of Code. Good holiday time to test drive a new language. This was the most fun this year as projects go, and it was a pretty amazing year of writing and coding. I left as many little smiles as I could in-text.
teapawt.org/Modular/status/2125318…
Advent of Code starts December 1. Want to try something new this year?
Our Advent of Mojo tutorial walks through the essentials for AoC puzzles: reading input files, pulling numbers out of strings, sorting, and working with grids.
Start here: advent.mojolang.org?utm_sour…
#AdventOfCode
659
teapawt.org/Modular/status/2120243…
I had so much fun putting Advent of Mojo together with Michael Dunn-OConnor
Planning on tackling Advent of Code this year?
We put together an Advent of Mojo tutorial that covers the key language and standard library features for solving AoC puzzles, like reading text from a file, extracting numbers from strings, sorting values, and working with grids.
Now that Mojo is stabilized and open source, it's a great time to pick up the language. And AoC is a great excuse to try something new.
advent.mojolang.org?utm_sour…
#AdventOfCode
1
3
813
If you write Python loops, you can already write Mojo loops. The syntax is the same: for, while, break, continue.
To repeat something n times, use for _ in range(n):
Comprehensions work, too, i.e. [x * x for x in range(5)]
The biggest difference is speed. Mojo compiles your loop to native machine code, while Python interprets one step at a time.
We counted the primes below 2 million with the same trial-division loop in both languages (no sieve): Python took 2.8 seconds, Mojo took 57 ms.
More quick references in the Mojo cheat sheets: mojolang.org/docs/reference/…
ericasadun retweeted
Call us old fashioned. We just shipped an app using EricaUtils. Thanks, @ericasadun!
Modular is still open sourcing Mojo this year, right on track. We can’t wait to share the details at ModCon, August 18th in San Francisco: modular.com/modcon
Apologies to anyone affected by my late renewal of my dev certs. Fell down. Hospital. Physical Rehab. Apple insisting on auditing that I'm really me. I can't get into dev site to re-issue. Hopefully later this week. Thank you again for your support
2
7
919
Looking for fairly specific tooling for Web, Mac, or iOS/iPadOS similar to agile retro: brainstorm, group related items together (preferably w/ dragging), refine, prioritize, build out action items. Difficulty factor: for single user to develop (and preferablly track) todos.
1
2
2,129
ericasadun retweeted
I am a big @ericasadun fan now.🤩
Tried for years to get her to iOS Conf SG, and then @JaninaKutyn worked her magic to reach her.
But at the last minute, Erica couldn't travel due to a medical reason. However, she went above and beyond, recorded her talk, and sent it our way.
While you're twiddling your thumbs waiting for the #iOSConfSG videos, here's a gem from Erica Sadun (@ericasadun).
She missed the show but sent a video on submitting Swift proposals. What a legend! 👏❤️🤗
youtube.com/watch?v=HvT8xP6u…
Vicky Brasseur is an amazing Open Source expert, a terrific writer, and wonderful person. She's on the job market. Let me know if you have any leads. :)
1,469
A readability score is not a pass or fail of communication. It's a goal to make writing simple, clear, and unfussy. Sometimes sentences grow long. When writing technical topics, big words are unavoidable.
1
3
1,517
Normally I see 36 ° and I freak out “cold. Cold. Cold!!” After last week, I’m going “ooooh, Tropical!”
#cantcomparetosingapore :(
2,146
ericasadun retweeted
Good morning! ☀️ Today is Day 1 of #iosconfsg! Please refer to this video for directions to SingPost Auditorium 👀
youtu.be/wt-M_zWy7PU?si=0MPL…
ericasadun retweeted
Unfortunately, @ericasadun couldn't make it to Singapore for #iOSConfSG due to a medical reason.
Our best wishes are with Erica. 🫶
Despite missing the live event, she'll record her talk for our YouTube channel. Looking forward to sharing her insights post-conference! 🙏✨











