• 543 Posts
Joined 6M ago
Cake day: Apr 18, 2022

Top AI Resources You Must Follow If You Are Into AI
#### YouTube Channels for Popular Research Papers - [Yannic Kilcher](https://www.youtube.com/c/YannicKilcher) - [AI Coffee Break with Letitia](https://www.youtube.com/c/AICoffeeBreak/videos) - [Two Minute Papers](https://www.youtube.com/c/K%C3%A1rolyZsolnai) #### Newsletters - [The Batch](https://read.deeplearning.ai/the-batch/) - [Data Science Weekly](https://www.datascienceweekly.org/) #### Podcasts - [Last Week in AI](https://www.lastweekinai.com/) - [Lex Fridman Podcast](https://www.youtube.com/c/lexfridman/about) - [TWIML: This week in Machine Learning](https://twimlai.com/) #### Additional Resources - [Papers With Code](https://paperswithcode.com/) - [NLP Progress](https://nlpprogress.com/) - [Google AI Blog](https://ai.googleblog.com/) - [Machine Learning Mastery](https://machinelearningmastery.com/) - [Berkeley Artificial Intelligence Research Group](https://bair.berkeley.edu/blog/about/) - [Arxiv-sanity](https://arxiv-sanity-lite.com/) - [Sebastian Ruder’s Newsletter](https://newsletter.ruder.io/) - [DeepMind Blog](https://www.deepmind.com/) - [OpenAI Blog](https://openai.com/)

Send every process to background and disown, in zsh
In zsh, I want to send every process to background so that I can continue typing in the terminal if a process takes longer than I expected. Instead of having to write `&` at the end of every command or having to do `Ctrl + Z` to freeze it and `bg` to send it to background. Also I want the process to continue if I close the terminal, so I want to disown it. Can this be done by default with some zsh setting?

But it doesn’t kill them instantly so in real life, without a cage preventing the escape, it would have failed.

I guess when they have perfected this, they’ll put it on a drone and use this on the sewer instead of fumigating every so often.

Where can I get the microsoft fonts?
I've gotten the following message when opening an ebook: > Miscellaneous -> Use embedded fonts in book > Can't find: `times new roman.ttf`, `arial.ttf`, `courier new.ttf`, `wingdings.ttf` and `arial narrow.ttf`. > (click font name to get the missing .ttf file, then download it to "/sdcard/fonts") But doing what it says gives me a ERR_CONNECTION_REFUSED, webpage not available error. How do I get the fonts?

