Generating 3d models with cadquery and streamlit
I have been toying around with generating customizable 3d models for 3d printing for a while now. I wrote code to generate cookie cutters, name clips for charging cables and a few other things. Recently I had the idea to use streamlit to create a UI for the creation of those customizable models. In this post I will use a simple example to showcase how this can be done. The example will be a simple badge with a customizable text embossed on it....
Angular anti-patterns #01: Subscribing to every observable
Rxjs is probably the most difficult thing to grasp when starting out with angular. For that reason often times the benefits of rxjs are not used and code like the following is written. @Component({ selector: 'app-subscribing-to-everything-bad', standalone: true, imports: [CommonModule], template: ` <h3>Bad</h3> <p>{{result}}</p> ` }) export class SubscribingToEverythingBadComponent { result: string | undefined; constructor(someService: SomeServiceService) { someService.loadSomething().subscribe((result) => { this.result = result; }); } } The first thing that comes to ones mind when seeing observables would be to subscribe to get the value out of there....
Hello World
Looks like this blog setup is working. Next up 📝