Replace multiple strings, O(1) wrt number of replacements
unix.stackexchange.com1 pointsby alphaBetaGamma1 comments
i=0
StartLoop:
i+=1
do_stuff_0
do_stuff_1
do_stuff_2
do_stuff_3
if i<N goto StartLoop
we would have: i=0
StartLoop:
i+=1
do_stuff_0
do_stuff_1
if i<N goto StartLoop in 2 instructions
do_stuff_2
do_stuff_3
I wrote a tiny DSL to describe the jewelry pieces, and an interpreter to produce CAD files. We then either 3D print them or have them produced by lost-wax.
We are 200% out of our comfort zone (and love it): I know nothing of front end dev, payments, or anything like that. The diamond district in New York is a neighborhood we normally actively avoid, but if you are forced to go there it is fascinating (people examining diamonds on the corner of the street, others in fur coats in summer straight out of a mafia movie...), and especial marketing. Jewelry is a completely saturated business (luckily we are not doing this to pay the rent); we think we have a unique angle, but we are still figuring out the target audience (if there is one), how to advertise, etc.
Store: https://studio-galois.com/