Full Width [alt+shift+f] Shortcuts [alt+shift+k]
Sign Up [alt+shift+s] Log In [alt+shift+l]
29
Some of you might remember the legendary comment of Eric Diven on a Docker CLI issue he opened years ago: @solvaholic: Sorry I missed your comment of many months ago. I no longer build software; I now make furniture out of wood. The hours are long, the pay sucks, and there’s always the opportunity to remove my finger with a table saw, but nobody asks me if I can add an RSS feed to a DBMS, so there’s that :-) I say legendary because it has over 9000 reactions and most are positive. There’s a reason why so many devs resonate with that comment. A lot of us said at some time things like “I’m gonna throw my laptop out the window and start a farm”. Even my last team leader sent me a message out of the blue saying “I think I’ll run a bar. I want to be a bartender and listen to other people’s stories, not figure out why protobuf doesn’t deserialize data that worked JUST FINE for the past three years”. You know the drill, sometimes the world of software development feels so absurd that you just...
10 months ago

Improve your reading experience

Logged in users get linked directly to articles resulting in a better reading experience. Please login for free, it takes less than 1 minute.

More from Copper • A blog about conductive layers

Making my own sharpening blocks

When I started wood carving, the only sharpening method I remembered was from seeing my mother use some kind of smooth broken stone that she passed over the length of the knife blade before sacrificing a chicken. I also remember seeing my father use a very coarse stone wheel placed on a motor shaft which threw many sparks when he sharpened some large axe for splitting wood. I had neither of those around anymore in my rented place in the city so I jumped headfirst in the mind numbing and sometimes esoteric art of getting a sharp blade. crude sharpening methods that my parents used Carving knives The first blade type I had to sharpen was for my BeaverCraft carving knives. They fortunately came with a strop, basically a plywood base in the form of a paddle, with leather stuck to it on both sides, and a green waxy bar. Unfortunately I had no idea what to do with it. BeaverCraft carving knive set Stropping is, at the most basic level, dragging the blade back and forth on a semi-hard surface (like leather). Clean leather won’t make your blade sharper though, and that’s why you have that green bar which you need to rub onto the leather. It contains a fine abrasive that slowly removes tiny amounts of steel from the very tip of your blade to make it sharper. Reading about stropping and watching videos about it gets into a lot of debate on: how often to strop on what angle should the blade be held on the leather should you move from the heel of the blade to the tip, or the reverse can you strop too much and round the apex what is the green compound for and how should it be applied And so on. It’s hard to find much exact science on this, everyone figures it out as they go, and experts share their beliefs based on their extensive experience. I settled on stropping after every 15 minutes of constant carving, but I had no idea what I was doing or if I got any result. That’s one thing I learned that would have relieved me of much frustration at the start: find a way to test the outcome of your motions, otherwise you’ll just keep repeating things that don’t work And it also applies to programming: so many times I’ve seen colleagues writing code but with fear and uncertainty as they didn’t know that what they did would have the expected result. And only because they didn’t know how to test how the code would work. For example they were backend programmers, that only knew how to run their backend python server, but had no idea how to run the whole stack to check if the front end did work correctly with their changes. Or app devs who didn’t know how to use a local database, and instead always feared release day because of how their changes will impact the production db. Nowadays I know how to test for sharpness. If I want a basic working blade I test if the knife cuts printer paper easily and without tearing it. If I want a carving blade, I check if it pops hairs off my arm easily. And I check that often so I don’t do hundreds of blade passes for nothing. Anyway, back to my carving knives. For a long time I did a pretty bad job at keeping them sharp. I would carve for a while then feel the need to push too much into the blade or get tear out in the wood, then I would move the blade back and forth on the strop a few dozens of times, then getting back to carving I would notice a slight improvement which went away after just a few cuts, then back to stropping a thousand times for nothing. Stropping is not sharpening, and after so many cuts those blades needed serious sharpening which a piece of leather doesn’t do. Well, actually, stropping is sharpening, but it’s a very very fine kind of sharpening. It’s similar to using a super fine grit stone, something between 14000 and 100000 grit. The green paste is a super fine abrasive that does remove metal from the apex of the blade, but so little at a time that I would need to do thousands of passes to get the same result that a coarse grit sharpening stone would do in a few passes. I started looking into sharpeners, and because “stones” felt like something old which only my mother used because she didn’t have any better method, I would look into “modern” sharpeners like: pull-through V-blades honing rods powered belt grinders precision sharpening rigs rolling sharpeners modern sharpening methods I tried I tried a few of those expensive methods, ruined a few blades with them, wasted days on reading reviews and watching tutorials… none of those methods felt like a deterministic way to get a sharp blade every time. The precision sharpening rig is probably the closest to that, but I don’t want to waste precious workbench space on that. Also, I can’t take it with me when traveling. Wood planes and chisels Once I got into larger projects, I discovered how to use wood planes (which seems to be thought of as an antiquated method in Romania, manual woodworking is dead here). I also discovered they need frequent sharpening and their blade shape seemed to be perfect for using a flat surface sharpening method like, you know, a stone. tiny block plane I use for chamfering edges Every woodworker on YouTube showed how to sharpen planes on stones so I thought I should probably get one eventually. But which type? There are whetstones, natural stones, ceramic stones, oiled stones, diamond stones, you name it. After trying a ceramic stone which needed to be soaked in water for 5 minutes before doing any sharpening, and constantly wetted between every few passes, and after making a wet mess and chipping the stone and dreading to sharpen because I had to keep the stone in water, I started looking into drier methods. Diamond stones seemed to be more up my alley: a modern method based on an old, tried and true idea. Whetstones and oiled stones are great as well, I just wanted something with less maintenance and more resistant to abuse. At this point I got sick of wasting money on this hobby, so I got the cheapest set of Chinese diamond plates online. It came in a set of 4 thin steel plates with foam backing, each plate having a different grit: 400, 600, 1000 and 1200. Let’s not get into grit standards, it’s probably FEPA but who knows. And what do you know, it worked, it was easy to use, cheap and no special instructions needed. cheap diamond sharpening plates I also got lucky in finding out about the OUTDOORS55 YouTube channel and the science of sharp website who do microscope analysis of blades and methods of sharpening. They’re getting as close as possible to actually knowing what the heck happens when you move the blade on top of a stone, leather, denim or any type of material people have tried sharpening on. This helped me cut through the bullshit fast and get to a simple working method of getting any blade from rusty to shaving sharp in a few minutes. My own sharpening blocks At this point I had these diamond plates scattered on my workbench, I had a leather strop, a green stropping compound bar that painted my fingers green every time I used it, a round diamond file for my hook knives (because you can’t sharpen the inside of curved blades on a flat stone) and a piece of flexible leather for stropping those hook knives. It worked, but it was a mess. And I also work on the go a lot, I always do some wood project at my parents house, carve some branch at a walk in the woods or need to sharpen both a kitchen knife indoors and a chisel outdoors. I wanted to simplify this, but could not find any ready made product I wanted. So I got to doing what I know best, half-assing an improvised product that works for me but would be ashamed of showing it to anyone. First iteration I cut a piece of 18mm thick beech wood into the shape and size of a diamond plate, then stuck a 600 grit plate on one side, and the leather on the other side. beech block with leather strop This not only got the stone and strop higher up from the table which helped a lot with sharpening long knives, but also put them in the same package which I could carry with me. I called this a sharpening block in my mind. To keep the block from slipping while I moved the blade over it, I cut a piece from a non-slip silicone baking mat. Even the small pressure of the blade makes the silicone adhere well to both the block and whatever surface it’s sitting on. non-slip silicone baking mat piece I still didn’t know what to do if I needed a coarser/finer grit, what to do about the green waxy mess of the stropping compound, and how to carry the hook knife sharpeners. The first sharpening block, beech wood base, diamond plate, leather strop Second iteration This summer, my sister-in-law visited from Italy and asked if I could make a coffee table for her. Timing was tight because I had to make it in a week so she could transport it from Romania back to Italy by car. I had no time to find wood slabs so I got two oak wood panels from a big-box store, glued them one on top of the other to make the table-top thicker, and figured I’ll find some table legs afterwards. I found some 15cm diameter smooth beech logs at a firewood seller nearby. Turns out they were leftovers from a veneer factory that can take a really long and thin log slice automatically, leaving the log core as smooth as a turned piece. Making veneer out of tree logs The table turned out pretty nice and solid, her children love sitting on top of it or hiding under it with their toys. I guess it could also be used for holding coffee cups, they didn’t get a chance to try that yet. oak coffee table with beech wood legs So this left me with some 36mm thick oak wood that I thought could make for a better sharpening block. This time, I glued two coarse and fine grit plates back to back (either 400/1000 or 600/1200) and embedded some neodymium magnets inside the wood to keep the diamond steel plates firmly attached but able to flip easily. oak block with embedded magnets to hold the diamond steel plate For the strop, I didn’t have any leather left and it was crazy expensive, so I looked into alternatives. You can basically use any semi-hard porous surface for a strop, even plain thick cardboard. It just needs to hold the fine particles of the compound and not flex too much when pressing the blade into it. People seem to use leather, denim, cotton, felt, cardboard, balsa wood etc. After building my workbench, and the leg vise for it which needed some rubberized cork for the vise faces, I now found myself with 3m² of that rubberized cork on my hands because I could only buy it in bulk here. I tested the cork for stropping and I was amazed to see it’s even better than leather: it holds more compound which makes it last more the bars of waxy compound break down easier when dragging them across cork, almost like drawing with wax crayons. On leather I needed to heat the bars often. it doesn’t get cut as easily. I would often drag the blade wrongly across the leather, cutting into it. The cork is like a self-healing material where cuts disappear it’s cheaper it can be shaped by sanding, which allows me to give the strop rounded edges that are great for stropping recurve blades (those knives which curve to the inside and annoyingly only make contact with the edge of the strop) it doesn’t dry and curl like leather So I cut and glued a 3mm thick piece of that cork on the other side of the oak base and loaded it with pink corundum stropping compound. Yes, this is the time I discovered the even more esoteric world of stropping, lapping and honing compounds which are not green bars of waxy stuff. We’ll get to that. rubberized cork strop with pink compound The 36mm thick oak gave me enough space to drill 20mm diameter holes with a forstner bit, where I could place a wooden dowel lined with that same cork for honing the hook knives. Another hole was for the stropping compound. stropping compound and round strop embedded in the block I finally reached an all-in-one sharpening block, super stable, with coarse enough grit for getting a bad blade into shape fast, fine grit for sharpening, enough strop for a few years and a way to sharpen recurves and hook knives. Presentation of the oak sharpening block It was a bit too thick though… Stropping compounds The green stuff Most people get a green bar of compound and use it all their life and never think about it. But nooo, I had to do research and see what that compound contains and why is it so waxy and is there better stuff? My understanding is that the green stuff is made of very fine particles of chromium oxide, which is also used as green pigment in cosmetics and painting, and is why it makes everything in your life green when touched. Dialux Vert green stropping compound I had a Dialux Vert bar, and searching for its material safety data sheet surfaces the following: Composition/information on ingredients: So it is made of very fine particles of chromium and aluminum oxide suspended in paraffin wax. Does that mean it can be melted and poured into cylindrical molds? Yes it does! Adding some green flakes in a small cup with walnut oil in it allows it to be melted in a microwave oven. Any type of oil works, I tested sunflower oil, olive oil, coconut oil, mineral oil etc. you just need some kind of non-solid fat to make the paste less viscous when melted. After lining the 20mm hole with wax paper and pouring the melted mix, it solidified as a green cylinder with a chapstick-like consistency, that I could easily get out and apply to the cork. Diamonds In the last decade, diamond pastes and sprays started becoming popular for stropping. diamond powder, paste and spray Diamond powder was widely used for lapping gemstones for a long time, and diamond paste was being used in the dental industry for polishing implants. Eventually people figured they can suspend the very fine diamonds in a sprayable emulsion, advertise it for stropping and ask a ton of money for it. Diamond sprays are not accessible here in Romania, but I was able to get some lapping pastes of 3 microns and 0.25 microns particle size to test. For reference, chromium oxide green polishing compound is usually formulated with 0.5 microns particle size, but that doesn’t mean that all particles are of that size. That’s like the average particle size which gives you an idea of what kind of polish you can expect from it. I admit, I like diamonds. They’re easy to apply by squirting the paste from a syringe, I can throw it in a bag without making a green mess, it does seem to cut metal very slightly faster and lasts a bit longer between applications. But a tiny syringe that lasts 3 months costs more than a green bar that lasts me years. I can’t make this compromise. There are people that bought the diamond powder directly and made their own pastes and emulsions but it all seems too complicated for little gain. I did try some cheap Chinese AliExpress diamond pastes, but for the life of me I can’t figure out how they calculate the grit and particle size. I bought the finest I could find which is listed as W0.5 micron mesh. I don’t know what means but it doesn’t get to a shaving sharp blade easily. Cubic boron nitride Looking into other abrasives, there’s another loved stropping compound: cubic boron nitride or CBN emulsions. It’s impossible to buy that here, but it’s way too expensive anyway and I’m pretty sure the difference would be marginal. People tout that CBN and diamonds are actually necessary for harder steels, but I’ve yet to see that tested. My guess is that it’s just people’s way of justifying the purchase of a new and expensive toy, we’re all guilty of that. Wikipedia says that Cr₂O₃ has a hardness of 8 to 8.5 Mohs which is far higher than plain steel at 4 Mohs and even higher than tungsten at 7.5 Mohs. If it can scratch tungsten, I’d say it can hone a steel knife. Corundum I eventually found a pale pink compound that has the same fine grit as the green one, but without the color problem. 800g brick of pink corundum stropping compound It’s made from corundum, which is aluminum oxide without the chromium. It’s harder than the green stuff (at 9 Mohs), doesn’t leave its color everywhere, and it’s dirt cheap. I bought the Lea Chromax brand and I’m very happy with it so far. I paid €10 for a huge 800g brick that will last me a lifetime. I break small chalk-like pieces from it that I pocket or leave throughout the house to ensure I always hame some on hand. It applies easily to both cork and leather and doesn’t flake off or stick to the blade. I gifted sharpening blocks along with pieces of stropping compound to many friends and relatives and the pink Chromax block still looks as large as when I bought it. Third iteration I am working on a way to merge the all-in-one quality of the thick oak block with the pocketability of the thin beech block. I also got my hands on some narrow 20mm width diamond plates of very fine 3000grit. I find them useful for when I need a very sharp blade for doing finishing cuts on a spoon or when planing dense wood. I’d like to integrate this plate somehow in the block. fine diamond plate of 3000 grit It could maybe be glued to the side of a 20mm thick block of wood, and used hand held instead of on a table. I did try that on the beech block I already had, and it seems to work nicely. It’s not that hard to sharpen freehand and handheld as long as it’s just for doing the last fine honing on an already sharp blade. beech block with the 3000 grit diamond plate on the side The wax paper method for pouring melted compound is also not ideal. I’m thinking that pouring the compound into a chapstick tube would make it easier to use, and be thinner so it can fit inside a hole in the wood block. I also have these round diamond files which are great for sharpening round blades, serrated knifes, drill bits, even some rip cut saws. They come as a double-ended rod with a conical file on one end, and a round + flat file on the other end, and they’re meant to be placed in a pencil-like holder. round diamond file, cut in half I cut the rod in half with an angle grinder as I can’t fit the whole length of the rod inside the wood block. With only half of it, I can drill a 6mm hole in the block to embed the file. I can’t fit the cork lined wooden rod for honing though. I only have 3mm thick cork for now which is way too thick for this use case. There’s this thing called Nanocloth which is like a thin microfiber cloth specifically for CBN and diamond emulsions. It’s hella expensive and I would never buy such a thing, but it gave me an idea: I could try wrapping some thin felt cloth around a 10mm diameter wooden dowel. It should hopefully fit in the block and hold enough compound for stropping. And I guess that’s it, that would be my ideal sharpening method: a compact block of solid wood with 2 wide diamond plates on one face (coarse and fine grit) a cork strop on the other face a narrow diamond plate on the side (very fine grit) an embedded round diamond file an embedded strop rod and a stropping compound, inside the wood block somehow, that’s easy to get out and apply And all that in a cheap package that should cost less than $30 to assemble. I’m still working on it, I prepared some new 18mm oak blocks and I’ll update this post with the results.

