#tech-related-help
1 messages · Page 12 of 1
india bro
oo ic nice nice
gn man
i really gotta sleep so my parents arent mad tmr xD
oh bro c u sometime else and Gn
was good talking to u
does anyone know how to solve recursion questions? I cant even sort an array using recursion :))
u too buddy 👋
look for striver list recursions on google
I did :))
ok
its like i get it when i am watching the vids but i cannot solve it when i am alone
for that only practice practice practice
that's how i learned
i hate recursions :))
i did too but they are actually really fun once you get the gist of it
fun you say 🥲
yeah fun i am not joking go watch striver's video he has explained every question regarding recursion and dp and other topics very well
ok so hear me out
i watched vidz of striver first, then i switched to aditya verma
and he talked about some choices and decisions and all that stuff in recursion
so i was like this guy is legit but idk it didn't work out ig?
ok
u mean aditya verma ?
now i am in a spiral from like where should i start, should i start from the starting of recursion or like what should i do
yes
yeah
https://takeuforward.org/strivers-a2z-dsa-course/strivers-a2z-dsa-course-sheet-2
go and start doing the recursion and dp module
so idk what to do? Its like i can do verry veryy easy questions but then i hit a wall
and if u dont' understand then watch strivers's video too
they are the best no other thing needed
it will
This video will help u by a lottt
cuz it teaches how to think and approach to solve a recursion problem,
For recursion backtracking patterns striver sheet is best imo.
In this video, we take a look at one of the more challenging computer science concepts: Recursion. We introduce 5 simple steps to help you solve challenging recursive problems and show you 3 specific examples, each progressively more difficult than the last.
Support: https://www.patreon.com/reducible
This video wouldn't be possible without the...
thank you so much 🌟
No worries bro, btw if u r in higj school, then i would suggest u to start doing cp, not just the striver sheet.
hello :))
is there any1 here who uses vscode ?
im trying to learn how to use it
and i keep running into unexpected errors
even while installing it i had some problems
but eventually i was able to download it
The editor could not be opened due to an unexpected error: Error: EPERM: operation not permitted, open 'c:\Users\user.vscode\extensions\extensions.json'
this is the issue im facing now
yeah I use it
what is the issue
this
did u installed any extension before ?
windows 11
try this
else u may have to use some other editor like sublime or intellij
okkk
i will try this first
thanks for your help :)))
Ok
No problem 👍
I've been trying to get gcc clang and cl to work in vs code, I have checked in my terminal all of them are installed with the gcc --version clang++ --version and all of them spit out the the version
but when I try compile my code in vs code and when I try to configure tasks not even gcc shows up
this is the third time I'm reinstalling vs code and vs cuz last last time it didn't show clang while cl and gcc where there to configure tasks while this time it shows nothing
try code blocks or sublime and use terminal to compile and execute your code
you can follow the below video too
https://www.youtube.com/watch?v=ePZEkbbf3fc
I use Ubuntu (Linux) with Geany for Competitive Programming, here's instructions if you want to use the same setup. Steps are also listed down here: https://github.com/Errichto/youtube/wiki/Linux-setup. Remember that 99% of your contest performance comes from skills, Linux and Geany are just tools.
Subscribe for more educational videos on algor...
I was following this video
Learn modern C++ 20 programming in this comprehensive course.
💻 Source code: https://github.com/rutura/The-C-20-Masterclass-Source-Code
✏️ Course developed by Daniel Gakwaya. Check out his YouTube channel: https://www.youtube.com/channel/UCUYUFiuJ5XZ3JYtbq5dXRKQ
🐦 Twitter: https://twitter.com/learnqtguide
🔗 Want more from Daniel? https://www.l...
oK
in this I was following whatever he's doing ig it's my machine's fault cuz there's no way I am not producing the same results even after following each and everything in this video
did u tried searching the issue in chatgpt or googling it ?
yeah I cant really find a real issue or similar to mine that people have faced
u gota try little harder or maybe find some other ide like coding blocks
yeah I guess cuz the terminal recognizes the compilers
but not when configuring tasks like it's said in the video
u have installed mingw64 ?
then u can code in c++ or c and then compile and run it in terminal right ?
What your problem
Install mingw64 c++ extension in vsc change setting to run in terminal turn on autosave and compile it again ;))
U can install code runner either
Maybe something is missing
yeah but for that I'll have to configure the json files and for that gcc and clang has to show up in the configure tasks menu
already did
Or just install code block u don't have to deal with this mess then
that's the problem I cant even compile the code, it isn't recognizing any installed compiler for some reason
already did that as well
and do it send u any problem report massage ?
in the terminal
i need it to identify which problem u r facing
install code runner in vsc and re compile
it usually outputs exit code -1
send me the screen capture pls i cant remember what it is :))
in the previous install when I got to atleast compile the code but it said something like gcc not recognized failed to compile with exit code -1
sure
do u change your environment path to gcc ?
https://www.youtube.com/watch?v=-LKFo-lmzRI it's the step in 11:32
#desire2u #vscode #c++ #c
Link vscode: https://code.visualstudio.com
Link mingw: https://sourceforge.net/projects/mingw/
Website thú vị cho ai mún xem thử: https://platform.softzone.ai
Thank you for watching~
u need to add gcc to your window environment in order to code C++ on your vsc
finish?
I am going to become a c master…
this is so true
yeah i told these guys but they don't listen, coding C++ in vscode was a pain
Can anyone tell me why we shouldn't use global variables in recursion? i searched it on stack overflow but couldn't understand
Its pretty difficult to install gcc or g++ on windows, i remember i struggled a bit too.
if i had Windows 11 at the time, i would probably just use Windows Subsystem for Linux (WSL). Install Ubuntu from the Microsoft Store.
When you restart vscode after that, It should prompt you to install or activate an extension that helps connect to WSL. Then you can code as usual. You code will be in the Linux virtual disk, which you can access via file manager.
It's generally a good design decision to use global variables as less as possible. Other people looking at the code might not understand how the variable changes inside the function. Functions are meant to create a local enironment/scope. You're sort of defeating the purpose if you're using global variables that change within that function. It might make sense to use constant global variables though.
the question is
what are you re doing with this global variables
if it doesnt match the recursion design thinking
then using it is false
just like @true snow said people who reading the code will not understand what are you re doing
another question
what kind of role can play this global variables
if it can t be a cumulatif parameter , or a basic parameter so what is she ?
i remember just doing codeblocks because the setup was painful
Yeah man me too ,
Now years have passed last I code in c++
same but i wish to go back to c++
yup , but the times have changed
vsc is full of feature :))) it not hard as u guys think
a lot of extension and the most thing i like where i can remote my window subsystem in vsc
Hullo!
Any tips for learning or favourite resource to learn data science? I'm being consistent with Kaggle and so far it has really done a lot. I've read a few pages of An Introduction to Statistical Learning in Python but not consistent with that. I plan to familiarize myself with basic concepts on data visualizations and cleaning for now. I did the intro to ML from Kaggle Learn, which was super interesting and beginner-friendly.
I find that working on projects as I learn makes it easier for me to learn. Project suggestions would be greatly appreciated. I am however, thinking of applying data science to my current work project, which is an inventory-order system. But not yet sure how, or if it's even applicable. There's a an analytics side to the admin dashboard. I was hoping to give client useful insights on sales, stocking etc. and if it matters, I've done some web scraping in the past too.
Hi i need help with web development. Anyone i can dm with CSS?
whats wrong?
u can post the question here
Can u help fix the background and container element under gallery.html? it's supposed to be responsive and centralized but it's in the top left corner most of the time.
https://github.com/anderrated/My-Website-Portfolio-2024/tree/main/Andrea Portfolio
yea let me check
hullo! do you still need someone to take a look?
one thing that annoys me is the disparity between the indents of the bullet points xD
can someone help with my back-end project?
Hey folks! I am facing an issue in VS pro, I uninstalled an older version of windows sdk and now whenever I build my project it gives the missing sdk error(ofc)
Now the issue is I reinstalled vs, added the sdk and i am still facing the issue, I cant retarget my solution as it does not exist anymore in VS 2022 17.6.2. Anyone knows how to solve this issue?
The specific error in conosle is "msb8036: the windows sdk version 10.0.22000.0 was not found".
What kind of help?
thanks for responding, but i didnotunderstand what you said , maybe its becoz i removed educaitona inplace of 'x' there was clg/schl name
like, the 3 crosses are not on the same indentation level, e.g.
x
x
x
also whyd u randomly switch from bullet points to crosses
Those are not crosses those are the letter x instead if clg/schl name
ahh right u censored them nvm sorry bout that
hi! does anyone have any book recommendations for someone who's starting to learn assembly?
assuming u wanna learn a CISC architecture(intel/amd)
Assuming ur patient and starting from 0, I've a collection of Randall Hyde books that imo are pretty awesome (not that I read them all)
- Randall Hyde - Understanding the machine (read first 10 chapters - skipt to chapters 7,9,10 if u know the numeric+character representations+binary bit operations )
2. Randall Hyde - Thinking Low-Level(related but has more than just assembly) - Randall Hyde - The Art of 64-Bit Assembly
- for (32-bit assembly) Assembly Language for x86 Processors 7th Edition
You don't need to read the whole books tho... Just what u need, i didn't read 3/4. and didn't finish the first ones entirely
I mentioned them in case u wanna go deep or have a reference or something.. College material for me was rly easy i didn't need to study that much for assembly
thank you so much!
i'm taking an assembly class next semester and i've been told that you either love assembly or you hate it. so i wanted to learn a bit about the language and learn some basic concepts, to see if it's relatively easy to learn or not
personally, I've loved all the hardware-related courses I've taken, so I'm looking forward to this one :D
Nah, don't listen to that shi, XD. If I knew then what I know now, i'd have paid more attention + learnt more about assembly even than required.
It's rly rly interesting, coding low level, but on top of that, if u get into reverse engineering, which is a really interesting field, assembly is 100% required
what do you mean bro u mean mock dataset or something like that?
Mocking is a process used in unit testing when the unit being tested has external dependencies.
Oh ok
there is no way u can love assembly lmfao its a pain in the ass, ive had to do raw assembly stuff a few times when i was cracking some paid minecraft hack clients, and boy is it rough
but at the same time we need a new denuvo cracker RAAAA
If other people have the same question:
- Testing Interactions: Mocking is beneficial when you want to test how your code interacts with external systems without causing real-world side effects.
- Isolation from Third-Party Services: Mocks help isolate your tests from the behavior of third-party services, ensuring that your tests remain stable and consistent regardless of external changes.
hey, i'm trying to stay positive about it xD
I've heard a lot of good things about it, but also a lot of bad things, so I'm going to face assembly without a formed opinion
good plan
bruh u were using assembly language ? damn
Friends can you all suggest me a trusted website for importing e-ink phones to India.If so then it will help me a lot
So, one thing that's important is to set up ur environment to learn
Every time u wanna do something and u haven't set up ur environment yet, u'd be lazy to start practicing
As u learn u'll see u wanna see how ur code affects the registers and the stack etc, so set ur environment asap so u leave that behind u
Good luck
I used this website to practice ARM assembly. https://cpulator.01xz.net/?sys=arm
But it's more RISC than CISC(It's RISC 😹)... If u could look up something similar to it, u could practice online when u feel lazy 😄
This CPUlator's ARMv7 simulator mode. CPUlator is a full-system simulator for Nios II, ARMv7, and MIPS CPUs that runs in a web browser. The ARMv7 (Cortex-A9) simulation includes I/O devices and interrupt support based on the Altera University Program's computer systems.
brings a lot of memories since I stopped being productive for very long time.. 
Friends can you all suggest me a trusted website for importing e-ink phones to India.If so then it will help me a lot
yeah just a little cracking auth
was mostly just removing conditionals and setting vars to always true
Yo
I have a friend who needs help with an assignment due in 4 hrs
Its about socket programming in java
java program that sends/receives udp packets and deals with both recursive and iterative dns resolution
if anyone thinks they can help within that time and get paid in return
Shout me
🙏
i had a course where we studied the whole cpu and how it works, so i feel like assembly will help me deepen my knowledge even more
I find it fascinating to understand how computers work
thank youu! :D
i mean, it's never too late ahahah
what are you studying now?
anyone in cs? can i ask a question about bubble sorting? i attaced a code with a doctest, it fails but i dont know why, i tried two different codes
Currently, nothing. XD. Going thru some personal stuff tho. So doing nothing related to CS atm just finishing my summer course then graduate hopefully this year. But to get myself and mindset back, I'm re reading Part 2 of Deep Work by Cal Newport
My summer course is just maths
So this is the pseudo code to bubblesort, I had to go through this again cuz i havent done it with python in my class it was C
Then I did that algo in python
def bubble(L):
for i in range(1,len(L)):
for j in range(len(L)-1,i-1,-1):
if L[j] < L[j-1]:
L[j],L[j-1] = L[j-1],L[j]
print(L)
bubble([3,5,1,9,2,10])
bubble([10,2,9,1,5,3])
And it works
And from what I saw ur doing it from the start of the array, and this book does it from the end of the array, and when I tried to do it, it only worked when i subtracted i from len(L)-1
def bubble(L):
for i in range(len(L)):
for j in range(i-1,len(L)-i-1):
if L[j] > L[j+1]:
L[j],L[j+1] = L[j+1],L[j]
print(L)
bubble([3,5,1,9,2,10])
But tbh I dont understand ur code, like why u always swap the second element in this line
L[1],L[i+1] = L[i+1],L[i]
Yeah. Replace that line with
L[i],L[i+1] = L[i+1],L[i]
def bubble(L):
Length = len(L)-1
sorted = False
while not sorted:
sorted = True
for i in range(0,Length):
if L[i]>L[i+1]:
sorted = False
L[i],L[i+1] = L[i+1],L[i]
print(L)
bubble([3,5,1,9,2,10])
all right then. wishing you all the best :)
maths is awesome tho, i love calculus courses
Any of you built a an electric guitar breadboard amplifier before
I think it s the same
you just have to be careful about
the positions of your counters
i mean i and j
if they dont surpass the limit of the array
i only did that on C
I heard that in python you can t decide wheter or not you increment
it s autonatically incremented
maybe it comes from that
if you re in cs
you will never stop doing maths
especially know in 2024
especially know with Ai and all the hype that comes with it
bro I have taken admission in a course called B.Tech in AI&DS. It's not CSE specialization. It is a branch in itself. Is it good? does it have a future?
does anyone know how to create numbered subheadings in Word?
Like.
-
Introduction
1.1. List of abbreviations
1.2. Mass spectrometry
1.2.1 Ionization -
Method
2.1. Materials and solutions
etc
figured it out
Do you guys fw the design, the 2 background images are actually gifs :
hello guys, i wonder how kind of website is this called, because i want to build a website look like this, but i don't know what kind of technologies it used to build something like this
u can try making this using any dnd lib, and set some random position for each elements
I want to buy wired ear-in headphones with mic. My budget is +-$20. I stopped between SONY MDR-XB55AP and Apple Ear Pods. I want to use them for everything, gaming, listening music, communicating. As well, I want to use mic. Can somebody tell me what is better from this two, or propose own model as well.
does anyone know how to put a forest (the study app) widget into a notion page to start a timer or if its possible?
i dont think if forest provides any embedded link to attach on ur notion,
any alternatives to forest (app/web blocking etc) that do?
maybe
Pomodone does, u can check
k ty
You can use the Forest Web Clipper browser extension to start a timer from any webpage, including Notion pages. Just click the Forest icon in your browser, select "Start Focusing," and a new Forest session will begin or You can try embedding the Forest website into a Notion page using an iframe block. However, this might not work seamlessly, and the timer might not start automatically or Use a third-party service: Services like Zapier or Integromat can help you connect Forest with Notion using custom integrations. For example, you can create a Zap that starts a Forest timer whenever you create a new page or task in Notion
Unfortunately, Forest doesn't have an official widget for Notion yet but above are a few suggestions!
Guys I do not understand anything on how to use Org Mode with emacs and syncthing
I need some serious help so my semester goes smoothly
- Org Mode is a note-taking and project management system within Emacs. It allows you to create documents with headings lists and tags .
- Make sure you have Emacs installed on your system.
- Open Emacs and type
M-x package-install RET orgto install Org Mode. - Create a new file with a
.orgextension, e.g.,my-notes.org. - Start creating your notes and to-do lists using Org Mode's syntax.
Headings: * Heading, ** Subheading, *** Subsubheading
- Lists:
- Item 1,- Item 2,- Item 3 - Tags:
[tag1],[tag2] - Links:
[[link]]
Syncthing is a file synchronization tool that allows you to sync files across multiple devices.
To use Org Mode with Syncthing, create a new directory for your Org files and add it to Syncthing's synchronization folder.
Make sure you have the same .org file on all devices, and Syncthing will keep them in sync.
Use a consistent naming convention for your Org files.Keep your Org files in a centralized location, like ~/org/.
Use tags and links to cross-reference your notes and keep them organized.
Read the official Org Mode documentation to learn more about its features and syntax. Explore Emacs's built-in help system (C-h or M-x help) for more information on Org Mode.Experiment with different Org Mode features, like tables, code blocks, and agendas.
using the inspect element and just observe the css and styling
Do you guys think this is a good deal for its specs (mech eng student, need to run SOLIDWORKS, Ansys - part of SAE team)? Will it last me the next 3 years? Worth the price type beat? Also, I think the RAM is upgradeable?
The ThinkPad P15v Gen 3 mobile workstation is built for creators who demand value—but still want ISV-certification, Intel® processing and up to NVIDIA® RTX™ graphics.
@acoustic bear also there is this one extension u can download and u can just download the whole website, one second let me send the link
this one is like a exe
https://www.youtube.com/watch?v=GWlcpRMWM2E
this one is an extention (ive used this one the most works most of the time but sometimes some stuff wont download)
https://www.youtube.com/watch?v=DkLKaFk8sfY&t=41s
This video will show you how to download whole website using HTTrack Website Copier. After that, you can browse website anywhere, anytime offline without any internet connection.
How to Download website for offline use
Download entire website for offline reading
How to download full website and browse offline
How to download full website to offl...
How to Download Source Code of Any Website || Download Source Code(HTML, CSS, JS etc) from Website
After watching this video, You will get to know how you can download the codes (html, css, js, img etc) used of a website. Firstly you need to add a extension to your chrome browser or whatever browser you use. Then you can download source code fr...
hi is there anyone i can dm for creating a database for my discord bot. i really need help
If you've used vim you can make it more vim like with evil mode or switching to something like spacemacs
I don't think this helps if you haven't learned the basics of vim though
Try mongodb, u will get a ton of vids on YouTube on how to get the connection string, and how to connect it to ur nodejs app( assuming u r using discord.js to create the bot )
And if u still face any problem then u can post here..
im using nextcord
Ow python, ig that too doesn't make a difference, u can still find a ton of vids on how to connect mongodb to it,
programming and scoliosis
i give up on coding so easily and need longer breaks than a normal person would bc of backpain. any advice u can give to my disability?
yea..
- buy a better chair
- set small goals for each day and be true to urself,
- maybe find a study partner in ur clg who is serious with studies, of same interest ofc, so u can track ur progress together
- lastly dont give up, see James vid on how Is he able to study for so long
what is the use of applying linear activation function for regression model if it's not creating any non linearity in the model?
thank u for listing it out for me
good luck bobo ✨
for preserving the continuity of the output and ensuring compatibility with common loss functions.
ok
For the chair one, if you get lucky you can get something like a herman miller for a much lower price than retail
There may also be exercises you can do that help with scoliosis, kind of like physical therapy, but I don't know what they would be
Bobo means stupid in my native language
um, runs
tysm ill look into it!!!
Lol
Wow
I really didn't know this
Whoever hacked u, ty for this tip
so basically [steamcommunity.com/gift-card/pay/50](https://google.com )
can make a link look like something
But point it to another domain
Nice
Nah , but idgaf rly..
Tbh if i was mod, i'd ty for the tip before i ban you
Made me look like as if i was talking alone by deleting his messages -.-
If you're familiar with markdown, that's what this is
You can also use it for bold, italics, and a bunch of other stuff
who got hacked ?
Nobody 😹 "ops sorry I got hacked" cuz he posted scam link
can't believe that shi* can u : D
Ohh ok
anythin can be possible
is notion worth learning
How should I pronounce VARCHAR in sql?
Is it something like 'var-kar' [car] or 'var-chaar' [chart]
Doesn't really matter as long as you're consistent with how you pronounce char on its own
You can find people that pronounce it in either of the ways you said
hii does anyone know where i can find CompTIA security+ free study materials? any source would be really helpful🫶
messer, exampremium, examcompass, cybersecurity comptia app
gym and a better chair if you dont have one
that fixed it for me
they can also try yoga which might be helpfull if they only have mild scoliosis
Thanksss🫶
does the inkpalm plus have a microsd card slot, and does anyone know if using a usb-c dac with the inkpalm plus and iems works well?
also, could anyone recommend a dac to use with simgot em6l iems
i think any kind of physical effort can help
Yeah u right but in severe cases only surgery is the solution
I got the BOOX nova air and the pen it comes with is shit. Anyone know a solid alternative I can buy?
YouTube Professor Messer Security+ he has free study material for a lot of CompTIA material.
you might be cooked on this one
Does anyone know any discord channel for
Tech internships in india
?
Ik few telegram channels
lowkey love putting myself in torturee
better search at linkedin , have also seen a lot in india
try instahyre , indeed ,wellfound also
Hullo, anyone here working on an IoT - ML project or thesis?
Can someone please help with this Google storage problem like I can't understand anything I have deleted the useless emails but photos what to do about them
Create some more google accounts and upload some of the pictures from ur main account
How to transfer all the photos and videos?
U will have to download them and then re-upload it
Or u can simply change the Google account where ur photos are being back up
I'll try
ok
Has the US layoffs hurt indias tech scene or has it always been hard to get a tech job there?
anyone know the keycaps that Eric is using in the latest video?
my new planner!!! https://mirzakhani.io/products/zen-planner-undated
blackberry key2: https://amzn.to/46XDxe3
w/ this screen protector https://amzn.to/4dtPbji
think outside keyboard: https://amzn.to/3SOtana
boox palma: https://amzn.to/3YUWprY
hisense touch screen protector: https://amzn.to/3SP0Ros
gpd pocket 1
chuwi minibook x https://amzn.to/3...
or some that are similar
why all the functions are disabled 🥲
i always use the web version but as i have to make a assignment which is DUE IN 2 DAYS I HAD TO INSTALL MYSQL AND IDK WHY ALL THE FUNCTIONS ARE DISABLED😭
i saw a tutorial on yt and resolved the issue😭
Oh that's great to know
no problem
I mostly use intellij ide for development and it has inbuilt tool for sql or nosql
i see. I will take a note of it, i just installed cuz i have to make mysql-python interface related assignment
or else my most of the work can be done by web version. I will take ur advice into account✨
( i have no idea what that is😭 )
it is just an ide used for java and spring boot
ide stands for Integrated development environment, roughly, you can think it as a notepad but with A LOT of stuff that will make coding easy. For example having a inbuilt sql tool so you don't have to start a new sql window nor need to change windows everytime you need to do something in the database
I have a question. I have a size of 30k rows and 15 cols dataset for my ml project for uni. Everything is going perfect with the code, but as soon as I create some correlation matrices or feature maps etc. my computer slows so much even I cannot even execute cells below (ps also did 1hencoding to data, probably setsize grew even larger for commparison plots). What can I do to solve this issue? I have an high end pc, which kinda makes me frustrated
what i would do would be try to figure out what is causing the slow, is the cpu going crazy? am i out of memory?
stuff like that
and if you are not doing to much and still your cpu/memory is going crazy, probably is there some kinda of bug in your code that is doing stuff that it shouldn't
i see. Thank you for sharing ur knowledge
dyamnnn!! Thanks for elaborating!! I will surely try this in near future
basically you are trying to use a library that i do not have
you can resolve it with
python -m pip install <module>
in your case
python -m pip install mysql
pip will manage to put in the right spot for you, then when you try to use it in your python code, python interpreter will find the code from the functions inside that module
i-
i didn't quite get it😭
OKIEEEEEEEEEE GOT IT!!!
no i didn't
i am assuming that i have to run it in cmd?
yeah you have
DONT JUDGE ME😭
that's ok don't worry
idk i am justttttt embarrassed😭 i am getting 2nd hand embarressment for myself
you're fine that's normal, dont be embarrassed
did you understand why you needed the pip install?
i-
i d-
i dont know whats pip👉 👈
😭
same name?
that's weird
try close the window and open again
and run again, maybe that fix some path issues
i am in highschool, dont judge me🥺
WAIT
sureeee!!!
try pip install mysql-connector-python instead
pip install -m mysql-connector-python
okieeee
you fine boy dont worry i got u
denkuuuu!!
sorry i mistype the command
you need the python at beggining
python -m pip install mysql-connector-python
okieeee
IT WORKEDDDDDDDDDDDDDDDDDDDDD!!!!!!!!!!!!!!!!!!!!!!!!!!
THANKKKKKK YOUUUUUUUUUUUUUUUUUUUUUUU!!!!!!!!!!!!!
🫂 🫂 🫂 🫂 🫂 🫂 🫂 🫂
let me know if you have other questions
THANK YOU FOR HELPING ME😭
did you understand what "import" in python do?
where did we use import🥹
well at the top of your python.py file you have the line
import mysql.connector as sql
yessss ik that part
so what do you python will try to do when read that?
to establish interface between python and mysql we need the connector
it will import the connector from module
so that we can use python and mysql together for any database
yep got it
okieeeee!!
thank you for ur help, it means a lot to me
🥺
🫂
i had two months to do this project but decided to do in the last minute😭
you re welcome
i am sorry for disturbing again (resolved the issue)
sureee!!
thank you so much for ur time and effort🥺
maybe i take some time to answer but other ppl will defintely help you out as well
its alll goood!!🫂
I am using python-mysql interface, which takes the input from user and stores it in mysql database. But for somereason the new values are not showing in the database.
any tsx pro here. i have a passing problem not sure why
am i too late?
can you send the code here?
i went to sleep as well, isokieee
import mysql.connector as sql
# Create connection
con = sql.connect(host="localhost", user="root", passwd="12345", database="criminal_database")
cursor = con.cursor()
# Choose an action
while True:
action = int(input("Choose an action: \n1. View Criminal Records \n2. Add Criminal Records \n3. Update Criminal Records \n4. Delete Criminal Records \n5. Exit \n Which action would you like (1, 2, 3, 4,5)? "))
if action == 1:
query1 = "SELECT * FROM records"
cursor.execute(query1)
data1 = cursor.fetchall()
for i in data1:
print(i)
see = int(input("you want to see more? 1(Yes)/0(No) : "))
if see != 1:
print("\n\n*** You have successfully exited the database! ***")
break
elif action == 2:
CRIMINAL_ID = int(input("Enter the criminal id: "))
CRIMINAL_NAME = input("Enter the criminal name: ")
CRIME = input("Enter the crime: ")
STATUS = input("Enter the status: ")
query2 = "INSERT INTO records (CRIMINAL_ID, CRIMINAL_NAME, CRIME, STATUS) VALUES (%s, %s, %s, %s)"
cursor.execute(query2, (CRIMINAL_ID, CRIMINAL_NAME, CRIME, STATUS))
con.commit()
query1 = "SELECT * FROM records"
cursor.execute(query1)
data1 = cursor.fetchall()
for i in data1:
print(i)
see = input("you want to see more? 1(Yes)/0(No) : ")
if see != 1:
print("\n\n*** You have successfully exited the database!***")
break
elif action == 3:
STATUS = input("Enter the new status: ")
CRIMINAL_ID = input("Enter the criminal id you want to update: ")
query3 = "UPDATE records SET STATUS = %s WHERE CRIMINAL_ID = %s"
cursor.execute(query3, (STATUS, CRIMINAL_ID))
con.commit()
query1 = "SELECT * FROM records"
cursor.execute(query1)
data1 = cursor.fetchall()
for i in data1:
print(i)
see = input("you want to see more? 1(Yes)/0(No) : ")
if see != 1:
print("\n\n*** You have successfully exited the database! ***")
break
elif action == 4:
CRIMINAL_ID = input("Enter the criminal id you want to delete: ")
query4 = "DELETE FROM records WHERE CRIMINAL_ID = %s"
cursor.execute(query4, (CRIMINAL_ID,))
con.commit()
query1 = "SELECT * FROM records"
cursor.execute(query1)
data1 = cursor.fetchall()
for i in data1:
print(i)
see = input("you want to see more? 1(Yes)/0(No) : ")
if see != 1:
print("\n\n*** You have successfully exited the database! ***")
break
elif action == 5:
print("\n\n*** You have successfully exited the database! ***")
break
else:
print("Invalid choice. Please select 1, 2, 3, or 4.")
# Close the cursor and connection
cursor.close()
con.close()```
any tsx pro here please @ me
CREATE DATABASE CRIMINAL_DATABASE;
SHOW DATABASES;
use criminal_database;
CREATE TABLE RECORDS
( CRIMINAL_ID integer PRIMARY KEY,
CRIMINAL_NAME VARCHAR(20) NOT NULL,
CRIME varchar(20)NOT NULL ,
STATUS VARCHAR(20) DEFAULT "NOT FOUNDED");
desc records;
INSERT INTO RECORDS VALUES (1, 'PABLO ESCOBAR' , 'RUNS A DRUG CARTEL', 'DEAD');
INSERT INTO RECORDS VALUES (2, 'ARNOLDO GIMINEZ' , 'SERIAL KILLER', 'WARRENT ISSUED');
select * from records;
This is mysql code
did you already create the table "records"?
i see
yesss
let me tryyy
okok
ITSSSSSS WORKINGGGGGGGG😭
DUDEEEEE
THIS WAS COMING OVER HERE BUT IT WASN'T SHOWING IN DATABASE
AND U KNOW WHAT😭
I DIDN'T EVEN SELECT THE DATABASE TO USE😭 THAT'S WHY
its workingggggg!!!!!🥺 🫂
my project is completeddddd🫂
Thank you soooo much for ur effort and timeeee!!!🥺
it's all on you, you got it working alone
good job
noo, you helped me tooo🥺 I am grateful for ur kind gesture🫶
denkuuuuu!!!🫂
I completely agree on the chair part. I asked for one of those Aeron chairs at work and sitting just feels so good now. Maybe get a standing desk? I don't know much about scoliosis admittedly
any tsx pro here please @ me
Hello guys, I'm a computer student in Brazil. In my college we didn't go too deep with the codes focused on Front-end and Back-end. I currently only have the knowledge of CSS, HTML and JS. I feel lost for the next step, what should I learn to get close to the job market?
u can either learn react in frontend or golang in backend
thanks
i'd say do exercises to strengthen your back muscles + core like deadlift and whatever else you find. depends on if your doc thinks youre safe enough to lift weights like that
whats a good word processor to use on android with a keyboard besides google docs? I want it to be pretty distraction free and not have too many features except important things like auto save.
I have been using Obsidian for a while now. It uses markdown files and I am using Google Drive to save them. There is a plugin that makes the auto-save for me and I can access my notes easily on any device.
It has a very clean setup, you just add the features (plugins) that makes sense for you later.
guys i brought a thickpad t60. any tips i could use to upgrade??
Thanks, I'll try it out. That does sound very minimal
solid choice
for the calculations and the test splits, performing well. but when I want to create plots for them or graphs etc. something visual, cpu goes crazy, like 100% usage with 95-96 degrees. I'll try to simplify plot creations with much less variables, if it still occurs then maybe I need to check for some bugs in it
Thanks for the answer tho
i'm not sure but cpus have some limitations and thats why we have gpus, visual stuff are one of them, i guess. stuff that you are trying to do probably needs to be done in gpus maybe?
not sure how you can doo it though
but quite interesting problem, if you dont mind to specify more like what applications are you using and stuff like that, maybe i can help a little more
I'm assuming you're using pandas. Panda's corr is really slow because it considers NANs. If you don't have any NANs, consider numpy.corrcoef? numpy tends to be faster than pandas when doing vector calculations specifically.
if you dont mind, can u explain a little more? what does nans means in that case? not a number?
Yeah my understanding is vague , but from what I learned at work, if you have a bunch of missing data (NaNs/not a number) then for some reason there's extra processing that goes on in pandas built-in vector math operations. So I've been told to use numpy for actual processing and pandas for data cleaning/construction.
Tbf it's been forever since I've done any pandas or numpy. So take what I say with a grain of salt.
Also it sounds like their problem is more related to graphing so it's likely that my first recommendation wouldn't make much of a difference. Unless I'm misunderstanding.
I do, yes. I have around 4.5k NaN s. I'll check on the link, could be useful. Very much thanks !
But yeah as you mentioned here, pandas works pretty much okay, with normal runtimes for the calculations, my problem is circling around the graphing.
guys i have any exam tomorrow for data analyst role, so how do i prepare or any guidance
I need good resources to learn about sequential logic circuits
please come back when you find out a solution
hi everyone, has anyone here made something with raspberry pi 5, need to confirm something about the default behaviour of it of this model specifically. [Raspberry pi 5 with RpiOs]. Thanks in advance.
Does anyone know any budget sub 250 dollar phones with physical keyboards that are good for e-reading either PDFs but mostly epubs
What do you wanna confirm?
i want to run the pi 5 headless remotely, the documentation wasn't very clear about the power button. Does it require a button press every time you want to start it or can it automatically boot up on detecting usb power like pi 4. Thanks!
The automatic boot up on detecting usb power feature is not available on the Raspberry Pi 5 but...you can use a workaround by connecting the device to a power source and using a script to restart the device when it's powered on
Anyone here done gpu passthrough on linux? If so, do you have some guides/videos I can follow?
I think I have a rough idea as of how to do it, but Im scared to break stuff lol
cheers, thanks!
I am looking to buy a thinkpad which i can modify i have seen people recommend T480 and i have seen james use the x61 hk and a custom one x2100 so what do i do i want something which is more powerfull than my macbook air from 2015 and i want to hackintosh it and run linux on it any websites were i can get them for cheap
i live in India so us related websites mostly don't offer here i think
i don't know much about thinkpads but as soon as i get one i am gonna get it cleaned profesionally and then upgrade it
I have 20-30 CPU usage and 30-40 GPU usage on my Laptop ASUS TUF Gaming A15 FA506QM(AMD Ryzen 7 5800H+RTX 3060+16 GB ram); installed ARMOURY CRATE and NVIDIA, AMD GPU drivers. Does somebody have a clue what is wrong?
with what?
Is this in idle?
in games
What exactly is the issue?
When I play games, CPU usage is 20–30% and GPU usage is 30–40%. It is about Deadlock; a long time ago, the same situation was with Witcher 3, but CPU usage was 40–50% and fps was 40–50 on super low settings.
The usage seems fine tho, especially for a laptop
However, kinda weird that you're only getting 40-50fps, giving your specs
check if you have overheating issue
Does anybody have suggestion on, what would be a good thinkpad model if I want to use it for light-weight portability, note taking, and generally messing around with linux distros? (Even better if I can add or have multiple ssd in it for dual booting)
Also, other than the specs, what would be the difference in a thinkpad and a minibook (like the ones in James' latest video)?
linux works on almost any thinkpad, especially the older. U might want to watch out for BSD compatability if thats interessting for u. Dualboot also doesnt require a second sdd and its probably hard to find a thinkpad which supports that, especially on the light-weight side.
I recently got a refurbished x390 with 16gb ram(not extandable) for 400€ and im pretty happy with it. I havent tried too many desktop environments on it, but KDE on opensuse tumbleweed came with all function keys working and i havent experienced any big difficulties hardware-wise when using it as daily driver with voidlinux for some months.
edit: noticed it was 16 gb instead of 8
ohh i see, thanks
amd cpu might be interessting as linux kernel is better optimized for it. x395 has an amd version i think
ohhh
Yeah, I definitely recommend amd cpu and honestly for sure an AMD gpu as NVIDIA can sometimes be a pain on Linux.
AMD has stuff built in the linux kernel and generally works better out of the box than NVIDIA does :)
Does anyone here have some recommendations for a good headset? Mainly for playing games and enjoying music.
Im looking at like a budget of idk around 100 euros I guess?
Honestly I would go with any good model that fits your personal requirements from good brands such as Sony and Bose.
class So
public static void main(String args[])
{
String s="Hello, world";
for(int i=0;i<s.lenght;i++)
{
System.out.println(s[i]);
System.out.print(s[i]+" ");
}
}
the above program is a java program
can someone help me with it's error
u can't treat a string as an array in java
you have to change s[i] -> s.charAt(i)
also the length spelling is wrong and it would be like this s.length() as it is a function call
You could also use s.toCharArray()
extra space!!🦉 , cuz u will have to store it in a char array.
dont know much about low level but i assume charAt also uses a char array or something
but but, it doesnt take extra space,
just looked it up. it uses a bytearray
public static char charAt(byte[] value, int index) {
return (char) (value[index] & 255);
}
where value is already defined
yea, String already has its internal char array, so charAt function just uses this to get the character without taking extra space
thanks brother
i do not think Strings in java can be used straight as a array of char
Anyone here could help me with a html and css problem? I'm a beginner and I'm struggling with this error for about 2 days...
Sure
can I send you a dm?
Can you just post it here?
Ok
but when I open the menu, the links are messy and the menu bar stops in the middle of the nav section
look
First off your lorem ipsum and Bryant header thing should probably stay in the same div and be to the left of the menu so it expands correctly
Can you send a before/after of you opening the menu?
Might be helpful to share the code too if you're open to it.
Yeah the code would be useful, honestly I should have asked for that first lol
ok, i'll send
here's the html:
<header>
<nav id="navbar">
<img src="/images/logo.png" alt="Bryant Ecom" id="logo">
<ul id="nav-list">
<li class="nav-item active"><a href="link1.html">Link 1</a></li>
<li class="nav-item"><a href="link2.html">Link 2</a></li>
<li class="nav-item"><a href="link3.html">Link 3</a></li>
<li class="nav-item"><a href="link4.html">Link 4</a></li>
<li class="nav-item"><a href="link5.html">Link 5</a></li>
<li class="nav-item"><a href="link6.html">Link 6</a></li>
</ul>
<ul class="btns">
<li><a href="javascript:void(0)" class="nav-btn">Login</a></li>
<li><a href="javascript:void(0)" class="nav-btn">Contato</a></li>
</ul>
<button id="mobile-btn" aria-label="Toggle Navigation">
<i class="fa-solid fa-bars"></i>
</button>
<div id="mobile-menu">
<ul id="mobile-nav-list">
<li class="nav-item"><a href="link1.html">Link 1</a></li>
<li class="nav-item"><a href="link2.html">Link 2</a></li>
<li class="nav-item"><a href="link3.html">Link 3</a></li>
<li class="nav-item"><a href="link4.html">Link 4</a></li>
<li class="nav-item"><a href="link5.html">Link 5</a></li>
<li class="nav-item"><a href="link6.html">Link 6</a></li>
</ul>
<ul class="btns">
<a href="javascript:void(0)" class="nav-btn">Login</a>
<a href="javascript:void(0)" class="nav-btn">Contato</a>
</ul>
</div>
</nav>
</header>
css:
#logo {
height: var(--logo);
cursor: pointer;
}
/* header + navbar */
header {
width: 100%; /* ocupa toda a largura da tela /
padding: 28px 8%; / responsividade */
}
#navbar {
width: 100%;
display: flex; /* um elemento ao lado do outro */
align-items: center;
justify-content: space-between;
}
li {
list-style: none;
}
#nav-list {
display: flex;
list-style: none;
gap: 60px;
}
.nav-item a {
text-decoration: none;
color: var(--cor-secundaria);
font: var(--p);
font-weight: var(--fw);
}
.nav-item.active a {
color: var(--cor-principal);
border-bottom: 3px solid var(--cor-principal);
}
/* botões personalizados /
.btns { / essa class altera o espaçamento apenas entre os dois botões */
display: flex;
gap: 10px;
list-style: none;
}
.nav-btn {
text-decoration: none;
display: flex;
align-items: center;
justify-content: center;
border-radius: 20px;
padding: 10px 15px;
font-weight: var(--fw);
color: var(--cor-adicional);
background-color: var(--cor-principal);
transition: background-color .3s ease;
box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.nav-btn:hover {
background-color: #468ce2;
}
/* menu mobile */
#mobile-btn {
display: none;
}
#mobile-menu {
display: none;
}
@media screen and (max-width: 1170px) {
#nav-list,
#navbar .btns{
display: none;
gap: 10px;
}
#mobile-btn{
display: block;
border: none;
background-color: transparent;
font-size: 1.5rem;
cursor: pointer;
}
#mobile-menu.active {
display: block;
}
#mobile-nav-list {
display: flex;
flex-direction: column;
gap: 12px;
margin: 12px 0px;
}
#mobile-nav-list {
list-style: none;
text-align: center;
}
}* {
font-family: var(--ff);
margin: 0;
padding: 0;
box-sizing: border-box;
}
Thanks, I'll try running this locally
okay, thank you
And how exactly are you linking the css file to your html file? It seems to be missing a style link
Are you sure you sent the full html?
Also, consider looking into the Code Blocks section of this Discord guide
https://support.discord.com/hc/en-us/articles/210298617-Markdown-Text-101-Chat-Formatting-Bold-Italic-Underline
It would make your code more readable
with the link rel tag, i didn't sent the entire code, just the section related to the menu
Can you please send the whole html file in case there's something important I'm missing on my end? I want to recreate exactly what's going on with your code or else I can't be sure that my solution is actually what works
My only guess is that perhaps the #navbar width shouldn't be 100%. Other than that maybe there's an issue with the display attribute, or the align-items. Can't be sure about that until I can recreate this exactly.
You can use ```code here``` on each end of your code so it formats better on discord 🙂
console.log('like this!'); ```
if you are a day trader or you wanna learn dm
it would have been much better that he shared the file instead of the code
It’s no biggie. Just letting him know for future reference
Ohh ok
okay, i'll send in file format bc it's too long
Has anyone here used the DT 770 Pro headphones? If so, how were they for you, do you recommend any other headphones?
Im trying to buy some new ones because mine are broken atm
few days ago i tried Xfce and LXQt desktop environments, lxqt rly cute and simplistic , but now using KDE, been using Gnome up until few days ago
😄
i am just waiting for the Cosmic DE
I didn't know about this one and i'm sure there are a lot others that idk about
I wonder if there are others minimalistic, lightweight and basic like lxqt I wanna try them out
check this out 😹
Found out there's a list of all DEs https://eylenburg.github.io/de_comparison.htm
Comparison of Linux and Unix Desktop Environments
did you figure out what was wrong?
how to know the status of sensi bot is online or not in git lab
yes but somehow i cannot style the links inside the menu bar. they're all side by side, and i want it to be in column. i tried a lot of solutions but nothing worked
@spare swallow , you can style it further according to u
#mobile-menu.active {
display: block;
position: absolute;
top: 10px;
right: 10px;
background-color: red;
}
#navbar {
width: 100%;
display: flex; / um elemento ao lado do outro /
align-items: center;
justify-content: space-between;
position: relative;
width: 100%;
}```
i just made this change
KDE is awesome imo, Im currently using KDE as well, however I am wondering if I should try out some WMs like Awesome or Hyprland
I just checked them, lol I might as well do that too
Hyprland is probably the best wm when you're on Wayland, if you're on X11 I'd go with AwesomeWM personally
I've used them in virtual machines before and they're both quite nice imo
I believe hyprland has really nice documentation
Hyperland it is 😄
You can always try it out in a virtual machine or alongside your current DE, I believe
with the virtual machine being more isolated ofc :)
What distro are you using if I may ask?
I thought i said it in my message, I was using Gnome DE on fedora for about a year now
oh I see, I'm on the Fedora KDE spin atm
I'm working on my linux skills more atm because I want to move to arch
Arch is really nice
same, now that I use KDE
Yep, pacman is rly fast too
I've used arch before for a little bit, mostly in vms tho
but the AUR is awesome
I might eventually switch to Arch as well
I'm in the process : D
Honestly installing Arch has become really easy too, given that there is the archinstall script now
and distros like endeavour exist too
Have you watched James' latest video? I wonder what DE he's using on his GPD pocket 1
I guess maintaining arch is just a little time consuming
Lemme check rq
whats the timestamp?
kinda hard to see on my phone
but it looks like he's using a WM instead of a DE
the bar at the bottom looks like those typical bars people use with i3
I'm not sure tho, it's very hard to see on my phone lol
Yup can confirm it's i3wm
Found the dotfiles
so that's his exact config ig
Dude... nice! ❤️ haha
How did you spot the difference?
is it because the layout
I'm not really sure how to explain, but a lot of WMs have this signature look to them
imo they look more minimal than a DE
probably because they are
also, a WM is really just for managing windows like the name insists, it just idk makes it so windows are placed correctly however you want
I just recognized the i3 bar thingy tbh
There is a really nice subreddit with people that customize their systems (most of the time they use a WM) called r/unixp*rn
yep, the layout looks simple and minimal
they have a discord as well
Some of the showcases are incredible imo
Thanks : D i'm checking it rn, first post is i3wm
lol
and they usually share the dotfiles (config files) so you can try them out yourself as well
i3wm is really loved I believe because its pretty simple to configure
I dont know too much about WMs other than their existence tho
I know AwesomeWM has a lot of options (X11 only), Hyprland is pretty new but the best out there for Wayland, i3 is easy to configure and dwm is very very minimal
Each have their own issues and fixes ofc
I think you can run i3 along a DE like XFCE
I never thought i'd know what de or wm he's using... cuz idk all window managers, im pretty new to learning about DEs for arch
Yeah fair enough :)
essentially with WMs you set everything you your own, with DEs you have a lot of stuff ready for you
That's why WMs are often more minimal than DEs
Im currently studying this from linux book but havent finished the chapter yet :X
talking about wayland, x11 and window managers etc but its not comprehensive
but yay im rly glad to know this 😂
now ill feed my brain some r/unixp*rn to learn more about this
thanks : D
No problem! If you have any questions, feel free to ask
If you ever get into virtual machines etc, I might also be able to help with that
I'm writing a little guide on it atm, just a reminder for myself on how to do all of it lol
I wanna expand it and write some more guides etc eventually
maybe I'll try hyprland out and post my dotfiles on GitHub as well, as that's quite handy
Thank u! 😄
Write a C program, to find the root of a quadratic equation, ax^2 + bx + c = 0 (Using if and else statements, along with math.h).
Could someone please help me with this task?
#include <stdio.h>
#include <math.h>
int main() {
double a, b, c;
double discriminant, root1, root2;
printf("Enter coefficients a, b and c: ");
scanf("%lf %lf %lf", &a, &b, &c);
discriminant = b*b - 4*a*c;
if (discriminant > 0) {
root1 = (-b + sqrt(discriminant)) / (2*a);
root2 = (-b - sqrt(discriminant)) / (2*a);
printf("Root 1 = %.2lf and Root 2 = %.2lf\n", root1, root2);
}
else if (discriminant == 0) {
root1 = root2 = -b / (2*a);
printf("Root 1 = Root 2 = %.2lf\n", root1);
}
else {
double realPart = -b / (2*a);
double imagPart = sqrt(-discriminant) / (2*a);
printf("Root 1 = %.2lf + %.2lfi and Root 2 = %.2f - %.2fi\n", realPart, imagPart, realPart, imagPart);
}
return 0;
}
I appreciate your kindness, thanks alot
Anyone here used pywal? if so, hows your experience with it?
Does anybody who has used mermaid flowcharts know how to colour only a specific element? (I'm using it in obsidian)
Hey! I am stuck in windows machine issue. Yesterday it locked me out and asked for bitlocker recovery code which I got and entered but it was stuck in an endless loop of restarting and asking for code
Today I disabled the protection from a forum I found on Microsoft and now my computer won't start at all.
It keeps showing me crashing and gets restarted to land up on choose an option blue screen which has options like shut down, continue, troubleshoot.
Does anyone know what I should do next?
Hello I just got the Japanese deck but when I try to import it it says 500 invalid zip archive could not find central directory end
Hey, anyone know any tricks to make a machine learning model more accurate when you don't have a lot of data?
Data augmentation
- Keep training your model until it stabilizes (called grokking)
- transfer learning from pretrained models
- few shot learning
Or just don't use powerful models, just use very small hand made models
Ignore grokking if you aren't doing stuff with transformers
Cause you could do grokking without transformers but it's not needed
Can anyone help me I don’t know why I’m getting that error message
Error for what?
Refold Japanese Anki deck
I try to import it it says 500 invalid zip archive could not find central directory end
What's the file format
.apkg
"inaccessible boot device" means that im worst case your drive has failed
C drive which has your windows system
Check the anki forums, it may have an answer
If you have tried your best through online forums, you should talk with microsoft support and coordinate through call or chat.
and if that fails, get it checked from your local technician and if a drive has failed you'll have to replace it and reinstall windows
now honestly I think you can also go to those "advanced options" and reinstall windows from them
if you haven't tried it already
try that first
advanced options and then I think it's in troubleshoot
It says download failed when I try to download it on my phone
Reinstalling windows, would delete all my data, I need that data
it won't
it only reinstalls the files of the operating system
You can call microsoft support and they can guide you
I've done it before that's why I'm so sure of it
It is this "keep my files" option
Let me give this a whirl
yeah and if this doesn't work you'll have to get help
Should i go for cloud download or local reinstall?
I think I do have a recovery software in a thumb drive
Ohh
for that you'll have to do different
first try local
if not then try cloud
you can try the usb option before reset with the thumb drive I guess, idk what exactly you have on the thumb drive
Well, it's done now, either I get my PC back or I lose my job lol
lmao bro dw you can probably recover files from a technician even if it never starts
The last one seems a bit skeptical, will this remove all the programs installed later on?
yes I mean you will lose all apps but not the files releted to the apps
you will have to reinstall software but your file saves and stuff will be safe
for example you will have to reinstall photoshop but all your photoshop saves will be where you have them saved
I figure that isn't much of an issue right? as any software you have installed later on can be reinstalled
My system is remotely managed by me company, if I restart it, I think the managing software will be pulled off as well. I need to talk to someone before actually pulling the plug
ah then yeah
honestly can't your company take the responsibility to fix it?
I was hoping this was an easy thing to fix. if it doesn't fix at all l, I can ask them to get me a new machine. Haven't told them yet lol
ohh ok
good evening
guys i need some advices related to Network
i m having this course this year but i have 0 ressource about that
Hey guys my teammates and I have been working on a project BrandSync an AI powered platform that connects influencers and businesses for seamless collaborations.
Our goal is to get 1000 users on our waitlist that's crazy so please help us out . Check out our landing page and sign up now https://brandsync-ai.vercel.app/
A quick overview about our project:
BrandSync lets influencers and businesses find perfect matches based on their niche and audience. Businesses/influences can explore influencers/businesses, view match percentages and send AI generated outreach emails everything you need for smarter partnerships.
Feel free to DM me if you'd like to know more about our product or share any suggestions
thanks but when i train my model using random forest it is getting p-value of 0.989798 but when i test on a different dataset the accuracy is 0.60 i manage to improve the accuracy upto 0.70 but its not good
It was alright. I had no issues with it but an automatically generated color palette is never as good as a human-made and im not switching wallpapers often.
Im thinking of trying wallust, its a lot more up-to-date and actually maintained, iirc
doesnt look bad as long as apps are well supported
Yeahh I believe they are
wallust can even read pywal colorschemes iirc
hey guys, I’ve seen a lot of websites their main page named as index.html, i wonder why is it like that?, could we name something else, but shown as a homepage too?
Tbh it's just a choice to leave the index.html
You can name it something else, but has to follow conventions so that web knows where to go and configure everything else to the main page
what wm do u use btw?
Yeah also keep in mind some platforms like cpanel look for the “index.html” as the main page . Eg, if I have 3 html files in my directory - about, services, index, it will know to use index as the first page when the URL is typed in
ngl dwm seems hard to set up
kinda but its rlly just patch -i patch.diff and then manually fixxing any honks
and many things thatd require long bash scripts on i3, just got a patch in dwm
what wm do u use?
currently not using a wm, im on plasma6 atm
im thinking of giving hyprland a try (but most likely getting rid of all the crazy animations)
Then itd just be sway wouldnt it?
fair enough lol
i like having like very slight animations, so Ill probably just reduce the animations in hyprland
sway does seem solid
what editor/ide do you use?
for the flex neovim lmao
Im thinking about learning (neo)vim but Im not sure if its worth it
but for java coding intellij
its just another rabbit hole
also u need multiple plugins to have simple features like text fuzzy search
what distro are you on atm?
voidlinux
dayumn okay
yup
not rlly
its arch but more stable and without AUR
and the documentation is outdated and sucks kinda
systemd and too unstable :/
i also still like voidlinux, archwiki still works and xbps(package manager) is fast asf
how about the amount of packages available on void?
how is it compared to idk, arch or fedora
no browser forks but its not bad
I use nix package manager for librewolf and for everything else theres a package
still much less than on arch or fedora
Im on fedora atm, but ngl, the aur is awesome
havent used it much
nixos seems like a pain to set up
overengineered bloatware
u need to learn the nix language, need to know how to package ur own stuff, need to know how to configure everything and all that only for reproducibility
Not worth for personal usage but package availability is crazy
yeah fair
i only use it with nix-env tho so i dont have all that weird configuration stuff
i think it is pretty possible to make arch more stable tho
just nix-env -iA nixpkgs.librewolf
oh right
and idk, I guess updating your system once a week
yea btrfs/zfs + grub for snapshots doesnt sound bad
using paru -Syu instead of paru -S
voidlinux has rlly nice features
heard it had some issues but i dont remember which
yeah fair
I mean, there is also OpenSUSE I guess
opensuse seems kinda awesome ngl
yea i tried it once
im too impatient for zypper
but its rlly nice for people who prefer guis i assume
I mean just run it in the background ig
now too late after I got comfortable with terminal
yeah, true
fedora is also nice
thatd make me forget it lol
also tried lol. also dnf too slow
dnf5 is faster
i might try it when voidlinux annoys me enough
what u using rn?
vscodium lmaoo
Free/Libre Open Source Software Binaries of VSCode
basically vscode without telemetry
used it too when i was on arch
if ur comfortable with the keybindings id just continue using that
vim does seem nice tho
needs much setup tho
i mean there is stuff like lazyvim
heard of it yea
but in the ends its just like vscode with vim keybindinds extension i think
yeah fair
its a lot more lightweight tho
the vim keybinds are not the worst
just takes a bit of getting used to ig
its nice that moving around is on the homerow
definetely better in the long run yea
i mean if ur bored id learn it
but its not rlly worth it i think
same
any good ressources to understand computer networks
speciffacly in Ipv4 unicast ,multicast , broadcast
Hello! I would request someone to teach / introduce me to ROS and CrewAI, I want to learn them for an assignment but the resources I watch are just enormous! and I keep getting confused on what I really need to learn to get started!
I need help, my laptop is low battery for days, and when it’s for me to use it, it shuts down and when I plugged in my charger it won’t work anymore. I test the charger and it is still working. I am using ASUS X515 so I don’t have removable battery, I already tried doing the long press. But I need help pls anyone
i installed a 8gb 2666 mt/s ram on my acer extensa laptop. the laptop has an integrated ram of 2666 mt/s. but after installing the ram the speed decreased to 2533 mt/s. i checked bios and found no options for xmp. is there any way i can run it on 2666 mhz
if you don't have xmp try setting the speed to the highest one possible some BIOS don't have xmp rather u have to do it manually. if u can't do that try updating your BIOS if there is no new update for it try single ram stick test if it shows 2666 MT/s then it means that they are not compatible with each other.
hope that helps
Deployment issue on Vercel routes not working example "/store" or "/love" or any other links but the "/" (homepage) is working on other page it show "404 page not found"
I tried adding vercel.json
I am currently in my college 1st Year.
We have python as programming language.
Can anyone suggest me a good book for a beginner to learn python?
Python Crash course - eric matthes
python programming - john zellle
(and watch youtube, learnpython. org etc). you might also like automatetheboringstuff. com
youtube / college slides best material
College course too slow, in 4 sessions of 1hr they have mamaged to reach upto if else statements and while loop...where my friend is teaching me lists and tuples and dictionary stuff...he asks me to search for a good book which will definitely suffice as additional theory and learning material as he too has to study
if u decide to go faster than college, be prepared to take on more things than college. If u go faster and wait for them to catch up it can be a problem that u wait.
instead u gotta see what to do next, so after studying fundamentals, classes, inheritance and oop concepts start looking for more things to do with python than basic programs
it should be fun and a bit stressful that ur the one choosing what to do next, not college
@fiery pendant
thank you🫶🏻
2022 year
It’s on discount for 85 usd, 16gb
Is it worth it?
With promo codes it’s 70usd
I’m on the fence tbh
what's the best laptop in the market currently around 500$
instead get something like the glowlight. It has android more apps to intsall and usb c and more storage than the kindle https://www.ebay.com/itm/156414345017?_skw=glowlight+4&itmmeta=01J83VYW8C3BX8WJ8RRWN78VTF&hash=item246b057f39:g:G4AAAOSwNhVm6lWm&itmprp=enc%3AAQAJAAAA0HoV3kP08IDx%2BKZ9MfhVJKkypELHt9P0xkecjZuAsP0YdE8SyblqU6EIBIjkX%2BBFbbV02N2tkxOH6uEPdtNWsKNz25CpIoYl5S%2FqwC%2BP%2Bmqw54%2BfJ5NwT1L2h4rb4wtq8crNqmS7kXwrwbBWeske0wlh7z138eCELsW4yYFdXrAJoHdKRHgdw4nBDBV86AnuhPKDdzg7wB4Qej%2BiHCdCw016Hb9CW3fY5p%2BauSBd6ubW%2FEV6HozysAi1EZlKJs2rntm%2BVQwE4HlR7fDqNkUXQN8%3D|tkp%3ABk9SR57E-_vAZA&edge=1
Not in the us
Shipping costs the same as the glowlight
the only requirement for me is to be able to import files to it, idc about android because it’s a reading device
This has usbc
if you are happy to buy from ebay
it has 32gb
I just recommend it because james recommended it in his vid
when on a budget , I am myself using a kindle 8gen
It’s my first e ink device so I’m not going to overpay
My intention is to pirate books instead of buying them or reading them on my iPad
that's what I do , personally if given the choice I would prefer the nook as with android you can install more readers which adds to better file support , I don't know about the newer kindles , but in my one (normal kindle 8gen )putting a book through email takes a lot of time, and when transferred through wire, for 50 % of the books I need to zoom in to read them
Out of three 1 will gave me a trouble
Guys I need help 🔴🔴
I want to buy a webcam but I’m really confused, Which one do you think is better?
-logetich c922 pro
-anker c200
if you are bored study with rn on youtube @https://www.youtube.com/watch?v=91Z0iVZG4t0 compsci student btw
Final year student
Studying Computer Science
This stream is created with #PRISMLiveStudio
I recommend CCNA Intro to Networks. It's available as a course on Netacad, but there's also amazing yt tutorials, look up Jeremy's IT lab
For me it was Automate the Boring Stuff with Python by Al Sweigart
aahh same with my college
I recommend you get a Thinkpad. They're affordable, reliable, and great for productvity
Cool
Wil ladd this to my study playlist
<@&942391219206647828>
tyy
@silk palm
Not tech help but yesterday I found this cool ass ethical hacking book on the library and i knew I had to take it home, the concepts might be a bit outdated since its 14 years old already but cmon that robot is so frickin cool 
Damn I wish i could surf in binary code just like him 
He is indeed surfing in binary code code haha
Do you have any recommendations for computer networks
Does any has used cloudflare cdn for video/media cdn?
Anyone participating in Hacktoberfest?
I am based in India , I am a student sometimes edits videos for competitions plays valo would sometime love to get in gaming , also prefer battery life what laptop would you recommend to me , my one is literally breaking from the frame due to pressure from hinges when I open the laptop
that robot could be the reason i’d pick that book too (an also that it is in spanish)
You should do reverse search instead of searching for specific laptop
for example, check valorant system requirements, ur video editing software system requirements and try to search for a laptop that has cpu/gpu and ram u need
Within the money range you can spend
Doesn't necessarily mean u get the exact cpu/gpu, can buy something close to it or above it
So i recently installed linux for the first time (i chose the fedora kde, since it looked pretty nice) Everything looks nice, but the only things that i dont like is that when im on the login screen, my mouse sensitivity is much higher (like its the default) and its 60hz) when i login, everything is back to normal. The other thing is that it feels weird moving the mouse. Like the cursor feels kinda delayed/heavy, im not quite sure how to explain it. It feels sometimes like its stuttering or something even though its not.
I can get a laptop 2050 will i5 13gen for under 50k but I don't know if 2050 is worth it in 2024
I don't think 2050 has any worth in 2024
I know and I am a little short on budget
do you really need a gpu ?
Hey guys, need some help! I’m locked out of my Discord account—forgot the password, 2FA is on, and I don’t have Google Auth anymore. Plus, backup codes aren’t working. Any ideas?
Try contacting the support
Or there's a trust and safety form
Or try reset password option
Done all that.. nothing worked..they basically gave an ai generated of response
I really need help, does anyone here knows how to use LSTM for time series prediction?
You've the email for any authorities?
Well can't think of any other possible ways hope the team will reach you out
Yeah what's your doubt ?
Thanks
I don't need it now but I plan on getting video editing, I currently sometimes edit a video for a competiton
See how shitty they are , "
Thank you for getting back to me.
I'm so sorry to be the bearer of bad news, but unfortunately, we aren't able to remove two factor authentication from accounts due to security reasons, and the only way you'll be able to regain access is if you saved the backup codes from inside Discord when you initially set up the two factor authentication. If you don't have access to these codes, then you'll have to create a new account.
On the other hand, if you're unable to disable the 2FA and you would like to permanently delete the account, could you confirm and explicitly tell me the registered email address that you want removed and I'll be more than happy to get the process started for you. For example, you could respond writing, "I confirm that I would like to delete the account associated with random@email.com." depending on your email address.
Note: We need to receive the account deletion request from the email address associated with the Discord account to protect our users' privacy and security. After we receive this confirmation, we can start the process manually which may take up to 15 days to complete. When the deletion has been processed, your account's data will be completely anonymized and/or deleted. Additionally, this process is non-reversible once the deletion has been completed!
I'm so sorry again for all the inconvenience and hassle, because I know how frustrating it is to create a new email and account, but please let me know if you have any other questions!
Best,
Joseph N."
This is so bad...
This is idiocy..
As I said .. they've fckup
They could've provided some alternatives instead
Instead of apologies alternatives would work :/
The 2FA sucks
That's why I asked some higher authorities mail.
They're suckers
There's none ig
Thank you for reaching out to us. I understand how frustrating it must be to face this issue, especially when you have the backup codes but they aren’t working as expected. Your concern is completely valid, and I appreciate you providing this context. I'm genuinely sorry for the inconvenience once again.
Unfortunately, we don't have any other alternative recovery methods at this point in time. Since Discord does not collect any personal information to tie to the account, our current policy is that your 2FA backup codes (that you download when you enable the 2FA and connect with your mobile device) act as your only form of official verification and proof that you are the owner of the account to disable the 2FA. So at this point in time, users must manually choose to use these backup codes to disable the 2FA on their own account and verify/confirm the disabling of the 2FA.
On the other hand, I'd be more than happy to share your feedback about the system to the team as well.
Best,
Joseph N.
Or give a simple access to reset password
I don't think there's any higher authority emails available
Hmm
They basically replied to the same mail again.. that's what I was saying
Got you nw
All we have next is a discord forum where you can but it'll get the same reply ig
Oh
Lol.. where on LinkedIn 😆
Lol
I would rant
Lol
What if he offers a job instead of the alternative lol
You'll be the first referral if you do that happens..
Legit 🤣
Hey guys I need help regarding this problem 😓
https://stackoverflow.com/questions/79020096/making-a-diy-server-application-which-keeps-count-of-production-in-a-manufacturi
System Specs
Processor - i5 13th Gen
RAM - 16GB
SSD - Nvme 500GB
OS - Windows Home
RaspberryPi - Pi4 8GB
I have a Fast API application which is hosted on a windows machine, also a react app on th...
So I already have the dataset ready, preprocessed good, next I split the data 60%, then I scale it using the standard scaler (not using MinMax because price have no maximum), I just use 1st layer of LSTM the 2nd one uses dropout layer and 3rd is the dense layer I think, I'm having problem in identifying whether the model work using the error metrics like MSE,MAE,RMSE,R^2, and how to simply plot the actual vs predicted price because I'm still new with python. I can you show you my code so let me know when you're free
Alr I'll dm u
i can take for free thinkpad r61e, r50e or r61i what of this you recommend to try linux
hello, I'm looking for a remote internship either in machine learning or web development, preferably in Europe or the US, are there any websites where I can apply pls ?
'doesn't collect personal information' thats bs bruh
Yea...
Flex jobs, LinkedIn or Remote.co
Can someone tell me if this decimal to binary converter is inefficient? Because a teacher told me it's inefficient.
// Convert decimal to binary
while (number > 0)
{
int remainder = number % 2;
binaryResult = remainder + binaryResult;
number /= 2; // Divide number by 2 for the next iteration
}
if (binaryResult == "")
{
binaryResult = "0"; // Handles the case where the number is 0
}
You don’t have to create binary result
You can just do a printf where each time you show the result of remainder
Apparently C# has a convert tostring one liner that converts it to binary
You mean a function that do the work
I didn’t know about that
same
any cyber security enthusiasts here?? can someone please give me a hint on what i am supposed to do here? i want to solve this by myself, so just a hint is enough please
Is there any way to use a laptop connected to a PC for input and output?
Like just plugging in laptop to a server for maintenance when ssh doesnt work
can anyone help me understand when using docker compose, do i need to run npm install or yarn build locally, i suppose we dont since the .yml file itself brings the image in the container, so how do i remove those red lines from the editor which says the package is missing
Let's say u want to dockerize ur nodejs app
Create a Dockerfile for ur nodejs app, which will contain npm i and npm build commands
Then in docker-compose.yml file, add that nodejs service
services:
nodejs:
build:
context: .
dockerfile: Dockerfile
image: nodejs
So when u will run it, it will work properly after installing all files.
And u can ignore the red lines, cuz it's not installed in ur local machine
and same goes for images when you pull them from docker hub right ?
if i am not wrong the docker file is writtern in such a way that i dont need to install the dependency ( sql in your example ) on my local machine, but i do need the library react to be able to make changes locally and test the application? which means i do have to run npm install or yarn build when iam clonning the project and then start the containers ?
If u have dockerfile for ur react app
u can directly run it through, docker-compose
And if also wanna see the live changes then u can read this
Not really tech help but more of a discussion topic im curious about, why do you guys think tech companies are making tech products like phones bigger and bigger? I miss tiny tech that isnt crazy expensive 
i think it s important innovation , whatever the price is
because at some times , every products gets cheaper and cheaper
thats just life cycle
to be fair, there was demand for bigger phones since they've had actual screens cus people wanted a larger area to view stuff. i guess that hasn't really changed
it's ironic because before that there was a push to make them smaller since mobile phones used to be literal bricks lmao
and there was the thinnovation shit in the 2010s too lmao
Hey guys, i recently baought a new pc as im starting uni and turns out the previous owner had installed linux and i have no idea how to install windows back and uninstall linux. Any help is appreciated 🙏🙏
Either that or dual-boot
do u have a windows key ?
A what?
google "windows media creation tool", get a usb with 8gb or more and follow the instructions to make a bootable windows install
boot into the usb and then install windows
make sure to completely wipe the partitions and get rid of the prior install
if you do end up wanting ubuntu or w/e later on you can just dual boot it
iirc there is a step in the ubuntu install where it will make it so that you install it along side windows so you end up having to choose which OS you boot into every time
What e-ink tablet would you folks recommend for note-taking in university?
how can i learn pyhton an efficient way
in my opinion you can start with courses in youtube, udemy or coursera. after put effort in making your own projects which match with your interests
I believe there are lots of videos on youtube, especially from a channel named codecamp.
Something you can try out is watching a video and trying to really understand it and re-create it by implementing the logic displayed in the video.
Here is a link to their Python playlist:
https://youtube.com/playlist?list=PLWKjhJtqVAbnqBxcdjVGgT3uVR10bzTEB
Get the r61 see diff between e and i
heyyy
I have been wanting to get into cybersecurity and forensics
Can someone guide me as to where i should start from??
⭐⭐⭐⭐🕑TIME STAMP IS IN THE COMMENTS SECTION📋⭐⭐⭐⭐⭐
What you'll learn
✅ Understand the cybersecurity landscape and learn core concepts foundational to security, compliance, and identity solutions.
✅Understand the vulnerabilities of an organizations network and mitigate attacks on network infrastructures to protect data.
✅Develop and implement thre...
.....
⭐⭐⭐⭐🕑TIME STAMP IS IN THE COMMENTS SECTION📋⭐⭐⭐⭐⭐
What you'll learn
✅Understand the importance of cybersecurity practices and their impact for organizations.
✅Identify common risks, threats, and vulnerabilities, as well as techniques to mitigate them.
✅Protect networks, devices, people, and data from unauthorized access and cyberattacks u...
These look great
Thank you so much🥹🥹🥹
sure!!
I'm in cybersecurity, I would recommend looking into the CompTIA exams. If you're not tech savvy, check out ITF+ that's a base exam. If you feel like you are, then start with A+ as your first exam.
A good resource you can use is Professor Messer and Jason Dion
I’m in the market for a new laptop—something powerful enough for computer science work (coding, running simulations, etc.) but also capable of handling a bit of video editing. Any recommendations on a solid, future-proof laptop with cool specs?
Macbook air m1 is still a good option these days
But if you can afford, m2 air with 512gb its an even better choice
(It has to be the 512gb because ir has a faster ssd that become handy during memory swap)
Anyone here already participate on a take home project follow up interview?
got the air m3/16/512, really like it so far, except for the fact that I might do AI and heavier tasks in the future. If i could've gone back in time, I would've gotten something I could upgrade..
something like this ThinkBook 14 G6 IRL, fast, new-gen CPU with plenty of cores and lots of cache as well as good opportunities for upgradeability
any AI/ML expert here?
i am making a project called 'AI based traffic flow and optimization'
Can you give me 3 machine learning models which would be used for this?
Not an expert but a student
You can use
GCN
LSTM
Random Forest
Does anyone know any youtube series or maybe a self readable book on python programming that will help me learn from basic and till advanced like (matrix multiplication maybe?)
is anyone familiar with firebase + typescript integration? i have an authentication error i've spent too long trying to fix 😵💫
what is the error ?
Anyone familiar with ML? I'm currently taking a class on it but I've fallen pretty behind due to some personal things going on in my life. There aren't any notes for this class posted and I'm struggling to understand how I'm supposed to approach the problem. Could anybody give me a better idea of how I go about this? It's a little embarrassing considering this is the first problem but I gotta start somewhere
Is the following set convex?
{x | x ∈ R2, xT x ≤ 2}
yall is anyone good w iphones and likr apple shit pls😭🙏
