kionite231

joined 1 year ago
[–] kionite231@lemmy.ca 1 points 2 months ago

I don't see faces in the wall I feel like the "eye" is some kind of camera which follows me whenever I go.

[–] kionite231@lemmy.ca 7 points 2 months ago (1 children)

Youtube nowadays has started requiring sign in to view the content. However the only affected IPs are of Invidious instances.

[–] kionite231@lemmy.ca 2 points 2 months ago

They don't even do web browsing they just download the dedicated app like Facebook or Instagram

[–] kionite231@lemmy.ca 3 points 2 months ago

Yeah It's a pain when in newly installed system there is no Internet and you have to boot off of USB again!

[–] kionite231@lemmy.ca 1 points 3 months ago

Thank you for making this post :)

I hope he learned something from this work trip and develope a good understanding of how computers work in general.

Wish your child become successful in whichever field he would be get into.

[–] kionite231@lemmy.ca 10 points 3 months ago (1 children)

It really freaked me out how accurate it was. It detected me perfectly even with Firefox+uBlock

[–] kionite231@lemmy.ca 1 points 3 months ago (2 children)

You could use DDG or a lot of meta search engines :)

[–] kionite231@lemmy.ca 6 points 3 months ago (1 children)

by default it doesn't proxy the video stream you are getting from YouTube. it just extract the link to that stream and sent it to your browser and then you browser plays that stream URL which points to google's server so google is able to see your IP address.

however there is an option called "DASH" if you enable this option the stream would be proxied by your invidious instances. this options is disabled on most of the public instances because of high bandwidth usage.

[–] kionite231@lemmy.ca 1 points 3 months ago (1 children)

I have tried and failed miserably. :(

It's very difficult to login to different services without a Google account. I know it's possible but not convenient

[–] kionite231@lemmy.ca 4 points 3 months ago (1 children)

English, Hindi, Urdu, Gujarati

Only reading: Japanese, Arabic, Russian

[–] kionite231@lemmy.ca 2 points 3 months ago (1 children)

Do they mean something or they are just random punctuations

[–] kionite231@lemmy.ca 13 points 3 months ago (1 children)

Most Indians don't know about Torrent and Piracy. hell if you tell an Indian they are pirating they would say "what is pirating? we are just downloading movies from Google!"

 

Hello,

I want to create an AI model to learn about AI/ML. so I have scraped some data from Threads and Instagram.now I am wondering how can I use this dataset to make an AI model or do something useful with it? (BTW I don't know anything about AI/ML. I have done internship as Data Analyst so I know a little bit about Linear regression etc. but don't know anything advance.)

I am really curious to explore this space :)

 

Hello,

I have made Python scripts to scrape Instagram and Threads. I would like some suggestion or criticism :D

 

I want to scrape a website using python selenium however every time it gives different id to same html element. I don't know how to circumvent it.

maybe XPATH is my saviour? but I don't know how reliable it is.

 

I have scraped a lot of links from instagram and threads using selenium python. It was a good learning experience. I will be running that script for few days more and will see how many more media links I can scrape from instagram and threads.

However, the problem is that the media isn't tagged so we don't know what type of media it is. I wonder if there is an AI or something that can categorize this random media links to an organized list.

if you want to download all the media from the links you can run the following command:

# This command will download file with all the links
wget -O links.txt https://gist.githubusercontent.com/Ghodawalaaman/f331d95550f64afac67a6b2a68903bf7/raw/7cc4cc57cdf5ab8aef6471c9407585315ca9d628/gistfile1.txt
# This command will actually download the media from the links file we got from the above command 
wget -i links1.txt

I was thinking about storing all of these. there is two ways of storing these. the first one is to just store the links.txt file and download the content when needed or we can download the content from the links save it to a hard drive. the second method will consume more space, so the first method is good imo.

I hope it was something you like :)

 

Hello,

I made a simple script to scraper threads.net using python and selenium. the script is just few lines long and it's easy to understand.

So what this script does?

