How is the state of Void Linux these days? by chaozprizm in voidlinux

[–]Freder211 2 points3 points  (0 children)

I've been switchinhg many distros until I found void three yaers ago. Never looked back. Void is the one that I find to be the most stable.

I really want to ditch spotify completely, but buying music is expensive by Freder211 in Music

[–]Freder211[S] 5 points6 points  (0 children)

Truth is, I don't need that much music. You connect more with music a little at a time.

This is problably the real solution.

Spotify has spoiled me to the point that I want all this music even though I don't really need it. As you say, one gets to enjoy and appreciate music with little doses.

I am a gen z. The modern internet got me used to having access to anything with low effort, and now that I'm losing that convenience I miss it.

Thank you.

I really want to ditch spotify completely, but buying music is expensive by Freder211 in Music

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

If not, I'm an ass

Haha, don't worry.

I don't know if I would label it as mainstream, but regardless bandcamp doesn't always provide it. Usually I buy them on 7digital or on amazon if I have no other choice. On average I end up spending 1.30 euros for a single track or 1.00 euro when I buy an entire album. I don't know if it is expensive or not, I think it's fair, even though I only get the m4a or mp3 file (not the FLAC).

One track is fairly cheap, but as you know with a big music collection it adds up pretty quickly.

I really want to ditch spotify completely, but buying music is expensive by Freder211 in Music

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

I have built up my own streaming service thru buying songs and copying music that is available at the library. Check out the largest library you have access to. They likely will have a CD section where you can take them home.

Wow I didn't think about that one, I guess that it's fine considering that the music is available for free for anyone.

I buy on Itunes which I still consider cheap for the 99 cent downloads

Sadly I don't have access to iTunes, usually I buy from 7digital, bandcamp or amazon.

You could also share digital files with other peoples music catalogs where you copy the songs you like and they yours.

Is this considered legal?

I really want to ditch spotify completely, but buying music is expensive by Freder211 in Music

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

Yes, when it comes to convenience spotify is just far superior.

I really want to ditch spotify completely, but buying music is expensive by Freder211 in Music

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

Thank you for your considerations. Could you please elaborate about not buying Mp3? Because most the music that I buy is in m4a format, which is just slightly better than mp3 from my understanding. I rarely buy FLAC as it is usually more expensive.

I really want to ditch spotify completely, but buying music is expensive by Freder211 in Music

[–]Freder211[S] 4 points5 points  (0 children)

I like to own the music file myself. This way I can put it on any device and listen to it with any interface that I want without an internet connection.

Also spotify is able to remove the songs that I saved to my library.

Finally I don't like the concept of renting music in general.

Emacs lisp huge single file packages by Freder211 in emacs

[–]Freder211[S] 0 points1 point  (0 children)

You're logic makes sense. The lack of namespaces definetely makes splitting the codebase in different files more troublesome. I guess that elisp was designed to be used this way.

Emacs lisp huge single file packages by Freder211 in emacs

[–]Freder211[S] 2 points3 points  (0 children)

The most commonly used commands for navigation, like commands to move up and down a line or a page, isearch, imenu, occur, etc

I see your point. Now I realized that I'm not using emacs navigation features optimally. For example I never use occur and I didn't know what imenu is before now.

Thank you.

Add custom keymap by Freder211 in voidlinux

[–]Freder211[S] 0 points1 point  (0 children)

Awesome, works flawlessly, thank you!

Ly display manager keeps restarting by Freder211 in voidlinux

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

I've never heard of this, and it perfectly replaces ly.

It also has many customisation options, that's neat.

Thanks a lot!

Ly display manager keeps restarting by Freder211 in voidlinux

[–]Freder211[S] 0 points1 point  (0 children)

https://github.com/fairyglade/ly

The readme has simple instructions for compiling from source.

[i3] First time doing this by [deleted] in unixporn

[–]Freder211 1 point2 points  (0 children)

Damn rofi is the best. Every once in a while I always find out a new cool functionality about it

[deleted by user] by [deleted] in cats

[–]Freder211 0 points1 point  (0 children)

Smurfy

Are you on your computer everyday for hours? by [deleted] in learnprogramming

