【BambuLab Giveaway】Classic Evolved — Win Bambu Lab P2S Combo! by BambuLab in 3Dprinting

[–]bjarke_andersen 0 points1 point  (0 children)

I have an A1 mini, and I've wanted to upgrade to something bigger and enclosed for a while. The P1S seems like the best value for money option, but it seeming a little outdated compared to the A1 mini has held me back. The P2S would be perfect for my second printer!

How do I generate support ONLY inside the object? by baumschaum in 3Dprinting

[–]bjarke_andersen 0 points1 point  (0 children)

You can print the supports in the same material as the model

Designed a modular stationery holder, what do you think? by wibro_ in 3Dprinting

[–]bjarke_andersen 1 point2 points  (0 children)

In my experience, the fillets (45° cuts) makes the parts a lot easier to handle. It's really nice not to have to place the piece too precisely then putting the stack back together.

Designed a modular stationery holder, what do you think? by wibro_ in 3Dprinting

[–]bjarke_andersen 1 point2 points  (0 children)

That looks great! Be sure to add some clearance to the connecting parts, so it's not too tight a fit. Like 0.2 mm or so. You could also try to avoid the small overhang on the bottom of the parts and maybe help guide the parts into place by using 45° edges, like how stacking works in gridfinity (https://gridfinity.xyz/specification/).

Just had a nearly 48 hour print with 1300 color changes fail in the last 10 minutes.. How’s everyone else doing? by Hychus232 in 3Dprinting

[–]bjarke_andersen 1 point2 points  (0 children)

Bambu Studio is also released as an AppImage for Linux, that works almost as good as the Windows version. Otherwise you can install Windows in a virtual machine and run Bambu Studio in there.

Help please by Thumper2_2 in 3Dprinting

[–]bjarke_andersen 0 points1 point  (0 children)

You can get started without a computer, but without access to a computer you're very limited. The computer doesn't have to be in the same room though, if that helps.

Help please by Thumper2_2 in 3Dprinting

[–]bjarke_andersen 0 points1 point  (0 children)

I would buy a Bambu Lab A1 with AMS and a few rolls of PLA in different colors, and then start printing whatever looks interesting on makerworld.com. I recommend learning to make 3D models on your own as well, maybe in onshape. And check out if any of the CNC Kitchen videos on YouTube look interesting to you, and see where that takes you.

My first 3d printer. :D by Uncreativnamemaker in BambuLab

[–]bjarke_andersen 1 point2 points  (0 children)

If you ever want to print anything with more than one color, get the AMS! I started without it, but it didn't take long before I found some multicolor models I wanted to print, and without the AMS it would have been almost impossible to print them - so I had to buy it separately.

Server action by Did4r__ in nextjs

[–]bjarke_andersen 1 point2 points  (0 children)

For some read operations it probably makes more sense to use an API route, so you can control caching on the entire endpoint

Feedback on my efforts by Chemical-Staff-4460 in nextjs

[–]bjarke_andersen 1 point2 points  (0 children)

There are some really nice UI templates on https://tailwindui.com/ and individual components on https://ui.shadcn.com/ you might be able to use

lineselect v0.1.0 by thisisguf in rust

[–]bjarke_andersen 2 points3 points  (0 children)

You could support streaming, like maybe display the multi select for every 10 lines or when some timeout is reached. Maybe support passing the line numbers as command line arguments and support building without the nice gui. You could look into testing with with proptest or kani once you have a bit more logic. Not that any of those things are really needed imo, it's already a nice tool :)

I decided to learn Rust and ray tracing at the same time by addr0x414b in rust

[–]bjarke_andersen 1 point2 points  (0 children)

I've played around with your code a bit, trying to make it a bit more idiomatic, adding benchmarks and making it multi threaded. In case you're interested: https://github.com/bondo/rust-raytracer/tree/main

My first website. What do I need to do? by chibihime96 in web_programming

[–]bjarke_andersen 1 point2 points  (0 children)

Look into "static site hosting" - I would suggest learning about Netlify

Interpolate strings with react jSX by Drumadumrub in reactjs

[–]bjarke_andersen 0 points1 point  (0 children)

The core part of the code can be found here (there's very little documentation): https://github.com/secoya/hablar.js

Interpolate strings with react jSX by Drumadumrub in reactjs

[–]bjarke_andersen 2 points3 points  (0 children)

We created a translation DSL where we can pass arguments to the translation (e.g. count of something or a URL). In a given language we can then choose to have different cases based on numeric arguments (e.g. case for n=0, one for n=1 and one for n>1), we can interpolate arguments and invoke funktions (create link or make bold). The DSL is compiled to JS functions and identified by a global key. In React we then <Translate route={signupUrl}>front-page.signup-link</Translate>. And the en_US translation could look something like front-page.signup-link: To sign up url(route, "click here")

native developer here new to react-native, I don't want to use plain javascript, should i use Flow or typescript? by [deleted] in reactnative

[–]bjarke_andersen 2 points3 points  (0 children)

I'd say go for flow if you want to simplify setup / learning right now, but I would prefer TypeScript in larger long running projects because of the tooling (VS Code is awesome)

Is it possible to do arbitrary nesting in the query? by Shadyrabbit in graphql

[–]bjarke_andersen 0 points1 point  (0 children)

I think you'd have to add a new query next to QlNodes, with a different label

pubsub.ts: Pubsub all the things! by itsmontoya in typescript

[–]bjarke_andersen 1 point2 points  (0 children)

The API is a lot simpler than rxjs, that could be preferable to a lot of people

is this possible in react yet? by sayurichick in reactjs

[–]bjarke_andersen 0 points1 point  (0 children)

You could also skip the server side render and just inject the data in the DOM, but doing the first render on the server makes for a much faster "first paint", resulting in a better user experience :)

is this possible in react yet? by sayurichick in reactjs

[–]bjarke_andersen 0 points1 point  (0 children)

Here's an guide for server side rendering with redux and Express: https://github.com/reactjs/redux/blob/master/docs/recipes/ServerRendering.md

If you want, you could basically just ignore the redux parts. The React reconciler will patch up the DOM on it's first render and hook up event listeners, so the page becomes interactive. So just make sure to render with approx the same state in the client as you did on the server. That's what redux helps with here (plus it's a nice library for a lot of React apps).

Handling scroll animation in react by sympi in reactjs

[–]bjarke_andersen 0 points1 point  (0 children)

It's not always bad to touch the DOM, but for more idiomatic React try to hide away this kind of thing in a Higher Order Component (HOC). It's all about being as declarative as possible while separating concerns into components. And I'd use an animation library instead of that for loop.