5 months ago 49 votes
Woodworking as an escape from the absurdity of software

Some of you might remember the legendary comment of Eric Diven on a Docker CLI issue he opened years ago: @solvaholic: Sorry I missed your comment of many months ago. I no longer build software; I now make furniture out of wood. The hours are long, the pay sucks, and there’s always the opportunity to remove my finger with a table saw, but nobody asks me if I can add an RSS feed to a DBMS, so there’s that :-) I say legendary because it has over 9000 reactions and most are positive. There’s a reason why so many devs resonate with that comment. A lot of us said at some time things like “I’m gonna throw my laptop out the window and start a farm”. Even my last team leader sent me a message out of the blue saying “I think I’ll run a bar. I want to be a bartender and listen to other people’s stories, not figure out why protobuf doesn’t deserialize data that worked JUST FINE for the past three years”. You know the drill, sometimes the world of software development feels so absurd that you just want to buy a hundred alpaca and sell some wool socks and forget about solving conflicts in package.json for the rest of your life. I went through those stages too: when the Agile meetings got so absurd that we were being asked to estimate JIRA task time in T-shirt sizes, I quit my well paying job so I can spend that time creating macOS apps. Recently, when people started coming with so many unrealistic and absurd expectations and demands about my apps, I think I’ll soon quit software development altogether. It’s just not making sense anymore for me. A bit of history Most of my pre-college time was spent on things I didn’t want to do. I had a bit of childhood, but then I started going to school 6 hours per day, with 1-2 hours spent on commute after 5th grade. I only liked the 10-minute breaks between classes where I played basketball or practiced parkour. Every day after I came back from school, I had to work in agriculture, either out in the field with crazy winds and sun and UV radiation, or inside the greenhouse where it’s either a 50°C sauna or a muddy rainforest. I was very bad at every job I was given, but it’s what my parents did for a living and I had to help them, no questions asked. The few hours that remained, usually very late at night, tired both physically and mentally, I spent practicing acoustic guitar, doing bodybuilding exercises, writing poetry or drawing portraits. me, ages ago, playing a classical guitar on someone's old couch I almost never did homework or memorize whatever had to be memorized for the next day of school. I just couldn’t justify spending those few hours I had left on even more stuff I did not want to do. When I found my liberty in college, hundreds of kilometers away from my parents, it’s like something clicked. I suddenly became incapable of doing work that I found meaningless. Failing classes became acceptable, quitting jobs was something I did with little remorse if I felt I wasn’t helping anyone with the work I was assigned, and bureaucracy became a disease I had to avoid at all costs. I still washed the dishes though. Cleaning and other “chores” never felt meaningless for some reason. The first wood thing I did … was a chess board and piece set. With magnets inside them. Where the pieces look nothing like ordinary chess pieces. chess board, first iteration I was trying to get the pieces to snap into place in a satisfying way, and make sure the game stays that way when kids or dogs inevitably bump the table where the board sits. You know how Magnus Carlsen always adjusts his pieces so meticulously before a game? Well I have half of that obsession as well so I wanted to avoid doing that. Magnus Carlsen adjusting his pieces before a game pawn snapping into its square because of the magnet inside How it was done I started with a cheap but hefty pine board which I rounded with a lot of sandpaper. Then I asked my wife to help me colour in the darker squares because I’m pretty bad at colouring inside the edges (both literally and figuratively). We used some wood floor markers for that and the colour seems to be holding well. Most chess board builds you see on YouTube are done by gluing squares of different wood species with alternating colors, but I had neither the skill nor the tools to do that. Then I drilled holes for the super strong neodymium magnets from the underside of the board, having to get really close to the top side without passing through. I failed on two squares, but some wood putty took care of that. sculpting chess pieces with my dremel on the balcony I spent a few sunny days on the balcony sculpting the pieces with a badly sharpened knife and my Dremel. This was quite satisfying, there’s something really nice about seeing a non-descript rectangle take the shape of a little horse in your hands. I mean knight, but in Romanian that piece is called “horse”, and I really don’t see any knight there. chess board, start to finish Regarding the design, I got some inspiration after seeing these modernist chess sets, which not only looked beautiful in my eyes, but also had these geometric shapes that didn’t need that much sculpting to replicate. I found ready-to-buy spheres and cubes of wood at a craft shop around me (which took care of pawns and rooks), and the rest were carved out of rectangles and cones of wood. Modernist chess set designs Kaval Two Octobers ago, a Romanian music band called Subcarpați was holding a free “make a Kaval with your own hands” course, where a flute artisan taught the basics of his trade for a week. The Kaval or “caval” is a long flute with 5 holes and a distinct lower register where notes can sound melancholic and coming from far away, as opposed to the thin cheerful sound of the small shepherd flute. Kaval sample in G minor Ever since I bought my first Kaval, I always wanted to learn how to build one myself. It’s one of those trades where there’s very little info on the internet, so it feels almost mystical compared to what I’m used to in programming. I would also have the chance to walk home with the finished flute, so of course I went to the course. Making my own Kaval, in B minor I loved the fact that we worked in teams of two, and that everything had to be done by hand with no power tools. Even the long bore through the 70cm branch of elder tree had to be done with a hand drill, taking turns to rest our hands. The artisan had been a shepherd himself since childhood, and taught himself with a lot of trial and error about how to build good sounding flutes and how to make the holes so that the flute stays in tune. But he didn’t know why the holes should be at those specific distances or why the wood tube should be of that specific length for each scale. I wanted to know those things, because I had an idea of making a universal Kaval that can play in any scale. You see, if you want to play on top of songs in various scales, you need a Kaval made for each specific scale. So you’ll need an A minor flute, and a B minor one and a C minor one and so on, for a total of 12 different flute lengths. I eventually found info on how a flute works by thinking about it as an open or closed tube where the vibrating air creates nodes and antinodes that should coincide with the hole position. At the moment I’m still studying this and working towards my “universal flute” goal. The physical world has no undo button A few days ago I was walking with my dog around the university and I saw an elderberry tree with a really straight and already dead branch. I thought that might be great for trying to do another kaval, so I went back home to grab my folding saw to cut this branch. I brought it home, cut it to about 78cm for an A minor kaval, straightened it in the vise and started boring a hole through it. I used a 12mm drill first because elder branches have this spongious core that was exactly 12mm in my case. I was able to drill end to end in less than 10 minutes, first time I managed to do this successfully. Drilling a hole through an elder tree branch For such a large flute, you usually need a larger 16mm or 18mm hole to get enough volume, so I went ahead and used the 16mm drill to enlarge the hole. After about 10cm, things started squeaking loudly and smoking so I got the branch out of the vise to inspect it. Because the branch was not completely straight, the drill came out of the side and it was hitting the harder wood of the vise. Damn.. another wasted branch, there’s not a lot of straight material around me in the city. Man, how I wish I could hit undo and just experiment with the good 12mm hole. This reality hit me many times while working with wood in the past 6 months. I didn’t even realise that my mind got so used to having git and backups and Cmd-Z that those expectations transferred to the physical world as well. Move fast and break things is no longer a good mantra for me. I gave the broken branch to my dog, she loves chewing large sticks and got a real kick out of it. Her face definitely said BEST STICK EVER!! for about 5 minutes of pure bliss, so apparently nothing was wasted in the end. What does this have to do with software? For the past 10 years I lived in rented apartments, usually at the 3rd or 4th story with no access to a courtyard. I was never able to get used to that, given that all my childhood I lived and played in a 2000m² courtyard, on a road where there were more slow horse carriages than noisy cars. This year I moved into a rented house with a tiny but welcoming garden and a bit of paved court and only now I notice the effect this has had on my mind and behaviour. I develop macOS apps for a living, and there are some unhealthy things in this field that piled up over the years. I get a lot of messages in a demanding and negative tone, and because walking outside the apartment meant unbearable car noise, obnoxious smells and zero privacy, I always defaulted to simply acting on the feedback, putting up with it and working long hours into the night, instead of going for a walk to calm down. A few months ago, the most absurd demands started coming up for my apps: things like “why does your app not control the volume of my <weird sound device>? why don’t you just do it, people pay you for it” when the app in question is Lunar, an app for controlling monitor brightness, not sound devices. Or “why do you disable your apps from working on Windows?”, or “make Clop compress text and copy it to clipboard” (where Clop is my app that automatically compresses copied images, videos and PDFs, I have no idea what compressing text even means in that context). But this time, I was able to simply walk out the front door, grab a branch of beech wood, and, because I remembered my wife saying we forgot to package the french rolling pin when moving, I took out my pocket knife and started carving a simple rolling pin for her. It was so liberating to be able to just ignore those messages for a while and do something with my hands. the rolling pin is such a simple tool and to this day, my wife still tells me how much she likes it because it's exactly the right length and thickness for making her tasty egg noodles.. and best of all, it was free I understand that those people don’t know better, and they would have no idea that there’s no checkbox where you can choose whether an app works on macOS, Windows or Linux. I understand how if the app does something with audio volume or compression, some think that it should do everything related to those workloads, even if it’s completely outside the scope of the app. But the combination of the negative tone and getting message after message, some people being so persistent that they insist on sending me those messages through all possible mediums (email, Discord, Twitter, contact form, they’ll find me everywhere), makes it hard to just ignore them. There’s also this oily smell of AI and machine learning in the tech atmosphere, where I no longer feel relevant and I seem to have stopped caring about new tech when I noticed that 8 in 10 articles are about some new LLM or image generation model. I guess I like the smell of wood better. Side tangent on privileges of being a software dev I know I’m privileged to even be able to have the choice of what to do with my time. I got lucky when I chose a computer science university at the right time which allowed me to progress towards a huge semi-passive income in the last 10 years. that doesn’t mean I didn’t work my ass off, but luck plays a huge role too I got “lucky” to have my mind traumatised into some kind of OCD-like state where I hate leaving a thing unfinished. So I plow through exhaustion, skip meals, miss house chores and annoy dear people around me because I know “I just need to fix this little thing” and I’ll finish this app/feature/task I started. Even though I also know there’s no real deadline and I can leave it half-finished and the world won’t end. But even if it sounds annoying for a person like me to whine about how I don’t feel good or I feel burnt out, the privilege doesn’t negate the feelings. The regression to the norm will make everyone, rich or poor, get used to the status quo and complain about every thing that’s just a little worse than their current state. That’s happiness and sadness in a nutshell. I’m also vaguely aware that software dev as we know it is about to disappear soon, and I got tired of learning the newest thing just to have it replaced next year. I got tired of back pain and chronic finger pain from so many hours of sitting and typing, I’d rather have pain from work that also builds some muscle. And I got so tired of everything being online, immaterial, ephemeral and lonely, like indie development tends to be. Woodworking with cheap tools and free wood This house we rented is small and the owners had to fit the bedroom upstairs. I really don’t like climbing stairs up and down, especially when I have to let my dog out three times per night. So we gave up a room and started furnishing our own bedroom downstairs. I didn’t want to buy bedside tables for the price of the bed itself, so I thought I could maybe make by own. I’m not yet skilled enough to build my own bed though, so we had to buy that. Another day on a walk with my dog, I noticed that some trees were getting trimmed in the vicinity of our house and there were a lot of white birch branches on the side of the road. I said why not? ¯\_(ツ)_/¯, grabbed some branches and walked like a lunatic with white long sticks dangling up and down and a black frenetic dog zig-zagging left and right, all the way home. I had another small pine panel left from that chess project so I started thinking about the simplest way to turn what I have into a bedside table. pine board with birch branches I used low-grit sandpaper to give the board some nice round corners because I love squircles, swallowed about a spoonful of sawdust because I couldn’t find any breathing mask left, criss-crossed 4 branches in a way that would give a stable base, and screwed them to the underside of the board with long wood screws. The legs would wobble around though, so I drilled small 3mm holes into each branch where they met in the middle, and weaved a florist wire through them to keep the table steady. Bedside table, made out of pine with birch legs The laptop bed table After I’ve shown the bedside table to a friend of mine, he said he also needed a laptop table for those mornings when he’d rather not get out of bed. I wanted to say that’s not very healthy, but what got out instead was sure thing, I’ll do it!. Oh well.. I still had the large desk top I glued from smaller beech boards, on which I worked for the past 4 years. It stayed unused currently, so I cut part of it and built this cute thing: cute but heavy laptop table, made out of glued beech wood You’ll notice three defining features that every laptop table should have: a hole for a charging cable a carved coaster for the coffee cup a mildly surprised face? 😦 To tell the truth, all those are side effects of me drilling holes where there should be no hole, and dropping the board on the ground multiple times because my workbench was not large enough. All the things that could go wrong, went wrong with this table. I hid the defects by turning them into features. The whole truth actually is that the table looks nothing like what I planned. I bought these nice hidden brass cylindrical hinges to make the table foldable. That way, you could fold the sides flat inside and use it as some kind of armchair desk if you wanted. Brass hinges I wasn’t able to drill the correctly sized or positioned holes for the hinges because I still lack a lot of knowledge and skill in working with wood. So after losing my temper with the frickin’ hinges that still didn’t fit after a full day of drilling and chiseling, I glued the sides and inserted 2 trusty long wood screws per side, which I patched with a glue gun that made the screw holes look like eyes. After I also carved the handles, the table grew kind of a personality of its own, as you can see above. Why didn’t I do some wood joint, like a dovetail instead of ugly screws and glue? Because I had no idea they existed. Also, I wasn’t even able to fit a simple hinge, I would’ve probably never finished this table if I tried learning wood joinery on it. This reminds me of how whenever I did pair programming with a colleague, I noticed how they were doing some “nonoptimal” action and I would say: Why don’t you just use ripgrep instead of sifting through all these files? Because they don’t know it exists, stupid. Or because they just want to get this thing done and move on, they don’t grep files all day like you do. Learn from my mistakes, don’t think you know better or assume the other person needs your way of doing things. Maybe let them know after the fact, in a short message linking to the tool, and let them try it in their own time. But in my ignorance, I seem to have chosen a good enough joining method. As you can see in this wood joinery comparison, 5cm (2inch) screws can hold more than 50kg (110lbs) of force, and I used even longer screws so I think it’s going to hold a 3kg laptop just fine. Oh right, forgot about this little detail.. I also added a cork pocket for holding a notebook, tablet, phone etc. which I lined with a microfiber cloth on the inside for strength and sewn to the wood with that leftover alpaca wool for style. Cork pocket sewn to the table side The bookshelf without books Large bookshelf (200x120x40 cm), made out of pine boards While we were stuck in the apartment in the 2020 pandemic, me and my wife bought a lot of stuff that we thought would help us learn new things and start new hobbies. I thought I’m going to build smart LED lighting all my life and my wife would become a professional wool knitter. We were losing our minds, for sure. So now we were stuck with crates of stuff we haven’t used in years, and didn’t want to start unpacking them around the house. The clutter that followed after the pandemic, tired our minds just as much as the lockdown itself. We dumped the crates on an unused stairway spot, and I thought that a bookshelf as large as that spot would clear the clutter. Before: clutter | After: organized clutter But I could not find any bookshelf that large, certainly not for cheap. So I traced a few lines in Freeform, took some measurements, and ordered a bunch of large pine boards and a ton of long screws. I also ordered the cheapest portable workbench I could find ($30) that had a vise, so I can stop making sawdust inside. A few days later, I got to sawing the shelves to size with my cheap Japanese pull saw I bought from Lidl years ago. Hint: Hand sawing a long wood board with no skill will certainly end up with a crooked edge. Stacking up 5 boards one on top of the other will still end up crooked. Uhm, I guess the hint is, buy a track saw, or make sure the crooked edge isn’t visible. Hand sawing a straight long edge is not easy. making the bookshelf My wife helped a lot with measuring and figuring out where to drill holes and place the screws, while my dog inspected the work regularly to make sure the defects were hidden correctly. It took two days of screwing.. erm.. driving screws, I mean. But in the end we got the result we wanted! And I got sores in my right arm for days, driving those long screws is harder than I thought. The desk that became a workbench In the thumbnail of this post you can see the current “workbench” I use, which is basically that $30 vise workbench I bought for the bookshelf, with the top of my previous “coding desk” attached in the front. my current workbench In the image you can see (bottom-left to top, then right): the cheapest block plane I could find ($8) a red no-name plane I found in the shed of that 100-year old house that we never finished rebuilding because of legal reasons an axe I found rusted and partly broken in the same shed, on which I learnt how to sharpen and restore axes a folding japanese pull saw that I take everywhere with me some grip blocks on which I place boards for sanding a bottle of Osmo Polyx oil I use for finishing (this is the Rubio Monocoat for poor people) a set of carving knives from Beavercraft (really good and they were available at a nice discount) a combination square (tucked somewhere at the top of the bench) a branch of elder tree, which is prepared for drilling a hole through it for making a kaval I also own some no-name chisels that work well enough for now and some card scrapers that I still struggle sharpening. The only power tools I have are a Makita drill and a random orbit sander on which I did spend some money, an old circular saw I found in that same old shed (it was good enough to cut miters on that laptop table) and a Dremel I use rarely because I don’t like its power cord. I prefer battery powered tools. The window bench Our dog Cora loves sitting at the window, growling at old people and barking at children passing around. Yeah, she’s terrified of children for some reason. But the window sill is not wide enough and her leg kept falling with a “clang” on the radiator below. So I widened it by placing two glued up boards of pine on top of the radiator, that I planed and smoothed beforehand. Cora sitting at the window Cora at the window, with the widened sill This is when I learned that a hand plane is not some antique tool that nobody uses anymore, but a quite versatile piece that can easily smoothen grain where I would waste 5 sheets of sandpaper and choke on sawdust. I had to still let the heat radiate somehow, so I drilled large holes with a forstner bit, but I also blew the grain fibers on the underside because I had no idea of this possible problem. Turns out there is a simple solution to drilling large holes without ripping the fibers: Drill a small 3-6mm hole in the center with a normal wood drill, all the way to the other side (this will help you see where the forstner bit should be placed from both sides of the board) Place the forstner bit in the hole (this also helps with keeping the bit centered) and drill the large hole, stopping midway through the board Turn the board around and repeat step 2 until you meet the other end of the hole We also wanted to sit with Cora and there was not much space between the bed and the radiator for a regular chair, so I built a narrow bench. I used another two pine boards of the same size, but this time glued them on the side to create a wider board. For the legs, well the tree trimming continued throughout the spring, so one day I found some thick cherry branches which I brought home, scraped the bark from them, then attached them to the bench using screws from the top side. I was ok with a rustic look so I didn’t spend much on finishing, patching holes, or even proper wood drying. I did use the hand plane to chamfer the edges though, I love taking those thin continuous wood shavings from the edge. Window bench, in the morning sun The trunk coffee table Coffee table made out of a beech log We recently visited my parents, and loved how the grass finally started growing in some spots where their house and court renovation was finished and was no longer spewing cement dust. It was an abnormally sunny April and I wanted to chat with them at a coffee outside in the early morning before they started the field work, but there was nowhere to place the coffee outside. First world problems right? If you’ve read about The tail end, you might already understand why a trivial thing like coffee time with my parents feels so important to me. So one day, while walking on a gravel road near their house, I noticed one neighbour had these huge logs of beech that were recently cut. I thought that would be easy to turn into a small exterior coffee table, so I went to ask if I could buy one. Well I kind of had to yell “HELLO!” at their gate because I didn’t know their name, and did that a few times until a seemingly sleepy old man in pyjamas (it was 5 in the afternoon) appeared at the front door asking what I want. I asked how much he’d want for one of those logs, but he just said to get one, no money needed. Ok, there’s no point in insisting, I chose a wide enough but not too wide log, because these things are heavy and I wasn’t sure I could lift it, and rolled it slowly back home. I didn’t have my usual tools at my parents house, so I improvised. I found a battered cleaver which my dad used for chopping kindling for the barbecue. I sharpened it as well as I could, then used a hammer to roll a burr on the back of the cleaver that I could use for scraping. Scraping the bark off the beech log Beech wood has such a smooth hard wood under the bark that it didn’t even need sanding. I used my dad’s power planer to smooth out the top and make a quasi-flat surface then finished it with some walnut oil and it was (almost) ready! Because the wood was so green, it was certain that it will crack and roughen as it dried. So I cut a groove and wrapped a flat iron band around the top to keep it from moving too much. The bottom can expand as much as it wants, I’m actually quite curious to watch the table morph throughout the summer as we use it. The orchard bench Bench made from reclaimed wood, for my parents-in-law orchard Because we were born in villages that aren’t that far apart, me and my wife always visit both our parents in the same trip. This time when I got to my parents-in-law, I took a stroll through their little orchard. They added new trees this year! I can’t wait to taste the large apricots. What struck me as odd about the orchard was that there was no patch of grass to lay on. They like digging up the soil every year, and leaving it like that: an arid looking patch of land made of dry dirt boulders. I thought a bench would be a good solution and what do you know, there was an old broken door thrown in the firewood pile just outside the orchard, that had the perfect length and width for a bench. I forgot to take a photo of the door, but it looked kind of like this one, only worse and with a large rhomboid ◊ hole at the top. old broken wooden door I got to work immediately, dismantling the door piece by piece and pulling out nail after nail (they really liked their nails in those old times). I was left with two long and narrow wooden boards, a pile of rotten wood and two pocketfuls of rusted nails. I sawed the broken ends of the boards, then I used my father-in-law’s power planer (do all Romanian dads have a power planer or what?) to remove the old gray wood from the top, bottom and sides to get to the fresh wood below. There were a lot of holes and valleys so I had to scrape them by hand with sandpaper rolled around a screwdriver. This took a few more days than I expected, but I eventually got two cleanish boards of.. fir? pine? No idea. I used a velcro sandpaper attachment for the battery powered drill to sand out the rotten sides and give the boards a curvy and smooth live edge. Curvy edge on the bench, made by sanding out the rotten wood For the legs, I stole some more firewood from my in-laws pile, where I found some thick branches of unidentified species that were roughly the same length. Stripping the bark with an axe made them look good enough so I screwed them in at the four corners of the board. The bench was wobbly with just the legs, so I strengthened it sideways by adding shorter and thinner branches of more unidentified wood between the legs and the center of the board. I had to do something with the rhomboid ◊ hole, so I filled it with a square 4-by-4 salvaged from a recently dismantled shed, and now the bench has 5 legs. Instead of sawing the leg to size, I left it protruding above the bench and placed another thick salvaged board on top of it to serve as an arm rest, or coffee table, or a place for the bowl of cherries. For the finish, I burned the bench and the bottom of the legs to get a honey-brown aspect and to make it water resistant. I put a very thin layer of whatever wood lacquer I found in my in-laws shed, just for resistance because I don’t like glossy wood. Side photo of the bench for a better view of the legs Other small wood things Water glass shelf We don’t have much space on the current eating table, so I built a two-shelf stand where we can place the always present water filter jug and the glasses and free up some of the center space. It’s incredible how strong just a few screws can be. Table shelf for holding water filter and glasses Kaval stand I thought I should finally do something about the kavals always rolling around on some table or couch throughout the house, so I made a stand from long thin wood boards glued on the side, and finished it with sunflower oil to give it a golden/orange colour. This way I can always expand it by adding more boards to the side if I want to add more flutes. Stand for holding my kaval collection Sharpening block I need to sharpen blades almost daily, be it the pocket knife, axe, plane blade or chisels. So I made a custom sharpening block with the perfect tools for my sharpening technique. Sharpening block, diamond plate with leather strop on a beech base It has a $5 diamond plate with 600 grit on one side and a $5 leather strop (a piece of leather belt might work just as well) on the other side. I attached the leather with two small screws at the top so I can take it out easily if I need a flexible strop for my carving gouge for example. It is loaded with 0.25 micron diamond paste which can be found for cheap at gemstone cutting online stores (the knife-specific pastes are a lot more expensive and I’m not sure why). To be honest, a $0.5 green compound (chromium oxide) works just as well for stropping, that’s what I used before and still use for my detail carving knives. It gives a smoother edge than the diamond, the disadvantage being that it needs to be re-applied more often on the leather and that you need a bit more blade passes to get the same result. The diamonds seem be cutting faster, but really not much faster. A bit of a tangent on the sharpening topic I went through all the phases with sharpening tools. I’ve used water stones, natural stones, ceramic stones, pull-through carbide sharpeners (don’t use these), powered belt sharpeners, wheel sharpeners. Aside from the pull-through sharpeners and the steel rods, all the others work just as well with the right technique. I settled on the diamond plate because they’re cheap, portable, stay flat, need zero maintenance, and can cut through any type of metal. Paired with a leather strop, for me it’s the simplest way to sharpen. I recommend this OUTDOORS55 video for a no-bullshit sharpening tutorial and the Science of Sharp blog if you’re curious what the different sharpening techniques do to an edge under a microscope.

