Technology

Discord and Spotify for Linux and xdg-mime

The bug

I’ve noticed that Discord for Linux takes a very, very long time to start up – sometimes in the order of hours. During this time, my laptop gets very hot. I eventually decided to look into this and found that several instances of xdg-mime were taking up 100% CPU. Killing them caused Discord to open instantly.

Apparently this issue is present with Spotify too. This fix will work for both of them.

Read More »Discord and Spotify for Linux and xdg-mime

Lynne Teaches Tech: Why does Windows install to drive C by default? Why not A?

CP/M, a very old operating system for very old computers, used drive letters to distinguish between each drive on a computer. the first drive would be drive A, then drive B, and so on. CP/M computers typically had two floppy disk drives (drive A and B). when a CP/M machine… Read More »Lynne Teaches Tech: Why does Windows install to drive C by default? Why not A?

Lynne Teaches Tech: Why does text on a webpage stay sharp when you zoom in, even though images get blurry?

images like PNG and JPEG files get blurry when zoomed in beyond 100% of their size. this is true of video files, too, and many other methods of representing graphics. this is because these files contain an exact description of what to show. they tell the computer what colour each… Read More »Lynne Teaches Tech: Why does text on a webpage stay sharp when you zoom in, even though images get blurry?

Lynne Teaches Tech: What do all the parts of a URL or hyperlink mean?

when you access a website in your browser, its URL (Universal Resource Location) will almost always start with either https:// or http://. this is known as the schema, and tells the browser what type of connection it’s going to be using, and how it needs to talk to the server.… Read More »Lynne Teaches Tech: What do all the parts of a URL or hyperlink mean?

Lynne Teaches Tech: Why does compressing a JPEG make it look worse, even though putting in a ZIP file makes it look the same?

there are many different methods of file compression. one of the simplest methods is run length encoding (RLE). the idea is simple: say you have a file like this:aaabbbbaaaaayou could store it as:a3b4a5to represent that there are 3 a’s, 4 b’s, etc. you would then simply need a program to… Read More »Lynne Teaches Tech: Why does compressing a JPEG make it look worse, even though putting in a ZIP file makes it look the same?