frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

This Website Has No Class

https://aaadaaam.com/notes/no-class/
49•robin_reala•2h ago

Comments

iLoveOncall•1h ago
> I removed a non-trivial amount of CSS (now about ~5KB of CSS over the wire for the entire site)

That's around 2% of the size of the single page of that article, it absolutely is a trivial amount, especially when it complexifies so much the maintenance or addition of the website.

Gabrys1•1h ago
The 5KB is trivial. They don't mention how much was actually removed. Maybe 200KB? Who knows
drcongo•1h ago
It has also vastly simplified the maintenance of the website.
gherkinnn•1h ago
I recently went down a similar path to build the FE of an app. It worked fine at first and I learned a whole lot about recent updates to CSS. And boy, has it come a long way. Cascade layers, nesting, and the :has selector tripple-handedly change how views can be written for the better.

It is a solid solution for blogs and apps with a distinct document feel, but for anything beyond that I found it too limiting and brittle. Back to components and Tailwind.

zwnow•1h ago
If u like tailwind u might like DaisyUI (daisyui.com)

Tailwind can quickly escalate into very very long class name chains, daisyui cuts that down by a ton. Yea its yet another dependency but definitely worth a look. Phoenix adopted it as default too.

lawn•24m ago
I've never heard anyone complain that CSS is too limiting. If anything it's the opposite.
h4ch1•14m ago
I don't get this comment at all; you say CSS is too limiting but somehow Tailwind, which is just applying CSS using classes is liberating?

Tailwind actually complicates a lot more things, when you have to specify variants for example, there you go installing tw-variants, writing Javascript just so you can get different sorts of buttons.

This is fine for larger component libraries like shadcn-ui, but for simplicity, I'd pick up pure CSS for something like button .error; and button .secondary.

