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

Dohnakun , to programmerhumor in optimal java experience

What about the Cortex M processor? For homeoffice?

LaggyKar , to programmerhumor in Alphabetically sorted months. But WHY?
@LaggyKar@programming.dev avatar

Why even make a dropdown? It would be quicker just to type a number

Bluetooth , to memes in lions

This metaphor works very well with these two pictures. In the upper picture the more senior cattle are projecting the new and young. And in the picture below even they don’t even stand a chance alone.

joeyshabadu , to programmerhumor in Alphabetically sorted months. But WHY?

Finally, I can find the month I want!

Now to enter my phone number… https://lemmy.world/pictrs/image/ecb769e9-be3a-4918-8fc8-95082ca72ec0.jpeg

SomeBoyo ,

Finally! A worthy opponent!

bdonvr ,
SomeBoyo ,
nonstopshirtflutter , to programmerhumor in Alphabetically sorted months. But WHY?

Everyone is saying this was impossible to solve without fixing the underlying tool, but just writing a prefixes from 01 to 12 would have been my solution.

Now you don’t even need to remember the months to select the correct one.

onlooker , to memes in Crab :-)
@onlooker@lemmy.ml avatar

I can only hope that this is trollbait. No sane parent would purposely ruin their children’s body (yes, it can be removed, but to do so you have to do a whole thing). On another note: what the heck’s wrong with having Zelda tattoos? I’ve seen the triforce tattoo on more than a few people. It looks cool.

yata ,

Of course it is trollbait. There is no part of the tattooing process where this would have gone unnoticed by the recipient.

nothacking , to programmerhumor in Programming Languages

Is python really any better?

superbirra ,

yes

Xylight ,
@Xylight@lemmy.xylight.dev avatar
  • loosely typed: python is the same
  • bad package manager: python is infinitely worse
superbirra ,
  • loosely typed: python is the same

false

  • bad package manager: python is infinitely worse

don’t think so but ehy…

Xylight ,
@Xylight@lemmy.xylight.dev avatar

pip is the bane of my existence

Also python IS loosely typed. take a str and you can reassign it to an int or whatever

min_fapper ,

Yep last time I tried python, it’s type checker was so, so much worse than typescript.

Everyone I’ve met saying python is better turned out not have used modern JavaScript/typescript.

Joe_0237 ,

I’m sure that’s the case, but the meme is not making fun of typescript, its making fun of his dad: JavaScript, maybe for not comparing to his son: typescript

static_motion ,

You clearly have no idea what you’re talking about. Python is strongly typed. What is is is dynamically typed, also known as “duck typing”.

SouthernCanadian ,

Strong typing doesn’t have a widely agreed upon definition. Duck typing is not equivalent to dynamic typing.

jerkface , (edited )
@jerkface@lemmy.ca avatar

Objects have strong, definite types that never change. Variables do not have types and can store [a reference to] any Object.

abraxas ,

You’re right about python being the same. Python doesn’t have a mature alternative to Typescript that launches it into having best-in-class type handling.

There’s so much that my C# devs can’t do with its horrible type system that Typescript “just does better”. At compile-time at least.

I used to work on a hybrid typescript/python product (some services js, some TS, some python), and the TS stuff was just faster-running, easier to iterate, and better. And story-point allocations consistently showed that for an excess of 20 devs working on those codebases.

As for pip/easy_install vs npm/yarn/pnpm… I’m curious what you think pip does well that yarn/npm doesn’t? I’ll say in my work experience there’s more/better enterprise private repository/cache support for node modules than for python modules. Using npm security databases alongside “known good versioning” allows a team of even 100 developers to safely add libraries to projects with no fear of falling out of corporate compliance regulations. I’ve never seen that implemented with pip

Bruce ,

100 developers to safely add libraries to projects with no fear of falling out of corporate compliance regulations.

Depending on the regulations, python virtual envs could make it possible too.

abraxas ,

How so? The companies I worked for were using venv’s but nothing that could help with standards.

Using a private npm repo, I can actually do aninstall of a library I want to use and it’ll refuse to install if that library isn’t already approved for use by the organization, and if it is/does, it will install only the approved version. Further, I still don’t have any of the libraries installed I don’t want (even secure-seeming unnecessary code is a potential risk and unnecessary). The last 2 places I worked that used python used venv’s, but the pip requirements.txt file was still fairly hard to keep regulated.

