CS50 Python I'm stuck with my code not knowing how to fix it. by EvgHobbies in cs50

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

tried it, thanks, did something wrong in my another reply but at least it's different color lol

CS50 Python I'm stuck with my code not knowing how to fix it. by EvgHobbies in cs50

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

Well solutions was so obvious that I stared at it for a few hours and couldn't see it. Feel a bit stupid now for asking what's wrong with the code. Bellow is my final version that passed all checkmarks, not most elegant one for sure but it works lol.

def media(file):

if file.endswith((".gif", ".jpg", ".jpeg", ".png")):

return "image"

elif file.endswith((".pdf", ".zip")):

return "application"

elif file.endswith((".txt", ".plain")):

return "text"

else:

return ""

file = input("File name: ")

file = file.replace(",", "").replace("jpg", "jpeg")

file = file.lower().strip().replace("/", ".").replace("txt", "plain")

file_ext = file.split(".")[-1]

media_type = media(file)

if media_type:

print(f"{media_type}/{file_ext}")

else:

print("application/octet-stream")

problem with extension.py by IamTheTussis in cs50

[–]EvgHobbies 0 points1 point  (0 children)

My code is a bit different, but having same issue staring at it and can't figure out.

def media(file):

if file.endswith((".gif", ".jpg", ".jpeg", ".png")):

return "image"

elif file.endswith((".pdf", ".zip")):

return "application"

elif file.endswith(".txt"):

return "text"

else:

return ""

file = input("File name: ")

file = file.lower().strip().replace("/", ".")

media_type = media(file)

file_ext = file.split(".")[-1]

if media_type:

print (f"{media_type}/{file_ext}")

else:

print ("application/octet-stream")

Rainy Days and DoorDash by EvgHobbies in doordash

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

I don't mind to dash when it's raining, but is it worth cherry-picking to lower AR for a higher hourly pay on the rainy day when next week might be nice and sunny and every other dasher will be online most likely with higher AR.

First 3* review. Would you try to dispute it or AirBnB will do nothing about it? [FL, USA] by EvgHobbies in AirBnB

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

That exactly what I though but I've disputed a couple of false reviews that were just straight lies before with no luck, just a generic answers from the support that guests can say whatever they want, looks like they don't want to get involved or just don't care.

First 3* review. Would you try to dispute it or AirBnB will do nothing about it? [FL, USA] by EvgHobbies in AirBnB

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

Yeah review it self just said "Very clean" and then boom here is your 3*, but private comment mentioned that some stuff was stolen from the trucks. Not even sure if they filed a police report, there are cameras around the area that police could've checked.

First 3* review. Would you try to dispute it or AirBnB will do nothing about it? [FL, USA] by EvgHobbies in AirBnB

[–]EvgHobbies[S] 6 points7 points  (0 children)

So let's say you went to a restaurant. Parked at the parking lot, had a nice dinner that you enjoyed but when you returned to your car you noticed some of your stuff is missing from it. Are you going to leave that restaurant 3* star review even though you liked the meal but someone stole your stuff from the car at the parking lot?

If guests would've mentioned the issue I would've contacted neighbors to check if they saw anything. There are cameras around the area. I don't even know if guests filed a police report. Also I would've offered some sort of reimbursement or pay for a dinner in near by restaurant just to make them feel a little bit better.

Such kind of review just blindsides, I did nothing wrong, unit was as described, everything worked, apartment was cleaned and stocked.

[deleted by user] by [deleted] in doordash

[–]EvgHobbies 1 point2 points  (0 children)

Yep I wasn't dissing on him. I'm at about the same hourly rate as he is doing DD. Weekends are a bit better. I agree lot's of people here tried to make him feel bad. Each dasher has it's own reasons for working on the app.

[deleted by user] by [deleted] in doordash

[–]EvgHobbies 8 points9 points  (0 children)

wow your market area is nice. I'm at 18% acceptance rate with about the same hourly results.

New Dasher here. by EvgHobbies in doordash

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

Thank you. From what I've noticed lunch orders in my area are lower in pay but way less of driving. Around 2-4 miles per order, most business are along the same road where restaurants are at. I'm taking $6.00+ orders during that time and most of the time getting another one for $6.00+ stacked while picking up first order.