10 months ago 44 votes
Woodworking as an escape from the absurdity of software

Some of you might remember the legendary comment of Eric Diven on a Docker CLI issue he opened years ago: @solvaholic: Sorry I missed your comment of many months ago. I no longer build software; I now make furniture out of wood. The hours are long, the pay sucks, and there’s always the opportunity to remove my finger with a table saw, but nobody asks me if I can add an RSS feed to a DBMS, so there’s that :-) I say legendary because it has over 9000 reactions and most are positive. There’s a reason why so many devs resonate with that comment. A lot of us said at some time things like “I’m gonna throw my laptop out the window and start a farm”. Even my last team leader sent me a message out of the blue saying “I think I’ll run a bar. I want to be a bartender and listen to other people’s stories, not figure out why protobuf doesn’t deserialize data that worked JUST FINE for the past three years”. You know the drill, sometimes the world of software development feels so absurd that you just want to buy a hundred alpaca and sell some wool socks and forget about solving conflicts in package.json for the rest of your life. I went through those stages too: when the Agile meetings got so absurd that we were being asked to estimate JIRA task time in T-shirt sizes, I quit my well paying job so I can spend that time creating macOS apps. Recently, when people started coming with so many unrealistic and absurd expectations and demands about my apps, I think I’ll soon quit software development altogether. It’s just not making sense anymore for me. A bit of history Most of my pre-college time was spent on things I didn’t want to do. I had a bit of childhood, but then I started going to school 6 hours per day, with 1-2 hours spent on commute after 5th grade. I only liked the 10-minute breaks between classes where I played basketball or practiced parkour. Every day after I came back from school, I had to work in agriculture, either out in the field with crazy winds and sun and UV radiation, or inside the greenhouse where it’s either a 50°C sauna or a muddy rainforest. I was very bad at every job I was given, but it’s what my parents did for a living and I had to help them, no questions asked. The few hours that remained, usually very late at night, tired both physically and mentally, I spent practicing acoustic guitar, doing bodybuilding exercises, writing poetry or drawing portraits. me, ages ago, playing a classical guitar on someone's old couch I almost never did homework or memorize whatever had to be memorized for the next day of school. I just couldn’t justify spending those few hours I had left on even more stuff I did not want to do. When I found my liberty in college, hundreds of kilometers away from my parents, it’s like something clicked. I suddenly became incapable of doing work that I found meaningless. Failing classes became acceptable, quitting jobs was something I did with little remorse if I felt I wasn’t helping anyone with the work I was assigned, and bureaucracy became a disease I had to avoid at all costs. I still washed the dishes though. Cleaning and other “chores” never felt meaningless for some reason. The first wood thing I did … was a chess board and piece set. With magnets inside them. Where the pieces look nothing like ordinary chess pieces. chess board, first iteration I was trying to get the pieces to snap into place in a satisfying way, and make sure the game stays that way when kids or dogs inevitably bump the table where the board sits. You know how Magnus Carlsen always adjusts his pieces so meticulously before a game? Well I have half of that obsession as well so I wanted to avoid doing that. Magnus Carlsen adjusting his pieces before a game pawn snapping into its square because of the magnet inside How it was done I started with a cheap but hefty pine board which I rounded with a lot of sandpaper. Then I asked my wife to help me colour in the darker squares because I’m pretty bad at colouring inside the edges (both literally and figuratively). We used some wood floor markers for that and the colour seems to be holding well. Most chess board builds you see on YouTube are done by gluing squares of different wood species with alternating colors, but I had neither the skill nor the tools to do that. Then I drilled holes for the super strong neodymium magnets from the underside of the board, having to get really close to the top side without passing through. I failed on two squares, but some wood putty took care of that. sculpting chess pieces with my dremel on the balcony I spent a few sunny days on the balcony sculpting the pieces with a badly sharpened knife and my Dremel. This was quite satisfying, there’s something really nice about seeing a non-descript rectangle take the shape of a little horse in your hands. I mean knight, but in Romanian that piece is called “horse”, and I really don’t see any knight there. chess board, start to finish Regarding the design, I got some inspiration after seeing these modernist chess sets, which not only looked beautiful in my eyes, but also had these geometric shapes that didn’t need that much sculpting to replicate. I found ready-to-buy spheres and cubes of wood at a craft shop around me (which took care of pawns and rooks), and the rest were carved out of rectangles and cones of wood. Modernist chess set designs Kaval Two Octobers ago, a Romanian music band called Subcarpați was holding a free “make a Kaval with your own hands” course, where a flute artisan taught the basics of his trade for a week. The Kaval or “caval” is a long flute with 5 holes and a distinct lower register where notes can sound melancholic and coming from far away, as opposed to the thin cheerful sound of the small shepherd flute. Kaval sample in G minor Ever since I bought my first Kaval, I always wanted to learn how to build one myself. It’s one of those trades where there’s very little info on the internet, so it feels almost mystical compared to what I’m used to in programming. I would also have the chance to walk home with the finished flute, so of course I went to the course. Making my own Kaval, in B minor I loved the fact that we worked in teams of two, and that everything had to be done by hand with no power tools. Even the long bore through the 70cm branch of elder tree had to be done with a hand drill, taking turns to rest our hands. The artisan had been a shepherd himself since childhood, and taught himself with a lot of trial and error about how to build good sounding flutes and how to make the holes so that the flute stays in tune. But he didn’t know why the holes should be at those specific distances or why the wood tube should be of that specific length for each scale. I wanted to know those things, because I had an idea of making a universal Kaval that can play in any scale. You see, if you want to play on top of songs in various scales, you need a Kaval made for each specific scale. So you’ll need an A minor flute, and a B minor one and a C minor one and so on, for a total of 12 different flute lengths. I eventually found info on how a flute works by thinking about it as an open or closed tube where the vibrating air creates nodes and antinodes that should coincide with the hole position. At the moment I’m still studying this and working towards my “universal flute” goal. The physical world has no undo button A few days ago I was walking with my dog around the university and I saw an elderberry tree with a really straight and already dead branch. I thought that might be great for trying to do another kaval, so I went back home to grab my folding saw to cut this branch. I brought it home, cut it to about 78cm for an A minor kaval, straightened it in the vise and started boring a hole through it. I used a 12mm drill first because elder branches have this spongious core that was exactly 12mm in my case. I was able to drill end to end in less than 10 minutes, first time I managed to do this successfully. Drilling a hole through an elder tree branch For such a large flute, you usually need a larger 16mm or 18mm hole to get enough volume, so I went ahead and used the 16mm drill to enlarge the hole. After about 10cm, things started squeaking loudly and smoking so I got the branch out of the vise to inspect it. Because the branch was not completely straight, the drill came out of the side and it was hitting the harder wood of the vise. Damn.. another wasted branch, there’s not a lot of straight material around me in the city. Man, how I wish I could hit undo and just experiment with the good 12mm hole. This reality hit me many times while working with wood in the past 6 months. I didn’t even realise that my mind got so used to having git and backups and Cmd-Z that those expectations transferred to the physical world as well. Move fast and break things is no longer a good mantra for me. I gave the broken branch to my dog, she loves chewing large sticks and got a real kick out of it. Her face definitely said BEST STICK EVER!! for about 5 minutes of pure bliss, so apparently nothing was wasted in the end. What does this have to do with software? For the past 10 years I lived in rented apartments, usually at the 3rd or 4th story with no access to a courtyard. I was never able to get used to that, given that all my childhood I lived and played in a 2000m² courtyard, on a road where there were more slow horse carriages than noisy cars. This year I moved into a rented house with a tiny but welcoming garden and a bit of paved court and only now I notice the effect this has had on my mind and behaviour. I develop macOS apps for a living, and there are some unhealthy things in this field that piled up over the years. I get a lot of messages in a demanding and negative tone, and because walking outside the apartment meant unbearable car noise, obnoxious smells and zero privacy, I always defaulted to simply acting on the feedback, putting up with it and working long hours into the night, instead of going for a walk to calm down. A few months ago, the most absurd demands started coming up for my apps: things like “why does your app not control the volume of my <weird sound device>? why don’t you just do it, people pay you for it” when the app in question is Lunar, an app for controlling monitor brightness, not sound devices. Or “why do you disable your apps from working on Windows?”, or “make Clop compress text and copy it to clipboard” (where Clop is my app that automatically compresses copied images, videos and PDFs, I have no idea what compressing text even means in that context). But this time, I was able to simply walk out the front door, grab a branch of beech wood, and, because I remembered my wife saying we forgot to package the french rolling pin when moving, I took out my pocket knife and started carving a simple rolling pin for her. It was so liberating to be able to just ignore those messages for a while and do something with my hands. the rolling pin is such a simple tool and to this day, my wife still tells me how much she likes it because it's exactly the right length and thickness for making her tasty egg noodles.. and best of all, it was free I understand that those people don’t know better, and they would have no idea that there’s no checkbox where you can choose whether an app works on macOS, Windows or Linux. I understand how if the app does something with audio volume or compression, some think that it should do everything related to those workloads, even if it’s completely outside the scope of the app. But the combination of the negative tone and getting message after message, some people being so persistent that they insist on sending me those messages through all possible mediums (email, Discord, Twitter, contact form, they’ll find me everywhere), makes it hard to just ignore them. There’s also this oily smell of AI and machine learning in the tech atmosphere, where I no longer feel relevant and I seem to have stopped caring about new tech when I noticed that 8 in 10 articles are about some new LLM or image generation model. I guess I like the smell of wood better. Side tangent on privileges of being a software dev I know I’m privileged to even be able to have the choice of what to do with my time. I got lucky when I chose a computer science university at the right time which allowed me to progress towards a huge semi-passive income in the last 10 years. that doesn’t mean I didn’t work my ass off, but luck plays a huge role too I got “lucky” to have my mind traumatised into some kind of OCD-like state where I hate leaving a thing unfinished. So I plow through exhaustion, skip meals, miss house chores and annoy dear people around me because I know “I just need to fix this little thing” and I’ll finish this app/feature/task I started. Even though I also know there’s no real deadline and I can leave it half-finished and the world won’t end. But even if it sounds annoying for a person like me to whine about how I don’t feel good or I feel burnt out, the privilege doesn’t negate the feelings. The regression to the norm will make everyone, rich or poor, get used to the status quo and complain about every thing that’s just a little worse than their current state. That’s happiness and sadness in a nutshell. I’m also vaguely aware that software dev as we know it is about to disappear soon, and I got tired of learning the newest thing just to have it replaced next year. I got tired of back pain and chronic finger pain from so many hours of sitting and typing, I’d rather have pain from work that also builds some muscle. And I got so tired of everything being online, immaterial, ephemeral and lonely, like indie development tends to be. Woodworking with cheap tools and free wood This house we rented is small and the owners had to fit the bedroom upstairs. I really don’t like climbing stairs up and down, especially when I have to let my dog out three times per night. So we gave up a room and started furnishing our own bedroom downstairs. I didn’t want to buy bedside tables for the price of the bed itself, so I thought I could maybe make by own. I’m not yet skilled enough to build my own bed though, so we had to buy that. Another day on a walk with my dog, I noticed that some trees were getting trimmed in the vicinity of our house and there were a lot of white birch branches on the side of the road. I said why not? ¯\_(ツ)_/¯, grabbed some branches and walked like a lunatic with white long sticks dangling up and down and a black frenetic dog zig-zagging left and right, all the way home. I had another small pine panel left from that chess project so I started thinking about the simplest way to turn what I have into a bedside table. pine board with birch branches I used low-grit sandpaper to give the board some nice round corners because I love squircles, swallowed about a spoonful of sawdust because I couldn’t find any breathing mask left, criss-crossed 4 branches in a way that would give a stable base, and screwed them to the underside of the board with long wood screws. The legs would wobble around though, so I drilled small 3mm holes into each branch where they met in the middle, and weaved a florist wire through them to keep the table steady. Bedside table, made out of pine with birch legs The laptop bed table After I’ve shown the bedside table to a friend of mine, he said he also needed a laptop table for those mornings when he’d rather not get out of bed. I wanted to say that’s not very healthy, but what got out instead was sure thing, I’ll do it!. Oh well.. I still had the large desk top I glued from smaller beech boards, on which I worked for the past 4 years. It stayed unused currently, so I cut part of it and built this cute thing: cute but heavy laptop table, made out of glued beech wood You’ll notice three defining features that every laptop table should have: a hole for a charging cable a carved coaster for the coffee cup a mildly surprised face? 😦 To tell the truth, all those are side effects of me drilling holes where there should be no hole, and dropping the board on the ground multiple times because my workbench was not large enough. All the things that could go wrong, went wrong with this table. I hid the defects by turning them into features. The whole truth actually is that the table looks nothing like what I planned. I bought these nice hidden brass cylindrical hinges to make the table foldable. That way, you could fold the sides flat inside and use it as some kind of armchair desk if you wanted. Brass hinges I wasn’t able to drill the correctly sized or positioned holes for the hinges because I still lack a lot of knowledge and skill in working with wood. So after losing my temper with the frickin’ hinges that still didn’t fit after a full day of drilling and chiseling, I glued the sides and inserted 2 trusty long wood screws per side, which I patched with a glue gun that made the screw holes look like eyes. After I also carved the handles, the table grew kind of a personality of its own, as you can see above. Why didn’t I do some wood joint, like a dovetail instead of ugly screws and glue? Because I had no idea they existed. Also, I wasn’t even able to fit a simple hinge, I would’ve probably never finished this table if I tried learning wood joinery on it. This reminds me of how whenever I did pair programming with a colleague, I noticed how they were doing some “nonoptimal” action and I would say: Why don’t you just use ripgrep instead of sifting through all these files? Because they don’t know it exists, stupid. Or because they just want to get this thing done and move on, they don’t grep files all day like you do. Learn from my mistakes, don’t think you know better or assume the other person needs your way of doing things. Maybe let them know after the fact, in a short message linking to the tool, and let them try it in their own time. But in my ignorance, I seem to have chosen a good enough joining method. As you can see in this wood joinery comparison, 5cm (2inch) screws can hold more than 50kg (110lbs) of force, and I used even longer screws so I think it’s going to hold a 3kg laptop just fine. Oh right, forgot about this little detail.. I also added a cork pocket for holding a notebook, tablet, phone etc. which I lined with a microfiber cloth on the inside for strength and sewn to the wood with that leftover alpaca wool for style. Cork pocket sewn to the table side The bookshelf without books Large bookshelf (200x120x40 cm), made out of pine boards While we were stuck in the apartment in the 2020 pandemic, me and my wife bought a lot of stuff that we thought would help us learn new things and start new hobbies. I thought I’m going to build smart LED lighting all my life and my wife would become a professional wool knitter. We were losing our minds, for sure. So now we were stuck with crates of stuff we haven’t used in years, and didn’t want to start unpacking them around the house. The clutter that followed after the pandemic, tired our minds just as much as the lockdown itself. We dumped the crates on an unused stairway spot, and I thought that a bookshelf as large as that spot would clear the clutter. Before: clutter | After: organized clutter But I could not find any bookshelf that large, certainly not for cheap. So I traced a few lines in Freeform, took some measurements, and ordered a bunch of large pine boards and a ton of long screws. I also ordered the cheapest portable workbench I could find ($30) that had a vise, so I can stop making sawdust inside. A few days later, I got to sawing the shelves to size with my cheap Japanese pull saw I bought from Lidl years ago. Hint: Hand sawing a long wood board with no skill will certainly end up with a crooked edge. Stacking up 5 boards one on top of the other will still end up crooked. Uhm, I guess the hint is, buy a track saw, or make sure the crooked edge isn’t visible. Hand sawing a straight long edge is not easy. making the bookshelf My wife helped a lot with measuring and figuring out where to drill holes and place the screws, while my dog inspected the work regularly to make sure the defects were hidden correctly. It took two days of screwing.. erm.. driving screws, I mean. But in the end we got the result we wanted! And I got sores in my right arm for days, driving those long screws is harder than I thought. The desk that became a workbench In the thumbnail of this post you can see the current “workbench” I use, which is basically that $30 vise workbench I bought for the bookshelf, with the top of my previous “coding desk” attached in the front. my current workbench In the image you can see (bottom-left to top, then right): the cheapest block plane I could find ($8) a red no-name plane I found in the shed of that 100-year old house that we never finished rebuilding because of legal reasons an axe I found rusted and partly broken in the same shed, on which I learnt how to sharpen and restore axes a folding japanese pull saw that I take everywhere with me some grip blocks on which I place boards for sanding a bottle of Osmo Polyx oil I use for finishing (this is the Rubio Monocoat for poor people) a set of carving knives from Beavercraft (really good and they were available at a nice discount) a combination square (tucked somewhere at the top of the bench) a branch of elder tree, which is prepared for drilling a hole through it for making a kaval I also own some no-name chisels that work well enough for now and some card scrapers that I still struggle sharpening. The only power tools I have are a Makita drill and a random orbit sander on which I did spend some money, an old circular saw I found in that same old shed (it was good enough to cut miters on that laptop table) and a Dremel I use rarely because I don’t like its power cord. I prefer battery powered tools. The window bench Our dog Cora loves sitting at the window, growling at old people and barking at children passing around. Yeah, she’s terrified of children for some reason. But the window sill is not wide enough and her leg kept falling with a “clang” on the radiator below. So I widened it by placing two glued up boards of pine on top of the radiator, that I planed and smoothed beforehand. Cora sitting at the window Cora at the window, with the widened sill This is when I learned that a hand plane is not some antique tool that nobody uses anymore, but a quite versatile piece that can easily smoothen grain where I would waste 5 sheets of sandpaper and choke on sawdust. I had to still let the heat radiate somehow, so I drilled large holes with a forstner bit, but I also blew the grain fibers on the underside because I had no idea of this possible problem. Turns out there is a simple solution to drilling large holes without ripping the fibers: Drill a small 3-6mm hole in the center with a normal wood drill, all the way to the other side (this will help you see where the forstner bit should be placed from both sides of the board) Place the forstner bit in the hole (this also helps with keeping the bit centered) and drill the large hole, stopping midway through the board Turn the board around and repeat step 2 until you meet the other end of the hole We also wanted to sit with Cora and there was not much space between the bed and the radiator for a regular chair, so I built a narrow bench. I used another two pine boards of the same size, but this time glued them on the side to create a wider board. For the legs, well the tree trimming continued throughout the spring, so one day I found some thick cherry branches which I brought home, scraped the bark from them, then attached them to the bench using screws from the top side. I was ok with a rustic look so I didn’t spend much on finishing, patching holes, or even proper wood drying. I did use the hand plane to chamfer the edges though, I love taking those thin continuous wood shavings from the edge. Window bench, in the morning sun The trunk coffee table Coffee table made out of a beech log We recently visited my parents, and loved how the grass finally started growing in some spots where their house and court renovation was finished and was no longer spewing cement dust. It was an abnormally sunny April and I wanted to chat with them at a coffee outside in the early morning before they started the field work, but there was nowhere to place the coffee outside. First world problems right? If you’ve read about The tail end, you might already understand why a trivial thing like coffee time with my parents feels so important to me. So one day, while walking on a gravel road near their house, I noticed one neighbour had these huge logs of beech that were recently cut. I thought that would be easy to turn into a small exterior coffee table, so I went to ask if I could buy one. Well I kind of had to yell “HELLO!” at their gate because I didn’t know their name, and did that a few times until a seemingly sleepy old man in pyjamas (it was 5 in the afternoon) appeared at the front door asking what I want. I asked how much he’d want for one of those logs, but he just said to get one, no money needed. Ok, there’s no point in insisting, I chose a wide enough but not too wide log, because these things are heavy and I wasn’t sure I could lift it, and rolled it slowly back home. I didn’t have my usual tools at my parents house, so I improvised. I found a battered cleaver which my dad used for chopping kindling for the barbecue. I sharpened it as well as I could, then used a hammer to roll a burr on the back of the cleaver that I could use for scraping. Scraping the bark off the beech log Beech wood has such a smooth hard wood under the bark that it didn’t even need sanding. I used my dad’s power planer to smooth out the top and make a quasi-flat surface then finished it with some walnut oil and it was (almost) ready! Because the wood was so green, it was certain that it will crack and roughen as it dried. So I cut a groove and wrapped a flat iron band around the top to keep it from moving too much. The bottom can expand as much as it wants, I’m actually quite curious to watch the table morph throughout the summer as we use it. The orchard bench Bench made from reclaimed wood, for my parents-in-law orchard Because we were born in villages that aren’t that far apart, me and my wife always visit both our parents in the same trip. This time when I got to my parents-in-law, I took a stroll through their little orchard. They added new trees this year! I can’t wait to taste the large apricots. What struck me as odd about the orchard was that there was no patch of grass to lay on. They like digging up the soil every year, and leaving it like that: an arid looking patch of land made of dry dirt boulders. I thought a bench would be a good solution and what do you know, there was an old broken door thrown in the firewood pile just outside the orchard, that had the perfect length and width for a bench. I forgot to take a photo of the door, but it looked kind of like this one, only worse and with a large rhomboid ◊ hole at the top. old broken wooden door I got to work immediately, dismantling the door piece by piece and pulling out nail after nail (they really liked their nails in those old times). I was left with two long and narrow wooden boards, a pile of rotten wood and two pocketfuls of rusted nails. I sawed the broken ends of the boards, then I used my father-in-law’s power planer (do all Romanian dads have a power planer or what?) to remove the old gray wood from the top, bottom and sides to get to the fresh wood below. There were a lot of holes and valleys so I had to scrape them by hand with sandpaper rolled around a screwdriver. This took a few more days than I expected, but I eventually got two cleanish boards of.. fir? pine? No idea. I used a velcro sandpaper attachment for the battery powered drill to sand out the rotten sides and give the boards a curvy and smooth live edge. Curvy edge on the bench, made by sanding out the rotten wood For the legs, I stole some more firewood from my in-laws pile, where I found some thick branches of unidentified species that were roughly the same length. Stripping the bark with an axe made them look good enough so I screwed them in at the four corners of the board. The bench was wobbly with just the legs, so I strengthened it sideways by adding shorter and thinner branches of more unidentified wood between the legs and the center of the board. I had to do something with the rhomboid ◊ hole, so I filled it with a square 4-by-4 salvaged from a recently dismantled shed, and now the bench has 5 legs. Instead of sawing the leg to size, I left it protruding above the bench and placed another thick salvaged board on top of it to serve as an arm rest, or coffee table, or a place for the bowl of cherries. For the finish, I burned the bench and the bottom of the legs to get a honey-brown aspect and to make it water resistant. I put a very thin layer of whatever wood lacquer I found in my in-laws shed, just for resistance because I don’t like glossy wood. Side photo of the bench for a better view of the legs Other small wood things Water glass shelf We don’t have much space on the current eating table, so I built a two-shelf stand where we can place the always present water filter jug and the glasses and free up some of the center space. It’s incredible how strong just a few screws can be. Table shelf for holding water filter and glasses Kaval stand I thought I should finally do something about the kavals always rolling around on some table or couch throughout the house, so I made a stand from long thin wood boards glued on the side, and finished it with sunflower oil to give it a golden/orange colour. This way I can always expand it by adding more boards to the side if I want to add more flutes. Stand for holding my kaval collection Sharpening block I need to sharpen blades almost daily, be it the pocket knife, axe, plane blade or chisels. So I made a custom sharpening block with the perfect tools for my sharpening technique. Sharpening block, diamond plate with leather strop on a beech base It has a $5 diamond plate with 600 grit on one side and a $5 leather strop (a piece of leather belt might work just as well) on the other side. I attached the leather with two small screws at the top so I can take it out easily if I need a flexible strop for my carving gouge for example. It is loaded with 0.25 micron diamond paste which can be found for cheap at gemstone cutting online stores (the knife-specific pastes are a lot more expensive and I’m not sure why). To be honest, a $0.5 green compound (chromium oxide) works just as well for stropping, that’s what I used before and still use for my detail carving knives. It gives a smoother edge than the diamond, the disadvantage being that it needs to be re-applied more often on the leather and that you need a bit more blade passes to get the same result. The diamonds seem be cutting faster, but really not much faster. A bit of a tangent on the sharpening topic I went through all the phases with sharpening tools. I’ve used water stones, natural stones, ceramic stones, pull-through carbide sharpeners (don’t use these), powered belt sharpeners, wheel sharpeners. Aside from the pull-through sharpeners and the steel rods, all the others work just as well with the right technique. I settled on the diamond plate because they’re cheap, portable, stay flat, need zero maintenance, and can cut through any type of metal. Paired with a leather strop, for me it’s the simplest way to sharpen. I recommend this OUTDOORS55 video for a no-bullshit sharpening tutorial and the Science of Sharp blog if you’re curious what the different sharpening techniques do to an edge under a microscope.

