#tech-related-help
1 messages · Page 22 of 1
Maybe the global keyword causes it to print as 200
It's not recommended to use that keyword a lot because it messes up programming paradigms
But perhaps if you read about, the 200 might make sense
can a rode vidmic pro plus be connected to a smart phone?
Yes but depending upon ur phone ,if it supports 3 pin or 4 pin , else u can buy a smart cable
Well its too lengthy in my opinion
please does someones know whats is the difference between Software Developer and Software Engineer, wich guy is the one that creates software like google for example ?
https://www.geeksforgeeks.org/is-there-any-difference-between-software-developer-and-software-engineer/
this might help ya
would it work for iphone 11 and 12? also could u plz give me the link for the cable thanks
try using pandas
hi guys. looking for some advice. i'm a couple weeks into javascript and i'm trying to write a function to return a price quote. i'm thinking i need to start with a base rate and assign various multipliers for each variable, then check which of my 7 different booleans are true. can anyone advise me on a good approach? much appreciated
yeah it's fine
@limber hedge help me
So, I went to vacation so I only tried to do it today.
I actually used an array of classes (questions block containing question, options A-E, correct answer) and in order to use formatting codes I wrote to a .html instead of a .txt.
Really thank you, I would've never thought of using Python if you didn't told me (I only used C++ in the past). You saved me lots of time too, writing questions directly in Python is much better than using Word, I hate that program. Thank you again! 🤩
for just 26 lines of code, it totally worthed it
Glad you managed to work something out :]
you are a med school student you sure you have time for coding ?
it's also pretty much self study. you can go to free websites like free codecamp or codeacademy
w3 schools is good too
ya I do becuz I havent slept from a year
so I have 24hrs
hahaha
Ohkk guys,
So I hv a HP laptop (around 4yrs old) with intel 7i 6th gen processor and 16gb ram
But the problem is with the battery, sometimes it over heats, sometimes it doesn't charge and so on. I hv actually changed the battery twice
So wt shud I do? Just buy a new one? And any suggestions....
you should always put it on charge so that the battery doesn't get used and this will result in longer battery life. its better for the long run and you can elevate the height by buying a stand so the fans are ventilated
freecodecamp has everything you need
Code Academy is a good one
but make sure u unplug it atleast once a day because i always charged my laptop and in like half a year my battery fully broke and rn if the charging wire is removed for even a second it shuts down. so be carefull
and be sure ur using balanced mode in power plans, if u dont use perfomance heavy stuff i.e
I do that but this time the battery ain't charging no matter wt i do
is it stuck at a percentage?
Nope
i see
i suppose someone else willl have better advice but the best i can give is dont overdo either plugging in nor not charging frequently
oh and plug it when doing something perfomance heavy or else itll be a huge strain on the battery
then you have to ask somebody who has more info on that or you can ask the guy who repaired it
i have asked some more friends of mine let me see if they have any ideas
ayo i just started learning python can anyone help me out how the result of code come out yo be 4
Thx a lot
Cuz the number of items in myNestedList is 4
- 1
- [2, 3, [4, 5], 6, [7]]
- 8
-[9, 10]
thanks dude i got confused with so many brackets
this is what my friends had to say :
If it doesn't charge sometimes it's 100% the motherboard's issue
The motherboard is also going to be expensive to replace so you have to consider that as well
I suppose it overheats because the current doesn't flow stably to the battery so it's lost as heat.
also @errant flower ideal scenario... MB is fine, battery controller messed up... Switch to complete AC power
you'll be good
worst case scenario, over heating caused the internal temperature to rise
frying some other components along with it
also it is advised not to use it, if it heats up, worst case scenario it blows up.
this is what my friends who are good with these gadgets had to day saka

