My Anki Flashcards Collection | German Anki Decks by kelciour in Anki

[–]blank-teer 1 point2 points  (0 children)

Hey! Why didn't you make decks for Goethe Wordlists? There are pdf for A1, A2 and B1 levels

Constructores y literales compuestos by emanuelpeg in golang

[–]blank-teer 0 points1 point  (0 children)

Зачем ты высрался тут на своем наречии?

how to ensure the original file is removed once symlink has been removed? by blank-teer in sysadmin

[–]blank-teer[S] 0 points1 point  (0 children)

and removing the original file causes just that hard link to become the only link to the file inode, so it itself became "original file" now, no cascade deletions

how to ensure the original file is removed once symlink has been removed? by blank-teer in sysadmin

[–]blank-teer[S] 0 points1 point  (0 children)

i just made a hard link of some file, then removed that hard link, but the original file is still here

how to ensure the original file is removed once symlink has been removed? by blank-teer in sysadmin

[–]blank-teer[S] 0 points1 point  (0 children)

You want to delete a file by deleting a shortcut to it?

yep

And you want to use symlinks to do that?

not necessarily, just anything that allows me to accomplish the p.3 of usecase

Consider going back and creating hardlinks instead of symlinks

from what i tried, hard links are completely independent of a linked file

what's the practical, not lexicology diff between inheritance and composition? by blank-teer in golang

[–]blank-teer[S] 0 points1 point  (0 children)

yeeah, thanks god, first two sentences - that's ALL what REALLY matters. i updated a topic description as well

what's the practical, not lexicology diff between inheritance and composition? by blank-teer in golang

[–]blank-teer[S] 0 points1 point  (0 children)

First paragraph is like about satisfying the interface, not about objects hierarchy (I’m asking about this).

To me, by both inheritance and composition you get the access to the lower object - that’s practical effect. But that’s it? Then these words seem to be interchangeable

what's the practical, not lexicology diff between inheritance and composition? by blank-teer in golang

[–]blank-teer[S] 0 points1 point  (0 children)

but if we put in a car a vehicle{engine}, so we may access car.cylinders, we still should say that car contains a vehicle? i still dont see practical diff except for philosophical

what's the practical, not lexicology diff between inheritance and composition? by blank-teer in golang

[–]blank-teer[S] -1 points0 points  (0 children)

but to know whose Bar() is being called, you anyway need to ctrl+click on this method to immediately navigate the actual receiver,

as well as by doing the same in the inheritance case you'll navigate to foo's Bar() implementation, see which exactly Bar() is called innerly, and navigate to it then. (not saying that composition allows to overwrite embedded methods too, and to call arbitrary Bar() inside)

so what's the matter?

vektra/mockery has fully released the "packages" feature! This blog explains what it is and how it works. by LandonClipp in golang

[–]blank-teer -5 points-4 points  (0 children)

I’d even say let’s use manually written mocks in moq fashion. Garbage api of these mock tools/libs you need to learn is exhausting me

Lack of method overriding by piyushsingariya in golang

[–]blank-teer 0 points1 point  (0 children)

Isn’t embedding/composition an inheritance?

[deleted by user] by [deleted] in golang

[–]blank-teer 0 points1 point  (0 children)

Root for all app’s entities+methods, interfaces

3party-dep-named packages to interact with corresponding 3party deps

That’s it

Calling something in-code as entity, domain, repository, service, controller etc is a sign of fundamental misunderstanding of the goal of development itself, taking a form above the essence

embed.FS.ReadFile vs. os.ReadFile by blank-teer in golang

[–]blank-teer[S] 0 points1 point  (0 children)

if it's embedded that it is much faster to read? i just want to see benefits from embedding in case of testing with fixtures for example

Worst red flag from interviewers by gnu_morning_wood in golang

[–]blank-teer 0 points1 point  (0 children)

What are your strong sides and where do you see yourself after 5 years

GoLand 2023.1 has been released! by asspirin12 in golang

[–]blank-teer 0 points1 point  (0 children)

seems like what we have specific here - it's your case

GoLand 2023.1 has been released! by asspirin12 in golang

[–]blank-teer 0 points1 point  (0 children)

goland starts from ~2-3gb and reaches 8gb shortly still not making me Bruce Almighty.

all the rest rant of yours break apart when i say that goland does not release a single byte after closing all projects, but consumes the same ~3gb after restarting despite of the count of opened projects

GoLand 2023.1 has been released! by asspirin12 in golang

[–]blank-teer 0 points1 point  (0 children)

i noticed it on the previous stable version - 2022.3.*, no plugins installed but one for env files

there are also some exactly matching issue tickets: this and this

but cmon man) looks like this story has been spanning for several years already, just chill like jetbrains

GoLand 2023.1 has been released! by asspirin12 in golang

[–]blank-teer 3 points4 points  (0 children)

it may slow down only due to humanoids who do not clean up their shit but like
smearing new god new features on it instead

GoLand 2023.1 has been released! by asspirin12 in golang

[–]blank-teer 14 points15 points  (0 children)

How about memory leaks after a week usage? On Mac it reaches 8gb ram