#learninpublic

Andriy Fedinandriyfedin
2025-06-09


Today, while solving a Leetcode problem in a playground, I hit an interesting snag: a solution almost identical to mine was running 10 times faster. The only difference? Variable declarations.
Immediately I thought I learned about an efficient way of variable declarations. But after digging a bit deeper, I realized the issue was with Swift playground itself. It's not a real runtime environment, and its internal workings affect performance.

// one line
        var lhs = 0, rhs = 0, matrix = Array(repeating: Array(repeating: false, count: len), count: len)
        
        // VS
        
        // two lines
        var lhs1 = 0, rhs1 = 0
        var matrix1 = Array(repeating: Array(repeating: false, count: len), count: len)

always feels good to get organized. I've been trying to get better at brain dumping #LearnInPublic

The Notion app with a page open with notes for the Web Audio API. A large yellow square icon with a smaller black volume inside on the bottom right sits on top of page. Below has links to sub pages with guides, a short description of the API, and important links to documentation and resources below those.
Andriy Fedinandriyfedin
2025-06-04

Ternary operator is great, but it can be hard to remember for beginners.
Here’s a helpful mnemonic: WTF

expr0 ? expr1 : expr2 ➡️ What ? True : False

Thanks to @twostraws for mentioning @scottmichaud’s invention

Andriy Fedinandriyfedin
2025-06-03

Choosing between LazyVStack, List, and VStack in SwiftUI

For simple cases, VStack is the best choice due to its simplicity.

LazyVStack is better for handling large numbers of elements since it loads items lazily.

List also implements lazy loading, while providing additional features: it adapts to each operating system's design and includes native elements like disclosure indicators.

Source:
donnywals.com/choosing-between

Jared Lemlerjlemler
2025-05-27

Just published my first dev blog:

From wiring buildings to wiring APIs — my journey from electrician to backend dev, and why I’m learning in public.

jaredlemler.hashnode.dev/from-

Kinnectdkinnectd
2025-05-22

Firebase App Distribution was easy for us - not for our users. So we switched to TestFlight + Google Play Testing to give beta testers a smoother, safer install flow.

Read More: blog.kinnectd.com/learning-in-

Carlo Lobrano 🇮🇹🇪🇺clobrano@fosstodon.org
2025-03-25

‪I had a nice idea to improve my notification script, creating a hook in my zsh functions. Let's see if #learninpublic can push me to complete it quicker :)
blog.carlolobrano.com/posts/20

2025-03-14

Trying to avoid build tools at all costs on the latest iteration of my site.

One of coolest part about CSS `@layers`? you can import a third-party file directly into a specific layer:

```css
@layer pico, base, components;
@import url('cdn.jsdelivr.net/npm/@picocss/') layer(pico);
```

Now I can easily set styles without having to worry about overriding `pico`!

#css #webdev #LearnInPublic

yah.its.carayahitscara
2025-01-07

discipline can leave you with tunnel vision

ayidSudirmana10n
2024-12-24

Related? 😅

Let me know if any of you are learning to code or any other skill. I'll favorite your toot.

Use the hashtag:

Split image: Left shows a lone person in green stadium seats labeled "Support." Right shows a large cheering crowd in a stadium, labeled "Congratulations.
ayidSudirmana10n
2024-12-19

The Fallacy of Impostor Syndrome
...

Try to learn how to program? Too late, you’re too old, or too slow, or there’s thousands of other people that are already doing it, why try.

...
src: andrescn.me/article/2024/10/22

screen shot from an article: The Fallacy of Impostor Syndrome
LaLa ✿Indie Maker✿LaLaIndieMaker
2024-12-06

Finally having fun learning now that all my research saves and correlates from Medium and Kindle. It took me too long to realize it would group like this. Now it's good progress.
@glasp

Stay Positive | Be Blessed | Share Often

Finally having fun learning now that all my research saves and correlates from Medium and Kindle.  It took me too long to realize it would group like this.  Now it's good progress.
ayidSudirmana10n
2024-12-01

I'm going to learn JavaScript programming language from self-taught developer, Simon Bao. He has a dedicated 22 hours video about it

Every single day, I'll post it about my progress here. If you find my toot are irrelevant to you, you have three options:
1. Do nothing or wish me luck in my study
2. Unfollow or Mute my account
3. Show your support with favourite my toot. I'm very grateful for this one

Fun fact: I only have less than 5 followers, lol

JavaScript full course 2024 by Simon Bao
Brent O'Connorepicserve
2024-11-15

TIL: Who knew Python had an HTML module? 🤯

Big thanks to Canopy's student engineers' curiosity and attention to detail!

epicserve.com/til/2024/11/15/p

2024-11-08

#LearnInPublic
I'm learning #Godot and #GDScript .

I'm following a tutorial to reimplement Wordle. Finally got the onscreen keyboard all connected up.

A UI build in Godot with an onscreen keyboard.
2024-08-31

For this academic year I thought that it would be great to learn some AI. Recently I read an inspiring article - learn in public: swyx.io/learn-in-public . So lets try it in practice. I am pretty new in AI field, so it will be a lot of basic things in the beginning. Let's start! #AI #learninpublic #learning

Marcus Twichel 🦄💙mtwichel@twit.social
2024-06-22

I decided I'm taking to plunge and officially learning SwiftUI in my free time, and this time I'm learning in the open in case anyone else wants to come along for the journey. 🧗‍♂️

Check out my first devlog: youtube.com/watch?v=uIkamC8Yb5

#SwiftUI #Devlog #LearnInPublic

2024-06-12

Just dropped a post to share what I learned adding a fireworks animation in Ratatui using the canvas widget.

Hope you find it useful!

rodneylab.com/ratatui-for-term

#learninpublic

2024-05-17

The recording of the #ruby presentation about @hanami on wroclove.rb is now available! Feel free to share your thoughts and feedback, I'll take all of it 💪!!!

#LearnInPublic, #hanami

youtube.com/watch?v=IqTfaIenWK

Samarasam Sadasivamsamarasam@fosstodon.org
2024-04-23

Successfully passed AZ-900 Azure fundamentals certification exam. Next one I'm planning to learn is AZ-500 Azure security technologies for my cloud security learning path. Also spending some time in python problem solving daily. #cybersecurity #cloudsecurity #Azure #learninpublic

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst