Recent submissions

Comment · 9 months ago
Comment · 1 year ago
So how do you deliver design on the web, if not without code?

Remember that designing for the web is not like designing for print, where the dimensions of your canvas, and the amount and nature of your content, are known quantities. A web page is expected to accommodate every possible device, agent and viewport -- watches, phones, tablets, laptops, desktops, TVs, screen readers, ebook readers, etc. * portrait and landscape orientations * browser window sizes -- and content that can change by the minute and whose size is unknown until all of it has arrived on the device.

Think about all these conditionals and variables, and how much instruction you need to provide, efficiently, for making it all look as good as possible, to the browser/agent. Doesn't all this seem like the necessary purview of a domain-specific programming language?

Comment · 1 year ago
Comment · 1 year ago
Alright, if you say so. But what stupidity do you mean? What do you mean offload it to figma etc? Why is it dumb to write code for... the job CSS is built for?
Comment · 1 year ago
Ask your boss to hire someone better at CSS than you.
Comment · 1 year ago
When is it ever necessary to change event handlers?
Comment · 1 year ago
Comment · 2 years ago
If this is about staging partial file changes, then I think this is where git GUIs especially excel. It's typically a matter of selecting and deselecting individual lines of change. The concept and term "hunk" (to mean a group of lines, and honestly "chunk" would've been a better choice) never shows up. Pretty intuitive and foolproof.

I've used Git Cola on Linux and Github Desktop on Windows. Both free.

Comment · 2 years ago
Firefox restores all windows.
Comment · 2 years ago
Don't you think : is already used for something else in CSS?
Comment · 2 years ago
Comment · 2 years ago
>still no way to remap Ctrl+T to open a new tab in the current container context

A quick search found me this: https://addons.mozilla.org/en-US/firefox/addon/new-container..., using Alt+C. There are other similar addons too.

I'll assume given the solution was pretty easy to find, your issue must be with the inability to repurpose Ctrl+T...

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton