There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

lemmy.ml

kittykittycatboys , to unixporn in [Haiku] Summertime vibes
@kittykittycatboys@lemmy.blahaj.zone avatar

so cool !!!

Ramin_HAL9001 , to unixporn in [Haiku] Summertime vibes

Is that icon theme available outside of Haiku OS?

Serpentian OP ,

I liked it a lot too. Here

RootBeerGuy , to unixporn in [Haiku] Summertime vibes
@RootBeerGuy@discuss.tchncs.de avatar

Huzzah! Cave story!

I didn’t know there are such nice wallpapers of it out there. Where did you find this one?

Serpentian OP ,
a4ng3l , to funny in unusable mouse

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.

BolexForSoup ,
@BolexForSoup@kbin.social avatar

I’ll stick to only using the touchpad

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.

Jesus_666 ,

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.

glimse ,

I’m a palm gripper and was using a Mac at work when this came out. I begged them to order me a real mouse within a month

The only thing I liked about it were the gestures but Ctrl+scroll zooming works fine

Scolding7300 ,

My carpal tunnel remembers as well

Serpentian , to unixporn in [KDE Plasma] Simple?

Why do you need KDE? Emacs is full-fledged DE itself)

Btw, great idea with docks

hexloc , to unixporn in [Haiku] Summertime vibes

what the heck that looks so cool! (i like the little robot icon on the bg)

magic_lobster_party , (edited ) to programmerhumor in A week of fprintfs has me wanting to code rust next week

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.

OpenStars ,
@OpenStars@startrek.website avatar

Yeesh. I mean, perl would tell you about that immediately, I’m just saying… :-P

Avg ,

Yeah, but then you have to use perl

OpenStars , (edited )
@OpenStars@startrek.website avatar

Using perl is not the problem, now trying to read perl code later? That’s the challenge! :-P

cyborganism ,

My brother. That’s why you do unit tests.

magic_lobster_party ,

I shouldn’t need to do unit tests for quick one off scripts

c0mbatbag3l ,
@c0mbatbag3l@lemmy.world avatar

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.

magic_lobster_party ,

“Ohh, I got all these numbers I want to crunch using numpy or pandas and plot it using matplotlib. Hold on, I just need to write unit tests first.”

fushuan ,

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.

cyborganism ,

Well. Yeah. That’s test-driven development. It’s a very good practice.

magic_lobster_party ,

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.

tryptaminev ,

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.

magic_lobster_party ,

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.

tryptaminev ,

in this process it is just normal to get runtime errors. Your expectation is too high imo.

rambaroo ,

TDD is not appropriate for everything or everyone

Kache ,

What kind of quick one off scripts have large complex scopes where variable renames are difficult to track?

Besides, these days Python has great LSPs and typing features that can even surpass the traditional typed langs

magic_lobster_party ,

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.

potustheplant ,

Those support wheels are for your own (and apparently systematic) errors…

Blue_Morpho ,

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.

ryannathans ,

And lint

eager_eagle ,
@eager_eagle@lemmy.world avatar

👆 definitely linting first 👆

finding errors as you type is even better than finding errors at compile time

scarilog ,

What’s that?

/s

milkjug ,

But are you even a real programmer if you don’t test in production?

AeroLemming ,

I mean, is C++ any better? Sure, it catches some errors at compile-time, but others can turn into undefined behavior pretty easily.

magic_lobster_party ,

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.

eager_eagle , (edited )
@eager_eagle@lemmy.world avatar

you need a linter, bro

when integrated into the editor it’ll highlight stupid mistakes as they’re typed

I recommend Ruff for real time checks, and pylint if you need a comprehensive analysis.

darcy ,
@darcy@sh.itjust.works avatar

sure, but thats just outsourcing the problem.

eager_eagle ,
@eager_eagle@lemmy.world avatar

As if that’s a bad thing… it means you’re not locked in with a tool you don’t like and the language itself doesn’t dictate your workflow.

There’s very little benefit and a lot of potential problems in using a single tool for everything.

potustheplant ,

It’s also a solution…

aidan ,

Yea and C++ is the same thing, you just need to enable all the warnings on clang-tidy

nxdefiant ,

You can solve this with git:

git gud

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.

Johanno ,

Python was typeless. And it was common to reuse variables with different types of content.

So you at some point never knew what actually is within the variable you are using.

Using typing in python solve 95% of your problems of having runtime errors instead of compile errors

Whelks_chance ,

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.

Trollception ,

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.

fidodo ,

Seriously, in what way does the python interpreter protect you?

alphafalcon ,

It doesn’t. It carries you by having a module for absolutely everything even shooting yourself in the foot.

Saledovil , to funny in unusable mouse

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.

conorab , to memes in Important PSA

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.

OpenStars ,
@OpenStars@startrek.website avatar

Except then you get the boss’ son “making coffee” at daddy’s (friend’s) company as their “service”. The rich will still find a way to game the system.

Which doesn’t mean that it’s not worth a try!:-)

brbposting ,

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.)

Celediel , to unixporn in [KDE Plasma] Simple?

Pretty! I love the colours, and what bits of the wallpaper I can see. Would you share the wallpaper?

Also, is that entirely emacs in the bottom screen, web browsing and ebook displaying?

Pssk OP ,
@Pssk@lemmy.ml avatar
nitefox , to unixporn in [KDE Plasma] Simple?

What’s that Lemmy theme?

Pssk OP ,
@Pssk@lemmy.ml avatar

gruvbox colours in dark reader

kratoz29 , to funny in Apple same phone
@kratoz29@lemm.ee avatar

That is why you don’t update yearly…

If I wouldn’t have updated my old ass iPhone 6s back in the days to Android it would have been the iPhone 11 perhaps, that is a huge ass upgrade.

Are there even big changes within the iteration releases of, let’s say Google Pixel and Samsung S line?

wreckedcarzz ,
@wreckedcarzz@lemmy.world avatar

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.

Rai ,

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.

kratoz29 ,
@kratoz29@lemm.ee avatar

Yeah definitely I think they became better altogether since the iPhone X, thus less need to upgrade yearly, or even biyearly.

Rai ,

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.

dwindling7373 , to programmerhumor in IT Help Desk

According to a different thread “USB 4” is in fact “USB4”.

the_post_of_tom_joad ,
@the_post_of_tom_joad@hexbear.net avatar

I heard UB40 but we might have been in different threads

SaintWacko ,

Huh, I thought it was WD40

Krackalot ,

I use 5W30 myself.

NotJustForMe ,

4WD gets you through

peter , to programmer_humor in remember, if your gf isn't open source and running locally, you don't own her
@peter@feddit.uk avatar

If the service is free you are the product. That’s why I pay my girlfriend

baseless_discourse ,

Does your girlfriend pay you too?

embed_me ,
@embed_me@programming.dev avatar

😮

Am I the product?

Grunt4019 ,

Oftentimes now if the service is paid, you’re still the product!

lowleveldata , to programmerhumor in IT Help Desk

If the shape matches

What about 3.5mm jack

ARk ,

looks down

bobs_monkey ,

sad trombone noises

sunoc ,
@sunoc@sh.itjust.works avatar

plugs in 2.5mm jack

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • lifeLocal
  • goranko
  • All magazines