#tech-related-help
1 messages · Page 25 of 1
you gotta format your code with the three ticks then type html
plus we dont even know what you're trying to achieve so how are people going to help
Anyone know any cool features in Mac which windows does not have cause I don’t know I am bored I switched recently
thank you
hi folks
i need help in designing my mongoDB schema
So there is a user modal with basic user info (name ,email,password)
Now i need to make another modal called batches including info like (batch name,no of users)
I am getting confused on how i relate them like
i also have to maintain the plan that perticular user has taken eg 30days or 9days etc
A user can take multiple batches and have different plans according to the batches
HEY!
should i upgrade to win11 ?
probably not
any particular reasons?
i mean... first of all it looks kinda bad (tho its just my opinion), from what i understood many things changed, rather than relearning windows i'd say learning another os would be cooler (or just staying with windows 10), i see it as shady (primarily bc its proprietary and i see everything as shady) but umm.. yeh thats it... also.. why yes lol
answer of the year 👍
does anyone knows c++ language .....i need some help
i can try to help @daring garnet
Hey thank u for replying .... I need some help with college practicals
I am unable to msg u
Hi my pc is being blue and restarting again again can’t someone help me to fix ?
CRITICAL_PROCESS_DIED
SYSTEM_THREAD_EXCEPTION_NOT_HANDLED
IRQL_NOT_LESS_OR_EQUAL
VIDEO_TDR_TIMEOUT_DETECTED
PAGE_FAULT_IN_NONPAGED_AREA
SYSTEM_SERVICE_EXCEPTION
DPC_WATCHDOG_VIOLATION
All the resources you need to give yourself a world class computer science education
^ If you're new to computer science, this is a great place to start.
You can use Unix commands, thats about it though.
i've been learning SQL for a few days, and i got struggle with this task, the correct answer is (30,y), (70,t) but i dont know why the last option is not the correct answer, please help :((
still need help?
does it output anny error code?
hi, i need help with the implementation of a minimax algorithm
more specifically, how do you store the move with the best evaluation?
wikipedia explains this pretty well
Minimax (sometimes MinMax, MM or saddle point) is a decision rule used in artificial intelligence, decision theory, game theory, statistics, and philosophy for minimizing the possible loss for a worst case (maximum loss) scenario. When dealing with gains, it is referred to as "maximin"—to maximize the minimum gain. Originally formulated for n-...
anybody work in MySQL Workbench
sorry, it's not the theory i dont understand, it's specifically the way the move is chosen from a list of moves after finding the best score
Just set the current move to the best move found
and let the algorithm run
updating the current move as you go
hi, sorry, how would i go about traversing back to the parent node of the best move?
keep the best move stored in a variable
so that way you have a current_best and a alltime_best
so that way you never lose the best option you found
hi dude, im using engineAnswer as alltime_best and bestMove as current_best but im still unsure of where to put the lines of code to store them
the recursion is messing with my head
What's the issue with that code?
Oh wait
You need to compare the moves in the end
You only want to update the all time best move if it's worse than the best move found
The way you are doing it, it will always update to the best move found regardless of what the best all time move is
Is this intended?
no, it's what i have tried and failed
well you just need to add a line of code that compares both moves
where would this be?
would look something like this:
(pseudocode)
// after the for each loop
if(eval_move(AllTimeBest) < eval_move(currentBest)) {
AllTimeBest = currentBest;
}
this would replace the line you have after the for each loop that assigns the move to the all time best
ok, i'll try this, i appreciate the help greatly
np man gl
yess ?
Hey guys anyone familiar with python’s basics?
I’m in desperate need for a helpp
Q1
“Write a python code to get a sub list that contains even numbered index values of a given list. Assume that L= [5,10,15,20,25,30], output should be: [5,15,25]. the code should works with other lists too, for example, if L=[3,5,8,13,18,21,23,25,29] your code should generate [3,8,18,23,29] as output. “
Q2
“Suppose you’re given a tuple by the user, in the first input line. This tuple should contain only integers. The user has forgotten one of them and used a “?” string in place of it. After remembering the value of this integer, in the second line of the input he enters a two tuple. The first number is the index of the “?” And the the second is the integer value that is going to be substituted in place of “?”
You’re expected to fix the original tuple with this later information and print corrected tuple
Sample run:
Enter your tuple: (1,2,”?”,4,5)
Enter your index and missing number: (2,3)
Your tuple is now: (1,2,3,4,5)
yes sure
return L[::2]
should i upgrade my laptop ram from 8 to 16gigs??
you have to install suporting files for php to run on vs code
yes, if your work require more ram or you do multiply tasks!
hi, anyone know something about blender cloth simulation? im having some troubles with it
are arrays passed by reference and vectors by value if not specified otherwise explicitly in c++?
Inline Image and Text
so I was working on building a small website
I'd like to ask how I could put the paragraph higher
it doesn't matter in which sequence I put paragraph btw
PS: I'm new, so please don't be too harsh on my code😅
For me I would put all your 2 divs into 1 div
In your css I would use the attribute display: flex
Name that new div like container or something
With display flex you will be using other attributes like align-items and justify-content
you can give avatar class a property of display:block; (in your css code)
@rotund pond i wrote something like this, i hope it will be helpful
Q1:
numbers_list = [1,2,3,5,8,11,10,7,9,20,6]
even_numbers = []
for number in numbers_list:
if number % 2 == 0:
even_numbers.append(number)
print(f"Even numbers: {even_numbers}")
Q2:
my_tuple = input("Enter your tuple: ")
my_tuple = my_tuple.split(" ")
print("Your tuple:", my_tuple)
edit_num = input("Enter your index and missing number: ")
edit_num = edit_num.split(" ")
my_tuple[int(edit_num[0])] = int(edit_num[1])
print("Your tuple is now:", my_tuple)
That’ll also definitely helps; I really do appreciate it!!
you're welcome :)
Hello!! Anyone here familiar with nuxt and vue?
Yes, I can help you with Vue
Oh thank u! In the meanwhile I somehow figured the situation
cool
Do you guys think Python is a good start into computer science ?
Hi I really need help with my final exam assignment. Anyone know python
please contact me ill send folder
Yes, I will guide you
Yes!
guys tilling WM or floating WM?
Anyone good at microcontrollers? especiallly stm32f407
HOW DO YOU RESPOND TO THE CHALLENGES OF GLOBALIZATION AND THE DIFFERENCES OF MINDSETS CAUSED BY DIFFERING GENERATIONAL RELATIONS TO TECHNOLOGY AND SOCIAL MEDIA?
Hello im doing webdevelopment jobs and im trying to make a new to team so i can do more jobs, for any details dm me in case you would be interested, as long as you have skill i dont mind if you are still a student. I will test your skills in the end. Thank you for your time. Have a nice day. 😄
It depends on what you wanna do, but in practice it'll be fine yeah
god I hate frontend
Well, I'm pretty interested in programming softwares, apps etc.
So Python is a great language to learn in general. But when it comes to this response of "I am interested in programming software's, apps, etc.." there is a lot more questions that you need to personally answer here. Like for example, I work as a AI Research Engineer so I use Python as my everyday language currently. But in my previous role I was a Backend SWE so knowing a programming language was good but knowing JavaScript was critically important as that was the language that I was going to be using for my day to day work developing API's.
All in all, learning any programming will set you apartment from the rest of the pack. But ensuring you know where your programming interest aligns and learning the languages associated with said interested I believe is critically if not the most important of them all. So for you if you want to do apps, a question that needs to be answered is what type of apps would you like to work. Would you like to work with ioS or android apps?
Again I just want to make it clear that Python is still a good first language but also think about your long term goal as Python will get your foot into the door but than from there where would you like to go is my point.
is there anyone who can help me installing kali linux in win10
i have seen options like vmware , wsl , dual boot .
dont have much knowledge about that . but want to try linux
also it would be very much helpful if there is anyone doing animation works
i would like to get the resources , i am pretty much interested in that side . but not sure where to get the infos or resources as youtube stuffs are pretty scattered
depends and i would say find ur own language. if u like and easy to understand python then go on.
depends on what you want to do tho. I would recommend you check the University course details and then learn the language they would teach before hand
I am studying CS now and we r learning 2 languages: C and Java. I am learning python too (self-study)
if you want to do data science or math or something then yeah i’d recommend you do Python.
I personally recommend starting with java
could anyone help me with my mac?
it's better to mention the problem
oh thanks a lot but i've already fix it
IMO the answer is no, if you want to study CS or any other major related (Software Engineering, Computer engineering, etc) avoid python as your first approach to a PL. Python is amazing and it offers a lot of widely used features that makes everyone life better, BUT it also makes you feel that PLs are easy bc it is at a quite high level of abstraction that is hard to find in any other PL. If you want to learn seriously a PL start with C or C++, when you feel comfortable with whatever of those you can learn then Python, Java, Go, Swift, Haskell, almost anything because you have a solid base. That's it and good luck!
So basically, just so you guys know, the specialised substances (they might help) of my high school are as follows : PC software
Programming, Web applications, Operating system, Computer networks, Application software, Office software, Multimedia, Graphic Design, Economy, IT specialization
And tbh, I really want to know if it makes sense or if its worth it to study any PL before high school
it makes sense to me, but learning is always valuable, no matter what
IT is based on curiosity and learning skills so you never going to end that journey bc technology is always reinvented itself
Free web hosting and tools that allow anyone to create a website. Join our community today!
This is literally the best way to learn html
no...
It's the best way to learn anything
having a cute cat cheer you on while he teaches you stuff
A good start into programming? Yes. A good start for computer science? No, but with the caveat that it is a good tool to find motivation to get into CS, but it will allow you to develop a bunch of bad habits, and doesn't give you much understanding of what is going on under the hood. It depends on what your goals are.
I have a basic question about the for loop in python can somebody help?
maybe
https://youtu.be/rfscVS0vtbw?t=10705
so I'm currently learning python from this guy on youtube and on this section he was writing a simple code that turns every vowel into "g".
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...
what is confusing me is that he didn't give the variable "translation" the value of the variable "phrase", yet the code still worked and I'm not sure why?
I assumed it would be something like
if letter in "AEIOUaeiou":
translation = phrase + "g"
if you do that, when it hits inside the if statement the output would be ''To be or not to beg'', and the previous value of translation will be gone
basically what he does is updating the string assigned to translation
it works like
"T" is not in the list, so translation = translation + letter => "" + T = "T"
"o" is in the list, so translation = translation + "g" => "T" + "g" = "Tg"
and so on
ohhhhhhhhhhhhh
that makes sense thanks. I previously ignored what was happening under else for some reason😂
no worries
it's better to think line by line with an example when you don't understand something
that makes sense, it's just ever since he started explaining functions I got confused for a bit
hello, im thinking about starting swift, and iv been trying to download xcode for windows but i cant, does anyone know a way? also do you think its a good idea to start swift as a first language
Hey guys, is any one here pursuing cyber security? Im kind of lost on where to start
Read books and learn from various sources but make sure that they are correct
Internet is an ocean of information you can find anything you want
Learn a language (atleast the basics) like python, php, Java etc..
Learn to use different operating systems specially linux
If you want any other help you can ask
jesus lord
Http
Understand http, and the concept of web first
Hey, does anyone use the languages scheme
https://youtu.be/2TofunAI6fU
This video will answer your questions!
totally clickbait. but also not clickbait. I don't know where to start hacking, there is no guide to learn this stuff. But I hope you still have a plan now!
Checkout: https://liveoverflow.com/start-hacking
How to learn hacking - https://www.youtube.com/watch?v=iKXd9zW1OuI
Stuff that looks cool:
crypto challenges - https://cryptopals.com/
war...
THANKS GUYS
start small. First watch some videos about how to start, then google a bit. If it's okay for you, take a course on Coursera or on another platform or continue with youtube channels (Hackersploit is a great one to start!). But rather than only focusing cybersecurity materials, learn one of c programming languages, java and etc. You need to think on objective, 3rd person side. I think that's pretty much it to give you boost to start. Don't search too much. Just focus on starting and eventually you will start to guide your own roadmap. Good luck!
Thanks guys, this clears up a lot of my questions i was just googling for hours
time to grind 🤠
hi guys i had a few questions on BME. so i'm considering taking this in uni, but i don't know a lot about coding and alot of the programming languages, should i be scared? do you have any tips?
hey guys i need help
can anyone help me?
compare and contrast one dimensional array and two dimensional array
your query ?
thank you
hey guys this is a school project and i was wondering if you guys could read it and give me feedback 🙂
thx
do u have the code for encrypting and decrypting a file
If the message above contains a link to free nitro, it is most likely a phishing link. Please DON'T click on it to protect your privacy. You can notify the peeps by tagging them ( @peeps ) and they will take care of it as soon as they can. Please don't ping them if someone else already did in the chat thank you.
Hey is anyone here studying/studied Comptia A+ 1002? I go for my exam next weekend and gonna study all day
Aw darn
Hey, does anyone know of a online tool or something that can make trees like this automatically by just writing in the hierarchy with text input?
VisuAlgo was conceptualised in 2011 by Dr Steven Halim as a tool to help his students better understand data structures and algorithms, by allowing them to learn the basics on their own and at their own pace. Together with his students from the National University of Singapore, a series of visualizations were developed and consolidated, from sim...
u mean like this?
Check out the odin project: https://www.theodinproject.com/ It teaches both javascript and react
Its free too
Thank you so much @slender quail
np
Hello im doing webdevelopment jobs and im trying to make a new to team so i can do more jobs, for any details dm me in case you would be interested, as long as you have skill i dont mind if you are still a student. I will test your skills in the end. Thank you for your time. Have a nice day.
Hello I'm looking for a discord server like this one - but for coding, does anyone here know one?
those were not for you
oh if you were talking about those links it was for Kesar
i want to get started with linux which distro should i use
also is there any way to flash it onto intel mbp
or is vm good enough
@open solstice so what distro do u think is best to start of with?
ubuntu 18.04 or 20.04 is good for beginners imo, as any problems you may have are often easy to google
ok thank you so much @thin hound
Hey. So I am gonna be taking data structures and need some advice..
How can i print s to show me numerical values as answer? Like fx [0, 5] and [0, 10]?
I think from what I remember from Jupyter you should execute everything in one box
I mean every “box” is running indipendently and based on results from before
So if you ask to print s it obviously shows you what is the value memorized in the kernel from before
I don’t know how I can explain well cause I have lost hand with python and jupyter but
Used Jupyter a few years ago in my Operation Research lab
anyone can help me in python right now?
python code i am not getting
solution you give me?
Can anyone explain this code to me?, and by explain I mean how the code works.
hello people. Does anybody have knowledge on computer graphics and the algebra needed for some of the algorithms?
preparing for exams and I can't solve one exercise, some help would be appreciated
I don't think this for-loop alone should cause any segfaults, the logic seems good
assuming you initialize aCount and bCount to 0
sure
yeah, that's a headscratcher
I don't know a lot of C++, only C, but I can't find the error. I'd suggest printing aCount and bCount to make sure they really are 0, and you could also try to do the for-loop only up to 50 or something, and check if you still get a segfault, as cases like these often are off-by-one errors. Also, I'd try to compile in debug mode if you haven't already, and your compiler supports it.
you could even extend the size of aDeck and bDeck to 27, and if that works, it's an off-by-one error
this thing gives me assembly headache
at which line do you get the error
debug it line by line
i suppose you could try
int foo = aDeck[aCount];
deck[i] = foo;
and see which line throws the fault, which would tell you if the fault arises from reading from aDeck, or writing to deck, which potentially could help
unix command line help
$ ls -a ~ | grep _ > underscores.txt
what does this do
acc just explain this one
$ ls -a ~ | grep _
ty
could anyone help me out with Power BI? I'm doing something very basic but it's not working. I'm using this view imported from SQL: with a slicer for the year 2004, but it's not working
never mind
got it to work lol
i used the yeardata from the database instead of the view ^^
i had to use both from the view
OH MY ZSH!
hey, so i have an exercise in which i have to use a function to present the multiplication table of 3 numbers introduced however after that appears in the console my code asks for another number where it says "Insira um número" and i dnt want that to appear, ive tried to use a if to make it not appear but its not working and its starting to drive me crazy lol can anyone help?
guys i need someone to write my programming project. do you know any websites where i can hire somebody?
has anyone used slurm to schedule jobs on linux/unix kernels?
or anyone have experience with unix in general?
If you need to do Console.Write and Readline 3 times, you should try to only do it inside the loop. You can use this logic:
static void Menu()
{
int numero;
for(int i = 0; i < 3; i++)
{
// 1. Print "insert number"
// 2. Readline()
// 3. Print table
}
}
There are basically n integers in the array, and each integer needs (typically) 4 bytes. So the number of bytes is logically enough, 4 times the number of entries. The solution you found is good
thank you! its kinda late but i will try it tmrw : )
This is very likely a scam as a mod in an another server warned members of this. In that case, the person's discord got hacked.
and that's a good catch too
yea it seemed so out of the blue
ty
@unkempt ocean ^ scam
u tagged the wrong person btw but its deleted now 🙂 thanks
oh lol, my bad.
delete lines 18 and 19 and take the lines 29-30 to the beginning of the loop
or yeah somebody also explained that
Thank you tho!!
You and the other person showed me two different ways of doing it : )
macbook air m1 vs thinkpad t14 r5 both base variants
what are you gonna use it for
im starting with data science ug degree
for college purposes
Helooou, I am a computer science student trying to focus on making different projects for my portfolio. The only thing is that I don't want to work on them by myself so I'm looking for people who are interested in working on programming projects with me 😊 if someone is interested just message me, thaaanks : ))
hmm
I think you should first look for laptop reqs in your uni/programme
if they both are fine with reqs, and if you are only going to use it for college, then both will be fine, it's just your choice
but i'd personally go with mac
because I like the design and usability, they both have pros and cons in some areas of computational sciences, but they both are like equal imo
unless you are going to use linux (but it's not a problem anymore because there's docker), because it's harder to use that stuff in m1
other than that I heard m1 chip has some problems with computer graphics area but that just what I heard so keep that in mind
they solved them all with m1x tho, so if you have money m1x one would be a better choice
max or pro?
or is it no difference
for uni student
I think they both are okay (max is deffo okay, but i'm not 100% sure about pro but probable it's okay)
bro but they are so expensive
yeah lol
that's apple thing
m1 is also fine as I said
you can do all of the things with m1, but as I said ppl had some problems in the computer graphics course
also if you are not (going to) study a computational area, m1 is perfect
i personally don't use mac, so idk, but m2 should be better ofc
yep, but there's docker
oh really, but u said u prefer it
then why go to windows
last year my school said they don't prefer m1 chips, because there was no way to use vm, so I bought my current laptop and after that docker solved the issue
what laptop?
if i may ask
and my school said it's ok to use m1 now
dell xps
13?
15
the xps displays tho
and design is very good at both
yeah screen of xps is cool
I don't have 4k one because it was 200euros more and it decreases the battery life
@unkempt ocean discrod is back
on 13 inch there is no difference in 4k or uhd
i just dont want touch
i have ipad pro and it i sreally good
i also have intel mac but its pretty muc dead now so i need a new comp
I had the same issue
Touch screen is not worth it imo
So yeah
That’s the reason of the lower battery life
exactly
but it looks so sleek
do u have black or white
Black
yep good choice
im thinking of that as well
can i ask if u prefer android or ios @open solstice
ios
the other one is more expensive for no reason, and I think this one looks better lol
Could not agree more
does anyone know what's wrong with this code
I need help
I switched to linuxmint and now theres a black bar on right side that's shortening my display
😭😭😭
if dataset[i] == x[0]
i = 0, so Python read like this:
if dataset[0] == x[0] but dataset's type is dict and you can't search like this in dict type
you should search by "key" value
I screeenshooted and it looks completely fine
But still
It has shortened display
Not good quality
But I hope you can understand
What I mean
Yes thank you I figured it out
hello what is F(n) for this code? f(n) = 2n^2 +2n is right?
you're welcome :) good works
you mean number of operations?
these "if's" = 2n
yes, number of operations
and this is my attempt to find f (n)
but i don't know if i am doing it correctly
hey do you know what caused the display problem for me ?
i explained it above
sorry 😦
I think it's 7n^2+5n+2
3n+2 for the first loop
3n^2+2n for the inner loop
there is no such answer ;/
and 4n^2 for the if statements
ye
what's the exact question
How many dominant operations this code will perform
"licz < x" is dominant operation
so there are 2 dominant operations
are you using vs code studio ?
virtual code studio *
ooooh dominant operations
visual Studio Code ?
ye
can u explain this?
yes
look there are 2 dominant operations "if (licz < 500) ..." and "if (licz > 30)" and we must count how many times they will be executed depending on "n"
I am confused with the term dominant operations
ohhh
then it's 4n^2
why
they are inside of a loop inside of a loop
so 1 operation will take n^2 in that area
but, the second loop have "j<i" not j<n"
comparison is 1 operation, printing is 1 operation, so 2 operations for 1 if statement
Hello im doing webdevelopment jobs and im trying to make a new to team so i can do more jobs, for any details dm me in case you would be interested, as long as you have skill i dont mind if you are still a student. I will test your skills in the end. Thank you for your time. Have a nice day.
Hi Im currently at my last year of High school and just wondering if I should take Computer Science or Computer Engineering does anyone has any experience with those courses? Im currently still confused on what course should I take
It depends on what you want, computer engineering is like a substudy of electrical engineering, mixed between computer science and electrical engineering
in computer science, you are focused on the software side, while in computer engineering you also learn some hardware stuff
physics is needed for ce and it's not needed for cs
Ill be in room 1 doing my uni ethical hacking module so if anyone wants to see that ill be sharing my screen
why i can't get solution for t?
does anyone know how i can get both of them on false and get the search for other pet option py isDog = False isBrown = False if (isDog == isBrown): decision='adopt this pet' else: decision='search for another pet'
now its giving me adopt but ive to change something in the if statement and idk what
do you want to do something like this?
isDog = False
isBrown = False
if isDog and isBrown:
decision='adopt this pet'
print(decision)
else:
decision='search for another pet'
print(decision)```
ahhhhh broo thank you so much
:D you're welcome
I don't understand your question
how would i unit test the functionality of my output stream in c++
eyo
anyone here knows how to host a static website on github
i followed the tutorials online but it keeps telling me error 404
The site configured at this address does not contain the requested file.
If this is your site, make sure that the filename case matches the URL.
For root URLs (like http://example.com/) you must provide an index.html file.
<@&717391911132069929>
<@&717391911132069929> don’t click everyone 
Peeps
these scammer links :/
<@&717391911132069929> sorry to bother you in deleting another scam link
anyone?
s = ''
while x < 10:
x = x + 1
if x % 2 == 0:
s = s + str(x) + ' is even'
else:
s += str(x) + ' is odd'
print(s)```
How do i make it return only one time now it returns like '1is␣odd2␣is␣even3is␣odd4␣is␣even5is␣odd6␣is␣even7is␣odd8␣is␣even9is␣odd10␣is␣even' but i only want
3 is odd
@idle dew Well to return '3 is odd' you can remove the while loop and set x = 3
Thank you
<@&717391911132069929>
Does anyone know about autocad? Why I only have the option to save it as dwf and not pdf grrrr 😠 Im sooooooooooooo effiiiiiin stresseeeeeed ffffffffffffffffffffff
Anyone studying C , in particular the IPC objects? ( shared memory, semaphores, …)
<@&717391911132069929>
holy i need help with my cs hw
show
If you have acrobat you can use create PDF tool and upload the dwg file. If not try using any online converter.
You can use Plot option as well in autocad
Do you mean like this?
so it shows the formula not the value?
The color you can change it by using the table design - quick style, it will follow the color format when you dropdown or enter
I did this by select 2 rows 2 column cells - go to insert - select table, fill the number in the row 2 column 1, fill the formula in the row 2 column 2 then enter (by this next row will be automatically formatted by the color I use and the value shows), dropdown will show the same result as this
Since no value on the column 1, the values returns zeros
I hope I didn't misunderstand you
hey guys
im trying to create a discord bot
and i want to display an image
however the bot ends up displaying the appropriate text
but not the image
does anybody know how to form a radar chart using python
quick google search shows different libraries you can use for that, like this one https://plotly.com/python/radar-chart/
yea i did this
jus didn't know how to apply it to my data set
anyway i figured it out yesterday. thanks anyway 🙂
Yo, anybody still up
go to advanced options
I already went tru that multiple times, still no fix
Check your bios maybe?
#include<math.h>
using namespace std;
int main ()
{
int i = 1, j, r;
float num;
char hex[50];
cout << " Enter a decimal number : ";
cin >> num;
long temp = num*pow(8,8);
while (temp != 0)
{
r = temp % 8;
if (r < 10)
hex[i++] = r + '0';
else
hex[i++] = r + 'A';
temp = temp / 8;
}
cout << "\nOctal equivalent of " << num << " is : ";
for (j = i; j > 0; j--)
cout<<hex[j];
return 0;
}
main problem is that I don't know how to put fraction after the first digit is shown.
`int main()
{
int userInput;
//Loops through the recursion method until the user inputs 0
while (1)
{
printf("Value: ");
scanf("%d", &userInput);
if (userInput < 0) //This is the line that needs help
{
return 0;
}
if (userInput == 0)
{
printf("Fibonacci number %d is %d\n", userInput, fib(userInput));
return 0;
}
printf("Fibonacci number %d is %d\n", userInput, fib(userInput));
}
return 0;
}`
how would i make it so that it ignores the user's input if they input a value that's less than 0 and continues through the loop prompting the user
for example the console will display: "Value: " then user inputs '-1', then it ignores that input and continues to prompt the user, "Value: " until a number <=0 is put into the console
do
{
printf("Value: ");
scanf("%d", &userInput);
}while (userInput<0)
you can change it to that
Thank you so much
Hi! I was wondering if any iPad users were in this server, and if they think their iPad replaced the need for a laptop entirely?
can explain to me the difference between a class and id in css
i googled but i still dont get it
Has anyone used matlabs before?
not entirely. There will be occasions that some websites require you to access through a computer only. Some tasks can be done faster on a laptop too, but there are tasks that are the other way around, i guess.
you can do all your daily tasks on an iPad, but a laptop might do a better job at managing your resources, like files and data. But if you're subscribed to iCloud storage, that should deal with it for you.
Hi everyone, any tips on how to improve problems-solving skills in c++? Maybe some resource (courses, books, websites) recommendations?
tysm!
Try solving problems on codeforces.com
start with easy problems on geeksforgeeks practice, then do codechef and codeforces contests and if u have time u can do leetcode, interviewbit problems they are also good
How many comparison operations on the variable "licz" will this program perform?
(3/2)*n^2 - (3/2)n is ok?
I think 3n^2-3n
does anyone know what the \t and \n mean?
and does anyone know how to make it so that after the first kolom theres also lines
thank you!!!!!
I have seen some videos about programming and want to learn it (not like getting degree) . Can anyone tell me where to start first and recommend some yt channels or playlists regarding it. and if I learn programming what type of things can I do with that knowledge.
I don't recommend using yt to learn programming tbh
there are good free websites like codecademy and others
I have seen some videos regarding programming in a channel called freeCodeCamp.org but couldn't decide where to start
like what should I learn first
?
web dev
ok and will it help me for game dev ?
ok so different game engine uses different language I get it now
thanks @drowsy dagger and @abstract sequoia for the help
i would kinda disagree with that youtube is a bad learning resource, i've learned so much from it :)
sure, there's tutorial hell and stuff like that, but if usef correctly (as a side resource) it's really helpful!
good luck on your programming journey @idle dew !
unity is great if you want to learn game development. when i started out, i picked unity after month of learning python. i think unity's a good place to start out, but be careful of tutorial hell. it basically means that you can't create stuff yourself, and you can only implement stuff using tutorials or by copying other peoples code
in the beginning it's understandable and totally fine to follow along tutorials, but you should be able to do really simple programming projects after a while by yourself :)
i don't have enough knowledge of unreal to tell about that
OK got it and thank you
yes, but unity's c# differs a bit from "real" c#. :)
ok
and also, good luck on learning programming!! remember, it'll take time, enjoying the journey is sometimes the most important thing here
👍
also, if you have interest in doing other projects than gamedev, i would recommend that you watch this video. it basically explains what I try to say in a much better way :) https://www.youtube.com/watch?v=nBaCRp9UzDw
I've been making games for 7 years and I'm still glad I chose to use graphics library. The choice of whether to use an engine or not really is something people forget to consider nowadays.
My Projects:
https://dafluffypotato.com/projects
Discord:
https://discord.gg/9Qt2GxF
Patreon:
https://www.patreon.com/dafluffypotato
Potato Tier Patrons:...
i'm sorry if it's not allowed to share links, i'll delete this then.
also, i'm not saying you shouldn't use unity. it's a good engine if you want to make games.
otherwise i would recommend to learn programming with a language. it's much easier to switch to a game engine from example python or c++ than vice versa :)
Can someone help with a study guide java Using Objects and strings
hellou, can someone help me with python:) I´m a beginner and dont understand some functions. would love to hear from you !! xx
@past totem hi, you can send what you don't understand, i would be glad to help you out if I know what you need 😄
If you have questions I can help you
muchas gracias!!.. but I already solved the problem 🤓
hahaha that's great to hear!
anyone know of a IDE or coding environment for matlab? I’m sick and tired of writing line by line and getting 1 error and not be able to edit my code without retyping it
@past totem can you share the problem with us?
anybody the know the significance of a split point in a quick sort
Anyone good with Java?? I need to find a way to get how long in hours minutes and seconds (hh:mm:ss) have passed between to dates
I need to store the dates as some type of object that keeps the date and time
it's not that important, the algorithm is good if when you divide from the pivot point number of elements in the left and right sides are close, but we can't select the best pivot without searching for all, and we can't do that because it won't be efficient
so there is nothing to do about it
but in the time complexity sense it is important because time complexity will be different with a good pivot and a bad pivot
but there's nothing to do to choose the best pivot
I don't really understand your question
but from what I understand you have to create a class called date or something which has the properties of a date
btw best case is O(nlog(n)) and worst case is O(n^2)
can someone give me the output of a simple c program cause im not really sure what it is and currently I don't have a compiler available with me🙏
I think you should post it here
hi, so I have to store dates with local time (ex.: [2022/02/12, 22:20:12]), and after i need to compare two dates and see how many hours:minutes:seconds have passed
So what do you have in your mind
Are they properties of an object?
Or are you gonna store them in pairs
In both ways you can get both components, use delimiter with a scanner and parse int
hello guys i really need ur help if anyone knows c language please contact me fast i am about to fail in life please help ...........................
send it
not python but decent at programming I would say ahaha
basically create a list to store the subsets, then use 2 for loops, one going from from list length - 1 to 0 to take the subsets of different lengths, and another one to take all the subsets on that length
sorry man cant help if ur in an exam, against rules, plus its cheating
Hi , is it possible to fix a hard drive when it's beeping?
Hey folks
I'm playing an online riddle called odpawn
and I'm stuck in a level
the level gave me this
and the clue is: "wordwrap"
does anyone know what is that?
"the X marks the spot"
is a clue too
If I have these 2 times: 13:03:00 and 13:06:10 I want to know how long have passed (00:03:10 in this case)
But I can’t find a way to do the math right and easy
So, I have school project in which we are making a youtube downloader app using python and tkinter. I am assigned to make the app downloading part of the project. Any guidance on how to do it?
PLS I AM IN DIRE NEED OF HELP
pleasee help me outtt
i have no idea
anyone know where i can find a digital version of the book
Stuart Russell & Peter Norvig, Artificial Intelligence: A Modern Approach, Prentice-Hall, Third Edition (2009)
@obtuse aspen there
thanks
theres only context page btw
aaah nvm. i got it online
oh shoot sry my b @obtuse aspen
As I said you can use split method to take the hour minute second, in this case the split operator should be “:”, the example use would be, if you store the date in a String s,
String[] arr = s.split(“:”);
Therefore hour is at index 0, minute is at index 1 and second is at index 2, but they are in string foem so when you want to do mathematical operations, you have to use ParseInt or Integer.valueOf
For the math part you can change everything to seconds and do the subtraction
Then by using % and / operator check how many minutes and hours and minutes and seconds are there
For example if there are 65 seconds, if you use / operator with 60, you get 65/60 which is 1, which will give you the minute part, and when you use % with 60, you get 65%60 and this will give you 5, which is the second part, so you get 1 minute and 5 seconds
the third line says prepared
Hi guys
Is there anyone who know how to calculate Y(z)/R1(z) and Y(z)/R2(z) ??
Exercice n2
Oh une française cc toi ( aucune idée pour l'éxo parcontre)
Saluut !!
C dommage 😔
Thanks anyways
Viens mp 2 sec
is it profitable to mint nft?
nobody here likes stuff like,nft, crypto, GPU programming?
hello can anyone help me solve a coding problem
What problem u got?
#given length of survey list,states in country,month,survey rating list
return country number and survey rating of state at given month.(1 state takes 1 month to survey)
#output: country number and state rating
conditons:
#start with country with lowest rating
#finish one country first
example
length_survey_list=9
states in country=3
month number=6
survey_list=[1,2,1,2,3,4,5,2,1]
output:
country -> 3
state rating->5
explanation:
country 1 -> [1,1,2] (sorted to pick state with lowest rating if same then check next index)
country 2 ->[2,3,4]
country 3-> [1,2,5]
first country 1 is picked because second rating is smaller than country 3
therefore first country one is traversed then we move to country 3
on sixth month we are on 3 country and state with rating 5
this is our output.
hint or psedocode would be helpful thanks
Damn been a long while since i did those Kinda problem, currently doing frontend course with JavaScript.
Sorry for slow response, have you tried youtube? Perhaps some basic sorti g algoritm?
Or some nested for loops
how are you learning js
At university
oh ok ok ok
But there really is no reason for it, you can learn it on the internet just as well if not better, hundreds of really good content videos on youtube, many websites offers good courses like pluralsight, codeacademy, coursera, udemy.
Also available to download most of the content from any torrentracker.
But I want a degree, will be much easier to get a job in my country and elsewhere.
yea yea fair, im using something called the odin project as well as a book called eloquent javascript (i just started) so i was just wondering if u were doing it in ur own time as well. just curious. tysm for your input tho
Nice man, here is a good site for summary of javascript
https://learnxinyminutes.com/docs/javascript/
and a good site for learning React library for js
https://fullstackopen.com/en/#course-contents
And this site really helps when learning to build a MERN stack CRUD app
https://www.bezkoder.com/react-node-express-mongodb-mern-stack/
are you god???
tysmmmm this is so much help
Glad I could help, good luck in your programing journey!
thank you, you too!
what is a database?
can someone help me
google and you will find very good explanations and examples
does anyone use blue j here ?
we can't google it
why not?
"In computing, a database is an organized collection of data stored and accessed electronically. Small databases can be stored on a file system, while large databases are hosted on computer clusters or cloud storage"
good definition
it says "in your own understanding"
is this an exam?
because if not then there is nothing stopping u from googling
or if ur just a real stickler for what the homework question is asking
go broaden ur understanding using google
then write it
since its ur understanding after u read about it
yep
then we are not allowed to help you
according to rules
unless it is prep
if its the actual exam we cant help you
sorry buddy
its ok
I hate js
esp backend side
i solved it you were right sorting and for loops worked
here is the solution
def main():
input1=9
input2=3
input3=5
input4=[1,2,4,1,3,1,4,5,2]
#[[1,2,4][1,1,3][2,4,5]]
group=input1//input2
ll=[]
for i in range(0,input1,group):
input4[i:i+group]=sorted(input4[i:i+group])
ll.append(sorted(input4[i:i+group]))
print(ll)
print(input4)
print(min(ll))
print(ll.index(min(ll)))
while input3>1:
idx=ll.index(min(ll))
for i in range(input2):
if input3==1:
print(idx,ll[idx][i])
break
else:
ll[idx][i]=999
input3-=1
main()
some print statements are redundant but helps in understanding what i did
thanks bro
hello, can anybody tell me from where I can get started with python?
The resources of the pinned message might be useful
Got an offer from Microsoft!!!!!!!!!!!!!!!!!!!
ASDFGHHIVKDNSNEF
HAHAHAHAHAHAHAHAHAHA
congrats man huge step
i have heard its a great company
good luck with your future at microsoft
Thank you!!!!!!!!
Whats the job title?
Software engineer!
Depends, I myself am still getting slammed at school
No this is very simple i believe
Its 10 cs but its my first time taking cs class
And I have no knowledge about computers - this class js like intro to cs
what is a metadata?
Hey everyone, would anyone know why I can't open an external hard drive on my mac? --it always worked before and now it's showing up but I can't actually open it
Congrats!! That’s a huge achievement
Hey! does anybody know about the undefined reference to 'pow' function error??
in c language
Does anyone know how to creat a function for different gates in python? For example logical-and, logical-or etc.
noice congo man
ayo congo bro 🥳 🎉
Thank you!!!!!!!
It’s literally on my dream team at my dream company
It’s a huge blessing
Cloud and AI for windows, so I’ll be writing directly into windows OS!!!!
If I understand your question correctly, it's pretty much just
def and_gate(a, b):
return bool(a and b)
def or_gate(a, b):
return bool(a or b)
def xor_gate(a, b):
return a is not b
I would recommend having the inputs be boolean types (alternatively you could use the integers 0 and 1 instead in which case you might want to convert the output to int as well, by using int()).
You might not be linking the math library https://stackoverflow.com/questions/12824134/undefined-reference-to-pow-in-c-despite-including-math-h
Yes thats exactly what I was thinking of, thank you!!
Do you happen to how to make truth tables as well?
That would be a bit more involved
You should then make a function that takes a list of gate-functions as argument, and then makes a truth table for each:
def truthtable(list_of_functions):
print("Func. name | 0,0 | 0,1 | 1,0 | 1,1")
for fn in list_of_functions:
print('{0: <10}'.format(fn.__name__) + f" | {fn(0,0)} | {fn(0,1)} | {fn(1,0)} | {fn(1,1)}")
so you'd do
truthtable([and_gate, or_gate, xor_gate])
I see! Thank youuu ^^ much appreciated
no worries 👌
can someone suggest a good resource to study graph algorithms for Software interview tests ?
#Using a for loop and .append() method, append each item with a Dr. prefix to the list. (e.g. "Dr. Henry") (Most efficient solution is 2 lines long)
list3_1 = ["Phil", "Oz", "Seuss", "Dre"]
list3_2 = []
please help
hi
i have this project
but i have a problem with it
the while loop is going on forever
i dont want that
ping please
volunteer_A = []
not_volunteer_A = []
name_A = []
paid_A = []
not_paid_A = []
print ("Welcome to program for Friends of Seaview Pier.")
number = int(input("Enter the number of people"))
for count in range (0, number):
name = input ("Please enter your first and last name.")
name_A.append(name)
volunteer = input ("Do you wish to work as a volunteer?")
if volunteer.lower() == "yes":
volunteer_A.append(name)
elif volunteer.lower() == "no":
not_volunteer_A.append(name)
while volunteer.lower() == "yes":
area = input ("Which area do you wish to volunteer in? Enter 1 for the pier entrance gate. Enter 2 for the gift shop. Enter 3 for painting and decorating.")
date = input ("Please enter the date of joining in the form dd/mm/yy.")
paid_or_no = input ("Have you paid the $75 fee? Yes or No.")
if paid_or_no.lower() == "yes":
paid_A.append(name)
elif paid_or_no.lower() == "no":
not_paid_A.append(name)
print (name_A)
#print (volunteer)
print (area)
print (date)
#print (paid_or_no)
print (volunteer_A)
print (not_volunteer_A)
print (paid_A)
print (not_paid_A)
there are good videos in youtube related to that
thank you
for element in list3_1:
list3_2.append("Dr." + element )
@random spoke for each element in list1, "Dr." we add it and add it to list2
my_list = [("Dr."+ element) for element in list3_1]```
or you can use list comprehension and you can do it in one line
Can someone help me with my python 11th class exam todah
I have not studied for it
Write a Python Dictionary named class_student with keys:
12101,12102,12103 and corresponding values as „Rahul‟,‟Ravi‟,‟Mahesh‟
respectively
Can someome answer this?
class_student = {12101: "Rahul", .....}
Thankyouu
Results is a dictionary containing Name and Score of students in key:
value pair.
Results= {“A”:240,”B”:340,”C”:350,”D”:280,”E”:370}
Perform following operations on it.
a) Print name of all the students having score >250
b) Change marks of student “C” to 450.
c) Calculate average score in this class.
d) Add one more student with name “G” with score 290.
e) Delete entry of student “C” from it.
Can someone do this??
can someone help me describe the types of relationship in database? the one to one, one to many, and many to one? thankyou in advance
Can anybody tell that what is this issue with my monitor
Not a dead pixel for sure.
Clean your monitor
anyone understand with haversine? is my code wrong? my results are different if I use haversine calculator manually...
Cum stain
One-to-Many: when a row on one table is related to one or more rows in another table.
A primary key column value from one table’s row is referenced by one or more rows in another table.
for example:
from this relationship:
- One pet owner can have many pets
- While a pet can only have one owner (just for example purposes)
One-to-One: when one row on one table is directly related to a single row in another table.
The primary key may be the same on both tables.
for example:
Many-to-Many: when a row in one table can be associated with one or more rows in another table and vice-versa.
for example we will be using the same pet and owner tables but add a new rule: A pet can now have more than one owner
we don't want to add columns to the pet table for each owner.
We see a NULL whenever a pet does not have an owner. The more owner columns, the more NULLs.
hey guys quick question
so this is my code
public static void Main() {
int n = 5;
var s = "";
for (int i = n; i <= n && i > 0; i--) {
for(int j = n; j <= n && j > 0; j--) {
s += j;
}
s += "\n";
}
}
}```
and i want s to be``` "54321\n4321\n321\n21\n1\n"```
but now its ```
"54321\n54321\n54321\n54321\n54321\n"```
does anyone know how to fix this? this is in c# btw
on your nested for loop it should be for(int j = i; j <= i && j > 0; j--)
ahhhh thank you sooo muchh
tbh you dont need that int n = 5
but ig its good that you have it there so you only have to change the value once then 2 times in your for loop
Ahh yea well im new to coding and this is my first time coding with c# so im really just doing whatever honestly but thanks alot man
no problem
you really helped me out 🙂
id act say keep the int n = 5;
in the future you might want to see 6 instead of 5 - possibly 10, 20
you can easily do that by changing the n value instead of replacing the n in your for loop with 6
hmm yea ur right its easier to change now
the way I was taught was that you have to create a third table (JOINER TABLE) that will reference the PK on both sides
2 options on the kind of table you want: you can choose whatever works best in your ERD
should have done this on a thread but hope it helps
Bsdk!
its a big help! thank you @strange zodiac
anyone know c++ and knows how to do this?
this is what i have so far but it still wont work 😫
I'm a freshman and this semester one of the courses I took was intro to programming. Is there anyone who still writes Ruby ?
go to the odin project, it will help with everything
Thank you I really appreciate your help
Anyone with knowledge of python can help?
@idle dew use "pip3 install package_name"
I don't know how to install
'pip3' is not recognized as an internal or external command,
operable program or batch fil
i can't find the solution then.
write your query here. someone else will answer it
no one is watching
answered you in #general-help-chat
my guys i need some help
i really need to learn js for a project, i have tried the odin project but that has reallt not worked out for me. is there any tips or methods that i can learn this effectivley
all help is greatly appreciated
Bhai yaha saare ke saare ek number ke chutiye hei kisi ko ghanta kuch nhi aata
try pip version
koi na koi to hoga jo madat kar sakhta he
it stays like this what can i do
The best way to start learning any language or framework is learn from their origin website. You can find any docs you want in those websites
https://www.javascript.com/
JavaScript.com is a resource for the JavaScript community. You will find resources and examples for JavaScript beginners as well as support for JavaScript experts. Learn JavaScript or free with our easy to use input output machine.
or yt lol, it can be more beginner friendly
people who are new to programming have trouble sometimes navigating through documentation sometimes, but youtube videos always have really good explanations esp the introduction ones
anyone good at Java? Need help with REST API's.
anyone use jsp on eclipse? i need help
Just started learning Java
cool
Has anyone installed windows 11 without having tpm2.0 if yes please tell me how?
I have a custom pc which does not have tpm2.0
i love this and im going to leave it here
What is the most used language in programming? ||Profanity||

It is just a modelling
Think of a tree
Each node is different part of the project
However there are childs
I’m so confused
can anyone help me with histogram?
I'm Planning to Deploy my Node Js Back-end and MongoDb Database, I also need File Storage system to handle file upload, based on the above conditions, whichs AWS products should I use?
Checkout "Simplify" for the backend, it will help you if you need a kind of CD, if you just want something not that serious I would use EC2 machine and install node on it.
About mongo, search for "document-db" that's mongo.
I hadn't messed with file storgae but I think "S3" is the product you're searching
oh ok, for production level, how much money do I need to Prepare ?
money*
EC2 is just a machine aws is providing to you and you can connect to it using ssh and do what you want
Ahm, it's hard to estimate due to the fact that I don't know your needs, you can check the docs for pricing.
But overall I was surprised with the prices when I checked
What do you consider as "production"
If you think you will need multiple instances I would checkout kuberenets on top of AWS, but I didn't get a chance to mess with that
I'm Currently Planning on an E-commerce for a University level National Competition at my country,
Allot of users and traffic?
It's one lf those terms that people misuse allot, for your use case it will be enough to say that when the document is loaded by the browser internally it's represented as DOM which is a tree where each element in the HTML page is represented as a "node". A node can have inner nodes (e.g 'div' inside 'div')
If you're interested in the more abstract term you can read https://www.w3.org/TR/REC-DOM-Level-1/introduction.html
prob less than 1000
users/day
but if its actually win the competition expecting those Traffic to be higher
cause it will be funded and used by the government
I would have gone with a kubernetes solution in that scale, so you will be able to scale up your application easily
ok thanks, really appreciate your help
Sure 🙂
TYSM!!!!
I'm not familiar with all the terminology of the question, but wouldn't it just beP(W="table") = P(Y=[class containing the word "table"]) * P(C_1 = "t" | Y = [class conta...]) * P(C_2 = "a" | Y = [...]) * ... * P(C_5 = "e" | Y = [...])
To understand what is DOM, you need to know why is DOM
DOM reference for Document -> Object -> Model. But why is DOM? Why isn't OMD or MOD
Look at the picture, you can see the root is Document. Why is Document in the root? If you watch closly in each html file, you will find the <!DOCTYPE> in first html code. But why we need the <!DOCTYPE> in html file? To define the website that you can run smoothie in every version of each website (Chrome, Firefox, IE)
Second is object. Why is object? Every function in JS need an object to return a value. Example to run function runMusic(), you need to create an object called var musicPlaylist = [ { id = 1, name: '||Never gonna give you up||' } ] then map it in the function to run it
The last one is model. Why is model? Now you have a run music function, but how can you put it in website for user to use it? Make a button. function runMusic() { return ( <button type='submit' onClick=''>Play music</button> ) }
That's how i understand about DOM in html. If you're still confuse it, i'll explain shortly
|| Define website -> Create back-end -> Create front-end ||
the DOM sounds complecated but its simple...simpler than trying to understand the monstrosity called js
anyone who wants to help me with my coding assignment in python? (2nd year uni studying AI) :)
im trying to learn js lol
this is so good thank you so much
good luck mate
does anyone know how to covert laptop keyboard to usb keyboard by removing the keyboard and then adding usb to it (its a old laptop but the keyboard is good)
jesus a thinkpad keyboard?
cause i get that
like an old thinkpad keyboard
no , just the normal keyboard of the laptop , i have removed it, theres a white plastic strip , i think we have to connect it to that
lmao gl im sure its possible but it sounds really har
d
Develop ML functions for the following problems. For all cases provide
correctness arguments and estimate the time and space complexities. Question - Computing x^n
Write the iterative version.
can someone help me with this?
I have to use sml for this. I'm not able to understand how to make an iterative function for this.
hi, @thin hound can you maybe help me further in PB ?
in C++ say in a for loop for condition i<4 and updation ++i , after completion of loop will the value of i be 3 or 4?
Write the loop and print the value of i after the loop
hi, anyone want to help me with some struggles while writing a binary tree question game in python?
PB me please, very much appreciated!
4
can someone help me with my java code? its about inheritance and polymorphism if someone can help me im stuck thank you
its a banking account question
you can send it here
ill dm you if thats possible?
that's also fine
anybody have tips on getting internships in undergrad for Software Development?
does anyone know how to run a calculation in java faster
right now im doing an entropy calculation and i can only calculate a value every 2 seconds and i have around 2000 values in an arraylist so it'll take me an hour to complete the entire thing
leetcode 🙌
it takes so long
it shouldn't
show me your code
i'm getting this error evertime i try to compile any c/c++ code on vs code and i've been trying to find a solution for like hours,pls help
why is js so hard to learn
cus it's a very easy language to create Machine Learning with TensorFlow.js when you can master it
but like just in terms of react and just plain js
reactjs is good js library for web development too, but if you want to master js and reactjs. you need to forget everything about OOP and focus on Function Prgramming
because it's retarded
it's a god tier language but it's so bad to implement
like learning it is so confusing, there are so many rules to follow, not to mention the fking layout cause then people will say "oh ur codes so messy"
Hey guys, anyone wants to help me with ideas for an honours project in Computer Science? I was planning to do something in Sentiment Analysis, but one of my professors told me it will require more work than is necessary for an honours project, so I am no stumped, and do not know what kind of project to tackle.
Hey if you do have a basic idea of machine learning and/or NLP sentiment analysis would not be too much of an issue .
If you're looking for something more basic you could simply just implement an ANN from scratch or check out CNNs for image recognition tasks.
is anyone familiar with programming in c and using 2d arrays here? I'm stuck on how I should approach scaling my 2d array without using dynamic memory. Let me know, and I'll post my code for a better understanding
Are there any resources you would recommend?
Deep Learning specialization on coursera, CS229, CS224n, CS231n offered by stanford afaik
There are many more, but these are off the top of my head
What's the ideal cpu temperature for any laptop?
Ig my laptop has heating issues...whenever I watch lectures on it the temperature of my cpu goes to around 80°C....is it normal? If not please suggest me some ways to prevent it.
Try opening it up and cleaning the vents
Probably they are dusty
use compressed air and hold the vents while you do it so they dont rotate backwards, it could damage them
you can also apply thermal paste of the cpu
helps dissipate the heat
does anyone know any good laptop around 50-70k
in usd??!!!
bro, just get a ryzen 9 machine or the latest macbook fully speced. u dont have a budget lmao
CS230 is also good. Its based on Deep learning. With CS229 it forms a pretty good combo. Then some practical experience on kaggle projects, for instance
MIT also has a good deep learning course on youtube if im not mistaken
he probably means rupees or whatever lol.
fair
60ºC is already fairly hot, It should run decently cold on just watching lectures. yeah clean vents and fans as @red hare said
Helsingin yliopiston kaikille avoin ja ilmainen ohjelmoinnin perusteet opettava verkkokurssi. Kurssilla perehdytään nykyaikaisen ohjelmoinnin perusideoihin sekä ohjelmoinnissa käytettävien työvälineiden lisäksi algoritmien laatimiseen. Kurssille osallistuminen ei vaadi ennakkotietoja ohjelmoinnista.
Try using char*,
From this answer https://stackoverflow.com/a/13694582/12319171 it looks like you can a.c_str()
anyone has an optimization video on pop os like how to make it more faster than before (linux newbie here)?
hey, im trying to translate assembly into machine code however i have no idea where to start for the command: "JUMP.GE end", anyone got an idea?
hey i need a computer science help
i had to write a code drawing sierpinski's triangle
here it is
in fact it's workin
but it shows me that
the code do not combine triangles
how can i solve my pb
hi how are u
people
do you know a python library that makes a separate mouse pointer(so 2 cursors ) and moves through the screen according to command
Hey guys does anyone know how to create a bash script ? Im new to this stuff and i have no idea what to do.
does anyone know how to do this? I have PostgreSQL in college, but i may have been absent for some lectures. I get the creating table and inserting values thing, but i don't know how to connect tables and use proper constraints.
But when its the other way around and I have to disprove that x^2 is O(x)
if you wanna disprove that you can prove x^2 is bit omega of x
I don't really understand your question
It has to do with how you are calling show(). You need to consider the call-graph of your function. Only after your function is recursing (ie. after you have called s() for the last time), should you call show(). That means you can remove your call to show() in s(), and add a helper function s_helper(), which calls s() once, and then calls show(). The helper function would look like this:
def helper_s(A, B, C, n):
s(A, B, C, n)
dessin.show()
I dont really know if its the right server but, do u think macbook air can run stata or rstudio? this semester I will be taking applied statistics 🙂
1 year
oh wow it works! thank you!
thank you
!!!!
Heyy can anyone suggest a beginner friendly book for python?
rstudio will work fine
i feel its better than stata imo for r but ur choice
I need some help with my c++ project pls lmk if you can help
what help do you need?
i dm you
hello, anyone knows why this is happened?
Does pearsonsr exist?
oh its solved! thanks for replying my question
can u help me my code isnt working and i have practicals tom and i dont know why
I am on study vc 17
c++
Any CSE second year or above student from India? I need some guidance
can anyone help me with a competitive programming problem n c++ ? my brain is really frying on this one
oh nvm i solved it
does anyone here understand JSON and AJAX?
for my assignment i need to include a url to access a JSON file and get it to display in a table
im trying to get my html file to append table rows and data
this is how my code looks so far
any macbook users? I have a machine running the m1 chip, besides the paid options for VMs, do you guys know of a free option for a VM that runs on the M1s architecture? I need to emulate Windows for a college class
you can use docker
it uses hyperkit instead of VM
oh wait you want to emulate windows
idk about that
virtual box
by oracle i think
I got it... thank you tho
can somebody help me write some c program ?
my teacher didn't up the record so i don't know how to do this thing
can somebody help me with this problem? the solution is supposed to be based of backtracking algorithm I can't see how to solve it pls
yes
its like 4-5 pages srry
it's not compatible with the m1 architecture yet
what do you not know what to do?
c++/python but c++ better because of the perfomance fam
i don't know how to do,my teacher didn't up the record of this lesson,so i can't rewatch the video to do the exercises
yes
i watched some video on yt,but i don't understand
thank you
i will try it
hey so i have to do this for multiple regions
so i need to put it in an if else statement by being able to target the option value
because i have a dropdown list of all the regions
like this
this is how ive tried to do the if statement
also my click event listener doesnt work correctly with a button for some reason :(
omg thank you so so much
i literally developed an eye twitch because of this question
could i do $(regionSelector).change() {} instead of what you put on line 38?
okay thanks !!
it didnt work for some reason
nope
this is the whole thing
also i have the script in head and not body
im using 3.5.1
like this
yeah it isnt working
wait i think i see my mistake
nah nevermind that wasnt it
try to find('th')
it might works
no still no luck:(
ill add one now and see
still nothing
could i send you my file in DMs and see if it works for you
it works
im not sure why mine doesnt
Can we use += instead of list.append() in python to add elements to the list?
Thank you
Wouldn't that technically be list concatenation and not exactly adding elements?
Yup
hey is anyone here good with arduino
i have a question since i have been at it for hours but the code is not working
Here is the board
i am trying to light the rgb led by using the serial comman
d
Anyone in here that could help me with python programming in PM? - I am struggling with trying to implement something :)
When you check if something is true you need to use two equalsigns, ie. ==. So you'd write if (myColour == "red){
= is the assignment operator
== is the query operator
ahh ok ok ty
well i need to be able to check when it equals zero as well
ok ok tysm!
hi guys, anyone have any guid about serverless with golang?
Hey guys so basically i had an old phone which is locked by FRP google thing and i am not able to unlock it at all
any idea
i tried to download some softwares but most of them not got it
First Normal Form (1NF):
consider:
- all attributes contain an atomic piece of information
> complex attributes need to be broken into their own separate columns
- there exists a primary key [PK]
- There are no repeating groups
> columns containing sets of values will need to be move into their own table(s)
from the CD table you have there you would focus on the 2 and 3 point
- there is no complex attributes
- you can set a PK
- there will be repeating groups so you will need to move that whole section on its own
you will have two tables (CD and TRACKS)
on your tracks table it will need to have its own PK so it would either be a composite or surrogate Key
its a good way to start lmk when you finish 1NF