(yes I know you can just @apply whatever you want inside those blocks, but what's the benefit of tailwind then?)

robertlagrant•8m ago
> you say CSS is too limiting but somehow Tailwind, which is just applying CSS using classes is liberating

If you read the article you'll see what they're talking about. It's not "CSS is too limiting" it's "CSS only applied to elements is too limiting".

Iv•1h ago
Well, HTML was supposed to be a generic language to describe typical documents. Most websites don't need more than the default elements.

From an outside perspective, it is perplexing to see the constant back and forth webdevs do between making website more complex and rediscovering the simpler first principles

zwnow•1h ago
I am sorry but its not the devs who want complexity. Users and Designers want a snappy interactive UI with lots of animations to get the "vibe" right. Devs are usually fine with websites looking like they are straight out of 2003 (considering all the language doc pages I've seen)
thiago_fm•1h ago
I love the design of his blog -- the use of dots, link highlights etc.

It also brings back memory of 2000s internet, but merged into Today's design standards. I assume this was intentional.

habibur•1h ago
Right click -> view source.

Found "<span class=..." — What?

Read the page.

Footer : "I only got 99% of the way there. I use 11ty’s syntax highlighting plugin, which uses classes for styling."

progbits•28m ago
I think that's fair. It's not semantic information (I mean in a way I guess it is, but you wouldn't want a screen reader to present it as such), so classes are fine there.
dayvster•1h ago
Hah that's a cool and creative exercise. Love the writing style as well
the_other•1h ago
I like it. Nice effort. Plus I like the visual style a lot too.

I feel there's a mismatch between creating novel "semantic" elements, and then customising them in the markup, rather than the contextual approach (nesting, rich selectors). The mismatch is that the new elements still apply a "what" approach, but the attributes used for customisation apply a "how" approach and leave it in the mark-up. It's still like `<p class="red" />` rather than `main p { background-color: red; }`.

I get that there's a trade-off between purity and code that's nice to work with, and I think you've hit a very readable, appealing and creative balance.

singularity2001•55m ago
It also has no style
admissionsguy•55m ago
I can only see ~half of each line on my phone and cannot scroll, so whatever they are doing, they are doing it badly.
paganel•35m ago
Also, can't seem to be able to select text, for one reason or another.

Slack has raised our charges by $195k per year

https://skyfall.dev/posts/slack
1315•JustSkyfall•9h ago•614 comments

This Website Has No Class

https://aaadaaam.com/notes/no-class/
49•robin_reala•2h ago•18 comments

WASM 3.0 Completed

https://webassembly.org/news/2025-09-17-wasm-3.0/
904•todsacerdoti•16h ago•385 comments

Meta Ray-Ban Display

https://www.meta.com/blog/meta-ray-ban-display-ai-glasses-connect-2025/
423•martpie•10h ago•599 comments

Show HN: The text disappears when you screenshot it

https://unscreenshottable.vercel.app/?text=Hello
256•zikero•8h ago•93 comments

Pnpm has a new setting to stave off supply chain attacks

https://pnpm.io/blog/releases/10.16
39•ivanb•3h ago•34 comments

Fast Fourier Transforms Part 1: Cooley-Tukey

https://connorboyle.io/2025/09/11/fft-cooley-tukey.html
8•signa11•1h ago•0 comments

CircuitHub (YC W12) Is Hiring Operations Research Engineers (UK/Remote)

https://www.ycombinator.com/companies/circuithub/jobs/UM1QSjZ-operations-research-engineer
1•seddona•1h ago

CERN Animal Shelter for Computer Mice

https://computer-animal-shelter.web.cern.ch/index.shtml
55•EbNar•3h ago•8 comments

Orange Pi RV2 $40 RISC-V SBC: Friendly Gateway to IoT and AI Projects

https://riscv.org/ecosystem-news/2025/09/orange-pi-rv2-40-risc-v-sbc-friendly-gateway-to-iot-and-...
55•warrenm•2d ago•46 comments

One Token to rule them all – Obtaining Global Admin in every Entra ID tenant

https://dirkjanm.io/obtaining-global-admin-in-every-entra-id-tenant-with-actor-tokens/
207•colinprince•11h ago•34 comments

A postmortem of three recent issues

https://www.anthropic.com/engineering/a-postmortem-of-three-recent-issues
297•moatmoat•14h ago•96 comments

Boring is good

https://jenson.org/boring/
192•zdw•2d ago•48 comments

History of the Gem Desktop Environment

https://nemanjatrifunovic.substack.com/p/history-of-the-gem-desktop-environment
28•ibobev•3h ago•13 comments

Hypervisor 101 in Rust

https://tandasat.github.io/Hypervisor-101-in-Rust/
119•pykello•9h ago•9 comments

YouTube addresses lower view counts which seem to be caused by ad blockers

https://9to5google.com/2025/09/16/youtube-lower-view-counts-ad-blockers/
367•iamflimflam1•20h ago•667 comments

Stepping Down as Libxml2 Maintainer

https://discourse.gnome.org/t/stepping-down-as-libxml2-maintainer/31398
100•zdw•10h ago•49 comments

How Container Filesystem Works: Building a Docker-Like Container from Scratch

https://labs.iximiuz.com/tutorials/container-filesystem-from-scratch
37•thunderbong•3d ago•0 comments

Towards a Physics Foundation Model

https://arxiv.org/abs/2509.13805
62•NeoInHacker•7h ago•12 comments

Ton Roosendaal to step down as Blender chairman and CEO

https://www.cgchannel.com/2025/09/ton-roosendaal-to-step-down-as-blender-chairman-and-ceo/
320•cma•17h ago•65 comments

60 years after Gemini, newly processed images reveal details

https://arstechnica.com/space/2025/09/60-years-after-gemini-newly-processed-images-reveal-incredi...
4•rbanffy•2d ago•0 comments

How to Debug Chez Scheme Programs (2002)

https://www.scheme.com/debug/debug.html
36•swatson741•2d ago•2 comments

Elements of C Style (1994)

https://www.teamten.com/lawrence/style/
6•signa11•2d ago•0 comments

What's New in C# 14: Null-Conditional Assignments

https://blog.ivankahl.com/csharp-14-null-conditional-assignments/
123•ivankahl•2d ago•116 comments

A QBasic Text Adventure Still Expanding in 2025

https://the-ventureweaver.itch.io/
45•ATiredGoat•8h ago•19 comments

Show HN: 47jobs – A Fiverr/Upwork for AI Agents

https://47jobs.xyz
9•the_plug•1d ago•28 comments

Apple Photos app corrupts images

https://tenderlovemaking.com/2025/09/17/apple-photos-app-corrupts-images/
1113•pattyj•23h ago•396 comments

Optimizing ClickHouse for Intel's 280 core processors

https://clickhouse.com/blog/optimizing-clickhouse-intel-high-core-count-cpu
193•ashvardanian•16h ago•46 comments

U.S. investors, Trump close in on TikTok deal with China

https://www.wsj.com/tech/details-emerge-on-u-s-china-tiktok-deal-594e009f
410•Mgtyalx•1d ago•596 comments

Drought in Iraq reveals tombs created 2,300 years ago

https://www.smithsonianmag.com/smart-news/severe-droughts-in-iraq-reveals-dozens-of-ancient-tombs...
143•pseudolus•17h ago•23 comments