Better HN
topnewbestaskshowjobs
Log inSign up

mbrizic

26 karma · joined Mar 16, 2021 (5y ago) · 16 submissions

Submissions

1.

React Still Feels Insane and No One Is Talking About It(mbrizic.com ↗)

65 points · by mbrizic · 1y ago · 39 comments

comment 2y ago · link · parent

Each color is a different build running on a different server. And then a load balancer picks which server you'll end up on.

Code-wise, the only difference between the builds is the CSS setting the link color.

comment 2y ago · link · parent

I did something very similar a while back: https://mbrizic.com/blog/solarhosting/

comment 2y ago · link · parent

There was an interesting article recently about research in bioelectricity, on how each cell is equipped with the same mechanisms of data transfer and storage as a neuron is. Definitely big if true, the implications of that are crazy:

https://www.bitsofwonder.co/p/a-revolution-in-biology

5.

Practical Guide to Music Theory and Improvisation(mbrizic.com ↗)

2 points · by mbrizic · 4y ago · discuss

comment 4y ago · link · parent

Over the course of my 6 years in software so far, I have written at least that many versions of similar code generators in whichever language we had in the project at the time.

But it's only this time that I decided to build something that's not baked into the system, but rather an external tool that you configure per project how it should be used.

So instead of keeping a "template project" committed in a repo that your generator uses, with this approach you "describe" the templates in a config file, which generator picks up and creates new files based on them, performing all necessary string replacements.

That way it's lot simpler to create and maintain your templates. But honestly, I created the tool as configurable as it is primarily as I want it to be _the last_ generator that I have to write.

And in light of recent NPM drama, the tool has zero dependencies in runtime (although some are used during development, like Typescript or Jest).

I'd appreaciate the feedback about this. Thanks!

7.

Show HN: Copypaster – simple JSON based code generator(github.com ↗)

1 points · by mbrizic · 4y ago · 1 comment

8.

Ask HN: How often do you use code generators in your software projects?

4 points · by mbrizic · 4y ago · 2 comments