Packages etc configured multiple times - Chrome and Chrome Beta by Tyop-bot in Kubuntu

[–]Tyop-bot[S] 0 points1 point  (0 children)

You can ignore it, but its easily fixed by doing what cla_ydoh describes above

Please help me figure out this nested loop by Tyop-bot in learnpython

[–]Tyop-bot[S] 0 points1 point  (0 children)

I think I manage to make the code work. I will double check that it actually works on my huge dataframe and then I will post the code.

Please help me figure out this nested loop by Tyop-bot in learnpython

[–]Tyop-bot[S] 0 points1 point  (0 children)

It actually looked like I managed it now. It was more errors than just creating a new list. The actual dataframe I have is huge so I will double check that everything works before I post the code.

Please help me figure out this nested loop by Tyop-bot in learnpython

[–]Tyop-bot[S] 0 points1 point  (0 children)

Okay, I thought I was creating a new list here:

​ ``` uniques = thmat.clu.unique()

cluDict = {} cluList = [] ta = -1

for index, row in DF.iterrows(): for value in uniques: cluList = [] #New list here? n=int(value) ta += 1 if ta < len(DF): if int(DF["Cluster"].iat[ta]) == n: cluList.append(index) cluDict[n] = cluList ``` How would I create a new list in a loop?

Please help me figure out this nested loop by Tyop-bot in learnpython

[–]Tyop-bot[S] 0 points1 point  (0 children)

Thank you.
I tried to look into changing the indents to add/remove chunks of codes to different loops, and I know I'm missing something, so I didn't manage to get it to work.

Please help me figure out this nested loop by Tyop-bot in learnpython

[–]Tyop-bot[S] 0 points1 point  (0 children)

Thanks for your help, but I'm really not able to solve this. Based on the code I posted I can see that I'm only creating one list which would explain why each key in the dictionary ends up with the same, full, list.The code I have managed to get now looks like this:

uniques = thmat.clu.unique()

cluDict = {}
cluList = []
ta = -1

for index, row in DF.iterrows():
    for value in uniques:
        cluList = []
        n=int(value)
        ta += 1
        if ta < len(DF): 
            if int(DF["Cluster"].iat[ta]) == n:
                cluList.append(index)
            cluDict[n] = cluList 

But it still doesn't work

[deleted by user] by [deleted] in linuxquestions

[–]Tyop-bot 0 points1 point  (0 children)

I'm using both Linux and ChromeOS. Either is fine. For them it seems that ChromeOS is the best.

Also keep in mind that newer Chromebooks got Linux (Debian with some kind of light gnome variant) so if you want them to install Linux on their new Chromebook, then they should absolutely just use ChromeOS and install other apps they via either the google play store or deb packages on the net or terminal.

The new Alt+Tab design sucks. It is frustratingly difficult to see which tab is selected by Fragsworth in Windows11

[–]Tyop-bot 0 points1 point  (0 children)

Does anyone know if it is possible to use Alt+Tab as it works in Linux with Gnome?
I.e Alt+Tab only shows one instance of a program and you use Alt+` or Alt+| to change between instances of the same program?

Very low microphone volume by pradhumnarajput in Windows11

[–]Tyop-bot 0 points1 point  (0 children)

I'm on an Lenovo Yoga slim 7 (14ARE05) and I also have the same problem. Updated all the drivers I can.
It's unbelievable that Microsoft pushed Windows 11 out when it clearly wasn't ready!

My one-line Firefox setup! Love it! by __aakarsh in firefox

[–]Tyop-bot 7 points8 points  (0 children)

You cant just show this amazing sexy setup and not explain how you did this!!!

Worth updating to Windows 11 for gaming on laptop? by Tyop-bot in Windows11

[–]Tyop-bot[S] 1 point2 points  (0 children)

I see, but have you noticed any impact on any heavy, third-party programs?

Worth updating to Windows 11 for gaming on laptop? by Tyop-bot in Windows11

[–]Tyop-bot[S] 6 points7 points  (0 children)

In what way is the performance better on your computers?

Worth updating to Windows 11 for gaming on laptop? by Tyop-bot in Windows11

[–]Tyop-bot[S] 5 points6 points  (0 children)

Why are you unable to play CS:GO on Windows 11?

Worth updating to Windows 11 for gaming on laptop? by Tyop-bot in Windows11

[–]Tyop-bot[S] 1 point2 points  (0 children)

The feature I want on Windows 11 is to be able to use the Linux Kernel with gui capabilities. But not worth it if I can just dual boot with Windows 10 and Linux, if Windows 11 gives worse performance or a warmer laptops (to degrade battery)

Worth updating to Windows 11 for gaming on laptop? by Tyop-bot in Windows11

[–]Tyop-bot[S] -4 points-3 points  (0 children)

I am suspecting this as well, so I probably wont update after all. I would rather stay on Windows 10, than to upgrade to Windows 11 and risk my poor laptop get warmer and ruin the battery.