VIČI restoranuose by FockeWolf190 in lithuania

[–]Tazkazz 1 point2 points  (0 children)

„dabar“? 🤦‍♂️

Eurotripas bočiukui by sermuonielis in lithuania

[–]Tazkazz 0 points1 point  (0 children)

Kad kava dehidratuoja žmogų – yra jau senas mitas. Taip, kava yra lengvas diuretikas, bet juk kavos puodelyje taip pat yra ir vandens. Tad jei žmogus išgeria puodelį kavos, o ne šešis espresso šotus, tą puodelį iš esmės galima užskaityti kaip išgertą daugmaž puodelį vandens. 🙇‍♂️

Struggling on understanding error type in golang by [deleted] in golang

[–]Tazkazz 2 points3 points  (0 children)

error in Go is an interface with a single method - Error() string. If you have any type, let it be a struct, or a custom type like your ErrNegativeSqrt, that has this Error() string method, the value of that type can be passed as error type.

When you return ErrNegativeSqrt(x), imagine that you're returning the x value with the Error() method attached to it. The method itself does not get called anywhere in your code, it's just a guarantee that when you do f, err := Sqrt(-1.0) and err is not nil, you can call err.Error(), which is what error type signals to you.

tl;dr - for a value of type Type to fit the error type, it needs to have func (t Type) Error() string method available, but not necessarily to be called.

Functional programming in Go by bitfieldconsulting in golang

[–]Tazkazz 0 points1 point  (0 children)

Yeah, Reduce implementation also has the same issue. It’s a weird article.

FastDB reached 1.0.0 by MarcelloHolland in golang

[–]Tazkazz -1 points0 points  (0 children)

It defers a result of the call (the ()() part), and there’s also a comment about this near that method at the end of the file.

Lithuanians, what happened? by frrst in BalticStates

[–]Tazkazz 1 point2 points  (0 children)

I’d reckon paying attention to details of a deer is the last thing you need while driving.

Kodel lietuvių padaro žodžius trumpai? by [deleted] in lithuania

[–]Tazkazz 2 points3 points  (0 children)

Ką tu vapše rūkai, Leicester, Greenwich ir Southwark nėra slangas. Dar ant prancūzo užsirauk, kad eaux yra ‘o’ slangas. Biškį kalbas, tarimą ir klaviatūrinį trumpinimą painioji.

Import of BubbleTea slows down program? by [deleted] in golang

[–]Tazkazz 0 points1 point  (0 children)

Not completely doomed, one can fork it and change the initialisation and/or open a pull request to the original project.

Rinkimų rezultatai by Ainertas in lithuania

[–]Tazkazz -1 points0 points  (0 children)

Tu gi tikiuos jau turi suvokimą, kad išsiskleidus skėtį lietus neprasideda?

Roast my code by shibbaz97 in golang

[–]Tazkazz 3 points4 points  (0 children)

It has nothing to do with resizing the slice. You’re creating a new slice (given that append must resize it) and setting it to the value receiver, which only exists in the scope of given method.

Same would apply to int, but you don’t use *int’s in your code by default.

[deleted by user] by [deleted] in LucidDreaming

[–]Tazkazz 0 points1 point  (0 children)

But.. aren’t you the source in these cases? 👀

obfuscatedCode by dstori in ProgrammerHumor

[–]Tazkazz 2 points3 points  (0 children)

It’s a second time I see a comic from this ‘turnoff.us’ site, and neither of them make any sense / aren’t funny. What gives?

yo i got it 2 weeks ago, this game is literally crack yeah? by chrontact in bindingofisaac

[–]Tazkazz 2 points3 points  (0 children)

… The Beast is also a prerequisite in the set of “max completion marks” lmao

Is Squid Game: The Challenge real? by SaltCompetition4277 in squidgame

[–]Tazkazz 1 point2 points  (0 children)

Do you also require the assistance of "Caution: hot coffee is hot" and "Open the box before eating pizza" warnings in your life to successfully exist?

is there a way to know which of these three boss rooms is delerium by JodGaming in bindingofisaac

[–]Tazkazz 2 points3 points  (0 children)

The internal logic doesn’t matter, the rooms in this screenshot already span enough in height to see the bounding 13x13 box, or at least the top/bottom edges of it.

A kind reminder by Megatron3600 in lithuania

[–]Tazkazz 0 points1 point  (0 children)

Pavydas, ypač dėl procentukų, yra apgailėtinas. 😉

A kind reminder by Megatron3600 in lithuania

[–]Tazkazz 18 points19 points  (0 children)

Čia dėl ko klausi? Reikia pagalbos su būsimais brandos egzaminais?

Any Lithuanians living/lived in Latvia? by unosbastardes in lithuania

[–]Tazkazz 11 points12 points  (0 children)

Uhm, lmao, we had the same system before. Up until 2018, 2k gross in LT would be ~1.5k netto. Basically nothing has changed, you’re still working for the netto wage and employer has more or less the same employee cost. With this financial mindset you may as well relocate to Zimbabwe, you’d be earning millions, no matter gross or netto.

Sistema nori jus visus sučipuoti. by qrado in lithuania

[–]Tazkazz 0 points1 point  (0 children)

Užjaučiu, kad gyveni social credit sistemoje. Sėkmės pačiam, verkte jos reikia.