first it will open edge browser(which you can change it to firefox or chrome). now you have to enter credentials to log into it. your browsing data and credentials will be stored in user_data which you can move around.

It scroll through threads's feed/hashtag/explore and It will store the src of every image it encounters so at the end we will have a links.txt file containing all the links to the images we have encountered.

now we have links.txt and we can use the following command to download all the images from the links.txt

wget -i links.txt

the script:

from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.edge.options import Options
import time

options = Options()
options.add_argument("--user-data-dir=user_data")

driver = webdriver.Edge(options=options)

driver.get('https://threads.net')

s = set()

input("Press any key to continue...")
for i in range(30):
    try:
        elements = driver.find_elements(By.XPATH, "//img")
        for e in elements:
            s.add(e.get_attribute("src"))
        driver.execute_script("window.scrollBy(0, 1000);")
        time.sleep(0.2)
    except:
        print("oopsie")

with open("links.txt", 'w') as f:
    links = list(s)
    for l in links:
        f.write(l+"\n")

driver.quit()

I hope it was usefull :D

Edit: here is a link to links.txt https://0x0.st/HGjx.txt

 

Hello, I wanted to use hyprland on fedora silverblue but I couldn't find any image. I found this image however when I rebase to that image it drops me into rescue mode after reboot. :(

do you have your own hyprland silverblue images? I would love to try it out :D

 

this is going to be my personal experience of making custom ublue image. hopefully you will learn something from it.

so first of all you have to decide which Desktop Environment you want to use. I have chosen KDE but you can choose whichever DE you want. to see available DE you can go here. now copy the url of the image you want to modify. for my case it will be ghcr.io/ublue-os/kinoite-main:39.

create a file and name it Dockerfile. and add the following line to the Dockerfile

FROM ghcr.io/ublue-os/kinoite-main:39
# Install your favoutie program using rpm-ostree
RUN rpm-ostree install zsh fish neovim vim emacs kitty alacritty distrobox -y
# finally cleanup and commit the changes
RUN rpm-ostree cleanup -m && \
ostree container commit

save the file and run the following command in the current directory to build the image. (make sure you have docker installed on your system)

sudo docker build -t custom_image:latest .

you can now upload it to ghcr.io or rebase on it using rpm-ostree rebase command.

I hope this was useful. :)

 

Today, I made switch to fedora silverblue and then rebased to ublue image because it has flatpak included in the image. I am also thinking about making my own image based on silverblue. there is a video made by bigpod a youtuber about how to make your own custom ublue image and I learned a lot from that video. I am using toolbox to install various software and I am linking it however I am thinking if toolbox consumes more RAM and CPU. I guess I will find out ones I install silverblue on my laptop with old HDD.

I downloaded my favourite browser from flathub. the flathub repo isn't enabled by default in kinoite image of ublue. I have also find a way to export toolbox container to move it to different machine.

So yeah, I am liking it so far :D

 

Hi,

I want to reverse engineer api of an Android app to make a custom client that works on linux. I have good understanding of Linux, Networking and coding.

Where should I start? Is it too hard?

 

Hi, I am 19M. I always feel horny around beautiful girl. However I don't like it because it makes me uncomfortable around them.

How do you control yourself in that situation?

42
submitted 1 year ago* (last edited 1 year ago) by kionite231@lemmy.ca to c/asklemmy@lemmy.ml
 

Hii, I am trying to get into reading books but don't know what to read. I like programming, tech, DIY stuff and science and would love to read about it.

Which book should I read that is not overwhelming for a begginer like me?

Edit: Thank you all for the wonderful suggestions :)

Books

  • 1984
  • The Disappearing Spoon
  • The Tetris Effect
  • A Series of Unfortunate Events
  • Stiff: The Curious Lives of Human Cadavers
  • Prisoner of Trebekistan: A Decade in Jeopardy!
  • Immune
  • The Murderbot Diaries
  • Children of Time
  • Neuromancer
  • Bobyverse Series
  • Project Hail Mary

Authors

  • Mary Roach
  • Marthe Wells
view more: ‹ prev next ›