Playing around with using Notion as a CMS for my personal site just to reduce the friction to publishing. Pretty fun but the whole "blocks" abstraction + pagination stuff makes it a lot of work to extract some basic written content via the API 😅
For real the amount of API requests you have to make to get all of the content for a page is wild. Have to recursively walk every block looking for children and make new requests to get those children. Starting to think this is maybe a bad idea, we'll see 😅
Alright giving up on this, just too much to worry about with the number/rate of API calls, rate limiting, transforming the complex data structure I get back, etc. Still love Notion as Notion though.
Now I'm wishing Bear had an API 😅 Anything similar out there that does?
This is what I do now but it’s too much friction. Creating files, making commits, manually naming and storing image files, etc. It needs to be as easy as tweeting.
Pushing harder on the Notion option again — it looks like there's a bug in the API though where timestamps are not including seconds/milliseconds which is making caching a bit annoying 🤔 Everything is always 00:00.
• • •
Missing some Tweet in this thread? You can try to
force a refresh
What's the actual best floor planning tool I can play around with for redoing my office? Hard to find the good stuff, this whole category is SEO'd into oblivion 😅
Here's where I got with Homestyler which was pretty quick and easy to play with... Wish I could come up with a good way to make it work with the desk in the middle but this doesn't seem terrible.
Hmm maybe this could work, desk not in the true middle but only need access from one side anyways...
Just not sure where to set up the ol' Rocket League station 😅
Is there any way with CSS grid to say "all rows should have size 'auto', except the last one which should be '1fr'" while relying on implicit rows?
I want every row as short as possible, with the last row taking up the rest of the space, but with an unknown number of rows 🤔
The image above is the outcome I want, but I don't want to have to use `grid-template-rows: auto auto 1fr`, because that breaks if I need another row. Any way to do it without knowing the number of rows?
Put another way, it's easy to make the first row different than the rest:
grid-template-rows: 1fr;
grid-auto-rows: auto;
But how can you make the _last_ row different than the rest?
Building really great stuff takes a lot more time, attention, and focus than is really possible to understand up front.
It's hard but I've had to learn to say no to even my own best ideas if they mean spinning another plate, or I eventually resent them for getting in the way.
If you want to do a lot of things, focus on things that can be finished.
Write a book, record an album, organize an event, produce a video, give a talk — you can build a rich catalog of work if you are deliberate about doing things that can actually be *done*.
But if you want to do things that can't really be finished (like software), I think the right way to be ambitious is to focus on one thing and make it great.
The sacrifice of saying no to a few fun ideas is not as bad as the sacrifice of never feeling awesome about your work.
It's a set of extensions for REAPER (DAW software) for editing live drum performances super efficiently + a bunch of other productivity helpers.
Although I'd been programming in some capacity since I was 10-11 and had good exposure to basic concepts like variables, loops, etc., I had no idea that "software design" was a concept, and it never even occurred to me that code could have "quality" 😅
I just had a bunch of feature ideas and had been messing around with some Python scripts, when Tim (the author of the bigger project) saw potential in me, took me under his wing in IRC, taught me C++, and created this stupid `Adam.cpp` file for me to go nuts in ❤️
🤔 What's the best way to structure your classes and markup when building UIs with Tailwind CSS?
Here are some of the rules I follow to build things that are consistent, easy to understand, and straightforward to componentize 👇
Sort classes generally from the outside in (in terms of the box model) putting things that affect layout before things that don't, while also trying to group related classes.
This lets you see the things that are going to have the biggest impact quickly.
☝️This is a bit of an art, but hoping to automate in the near future!
I've been working on nailing the recommended class order a bit lately — check out my list so far on GitHub: