News for hackers. Stuff that matters.

burticlies

I see this clearly at kids birthday parties whenever there is a piñata. Adults hate them. All they see is the goal and the incredibly inefficient path the kids are taking towards it. But the kids love it, they don’t care when they miss, they are just enjoying hitting something with a stick. And every miss heightens the excitement for the eventual lolly scramble.
Re:Highlighting My Code Based on How Much I Care on Monday August 31, 2026 @03:20AM (#49506637)
I like highlighting only the language concepts:

Reserved words are red

Strings are green

Constants/numbers are blue

Types/meta-language are yellow

Anything else is white.

It’s not too colorful but still gives you plenty of anchors for your eyes.

Re:My automated doubt development process on Sunday June 07, 2026 @06:27PM (#48439214)
Biased cause I work there, but that’s where software like Tactiq shines. We just added an MCP, and now the agent has access to the meetings when writing the plan.

Last week I had three meetings with three stakeholders, and the agent was able to gather everyone’s ideas and make sure they are all working together in the feature.

Tassie represent
Re:Ratchets in Software Development on Monday February 02, 2026 @05:29AM (#46854439)
I’ve never understood why linters don’t have this baked in. You want to deprecate a pattern, but marking it as an error and failing the build won’t work. So you mark it warning and fill everyone’s editors with yellow lines. And then we just get used to the noisy warnings.

Ratchet is such a good word for it.

Re:Every Board Game Rulebook Is Awful [pdf] on Monday December 02, 2024 @01:55PM (#42299149)
Already done. There’s a link on the homepage to the GitHub, and you can just add a new markdown file in the rules folder. It auto deploys on merge to master.
Re:Every Board Game Rulebook Is Awful [pdf] on Monday December 02, 2024 @01:28PM (#42298865)
I tried to work around bad rule books by building https://www.boardgameonepagers.com/

It’s open source, all the rules have simple markdown formatting that’s easy to glance through on an phone, and they try to be as concise as possible.

But it’s hard work writing rules and I’ve never given it the effort I’d like to.

Re:Substack won't make you rich on Monday January 22, 2024 @12:52AM (#39086747)
I want search engines to operate similar to this. Instead of using googles monolithic index, you can subscribe to different trusted sources for lists of sites that are curated and maintained. Then your personal search engines queries them all at once.

I think if you could balance the incentives right it would put the onus on the curators to make sure that their indexes were full of high quality sites. And if one starts giving you rubbish, just remove their index from your search engine.

Re:Ask HN: Share your personal site on Wednesday April 06, 2022 @10:26PM (#30939966)
Re:CSS Gradients that avoid the “gray dead zone” on Tuesday January 11, 2022 @04:12PM (#29897982)
It’s a color space designed to be perceptually uniform. So as you blend through colors the saturation appears to stay the same. Check some of the reds and greens in the other color spaces and see how they get really saturated.

https://en.m.wikipedia.org/wiki/CIELAB_color_space

Re:The UX on this small child is terrible on Saturday January 08, 2022 @03:58AM (#29849921)
I think this speaks to how when learning a concept, just having it framed in the right way can really help.

I’d heard of the Ferber method before and we tried it a bit to no success. But just hearing the same idea framed as “the parent checking back in regular like a metronome”, rather than “the baby needs to learn to self settle” just clicked in my head.

Thanks for the tips, will keep trying this and see if it sorts out the late night wakes too.

Re:The UX on this small child is terrible on Friday January 07, 2022 @03:47AM (#29836670)
Oh wow, this is the first internet baby tip that has actually worked. Our two year old would take 30 minutes of settling every night, with one of us in the room sitting in a chair. Tried this checking in every couple of minutes idea, and within a few days he only took 6 minutes and was relaxed the whole time. Thanks a bunch! Got any tips for when they wake up freaking out in the night?
Re:Safest mushrooms to forage and eat on Saturday January 01, 2022 @07:29PM (#29764418)
My wife has been reading a book on mushroom foraging. This section on different types of mushroom poisoning was particularly terrifying.

Trichothecenes, symptoms: Multi-organ failure, which can commence soon after exposure (such as through drinking an infusion), particularly bone marrow failure and lamellar desquamation (shredding and reddening) of palms, soles of feet and face. Death may occur.

Re:Introduction to D3 on Tuesday March 03, 2020 @03:10PM (#22478289)
They kept it really low level and didn’t make many opinions on how to join the dots. There are functions to manipulate data, functions to make scales, and functions to and functions to render svg (plus dom bindings). These decisions make individual charts quite verbose, but the trade off is you can visualise anything you want. Just look on npm how many charting libraries use d3 as a base.
Re:Show HN: Covcov – A Terminal UI for Coverage Reports on Thursday September 19, 2019 @06:32AM (#21014963)
I was inspired by `tig` to make a tool to search your working directory for coverage reports and display it in the terminal. It only works right now on Istanbul reports but I'd like to add more types if possible.
Re:Haskell Concepts in One Sentence on Sunday March 26, 2017 @01:49AM (#13959411)
One simplistic but useful analogy I've found is that monads are a way to control program flow with functions. A monad is to functional programming what if/else is to imperative.

It may not cover all the nitty gritty about what is and isn't a monad. But it gets you a long way to understanding why you might use them.