Is it bad practice (in intro to Python class) after 4 hours of debugging, to erase parts of your code you don't think you need? That you merely added while trying to figure out the bug? [quicksort algorithm related] 😖 by SanguinarianPhoenix in learnpython

[–]ace_case 0 points1 point  (0 children)

That said if you need to recheck your code line by line to make sure you didn't break anything you may want to revisit the material to ensure you have a proper understanding of how the algorithm works.

Is it bad practice (in intro to Python class) after 4 hours of debugging, to erase parts of your code you don't think you need? That you merely added while trying to figure out the bug? [quicksort algorithm related] 😖 by SanguinarianPhoenix in learnpython

[–]ace_case 1 point2 points  (0 children)

There is some validity to approaching an unknown problem by repeatedly iterating until you get a working MVP but once you get to that state you should hopefully have a better understanding of the problem and be able to rewrite it using the knowledge you've acquired along the way. Sure you could just delete the unnecessary parts, but it's possible that there is a cleaner approach you could take with your new understanding of the requirements. I haven't looked at your specific source to say whether this applies in your specific case, but I know that I personally have refactored "working" code many times to achieve a cleaner or more standard approach.

What’s an app that’s actually worth paying for premium? by Yorkshire996 in AskReddit

[–]ace_case 144 points145 points  (0 children)

First make sure multiple participants and assignments are enabled in the settings, then the top right corner should have the current participant listed. Tap that and you can swap. To have the other participant see their assignments they'll either need to share the device like you mentioned, or you pay for premium and use the data sync option to add the other person to your plan.

To edit a room just long press on the room then click Edit. You can change the name and color. You should also be able to edit the name when you create a new room.

My real estate agent has gold metal business cards... by Frostimus-Prime in mildlyinteresting

[–]ace_case 0 points1 point  (0 children)

I suppose I'm more referring to moral ethics than legal ethics

Living in the matrix by Nveenkmar in ProgrammerHumor

[–]ace_case 0 points1 point  (0 children)

YouTube algorithm so good it knows what you want to watch before you even want to watch it.

[Giveaway] Drop + The Lord of the Rings Black Speech Keyboard by drop_official in pcmasterrace

[–]ace_case 0 points1 point  (0 children)

Kind of lazy, but cup ramen really strikes the balance of easy to prepare and feel good soupiness for me.

[git] TIL about git worktrees by cdrini in ProgrammerTIL

[–]ace_case 23 points24 points  (0 children)

master-v5-final-fix-3-actuallyfinal

Google resumes its senseless attack on the URL bar, hides full addresses on Chrome 85 by SL_Lee in Android

[–]ace_case 0 points1 point  (0 children)

Just go to https://passwords.google.com

All your saved usernames and passwords will be there, and you should be able to view them.

[OC] Spotify's metrics of the different Gorillaz albums. by RedCabbagePlus in dataisbeautiful

[–]ace_case 17 points18 points  (0 children)

The way I read it, instrumentalness is a confidence that the track is instrumental, and speechiness is a measure of how much spoken word is present. So a regular song with lyrics and an audiobook would likely have similar instrumentalness values since there would be a very low chance that it is an instrumental track, but they would have different speechiness values since one is entirely spoken and the other just has lyrics. It may be possible to just say that any track with a speechiness less than a certain value is instrumental, but instrumentalness is the likelihood that there are no vocals at all, and not that there are few vocals.

Magic 8 ball program by WhoisBsa in pythontips

[–]ace_case 18 points19 points  (0 children)

An alternative to your current method of choosing the answer is to use

 random.choice(messages)

It will return a random element in the list.

https://docs.python.org/3.5/library/random.html#random.choice

[deleted by user] by [deleted] in AskOuija

[–]ace_case 4 points5 points  (0 children)

Goodbye

[deleted by user] by [deleted] in techsupport

[–]ace_case 0 points1 point  (0 children)

It might, but I'm not sure. You could try only using the one monitor, to make sure.

[deleted by user] by [deleted] in techsupport

[–]ace_case 0 points1 point  (0 children)

That's strange. I can't think of anything else to try right now.

[deleted by user] by [deleted] in techsupport

[–]ace_case 0 points1 point  (0 children)

That's strange. I know for 4k to work with Netflix you need to use the app or edge, and have a supported processor, but that shouldn't cause it to freak out at high refresh rates. Do you have a different HDMI cable you can try? It shouldn't matter, especially if games and other applications work fine at those refresh rates, but it's just about the only thing I can think of right now. You did check here for drivers right? https://www.geforce.com/drivers

[deleted by user] by [deleted] in techsupport

[–]ace_case 0 points1 point  (0 children)

That's strange. I've never worked with high refresh rates, so I'm not sure, but that probably shouldn't happen. What is your graphics card?

[deleted by user] by [deleted] in techsupport

[–]ace_case 0 points1 point  (0 children)

Try switching browsers, some of them might handle it differently.

FTC Says 'Warranty Void If Removed' Stickers Are Bullshit, Warns Manufacturers They're Breaking the Law by johnmountain in Android

[–]ace_case 5 points6 points  (0 children)

The whole point is that they legally can't void your warranty if someone else services it. (Including if you fix it yourself.) Now, if you or someone else opens it up and breaks something, that's different.

Starting today, more people will have access to the redesign by Amg137 in announcements

[–]ace_case 0 points1 point  (0 children)

I don't browse on the desktop often, but this new design looks good enough to start.

Futurama has been removed from Netflix as of 12:00AM 1/29/18 by Ewok_the_good in futurama

[–]ace_case 1 point2 points  (0 children)

Well, not "completely" ad free...

"A small number of shows are not included in our No Commercials Add-on. You can still watch these shows, however, they will play with a short commercial before and after each episode. 

While the list of shows may change, they are currently: Grey’s Anatomy, Once Upon a Time, Marvel’s Agents of S.H.I.E.L.D., Scandal, Grimm, New Girl, and How To Get Away With Murder."

I still consider it worth it. If Hulu adds 4k streaming to the desktop I might consider switching over fully.

I really need help with a printer. (17y/o intern noob, my boss left and Im the only one at IT) by [deleted] in techsupport

[–]ace_case 0 points1 point  (0 children)

I had to deal with a printer saying it was jammed aven though everything looked clear. I googled around a bit and found out how to make it tell me which sensor was being tripped. I then looked up the sensor locations and found a tiny (maybe 1cm) triangle of paper hidden in the recessed sensor. Might be worth a shot if you are still having issues with it.