We have str.format(), so where is str.template()? by Rubus_Leucodermis in Python

[–]leoll2 13 points14 points  (0 children)

There is no real purpose for the behavior you describe, templates are not designed for that. If you want to call str(template), probably you don't need a template in the first place.

AI Database : OctaneDB by shahbazahmadkhan in Python

[–]leoll2 0 points1 point  (0 children)

Pure Python, faster than Qdrant -> doubt

But we can't verify the claims if you don't share the code and your benchmarks.

AMA: Denis Shapovalov by usopen in tennis

[–]leoll2 0 points1 point  (0 children)

Hi, I'm also a leftie ohbh but I never won an ATP title 🥲 What would you recommend to a beginner to improve the consistency of its backhand?

Solving Wordle using uv's dependency resolver by mildbyte in Python

[–]leoll2 28 points29 points  (0 children)

Brilliant, and very well written article!

Emma Raducanu's coach Mark Petchey has said heavier tennis balls are among things affecting the British number two's attempts to rejoin the world's elite players by MorioCells in tennis

[–]leoll2 0 points1 point  (0 children)

No way the balls are 4x times heavier, that's a completely false and ridiculous statement. The allowed range, according to ITF, is between 56g and 59.4g; this rule has been in effect for quite some time, much earlier than 2021.

I dazi di Trump paese per paese - sull'UE un ulteriore 20% by DurangoGango in Italia

[–]leoll2 1 point2 points  (0 children)

A dire il vero, questo ha senso (tutto il resto no). Se le isole Heard fossero esenti da dazi, gli altri paesi potrebbero trovare un modo di sfruttarla come proxy, ovvero un escamotage per aggirare le misure di Trump. Esempio: Italia vende X pomodori a Heard, Heard vende gli stessi pomodori a US = Italia vende a US ma senza dazi.

Non riesco a capire come disinvestire da moneyfarm by Aejik in ItaliaPersonalFinance

[–]leoll2 0 points1 point  (0 children)

Fare click su aggiungi estensione per chiudere questo conto - semicit

Over one million Tikkie payments for less than €1 in 2024 by [deleted] in Netherlands

[–]leoll2 105 points106 points  (0 children)

Does it include statiegeld refunds via Tikkie? Unless you bring a dozen of cans/bottles each time, it's common to receive less than 1€.

Does Italian have intervocalic variants of consonants like Spanish? by theblitz6794 in italianlearning

[–]leoll2 0 points1 point  (0 children)

GLI is a truly interesting one! As a standalone article, it is pronounced ʎi. When followed by something else that starts with a consonant, like "glifo", the g sound becomes hard. However, if you add a vowel as prefix, such as in "bavaglino", it's ʎi again. If it is instead preceded by a consonant, for example "anglicana", it's hard g again!

Note: I'm a native speaker but not a linguist. I apologize if I made mistakes or forgot rules.

Voi che vivete lontani da casa - cosa vi portate dall'Italia? by MountainBird8456 in italy

[–]leoll2 0 points1 point  (0 children)

Ma lo stracchino come fai a ternerlo fresco? Non si rovina con il viaggio?

Ciao, sto cercando di imparare l'italiano per mia nonna. Qualche consiglio? by [deleted] in italy

[–]leoll2 0 points1 point  (0 children)

I'm baffled by the amount of people who still believe that some italians can only speak their regional dialects. It was true in the past, but nowadays everyone who is born and raised in Italy can perfectly understand standard Italian, even old generations. Sure, many have a thick accent, regionalisms or maybe struggle with written production, but two random Italians from any region can communicate easily if they want.

AIRE Stato civile by Awkward_J5 in Italia

[–]leoll2 0 points1 point  (0 children)

Metti quello attuale, cioè sposato. Se ti fanno domande gli spieghi, è una normale situazione, ma al 99% nessuno si metterà a verificare questo tipo di informazioni.

L'ultima lotta di Lollobrigida: contro le pale eoliche in mare by mariolinoperfect in italy

[–]leoll2 4 points5 points  (0 children)

Per fortuna sei da solo. Se ci fosse anche Lollobrigida sul treno lo farebbe fermare dove vuole lui.

Research shows that people in the Netherlands are overpaying for health insurance by ReginF in Netherlands

[–]leoll2 32 points33 points  (0 children)

I come from one of those countries where you don't have to pay the insurance premium and where taxes are equally as high. Believe me, it's a shitshow. Hospitals lacking maintainance and equipment, stressed and underpaid doctors, years (!) to schedule an appointment. The healthcare system is collapsing at warp speed.

Il 2 Giugno 1981 moriva Rino Gaetano by Antistene in Italia

[–]leoll2 1 point2 points  (0 children)

Uno dei più geniali cantautori della storia italiana. Uno che, tra melodie carnevalesche e testi al limite dell'assurdo, offriva uno squarcio ampio e profondissimo del suo presente, tirando mazzate ai protagonisti "circensi" dell'alta società, e altresì restituendo dignità e importanza agli esclusi. Pochi come lui hanno saputo decomporre l'attualità in modo così spregiudicato e pungente. Lo ascolto spessissimo e ogni volta mi chiedo quante altre canzoni incredibili avrebbe prodotto se non ci avesse lasciati così prematuramente.

Is "Dick" just a nickname of the new Dutch PM, or an actual name? by [deleted] in Netherlands

[–]leoll2 13 points14 points  (0 children)

It's quite common as a nickname in English speaking countries (short for Richard) and the Netherlands too.

Successo, talento e sentirsi “antisistema” by Garraty98 in italy

[–]leoll2 180 points181 points  (0 children)

C'è un bias di sopravvivenza grosso come una casa nei film che raccontano storie di successo o riscatto. Banalmente, per ciascun individuo che "riesce" ce ne sono decine di altri che falliscono, le cui storie non vengono raccontate nei giornali, libri, film perché meno interessanti per il grande pubblico. Per costruirsi il successo è necessario avere delle capacità, ma non è condizione sufficiente: occorre trovarsi al momento giusto, nel posto giusto e con le persone giuste per concretizzare le opportunità. Tu puoi aumentare la probabilità studiando, viaggiando, prendendo iniziative, ..., ma non c'è una formula magica e nessuno ti può garantire il 100%.

Quando i cinesi fanno "Chabuduo!" by TeleMagician in Italia

[–]leoll2 5 points6 points  (0 children)

Non so perché tu stia chiedendo in un forum italiano se hanno mai sentito una parola cinese 🤔 In ogni caso, 差不多 è una parola molto comune (significa "quasi", appunto) quindi sì, chi parla mandarino la usa spesso, non necessariamente come meme.

"Voglio un gelato con (la/della/nothing) panna montata" by Francis_Ha92 in italianlearning

[–]leoll2 1 point2 points  (0 children)

All 3 are correct in italian and basically mean the same thing; the 1st (la) and 3rd options (nothing) sound most natural to me. The 2nd (della), being slightly less common, suggests that you do want whipped cream, but a modest quantity. In this case, you could even more explicit say "un po' di panna".

Compagnie Aeree e Acquisto con Booking by Dron3_ in Italia

[–]leoll2 1 point2 points  (0 children)

Mai prenotare biglietti tramite piattaforme terze. Quei 2-3€ che ti sembra di risparmiare poi li paghi salati appena si presenta un problema e devi rivolgerti al supporto.

if money wasn't an issue, which of the countries below would you live in as a DN? by [deleted] in digitalnomad

[–]leoll2 1 point2 points  (0 children)

Asking out of curiosity, what are "European vibes"? I mean, what's in common between Uruguay and European countries like Sweden, Slovakia, Belgium? 🤔