from Build stuff; Break stuff; Have fun!

Day 2 of #AdventOfProgress has translations as the main topic. I want the app to support at least German and English.

Because I'm already quite familiar with next-intl, I've chosen react-i18next as the internationalization tool for this app. Which worked quite nicely. And the API looks quite similar to next-intl.

Not much to say here. I've spent around 1 hr implementing this. A big chunk of the time was wasted on a dynamic import, where I tried, out of muscle memory, to dynamically load the JSON files with the translations. Implementing dynamic loading of languages has, at this state of the app, no real impact. So I ditched dynamic loading in favor of statically loading the 2 languages.

That's it for today.


60 of #100DaysToOffload
#log #AdventOfProgress
Thoughts?

 
Weiterlesen... Discuss...

from Build stuff; Break stuff; Have fun!

Let's start with the #AdventOfProgress.

Today I have planned out the frame of the application. The tech stack will be Expo.dev (React Native) and Supabase. This stack is what I had in mind for most of the time. First, I also wanted to add NativeWind for styling, but for now I want to start as clean as possible and focus on what is really needed to get out an MVP.

I've started with setting up expo.dev. I quickly run into some problems with the simulator, which was unable to start.

Error Message:

› Opening on iOS...
Error: xcrun simctl boot <DEVICE-ID> exited with non-zero code: 2
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Unable to boot device because we cannot determine the runtime bundle.
No such file or directory

So this needed a fix first. The web version was booting quite nicely with the expo-router.

The quick and dirty one was removing the .expo folder and running pnpm expo run:ios with a fresh simulator. I needed to delete the broken one. I got the ID from the error message, so I had to run xcrun simctl delete <DEVICE_ID> and if I did not forget anything, this was it. Sadly, I wasted around an hour on this. :(

Moreover, the simulator needs to be booted so Expo can work with it.

The flow is now that I boot the iOS Simulator and run pnpm start followed by a keypress of i to open the app inside the Simulator. For this, I've added a script "boot:ios": "xcrun simctl boot \"AppName\"

The simple way is now pnpm boot:ios followed by a pnpm ios. 🥳

Here is the first screenshot: Screenshot of a minimal and white iOS app that says “AdventOfProgress” in the title and “Home (logged-in area placeholder)” in the body.


59 of #100DaysToOffload
#log #AdventOfProgress
Thoughts?

 
Weiterlesen... Discuss...

from Larry's 100

Stranger Things Season 5, Part 1 Netflix

The Stranger Things franchise is a hot mess. Bloated, convoluted plot, a chorus of characters to track, and the stars are now adults playing teens. But by the fourth episode of Part 1, I was back in.

The epic Boss Battle of Part 1 is the best action sequence I’ve watched all year. The Sorcerer twist was a solid payoff of nine years of loyalty and character development.

The show is a crockpot stew of nerd nostalgia, 80s revivalism, and theme-park thrills. That flavor remains even as the show expands, both in the story and its megawatt popularity.

Finish it

Part 1

#StrangerThings #TVReview #Netflix #SciFi #PopCulture #FediTV #Television #100WordReview #Larrys100 #100DaysToOffload #tv

 
Read more... Discuss...

from Build stuff; Break stuff; Have fun!

I like the idea of Advent of Code/TS, but last year, I saw that this consumed a lot of my time. Yes, it was fun, but it did not push my side projects further.

So I got a “brilliant” idea. #AdventOfProgress – I like to combine both to take advantage of this time and make some progress. I would say this is an evolution of #TheMonthProject moved into December.

There is an app idea that has been living in my head for some time now, and I want to get it out with some tools I haven’t worked with in a long time. It is already more than 10 years ago since I started a small project with React Native. And with the rise of expo.dev, I see a good opportunity to try it out in December. The plan is to have an MVP (minimal viable product) by the end of December or, better yet, by Christmas. It should be possible in this span of time. But I also see my calendar and the entries there, with stuff that also needs to be done. Let’s see if I will manage this. :)

I hope I can post the progress daily.


58 of #100DaysToOffload
#log #TheMonthProject #AdventOfProgress
Thoughts?

 
Weiterlesen... Discuss...

from Build stuff; Break stuff; Have fun!

I wrote about how I use Claude Code in Wezterm in this Post.

Since then, I've improved it a bit. I introduced the yolo mode --dangerously-skip-permissions as default when I open CC and I need to split the window pane on my desktop monitor to 1/3 and on my laptop monitor to ½.

The split introduced a new function, which is called on keypress.

local function split_for_claude()
	local screen = wezterm.gui and wezterm.gui.screens().active.name or ""
	local percent = 50

	if screen == EXTERNAL_MONITOR then
		percent = 33
	end

	return act.SplitPane({
		direction = "Right",
		command = { args = { "bash", "-lc", "claude --dangerously-skip-permissions" } },
		size = { Percent = percent },
	})
end

EXTERNAL_MONITOR is the name of the external monitor. The name you will get from opening the Debug Overlay and calling wezterm.gui.screens().

And the key settings are:

config.keys = {
  -- ...
	{
		key = "Enter",
		mods = "LEADER",
		action = wezterm.action_callback(function(window, pane)
			window:perform_action(split_for_claude(), pane)
		end),
	},
  -- ...
}

Now I hit leader+enter and CC opens in a 1/3 or ½ split depending on the display. :)


57 of #100DaysToOffload
#log #wezterm #code #dev
Thoughts?

 
Weiterlesen... Discuss...

from Larry's 100

A Merry Little Ex-Mas, Netflix 2025

3.5/5 Hot Chocolates

So begins Larry's 100 Holiday Movie Season! My family and I have been studying the genre for a decade, and for the past five years, I have been reviewing them on my Instagram. I am now applying the format of the Drable/100 Word review and cataloging them here. But don't worry, Instagram Fam, I will still post them there to preserve this cherished tradition.

Notable Stars: Alicia Silverstone, Jameela Jamil, and Melissa Joan Hart. Silverstone, Hart produced for Mellisa Joan’s Mom’s Heartbreak Films production company.

Alicia Silverstone joins the Christmas Movie industrial complex.

Consciously uncoupling Silverstone and Oliver Hudson attempt to maintain post-breakup holiday normalcy with their young adult children, new paramours, friends, and Granddads. Awkward festive gatherings, hurt feelings, and rekindled emotions ensue.

After years of trying, Netflix got its version of the Hallmark Christmas RomCom right, mimicking the look/feel with a few meta inside jokes while tweaking the Young Professional Female Gets Stuck In Wintertown trope.

Middle-aged “what now” angst and Silverstone's puppy-dog eyes ground the plot, and the writing sprinkles the story with core genre elements: humor, empathy, warmth, and baking.

Stream it.

A Merry Little Ex-Mas

#100HotChocolates #100DaysToOffload #Larrys100 #100WordReview #MovieReview #ChristmasMovies #HolidayMovies #Netflix #Cinemastodon #FilmMastodon #AliciaSilverstone #AMerryLittleExMas #movies

 
Read more... Discuss...

Join the writers on Write.as.

Start writing or create a blog