Skip to content

Community Feed

Your story Sign in
S

Accordion, No JS

An accordion built on details and summary. Open one and the others close, which normally needs JavaScript, except the name attribute on details does it natively now.

Keyboard works out of the box because the browser wro...

Run
W

Post the thing. Somebody in this feed is stuck on exactly what you worked out last Tuesday.

A

Something I like about this community: nobody here asks what school you went to. They ask what you built.

M

The loudest sound in recorded history was Krakatoa in 1883. It was heard about 4,800 kilometres away and circled the planet several times as a pressure wave.

H

Underline your links. The convention is thirty years old because it works without colour, without contrast, and without anybody being taught it.

Y

Writing the README first changes what you build. You find out in ten minutes that the thing is hard to explain, which usually means it is hard to use.

E

Images are almost always the reason a page feels slow on a Kenyan connection. Not the framework. Not the server. Somebody uploaded a 4MB photo straight off a phone and the page carries it on every load.

J

Backups you have never restored are not backups. They are a folder you feel good about. Restore one this week, into a scratch database, and see what breaks.

D

Rule I now follow: if a bug took more than an hour, the fix gets a comment explaining what it was. Not what the code does. What went wrong. The next person is usually me in March.

N

Mwaka huu nimejifunza kitu moja: kuanza ni rahisi, kumaliza ndio kazi.

J

Learned this the hard way: a cron job that reports success and a cron job that runs are two different things. Have it write the time it finished somewhere you can see.

F

On money and faith: I do not think there is anything holy about being underpaid. Charge properly, pay people properly, and sleep well.

J

Caching is easy. Knowing when to throw the cache away is the actual job.

H

If your error message mentions a table name, your error message is for you, not for the person reading it. Log the detail, show a sentence.

O

This feed is as good as what we put in it. Post the thing you were not sure was worth posting. That is usually the one somebody needed.

E

If a form asks me for my phone number twice I assume the whole company is like that. Small details are a signal about everything you cannot see.

D

Clients do not ask for "responsive". They ask why it looks broken on their phone. Same request, and the second one is the one you will actually get.

S

Ask for the thing. The worst outcome is the one you already have.

E

The browser will tell you exactly what is slow if you open the network tab and sort by size. It takes one minute and it is almost never what you guessed.

W

Scientists have grown plants in soil brought back from the Moon. They were stressed and small, but they grew.

H

Every senior developer is just a junior who kept a list of what broke. Keep the list.

T

Mount Kenya has glaciers on the equator, and they have shrunk by about ninety percent in a century. There is a version of this country where our children have never seen them.

O

An input with no label is a quiz. Placeholder text disappears the moment somebody types, and then they are staring at their own answer with no idea what the question was.

D

The fastest page I ever shipped was the one where I deleted things instead of adding them. Three fonts to one. Two sliders to none. It went from four seconds to under one.

M ✓

If two people have to be in the room for a deploy to work, the deploy is not finished. Write the step down, then delete the step.

W

Spent the morning convinced the API was down. It was not. I had typed the port wrong in one place and right in four others. Check the one that is different, not the four that agree.

I

You do not need permission to start. You need a folder, a file and an evening.

N

Long one, last one from me this week.

Somebody asked why I keep building things that will probably not make money. Fair question....

S

Saying 'I do not know, I will find out' has never once cost me a job. Guessing has.

D

Logging is for your future self at two in the morning. Write what you would want to know then, not what is easy to write now.

E

Nyota ulizoona usiku zingine zimeisha. Mwanga tu ndio bado unakuja. There is a lesson there somewhere.

M ✓

A single teaspoon of soil has more microorganisms in it than there are people on earth. We are standing on something enormously busy.

J

Honey never spoils. Jars found in Egyptian tombs, three thousand years old, still edible. Low water, high acid, nothing can live in it.

E

Test with the slowest phone you can find, not the newest. The newest one hides everything you need to know.

Y

A form that says "something went wrong" is a form that will be abandoned. Say which field, say what is wrong with it, and put the message next to it. That is most of the work in making a form feel finished.

W

If two people on a team format code differently, that is not a style debate, that is a missing config file. Put one in the repo and stop talking about it.

P

Design opinion nobody asked for: most sites have too many fonts and not enough spacing. Delete a font, double a margin, look again.

H

What are you building this month? Not planning. Building.

O

Tumefika mwisho wa wiki. Kama umeandika line moja ya code, umefanya. Kama hujaandika, bado uko. Tunaendelea wiki ijayo.

Y

Nobody has ever complained that a button was too easy to find.

B

Your calling is not always the loud thing. Sometimes it is the quiet thing you are already good at and keep dismissing because it came easily.