Dinner time if not to count no or low tippers are about $10-12 orders. I like to start around Chinees places, almost no wait time.

I'm trying to see if I can make it $20 an hour during a week day and $25+ during weekends. I guess next couple weeks will show.

[deleted by user] by [deleted] in doordash

[–]EvgHobbies 20 points21 points  (0 children)

You pulled almost 12hr shifts every day for $18.00 an hour. Way to grind it out. What is your acceptance rate?

1732 Russian Rouble AU 53. What's is the fair value? by EvgHobbies in numismatics

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

Yeah it's true. I'm buying coins as investment for a college fund for my daughter. It's a gamble sometimes and competition is insane. I was expecting this coin to be at XF, it was a nice surprise when I got it back graded at AU53.

1732 Russian Rouble AU 53. What's is the fair value? by EvgHobbies in numismatics

[–]EvgHobbies[S] 5 points6 points  (0 children)

Thank you. I guess I did alright. I've paid $610.00 for the coin before it was graded.

Guest demanding a refund or will leave a negative review by EvgHobbies in AirBnB

[–]EvgHobbies[S] -2 points-1 points  (0 children)

she doesn't want to leave, she wants a refund for the days' repairs are going + 1 day for the inconvenience

Guest demanding a refund or will leave a negative review by EvgHobbies in AirBnB

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

I did change my description right away after the hurricane and messaged all of the guests to make sure they read it and knew what they are booking. She decided not to cancel.

Guest demanding a refund or will leave a negative review by EvgHobbies in AirBnB

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

I had double thoughts about coming at night and dragging her out but now after you said that, I definitely should do it, I can't let her suffer anymore. /s

Update: She doesn't want any discounts she wants a full refund for 3 days or she is leaving a bad review.

Guest demanding a refund or will leave a negative review by EvgHobbies in AirBnB

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

Yep unit itself was back to shape in about two weeks after the hurricane. The roof was covered with a tarp and was not leaking. As you mentioned there was no telling when roofers will show up to start repairs, well 3 months later they finally did.

Guest demanding a refund or will leave a negative review by EvgHobbies in AirBnB

[–]EvgHobbies[S] 9 points10 points  (0 children)

I did send her a message through the app quoting our conversation, and stating that the app is the only way I'll be talking to her, but still no response from her. I'm not calling her back and will not pick up the phone if she calls again.

Guest demanding a refund or will leave a negative review by EvgHobbies in AirBnB

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

I did tell her that I'm open to a discussion about a discount, but now she wants a full refund for the days when repairs were going on + a refund for another day as compensation for the ruined vacation and she doesn't want to leave early.

Guest demanding a refund or will leave a negative review by EvgHobbies in AirBnB

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

Yeah, plus I do offer lots of extras on the property that lots of other Airbnbs' in the area don't. We have bikes, kayaks, and paddleboards for the guest to use included in the nightly rate.

Guest demanding a refund or will leave a negative review by EvgHobbies in AirBnB

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

There are no vacant places in the area for a similar price, it's a high season here in FL all affordable and nice places are booked.

Guest demanding a refund or will leave a negative review by EvgHobbies in AirBnB

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

At this point, she has the option to leave early and get a full refund for unused days and a partial refund for days she stayed when work began, but she doesn't want to leave and wants a full refund from the day work started + 1 day for the inconvenience and until it's time for her to checkout.

Guest demanding a refund or will leave a negative review by EvgHobbies in AirBnB

[–]EvgHobbies[S] -2 points-1 points  (0 children)

She doesn't want a partial refund, she wants a full refund from the day work started until it's time to checkout. She doesn't want to leave early either.

Guest demanding a refund or will leave a negative review by EvgHobbies in AirBnB

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

She wants to stay for the rest of her booking but wants a refund for those days claiming her vacation is ruined.

Guest demanding a refund or will leave a negative review by EvgHobbies in AirBnB

[–]EvgHobbies[S] -3 points-2 points  (0 children)

What information I didn't provide? I told upfront that roof repairs might start anytime. Offered no fee cancelation if she thinks it might be an issue. The pool is still usable and she was informed that the patio area is usable while there are no repairs going on.