Yeah well that’s not the worst honestly… I have the exact model and for reasons I cannot explain the ergonomics are incomparable with me. And I’m a mac user for my music production activities so it’s not like I’m a hater - I really don’t care. But I’ll stick to only using the touchpad on my mac book pro.
That’s a one-way ticket to carpal tunnel my friend. Just get a nice, non-apple mouse. That’s what I did and I couldn’t be happier. Video editor, so we largely work the same way.
Plus with even a cheap mouse these days you can customize different buttons - great for your workflow.
Trust me when I say this, wrist pain does not seem like a big deal until it starts happening. Then it affects literally everything you do. It took me months to get mine under control, it was awful. And now I have to constantly be taking preventative measures in a way I didn’t have to even just a few years ago. Admittedly this was largely due to using my phone too much, but I also relied too much on cheap mice and trackpads.
Grip style. People grip their mice in different ways and the Magic Mouse really doesn’t work for palm grippers. For fingertip grippers it’s one of the most comfortable mice ever made; for everyone else it’s hot garbage.
I would swap Python with C++. Constantly dealing with stupid runtime errors that could’ve been easily captured during compile time.
Did you forget to rename this one use of the variable at the end of the program? Sucks for you, because I won’t tell you about it until after 30 minutes into the execution.
Shouldn’t be forgetting for one off scripts either, if that’s the logic you want to go with.
The tool exists, either you do it or you don’t and end up getting an error until the interpreter hits that line. It’s just the nature of being compiled at runtime.
Then maybe use an editor with a decent linter and check the problems tab or just red line markers?? I also have those kind of runtime errors sometimes but I take the blame.
TDD only works well if the problem is clearly specified before the first line of code has been written, which is rarely the case when I need Python for something.
So which is then? You want a one off script to just quickly crunch some numbers on a problem you still need to understand? Because that is where it is perfectly normal to get some errors and doodle around. That is the entire point of it.
Or you have a concise concept of what you are going to do, and how and why? Because that is what you do, when you program more than a “one off”.
Either you go to the store with a shopping list and you work through that list or you go browsing and see what comes up. But don’t expect to be as fast and have everything you needed, when you dont write your shopping list at home.
Often I use Python for exploratory purposes. Like, I got a bunch of data, and I want to know if a particular algorithm might work or not. I implement the algorithm, but realize the results don’t look good enough. So I tweak the algorithm, maybe even do major refactoring. Or maybe I realize my visualizations or metrics don’t capture what I need to see. Or maybe I must settle for some compromise?
I iterate on this repeatedly until I find something I’m happy about (or until I give up). Sometimes I end up with something completely different from my initial idea.
TDD won’t help me much here because the end result is unknown. For each iteration of this idea process I might even need to rewrite all the tests because none of them are valid anymore.
Mostly number crunching and data exploration tasks. Just so I can make informed decisions about the data I got. I do this rarely enough so it hasn’t been worth for me to install all these extra third party support wheels.
It doesn’t need to have large complex scopes. I have the brain of a goldfish. I program because it’s challenging. It’s challenging because I’m bad at it.
Catching some errors is better than catching no errors. No compiler in any language can protect you from all runtime errors either way, but some are better at it than others.
Seriously though, writing a monolith of a function and not testing anything until you run it the first time isn’t the way to go. Even with a compiler you’re only going to catch syntactical and type issues. No compiler in the world is going to tell you you forgot to store your data in the correct variable, although it or a a linter may have helped you realize you weren’t using it anywhere else.
Agreed. Mypy pre-commit hooks are very useful if you’re starting a fresh project. Adding typing to an existing project which reuses variables with different types… We lost weeks to it.
I guess as a C# guy I’ve never had to deal with an issue like this. Most of the time the exceptions are pretty easy to diagnose unless it’s in the UI or in some async function.
I’m assuming it can hold a charge long enough that you can just charge it while you’re sleeping, and this won’t interrupt your work. On the other hand, if they had placed the socket in the front, you could work while you charge.
Would be nice to see fines replaced with community service in many cases. Though I feel like you would then need to ensure that those doing community service are compensated the equivalent of their wage(s) prior to conviction if community service requires you use hours otherwise used by your job. Otherwise, somebody dependent on their job effectively pays more for smaller fines due to loss of work. It would also help to prefer out-of-hours community service (weekends for example) to avoid losing hours from your job in the first place. Ideally, jail would be reserved for cases where the person is a genuine danger, rather than use it as punishment.
San Francisco lets people pay parking fines with community service, and I believe their answer to that would be they require sign offs from preapproved organizations. (Sure, somebody somewhere could take a bribe.)
The Pixel 6 brought 5 years of software+security updates; the 8 brought 7 years. The 6 started using semi-custom Samsung soc. 8 brought new security features at the hardware level. Beyond that, minor changes afaik. 6 Pro brought true zoom (I really appreciate it), there’s a few features that need the 8 soc for “ai”, variable refresh rate on the 7 (I think), higher+lower vrr on the 8, etc.
I upgrade regularly: whenever an interesting feature or security improvement is made available, or if a family member needs a new phone (I get the new one, they get my used). Nexus 4, 6, 6P, Pixel 2 XL, 3XL, 5, 6 Pro, 7 Pro, 8 Pro. Toss in the Nexus 7 gen 1 and 2 (cellular) too, and my days of having a conversation with a tablet held to my ear for calls. Family is all pixel 6 or newer right now, and shouldn’t need to upgrade for another 2.5y.
I’m on a five year old iPhone XS MAXXX and it runs like a brand new phone, and the battery lasts all day. I’m only considering upgrading because I’d love a 120hz screen and USB-C.
I agree with ya but I still used my 5s for 4.5 years! They replaced my battery for free out of warranty cuz the batteries were shit on that gen, though. The power button got all fucked up after that too, but I used onscreen controls to mitigate that. Woulda been cool to have that fixed too, but at they point I wanted a bigger screen.
lemmy.ml
Active