Install Pi-Hole to block ads but use DNS server provided by the biggest ad company? o.O
Install Pi-Hole to block ads but use DNS server provided by the biggest ad company? o.O
I don’t follow. How would no IP give more money to the workers? How would no IP change how the company was run?
I’m not arguing IP here, I just seems to me that you are mixing two different things. You can have a employee owned company and still have IP.
Or am I missing something obvious?
I once had a bug in a C# program I wrote. It made a HTTP request and if the user agent was left to default (whatever that was), the server just gave back an empty string as a reply. I took way to long until I understood what was going on and I kept chasing async, thinking I had messed it up some how.
Today I learned
Ah, okey! I saw the guide and thought it looked interesting at first. But then my wallet saw two GPUs and promptly said no.
I can relate. Last time that happened, I gave up or trying to find out how that works and just used another computer that was already connected to the TV.
BookLibConnect and AaxAudioConverter. I use them do download my Audible purchases. They are both written using WPF (or some other Windows API only GUI lib) and thus cannot be run on Linux. I might rewrite them using the newest C# cross platform library, but that library does not compile native on Linux, only on Windows… (Unless you use the community maintained version).
I did try to find replacement for both for them but their ease of use and the conversion tool for axx to m4b made it preferable to just install Windows in a VM.
As for WinSCP, it is a SFTP/FPT client that is really nice and I did miss it initially as well. But Nautilus file manager has both SFTP and FTP support built into it. And if you want a dedicated client, I can recommend Terminus (but I am not a heavy user, rclone in terminal does most of my heavy lifting).
Having those features would really have made it easier. I have only ever written my python code in Sublime Text. While it is a sublime text editor, at is not ideal (compared to how it is to write Java in IntelliJ) for Python. (Maybe with addons but I never delved into that more than a few.)
There is also the option to use two GPUs (or one and not use it for Linux). https://github.com/mr2527/pop_OS-win10-KVM-setup
I have two pieces of software I cannot live without, to the point that I would rewrite them for Linux if it came to that. Running Windows as a VM using Virtual Box has been a nice experience so far. (Given that both software are not CPU nor GPU heavy and could run on a tree if need be.)
It’s because there is no clear indication of where a block ends.
Here is some sample code. I find it difficult to tell how many indentations I have or where I need to write if I want to continue at a certain level.
import time
import aiohttp
"""
Retreives the data from RSS URL and return the status codes as well as the data. Return -1 if something went wrong.
"""
async def get_rss_feed(rss_url):
async with aiohttp.ClientSession() as session:
try:
retry_count = 0
while retry_count < 5:
async with session.get(rss_url) as resp:
if resp.status == 200:
return {'status': resp.status, 'data': await resp.text()}
else:
retry_count += 1
time.sleep(60)
if retry_count == 5:
raise ValueError('To many failed connection attempts', retry_count)
except aiohttp.InvalidURL as error:
return {'status': -1, 'data': f"Error: {rss_url} is not a valid URL.", 'error': error}
except aiohttp.ClientConnectorError as error:
return {'status': -1, 'data': f"Error: Could not connect to {rss_url}.", 'error': error}
except ValueError as error:
return {'status': -1, 'data': f"Error: Could not connect to {rss_url} after {retry_count} attempts.", 'error': error}
Too much nested code was likely part of the problem, but not being able to easily tell where a block of coded ended without seeing the top of the block made it difficult to work with.
I once wrote a bot in python tdownloaded a ical file, looked for chances and informed me if found. The space indentation made it hell to follow the code in my opinion.
Never used it, only used Debian based versions. I tried my hand at Fedora and OpenSUSE but no apt made me change back. Not because it better (or worse, for all I know), just that I know apt and didn’t want to take the time to learn rpm etc.
SkyShowTime also seem to not work on Linux.
Is arch btw simpler than NixOS? I always thought that arch btw was on top of the difficulty food chain.
I have two applications that does not have a replacement for Linux, running Windows as a virtual machine is a great alternative as you don’t have to leave Linux (or reboot) to use them.
If all you do is browse the web, as is the case for a a lot of people, the OS does not matter. Heck, my neighbor does not even have a computer, does everything on his phone.
Ah, gotcha! Thanks