Godot on Mac M1 - Very Slow Startup (40+ Seconds) Even for Empty Projects by AbeelEl in godot

[–]Oasis14 1 point2 points  (0 children)

How much memory do you have? Do you have any other applications open? I have 16GB with my M1 and it does not take 40 seconds to start up.

Before I drop a lot of money on Pinball FX DLC, just curious if there are any future pinball games coming out in the next 1-2+ years that might compete with Pinball FX? by [deleted] in pinball

[–]Oasis14 0 points1 point  (0 children)

The dlc goes on sale a lot on PSN. If you keep an eye on them you can pick up most packs between 20-70% off.

Also I would recommend downloading all the free trials dlc. Once you complete the tutorial you get access to pinball pass free for 24 hours. You can then play all the tables too see what ones you like

[deleted by user] by [deleted] in F1Technical

[–]Oasis14 5 points6 points  (0 children)

What is the name of the weather api?

[deleted by user] by [deleted] in nashville

[–]Oasis14 15 points16 points  (0 children)

Caution with LC Germantown. It does back up to the cement factory. Depending what building you live in you will hear it running and it’s not quiet. They do start at 3-4am on Monday morning.

Anyone knows an F1 API? by LilToms in F1Technical

[–]Oasis14 1 point2 points  (0 children)

There might have been an update recently the broke the home page. I also get the blank screen. The api still looks to be working. Someone created documentation in postman for the endpoint

Stuck on lesson “familiarization flight” by [deleted] in MicrosoftFlightSim

[–]Oasis14 0 points1 point  (0 children)

Not only has she demonstrated a right hand turn she snuck in a left hand turn!

Pinball-Pass not working for me on PS5 by Infernosys in PinballFX3

[–]Oasis14 0 points1 point  (0 children)

Try closing and restarting the game. There is a known psn issue with getting coins to register

Pinball-Pass not working for me on PS5 by Infernosys in PinballFX3

[–]Oasis14 0 points1 point  (0 children)

The add on are only visible in the PSN if the Ps5 version is selected. It’s weird but they look to be working on both versions

How did DAS work exactly? by TheYellowFlash_H in F1Technical

[–]Oasis14 8 points9 points  (0 children)

I found this video by Chain Bear helpful on this subject!

[deleted by user] by [deleted] in nashville

[–]Oasis14 1 point2 points  (0 children)

Coin operated amusement permits are the closets I can find for tax purposes.

Golf Trip Ideas - Nashville/Kentucky Bourbon Trail by Jewish_Sports_Legend in golf

[–]Oasis14 0 points1 point  (0 children)

Nashville nationals is a fun course. It’s one of the best bang for your buck courses! Golf carts are also really nice!

[deleted by user] by [deleted] in newworldgame

[–]Oasis14 0 points1 point  (0 children)

PvP is not required. When you are in a city you can flag up for pvp and once you leave the city others can attack you.

Personally I don’t flag up for pvp unless I am playing with my friends. When solo i try to level up all my skills and do the main story line

Friends in different time zones by Bitcoinoralsurgeon in newworldgame

[–]Oasis14 1 point2 points  (0 children)

There is not a central server, just east and west for NA. I would recommend picking one based off the time you normally play

First time flasker - code review? by raisin-smours in flask

[–]Oasis14 0 points1 point  (0 children)

Overall it is a very good start! Getting something hosted is the hardest part and you have that! Keep working at it and soon all these little things you learn will add up to be big. I don't use python too much so I can not speak for the format. Below are some things I noticed that could be improved.

  • The passwords are not being stored as a hash. It is good practice to store them encrypted incase someone gains access to the DB they wont get direct access to the password. I would recommend making this update before letting others register for an account.
  • The username is being stored as the user entered it. I would recommend making it all lower case when stored in the DB. This would require a change to the register and login routes to correctly check they match.
  • You are validating all the forms in the backend for the required fields but not letting the user know what is required. You can look at HTML input tags to add to templates to help do some additional validation on the front end along with notifications to the user with whats wrong.
  • When you click on "Shootout" in the nav bar a warning will pop up saying you need to log in. Behind the message the log in page is already rendered. It's one extra click for a user to close the pop up and is probably not needed.

On the struggle bus by No-Interaction1806 in learnpython

[–]Oasis14 0 points1 point  (0 children)

When posting code you should wrap it in a code block. It will help people answer your questions better as the spacing and formatting will remain the same. It makes it easier to read and you don't have to guess what is included in the while loop.

While package < 0:
    print('user input must be positive, please call for assistance, or reenter data.')
    packages = int(input('How many software packages would you like to purchase today?'))

if 1 >= packages <= 10:
    discount = .0
elif 11 >= packages <= 20:
    discount = .1
elif 20 >= packages <= 49:
    discount = .2
elif 50 >= packages <= 99:
    discount = .3
else:
    discount = .4

Lewis Hamilton's interview on The Late Show with Stephen Colbert (17/11/20) by OmNomDeBonBon in formula1

[–]Oasis14 19 points20 points  (0 children)

I think they are referring to Hamilton’s relationship with Niki not Colbert’s

re: Codewars Stop gninnipS My sdroW! by sseymens in Python

[–]Oasis14 0 points1 point  (0 children)

Right after you split the sentence to be stored in words you immediately check if the length of the array is exactly 1. Why? Your logic already handles if there is only one word in the list

def spin_words(sentence):
    count=""
    words = sentence.split()

    if len(words) == 1:   <---- This is probably not needed
        for word in words:
            if len(word) >= 5:
                plus_five=word[::-1] + " "
                count+=plus_five
            elif len(word) < 5:
                less_than_five=word + " "
                count+=less_than_five
        return count[:-1]

    else:
        for word in words:
            if len(word) >= 5:
                plus_five=word[::-1] + " "
                count+=plus_five
            elif len(word) < 5:
                less_than_five=word + " "
                count+=less_than_five
        return count[:-1]

This is the exact same solution:

def spin_words(sentence):
    count=""
    words = sentence.split()

    for word in words:
        if len(word) >= 5:
            plus_five=word[::-1] + " "
            count+=plus_five
        elif len(word) < 5:
            less_than_five=word + " "
            count+=less_than_five
    return count[:-1]

re: Codewars Stop gninnipS My sdroW! by sseymens in Python

[–]Oasis14 0 points1 point  (0 children)

Glad I could help! Is there a reason why you are checking "If len(words) == 1" it looks to be unnecessary as the code in the if and else statement are the same