10 months ago 31 votes
The complex simplicity of my static websites

It was the spring of 2014, over 9 years ago, just 6 months into my first year of college, when my Computer Architecture teacher stopped in the middle of an assembly exercise to tell us that Bitdefender is hiring juniors for Malware Researcher positions. I had no idea what that is, but boy, did it sound cool?… I fondly remember how at that time we weren’t chasing high salaries and filtering jobs by programming languages and frameworks. We just wanted to learn something. As students, we needed money as well of course, but when I got the job for 1750 lei (~€350), I suddenly became the richest 18 year old in my home town, so it wasn’t the top priority. And we learnt so much in 2 years.. obscure things like AOP, a lot of x86 assembly, reverse engineering techniques which dumped us head first into languages like Java, .NET, ActionScript? (malware authors were creative). But most of all, we did tons of Python scripting, and we loved every minute of it. It was my first time getting acquainted with fast tools like Sublime Text and FAR Manager. Coming from Notepad++ and Windows Explorer, I felt like a mad hacker with the world at my fingertips. I’m known as a macOS app dev nowadays, but 9 years ago, I actually started by writing petty Python scripts which spurred the obsessive love I have nowadays for clean accolade-free code and indentation based languages. What does all that have to do with static websites though? Pythonic HTML Well, 5 years ago, when I launched my first macOS app, I found myself needing to create a simple webpage to showcase the app and at the very least, provide a way to download it. And HTML I did not want to write. The XML like syntax is something I always dreaded, so overfilled with unnecessary </> symbols that make both writing and reading much more cumbersome. I wanted Python syntax for HTML so I went looking for it. I went through pug… 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 doctype html html head title Lunar - The defacto app for controlling monitor brightness meta(itemprop='description' content='...') style. a.button { background: bisque; padding: 0.5rem 1rem; color: black; border-radius: 0.5rem; } body { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; } body h1(style='color: white; font: bold 3rem monospace') Lunar img(src='https://files.lunar.fyi/display-page.png' style='width: 80%') a.button(href='https://files.lunar.fyi/releases/Lunar.dmg') Download pretty, but still needs () for attributes, and I still need accolades in CSS and JS then haml… 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 !!! %html{lang: "en"} %head %meta{content: "text/html; charset=UTF-8", "http-equiv" => "Content-Type"}/ %title Lunar - The defacto app for controlling monitor brightness %meta{content: "...", itemprop: "description"}/ :css a.button { background: bisque; padding: 0.5rem 1rem; color: black; border-radius: 0.5rem; } body { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; } %body{style: "background: #2e2431; min-height: 90vh"} %h1{style: "color: white; font: bold 3rem monospace"} Lunar %img{src: "https://files.lunar.fyi/display-page.png", style: "width: 80%"}/ %a.button{href: "https://files.lunar.fyi/releases/Lunar.dmg"} Download even more symbols: %, :, => and / for self-closing tags …and eventually stumbled upon Slim and its Python counterpart: Plim 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 doctype html html lang="en" head title Lunar - The defacto app for controlling monitor brightness meta itemprop="description" content="..." -stylus a.button background bisque padding 0.5rem 1rem color black border-radius 0.5rem body display flex flex-direction column align-items center justify-content center text-align center body style="background: #2e2431; min-height: 90vh" h1 style="color: white; font: bold 3rem monospace" Lunar img src="https://files.lunar.fyi/display-page.png" style="width: 80%" a.button href="https://files.lunar.fyi/releases/Lunar.dmg" Download ahhh.. so clean! Here’s how that example looks like if I would have to write it as HTML: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 <!DOCTYPE html> <html> <head> <title>Lunar - The defacto app for controlling monitor brightness</title> <meta itemprop="description" content="..."> <style> a.button { background: bisque; padding: 0.5rem 1rem; color: black; border-radius: 0.5rem; } body { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; } </style> </head> <body> <h1 style="color: white; font: bold 3rem monospace">Lunar</h1> <img src="https://files.lunar.fyi/display-page.png" style="width: 80%"> <a class="button" href="https://files.lunar.fyi/releases/Lunar.dmg">Download</a> </body> </html> not particulary hard to read, but writing would need a lot of Shift-holding and repeating tags The thing I like most about Plim, and why I stuck with it, is that it can parse my other favorite symbol-hating languages without additional configuration: Python for abstracting away repeating structures Stylus for writing style tags CoffeeScript for the script tags Markdown for long text content Here’s a more complex example to showcase the above features (might require sunglasses): example of writing a HDR page section, similar to the one on lunar.fyi 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 ---! # use Python to generate the dynamic image sizes for the srcset attr WIDTHS = [1920, 1280, 1024, 768, 640, 320] def srcset(image, ext, page_fraction=1.0): return ','.join( f'/img/{image}/{width}.{ext} {width // page_fraction:.0f}w' for width in WIDTHS ) doctype html html lang="en" head -stylus # use Stylus to do a readable media query that checks for wide color gamut @media screen and (color-gamut: p3) @supports (-webkit-backdrop-filter: brightness(1.5)) section#xdr -webkit-backdrop-filter: brightness(1) filter: brightness(1.5) body section#xdr picture source type="image/webp" srcset=${srcset('xdr', 'webp', 0.3)} source type="image/png" srcset=${srcset('xdr', 'png', 0.3)} -md # write markdown that renders as inline HTML Unlock the full brightness of your XDR display The **2021 MacBook Pro** and the **Pro Display XDR** feature an incredibly bright panel *(1600 nits!)*, but which is locked by macOS to a third of its potential *(500 nits...)*. Lunar can **remove the brightness lock** and allow you to increase the brightness past that limit. -coffee # use CoffeeScript to detect if the browser might not support HDR $ = document.querySelector safari = /^((?!chrome|android).)*safari/i.test navigator.userAgent window.onload = () -> if not safari $('#xdr')?.style.filter = "none" a[href="https://youtu.be/cVAcRH9b44w?t=55"] { display: none; } @media screen and (color-gamut: p3) { video#xdr { display: block !important; } a[href="https://youtu.be/cVAcRH9b44w?t=55"] { display: inline !important; } } And best of all, there is no crazy toolchain, bundler or dependency hell involved. No project structure needed, no configuration files. I can just write a contact.plim file, compile it with plimc to a readable contact.html and have a /contact page ready! So that’s how it went with my app: I wrote a simple index.plim, dropped it on Netlify and went on with my day. Complexity Cost 1 pip install for getting the Plim CLI 1 npm install for getting stylus and coffeescript (optional) 1 build command for generating the HTML files Complex simplicity The app managed to get quite a bit of attention, and while I kept developing it, for the next 4 years the website remained the same heading - image - download button single page. It was only a side project after all. Working for US companies from Romania made good money, but it was so tiring to get through 3h of video meetings daily, standups, syntax nitpicking in PR review, SCRUM bullshit, JIRA, task writing, task assigning, estimating task time in T-shirt sizes?? In April 2021 I finally got tired of writing useless code and selling my time like it was some grain silo I could always fill back up with even more work… I bet on developing my app further. Since my college days, I always chose the work that helps me learn new concepts. At some point I had to understand that I learnt enough and had to start sharing. This time I really wanted to write software that helped people, and was willing to spend my savings on it. Comically Stuffed Stylesheets A more complete app also required a more complete presentation website, but the styling was getting out of hand. You would think that with flexbox and grids, you can just write vanilla CSS these days, but just adding a bit of variation requires constant jumping between the CSS and HTML files. A presentation page is usually only 10% HTML markup. The rest is a ton of styling and copy text, so I wanted to optimize my dev experience for that. There’s no “go to definition” on HTML .classes or #ids because their styles can be defined ✨anywhere✨. So you have to Cmd-F like a madman and be very rigorous on your CSS structure. The controversial but very clever solution to this was Tailwind CSS: a large collection of short predefined classes that mostly style just the property they hint at. For example in the first code block I had to write a non-reusable 5-line style to center the body contents. 1 2 3 4 5 6 7 body { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; } With Tailwind, I would have written the body tag like so: 1 body.flex.flex-col.justify-center.items-center.text-center That might not seem like much, some would argue that it’s even a lot less readable than the CSS one. Can’t I just define a .center class that I can reuse? Well, think about a few things: this might repeat on many sections of the page, but with slight variations (what if I want a centered row, or longer paragraphs of text aligned to the left) responsive sections might need to alter layout (e.g. vertical on mobile, horizontal on desktop) and media queries will quickly blow up the style size .md:flex-row.flex-col is what you would write in Tailwind adding dark/light mode support is yet another media query .dark:bg-white.bg-black looks simple enough interactions like hover effects, complex shadows and filters like blur and brightness is syntax that’s often forgotten .shadow.hover:shadow-xl creates a lift off the page effect on hover by making the shadow larger .blur.active:blur-none un-blurs an element when you click on it choosing colors and reusing them needs a lot of attention .bg-red-500.text-white sets white text on saturated red red-100 is less saturated, towards white red-900 is darker, towards black li:nth-child(4) > ul > li > code { transition: box-shadow 0.55s ease-in-out, filter 0.55s ease-in-out; } #tailwind-usefulness + ul > li:nth-child(4) > ul > li > code:hover { transition: box-shadow 0.25s ease-in-out, filter 0.15s ease-out; } #tailwind-usefulness + ul > li:nth-child(3) > ul > li:nth-of-type(1) > code { background: black !important; color: rgb(255, 200, 149) !important; } @media (prefers-color-scheme: dark) { #tailwind-usefulness + ul > li:nth-child(3) > ul > li:nth-of-type(1) > code { background: white !important; color: hsl(19, 72%, 32%) !important; } } #tailwind-usefulness + ul > li:nth-child(4) > ul > li:nth-of-type(1) > code { box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1); } #tailwind-usefulness + ul > li:nth-child(4) > ul > li:nth-of-type(1) > code:hover { box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); } @media (prefers-color-scheme: dark) { #tailwind-usefulness + ul > li:nth-child(4) > ul > li:nth-of-type(1) > code:hover { box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.5), 0 8px 10px -6px rgb(0 0 0 / 0.7); } } #tailwind-usefulness + ul > li:nth-child(4) > ul > li:nth-of-type(2) > code { filter: blur(4px); } #tailwind-usefulness + ul > li:nth-child(4) > ul > li:nth-of-type(2) > code:active { filter: blur(0) !important; } #tailwind-usefulness + ul > li:nth-child(5) > ul > li:nth-of-type(1) > code { background: #ef4444 !important; color: white !important; } #tailwind-usefulness + ul > li:nth-child(5) > ul > li:nth-of-type(2) > code { background: #fee2e2 !important; color: black !important; } #tailwind-usefulness + ul > li:nth-child(5) > ul > li:nth-of-type(3) > code { background: #7f1d1d !important; color: white !important; } Sure, long lines of classes might not be so readable, but neither are long files of CSS styling. At least the Tailwind classes are right there at your fingertips, and you can replace a -lg with a -xl to quickly fine tune your style. Complexity Cost: 1 command added for building the minimal CSS from the classes used 1 npm install for getting the Tailwind CLI 1 config file for defining custom colors, animations etc. (optional) Responsive images So many people obsess over the size of their JS or CSS, but fail to realize that the bulk of their page is unnecessarily large and not well compressed images. Of course, I was one of those people. For years, my app’s website had a screenshot of its window as an uncompressed PNG, loading slowly from top to bottom and chugging the user’s bandwidth. I had no idea, but screenshots and screen recordings are most of the time up to 10x larger than their visually indistinguishable compressed counterparts. I even wrote an app to fix that since I’m constantly sending screenshots to people and was tired of waiting for 5MB images to upload in rapid chats. It’s called Clop if you want to check it out. Yes, just like that famous ransomware, it wasn’t that famous at the time of naming the app. I needed a lot more images to showcase the features of an app controlling monitor brightness and colors, so I had to improve on this. Delivering the smallest image necessary to the user is quite a complex endeavour: Optimize the image using ImageOptim Resize it to fit multiple screen sizes using vipsthumbnail Figure out what fraction of the page width will be occupied by the image Write a suitable srcset attribute to load the suitable image Optional: convert the image to formats like webp, avif or JPEG XL for smallest file size I did so much of that work manually in the past… thankfully nowadays I have imgproxy to do the encoding, optimization and resizing for me. I just have to write the srcset, for which I defined Plim and Python functions to do the string wrangling for me. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 -def image(img, ext='png', factor=0.4, mobile_factor=1) picture -call img=${img} ext=${ext} factor=${factor} mobile_factor=${mobile_factor} self:sources img srcset=${srcset(img, ext, factor)} -def sources(img, ext='png', factor=0.4, mobile_factor=1) source type="image/avif" srcset=${srcset(img, ext, mobile_factor, convert_to="avif")} media="(max-width: 767px)" source type="image/avif" srcset=${srcset(img, ext, factor, convert_to="avif")} media="(min-width: 768px)" source type="image/webp" srcset=${srcset(img, ext, mobile_factor, convert_to="webp")} media="(max-width: 767px)" source type="image/webp" srcset=${srcset(img, ext, factor, convert_to="webp")} media="(min-width: 768px)" source type="image/${ext}" srcset=${srcset(img, ext, mobile_factor)} media="(max-width: 767px)" source type="image/${ext}" srcset=${srcset(img, ext, factor)} media="(min-width: 768px)" 1 2 3 4 5 6 7 8 9 10 11 12 WIDTHS = [1920, 1280, 1024, 768, 640, 320] def imgurl(image, width, ext="png", convert_to=""): conversion = f"@{convert_to}" if convert_to else "" return f"https://img.panaitiu.com/_/{width}/plain/https://lunar.fyi/img/{urllib.parse.quote(image)}.{ext}{conversion}" def srcset(image, ext="png", factor=1.0, convert_to=""): return ",".join( f"{imgurl(image, width, ext, convert_to)} {width // factor:.0f}w" for width in WIDTHS ) Complexity Cost 1 imgproxy server that needs to run somewhere publicly available, be kept alive and secure some Python and Plim code for generating srcsets Hot reloading After 2 weeks of editing the page, Cmd-Tab to the browser, Cmd-R to refresh, I got really tired of this routine. I worked with Next.js before on Noiseblend and loved how each file change automatically gets refreshed in the browser. Instantly and in-place as well, not a full page refresh. I got the same experience when I worked with React Native. There should be something for static pages too, I thought. Well it turns out there is, it’s called LiveReload and I had to slap my forehead for not searching for it sooner. After installing the browser extension, and running the livereloadx --static file watcher, I got my hot reloading dev experience back. Actually now that I think about it, Hugo has super fast hot reloading, how does it accomplish that? Yep, turns out Hugo uses LiveReload as well. Complexity Cost 1 more command to run in 1 more terminal panel, multiplex helps with that 1 browser extension to install and hope it’s not compromised or sold to a data thief 1 npm install for getting the livereloadx CLI Contact pages After releasing the new app version, many things were broken, expectedly. People tried to reach me in so many ways: Github issues, personal email, through the app licensing provider, even Facebook Messenger. I had no idea that including an official way of contact would be so vital. And I had no idea how to even do it. A contact form needs, like, a server to POST to, right? And that server needs to notify me in some way, and then I have to respond to the user in some other way… sigh I thought about those chat bubbles that a lot of sites have, but I used them on Noiseblend and did not like the experience. Plus I dislike seeing them myself, they’re an eyesore and a nuisance obscuring page content and possibly violating privacy. After long searches, not sure why it took so long, I stumbled upon Formspark: a service that gives you a link to POST your form to, and they send you an email with the form contents. The email will contain the user email in ReplyTo so I can just reply normally from my mail client. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 form action="https://submit-form.com/some-random-id" label for="name" Name input#from hidden="true" name="_email.from" type="text" input#name name="name" placeholder="John Doe" required="" type="text" label for="email" Email input#email name="email" placeholder="john@doe.com" required="" type="email" label for="subject" Subject input#email-subject hidden="true" name="_email.subject" type="text" input#subject name="subject" placeholder="What's this message about?" required="" type="text" label for="message" Message textarea#message name="message" placeholder="Something about our apps perhaps" required="" type="text" rows="6" -coffee # Custom subject and name: https://documentation.formspark.io/customization/notification-email.html#subject nameInput = document.getElementById("name") fromInput = document.getElementById("from") nameInput.addEventListener 'input', (event) -> fromInput.value = event.target.value subjectInput = document.getElementById("subject") emailSubjectInput = document.getElementById("email-subject") subjectInput.addEventListener 'input', (event) -> emailSubjectInput.value = event.target.value Complexity Cost None, I guess. I just hope that the prolific but unique Formspark dev doesn’t die or get kidnapped or something. And you call this “simple”? It’s not. Really. It’s crazy what I had to go through to get to a productive setup that fits my needs. One could say I could have spent all that time on writing vanilla HTML, CSS and JS and I would have had the same result in the same amount of time. I agree, if time would be all that mattered. But for some people (like me), feeling productive, seeing how easy it is to test my ideas and how code seems to flow from my fingertips at the speed of thought, is what decides if I’ll ever finish and publish something, or if I l’ll lose my patience and fallback to comfort zones. Having to write the same boilerplate code over and over again, constant context switching between files, jumping back into a project after a few days and not knowing where everything was in those thousand-lines files.. these are all detractors that will eventually make me say ”f••k this! at least my day job brings money”. Reusability So many JS frameworks were created in the name of reusable components, but they all failed for me. I mean sure, I can “npm install” a React calendar, and I am now “reusing” and not “reimplementing” the hard work of someone better than me at calendar UIs. But just try to stray away a little from the happy path that the component creator envisioned, and you will find it is mind-bendingly hard to bend the component to your specific needs. You might raise a Github issue and the creator will add a few params so you can customize that specific thing, but so will others with different and maybe clashing needs. Soon enough, that component is declared unwieldy and too complex to use, the dev will say “f••k this! I’d rather do furniture” and someone else will come out and say: here’s the next best thing in React calendar libraries, so much simpler to use than those behemoths! I never had this goal in mind but unexpectedly, the above setup is generic enough that I was able to extract it into a set of files for starting a new website. I can now duplicate that folder and start changing site-specific bits to get a new website. Here are the websites I’ve done using this method: lowtechguys.com / where I publish my apps subsol.one / app I made for my brother to publish parties on robert.panaitiu.com / my brother’s personal website lunar.fyi / the app I have been talking about above And the best thing I remember is that for each website I published a working version, good looking enough, with a contact page and small bandwidth requirements, in less than a day. How does this solve the problem of straying away from the happy path? Well, this is not an immutable library residing in node_modules, or a JS script on a CDN. It is a set of files I can modify to the site’s needs. There is no high wall to jump (having to fork a library, figuring out its unique build system etc.) or need to stick to a specific structure. Once the folder is duplicated, it has its own life. For those interested, here is the repo containing the current state of my templates: github.com/alin23/plim-website I don’t recommend using it, it’s possible that I’m the only one who finds it simple because I know what went into it. But if you do, I’d love to hear your thoughts. Gatsby? Jekyll? Hugo? Weirdly, this website I’m writing on is not made with Plim. At some point I decided to start a personal website, and I thought it probably needs a blog-aware site builder. At the time, I didn’t know that RSS is an easily templatable XML file, and that all I need for a blog is to write Markdown. I remember trying Gatsby and not liking the JS ecosystem around it. Jekyll was my second choice with Github Pages, but I think I fumbled too much with ruby and bundle to get it working and lost patience. Both problems stemmed from my lack of familiarity with their ecosystems, but my goal was to write a blog, not learn Ruby and JS. Hugo seemed much simpler, and it was also written in Go and distributed as a standalone binary, which I always like for my tools. I marveled at Hugo’s speed, loved the fact that it supports theming (although it’s not as simple as it sounds) and that it has a lot of useful stuff built-in like syntax highlighting, image processing, RSS generator etc. But it took me sooo long to understand its structure. There are many foreign words (to me) in Hugo: archetypes, taxonomies, shortcodes, partials, layouts, categories, series. Unfortunately, by the time I realized that I don’t need the flexibility that this structure provides, I had already finished this website and written my first article. I also used a theme that uses the Tachyons CSS framework, for which I can never remember the right class to use. I thought about rewriting the website in Plim but converting everything to Tailwind or simple CSS would have been a lot of work. I eventually started writing simple Markdown files for my notes, and have Caddy convert and serve them on the fly. Helps me write from my phone and not have to deal with Git and Hugo. I still keep this for longform content, where a laptop is usually needed anyway.

