Posts

Showing posts from May, 2020

Peer to peer file sharing of HUGE files.

Do you remember file transfer via DCC? Back into good old days of IRC chats we used to send to each other files via DCC. It was peer to peer file transfer. You chat with probably a nice girl (or a guy) and you ask her to to send you a photo of herself. Today, convenient services made us lazy and on top of that - handicapped. Without any knowledge how to send to each other a nice video we took during our last holiday which is around 1gigabyte. How to do it? Via Google Drive? Via Dropbox? Via Skype? All those services offer "convenience" which make us to share the file not only with your friend, but with them too. What if I am naked into this video? Would I still want to share it with Google? What is my choice? How I share photos today. What if I want to send a photo to a friend while I am chatting with him on Skype? Here is what usually happens today: Take a picture with my phone Send the photo via Viber or Telegram Telling my friend on Skype to check his Viber or any other me...

How to fix: Screen sharing shows black screen with mouse cursor only.

I had an issue which caused me to reinstall my Debian machine. After the reinstall there where two main differences with the previous install: Gnome started staggering little bit. The frame rate was low . Screen sharing on Gnome in any app didn't work. It shows only black screen with mouse cursor. Chrome, Firefox, Slack - everything was the same. It happened Gnome was using WayLand by default. A X11 alternative that is meant to perform much better and resolve a lot of issues X11 has. But it doesn't seem to work as flawless as expected, having in mind the two behaviors I listed above. How t o "fix" it. As the first comment here points out, screen share is broken in WayLand . So to "fix", I moved back to X11. To do so: Log out from Gnome On the login screen use the gear icon to choose Gnome X11. Log in. After moving back to X11, the frame rate is much smoother and the screen sharing is working again.

My Wifi disappeared

Image
It happened yesterday. 1 day later after my laptop was open to upgrade RAM . So it shouldn't be because of this. I saw how the Wifi got disconnected. It couldn't see any Wifi networks around. And then the entire adapter disappeared. I have dialed with Wifi drivers a few times already so it wasn't very stressing for me. But after I tried reinstalling the driver as I wrote in this post probably more than 10 times and it didn't work, I got very desperate. I started questioning my skills and then my existence. This is normal for a developer - an usual phase when you fight with something :D Here is the dmesg error: Troubleshooting Intel Wifi Adapter on Debian: rfkill - shows if a hardware is blocked on a software level or on a hardware level. lshw - shows detected hardware on the machine lsmod - shows installed drivers/modules ip a - shows network interfaces - the Wifi one was missing there. I installed the backports version of iwlwifi: https://packages.debian.org/stretch-b...

8GB RAM is not enough in 2020

I did an experiment. I bought a mid-range laptop with 8GB RAM . I moved from Ubuntu to Debian in order to make sure I am not using a bloated distro. I made the swap partition to be 8GB, non-encrypted. (I used to use swap file on an encrypted partition which made Gnome freezing for a second every time when the information from the swap file was accessed). But 8GB is simply not enough. By default Debian starts with ~800MB usage of RAM. Which is amazing. But those 8GB are getting filled up very quickly when you start all those apps at the same time: Skype for linux (I am still using skype) Slack Firefox with not more than 20 tabs Spotify So most of the time you are living on the swap. Everything works but it feels like living on the edge. So I put 16GB and the world is much more different. There is plenty of air to breath now.

Moving to Debian.

After years of being an Apple fan boy, I spent one year working on a huge ugly laptop powered by Ubuntu. This wasn't a big struggle for me because I used to be a Linux user long time ago before I even met Mac OS in my life. And even when I used Mac OS I used it mainly as a terminal than anything else. More of it, when you open Apple's website on Mac OS and page and see what they are advertising the operating system with, I haven't used any of it. So the switch from Apple to Ubuntu wasn't a big deal for me. 1 year working on Ubuntu. It is not a bad distro for a newbie. This is what they are targeting for. It is very easy way to move to linux if you don't have any experience with it. But for me ... working on a proprietary software that might change with every next version ... This is not a good thing to be honest. So I preferred something with more freedom in it. So after a research of most used distros out there I decided to stop on Debian. For many years Debian was...