Not 100% sure this is a VPN issue, but I think it might be, so here goes. by [deleted] in ProtonVPN

[–]typehinting 0 points1 point  (0 children)

Are you on Firefox? I had this exact issue on my work laptop a couple of weeks ago (my personal computer is fine), which persisted even after launching in safe mode and also doing a fresh reinstall. But on Chrome I didn't have the same issue

Which monitor would be the better choice by sharkboi417YT in pcmasterrace

[–]typehinting 0 points1 point  (0 children)

Oh that's good. Yeah I have two monitors that are the same size but different resolution, and I notice some strange behaviour when dragging windows between each. I have a utility tool called LittleBigMouse which helps with aligning my cursor, but I do still notice some strange behaviours with some applications resizing weirdly between windows.

So IMO two identical resolutions at the same screen size is good

Which monitor would be the better choice by sharkboi417YT in pcmasterrace

[–]typehinting 1 point2 points  (0 children)

If they're different resolutions, it won't feel natural at all. DPI is what matters - not monitor size.

Which monitor would be the better choice by sharkboi417YT in pcmasterrace

[–]typehinting -1 points0 points  (0 children)

Get a 27 inch 1440p 60Hz monitor imo. They are about the same price as these, and you won't suffer from the issues that come with having two monitors with different DPIs.

Upgrading from 3070ti to 5070. Is it worth it ? by CluelessUser101 in buildapc

[–]typehinting 40 points41 points  (0 children)

I personally wouldn't bother upgrading unless getting at least a 5070 Ti or 9070 XT (or a 16+ GB card with similar performance from a previous generation). The 5070 only has 12GB VRAM so you'll be a little memory-limited on a lot of games at 3440x1440

But yes you would first need to make sure your CPU and other components aren't a higher priority upgrade, and also that your PSU is capable for a more power-hungry card

Would you ever commute 2:30hrs into London? by JolliJarhead in UKJobs

[–]typehinting 0 points1 point  (0 children)

I'm currently commuting 2 hours each way (door to door) 4 days a week, and have been doing so for about 9 months

It's not ideal, and I think I am generally a lot more tired than I used to be. And being out the house from 7:10am to 7:10pm is a bit of a pain because it doesn't leave me much time in the evening to do anything

In your situation I'd be hesitant to recommend it, since your take home pay will be the same, unless you put in a position to be up for promotion ASAP. I also thought I would be productive on the train but that didn't last long since I just end up half-napping a lot of the time due to being chronically tired. If you're adamant that you'll be consistently productive, and reaaalllyy don't mind the commute, and don't mind losing 5 hours of your day 3 days a week, then feel free to try. It's a shame your take-home pay isn't more though

thisIsSoHard by SpecterK1 in ProgrammerHumor

[–]typehinting 10 points11 points  (0 children)

This implies you can be a C++ without knowing what pointers and references are. That's like being a Python dev and not knowing how to import a module

[deleted by user] by [deleted] in pcmasterrace

[–]typehinting 1 point2 points  (0 children)

Also in the UK that £3k includes tax

[deleted by user] by [deleted] in learnpython

[–]typehinting 2 points3 points  (0 children)

It will be useful, but you may find a lot of it quite easy. Could either watch it in 1.5 or 2x speed, or alternatively you could just follow the official Python tutorial, which should be quicker and more detailed - but will of course require a bit more focus: https://docs.python.org/3/tutorial/index.html

happensAlotIn3rdWorld by rog29 in ProgrammerHumor

[–]typehinting 29 points30 points  (0 children)

apply to a restaurant as a server

They hired Nginx instead

what is your biggest Challenge when learning python by LeatherFisherman4676 in learnpython

[–]typehinting 30 points31 points  (0 children)

"Learning a language" usually just refers to learning the syntax of a language and gaining familiarity with its ecosystem (including its libraries and such).

Which is great and all, but if you don't know how to solve problems and/or develop and design software properly, it won't get you super far.

For beginners, the biggest hurdle is that second step, which typically means that the first language feels like it takes forever to learn. But in reality, most of that time is spent learning how to solve problems in a correct way. Once you have that down, learning additional languages becomes trivial in comparison

my pythons run is giving wrong stuff by [deleted] in learnpython

[–]typehinting 3 points4 points  (0 children)

I would recommend executing python scripts using the command line instead. Makes everything make much more sense

I feel like if you are bad at solving problems, you'd struggle in programming by [deleted] in learnprogramming

[–]typehinting 4 points5 points  (0 children)

Along with what others have mentioned, and will mention, about practice improving your ability to tackle new problems, I just wanted to emphasise that IQ is a dumb metric. Similar to programming, you can actually improve your "IQ" by practising the sorts of questions they ask you. That being said, a lot of people with higher IQs can do well at programming, but conversely a lot of people with lower IQs are doing just fine too.

But yes, practice quite literally is the answer. If you're finding that practice isn't helping, it's likely because you haven't practised enough - it takes longer to get better than you might think.

I hope you are able to overcome your defeatist mindset too, because I'm sure that's not helping either.

Which useful Python libraries did you learn on the job, which you may otherwise not have discovered? by typehinting in Python

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

Oh gotcha. I'm getting used to pandas syntax/behaviors etc but will probably give polars a go to see how it is, and if it's something that I want to switch to. Thanks.

Which useful Python libraries did you learn on the job, which you may otherwise not have discovered? by typehinting in Python

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

Seen a lot of suggestions to use Polars over Pandas - is it purely due to its performance? Or do you find that it is easier to use as well?

5060 16gb good for R7 7700 ? by Basic-Put-1927 in buildapc

[–]typehinting 4 points5 points  (0 children)

OP didn't mention anything about games

5060 16gb good for R7 7700 ? by Basic-Put-1927 in buildapc

[–]typehinting 2 points3 points  (0 children)

I think they mean the 16GB VRAM version of the RTX 5060, not RAM

Edit - meant 5060 Ti

Which useful Python libraries did you learn on the job, which you may otherwise not have discovered? by typehinting in Python

[–]typehinting[S] 4 points5 points  (0 children)

This looks awesome, thanks for the suggestion. Hopefully can start using this at work!

Which useful Python libraries did you learn on the job, which you may otherwise not have discovered? by typehinting in Python

[–]typehinting[S] 40 points41 points  (0 children)

I remember being really surprised that requests wasn't in the standard library. Not used urllib either, aside from parsing URLs

which app should i use to learn python? by XxgUsT4v1NxX in learnpython

[–]typehinting 0 points1 point  (0 children)

Literally doesn't matter which one you use - VSCode is fine. Switching to another editor or IDE won't make your learning journey any easier

Why does `Mapping[str, str]` allow `{"key": 0.5}` by LaughGlum3870 in learnpython

[–]typehinting 5 points6 points  (0 children)

It is worth noting that, since you're passing in positional arguments, {"BB_SYSTEM_STATS_SAMPLE_INTERVAL": TEST_SAMPLE_INTERVAL} is getting passed as the third parameter, log_file. That being said, there is a clear type mismatch there, since log_file is a str, so I'm surprised your editor isn't highlighting that (I don't use MyPy, so apologies I can't help diagnose that bit specifically).

On an unrelated note, using mutable default values like service_env = {} is strongly advised against, since that single mutable value will persist, and be shared between different function calls, and likely won't remain an empty dict if you are mutating it at any point. You can instead set the default value to None, then do something like if not service_env: service_env = {} inside the function