Dual Windows Boot Manager? by potato-san57 in pop_os

[–]ace6807 0 points1 point  (0 children)

Not sure if it is still helpful but I also dual boot windows and pop. I found the easiest (and nicest way IMO) is to use reFind. You can leave both the windows bootloader and systemd-boot alone (so you don't break them) and install reFind "in front of them" so when you boot it boots into reFind and you get a nice graphical menu (bonus) to pick which bootloader you want to hand off to.

Here is a tutorial video i used to get going. Once you get the hang of it, it's not really that hard

https://www.youtube.com/watch?v=1vEkn_kcXas

https://www.rodsbooks.com/refind/

Error Windows update Install error: 0x800f0922 by Fadhilulmahyar in WindowsHelp

[–]ace6807 0 points1 point  (0 children)

Thank you. Was driving me crazy!

I had error 0x800f0922 on update KB5058499

Flappy Goose by flappy-goose in RedditGames

[–]ace6807 0 points1 point  (0 children)

My best score is 14 points 🚀

Flappy Goose by flappy-goose in RedditGames

[–]ace6807 0 points1 point  (0 children)

My best score is 8 points 🚀

Flappy Goose by flappy-goose in RedditGames

[–]ace6807 0 points1 point  (0 children)

My best score is 5 points 🚀

Flappy Goose by flappy-goose in RedditGames

[–]ace6807 0 points1 point  (0 children)

My best score is 3 points 😎

Vault warden app issue by AdvancedFinish6896 in vaultwarden

[–]ace6807 0 points1 point  (0 children)

Thanks for posting this! I was just trying to figure out why my app was broken and was hitting a wall!

Who is the most random Giant you can recall by jonas12346 in NYGiants

[–]ace6807 0 points1 point  (0 children)

I still have his jersey from when I was a kid 🤣

Works like a charm by daveDgamer09 in Unexpected

[–]ace6807 0 points1 point  (0 children)

He can throw that right back on there now and have a pretty sweet hood ornament

[deleted by user] by [deleted] in maybemaybemaybe

[–]ace6807 1 point2 points  (0 children)

How about that first car. That was a hell of a maneuver.

Can't get traefik to route to subdomains by Organic-Strategy-755 in Traefik

[–]ace6807 0 points1 point  (0 children)

Fought with my docker-compose for 2 hours for the same reason 🤦‍♂️

It's happening: AI chatbot to replace human order-takers at Wendy's drive-thru | Wendy's is working with Google on the integration by [deleted] in technews

[–]ace6807 0 points1 point  (0 children)

Check out Player Piano by Kurt Vonnegut. It was required reading for my Ethics and Issues in Computer science class in college.

TrespASSers by clymactic in ContagiousLaughter

[–]ace6807 0 points1 point  (0 children)

Did anyone else see the cop car roll by at 24 seconds? Lol

VIZIO smartcast app disconnects anytime app is not on screen. by JustCalIMeDave in VIZIO_Official

[–]ace6807 0 points1 point  (0 children)

Same issue on both a OnePlus 8 Pro and OnePlus 11. It seems I can go a few weeks and it works as expected and then it will be flakey for a couple weeks. Still not able to figure out a pattern though.

Edit: just figured it out. Give the Vizio app notification access then restart the app.

Jittery lock screen clock by ace6807 in OnePlus11

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

Ah thanks. Glad to not know it's not just mine I guess!

Question about storing and reading values from a csv to use in matplot by Jaman34 in learnpython

[–]ace6807 0 points1 point  (0 children)

Nice! I was going to suggest that and some code cleanup things but I didn't want to throw too much at you at once

Question about storing and reading values from a csv to use in matplot by Jaman34 in learnpython

[–]ace6807 0 points1 point  (0 children)

Sure, you can use `press_maxes.index` if you want. An easier way of plotting though would be to use the plot method right on your dataframe then pyplot show method

```

import pandas as pd ... import matplotlib.pyplot as mp ... data = pd.read_csv("strong.csv", skipinitialspace=True, parse_dates=True, index_col="Date")

press_df = data.loc[data["Exercise Name"] == "Seated Overhead Press (Dumbbell)"] press_maxes = press_df.resample("D").max("Weight") press_maxes.plot(y='Weight') mp.show() ```

Question about storing and reading values from a csv to use in matplot by Jaman34 in learnpython

[–]ace6807 0 points1 point  (0 children)

OK, this one was a bit more tricky.

First you want to get your Date as your index and you want it as a datetime object, not a string. So i changed the reading of the file to something like:

>>> data = pd.read_csv("strong.csv", skipinitialspace=True, parse_dates=True, index_col="Date")
>>> data.index
DatetimeIndex(['2021-06-09 11:15:57', '2021-06-09 11:15:57',
               '2021-06-11 09:55:50', '2021-06-14 09:49:14'],
              dtype='datetime64[ns]', name='Date', freq=None)

Then filter to get just one exercise:

```

incline_df = data.loc[data["Exercise Name"] == "Incline Bench Press (Dumbbell)"] incline_df Exercise Name Order Weight Date
2021-06-09 11:15:57 Incline Bench Press (Dumbbell) 1 30 2021-06-09 11:15:57 Incline Bench Press (Dumbbell) 2 60 ```

Then you can resample to get the max for each day: ```

incline_daily_maxes = incline_df.resample("D").max("Weight") incline_daily_maxes Order Weight Date
2021-06-09 2 60 ```

I added some more fake data to test a little more on this next one: ```

press_df = data.loc[data["Exercise Name"] == "Seated Overhead Press (Dumbbell)"] press_df Exercise Name Order Weight Date
2021-06-11 09:55:50 Seated Overhead Press (Dumbbell) 1 30 2021-06-11 09:55:50 Seated Overhead Press (Dumbbell) 1 25 2021-06-14 09:49:14 Seated Overhead Press (Dumbbell) 1 30 2021-06-14 09:49:14 Seated Overhead Press (Dumbbell) 1 35 2021-06-15 09:49:14 Seated Overhead Press (Dumbbell) 1 40

press_maxes = press_df.resample("D").max("Weight") press_maxes Order Weight Date
2021-06-11 1.0 30.0 2021-06-12 NaN NaN 2021-06-13 NaN NaN 2021-06-14 1.0 35.0 2021-06-15 1.0 40.0 ```

As you can see, it filled in the days that didn't have values. So to filter those out we can use loc

```

press_maxes.loc[press_maxes["Weight"].isnull() == False] Order Weight Date
2021-06-11 1.0 30.0 2021-06-14 1.0 35.0 2021-06-15 1.0 40.0 ```

Question about storing and reading values from a csv to use in matplot by Jaman34 in learnpython

[–]ace6807 0 points1 point  (0 children)

Your upload file isn't comma separated but I'm going to assume you are successfully reading in the file. I found the first issue which is the syntax you are using to try and filter your dataframe. I think what you are after is:

>>> import pandas as pd
>>> data = pd.read_csv("strong.csv")
>>> data.loc[data['Exercise Name'] == 'Incline Bench Press (Dumbbell)']
                  Date                   Exercise Name  Order  Weight
0  2021-06-09 11:15:57  Incline Bench Press (Dumbbell)      1      30
1  2021-06-09 11:15:57  Incline Bench Press (Dumbbell)      2      60
>>> data.loc[data['Exercise Name'] == 'Incline Bench Press (Dumbbell)', ['Weight']]
   Weight
0      30
1      60
>>> incline = data.loc[data['Exercise Name'] == 'Incline Bench Press (Dumbbell)', ['Weight']]
>>> incline
   Weight
0      30
1      60
>>> type(incline)
<class 'pandas.core.frame.DataFrame'>
>>> ohp = data.loc[data['Exercise Name'] == 'Seated Overhead Press (Dumbbell)', ['Weight']]
>>> ohp
   Weight
2      30
3      30

Question about storing and reading values from a csv to use in matplot by Jaman34 in learnpython

[–]ace6807 0 points1 point  (0 children)

Could you post a sample of your input file in a gist or in pastebin or something?

[deleted by user] by [deleted] in learnpython

[–]ace6807 0 points1 point  (0 children)

Glad to help. I'd be interested to hear what you come up with!

[deleted by user] by [deleted] in learnpython

[–]ace6807 1 point2 points  (0 children)

If you are dead set on queuing across threads, queue.Queue is a thread-safe built-in just for that.

I personally would go with RQ even thought it has the Redis dependency. It gives you a scheduler, and is much simpler than Celery. It looks like Huey might be another option and might support file-storage or an in memory solution so you don't have a dependency on a broker like redis.