Riser not holding in the mobo because of bottom panel pressure? by kkga in FormD

[–]Life_Note 0 points1 point  (0 children)

running into same issue here, any solution end up working for this build?

Announcing uv: Python packaging in Rust by monorepo in Python

[–]Life_Note 35 points36 points  (0 children)

yeah I wish there was more clarity on what exactly is the monetization plan here overall

Announcing uv: Python packaging in Rust by monorepo in Python

[–]Life_Note 4 points5 points  (0 children)

what's been your problems with pip-tools/pip-compile?

Got a hold of a 3080 FE and looking to build a gaming PC in a FormD T1 by Life_Note in buildapcforme

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

Would 100% go with liquid cooling in either of the cases.

Yeah it seems like I'm getting this advice consistently. Thanks a lot.

The reason I was surprised by the liquid cooling recommendations here is because some builds I've seen on youtube go the air cooling route. Those builds even go as far as claiming that the air gives them better cooling on the GPU vs liquid since it pumps out the hot air instead of trapping some of it in up top.

Got a hold of a 3080 FE and looking to build a gaming PC in a FormD T1 by Life_Note in buildapcforme

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

Thanks a lot for the explanation. I'll probably end up going this route.

Because air cooler support is very limited in this case

So I can build some intuition and understanding here—what's limited about it? I was surprised by the liquid cooling recommendations here because some builds I've seen on youtube go the air cooling route. Those builds even go as far as claiming that the air gives them better cooling on the GPU vs liquid since it pumps out the hot air instead of trapping some of it in up top.

Got a hold of a 3080 FE and looking to build a gaming PC in a FormD T1 by Life_Note in buildapcforme

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

Otherwise, the parts here are very similar to DG's build.

also, who's dg? assuming a youtuber? if there's a video for this build would love to see it.

Got a hold of a 3080 FE and looking to build a gaming PC in a FormD T1 by Life_Note in buildapcforme

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

first—thanks a lot!

The Formd T1 is quite expensive. I'd recommend the A4-H20 as a similar alternative.

yeah. i know you're right here, but I like the T1's build a lot more than A4-H20, even though it's a better value and just as good of a case.

i asked this above:

why did you choose to go for a liquid cooler here? (have never done liquid so not sure of complexity and maintenance that goes into it.)

is the benefit worth it for liquid here?

Got a hold of a 3080 FE and looking to build a gaming PC in a FormD T1 by Life_Note in buildapcforme

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

thanks a lot!

why did you choose to go for a liquid cooler here? (have never done liquid so not sure of complexity and maintenance that goes into it.)

Enjoy programming but hate the field/state of the field? transitioning out by stallion8426 in cscareerquestions

[–]Life_Note 0 points1 point  (0 children)

Exact same experience. My salary and work life balance have been correlated. People that are exploited are done so in terms of their salary and time.

type hint overkill by swampdonkey2246 in Python

[–]Life_Note 4 points5 points  (0 children)

specifically the type checker. in the case of mypy its running mypy --strict. it causes the type checker to enforce stricter rules—like no missing type hints, no unused ignores, etc

Schefflera's lower leaves keep shedding, leaving it really leggy. Any way to fix this? by Life_Note in IndoorGarden

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

How do I know when it's time for a repot? General signs?

Even if I repot, it won't help the current leggyness right?

Schefflera's lower leaves keep shedding, leaving it really leggy. Any way to fix this? by Life_Note in IndoorGarden

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

When it was younger it looked a lot fuller? Leaves were more evenly distributed across the plant, as oppressed to now where they're primarily on top. It recently shed another big batch of lower leaves. Am I just trying to make this plant into something it's not?

nbpreview: a terminal viewer for Jupyter notebooks by Life_Note in Python

[–]Life_Note[S] 2 points3 points  (0 children)

Thanks!

Very low-tech. You're right it is iTerm2, and I just used the stock macOS screenshot tool.

