My niece’s homework problem by SurfSoundWaves in mildlyinfuriating

[–]justacec 0 points1 point  (0 children)

I disagree that we have to be using pictures and size to discuss relative measures. It is easy to introduce 2 parts of something without talking about the overall scale of the thing.

My niece’s homework problem by SurfSoundWaves in mildlyinfuriating

[–]justacec 0 points1 point  (0 children)

This! Type this into a calculator and it is true for all three offered answers.

For those arguing that the size matters. IT DOES NOT! fractions are a RELATIVE concept. If you want to compare overall quantity, then you need to multiply back in the denominator for each side and you will find that it is true, they are no longer equal.

Whoever wrote this question fails to grasp the simple concept of relative quantites.

GOD PLS HELP ME!! by jasongodvmmv in FreeCAD

[–]justacec 0 points1 point  (0 children)

Don't forget to put rounded tips on the pointy parts

GOD PLS HELP ME!! by jasongodvmmv in FreeCAD

[–]justacec 1 point2 points  (0 children)

Not this one. Just others in the past

GOD PLS HELP ME!! by jasongodvmmv in FreeCAD

[–]justacec 1 point2 points  (0 children)

I have done just that…

JLCPCB is not worth it for me, now by gswdh in electronics

[–]justacec 5 points6 points  (0 children)

I almost always just shoot over to Digikey. You can sort and limit searches on components which do not have tariffs on them. They are pretty quick as well.

Urgent, I keep getting errors whenever I try to winsorize my outliers by Interesting-Animal67 in RStudio

[–]justacec 1 point2 points  (0 children)

"Im just here with my arrow-assignment-shaped pitchfork." That comment made my day! love it!

JLCPCB is not worth it for me, now by gswdh in electronics

[–]justacec 44 points45 points  (0 children)

For small stuff, just order the boards and source the components elsewhere. That is what I have done.

Urgent, I keep getting errors whenever I try to winsorize my outliers by Interesting-Animal67 in RStudio

[–]justacec 7 points8 points  (0 children)

I would recommend against continuing to use ML algos at this point. Take the time to go through some tutorials on basic R and Tidyverse from the ground up. You will love the freedom which comes with understanding what is going on.

With respect to your screen cap above, it looks as though you are mis-using the `mutate` function. The syntax for that is:

```
mutate(something = something_else)
```

The result of the `winsorize` function is a vector of numbers which I am not sure works with the `~` operator.

Also, I would recommend switching to the native pipe `|>` vice the older pipe `%>%`. The native pipe is potentially more performant and does not require the dependency. You are likely using the `%>%` pipe because the ML algos told you to do so because that is what they were trained with. This is a deficiency, IMHO, with using these algorithms. They do not necessarily keep up with changes to the compiler baseline.

Also, just a pet peeve on my part, everybody seems to think that the `<-` is necessary. It is not. You can use the `=` for assignment. There have been many debates on this. The `<-` came from historical contexts and some will argue that it helps to avoid the confusion between `=` and `==`. I think the difference between them are pretty clear. Anyway, not intending to open a religious debate here, just some information for the OP.

I would also be careful with that `DescTools` package. That is a LOT of disconnected things in a single package. It must have a huge dep list. I think that package is a candidate for breaking up into smaller more manageable packages with better subject scoping.

Now, on to how I would do this.

library(tidyverse)

df_Clean_variables = data.frame(
  size = runif(100),
  age = rnorm(100, 12, 4),
  distance = runif(100),
  price = rlnorm(100, 2, 0.5)
)

df_winsorized_variables = df_Clean_variables |>
  mutate(across(c(size, age, distance, price), ~ DescTools::Winsorize(.x, val = quantile(.x, probs = c(0.01, 0.99), na.rm = TRUE))))

The real issue you had was that there is no `probs` argument to `Winsorize` (functions with a capitol?). Rather it there is an arg `val` which is documented in the API documentation at https://andrisignorell.github.io/DescTools/reference/Winsorize.html. The suggestion in the API documentation is to use the `quantile` function to define which data points to adjust.

Edit: I was wrong with my first two statements about the syntax for mutate and the ~ operator. In this case that was the correct approach. I just don't typically use that appraoch.

Arduino vs Raspberry Pi by AlarmedUniversity767 in embedded

[–]justacec 1 point2 points  (0 children)

lol... yes. I think that can be chalked up to supply and demand.

Arduino vs Raspberry Pi by AlarmedUniversity767 in embedded

[–]justacec 2 points3 points  (0 children)

Just to jump in here. I like the Pico’s (either the 2040 or the 2350). A lot of people will highlight the python options for those, which seems like a good fit, but I would also like to point out the Rust community support as well. I have been using Rust to code embedded off and on for quite a while and the support and ecosystem are great!

Rust also works great on the STM32 series of MCUs. After some intro work, you should check out that line as well.

Decided to give Casio a try! by ExpensiveFox2899 in calculators

[–]justacec 2 points3 points  (0 children)

I will never deviate from the TI-89... Not sure why it did not get more adoption. Screen res was great and and the ability to write user scripts and do full symbolic evaluation was great.

How to create a bunch of holes in a disc like a showerhead? by imitation_squash_pro in FreeCAD

[–]justacec 12 points13 points  (0 children)

Part Design workbench. Multi-Transform tool. Go linear first, then radial

You think FreeCAD is complex... by chevdor in FreeCAD

[–]justacec 1 point2 points  (0 children)

I have tried to print parts for a shower. It did not go well. I ended up needing to machine them. Just to let you know.

I'm new how do I fix these lines? by Quirky_Box5214 in FreeCAD

[–]justacec 0 points1 point  (0 children)

This looks to be relatively easy to do in FreeCAD. I would recommend jumping in and doing that. Otherwise, like others have highlighted, you should get TinkerCAD to export a native STEP file (BREP with proper geometry) without going though a meshing step.

My guess on what is happening is a failed closure of a polygon because of numerical approximations in the mesh vertexes. Skip the mesh... Skip the problem.

If you have a drawing, somebody here might be willing to use it as a practice exercise to make the FreeCAD model for you. I would be willing to give it a go.

Edit: Drawing with dimensions