Jump to content

Ominous

Member
  • Posts

    762
  • Joined

  • Last visited

Everything posted by Ominous

  1. I'm well aware of that, but why on earth would you want to use that over the plethora of options available? Also you will require a transpiler if you want to use React/Vue/etc. Before posting that I also assumed that he was on Windows.
  2. Codesanbox.io should cover you quite well on the frontend web stuff. There are a few sites like Programiz which offer a free Python compiler.
  3. How exactly are you going to use something without downloading it?
  4. We can help you but read this first, please.
  5. First to understand what GitHub is, you first need to know what Git is. Git is a version control system which tracks changes to your code. It primarily operates on the command line but GUI interfaces (such as GitHub Desktop) exist to help you use it. Git website Git works by monitoring a folder which is known as a "repository". It will track all current lines of code contained within that folder and compare any changes you have made to them. When you have made a change, you can then "commit" those changes to the repository and that change can be accessible at anytime in the future. One of the biggest appeals of Git is collaboration. This is achieved through something known as "branches" where two programmers can take their own copy of a repository and work on it themselves without interfering with each other. The commits (changes) to those repository copies are then "merged" together when ready. However, it is important to note where this "repository" is hosted and that is where GitHub comes in. GitHub is a Git repository hosting platform which makes it easy to manage Git projects which have lots of collaborators. It provides an interface which simplifies Git operations and has a bunch of other cool project management tools on top of that. GitHub has loads of documentation available to help you which is available here: https://docs.github.com/. There is also a guides section which will walk you through typical tasks perform on GitHub: https://guides.github.com/.
  6. Few things you might want to know: I believe the double clicking was an issue caused by the Omron switches they use in their mice, I think they've tried to rectify the issue in their latest batches of switches but it is too early to tell if it has been fixed (I'm not entirely sure if this is true though so take that with a pinch of salt). I've never had to deal with their support myself but some people claim that it can be a lost cause, but if you do manage to get a hold of them they'll probably just send you a replacement mouse if there is a problem. Logitech's GHub software is a piece of shit and has been a major pain in the ass for a lot of people, seemingly chosing at random who gets a functioning piece of software and who doesn't. I haven't had a problem with it but I've seen plenty of threads on Reddit and other sites of people having really poor experiences with it.
  7. Logitech leaked an even lighter version of the G Pro Wireless, you should maybe hold out.
  8. You've got it the wrong way around, they're just serving a normal page with an image on it. "/9e3a0083a37d03274c0f733fbcf389ba/tenor.gif" are just route parameters which are being added to an <img> element: I'm guessing media1.tenor.com points to an NGINX server which only serves static content.
  9. If you want to stick with Corsair, they offer low profile boards (but it's overpriced IMO). I've never had the chance to use an MX Keys but everyone seems to give it great reviews so it's worth a shot if you're still not keen on the low profile mechs.
  10. Most Xbox wheels have PC compatibility (as Xboxs run Windows 10), there is at least a 95% chance that it will work.
  11. I'm pretty sure Logitech recently fixed their double clicking issues.
  12. You can return two values in Python, for example: def split_name(name): name = name.split() return name[0], name[1] firstname, lastname = split_name("David Souffle") print(firstname) # David print(lastname) # Souffle And as the others have said, you should read up on scopes.
  13. locations = pickle.load(fh) This line is producing an EOFError. Use a debugger and it'll show you this. You can fix this by setting: locations = apps as its loading the same data Going to be honest here, your Execute() function is a bit of a shit show. Why can't you implement it like this? def Execute(action, app): action = action.lower() if action == "close": CloseApp(app) elif action == "open": OpenApp(app) elif action == "regist": GetAppsAndLocations(apps, locations) Also, the startfile() function is undefined. It seems like the Synchronise() function should be called outside of the while (True) loop as all it seems to do is reload old information that you want to overwrite/append to.
  14. #include <stdio.h> int main(void) { int numbers[5]; int i; for(i = 0; i <= 4; i++) { printf("Enter number: "); scanf("%d", &numbers[i]); } for(i = 0; i <= 4; i++) { printf("%d\n", numbers[i]); if (numbers[i] == 0) break; // add this line } return(0); }
  15. You don't need to specify that it is a .py file, Python already knows this so you can just use otherfile without the .py. Yes, it works the same way. I'm not entirely sure if this will work the same way if you convert it to an executable. I see no reason why it wouldn't, but I also don't know why you want to turn it into an executable.
  16. main.py: from otherfile import hello print(hello) otherfile.py: hello = "world"
  17. You'll need to store it in a separate .json file. You should have your program.py file and a data.json file (you can name them what you want), you can store it where you want but I'd recommend just storing it alongside the program.py file. Really basic saving/storage: import json # load data with open('data.json', 'r') as file: data = json.load(file) # create new Key-Value pair data['discord'] = 'PATH_TO_DISCORD' # save data with open('data.json', 'w') as file: json.dump(data, file)
  18. Nope, just install the json package and you're good to go.
  19. Store it as a JSON object { "origin": "PATH_TO_ORIGIN", "steam": "PATH_TO_STEAM" } https://www.w3schools.com/python/python_json.asp
  20. Ominous

    .

    I'm not entirely sure what you're trying to achieve here. Do you want to send a message every 10 seconds if it is started or not? Also, there are a few problems with this code. It seems like the 'Started' variable would be much better suited to the boolean type. Despite the fact you've used it correctly on a previous line, console.log = 'no'; will effectively delete the console.log() method.
  21. The reviews are most definitely fake. All of them are 5 stars and most of them are a single sentence with similar grammar. "The connection is fast and stable, I like to use it to operate the notebook." - a review from Australia, who speaks like that?
  22. The Razer Viper has actually turned out to be a very solid mouse. Logitechs offerings are also very good but as you say, they can often be prone to double clicking issues. I'd avoid Corsair mice, in personal experience I don't think they're very good.
×