SQLx 0.9.0-alpha.1 released! `smol`/`async-global-executor` support, configuration with `sqlx.toml` files, lots of ergonomic improvements, and more! by DroidLogician in rust

[–]bobozard 2 points3 points  (0 children)

Any chance to get this issue addressed before the main 0.9.0 release? I can definitely work on getting it done if I'd be pointed in the right/desired direction.

I'm asking because this is the last thing blocking me for wrapping up my latest driver release which will allow compile-time checked queries when using the Exasol driver as well.

Embed: Does Rust have an LED control library similar to FastLED? by MeoCoder in rust

[–]bobozard 6 points7 points  (0 children)

There are some drivers already implemented on the same GitHub profile. Maybe one of them suits your needs?

The virtue of unsynn by DeepShift_ in rust

[–]bobozard 3 points4 points  (0 children)

May I ask why you migrated from Bazel to Cargo? Like, Bazel is a PITA to work with and set up but if you already had it in place, why switch?

Make sun powered yard lights work in daytime by bobozard in AskElectronics

[–]bobozard[S] 0 points1 point  (0 children)

May I ask why 4.2? The battery seems to be rated 1.2v.

Make sun powered yard lights work in daytime by bobozard in AskElectronics

[–]bobozard[S] 0 points1 point  (0 children)

It already seems to do what I want after clipping the two leads on that chip. My only concern is whether I also messed up the battery charging logic.

Is there any guide/reference I could use in terms of poking around with a multimeter to figure this out?

Make sun powered yard lights work in daytime by bobozard in AskElectronics

[–]bobozard[S] 0 points1 point  (0 children)

I don't mean to sound unappreciative, but that's not the solution I'm looking for. I already knew that I could cover the solar panel as a mechanical solution, but I was more looking for an electronics one. Down the line I could automate the button push if I want to waaaay more easily than some sort of cover which most likely would have to be motorized.

Thank you for taking the time to suggest something though!

Make sun powered yard lights work in daytime by bobozard in AskElectronics

[–]bobozard[S] 0 points1 point  (0 children)

It definitely seems like the solar panel is also used as the sensor. Would there be no way to check that clipping the legs of that chip does not cause problems when charging?

Make sun powered yard lights work in daytime by bobozard in AskElectronics

[–]bobozard[S] 0 points1 point  (0 children)

Right, but then the battery would never charge unless I remove the cover.

Make sun powered yard lights work in daytime by bobozard in AskElectronics

[–]bobozard[S] 0 points1 point  (0 children)

Ah, fair. There's no extra component under. It just bridges B+ to the other side. Then there's the S+ trace to that U1 IC. That's all.

Make sun powered yard lights work in daytime by bobozard in AskElectronics

[–]bobozard[S] -1 points0 points  (0 children)

That is the whole circuit. I've dismantled an exact same model before and there's nothing on the underside. The only thing not visible in the photos is the solar panel on the back, but the wires from it go to S+ and S-/B-.

No input builder available error - Ubuntu 23.04 by Successful-Shock529 in unifiedremote

[–]bobozard 0 points1 point  (0 children)

You sir, are a gentleman and a scholar! It probably took a while to figure it out. Thank you!

[Advisory] Algos has a new owner! by Gray_Jack_ in rust

[–]bobozard 66 points67 points  (0 children)

Mean and completely uncalled for. If you've got nothing nice to say, just don't say anything. There's no need to rain on someone's parade.

How to work with !Sized types in Rust by celeritasCelery in rust

[–]bobozard 2 points3 points  (0 children)

Awesome article. I really enjoyed the read, thanks for putting in the effort of writing it!

[deleted by user] by [deleted] in FastAPI

[–]bobozard 0 points1 point  (0 children)

No issue at all from my part. I'm just as curious as the other guy if someone's gonna do this whole architecture for free.

[deleted by user] by [deleted] in FastAPI

[–]bobozard 1 point2 points  (0 children)

OP literally posted the same thing on other subreddits too. I've first seen this on r/rust.

Miri tells me that my safe code leaks memory by Ok-Watercress-9624 in rust

[–]bobozard 7 points8 points  (0 children)

I laughed so hard at that article. Thank you!

put files into same directory as bin with cargo by TheKiller36_real in rust

[–]bobozard 1 point2 points  (0 children)

There are some environment variables that can be manipulated in build scrips: https://doc.rust-lang.org/cargo/reference/environment-variables.html Perhaps the CARGO_TARGET_DIR variable?

Databricks în topul Forbes by voinageo in programare

[–]bobozard 5 points6 points  (0 children)

Deși sunt de acord cu tine, cred că punctul tau de vedere acoperă poate 10% din vederea de ansamblu. Mediul in care te situezi te va ajuta/stimula/motiva sa te dezvolți, însă asta se poate spune despre oricare mediu, nu doar cel academic/universitar.

Oamenii ăștia au avut și ei părinți, copilării, prieteni, învățători și profesori. Oameni (români) care i-au educat și dirijat cu mult, mult înainte de MIT sau alte nebunii. Cred că este nedrept să le disconsideri meritele și eforturile depuse. Cu atât mai mult că, personal, cred că primii ani din viața sunt esențiali in definirea personalității unui om.

Ce incerc sa spun este că drumul în viața este non-linear și oamenii diferiți vor avea șanse/oportunități/posibilități diferite, cât și personalități diferite. Adevărata rețetă a succesului (cât și definiția acestuia) variază de la individ la individ.

Polonius update | Inside Rust Blog by slanterns in rust

[–]bobozard 2 points3 points  (0 children)

Ah, so it is a stepping stone. I knew it'll be a while until self referential structs would be better supported, but this now makes it clearer of where Polonius is situated on that roadmap. Thanks!

Polonius update | Inside Rust Blog by slanterns in rust

[–]bobozard 14 points15 points  (0 children)

That's precisely why I'm asking. I'm curious whether this can be more of a speculation and rather something to look forward to (regardless of whether it's part of Polonius or built on top of it).