borokov

joined 2 months ago
[โ€“] [email protected] 0 points 4 days ago (1 children)

I comment because this is how a social network works, and this is how you keep lemmy alive. My comment has generated a dozen of other comments, so he achieved his goal.

There is not a single question that's already have been answered on internet, so there no point on asking anything on social plateforms except just for the sake of interacting with other peoples.

Lemmy is not stackoverflow ๐Ÿ˜‰

[โ€“] [email protected] 2 points 4 days ago (2 children)

Don't know how list are implemented in Python. But in the dumb linked list implementation (like C++ std::list), each element has a "next" member that point the the next element. So, to have list length, you have to do (pseudo code, not actual python code):

len = 0
elt = list.fisrt
while exist(elt):
    elt = elt.next
    len++
return len

Whereas to test if list is empty, you just have to:

return exist(list.first)
[โ€“] [email protected] 6 points 5 days ago

I use to control it before, but since I'm on some other medecine, it start to have its own will. It happen to me unvoluntary like every 5 or 10s. That's SO FUCKING ANNOYING !!!

[โ€“] [email protected] 7 points 2 weeks ago

Mongolia.

Every single people I met were nice and friendly. Even when they don't speak english, they will try anything to help you, or find someone that speak english.

[โ€“] [email protected] 3 points 1 month ago

SimCity 2000 microwave powerplant ?

[โ€“] [email protected] 16 points 2 months ago (5 children)

1984 is not about mass surveillance. It's about lowering the langage and culture so that you don't even have word to criticize the system.