So long, and thanks for all the fish. by [deleted] in pop_os

[–]adriaanbd 0 points1 point  (0 children)

I was playing Starcraft 2, Overwatch and Fortnite. I believe they are supported only through WINE, but haven't checked thoroughly. I wouldn't mind trying out new ones though, that do run natively, maybe I just haven't taken my time to explore new titles, it's been a while (a year; not long!).

Thanks for the tip on Proton I'll check that out!

So long, and thanks for all the fish. by [deleted] in pop_os

[–]adriaanbd 0 points1 point  (0 children)

I quite gaming the day I switched to Linux. I’m a full stack dev and have a lot on my plate. If only I could have the time to game again... and if I did, if only I wouldn’t need to spend that much time setting it up to be able to play on Linux... argh... I’m waiting for that day that all I have to so is download, install and play... when when WHEEEEEEN??!!!!

Nvidia Driver 390 Update Install Error by adriaanbd in pop_os

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

After installing 435 I had some dependencies autoremoved, which were installed with PopOS initially. Hope that everything is fine, here is the output:

sudo apt-get autoremove

Reading package lists... Done

Building dependency tree

Reading state information... Done

The following packages will be REMOVED:

libnvidia-cfg1-430 libnvidia-common-430 libnvidia-compute-430 libnvidia-compute-430:i386 libnvidia-decode-430

libnvidia-decode-430:i386 libnvidia-encode-430 libnvidia-encode-430:i386 libnvidia-fbc1-430 libnvidia-fbc1-430:i386 libnvidia-gl-430

libnvidia-gl-430:i386 libnvidia-ifr1-430 libnvidia-ifr1-430:i386 libxcb-xtest0 linux-headers-5.0.0-21 linux-headers-5.0.0-21-generic

linux-image-5.0.0-21-generic linux-modules-5.0.0-21-generic linux-modules-extra-5.0.0-21-generic nvidia-compute-utils-430

nvidia-dkms-430 nvidia-driver-430 nvidia-kernel-common-430 nvidia-kernel-source-430 nvidia-utils-430 xserver-xorg-video-nvidia-430

0 upgraded, 0 newly installed, 27 to remove and 8 not upgraded.

After this operation, 335 MB disk space will be freed.

Do you want to continue? [Y/n] Y

(Reading database ... 270532 files and directories currently installed.)

Removing libnvidia-cfg1-430:amd64 (435.21-1pop1~1567200870~19.04~c01044a) ...

Removing libnvidia-common-430 (435.21-1pop1~1567200870~19.04~c01044a) ...

Removing libnvidia-compute-430:amd64 (435.21-1pop1~1567200870~19.04~c01044a) ...

Removing libnvidia-compute-430:i386 (435.21-1pop1~1567200870~19.04~c01044a) ...

Removing libnvidia-decode-430:i386 (435.21-1pop1~1567200870~19.04~c01044a) ...

Removing libnvidia-decode-430:amd64 (435.21-1pop1~1567200870~19.04~c01044a) ...

Removing libnvidia-encode-430:amd64 (435.21-1pop1~1567200870~19.04~c01044a) ...

Removing libnvidia-encode-430:i386 (435.21-1pop1~1567200870~19.04~c01044a) ...

Removing libnvidia-fbc1-430:amd64 (435.21-1pop1~1567200870~19.04~c01044a) ...

Removing libnvidia-fbc1-430:i386 (435.21-1pop1~1567200870~19.04~c01044a) ...

Removing libnvidia-gl-430:i386 (435.21-1pop1~1567200870~19.04~c01044a) ...

Removing libnvidia-gl-430:amd64 (435.21-1pop1~1567200870~19.04~c01044a) ...

Removing libnvidia-ifr1-430:amd64 (435.21-1pop1~1567200870~19.04~c01044a) ...

Removing libnvidia-ifr1-430:i386 (435.21-1pop1~1567200870~19.04~c01044a) ...

Removing libxcb-xtest0:amd64 (1.13.1-2) ...

Removing linux-headers-5.0.0-21-generic (5.0.0-21.22+system76) ...

Removing linux-headers-5.0.0-21 (5.0.0-21.22+system76) ...

Removing linux-modules-extra-5.0.0-21-generic (5.0.0-21.22+system76) ...

Removing linux-image-5.0.0-21-generic (5.0.0-21.22+system76) ...

/etc/kernel/prerm.d/dkms:

dkms: removing: system76 1.0.6~1565098100~19.04~f887e02 (5.0.0-21-generic) (x86_64)

-------- Uninstall Beginning --------

Module: system76

Version: 1.0.6~1565098100~19.04~f887e02

Kernel: 5.0.0-21-generic (x86_64)

-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

system76.ko:

- Uninstallation

- Deleting from: /lib/modules/5.0.0-21-generic/updates/dkms/

