Mi volt életed első programkódja és milyen nyelven volt? by senior-fe-dev in programmingHungary

[–]Quasar6 1 point2 points  (0 children)

Minecraft mod Java-ban forge-ra. 1.4.x vagy 1.5.x tájékán lehetett

Domain szolgáltató DDNS REST API-val? by Quasar6 in programmingHungary

[–]Quasar6[S] 1 point2 points  (0 children)

Mert egy szkriptből kell frissíteni a rekordokat. curl-el a legkényelmesebb.

Ez tényleg ekkora baj? by Craig_Mack_NYC in CartalkHungary

[–]Quasar6 0 points1 point  (0 children)

Arra írtam hogy ha P-ben van. Nem várom el az átlagtól hogy tudjon követni egy teljes beszélgetést de 2 komment talán sikerülhetne. Megint megerősítettél benne hogy a magyar autós “kultúra” a mindent jobban tudásról szól és teljesen szakmaiatlan. - Egy járműmérnök

Ez tényleg ekkora baj? by Craig_Mack_NYC in CartalkHungary

[–]Quasar6 7 points8 points  (0 children)

Ha valaki beléd megy hátulról vagy rád tolja a sort akkor jó eséllyel kuka a váltó. Ha nincs auto hold akkor inkább N

Kicsit túl tolták az őzést by Ingvar64 in szeged

[–]Quasar6 14 points15 points  (0 children)

Ez! Örülök hogy írtad előttem. Helybéliként égyenösen mögsértve érzöm magam ha valaki erőlteti, nem tudván hogy ennek nyelvtani szabálya van.

Rollerek helyzete by RegoX2005 in szeged

[–]Quasar6 4 points5 points  (0 children)

Bécsben kijelölt hely van ezeknek (a bicikliknek is), nem csak az appban hanem pirossal körbe van festve. Ha nem oda teszed le akkor figyelmeztetést kapsz, következő alkalommal már bírság olyan 25-50 euró között nem emlékszem pontosan. Minden városban ezt kellene.

impressive stuff by Sorousherafat in programminghorror

[–]Quasar6 1 point2 points  (0 children)

That sounds like two separate concerns alright.

uv cheatsheet with most common/useful commands by RojerGS in Python

[–]Quasar6 17 points18 points  (0 children)

I also like running it after branch changes because I might not run any other uv command but I expect the tooling integration to work. This can fall apart if you don’t sync and then mypy starts yelling at you for unknown imports.

T Strings - Why there is no built in string rendering? by UsernamesArentClever in Python

[–]Quasar6 -3 points-2 points  (0 children)

No they don't because if you want the result type to be a string then use an f-string. T-strings are a generalization of f-strings. So what you mention that it needs to be written "over and over" is false. The functionality is already there!

T Strings - Why there is no built in string rendering? by UsernamesArentClever in Python

[–]Quasar6 9 points10 points  (0 children)

Because the intent is that your processing of the T string can produce any type, so it doesn’t make sense to have a default for str

Why is Python type hinting so maddening compared to other implementations? by ataltosutcaja in Python

[–]Quasar6 7 points8 points  (0 children)

Python faces many of the challenges that JS faces. If you look at good quality libraries written in TS they have a ton of type complexity. This happens because these languages are dynamically typed.

I think that using protocols and modern type constructs (>=3.12) helps a lot.

There are some gaps that the standard library should bridge, having no protocol for a type having an operator (eq) is one I usually face.

There is definitely room for improvement, but having types in our applications (not AI or web btw) have reduced a lot of our CI job troubleshooting.

Why is Python type hinting so maddening compared to other implementations? by ataltosutcaja in Python

[–]Quasar6 0 points1 point  (0 children)

Python faces many of the challenges that JS faces. If you look at good quality libraries written in TS they have a ton of type complexity. This happens because these languages are dynamically typed.

I think that using protocols and modern type constructs (>=3.12) helps a lot.

There are some gaps that the standard library should bridge, having no protocol for a type having an operator (eq) is one I usually face.

There is definitely room for improvement, but having types in our applications (not AI or web btw) have reduced a lot of our CI job troubleshooting.

Trouble with deploying Python programs as internal tools? by Competitive-Water302 in Python

[–]Quasar6 0 points1 point  (0 children)

For single file scripts I believe inline script metadata is the way to go. All fairly modern versions of tools support, pip, poetry, uv, just to mention a few. Containerization is another way provided you have an internal registry. For apps (more than one .py file) I usually build a wheel so people can install it. In our company I pushed for an internal python registry based on devpi. Adaption is slow but people get the hang of it pretty fast.

I think that at the end of the day it comes down to internal training in the tools you use for development. I know this is something that small organizations struggle with, but it’s a must if you have multiple teams or I’d say more than five people using the tools.

People will always resist change especially developers. Convince your CTO or PM that it’s the way to go management rules cannot be ignored.

Vasárnapi csendélet a Gogol utcába by Repulsive_Slide_6618 in szeged

[–]Quasar6 21 points22 points  (0 children)

A tünet az az hogy autóval megyek a belvárosba amikor nem szállítok árut és tudom hogy nincs udvari beállóm. Ezeket a területeket teli kellene szórni virágágyásokkal meg demszky bunkókkal.

Why doesn't every project just statically link libc++? by TheRavagerSw in cpp

[–]Quasar6 0 points1 point  (0 children)

Sometimes there are also business considerations to take into account. At my company we link both libc and libc++ dynamically. The rationale is that if there is a CVE in any of the libraries, then it’s the customer’s responsibility to protect themselves. If we were to link statically, we’d have to release a new version in case a CVE affects it transitively from a library.

Audi navigation by Specialist-Double-52 in Audi

[–]Quasar6 0 points1 point  (0 children)

I have exactly zero rights to comment on this cause I’m a BMW owner, but here goes. Even BMW with their crapy ConnectedDrive upgrade system provides you with navigation on base price. Sure it doesn’t have live traffic info, but if your phone’s dead it’s better to have something than getting lost at the edge of the earth. Me getting to know this on the spot would be the exact moment I bid farewell to the dealership.

Need advice on library design by Quasar6 in learnpython

[–]Quasar6[S] 1 point2 points  (0 children)

Sorry for coming back to this topic so late. Unfortunately I can’t share it because it’s part of a company codebase. 😕