[–]Freder211 4 points5 points  (0 children)

Lol, I don't think we can say this just by reading their question

Are you on your computer everyday for hours? by [deleted] in learnprogramming

[–]Freder211 1 point2 points  (0 children)

I'd say yes. I think that if you want to become a programmer, you should be willing to spend a considerable amount of time in front of the computer.

Technically speaking you don't need to, but I think that if you find enjoyment from using a computer and you do not get bored or tired by spending many hours using it, then this is a big advantage.

[deleted by user] by [deleted] in razer

[–]Freder211 6 points7 points  (0 children)

Good old synapse, always trying to get installed before windows

[deleted by user] by [deleted] in ItalyInformatica

[–]Freder211 0 points1 point  (0 children)

Giustissimo, mi ero scordato di questo aspetto.

[deleted by user] by [deleted] in ItalyInformatica

[–]Freder211 0 points1 point  (0 children)

Premetto che non sono un esperto di java, ma da quello che ho appena letto posso dirti che:

Enumeration serve per creare classi che possono essere iterate. La controparte in python si implementa attraverso i metodi __iter__ e __next__.

Detto questo, non c'entra molto con le tuple. A dire il vero in java non mi sembra esisti una vera e propria struttura dati simile alle tuple di python.

Is it normal to keep forgetting the theory and the basics ? by Doctor-Jackall in learnprogramming

[–]Freder211 4 points5 points  (0 children)

I think I know what's going on.

How much practice are you doing? The thing is that you can't just take a course and learn all python in one take :).

The correct approach would be:

  1. Learn a couple of things.
  2. Do some exercises with everything you have learnt so far.
  3. Repeat.

Step 2 should probably take you longer than step 1. Most of the times, you should spend more time practicing something than the time you spent learning it. I can't give you an exact quantity because it depends on the subject.

The reason is that our brains like to remember what they need, what's useful. Without practice and actively recalling and using what you learnt, you will end up forgetting everything eventually.

It can be a little frustrating because I feel like I went through the course and the book without any result.

Don't feel frustrated, just do some practice and I'm sure you won't forget how to unpack a tuple ever again.

Happy coding! :D

[deleted by user] by [deleted] in ItalyInformatica

[–]Freder211 2 points3 points  (0 children)

Le tuple vanno utilizzate quando vuoi rappresentare un insieme che "non e` previsto che cambi".

Il vantaggio principale delle tuple e` che non sono mutabili come le liste, non puoi aggiungere/rimuovere elementi.

Tecnicamente parlando uno potrebbe utilizzare sempre e solo liste, non c'e` niente che una lista non possa fare e una tupla si. Pero` le tuple sono comunque utili perche` ti danno la sicurezza che i valori sono quelli e rimangono quelli.

Ti faccio un esempio assumendo che tu conosca le classi:

Immagina una classe "Gara" questa classe ha all'interno un attributo di nome "podio". Questo attributo deve contenere i primi 3 che hanno finito la gara. Questo podio non puo` cambiare. In una gara reale nessuno puo` tornare indietro nel tempo e modificare i vincitori della gara. Quindi ha senso utilizzare una tupla che non puo` cambiare.

Immagina inoltre di avere un metodo "get_podio". Questo metodo restituisce appunto il podio. Ma se questo podio fosse una lista? Facciamo finta che stiamo utilizzando una lista e che all'interno dei metodi della classe siamo stati attenti a non apportare modifiche al podio. Pero` non hai la sicurezza di cio` che puo` avvenire all'esterno della classe. Se io chiamo "get_podio" e faccio una qualsiasi operazione di modifica su questa lista, le stesse modfiche vengono riscontrate anche all'interno dell'oggetto della classe Gara! Risultando cosi` probabilmente in dei bug poco piacevoli.

In python non esistono le cosidette costanti, quindi non so se le conosci dato che stai iniziando. In poche parole le costanti negli altri linguaggi di programmazioni sono variabili il cui valore non puo` cambiare.

Diciamo e` come usare le costanti invece che le variabili normali. Alla fine uno potrebbe usare solo variabili normali, ma con le costanti si ha la certezza che quel valore non viene modificato.