a year ago 17 votes

More in programming

The Power of Principles in Web Development Decision-Making (article)

Discover how The Epic Programming Principles can transform your web development decision-making, boost your career, and help you build better software.

16 hours ago 3 votes
Our switch to Kamal is complete

In a fit of frustration, I wrote the first version of Kamal in six weeks at the start of 2023. Our plan to get out of the cloud was getting bogged down in enterprisey pricing and Kubernetes complexity. And I refused to accept that running our own hardware had to be that expensive or that convoluted. So I got busy building a cheap and simple alternative.  Now, just two years later, Kamal is deploying every single application in our entire heritage fleet, and everything in active development. Finalizing a perfectly uniform mode of deployment for every web app we've built over the past two decades and still maintain. See, we have this obsession at 37signals: That the modern build-boost-discard cycle of internet applications is a scourge. That users ought to be able to trust that when they adopt a system like Basecamp or HEY, they don't have to fear eviction from the next executive re-org. We call this obsession Until The End Of The Internet. That obsession isn't free, but it's worth it. It means we're still operating the very first version of Basecamp for thousands of paying customers. That's the OG code base from 2003! Which hasn't seen any updates since 2010, beyond security patches, bug fixes, and performance improvements. But we're still operating it, and, along with every other app in our heritage collection, deploying it with Kamal. That just makes me smile, knowing that we have customers who adopted Basecamp in 2004, and are still able to use the same system some twenty years later. In the meantime, we've relaunched and dramatically improved Basecamp many times since. But for customers happy with what they have, there's no forced migration to the latest version. I very much had all of this in mind when designing Kamal. That's one of the reasons I really love Docker. It allows you to encapsulate an entire system, with all of its dependencies, and run it until the end of time. Kind of how modern gaming emulators can run the original ROM of Pac-Man or Pong to perfection and eternity. Kamal seeks to be but a simple wrapper and workflow around this wondrous simplicity. Complexity is but a bridge — and a fragile one at that. To build something durable, you have to make it simple.