Hard drive expansion after filling the case slots?
- Gigabyte B450M DS3H - Crucial P2 500 GB M.2-2280 PCIe 3.0 X4 NVME Solid State Drive - Corsair Carbide Series 100R ATX Mid Tower Case - Corsair RM1000i 1000 W 80+ Gold Certified Fully Modular ATX Power Supply Is this what I need? [Drive shelf](https://es.aliexpress.com/item/1005004189790707.html?spm=a2g0o.productlist.0.0.459c5e80zoUDmR&algo_pvid=561b6295-4d7a-4ab8-bb07-0f8d8ef2192a&algo_exp_id=561b6295-4d7a-4ab8-bb07-0f8d8ef2192a-0&pdp_ext_f=%7B%22sku_id%22%3A%2212000028328522254%22%7D&pdp_npi=2%40dis%21EUR%216.09%214.7%21%21%216.14%21%21%402100bddb16645478728878851e8f08%2112000028328522254%21sea&curPageLogUid=hDRYC8Idw9S1), [6 ports 4x PCIe Sata Expansion](https://es.aliexpress.com/item/1005003346314019.html?spm=a2g0o.productlist.0.0.f3347ed2uu1KbB&algo_pvid=1f54e43f-9588-43fc-ad9f-634f8dcc493f&algo_exp_id=1f54e43f-9588-43fc-ad9f-634f8dcc493f-0&pdp_ext_f=%7B%22sku_id%22%3A%2212000025333882237%22%7D&pdp_npi=2%40dis%21EUR%2124.65%2114.79%21%21%21%21%21%400b0a182b16645480364271640ee194%2112000025333882237%21sea&curPageLogUid=bHWVejKaobYf), [6 SATA cable](https://es.aliexpress.com/item/1005003146391040.html?spm=a2g0o.productlist.0.0.5d6d21ddqRWYwr&algo_pvid=d7cb5754-eb3b-4329-9458-b59a4ae4380b&algo_exp_id=d7cb5754-eb3b-4329-9458-b59a4ae4380b-2&pdp_ext_f=%7B%22sku_id%22%3A%2212000024347432652%22%7D&pdp_npi=2%40dis%21EUR%2117.69%218.49%21%21%21%21%21%402100bdcf16645481868468861e4334%2112000024347432652%21sea&curPageLogUid=lOcnvqNQ0MfX), [6 pins to SATA cable](https://es.aliexpress.com/item/32952391014.html?spm=a2g0o.productlist.0.0.265a7a52itdW5W&algo_pvid=71d0ec14-eeb7-4cfa-a673-df077fc4e364&algo_exp_id=71d0ec14-eeb7-4cfa-a673-df077fc4e364-6&pdp_ext_f=%7B%22sku_id%22%3A%2266229055488%22%7D&pdp_npi=2%40dis%21EUR%217.66%216.9%21%21%21%21%21%402100bdf016645483945815041ed981%2166229055488%21sea&curPageLogUid=YnUJju2zMKZz) I would like a shelf that doesn't need screws like my case that has a plastic that clicks in the drive and slides in the case, but I haven't found anything like that. I'm buying from europe.

This happened much sooner than I expected. Although I saw a horse doing a moonwalk in one of the generated videos so clearly there’s a lot of room for improvement.

[SOLVED] How to get conflicting files with same relative paths from multiple folders?
I want to make a virtual file system from a few folders and want to check if there are any conflicting files. So I want to provide a few folders and get files with the same path relative to their folders. How can I find the conflicts? This is what I've done so far. The `get_files` and `remove_duplicates` functions aren't working as I expected. ```python import os import shutil import sys from collections import Counter from pathlib import Path from typing import List def main(): folders = sys.argv[1:] if len(folders) < 2: print("Please provide at least 2 folders") exit(1) files = get_files(folders) conflicting_files = find_conflicting_files(files) conflicting_files = remove_duplicates(conflicting_files) print_conflicting_files(conflicting_files) def get_files(folders): files = [] for folder in folders: files.extend([os.path.relpath(path, folder) for path in Path(folder).rglob("*")]) return files def test_get_files(): try: os.makedirs("test/folder1/a", exist_ok=True) os.makedirs("test/folder2/b", exist_ok=True) open("test/folder1/a/file", "w").close() open("test/folder2/b/file", "w").close() folders = ["test/folder1", "test/folder2"] assert get_files(folders) == ["a/file", "b/file"] finally: shutil.rmtree("test") def find_conflicting_files(files) -> List: return [file for file, cnt in Counter(files).items() if cnt > 1] def test_find_conflicting_files(): files = [ ["a", "b", "c"], ["a", "b", "d"], ["a", "b", "e"], ["a", "b", "f"], ] assert find_conflicting_files(files) == ["a", "a", "a", "b", "b", "b"] def remove_duplicates(l: List) -> List: return [*set(l)] def test_remove_duplicates(): files = ["a", "a", "b", "b", "c", "c"] assert remove_duplicates(files) == ["a", "b", "c"] def print_conflicting_files(files): for file in files: print(file) if __name__ == "__main__": main() ```

[SOLVED] How to find files with same relative paths in multiple folders?
I want to make a virtual file system from a few folders and want to check if there are any conflicting files. So I want to provide a few folders and get files with the same path relative to their folders. How can I find the conflicts? ```bash #!/usr/bin/env bash # Find conflicting paths in multiple folders to use with mergerfs # Usage: ./conflict.sh /path/to/folder1 /path/to/folder2 /path/to/folder3 > conflicts.txt find_conflicting_files() { local folders=("$@") local files=() if [[ ${#folders[@]} -lt 2 ]]; then echo "Please provide at least 2 folders" exit 1 fi for folder in "${folders[@]}"; do files+=("$(find "$folder" -type f)") done # find all conflicting files # print the conflicting files for conflict in "${conflicts[@]}"; do echo "$conflict" done ```

Falta contenido
Buenas, estoy buscando una nueva instancia porque la de lemmy.ml me está dando errores. Me gustaría darme de alta en esta instancia pero le falta contenido. Por favor federaros con tantas otras instancias como podáis, y a todas sus comunidades y dejad a los usuarios que eligan a que contenido se suscriben. Ahora mismo veo muy pocos posts incluso cuando selecciono ver todo.

Lemmy instances near france similar to lemmy.ml?
I can't connect to lemmy.ml any longer unless I'm using tor. So I want to find another instance that federates with as many other instances as possible and that is near france. Which one would you recommend?


351.52 GB, 1187 files, 2022/08 - Walt Disney Animation Ultimate Collection BG Audio(1937-2022) 720p - 1080p Bluray NenormY - c7f2fb8c32a50ebc81e5515f03d9bb3e782ba6c0


9.3 TB, 8857 files, 2022/09 - Anime - 9d08dbd130ac50c795ce97ca4b7be24b2be535ed

The results are here. But the file is too big and will make your browser slow. I don’t recommend opening it. Also it shows all packages, and without a way to filter actual software from all the packages is difficult to find anything useful in there.

import cbor2
def hash(tag: Dict) -> str:
    return f"{WUTAG_NAMESPACE}.{base64.b64encode(cbor2.dumps(tag))}"

def test_hash():
    tag = {'name': 'tag1', 'color': '#000000'}
    assert hash('tag') == "user.wutag.b'Y3RhZw=='"

Still need a test for the rust code to make sure they are the same.

I used to do that until I was told that there is no limit in library genesis but the same amount of books.

It was easier than I expected:

while driver.find_element(By.XPATH, '//*[@id="connectLongContent"]').is_displayed():

There is also the tor-browser-selenium library to consider.

It’s asking me in which language is the website to translate and lemmy posts are in different languages so it’s not useful for this case.


1.7 TB, 766 files, 2022/07 - IMDb.2019.07.29.Top.250.BluRay.1080p.x265.10bit.MNHD-FRDS - 96f07df36eb9c43bb0ad1386c97e57cded1edfe2
826.06 GB, 29756 files, 2022/07 - Star Wars The Complete Collection 1977-2019 1080p - af24164f6770cc67138b9bb7eba7cddcb349760d
445.02 GB, 1216 files, 2020/04 - Game of Thrones (2010) COMPLETE (1080p BluRay x265 HEVC 10bit AAC 7.1 FreetheFish) - 5f52459eee6541f8e8c9a12eef23f70cd3a5e4a1 - 7740a2abd696d6f3c4334bd5ffbdd428f8878cbd
342.12 GB, 195 files, 2022/07 - Jean-Claude.Van.Damme.FiLMOGRAPHY.SWESUB.BluRay - cc0858a20ef7852fd18bf092dbb55a6c68f584ff
320.88 GB, 59 files, 2020 - Arnold.Schwarzenegger.FiLMOGRAPHY.SWESUB.BluRay - 87b3f399bb47dcd6e151f3d42192991413a81f35