you seem like you know this so you wouldnt mind if i asked a bit about my laptop as well ryt
no problem
i actually asked some of my friends who know these things. but i can ask about you case too
tag me
back like half an year ago i completely put my laptop to gaming and put everything on max perfomance. my specs are an i7 7th gen (with 2 core) and 6gb ram. the 2 core is a real issue cause it increases in heat real quick.
and my laptop was never used to gaming before
so after that whenever i gamed, i would get the max fps my device can push
and then suddenly frop to 12 fps or smthing
for a minute or more
this was because my cpu overheated and went into lower clock speed to cool down
i was pretty frustrated and kept using my laptop on full power, and a few months ago i noticed my battery icon was stuck
and then i unplugged and found out i literally have no battery
the laptop wont work without begin plugged in
pretty sure the whole batteries gone
i might take it to repair to get a broken hinge fixed as well as battery replaced, but idk what to do about the cpu
should i ask them to clean the vents or smthing
tdlr: what should i do with my cpu that overheats, im guessing its cause it has 2 cores but is it actually not supposed to heat up?
yes i'll ask them
this is what my friend had to say
"first of all was it over clocked
it is not about using max or the cores
yeah cleaning is important
he also says
"its honestly better
if you get it checked out entirely
and sell it when it works
if its having so many issues" @knotty pond
hey, i need some help with unix command.
I need to list down all the ignored files that will output it such that it will only output e.g. ./ex05/samplefile01
i want to use ls-files --ignored but I do not understand the --exclude pattern, like what it is and how to format it.
any help/tips/pointers are appreciated!
Read the man page of the command you're trying to use
Are you trying to output only the hidden files in a directory?
actually i got this working with --exclude-standard but now I'm wondering how to get ls to start from root dir instead of current dir 😓
@queen sapphire
there should be an option to specify which directory to run the command on
ok i will check out man ls-files
thanks man!
nvm man ls-files does not exist so man ls 😂
I am too. Last exam gave on July 21, so I can do whatever I want now till October. Plus, is a myth med students don't have free time (and Pareto's law destroys this myth)
hmn thanks a lot
@minor parcel thx a lot :)
Wt r ur thoughts bout MacBook Air M1
whts better to learn python or html
python
python is better but html is easier
HTML is a language for building website structure, while Python is general programming language. So, Python is better, but you need HTML if you want building websites structure.
Depends wt u wanna do but I will suggest u first learn html, css and js
And then learn python
This way u can develop fullstack websites and softwares
But its totally upto u
The Difference
Ron and Susan have been paired together to complete a piece of homework given to them by their teacher. Ron selects the longest palindromic substring of a string and Susan selects the shortest palindromic substring of the same string
They got tired after doing this task and have asked you to calculate the difference between the lengths of these strings as they have to chart it and submit it to their teacher.
Input Specification:
input1: The string they have been given.
Output Specification:
The difference between the lengths of the strings found by Ron and
Susan
Can anyone send me this solution ? Immediately?
In C or JAVA or Python
Please use the channel for doubts and not to ask others to solve test questions 🙂
anyone know what's the use of this in a mouse?
Never opened one before 😅
same even i want to know!
Does anyone know of an up to date implementation of a Navigation Drawer for Android Studio. I'm trying to create one but all the tutorials are outdated and use deprecated methods
If you undervolt (+underclock) your CPU, you might find that it performs more consistently and doesnt overheat as severely under consistent high loads, though you'll probably lose some burst performance
I wonder if it might be a prism for bending the light from the LED towards the surface beneath, and/or from the surface towards the light sensor
hi can anyone help me with this question .. why are there different types of DC outputs for your pc ??
i (stupidly) disabled something called as bd prohchot which basically made it so that it can go above 2.70 ghz. ig that's sort of overclocking? but anyways i found it was worse and so i tried switching it back on but it wont stay locked. so now i have to use throttlestop to lock it at 2.70 ghz every time i need to. but the thing now is my cpu is doing better than it ever has, at the same conditions as it once was. is there a way to make it so that it permanently stays at 2.70? do i have to do under-clocking.. also apart from my cpu, some stuff like search bar not working and settings always takes 3 whole seconds to load is happening. im taking it for a repair soon (the hinge broke), so idk if i should ask for a factory reset or heating issue or smthing like that?
can anyone please help me with this???
3. write a program to Input and output your aadhar card details, name, address,age,aadhar card number.
4. write a program to read a "float" representing a number of degrees Celsius, and print as a "float" the equivalent temperature in degrees Fahrenheit. Print your results in a form such as 100.0 degrees Celsius converts to 212.0 degrees Fahrenheit.
5. write a program to accept a student’s registration number, marks in 5 subjects and display the each subject mark along with total marks and average marks in a tabular format.
It's actually pretty easy, but I just finished my study session, when is your deadline? I'll help tomorrow (Hong Kong timezone) 7am
Btw what language?
friday
C
yes but i have gotten confused wiht C++
Oh I have to pass, I currently use python and c# rn
😭
Hey, so I'm gonna be working on a project that essentially would mimic your movements on a video call. Think of it like motion capture except the motion capture is being transmitted live. You could possibly use it in case you don't want to show your face in say a video call with random people.
So here are our initial thoughts. As of right now we're thinking of using Blender to render models realtime. This at first sight sounds like a retarded idea to be fair. We kinda want to get started by understanding how the algorithms behind Bitmoji (by Snapchat) and Animoji (by Apple) work. Would be much appreciated if someone could give us inputs regarding the same. There's little to no knowledge that regarding the algorithms that power these apps but if there are research papers that go behind analyzing this stuff we'd be more than glad to go through them.
hi, i am using ubuntu and , whenever i open zoom, it says untrusted server certificates... error code:60
how do i turn this off
like whenever theres a group message
i get a notification
how do i make the "1" not appear whenever the grup texts
i use computer
You can mute the group
you either check it or nad
i think muting is just turn off the sound
work similar to whatsapp
you can mute so it wont disturb you when you are in a meeting but the 1 will be there
i did mute the group
but the 1 is still there ye
i dont want to leave it, i feel bad because its my friend group
and they are average so i dont want to talk to them
Oh there are the "mute" and "ignore" options
As @pine gorge says muting only affects notifications
ignore?
h
oh
just ignore the notification
ah its a little bothering
ima just block instagram wbsite who cares
Nvm
aight tahnks
Don't ignore the group, it just sends it to the spams without blocking it
If you're happy with the way it's working right now, there's no need to change anything, imo. If there is an option for it in throttlestop, you could try to use it to limit the clockfrequency even further. You could go into the BIOS and underclock/undervolt from there, but expect some experimenting. If I were you I'd bring up the software issues you're having to the repairman and ask his opinion on undervolting/underclocking, as he is likely to have more experience with it than me. Also, you should google a bit around, to learn a bit about undervolting a laptop CPU
mkdir c
mkdir txt
mkdir sh
for file in "/*"
do
if [ "${file: -4}" == ".txt" ]
then
mv $file txt
elif [ "${file: -3}" == ".sh" ]
then
mv $file sh
elif [ "${file: -2}" == ".c" ]
then
mv $file c
fi
done
Essentially what I'm trying to do here is to organize .c, .txt and .sh files in my root directory into different folders. This doesn't seem to be working. idk where I'm going wrong
is anyone here a dev that can develop bots and such
Hi is anyone running the majaro i3 edition?
can you tell me the applet for the soundbutton for a laptop
Hi everyone, I am looking for a colleague we can support each other, if anyone thinks, please write, thank you
yo i need help with python
Q. Write a python code that accepts a filename, and copies all lines that do not start with a lowercase letter from the first file into the second.
This is my code but i dont have any output
how do i do this
@nimble hinge Why didn't the code exit the while loop when you entered 'n' 
That's weird
Are you sure this output is for the above code only?
yeah absolutely
i dont know
pls help me out
i spent 24 hrs correct this
but ive been unsuccessful
Maybe write i=f.readlines()
In the 2nd def
Hmm i checked again. You hav two createfile() so its summoning the def twice
Ah yup, good catch man
I totally missed out on that
Also, as for the problem in the second function
You have a 'while True' loop with no break statement inside it
Which basically means it's an infinite loop
@nimble hinge
Thanks @pale narwhal @verbal wraith
Is anyone here good with sending emails with python? I need like 5 minutes of your time please :)
That or Flask
someone help
im hacked
everyone is getting that steam nitro thingy link from my acc
what
Yaa it was hidden between the two defs :P
Is everything okay now?
Hi everybody, I could consider this as tech help because it is about programming languages, so I need your help to answer this short poll. (Originally the poll is in Spanish, but you can translate it) I hope you can help me 🙂 https://forms.office.com/r/iUi2tJA94K
yea working good now
Hi guys is someone good with fundamentals of telecommunications? I need some help:
Let's say you have an amplifier with a generic impulse response in frequency H(f).
Now at some point my teacher says:
If you don't have any noise introduced by the amplifier, if you input a signal with power Psi then the amplifier will produce an output Pso = G *Psi.
Where G = max(|H(f)|^2) .
I don't understand why, can someone explain?
my disk usage keeps going to 100% randdomly. and my laptop gets 2 fps until it fixes tiself, happens randomly, when im starting the laptop, when m browsing or after ive restarted. any tips?
yup
Can anyone help me get MASM assembler without using VS code because I would need to download virtual box and stuff on the Mac?
does anyone have any recommendation about Matlab? It could be books or tutorial channels.
LOL average? wdym by that
I need help coming up with a cyber security blog name! Any Ideas?
hey guys i am a new coder and my class is doing an assingment on eclipse and running c++
out teacher told us to write this code word for word, and so i did
but every time i run and build this, these two errors show up
i am on mac os
pls help thank you.
they are ordinary
what does it mean to be not ordinary? as in focusing on our future more?
idk i watch too many motivation videos
LOL
wat
laughing. out. loud. 
any help for mine?
wy are u laughing at me
what, im not, dw i just thought it was funny when u said u watch too many motivation videos bc thats what i do too
ok
This might help, https://www.cplusplus.com/reference/string/string/getline/ ….I think you have to use a string and getline. If no one else answers, follow that ..srry I’m kind of busy with the start of school, I would reply in more detail, but I can’t atm🥺
its ok I really appreciate your help, thanks you so much ❤️
Bro fr I need a long and good answer.
Why is everyone a phython coder, there is rarely any Java or C# devs here
Should I also hit up Phyton? why is everyone so inclined towards it
u should definitely learn python
its much more easier to learn compared to Java and C++
because iti s an interpreted language so u dont have to worry about rules/syntax as much
additionally, its really good for machine learning algorithms
because there are a ton of libraries that people have made in python
also if u have learned java, python is going to be a piece of cake
also its very concise
the same thing that may take up multiple lines in java will only take up few lines in python
I'm definitely going to give it a shot tonight, thanks for the answer
np
well i would recommend to keep ur online name or ur real name as ur blog name
cuz python is easy and has a lot of uses in different fields, like it can be used in web dev, game dev, ml and ds etc.
and plus the syntax is super easy to understand
but if u wanna specifically go into android app dev then java is a better choice
yoooo guys
So I bought a new macbook pro
and its 16 inches
i9
and I am a windows user
so any help in lOgGiNg in???
or settin it up
can somebody help me understand as to what the 32 byte pre decode fetch buffer is tryna do here
Y did u buy a mac though?
U can always install windows instead of ios
With Boot Camp, you can install Microsoft Windows 10 on your Mac, then switch between macOS and Windows when restarting your Mac.
But i wouldn't rly recommend that
hm can you tell me the reason why not?
why would you want to spend 2000+ usd on an XPS when you can get a MacBook Pro for 600-700 usd lesser
Dude mac is rly bout the ios and the features that ios offers
I was kinda expecting an answer in a developer's perspective
And yea, xps is actually cheaper in india than macbooks
Writing System.out.println makes me feel like a pro gamer while writing print is sus
I like it how it yeets data types
I just went through the syntax and wrote random stuff in PyCharm
r u understanding the code that u r writing?
"Debugging is like being the detective in a crime movie where you are also the murderer." – Filipe Fortes
the best quote bout programming
yee the only thing I keep messing up is If statements
hmmm interesting, wt bout while statements?
Its the indentation that messes me up since theres no {} to keep functions, if statememts and such
use vs code or sublime text, they r pretty helpful with that
Just feels werird but I can get used to it
my end goal is data analysis problably
although I still plan to stick with java for backend
python is nice in that u dont have to make all those pesky class and method headers
u can straight up just say
print("Hello")
Frrrrr in java it go like
public class Simple{
public static void main(String args[]){
System.out.println("Hello Java");
}
}
in python its just print("Hello Java")
lmao
anyone into computer graphics willing to share knowledge? :))
That isn't true in India tbh
Macbook Pro M1 base costs about 1 lac 10k with student discount. Dell XPS 13 base costs 1 lac 15k - 1 lac 20k
anyway the base on both of those laptops aren't too great
the costliest macbook in india is bout 2L inr and the costliest xps is 1.54L inr, and even after the student discount the mac still costs more than xps
finally someone agrees
if you're talking about XPS 13 then yea
XPS 15 goes upto 2.25 lacs ig
Hi fellow coders, I've started a WebDev Bootcamp course for 1 month, but Its kinda boring and I am not learning much watching video. So what is the right way to learn programming? or what you guys do to make learning fun? I would be really happy to hear from you
Ohkk, so first start by learning bout how the internet works (I'll send u a playlist)
<!---- front-end ---->
Then start with html, after u r done with that build a basic portfolio (or just any other website) using the skills u hv learnt
Then start with css, and once u r done learning, beautify/refine ur website using css
Then learn js, now using js give some functionality to that website
Then pick a Framework, like for js u can choose react
once you are done with the front end, try and participating in hackathons, school competitions or start interning at a small org. Trust me they are rly helpful in assessing ur skills as well as they r pretty fun.
<!---- back-end ---->
Start by learning node.js or express.js
Learn about APIs, Git & Github and version control
Then learn about ejs
After u hv acquired all these skills, start another project
After that, start learning sql for database management
Learn mongoDB and mongoose, again for databases
And then again, try and encorparate all the skills in another project
start freelancing!
The only way to make coding fun is to actually make ur own stuff
hi
hi anyone having resources for full stack web dev courses for free? any youtube recommendations ?
the odin project is great
Thank you saka, seems like I'm learning in a passive way
Yupp
Angela Yu's course on udemy or ztm academy's course on udemy
thanksss
will check them out
i shall check them out thanks for the recommendations
Pick something you wanna learn, go through the basic syntax, find a suitable project to do and work on that
For Web dev, you basically need to learn HTML, CSS, JavaScript
And then some backend framework like Django or Node
I was an early adopters of hyperskill, a platform which is still now improved by Jetbrains Academy. Price is somewhat costly but with my experience with trial version I can rate it somewhat positive because of cool projects and being well organized
at the start, even i thought that but its so much more than that
Haha, yes I'm aware of React and Angular and everything
but they are a beginner
also, I'm not much into frontend so there's not much I can share in that regard
anyone knows about relational algebra in database? i really need some help for the upcoming exam in 6 hours. I dont know the proper way to make it. Do we have to write a sql statement for the problem first and then translate that sql into relational algebra language, or is there any other better way for it?
Well the better way is to directly write the relational algebra expression and I don’t think its ever necessary to convert to sql first and then write.
Also if your exam is in 6 hours I’d recommend learning the basic operations and then seeing as many examples as possible. After looking through enough you should try to solve some on your own.
thanks a lot for the advice. It's because i usually try to solve the problem by sql first to find the right track, then translate it into relational algebra, but it takes way too much time and usually end up as a bunch of spaghetti mess. Guess i have to think differently from now on.
Maybe you want to take out the HDD from your laptop, buy casing and cable for it to be used as external HDD then see what you can do to get some of your files that can be saved. If only you want to bother to do so
no bro its a home computer HDD, I have an external adaper plugged into my laptop
the harddrive died
Dang
it says its a physical problem this shit dead
Kinda sad tho cant find any tutorial if i can fix it
I hope you can get at least some of your files, physical problem is serious
I had it gonna lit this shi on fire outside
Hey, does anyone know why this row is not getting the cell formatting in green colour (GOOGLE SHEETS)?? I want to put in green all rows that have the B column empty
Maybe you want to try smartdraw.com , I don't know if it has that, you can explore around
thanks
I'm not sure I understand, it should be worked by block the row and color fill? no?
yeah, i don't know either, I'm using this formula =ISBLANK($BROW()) to know whether or not Bcol of each row is empty
Did you try to add the text again after color fill? is it work? no?
Maybe something wrong with the cell type?
The formula should work but it is giving FALSE even when the cell is empty
Okay, I was doing something wrong, because ISBLANK returns FALSE if its empty, I thought it was the other way around
isblank = false , means it's not empty right, and the character still not appear?
This is crazy hjhaahahha
Ahahaha do you want print preview? maybe it appears there just to check
I want to know why that formula isnt working 😂
Oh! 😆
Hey guys! Good night at least in here. Have a question: I am looking for ways of dividing my workspace in windows 10. I don't want to have my personal stuff like games, stuff in the same desktop as my university stuff.
So I realized I could create another windows user... Isn't there an easy way?
Hello, I think this link might help to answer your question
https://support.microsoft.com/en-us/windows/add-or-remove-accounts-on-your-pc-104dc19f-6430-4b49-6a2b-e4dbd1dcdf32
Learn how to add user accounts in Windows 10. With an account, each person has separate files, browser favorites, and a private desktop.
when you click this button it greats you with a screen on that screen you can click add a desktop and from there you can click Ctrl + Win + arrow key that will show you a different window and to go back you can click the opposite arrow
aaah this transition looks cool
yo guys just a quick question about animation stuff.. what is the meaning of cells in animation like A1 B1 C1? Is that just the name of the layers that are in the animation? im learning right know stuff about the exposure sheet time sheet
If anyone is using the davinci resolve version 16 video editing application as a prof, I would appreciate some help.
Can anyone help me in my Machine learning assignment 🙂
Ping me
anyone here learning React and Redux and would like to join
Ping me
I'm learning Java, so who are interested in and learning like me, we could team up. thanks
ik python
you didnt code nothing yet ?
anyone here learning ios dev?
hi! I'm currently learning web development; still very new at it. if anyone's interested in joining in or helping a junior out that'd be great xd
Yeaahhhh
I need to make a simple flowchart, but I don't even know how to approach it 😰 The task: (Cycle) Write an algorithm for a dialog program that asks the user for an answer to a question (for example, the distance of the Moon from the Earth) and does so until the user enters the correct answer. The wrong answer should be criticized (for example, that the user offered too much or every little).
witch language are you using and what are the visual criteria
Try refreshing the page. Google Sheets have given me errors with Find & Replace in the past. Or, try to copy the cells above with the green formatting into the desired cell.
Thank you! but I've already tried it, I think I'm doing it the old way, line by line, the formula should work, at least it does work in an excel, but not google sheet
I know the basic syntax, condition, loop, abstract...
You can do that with Fusion 360
@wispy hamlet thanks man
Does anyone have a macbook pro m1 and can share experience?
Hi anyone does game development in unity? I am trying to recreate darkwood vision effect but clipping doesnt woek
Really all together, fast... efficient and easy to work with. If you already have a mac it is pretty similar in speed and overall usage
You can change the setting and use Google as your search engine, I think this is one of the way you can get rid of that
that's weird
Did you check the extensions?
%APPDATA%\Mozilla\Firefox\Profiles\
if you remember the name of that fishy program and search it manually in your firefox directory, in that APPDATA
Ah APPDATA is usually a hidden folder, view hidden folder to find it
Anybody use SelectorGadget? What could be the issue if it keep crashing the website I'm trying to scrap? The extension is a good time-saver though
Did you install something recently?
You should do a disc clean up just in case that will delete all the cookies and caches
can someone help me with a BST (binary search tree) code in c++?
Thnx👍
Send the code/question
Hello guys, i am new here. I want to learn how to code , does anyone have some tips?
What do you want to use code for?
Wt r ur goals?
what makes you want to code
Silicon Valley
Bro tbh, code if u rly like it, don't learnt it for the sake of getting a high paying job
U won't be able to thrive in that industry
I do love coding
That's great!
Which languages do u code in?
As i do CP so I code in C++
Woah cool
learn java
yea but y do u wanna learn it?
Yes
im asking wt do u wanna do after u learn java? cuz most of the programming languages hv multiple uses in different fields
yes
yss
and ?
Once u learn Java it’s easy to pick up languages like python
What do u think about Windows 11?
it’s windows so i don’t like it <3
|| not me using windows 8||
windows 11 feels like windows 10 with better css
I don't know much of python but can help with logic
i might be able to help, i think
I have a msi gp76 leopard laptop, and a monitor that supports 165 hz.
The HDMI says its 4k 60hz (laptop) but i dont know if I am able to reach 165 hz with it.
Should I go with the HDMI or to the USB-C [ 1x Type-C (USB3.2 Gen2 / DP) ] to DP adaptor.
The 165 hz is a must.
Suppose the college id 123 borrow book Harry Potter and different college id 567 can’t return the Harry Potter book….but in my program 567 can return the Harry Potter book
Do you have snippet of your code the explanation is a bit vague
What condition are you using to check the ID?
can you send the screenshot or snippet of code
hi, can anyone help me calculate the size of congestion window in tcp in a small exercise plz?
any tips to do in free time related to programming coz iam confused like i procastinate a lot so any thing to read which can help me with my undergrad journey
Do you code?
Personal projects
hey is there anyone who had ever used 3d printer?
yes
i cant just keep on doing projects
its just boring to always read a book to learn cpp which i read most of times so inorder to not keep myself free i want to be busy in learning something
hope you get that
How skilled would you say you are
beginner ig
ik basic python and c
and git workflow
and learning cpp now
See projects help u refine ur skills and also help u build a good resume
Projects r not as boring as reading a book related to cs
yeah but still any other recommendations ?
and i want to learn discrete math
so looking up into taht too
Not rly, I can't think of anything else that is related to programming and productive
not specifically programming tho , tech and math and phy interests me too
Hmmmm, try reading tech blogs and books related to phy
k
well you know ive been procastinating too much lately
it took me 4days to complete a 4hr lec
lol
Try machine learning
Dont try machine learning unless you know what you exactly want to focus on
Try game development lol😂
don't you will have to learn data science , math and bunch of other topics
yes if it is just for fun
neural networks and math and should be perfect with any of framework better to go with flask / django
well data science is full of statistics and all of that stuff and relayed more on information / data
Honestly I started gamedev without any prior knowledge of graphics or animation so it's not that hard if you are willing to do it
I'm not sure if you guys answer questions like this, tell me if it's not supposed to be here.
So I've been trying to solve this issue for about two hours now and it's still not working, so any help will be appreciated. I'm using a wired 3.5mm headphones and I can hear properly but my laptop still uses the laptop's built in mic. The 3.5mm mic is the one with microphone and the laptops 3.5mm jack is a headset one(recieves audio and microphone input), when I plug the earphones in, supposedly the laptop will automatically switch to the earphones mic. In the sound devices settings, recording tab, there are no other mic option other than the original microphone(no additional option that wasn't there)
My laptop is running windows 10, model is acer nitro 5 and my earphones is marshall mode (wired).
try reinstalling your audio driver. or update the the driver. update windows too
I uninstalled and reinstalled my audio driver, windows is up to date...
is it default or a third party driver like realtek driver
realtek
oh
mines too realtek too. i had prob with it. u will have to uninstall ur driver completely
uninstall the software of the driver too from device manager.
then go to windows update and cjeck for updates. it will update ur audio driver from its library. trying different driver version is good
try this method. mines got fixed like this
if this doesnt fix this. there might be a hardware prob
you have an audio driver ?
I'm supposed to be uninstalling the device from sound, video and games controllers section in the device manager?
yea i reintalled it
is your laptop having realtek ?
yes
yea. and also check tick box uninstll software too. then restart and then go to windows update and check for update. u will get a driver update
this is how it looks
i had bass prob with realtek. no bass coming. downloading the driver from windows update helped me
no
thats the output right?? the prob arises mostly cuz of audio controller
no
am asking if he has realtek or not
if he has realtek then updating drivers cannot help
as of what he said he its all right
I reinstalled the driver, still not working
you have any realtek audio console app
nope i installed it just now but I can't find the app
send the pic of device manager
mine looks like this, only one mic option
there should be an app in program files/realtek/hda
I tried but I can't launch it
It's RtkNGUI64 right
it shows only one mic option .
thts your headphone right ?
nope my laptop's built in mic
why do you need mic
you cant hear audio to your headphones ?
thats not his headphones built in mic. if ot was his headphones mic thast being used. the output will show "headset" not headphone
no
i didnt get his issue
the prob is. the device isnt recognising his headphone mic
laptops can.
if there is an headphone with 2 pins then sus
hes using laptop not desktop
thts what am talking
I've read that some headphones they just automatically changes the default mic to the headset mic, and can separate the two using the Realtek HD audio manager by enabling multistreaming but I can't launch the manager
yes it can mine does
just bring an apple headphone or any headphones which has only one jack
i dont use multistream mine does in different way
not all of this
@stark prism does your headphones has 2 jacks one is for mic and one for audio
4 rings??
no only 3
by rings i mean insulators
so it should work fine
3
three black rings
not very old the 3.5mm jack is headset jack so mic and audio included
only one 3.5mm jack on my laptop
the icon beside it is a headset(with mic)
headset means it has mic. headphone means no mic. so u ahould be fine
can u plug the jack and slowly take it out. and tell me if u hear any kind of noise?
but it shows headphones here, it didn't show before i uninstall the driver
what did it show before u uninstalled??
yes?
well its most likely a driver.
try doing what i am gonna tell.
first go to device manager controller and uninstall the driver. but when make sure to tick the box that say uninstall the software. then this driver wont be installed. it will use default driver. then go to windows update and check for update and download driver. maybe the old one might be corrupted.
this was the only way mine was fixed. try this. if this doesnt fix it i dont know any other way. make sure u tick the uninstall software option
yea i already did it just now :(
u redownloaded the driver from windows update??
try manufacturer version
I'm not sure which one is the official one tho
got to realtek website and doenload the driver
lemme show u official web site
actually u can go to acer driver download
I should cuz i tried the realtek and didn't work
I download the audio driver right
any change after the acer version??
still downloading
is this the correct one? seems the same as the one it downloaded earlier
i m not sure did u download it from ur laptop manufacturer??
yea from the acer website
if u gave the correct model number of ur laptop. then no doubt abt it.
this is the correct one
ok
close other apps and background when installing. such as discord
wow. when did this start happening??
there is still no Realtek HD audio manager tho
idk... I used 3.5mm earphones back then it worked, i used bluetooth headset for a long time and now i try it again and not working
did u do any windows update during those time?
do u have a hd manager now??
i think it's using the earphone mic now
ur audio controller driver had problem. it was corrupted
reinstall mostly such small stuffs
no tho
go to program files realtel and try openibg all applications. one of em is hd manager. ooor u can go to control panel. which is much better
control has an option of hd manager or audio manager something
i found it
good
don't know where the multistreaming is doe
but i won't touch it as long as it works i don't wanna use 3 hours on this again TT
thank you so much
realtek drivers are modified my manufacturers to their liking. so they may have not included multistreaming
laptop has modded realtek drivers.
I see... didn't know that
yea my realtek is called maxxaudio
its a realtek with maxxaudio enhancements. some have dts audio emhancements like surround sound for headphones
Yeah sure! I can
Thank you!! I'll dm the first part
Any unity developer or c# dev here? Need some help
I am C# dev. I can help a bit if you are still looking for assistance
i have a doubt. discord is showing "keybinds are disabled when this panel is shown" and i dont know how to fix it
i cant use my keybinds
Nah, I guess it blowed up the video drivers
The screen keeps repeating color cycyels
cycles*
that is a possibility
my router disconnects from the internet. and i have to restart it to fix it. i tried reseting it but that doesnt work. u guys know what is causing this issue??
does anyone know a web where i can put text make it speak and download the audio pls help ?
https://voicemaker.in I use this
we gotta make a presentation on quality life so we are looking for a voice looking for something that would be perfect
jesus christ im doing the same project mentioned above and i cant write long definitions in filmora the letters become too small when i edit it through advanced options
So i don’t really know filmora, but maybe if it gets too small, there is just too much text. Try to split it up 🙂
This is using the program MATLAB. I have done no work this semester and have a project due in 3 days. so just trying to learn the basics now. Anyone know why I'm getting this error?
Suppose p1p2...p100 + 1 is not a prime number then it has at least 1 prime factor other from itself and 1
Since p1, p2, ..., p100 is not divisible by p1p2...p100 the factor need to be p101 or above
but there is only 100 prime numbers according to the exercise
so the supposition is wrong and p1p2...p100 + 1 is a prime number
anyone?? pls help me:>
youy can select the text and then select the size in advanced options and scroll up it increase the text size quickly
Yay did my work now my friends turn
bro can you help??
the first one I think you're missing a variable to count the even numbers in the loop
You are starting from 0, but before printing the number you're adding it, if N = 1 was a test case, you should output 0 right?
But instead you'd output 2
So I would print first and then output...@hasty saffron
Bro, we just started the lesson yesterday and did the assignment right away. dunno how to do it:<
I'm just a newbie programmer @split ocean
Oh then you must first learn to use google lmao
I am not even joking....the internet will be your best friend...
uh, sure
what exactly do you need help on though? you answered both questions
yes pls!
just DM me what you need help on I guess
Dont give out the answers tho...hurts them more than they realize
Anyjuan happen to know a wireless earbud that can switched from a connected device to a previous connected device by press connect button on the other device
I didn't :P
is the charger hot?
first one or 2n one?
FIRST ONE
"//" THIS IS COMMENT
Stop = input
N=0
while N<=Stop // loop
do
N=N+2
end // end loop
//at this point it added number 2 to N N/2 times, so the number of even number is N/2
OUTPUT = N/2
it is just a simple pseudocode, question needs to specify if stop value is even or odd o maybe both
wrong, 0 is also even, so it has to output 1
...the question specifies that you have to print the even numbers. In which universe is 1 even?
It does not want the number of even nmbers
Oh well nvm, I just read the question lol
My bad, it asked to count...
public static void test() {
int a = 5;
int b = a-- + --a;
System.out.println(b + " " + a);
}
I haven't tried this but what is the value of --a?
Is it 3?
Hi
Guys i have an exam i did study but i am so scary to do the exam
Any one can help
what subject?
i have to calculate the max number and the minor number in C using a char vector pointer if someone knows how plis dm
anyone that knows C that can help me with a program?
I'm getting some errors and I don't know why bc it should run fine my opinion
its about concatenateing three strings
it works fine when I do it but when i run a test it gives me 4 Failures and one Error
in the end add:
zusammen[j] = '\0';
yeah i just did that i actually overlooked that
thank you tho @proper wolf
0 fails and errors now 👍

True
how do I convert a string to lowercase without using tolower() in C using ASCII?
for each char, check if its value falls between 'A' and 'Z', and if it does then you add ('a' - 'A') to it
i recommend you check out the binary values for char's
http://sticksandstones.kstrom.com/appen.html have a look at this, and see if you can find the logic behind it
Thank you I‘ll have a look
how do you know if something is wrong with yr charger or battery of laptop ?
what problem do you have?
laptop wont charge and idk if thats a battery problem or charger 🙄
it used to charge till yesterday but had to make the charger roll and get in position so i guess battery problem
Is your laptop's battery a removable one?
ye
well then it's a charger problem
ok
cus removable battery laptop can run with charger on and battery removed
not necessarily, even my old laptop's battery was removable but it was the battery that was faulty
but if the battery died you can still use it with the charger plugged in
Hola a todos, gente hermosa y linda. Espero que tengan ustedes un hermoso día ❤️
Ando en busca de una persona que sepa de Sistemas Digitales para una cosita
¿Alguien?
someone know how james did this??
¡Hola! Espero que esté teniendo un gran día, por favor absténgase de usar cualquier idioma que no sea el inglés. ❤️
estoy aprendiendo español y no soy tan bueno en eso, por favor discúlpeme si hay algún error.
what the chat overlay?
Go to a website called SoloLearn
It’s free
And forces you to think
and you have to make your own notes
or you fail
no look at the mrrror infron of his cam he displaying chat over it
yoo can somebody help me in getting new headphones, any suggestions? if you do then hmu
Can someone help me with HTML? Dm me please, thanks!
thanks!
hey, is anybody here who is proficient in excel and could help me make a simply chart. unfortunately im illiterate in excel
I use these pretty comfy and an option if you want something for gaming too
https://www.amazon.com/-/de/dp/B00SAYCVTQ/ref=sr_1_3?__mk_de_DE=ÅMÅŽÕÑ&dchild=1&keywords=hyperx+cloud+2&qid=1631449498&sr=8-3
Anyone here own a
ThinkPad x1 Carbon, Or
Xps 13 (9310), Or
LG gram 13, Or
Laptop that weight under 3lb?
If so whats the Cons and how long have you had it
I'd say start with a statically typed language like C++, C, or Java
I know a lot of people are big fans of dynamically typed languages. Cool, but they can give new coders a lot of bad habits
oh yeah, and don't start out using IDEs. Learning to compile/run code from the command line and navigate your way around your computer from only the terminal is useful
ty ty!
Does anyone knew how to trace a number?
y'all we have a project, we have to make a music web app using just python, html, and mysql. can we do that ?
i'm so confused, idk where to start.
any suggestions ?
I need help with my college project. My group is planning to make a website which will have the details of all the courses, and people will not have to search on different websites. And I have to write some observations. So, what are the problems that students face when they search for some online courses? For example, it is difficult to find free and good courses and there are so many websites, so we get confused that from which website to select the course. Any suggestions?
(sorry if my english is unclear, I'm not good at english)
is this still available? xD
I own a Samsung notebook 9 pro and I haven't found any cons except for the stylus delayed response
ThinkPad only when it’s getting old or not well maintained so you have problem with the battery to replace, it cost enough and make sure you have official service center in your area/city.
As long as I know (in my experience) laptop that weight under 3lb their con is the spare parts, as long as there is an official service center in your area/city then it won’t be a problem.
What kind of music web app do you mean? Do you mind to explain more?
I’m not sure I understand what you mean, can you re-explain it?
hey :) so we are to create a web app for our teacher , where we basically have a spotify layout, : the playlists, liked songs, search, etc.
i find it difficult to understand since we can't make a music streaming app without all those permissions.(ofc)
but also my dum self thought we aren't going to publish it or anything. just have our teacher look at it.
so yes, like a mini spotify.
in my mind, this is how it could work. You can link your html and mysql with a python web framework such as flask. The mysql portion can comprise of a table with artist, song name, and spotify or youtube urls to the music, so it's all text data (no music files or permissions or anything).
oh okay. that sounds fair. a song database. that's great!
thank you so much for this :))
Like @pearl cedar said flask can work with that. Use youtube link or maybe you want to use free music/free sound from soundscloud or somewhere else which free to use.
Maybe you want to read this as references and take your time, no rush. I hope it can give a bit better picture
noted :) ooh. okay. thank you very much :). i was struggling a lot, and this made a clear picture. so thank you both so much !
Anytime 🙂 ah and if you can't play the vids on realpython website, try to use vpn
:0
okay :))
merci :)
hey everyone anyone who knows anything about data collection or data classification hmu
does anyone know where to learn python? (a book, a website, a video, etc.)
like where did you learn python from
Does somebody know a scientific source which explains the baby duck syndrome, especially in connection with the reason why user hate changes of UI interfaces? 🙂
Anyone know why it's like this?
not when we can't see the code or the problem
lol
hmmm that doesn't look like codeforces or cses
but I swear I've seen that UI before
i watched the freecodecamp yt vid and took a course on ml from udemy
I used to work on code academy and hackerrank and learn from tutorials point or geeksforgeeks. Both are good for documentation
You can read and learn from the documentation of python in the official website https://www.python.org/
If you have more free time maybe you want to watch Corey Schafer channel https://www.youtube.com/c/Coreyms
Welcome to my Channel. This channel is focused on creating tutorials and walkthroughs for software developers, programmers, and engineers. We cover topics for all different skill levels, so whether you are a beginner or have many years of experience, this channel will have something for you.
We've already released a wide variety of videos on to...
anyone knows how to solve this?
i tried
Pub upgrade
pub get
pub clean
pub upgrade major versions
Hoe can i import a java code into a html code?
Well looks like you are using an outdated plugin, ext_storage and have to switch plugins
I'm not sure exactly what you're asking
Hey Folks, this is a link to a research survey. If you have a couple of minutes, filling it out would help me a lot. There are no right or wrong answers, just fill in whatever you think is true.
nvm I figured it out
any leetcode grinder in here. im trying to do 5 questions a week. want to find accountable buddy loll
can someone help me with these
Does anyone wanna do a 30 day Machine Learning challenge with me
any poem related to technology development?
<@&717391911132069929> sweet free scam that mighty carl didn't see
theyre now banned by carl but the message didnt get deleted so im gon delete them now thank you for this 😄
carl doing half of his job... well he's just a turtle, we can't blame him for that ^-^
thanks haha carl is forgetfull ^^
Yeahhhhh , DM me
Yeahh , I am interested!!
an example of a distributed system?
Sounds really interesting
can someone maybe explain what level of recursion is? i figured it takes max 3 comparisons to find the key but idk what to do next
level of recursion means how many times the recursive function has been called
so when would that exactly happen then? i googled the problem and the answer seems to be 3 but i thought it would be 2
I thought the function only gets called to change the left bound twice and not when it finds 899
so 1. middle is at index 2 (7), 899 > 7, function calls itself to change left bound to 99, 2. middle is at index 3 (99), 899 > 99, function call itself to change left bound to 899, 3. middle is at index 4 (899), 899 = 899, m gets returned to program
dm me 🙂
Not sure if you're already done. A good place to start is importing 'pandas' and 'geopy' I will link a article below. (This is assuming you're using python.)
Anybody has any experience using oculus go? Need some help.
Does anybody here solve algorithms on hackerrank?
I am currently doing the problem solving practice there
guys, it's not a school work but I need HELP
My computer froze while I was working on Photoshop. I waited but nothing changed so I forced it to shut down by clicking power button for a couple of seconds. Now when I turn on the pc, machine starts to make noises BUT monitor, keyboard and mouse doesn't turns on. No light, no image. What should I do ?
there could be many different things wrong tbh
you could start by removing the CMOS battery out of your motherboard for a couple seconds
dont forget to completely shut down your pc before doing so
and make sure your grounded
(just touch the tower if you have a metal one, that'll do it)
if that doesnt work... im not sure...could be your power supply. It might be failing to give enough power
I will try it, thank you so much !! 🌸
This might be a foolish ask but did you also check to see if you wires such as hdmi or vga etc.. is still connected to your monitor. In a lot of situations it could simply be just that.
Yeah.. I checked them few times, I was normally using hdmi, after the problem I tried with vga too but It didn't work out. For the keyboard; as soon as I connect it to my laptop, its lights turn on, but it doesn't when I connect it to the pc : (
unfortunately, it doesn't
but the cases/cabinet's lights turn on, it nake noises lol this is such a dumb problem
hmm, the thing is I've never removed any kind of hardware from a pc before. So Im a lil nervous but I guess I'll get help from my dad to remove them -in case- thank youu !
it's prob not that hard ?
I would say try it. Or try it with your dad present. The best way to learn is to do it yourself. But thats also completely up to you. My advice would be to do it yourself.
Thank you so much for directions and have a nice sleep 🙏
ahaha my dad also said the same thing a minute ago and you're right. So I'll probably do it myself, thanks 🙏
good luck !
I re-inserted both ram and battery, and HERE WE ARE
omg thank you guys so much !
@frank star @void halo @drowsy dagger
nice ! anytime ! 🙂
Hi guys, I have an memory issue when training data with the textblob classifier on Jupyter notebook. I also tried to use NotebookApp.max_buffer_size and NotbookApp.iopub_Data_Rate_Limit but still can't fix the problem. Please give me some method to fix, Thanks you very much 😄
add me friend i would like someone to solve and discuss problems with me 🙂
don't shutdown ur pc again, try opening task manager first, i've faced such issues quite some times and they have no solution really...
the monitor was completely frozen, I couldnt... But yeah, I won't shut it down again and just wait..
What is the best OS?
Hello everyone, sorry to disturb your time.
Let me introduce myself, my name is Doohan, i'm from Indonesia and i'm a mechanical engineering student. Now i'm on progress to make undergraduate thesis and my undergraduate thesis topic is about CNC machine. Mind if someone can help me in my progress. I need someone to share idea and discuss about my topic, i will gladly accept your help.
Thank you everyone and have a good time everyone 🙂
thats a interesting question because its completely up to the end user. personally i think linux is the superior OS because of the customization they offer for free. BUT other OS's have their pros. if youre a heavy gamer i would say windows is best in that category. Mac OS has a easy to use interface. or you could use any of the three OS's and just run virtual machines on them if you cant decide.
oh and linux doesnt have much support from game developers(bc most of the casual/pro gamers use windows). thats why i said windows is the best for gamers. when games start releasing on linux(which i heard they were going to start doing). linux(ubuntu) will be my daily OS
hey guys. I am new here. Hope you will know soon each other.
Bro, you made a perfect summary
Linux is so good for programmers and it has a lot of freedom.
is the handling code of the system call part of the executables?
I didn't understand what you mean here, could you please the question
Depends on the purpose, if you need to use high processing softwares for like rendering, graphics, game development or even just for playing, windows is better. If you want purely for coding purpose whose processing doesn't require much computational power, go for ios
Ios?
Mac
Does anyone know how to declare a 2d char array in c when you dont know the size you will need?
i have windows on my pc for gaming and daily stuff but i also have a vm installed but for my laptop that i use for university i have ubuntu installed and i really like it
you'll have to use dynamic memory allocation
have you ever used MAC OS?
Nope
Yeah trying to find out how to do that 😅
Understand rather
if you are going to use a paid operating system would you prefer windows?
do you have a textbook? that should be fine enough to understand it
hello, is there anyone who can help me with understanding a coding problem?😅
If the user inputs: 12 <ENTER>, what does the following code snippet print?
x=float(input(“Enter a value: ”))
if(x):
print(“Yes”)
elif(x>=2):
print(“Maybe”)
else:
2 | 2
print(“No”)
You can write code on discord using three "`" and end it with three same symbols
print("Hello World")
which language
speaking of compiling C, my uni has us compile C code on linux which sounds counterintuitive since to my knowledge. C is natively built for windows and a unix compiler has to use probably something to then convert that newly compiled exe file into something that linux can run. if im wrong please correct me as linux isnt my strong suit but i think its a bit counter-productive and if you guys can explain why my uni uses linux thatd be handy to help me understand. thanks a bunch
Python 3
hey there i am new to programming and have no clue about where to start, can someone guide me?
you could start with something high-level and beginner-friendly like Python
after you learn the basics you can start developing your own small projects, whatever comes to your mind and you think it would be cool to do it - go ahead an write a program that does it
if you want some detailed advice - pm me
Actually, C exists since 1969, before the existence of microsoft. Also it was destined to Unix like systems.
I think you're thinking about C++, but even though, it was never thought for windows only.
thank you, but i heard from my peers that its better to start from C as if you know C you'll be able to catch up on other languages
I think it's perfect, I'm learning C too. But you should know that C is a low level language, that means that for writing a code for a simple program, it is going to take you way more time than it would take you with Python or any other high level. Writing in low level means you are interacting almost directly with your computer and you have to specify EVERY single instruction, while high level are very dynamics and intuitive.
I had java and Python knowlledge before and for almost everithing I choose them, it is not practical nor time optimal to program at low level, unless you need to use them for example for an OS design or things where you need to interact directly with your CPU.
thank you, but learning C will open a pathway for me to learn C++ and JAVA within few weeks as the concept is almost the same and C can help in building up logic with is the most important part of coding.
Also being said that python will be a cake walk after understanding the concepts of low level coding
XD
There is a language for every orientation, just pick your favorite bro.
Give it a go to C then, I love it. Just too stressfull at the beginning.
Yeah, you are correct
'''py
print("Hello World")
yeahh ive had most of my programming upbringing in python, although C/C++ doesnt seem that bad for now
sorry about not clarifiying, im studying c++ in uni
""
'''py
print("Hello World")
""
i believe its 3 of those inverted commas at the start to use a code block
test
ok so at the start and the end
py
print("HELLO WORLD")
Hello I am making a web app using flask. I want to be able to continuously run a script in the background and make it so that when the user clicks on a page, it displays whatever the script is at (example, if it was counting seconds, it would display the amount of second it is at). In my case, I have an algorithmic trading simulator which needs to simulate transactions every 5 days, so I need to make it sleep for 5 days without interruption and still run it without someone clicking on a page. I would display the profit and portfolio on the webpage which is stored in a database every 5 days.
Basically I have no clue how to run stuff on a webapp just like when you run it on a cloud instance.
Don't people use c# anymore? Been doing hackerrank for quite sometime now and rarely find people doing c#
I use it
i'm not a web developer, but didn't you answer the question yourself?
I would display the profit and portfolio on the webpage which is stored in a database every 5 days
on a cloud instance the script (i guess a simulation script in your case) is just continuously running and writing data to the database, so why can't you do the same on your machine?
Guys I need help, I should complete this sequence to have this figure(I can have randomly placed points they dont have to be at the same as the ones in the figure)
But I am completely lost idk how to get a similar figure T^T
I should add a point “Q”
I tried doing:
Q=[(-0.5,0.2,0.5)] but then i get only three points in the x axis and not a “loop”
Maybe i should be working with the “for i in range(n)” to be able to get dispersed points but idk how to do it
Help T^T
The things written in yellow are just there to clarify
True, Good point but I am using a local database file using sqlite3 so Both programs need to be running in the same folder so that they can both access the .db file… I guess I could connect to a MySql or postgresql but I would have to edit quite a few things.
Also I don’t want to pay for cloud so I’d rather have everything run on a free website hosting thing
Is there a way [a single query maybe] to drop all the constraints of a particular table in Oracle SQL?
I googled as much as I possibly can but I couldn't find any query that would do that in one go.
guys, i have a question.
are e-commerce a distributed system?
hey everyone, im new with c++ and im trying to put a pseudocode to work but i dont know where the input should be can anyone help?
Hello.. just a quick question. I have a really old computer running Windows XP(with a pentium chip and 1.5gb RAM) and it had become too slow to use (adding to that windows discontinued support for xp yeeaars ago). So I was thinking to switch to a linux distro which would run smooth in my pc.. Which distro would you guys recommend? (p.s: would arch run in my pc considering my low RAM??)
A) You can’t directly declare a function inside a function in c++ hence you’re getting the semicolon error. So declare the x() function outside of main. Checkout calling functions in C++.
B) Your cin arrows should be pointing the other way. Think of it as input going from cin into the var x. (In your case x isn’t a variable but you get the idea. Adjust it according to your pseudocode)
now i can finally say "I use arch btw"
i installed arch with 1.0gb of ram
but i would recommend slax os edit: only if you're new to linux
you would probably only need a browser some few applications and a terminal
hi, im studying computer engineering with specialization in aiml, and i just joined my uni. I really dont know from where to start, and school will start in a week. Can someone guide me with what should i start? like studying what topics of math and physics and what language of coding like python, c++ etc.... and what is this github and sdjnasjdas im so confused lol
from what ik most uni's start with python,so I think you should start learning that, other than that your course should explain almost everything, plus a quick google search can go a long way for example What is Github used for "In short, GitHub is a cloud-based service that hosts a version control system (VCS) called Git. It allows developers to collaborate and make changes to shared projects while keeping detailed track of their progress." if you have passion for the subject you should be good.
There's a book called pro git in the git.scm website, it's worth reading
Thanks.. will check it out.
tysm mann
my only suggestion is try to understand how the ml algorithms work in the background. knowing 12th class linear algebra, calculus, probability and statistics is more than enough to get started. check out the courses on khanacademy if you want a refresher. try to implement the algorithms from scratch. also try to read blogs and research papers to stay up to date.
there's a book by jason brownlee where he implements the core ml algorithms.
learn how to use the basic libraries like numpy, pandas, matplotlib and seaborn so that you can do analysis on datasets fast without having to google everything.
once you get a basic understanding of how everything works, go through solutions of kaggle winners. this will help you understand how to use stuff in practice. have an active github.
Whoah okay I'll make sure to do all of that, thank you so much!! @royal obsidian @dusky canyon @paper crow
hey im new to python. can someone please help me out here
im watching a tutorial and im unable to follow this one thing. the guy made us install a module called playsound and then he executed a command to play a sound by giving the mp3 file path.
im getting an error, i made sure to follow the steps. idk what im doing wrong. help me!
piece of code:
playsound('C:\\Users\\aashi\\OneDrive\\Documents\\Python\\wee.mp3')```
the error:
im guessing you already did pip install playsound
are you in a virtual environment?
yes i did that multiple times, its still showing this error
i dont know much about virtual environments but im on visual studio code, i executed pip install playsound in the terminal and proceeded to write the former code
Hello World
It worked with me, I don't use that module. But it works.. I'm using Python 3.9, installed the module with
pip3 install playsound
in windows command line.
My pip version is v20, tho there's still an update for pip I think v21
Try re-installing but use pip3 instead of pip
pip3 is used for python3, and it's an updated version of pip. If you're using python3 you better start using pip3 ^^
Short circuit/bricked my graphics card, dm me to help, thank you.

can someone recommend a book to learn Java?
Yeah, Head First Java definitely, and I also recommend you the first 5 hours of this video https://www.youtube.com/watch?v=xk4_1vDrzzo
Java tutorial for beginners full course
#Java #tutorial #beginners
⭐️Time Stamps⭐️
#1 (00:00:00) Java tutorial for beginners ☕
#2 (00:20:26) variables ❌
#3 (00:32:58) swap two variables 💱
#4 (00:36:42) user input ⌨️
#5 (00:44:40) expressions 🧮
#6 (00:49:13) GUI intro 🚩
#7 (00:55:01) Math class 📐
#8 (01:01:08) ra...
Head First and Murach are probably the best books to learn programming from.
But i'm not sure if Murach updated their Java books. Ive had really good experience with Murach's Python book.
But keep in mind coding is not about reading, it's about practice. You gotta practice everything you read and see even if you will copy and see it being executed in your computer again.
anyone know lisp
Why would anyone learn lisp? 
i don't but i have to take lisp to graduate
Ouch, I can feel that.. best of luck, you can do et!^^
I can't I'm struggling
:\
it must be difficult compared to today's languages
Idek what it's used for, all I know its pretty old. Are you new to programming, or the language is just annoying?
I looked it up a bit, it's used for AI stuff and data manipulation I guess
the language is a bit annoying
its so old
im not even gonna use it
Like in the future right
lol yeee
idk why they are making us take it
i feel like idk how to cod4
😭
yeah, I'm not familiar with AI, but I seen a lot of people using Python . I think Lisp is also common for AI but Python from my experience is so much better at any field. except GUI imo
haha, study it anyway if it'll help u grauduate tho : )
I don't even think 90% of my college subject is helping me with anything that's applicable irl situations XD
This is the worst class ever idk how to code
: \ , I'm sure you'll figure it out^^, I wish I had lisp knowledge I would help you though
Hey, anybody who knows Spring MVC, Hibernate and SQL could help me with one question?
can anyone help me with this code
#include<stdio.h>
int main()
{
float n,m;
char op;
printf("Enter the operator +:Addition -:Subtraction :Multiplication /:Division \n");
scanf("%c",&op);
printf("Enter the first number:\n");
scanf("%d",&n);
printf("Enter the second number:\n");
scanf("%d",&m);
switch(op)
{
case '+': printf("Addition of the numbers is %f",(n+m)); break;
case '-': printf("Subtraction of the numbers is %f",(n-m)); break;
case '': printf("Multiplication of the numbers is %f",(n*m)); break;
case '/': printf("Division of the numbers is %f",(n/m)); break;
default: printf("Enter a valid operator."); break;
}
return 0;
}
the output is showing 0.0000
shouldnt you use %f to scan float vals?
is there any discord server for programmers,specially for student who's studying related in programming.
can someone help me code?
im having trouble with my school work
message me if anyone is kind enough to help me
10 usd and i will create that
10 usd = just simple project
15usd = outstanding design
i bet you can learn and do it yourself in under 45 minutes. its really simple.
Yeah this is a 2 minutes page if you already know html :3
Can anyone suggest yt to learn Python from basics?
This course will give you a full introduction into all of the core concepts in python. Follow along with the videos and you'll be a python programmer in no time!
Want more from Mike? He's starting a coding RPG/Bootcamp - https://simulator.dev/
⭐️ Contents ⭐
⌨️ (0:00) Introduction
⌨️ (1:45) Installing Python & PyCharm
⌨️ (6:40) Setup & Hello Wor...
Thanks for the help!
is it U AND (L OR R)?
Anyone having access to IEEE research paper then please contact me I am not a member of that but need to download a research paper for my project
Somebody who are good in C++
Write a program that accepts as input the mass (in grams) and density (in grams per cubin centimeters),
and outputs the volume of the object using the formula: density = mass / volume.
Format your output to two decimal places.
yup thanks, I missed that part!
Anyjuan happen to know if oppo enco free 2 earbud can switched from a connected device to a previous connected device by press connect button on the other device?
sure thing!
I hate lisp
Tho, honestly this is pretty simple, I think if you're attempting just first lecture or watched a 10 minutes youtube video you would have figured it out..
I highly recommend you to take the time to understand what things actually mean, so you can solve them yourself later.^
Anyways, here's the solution,
#include <iostream>
using namespace std;
int main(){
// This is the top students
string student1, student2;
cout << "Student 1: "; cin >> student1;
cout << "Student 2: "; cin >> student2;
cout << student1 << " " << student2;
return 0;
}
can someone explain to me what is entity cluster in database?
Ohhh orite then thanks
how to fix this guys please, I published my system for thesis then this shows up when I'm publish it.
Is it possible to use output values of a function as input values of another function in python?
Yes, with storing it in a variable, then using that variable as an input to the second function.
#!/usr/bin/env python3
def echo():
return "echoing something"
result = echo()
def echo2(arg):
print(arg + "__________324")
echo2(result)
I'll try that, Thank you
Oh wait, but my function1 has 2 outputs..
and they are 2 lists
You can dm me that function's code I'll take a look at it
Does anybody know how to decrypt a gif to get a pdf file hidden in it?
how does that even work? can u share the gif. idk but im interested
try to decompress the gif with zip, 7z, tar or rar
i dont know if discord allows it
download the gif
and check it out
idk dude. i opened it as a txt file and found some rdf header files. so i saved it as an rdf file but i was unable to open it. the special characters were throwing some errors. so i wrote a simple script to remove all the special characters from the file but that still doesnt work
no decompress option
codeacademy if you want an interactive tutorial
https://www.learncpp.com/ if youre fine with reading material
can anyone help me with C problem? its with pointers and strings
i need to recive a string with a full name and return a new string with the initials of this name
the variables are in Portuguese but i think its understandable
You need to think about how you want to return the initials. Probably the best way is to return a char pointer to a null-terminated string. The problem here, is of course that you don't know how long that string has to be. Therefore you might want to loop through the string first, and check how many names the person has, and allocate a char array accordingly, and then loop through the name once more and write the initials to your array. Another way is to simply assume that an array of say size 5 will be enough to hold the initials
Here is some code for you to consider:
const char *get_initials(char *name){
int number_of_names = 1;
// Counter number of names.
// (what assumption do we make here?)
char *tmp;
tmp = name;
while(*tmp != '\0'){
if(*tmp == ' '){
number_of_names++;
}
tmp++;
}
// Allocate space to write the initials to
char *initials;
initials = malloc((number_of_names + 1) * sizeof(char));
initials[number_of_names] = '\0'; // What does this line do?
int initial_index = 0; // Keep track of where in initials we want to do
tmp = name;
while(*tmp != '\0'){
// Continue here
}
}```
it works!!1 Thank you so much @thin hound, you helped me a lot.
no worries, happy coding 😃
does anyone have an idea for intermediate react.js project
Yeah, look up steganography. learn about it and you will know how.
But your sentence is incorrect technically.
There are tools to do, I remember seeing ppl using DeepSound for hiding files in mp3,wav,wma formats.
Actually there was this bug in discord before, not sure if it's fixed or not. But gif crashes the discord.. probably targeting electron.js based apps
/Guys I need ur help, our professor assigned me and my team in conducting this webinar thing, but I'm kinda new and unexperience in speaking in public virtually. I hope you guys kindly join if you're interested? So with that, Thank You in advance!/
A pleasant day to everyone!
The Team DigiByte will be having an 'Introduction to HTML and CSS' webinar, in which it is a free webinar and you're all invited to join through Google Meet & Facebook Live. Our resource speakers, Mr. Sean Kyle Pasco & Mr. Chris Leonel Villahermosa, will be discussing the basic details of two main components of modern webpages and also sample demonstrations which can help you understand better how HTML and CSS works.
We will be distributing our E-Certificate through your registered gmail account and it will be given to those who'll register, finish and complete the evaluation form.
REGISTRATION LINK: https://bit.ly/3D2uoRs
We hope to see you all on October 5, 2021 at 1:00pm
im sorry to say that I'm from Philippines, and the time at 1:00pm is equivalent to 1:00am in in Washington, DC, USA
For more questions and inquiries, please contact us at officialteamdigibyte@gmail.com
By registering for this event, you agree to the collection and use of information in accordance to the Republic Act No. 10173 or also known as The Data Privacy Act of 2012. All of your 'Personal Information' that you have provided shall be responsibly used and protected by the Team DigiByte. Thank you for entrusting us your personal information...
yh and no
I can find out what metadata is in the gif but cant actually access it
