Using Advent of Code for learning new languages

2024-07-15 00:00

A big part of being a software developer, and especially a consultant, is to learn new languages and frameworks as things change.

If you are the kind that like to go to a formal course or like me who prefer to more learn by doing and reading, the big challenge, if you don’t have a work assignment related to it yet, it can be a challenge to get familiar with the new language after you know the basics.

I’ve become a huge fan of using the various sets of Advent of Code tasks to learn new languages. Some are easy, others really hard, and I always find myself really getting to know each languages strengths and what the literal fucks by doing them.

Tall skinny iOS widget?

2024-07-08 00:00

Why isn’t there like a version of the medium sized iOS widget just flipped 90 degrees?

Calendar event filters?!

2024-07-03 00:00

Some places, especially in widgets, you can choose to show everything or filter out all day events. Why the fuck can’t I tell it to show only all day events?!

Calendar nesting?

2024-07-01 00:00

When I look at the regular Calendar apps I have looked at (Apple, Calendars 5, Fantastical, BustCal, plus a bunch of others I don’t remember) support having a nested structure around calendars. Some supports sets. But that isn’t quite what I would like.

So, I use calendars for different purposes. Some contains actual events (no all-day entries), while others are more for planning purposes, so they only have all day entries in them.

All day entries meaning no start or end time just start and end dates.

Plus a few other similar things. Where my naming would be much less weird” if I could have a folder called Planning with al the planning calendars in them and one called Events with all the regular ones n them.

Instead I’m stuck with using : as a divider in the name as a means of faking it.

Generative “AI”

2024-06-04 00:00

I’m still refusing to call this shit AI, and will in a lot of situations annoy and or confuse people by referring to it as ML.


Here are what I see in it after a few years since using the GitHub CoPilot Preview and later ChatGPT.

  • The CoPilot autocomplete can be useful, while complete and utter garbage other times. It all depends on the codebase.
  • The CoPilot Chat is mostly the same. Sometimes it is helpful, but anything complex it will suggest a good solution if you ignore the code and focus on what it tells you. For simpler stuff the code is kind of fine.
  • But as someone who are a lot about code, and try to design systems when I code, to make them easy to extend, what I get from CoPilot is at best a suggestion.
  • ChatGPT on the other hand can be useful for some stuff.
  • I don’t use any generative AI for something I can’t verify myself
  • But.
  • I like using it when I get some Slack message or e-mail at work that is either terribly written or someone got creative and tried to look cool to remove all the crap and redundancies to figure out what the fuck they are trying to tell me.
  • Other times I use it to go the other way to make things more like they expect in work e-mails and resume stuff etc.

Not seeing much intelligence though. Just fancy text generation.

Make shortcuts more responsive?

2024-05-28 00:00

One thing about the experience of using the current Shortcuts apps on any platform that involve large amounts of data leaves a lot to be desired.

I’d love for it in general to have any support for async / paralell processing of data, but I don’t expect to see that anytime soon.

However, what I really really want is for it to be able to load a shit load of data and just take forever, but not being unresponsive or beach balling.

I’d also love for a shortcut to be marked as done when it actually is done, and not when it is done and also have cleaned up all the resources etc it used. Because often when I do something like loading a bunch of entries from something add it them to a draft it will typically run for good while after it stops updating the Draft doing what I assume is to close open resources, GC memory etc.

Price increases?

2024-05-15 00:00

All prices go up, people get higher salaries, so the company have to charge more for their services and or products, and slowly so does everyone else.

I see some increase them a little each year. I have no problem with that. It makes sense. What I don’t like is when they suddenly do a big jump, and justify it by not having done so for many years.

Seems like a dumb way of doing business. For both themselves (lost revenue) and their customers (surprises).

Stop doing this dumb crap.

E-mail log-in flows

2024-05-13 00:00

There isn’t really much a security issue with this way of logging into things. At least not for logging into anything where you can reset your password if you have access to someones e-mail.

A bunch of places started doing this because of how a lot of users just reset their password every time they had to sign in instead of keeping track of their password.

I fucking hate this sign in flow for a number of reasons.

The main one is that it makes it harder for me to use my password manager as a database of all the places I have an account. I also hate single sign on either as in corporate Azure Active Directory / Entra ID style or as in Use

Made with ❤️ in Bergen, Norway by Eivind Hjertnes