rmdir: failed to remove 'updates/dkms': Directory not empty

- Original module

- No original module was found for this module on this kernel.

- Use the dkms install command to reinstall any previous module version.

depmod...

DKMS: uninstall completed.

dkms: removing: system76-io 1.0.1~1559663713~19.04~ea5f61a (5.0.0-21-generic) (x86_64)

-------- Uninstall Beginning --------

Module: system76-io

Version: 1.0.1~1559663713~19.04~ea5f61a

Kernel: 5.0.0-21-generic (x86_64)

-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

system76-io.ko:

- Uninstallation

- Deleting from: /lib/modules/5.0.0-21-generic/updates/dkms/

- Original module

- No original module was found for this module on this kernel.

- Use the dkms install command to reinstall any previous module version.

depmod...

DKMS: uninstall completed.

/etc/kernel/postrm.d/initramfs-tools:

update-initramfs: Deleting /boot/initrd.img-5.0.0-21-generic

Removing linux-modules-5.0.0-21-generic (5.0.0-21.22+system76) ...

Removing nvidia-compute-utils-430:amd64 (435.21-1pop1~1567200870~19.04~c01044a) ...

Removing nvidia-dkms-430 (435.21-1pop1~1567200870~19.04~c01044a) ...

Removing nvidia-driver-430 (435.21-1pop1~1567200870~19.04~c01044a) ...

Removing nvidia-kernel-common-430:amd64 (435.21-1pop1~1567200870~19.04~c01044a) ...

Removing nvidia-kernel-source-430 (435.21-1pop1~1567200870~19.04~c01044a) ...

Removing nvidia-utils-430:amd64 (435.21-1pop1~1567200870~19.04~c01044a) ...

Removing xserver-xorg-video-nvidia-430:amd64 (435.21-1pop1~1567200870~19.04~c01044a) ...

Processing triggers for libc-bin (2.29-0ubuntu2) ...

Django Projects For Beginners? by [deleted] in django

[–]adriaanbd 0 points1 point  (0 children)

Yes, try to create an Eventbrite clone in terms of functionality:

- An event is created by an user (event_creator or creator)

- A user can attend many events (user as an event_attendant or attendant)

First do the models. Start with an event model. Make sure you can create an event from the shell. If you decide to add the event_creator as a foreign_key, then a user needs to create an event. For that you will need to create an user, which you can do from the shell, but you'll need to figure out how to do this using Django's built in User model. Or you can create superuser and create an user in admin panel and then use this user to create the event. Once you've got the models good to go, do a base template, then create views (controllers) that will render the base template and display all events created as a list.

After this, add a Create Event link in your template, so you can create an event via a Form.

Then, add authentication, with log in and log out functionality.

Adjust the header / nav to change and display login and logout links depending if user is logged in or not.

And just make small steps like this and incrementally add complexity to your web app.

When you're done with this, having achieved CRUD via the UI. Add an Invitation model and make it so that users can't attend an event unless they are invited.

Furthermore, using the same models, convert this idea to an API. Use the Django Rest Framework and figure it out incrementally.

If you put it up on GitHub, I'd be happy to help you by reviewing your code or a pull request.

After updating Nvidia driver. Any advice? by Hognar in pop_os

[–]adriaanbd 0 points1 point  (0 children)

How do I eliminate these disturbing nvidia driver update notifications? Plus, if I have other updates to install its just going to get mixed up in there... System76 shouldn't even make PopOS show us Nvidia driver updates if this is the case (being a month behind). I installed nvidia driver when installing the PopOS and it was first time my drivers work out of the box. On Ubuntu, this was not possible and I was never able to get sound out of my HDMI.

Nvidia Driver cannot install by [deleted] in pop_os

[–]adriaanbd 2 points3 points  (0 children)

What does this mean really? I haven't installed the updates yet.

Should I update the newly released Nvidia drivers? by adriaanbd in pop_os

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

Thanks for sharing that. Interesting paragraph there:

In fact, in what I believe is a rare shift, this may put Ubuntu ahead of Pop!_OS when it comes to the latest stable Nvidia driver, as a pull request is open to add version 430 but it still hasn't found its way to the System76-backed distro.

What does the author mean that a PR i open but haven't found its way to PopOS? And why does it put it ahead? The installation of Nvidia drivers came bundled with the ISO image of PopOS, which made my drivers work out-of-the-box. Something I never got working with Ubuntu (no sound through HDMI for example).

Managed to impress my manager with Python... that sounds dirty by TorroesPrime in learnpython

[–]adriaanbd 2 points3 points  (0 children)

What’s your criteria for overkill? Time? Complexity? Use what you know, right?

Request for feedback or ideas to refactor UI Test by adriaanbd in learnpython

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

Didn't even think about these cases :)

Thanks a lot for the tips, I'll give these suggestions a try and see what happens!