/tag

#tweet

Dominik Hofer
Dominik Hofer

Bun is one of these projects that is a beautiful piece of engineering but also has a very cute mascot that almost overshadows it (which is totally reasonable, I mean look at this πŸ₯Ή).

Dominik Hofer
Dominik Hofer

If you didn't know already, in the Chrome dev console, you can reference the currently selected DOM-element with $0 like below πŸ‘‡

Dominik Hofer
Dominik Hofer

Currently building a little @framer override for @cedric_design's upcoming template.

It automatically sets an active variant for the current nav item and thus eliminates the need for manually creating variants for each nav state.

Anyone interested in using this too? πŸ‘€

Dominik Hofer
Dominik Hofer

You can say what you want about Youtube's algorithm, but it's really good at recommending videos that one would have never searched for but are really interesting to watch.

I see how this can become problematic, but in it's core, it's just a magical piece of software.

Show thread (2 posts)
Dominik Hofer
Dominik Hofer

CS50 004

Idea for the game πŸ‘Ύ

The plan is to build a little F1 game called β€œReact & Race”, where the player has to quickly react to flashing emojis and press the right key in order to move forward.

Stay tuned for β€œ"The Fastest Game on the Emojiway!” πŸ˜‰

Dominik Hofer
Dominik Hofer

CS50 003

Finished lecture 0.

Learned more about how to use the basic building blocks of code inside Scratch and how to use them to build simple games.

Now onto problem set 0 πŸ‘¨β€πŸ’»

Dominik Hofer
Dominik Hofer

Friday @framer tip for everyone building overrides and code components ✨

If you need to manage some state in your component (even save and retrieve it from localStorage), try out @jotaijs.

Drastically simplifies the code and seems to work pretty well so far πŸ™Œ

Show thread (2 posts)
Dominik Hofer
Dominik Hofer

CS50 002

Introduction to algorithms and Scratch.

The most interesting thing for me was to see how an algorithm can become much more efficient by taking more creative approaches β†’ see binary search algorithm πŸ‘‡

Show thread (2 posts)
Dominik Hofer
Dominik Hofer

TIL that @github copilot uses other open tabs as context.

I always thought it would just use the current file, so that's reeeeally good to know.

Dominik Hofer
Dominik Hofer

The hardest problem to solve when setting custom keyboard shortcuts is finding one that is a) memorable and b) doesn't conflict with another one (system wide ones are the enemy here).

There should be auto-suggestions that find the next best option automatically πŸ€”

Dominik Hofer
Dominik Hofer

CS50 001

A basic introduction to CS, bits, bytes, and how information is stored in computers.

It was interesting to see how the way we represent information has changed over the years due to a lack of foresight, and how the problem was solved.

Dominik Hofer
Dominik Hofer

Even after building stuff for the web for 7+ years, I sometimes feel like I've never really learned the basics of CS.

If anyone else also feels like that, let's start and complete Harvard's #CS50 together!

I'll try to post an update every day and keep you in the loop :)

000

Show thread (2 posts)
Dominik Hofer
Dominik Hofer

TIL that you can use CSS grid for more advanced wrapper uses.

For example the pattern below, where you have a classic wrapper that prevents the text from spreading too wide on the left but the image on the right expands even outside the wrapper.

πŸ‘‡

Show thread (2 posts)
Dominik Hofer
Dominik Hofer

Finally took the plunge and completed the introductory course about regex on @Codecademy.

I feel like this is a topic that every dev dreads to learn more about. But finally learning the basics properly might help me understand these Stack Overflow answers better in the future ;)

Show thread (2 posts)
Dominik Hofer
Dominik Hofer

I'm really excited that I can finally tell you about something I've been working on the past couple of weeks!

Together with @cedric_design and the relaunch of @CanvasSupply, I created three code components/overrides, that give you @framer superpowers.

Let's take a look at them!

Show thread (8 posts)
Dominik Hofer
Dominik Hofer

Today I got reminded once again by a nasty code bug that I should finally bite the bullet and properly learn regex 🫣

Any tips and recommendations?

Dominik Hofer
Dominik Hofer

Does anyone know about a simple tool that helps you easily clean up your Twitter/YouTube/Instagram/whatever followings?

Imagining something that shows you a random account you follow and its last 3 posts and lets you decide on whether or not to keep following them.

Dominik Hofer
Dominik Hofer

Using ChatGPT as a socratic tutor seems to be one of the best possible ways that you can use it currently.

Don't let it do the work for you, use it to have a conversation and let it guide you to new thoughts, perspectives and ideas πŸ’‘

Show thread (2 posts)
Dominik Hofer
Dominik Hofer

Progress update πŸͺ„

The cmdk menu for @Framer now shows the page you're currently on in the top left. Helps quite a bit for navigating your website.

Apart from that, I'm busy fixing nasty bugs and making the component even easier to configure right inside Framer.

Stay tuned πŸ‘€

Dominik Hofer
Dominik Hofer

It's now possible to define custom categories and similarly categorized items are grouped together with a heading in the cmdk dialog – automagically πŸͺ„

Kudos to @framer for not only being an awesome no code tool but actually allowing to use code where it's needed πŸ€—

Dominik Hofer
Dominik Hofer

Currently working on a ⌘ + K component for @framer πŸ§™

Customizeable without writing a line of code. Lil demo below πŸ‘‡

Who would be interested in using this as well?

Dominik Hofer
Dominik Hofer

TIL that you can access the amount of fingers a user had on his screen when triggering an event (using TouchEvents).

By the way, can someone guess what I'm building? πŸ‘€πŸͺ„

Dominik Hofer
Dominik Hofer

React wouldn't nearly be as great as it is without the brilliant folks over @vercel

These guys constantly ship cool stuff and their marketing is just spot on.

Just a random thought, but there couldn't be a better time to create things for the web and I love it 😁

Dominik Hofer
Dominik Hofer

Is there a minimal MacOS app that integrates the OpenAI API into the system?

Imagining something like [select text] β†’ [right click] β†’ [choose prompt]

Would be great to know ✌️

Dominik Hofer
Dominik Hofer

πŸͺ„

Been working on a @framer override that enables navigating your site just with keyboard shortcuts. Currently works with links and the search component.

Is this something that would be useful for your own projects?

Dominik Hofer
Dominik Hofer

I will always be amazed about how @github copilot makes coding a breeze. Just write a few comments at the top of a file like below and watch ai work its magic.

It's never perfect but it gets you like 90% there.

This makes learning & building so much easier, I love it πŸͺ„

Dominik Hofer
Dominik Hofer

Getting to know @framer overrides a bit better by trying out random stuff and I've honestly never been more excited about seeing the current time on a website :D

Follow

RSS Feeds