2 hours ago 1 votes
Supa Pecha Kucha

slug: supapechakucha

yesterday 3 votes
Closing the borders alone won't fix the problems

Denmark has been reaping lots of delayed accolades from its relatively strict immigration policy lately. The Swedes and the Germans in particular are now eager to take inspiration from The Danish Model, given their predicaments. The very same countries that until recently condemned the lack of open-arms/open-border policies they would champion as Moral Superpowers.  But even in Denmark, thirty years after the public opposition to mass immigration started getting real political representation, the consequences of culturally-incompatible descendants from MENAPT continue to stress the high-trust societal model. Here are just three major cases that's been covered in the Danish media in 2025 alone: Danish public schools are increasingly struggling with violence and threats against students and teachers, primarily from descendants of MENAPT immigrants. In schools with 30% or more immigrants, violence is twice as prevalent. This is causing a flight to private schools from parents who can afford it (including some Syrians!). Some teachers are quitting the profession as a result, saying "the Quran run the class room". Danish women are increasingly feeling unsafe in the nightlife. The mayor of the country's third largest city, Odense, says he knows why: "It's groups of young men with an immigrant background that's causing it. We might as well be honest about that." But unfortunately, the only suggestion he had to deal with the problem was that "when [the women] meet these groups... they should take a big detour around them". A soccer club from the infamous ghetto area of Vollsmose got national attention because every other team in their league refused to play them. Due to the team's long history of violent assaults and death threats against opposing teams and referees. Bizarrely leading to the situation were the team got to the top of its division because they'd "win" every forfeited match. Problems of this sort have existed in Denmark for well over thirty years. So in a way, none of this should be surprising. But it actually is. Because it shows that long-term assimilation just isn't happening at a scale to tackle these problems. In fact, data shows the opposite: Descendants of MENAPT immigrants are more likely to be violent and troublesome than their parents. That's an explosive point because it blows up the thesis that time will solve these problems. Showing instead that it actually just makes it worse. And then what? This is particularly pertinent in the analysis of Sweden. After the "far right" party of the Swedish Democrats got into government, the new immigrant arrivals have plummeted. But unfortunately, the net share of immigrants is still increasing, in part because of family reunifications, and thus the problems continue. Meaning even if European countries "close the borders", they're still condemned to deal with the damning effects of maladjusted MENAPT immigrant descendants for decades to come. If the intervention stops there. There are no easy answers here. Obviously, if you're in a hole, you should stop digging. And Sweden has done just that. But just because you aren't compounding the problem doesn't mean you've found a way out. Denmark proves to be both a positive example of minimizing the digging while also a cautionary tale that the hole is still there.

