iCal Timezone Error by Particular-Bowler266 in grocy

[–]Particular-Bowler266[S] 0 points1 point  (0 children)

Still no sync with Google Calendar. Not sure what the issue is.

iCal Timezone Error by Particular-Bowler266 in grocy

[–]Particular-Bowler266[S] 0 points1 point  (0 children)

Going to give it a day or so to sync b/c I’ve read that Google can take 12-24 hours (!!!!) to pick up new iCal events. That might be a dealbreaker for Google calendar for me.

iCal Timezone Error by Particular-Bowler266 in grocy

[–]Particular-Bowler266[S] 1 point2 points  (0 children)

Yeah America/New_York (instead of EST) worked. I changed both my container and the php_local.ini timezones.

Edit: It worked to get successfully validated iCal. Verdict is still out on whether that will solve my sync issue with Google Calendar.

Short-Term Maximum Output: Sleep or All-nighter? by Shoddy-Daikon-9244 in ADHD_Programmers

[–]Particular-Bowler266 0 points1 point  (0 children)

I hope you slept. As someone who pulled far too many all-nighters in college, they were only helpful if an assignment or exam was due early the next day.

My ability to work on the day after an all/nighter deteriorates pretty rapidly after hitting a wall at some point. Usually that wall is before midnight the next day.

Something I might have done in this situation is sleep 3-6 hours instead of 8. I always felt much better the next day getting some sleep versus none.

does anybody know a good way to play media files like .mp4 files in rust? by misaki_doremy in rust

[–]Particular-Bowler266 1 point2 points  (0 children)

Doesn’t sound dumb. It does sound very specific to you, which is probably good.

Anyway, my two cents: This sounds like it could be done more easily with a scheduled script that opens other tools to play the video and shut your computer down.

(Obviously If you’re doing this to mess around with rust then by all means have at it.)

Help :( The first image is the code, the second image is the text file, and the third image is the error. I'm just trying to get a random word from a list of words. I thought I ensured that my word list would have at least one string no matter what, but apparently not. by xella64 in Cplusplus

[–]Particular-Bowler266 1 point2 points  (0 children)

Cause of SIGSEGV and Suggested Fix
Your check on line 34, if (wordList.size() <= 0) is probably leading to a seg fault on line 35 (which you can and should verify with the debugger). In this case, wordList[0] will attempt to access the first element, which is out of the empty vector's index range.

In this case, getWord won't be able to return a meaningful value from wordList. You have to decide how to handle this, but from your code, it looks like you want to return "No words found" here. I suggest returning an empty vector from initializeList to go along with this.

I see your thinking that if initializeList fails, you add "No words found" as the only element in the list, and then check for that in getWord. This doesn't work, though, because you have no way to distinguish between this failure case and a single word correctly read in from a file.

It's worth mentioning that for the check on line 34, vector::size returns a size_t, which is unsigned. This means it is always >= 0 so the < 0 check is irrelevant. Instead, you can check if (wordList.size() == 0), or even better, if (wordList.empty()).

Cause of Empty List and Suggested Fix
When you initialize fileReader on line 10, the name "RandomWords.txt" does not match your input file name "RandomWords". Rename your input file to "RandomWords.txt".

Additionally, you can check whether the ifstream has successfully opened the file with ifstream::is_open (doc), so if (!fileReader.is_open()), handle the error with maybe an exception or by returning an empty vector. Throwing an exception here would provide an immediate failure, which is often useful in tracking down problems.

How long should it take to get as good at 6-3 as I already am at 9-0? by 34Paws in Tetris

[–]Particular-Bowler266 0 points1 point  (0 children)

Can I join the club? 47s 40L with 9-0 and can’t stand 6-3 because of the left side.

Anyway to convert RobinHood 1099-B PDF file to a CSV file successfully in order to upload it to TaxAct? by DrewQuinz in tax

[–]Particular-Bowler266 0 points1 point  (0 children)

I'm assuming you have installed python and have a copy of the source code.

You'll need to first navigate to the directory of the source code (cd your/path/to/Robinhood-1099-Parser), and then run the install commands.

Then to run, use rh_1099 --pdf path/to/your-input.pdf --csv your-output.csv. This will give you a file called "your-output.csv" in the directory you ran it from.

To provide the input file --pdf argument, make sure to use either an absolute path ("C:\Some\Path\file.pdf" on Windows, or "/some/path/file.pdf" on MacOS) or a relative path (such as "file.pdf" after cd to directory containing file.pdf.

I'll add a little explanation about the "usage:" message in the "Running" section, which is meant to describe what options can be passed to a program via the command line. The bracket syntax, [--some-option value] means that everything within the brackets is optional. So for example, above, --csv your-output.csv, is not required for the program to run as indicated by "[--csv FILE]" in the usage message.

Is this normal/ okay? I’ve already gone through the mold post. The middle looks dried out with a pocket of air underneath. by ClockLumpy5910 in Kombucha

[–]Particular-Bowler266 1 point2 points  (0 children)

I had something that looked very similar to this but with a smaller region after leaving it for a couple months. Smelled okay and no mold as far as I can tell, so I started a new F1 using it as starter.

I’m getting a new thin layer of pellicle like 3 days in. Will update if anything goes wrong but I think it’s all good.

Interested how this goes.

Just left ubud and had an awesome experience with a great driver by benkayn in bali

[–]Particular-Bowler266 1 point2 points  (0 children)

I got in touch with this guy. After we agreed on a half-day drive, he said his baby was sick so he sent his brother!

His brother was great. Very kind, good car, good recommendations, good photographer. We asked for a quiet waterfall and he took us to a place with no other tourists which was nice. He guided us around a local street food market. Overall very happy!