All postsEXPLORE TOPIC

#frontend

Zed's alive, baby

Promised for a while, finally Zed arrives. It's written by some of the creators of Atom, but instead of another Electron thing it's a very fast-performing app written in Rust.

It's multiplayer, apparently, which as someone who was once subjected to pair programming I've always found that a little weird. But it works for Figma, right?

Anyway, I wrote this post in it. Will be nice to see it appear on Linux, a platform that is surprisingly lacking in lightweight code editors. Between the anemic GEdit and a full blown IDE you have Lite XL, Microsoft's Electron-based VSCode, and of course the influential but non-free Sublime, which has persisted. I don't love any of them, but I'm liking this so far.

Discuss

Blog enters the 21st century

I don't even know what that means. I think things have gotten over-complicated, but the idea that I can write on my computer and publish using a git commit is pretty cool. So that's what I'm doing now thanks to Netlify. The barrier to posting was "Do I want to do a merge with SFTP" and the answer is very often "nah." This is cooler, plus I can do it from multiple computers if I wanted to.

Discuss

I can't have nice things

Yes, Lite XL happened this year and it's been great on Linux but is a little janky on Mac. So I've stuck with what I know, which is the electron-based Atom by Github. Imagine my surprise when I went to make a couple CSS tweaks to this site today and found that Atom will be sunset... tomorrow.

So here I am with VSCodium, the MS-telemetry-free version of their VS Code. I'd like to take the opportunity to try something that isn't electron (even though a text editor for web projects might be the most logical use of the technology), but I need to get some requisite Python tools to make CudaText work and the list is actually pretty short these days. Seems that if you have the money for Sublime you're using it, and if you don't you're on VS Code. Oh well.

Discuss

Lite XL

Love the contradictory name. I don't necessarily want to get on the Electron hate train, but when you see the speed at which this thing fires up (much faster than VSCode, faster than GEdit, even) you might consider ditching Atom. It strikes a nice balance of features and performance.

Discuss

Yes, this, etc.

My quest for simplicity has led to some people doing some pretty interesting stuff. Even more appealing to me than Utopia is Every Layout, which frankly seems hard to sum up in an elevator pitch, but like Utopia it aims to get CSS back to declaration and away from prescription. In this case, it seems largely because declarative just works better. My only beef with this thing is the price. It's no doubt that a lot of work went into it but 70 bucks is steep.

The further I read into the sample content, the more I'm standing up, punching the air, screaming. It's that invigorating and it makes that much sense.

Incidentally, one of the authors is responsible for CUBE CSS, which I'm been looking at with interest too. I'm a BEM-head from way back, but this looks like an interesting philosophical take on CSS that embraces a recent trend among true HTML/CSS folks: Stop fighting the cascade. You're speaking my language.

Discuss

Another day, another blog redesign

Been thinking about doing this ever since I did the last one. It never quite came out the way I wanted and frankly, the newspaper-ish feel just didn't work. It worked in my head, and it sorta-kinda worked in Figma, and it just didn't translate.

After reading about Utopia and thinking, hey maybe I should do that, I went a little deeper into the rabbit hole of simplicity.

Some notes:

  • There was no Figma phase to the "design."
  • I did this entirely live by mounting my website with rclone and editing live with GEdit (Atom couldn't browse and edit the remote files fast enough).
  • There are 157 lines of CSS, un-minified, with a carriage return between each rule. It uses zero media queries. There aren't even any columns, so I didn't get the chance to evolve from flexbox to grid.
  • I'm using CSS custom properties for the second time in my life, and though it doesn't give me everything I want from the Sass feature set, it's really great to get variables while staying native.
  • I didn't quite leave the HTML unchanged, but I probably could've. I've been using almost the same HTML pretty much since I switched to Kirby many years ago.
  • Standard posts have a larger first paragraph. This might possibly be inspired by Lagrange, the nicest Gemini client out there.

I suppose I'll enjoy looking at this for a couple weeks and then off we go again, probably with a pendulum swing to complexity. Or maybe I'll just change that yellow to something else to tide me over for a bit.

Discuss

Utopian thinking

Now this is something interesting.

Obviously we've gotten pretty far away from the fundamentals of the web. "Text with hyperlinks" is the mission of the Gemini project, something that's described as heavier than Gopher and lighter than the web. So there's an appetite for those simpler days. All the myriad ways we've strayed from Hypertext's light would take quite a few more blog posts and sound like an old man yelling at clouds, but in terms of web design it feels pretty specific. Build tools. Compiled code. Scoping and renaming classes at runtime. Arguments about whether to put CSS in JS. Not gonna belabor that, you get it.

I taught myself to ditch tables around 2002-2003 by reading Eric Meyer's O'Reilly title CSS: The Definitive Guide, which is purely a reference title. It was not what I would call complicated. It probably took me just as long to figure out how to implement Grunt, which was already supplanted by Gulp by that time. Life is complicated, and I guess life in CSS has gotten that way as well. It feels such a long way from the CSS Zen Garden.

I don't necessarily think that breakpoints and media queries are an extreme example of the complication — remember conditional comments? Remember writing separate sites from Netscape and Internet Explorer? But I do think Utopia's authors asserting that their framework is "declarative" instead of "prescriptive" or "instructive" brings it back to the fundamentals of CSS. I find it a bit ironic though that they're using some really complicated calculations to achieve simplicity for the user. I recognize that bootstrap does something similar when calculating the grid, but the deeper the math I don't understand burrows, the more scared I am of relying on it.

I haven't read enough of the material here to understand how they handle anything other than the spacing and typography — and whether they like it or not, there is more to it than that, even if those are the only two things you can't take away. Looks like it may be relying on CSS grids to keep things in one media space. And lord knows I haven't adequately learned CSS grids yet. But I'm going to give this a shot. Maybe the next version of this site will be Utopian.

Discuss

Is this it?

Framer Sites looks wild. Framer already generates pretty good HTML, and this seems to represent the final few pieces necessary to actually turn that into a functional website. And CMS features are coming soon? Finally someone's really coming for the king in a big way, for the first time since the king has been Figma.

Is this finally The Thing we've been looking for? A design tool that builds websites visually, but in a real "web-like" way? That's been an unsatisfactory process since my first job using NetObjects Fusion (which apparently is better in itself these days, using CSS grid instead of the absolute positioning it employed almost 25 years ago). Frankly, potentially exciting, although these days — as in those days — it's fun to whip up some HTML to create a nice looking site. Still feels like alchemy to me.

Discuss

No need for an abstraction layer with CSS Grid

Rachel Andrew, the Guru of Grids, on why you don't need a "Grid Framework" to use CSS Grid. For me, part of the desire to use grid is right here — the additional overhead of throwing in a grid system is just unnecessary. And with Grid comes horizontal and vertical alignment, markup without containers, and so many more possibilities for layout.

Even fallbacks, one reason frameworks tend to get popular, aren't needed in her estimation:

Create solid markup, uncluttered by additional elements that the past tells you that you need. Design your site using what Grid and other new methods have to offer. Then look at how you deal with the browsers without support, by serving them something slightly simpler.

Now that Edge fully supports Grid, it's probably time to stop farting around and really learn it, now that I've finally embraced flexbox.

Discuss