yesterday 2 votes
We all lose when art is anonymised

One rabbit hole I can never resist going down is finding the original creator of a piece of art. This sounds simple, but it’s often quite difficult. The Internet is a maze of social media accounts that only exist to repost other people’s art, usually with minimal or non-existent attribution. A popular image spawns a thousand copies, each a little further from the original. Signatures get cropped, creators’ names vanish, and we’re left with meaningless phrases like “no copyright intended”, as if that magically absolves someone of artistic theft. Why do I do this? I’ve always been a bit obsessive, a bit completionist. I’ve worked in cultural heritage for eight years, which has made me more aware of copyright and more curious about provenance. And it’s satisfying to know I’ve found the original source, that I can’t dig any further. This takes time. It’s digital detective work, using tools like Google Lens and TinEye, and it’s not always easy or possible. Sometimes the original pops straight to the top, but other times it takes a lot of digging to find the source of an image. So many of us have become accustomed to art as an endless, anonymous stream of “content”. A beautiful image appears in our feed, we give it a quick heart, and scroll on, with no thought for the human who sweated blood and tears to create it. That original artist feels distant, disconected. Whatever benefit they might get from the “exposure” of your work going viral, they don’t get any if their name has been removed first. I came across two examples recently that remind me it’s not just artists who miss out – it’s everyone who enjoys art. I saw a photo of some traffic lights on Tumblr. I love their misty, nighttime aesthetic, the way the bright colours of the lights cut through the fog, the totality of the surrounding darkness. But there was no name – somebody had just uploaded the image to their Tumblr page, it was reblogged a bunch of times, and then it appeared on my dashboard. Who took it? I used Google Lens to find the original photographer: Lucas Zimmerman. Then I discovered it was part of a series. And there was a sequel. I found interviews. Context. Related work. I found all this cool stuff, but only because I knew Lucas’s name. Traffic Lights, by Lucas Zimmerman. Published on Behance.net under a CC BY‑NC 4.0 license, and reposted here in accordance with that license. The second example was a silent video of somebody making tiny chess pieces, just captioned “wow”. It was clearly an edit of another video, with fast-paced cuts to make it accommodate a short attention span – and again with no attribution. This was a little harder to find – I had to search several frames in Google Lens before I found a summary on a Russian website, which had a link to a YouTube video by metalworker and woodworker Левша (Levsha). This video is four times longer than the cut-up version I found, in higher resolution, and with commentary from the original creator. I don’t speak Russian, but YouTube has auto-translated subtitles. Now I know how this amazing set was made, and I have a much better understanding of the materials and techniques involved. (This includes the delightful name Wenge wood, which I’d never heard before.) https://youtube.com/watch?v=QoKdDK3y-mQ A piece of art is more than just a single image or video. It’s a process, a human story. When art is detached from its context and creator, we lose something fundamental. Creators lose the chance to benefit from their work, and we lose the opportunity to engage with it in a deeper way. We can’t learn how it was made, find their other work, or discover how to make similar art for ourselves. The Internet has done many wonderful things for art, but it’s also a machine for endless copyright infringement. It’s not just about generative AI and content scraping – those are serious issues, but this problem existed long before any of us had heard of ChatGPT. It’s a thousand tiny paper cuts. How many of us have used an image from the Internet because it showed up in a search, without a second thought for its creator? When Google Images says “images may be subject to copyright”, how many of us have really thought about what that means? Next time you want to use an image from the web, look to see if it’s shared under a license that allows reuse, and make sure you include the appropriate attribution – and if not, look for a different image. Finding the original creator is hard, sometimes impossible. The Internet is full of shadows: copies of things that went offline years ago. But when I succeed, it feels worth the effort – both for the original artist and myself. When I read a book or watch a TV show, the credits guide me to the artists, and I can appreciate both them and the rest of their work. I wish the Internet was more like that. I wish the platforms we rely on put more emphasis on credit and attribution, and the people behind art. The next time an image catches your eye, take a moment. Who made this? What does it mean? What’s their story? [If the formatting of this post looks odd in your feed reader, visit the original article]

yesterday 1 votes