Jump to content

Umberto

Member
  • Posts

    93
  • Joined

  • Last visited

Awards

This user doesn't have any awards

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. You can create a shortcut that takes a photo, adds a "IMG_0001" text overlay and then saves the photo to the files app as IMG_0001.heic You can add a loop that increments a variable for sequential naming.
  2. I don't know of any app that does this but you can quite easily create a shortcut to do this
  3. Why not use home sharing? https://support.apple.com/guide/tv/stream-content-to-apple-tv-atvbc876df1e/tvos https://support.apple.com/en-us/HT202190
  4. For what it's worth, I've never used any anti virus software during my 17 years as a mac user.
  5. wait, so Elon Musk promised something that ended up not happening? Wow, that's shocking.
  6. Oh, it's "Family purchases and payments" that is the culprit. If your sister disables that you will still be able to share subscriptions from apps that offers family sharing (all Apple services do), but purchases will be billed to each separate apple id.
  7. The cause for this is likely due to your apple id in the family sharing group is setup as a "child" account.
  8. Nova is by far my favorite. Could it possibly be the nicest text editor on any platform? It's not the most feature rich or has the biggest library of plugins/extensions, but it sure is nice. Special shout out to Smultron that I used for well over a decade but I never see mentioned anywhere.
  9. As far as I could tell, .ova is just an archive so try to tar the files together and rename it to .ova
  10. Look up f-strings What I mean is instead of doing this: if scoreboard.seconds<10 and scoreboard.minutes>0: if scoreboard.minutes<10: minuteLabel.set_value(str(scoreboard.minutes)) secondLabel.set_value('0'+str(scoreboard.seconds)) clockLabel.config(text=' '+str(scoreboard.minutes)+':0'+str(scoreboard.seconds)) mainminuteLabel.set_value(str(scoreboard.minutes)) mainsecondLabel.set_value('0'+str(scoreboard.seconds)) else: minuteLabel.set_value(str(scoreboard.minutes)) secondLabel.set_value('0'+str(scoreboard.seconds)) clockLabel.config(text=str(scoreboard.minutes)+':0'+str(scoreboard.seconds)) mainminuteLabel.set_value(str(scoreboard.minutes)) mainsecondLabel.set_value('0'+str(scoreboard.seconds)) elif scoreboard.minutes==0: if scoreboard.seconds<10: minuteLabel.set_value('0'+str(scoreboard.seconds)) secondLabel.set_value(str(scoreboard.tenths)) clockLabel.config(text='0'+str(scoreboard.seconds)+'.'+str(scoreboard.tenths)+' ') mainminuteLabel.set_value('0'+str(scoreboard.seconds)) mainsecondLabel.set_value(str(scoreboard.tenths)) else: minuteLabel.set_value(str(scoreboard.seconds)) secondLabel.set_value(str(scoreboard.tenths)) clockLabel.config(text=str(scoreboard.seconds)+'.'+str(scoreboard.tenths)+' ') mainminuteLabel.set_value('0'+str(scoreboard.seconds)) mainsecondLabel.set_value(str(scoreboard.tenths)) else: if scoreboard.minutes<10: minuteLabel.set_value(str(scoreboard.minutes)) secondLabel.set_value(str(scoreboard.seconds)) clockLabel.config(text=' '+str(scoreboard.minutes)+':'+str(scoreboard.seconds)) mainminuteLabel.set_value(str(scoreboard.minutes)) mainsecondLabel.set_value(str(scoreboard.seconds)) else: minuteLabel.set_value(str(scoreboard.minutes)) secondLabel.set_value(str(scoreboard.seconds)) clockLabel.config(text=str(scoreboard.minutes)+':'+str(scoreboard.seconds)) mainminuteLabel.set_value(str(scoreboard.minutes)) mainsecondLabel.set_value(str(scoreboard.seconds)) Where each set_value method is duplicated 6 times, you can remove all of that using f-strings and calling each method once. For minuteLabel it would look like this: minuteLabel.set_value(f'{scoreboard.seconds:02d}' if scoreboard.minutes==0 else str(scoreboard.minutes)) Edit: This would reduce 39 lines of code down to just 5.
  11. Obvious duplicate code is : minuteLabel.set_value(str(...)) secondLabel.set_value(str(...)) clockLabel.config(text=str(...)) mainminuteLabel.set_value(str(...)) mainsecondLabel.set_value(str(...)) That you call 6 times. Use f-strings: f'{scoreboard.seconds:02d}' returns the desired formatted string
  12. There's very little difference in performance between the Air and the Pro so that shouldn't be a factor. It's the other factors that you should consider (brighter screen, bigger trackpad, touchbar etc). I went from a 13" Intel Pro to an M1 Air because I couldn't justify the higher price tag for the pro and I don't regret my decision. It doesn't get hot.
×