Bruce ,

From approved environments: pip freeze > requirements.txt ?

abraxas ,

So let’s say I want to add a library not currently being used in this project, but that might have been approved for another project in another repo? How does pip freeze solve that problem? Do python users endorse a “every single python app in the entire org should use the same requirements.txt” mindset? Or what am I missing?

pingveno ,

pip/easy_install

Are you sure your knowledge of Python’s package management isn’t out of date? easy_install has been deprecated for years. There are a few mechanisms that the Python community now has for dependency management and installation. My favorite solution is Poetry, which like npm maintains a separate dependency (pyproject.toml) and lock (poetry.lock) file.

abraxas ,

I didn’t think anyone was using easy_install anymore, but I still see it in docs for stuff.

Poetry looks interesting, but does it support private-only dependencies, where the system will reject a library or version if it has not been previously approved and cached?

pingveno ,

I think this is what you’re looking for, where you can configure both the resolution order and whether to just pull from a private repository.

abraxas ,

Ah, yeah. Pretty awesome. Looks like they added that in 2019. I wonder why I’ve not seen that behavior used much at all.

Is there also good repo-mirror functionality to keep it easy to curate the private source?

pingveno ,

I’m not sure why it’s not done as much. But yes, there’s tooling to maintain a mirror. I’m not sure about quality, since I haven’t done it myself.

ComradeKhoumrag ,
@ComradeKhoumrag@infosec.pub avatar

Python is as inefficient as js is ugly

LeFantome ,

Well done.

That is like a colleague farewell card that says, “Four years already? It seems like only six months with all that we have accomplished.”

Rodeo ,

Afaik JavaScript only runs in a browser. If you want to make a desktop app your only option is something like electron.

For example, you can’t make the equivalent of a bash script with JS, but it’s trivial with python. I don’t think you can do system calls at all with JS.

vithigar ,

There are non-browser JavaScript implementations, the most well-known of which is node.js

nothacking ,

Nodejs is a works great for that.

Aziz-Rahmad645 , to programmerhumor in Arcane overflow
@Aziz-Rahmad645@kbin.social avatar

Exactly what I thought when I watched Doctor Strange and they talked about how spell is basically programming the world.

some_guy , to programmerhumor in Alphabetically sorted months. But WHY?

Unpopular opinion: the person in charge of that menu hates everyone. :)

akariii ,

thats neither unpopular not an opinion. that’s a well-known fact

99nights , to programmerhumor in Alphabetically sorted months. But WHY?

My birthday still lands in the middle of the year. Poor me

claytempleton , to cat in Angery

Deleted scene from Hausu

jimmyjoners , to cat in Angery

I’d be pissed too. Watermelons are all show no go. Truly an f tier fruit.

Pons_Aelius ,

The only way to experience watermelon is growing your own. Which, I know, is impossible for most people.

Store watermelons are picked a bit green and ripen on route.

When allowed to ripen on the vine, the sugar content keeps rising and the melon is a different level of sweetness.

The second-best option is buying direct from a local farmer. Again, not available to many.

max_adam , to programmerhumor in Arcane overflow

The code is so old that their developers are already dead.

Grandwolf319 , to programmerhumor in Alphabetically sorted months. But WHY?

Obviously it’s a an act of protest so the months are officially remade to be alphabetically ordered.

subway ,

Can’t we just call them month 1 to month 12 like CJK languages do?

Grandwolf319 ,

No, it has to be month 0 to 11.

lugal ,

But in alphabetical order: 1, 10, 11, 12, 2, 3, 4, 5, 6, 7, 8, 9

feck_it ,

This is not even in alphabetical order, three couldn’t be before the four.

lugal ,

Computers sometimes sort in this logic: “1” is the first digit so everything that starts with “1” comes first. Alphabetical in this sense, not the names of the numbers written out as done in another comment under this post.

President_Pyrus ,
@President_Pyrus@feddit.dk avatar

Which is why ISO 8601 is superior.

feck_it ,

Oh, why i didn’t consider that, my education background didn’t help i guess, thank you.

rms1990 , to programmerhumor in Programming Languages

And I’m the smalltalk soldier in my rainbow uni 🌈

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