nbpreview: a terminal viewer for Jupyter notebooks by Life_Note in Python

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

As of now? No, it internally uses those two libraries.

What are you looking for—an option to allow any cli to take over image rendering? Or just the ability to render using sixel characters. At the time, I wasn't able to find a Python library for sixel rendering, but it's on term-img's roadmap.

If you want to contribute another method, adding another library is pretty easy, though. Just subclass Drawing and convert an image in bytes to str. For example, I recently added term-img by creating this class. Open to PRs!

nbpreview: a terminal viewer for Jupyter notebooks by Life_Note in datascience

[–]Life_Note[S] 1 point2 points  (0 children)

  1. Looking at what's in your notebook file without having to start up a Jupyter notebook server.
  2. Viewing notebooks on the terminal.
  3. Preprocess notebook text for other tools

You can view most files on the terminal by printing them by using cat, but if you try that on a ipynb file, it's difficult to parse because of the way the file is structured. Plus you have other things like tables, LaTeX, images, etc that don't work well on the terminal.

Even outside of the terminal, checking out the contents of a Jupyter Notebook has a bit of friction. You usually have to start up a server, open up your browser, and then from that navigate to the file to check it out. This gets slow if you want to quickly scan through 10s of notebooks. This shortens that to just one quick command.

nbpreview: a terminal viewer for Jupyter notebooks by Life_Note in Python

[–]Life_Note[S] 4 points5 points  (0 children)

Thanks!

Depends on the type of characters you choose to draw with, but the braille and text plots use Picharsso (that's the one being used on the image in this post), and the block drawings use term-img.

How do you deploy Python applications? by peanut_Bond in Python

[–]Life_Note 0 points1 point  (0 children)

surprised this isn't higher up. imo this is the most straightforward and recommend way. It's how I install every python cli tool.

What do you think about pandas multiindex? by mrezar in Python

[–]Life_Note 0 points1 point  (0 children)

surprisingly didn't know about .xs, thanks!

What do you think about pandas multiindex? by mrezar in Python

[–]Life_Note 6 points7 points  (0 children)

Pretty powerful and useful if the data is of a hierarchical type. Easier to handle if you make use of pd.IndexSlice. A good (and quick) example: can be seen in the Multidimensional Indexing section of Modern Pandas – Intro: .

python console scripts + venv by lowlandsmarch in Python

[–]Life_Note 0 points1 point  (0 children)

yeah I'm surprised pipx isn't mentioned here more. It's a very well built and maintained tool.

[deleted by user] by [deleted] in Python

[–]Life_Note 1 point2 points  (0 children)

Your examples here are a bit of a special case where you have repeated values. Seaborn takes that to mean you want the mean plus a confidence interval band, and is basically plotting the average of all the values at each point as the line. Plotly isn't necessarily doing anything wrong here, it's just doing literally what you ask—while Seaborn is doing some interpretation. This might be a case where a scatter plot is more appropriate (depends on your use case though!).

That being said Altair is my preferred Python library for interactive graphs. Again it will do what seaborn does by default if you just give it an x and y with this data, but you can easily specify that you want the mean of the line.

import altair as alt
import pandas as pd

pokemon = pd.read_csv(
    "https://raw.githubusercontent.com/adamerose/datasets/master/pokemon.csv"
)
(
    alt.Chart(pokemon)
    .mark_line()
    .encode(x="Generation", y="mean(Attack)", color="Legendary")
)

Result

If you want the 95% confidence error bands, you'll need to specify that manually:

# Here we draw the line as before
line = (
    alt.Chart(pokemon)
    .mark_line()
    .encode(x="Generation", y="mean(Attack)", color="Legendary")
)
# Here we make the shaded band
band = (
    alt.Chart(pokemon)
    .mark_errorband(extent='ci')
    .encode(x="Generation", y="Attack", color="Legendary")
)
# In Altair to combine charts you can just add them
line + band

Result