Community Feed

Your story Log in to post
O

Live Theme Builder

Three sliders writing straight into CSS custom properties, so the whole card restyles as you move them.

Nothing re-renders. The browser recalculates what depends on the variable and nothing else, which is why it stays s...

Run
D

If your site needs JavaScript to show text that already exists on the server, you have made the page slower for everyone to make it easier for you. Sometimes that trade is right. Make it on purpose.

S

Wombat droppings are cube shaped. The intestine has sections of different elasticity that shape it. This is real and somebody won a prize for proving it.

E

Nilijaribu kuexplain kwa mum kazi yangu. Nikasema natengeneza website. Akauliza, 'na hizo zinamalizika lini?'. Swali gumu.

B

Masonry, No JS

A masonry layout in six lines of CSS using columns. Items of different heights pack together with no gaps and no library.

The catch worth knowing: columns read top to bottom, not left to right, so the order is different...

Run
J

Learning in public is terrifying for about two weeks and then it is just normal, and you have a record of how far you have come.

E

If you are stuck, change the medium. Explain it out loud. Draw it. Write it as if to a beginner. The bug usually appears in the translation.

W

Keyboard shortcut that gave me hours back: multi cursor. Learn it in whatever editor you use. It is the one that feels like a superpower.

D

The Great Rift Valley is pulling apart about six millimetres a year. Slow enough to ignore, fast enough that in ten million years there is a new ocean through here.

O

Unapo-push kwa main bila kutest. Mimi ndio huyo. Sijabadilika.

N

The Eiffel Tower gets about 15 centimetres taller in summer. Iron expands with heat. It also leans slightly away from the sun.

T

Cows have best friends and get stressed when separated. There are actual studies measuring heart rate.

D

Nairobi traffic taught me more about queue theory than any course. One slow thing at the front ruins everything behind it, and adding lanes does not fix it.

R

Loading spinners are a promise. If you cannot keep it, show the shape of what is coming instead and let it fill in. People forgive slow far more than they forgive uncertain.

B

Something I am sitting with: ambition and contentment are not opposites. You can want more and still be grateful for where your feet are. The people who cannot do both burn out or stall.

M

Long one about asking for help.

I once spent nine days on a bug. Nine. It was a caching layer returning a stale value in one specific case and I was convinced it was my own logic....

M ✓

The reason your site feels slow on a Kenyan connection and fast on your laptop is not the server. It is the eleven things it downloads before it draws anything.

O

Tooltip, CSS Only

Tooltips with no JavaScript, positioned with one pseudo element and a transform. They read their text from a data attribute, so adding one is adding an attribute.

Hover any of the four.

Run
I

A giraffe's neck has seven vertebrae. Exactly the same number as yours. They are just enormous.

A

Long one about burnout, because somebody needs it.

I hit a wall in March. Not dramatic, no breakdown. I just opened the editor one morning and felt nothing. Did that for about five weeks....

E

Spent today writing documentation instead of features. Felt unproductive. Will feel extremely productive in four months.

J

What is one thing you believed about this industry when you started that turned out to be completely wrong?

T

There is a fungus in Oregon covering about nine square kilometres, thought to be one organism, and somewhere between two and eight thousand years old. The largest living thing we know of.

S

Forms: label every field, and put the label above it, not inside it as a placeholder. A placeholder vanishes the moment somebody starts typing, which is exactly when they need it.

Y

Git tip that took me too long: commit before you try the risky thing, not after it works. The whole point is the rope, and you tie it first.

S

Form validation rule I wish was law: tell me what IS allowed, not just that what I typed is not. "Invalid password" helps nobody.

B

Rename things. Seriously. Spend ten minutes renaming the three worst names in whatever you are working on and watch how much easier the next hour gets.

D

Your side project does not have to become a business. It is allowed to just be a thing you made because you wanted it to exist.

D

Project idea for someone with more time than me: a proper directory of Kenyan APIs. Payments, SMS, logistics, government. Half of them you only hear about from a friend of a friend.

S

Trees talk to each other through fungus in the soil. An older tree will send sugar to a struggling young one of the same species through that network. Forests are less a collection and more a thing.

D

Mtu akikuambia "ni kitu kidogo tu" jua hiyo project ni ya miezi mitatu.

D

Caching is easy. Knowing when to throw it away is the whole job. If you cannot explain in one sentence when a cached thing becomes wrong, do not cache it yet.

S

Short one for whoever is tired: the work will be there tomorrow. It is remarkably good at waiting. Go to sleep.

O

Skeleton Shimmer

The loading skeleton every app uses, in about twelve lines of CSS. One gradient, moved across with background-position.

It swaps to real content after two seconds so you can see both states.

Run
O

Nobody has ever been talked out of a bad architecture by an argument. They get talked out of it by a small working version of the alternative. Build the small version.

J

On quoting a job: the number is not what the work costs you. It is what the problem costs them. Those are very different figures and only one of them is your business.

E

Nobody reads your error message, they read the first four words. Put the fix there. 'Check your connection' beats 'An unexpected error occurred while processing'.

D

Up before the laptop for once.

The work is still there at eight. It is remarkably good at waiting, and the hour before it belongs to you.

Post image
J

A thing about working alone: you will have days with nothing to show. They still count. The week is the unit, not the day.

M

Test on the actual phone. Not the browser pretending to be one.

I have shipped things that looked right in the browser's device view and were unusable in the hand: tap targets too small, text under the thumb, a button b...

Post image