#tech-related-help

1 messages · Page 25 of 1

brisk scroll
#

can u look for me?

errant bluff
#

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

brisk scroll
#

I did it!

#

Yay

#

Dont need any more

sudden trout
#

Anyone know any cool features in Mac which windows does not have cause I don’t know I am bored I switched recently

visual citrus
#

thank you

rocky marsh
#

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

idle dew
#

HEY!

should i upgrade to win11 ?

tribal ore
idle dew
tribal ore
#

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 👍

mental flare
#

PHP on VS code is not working

#

has anyone else had this problem

daring garnet
#

does anyone knows c++ language .....i need some help

idle dew
#

i can try to help @daring garnet

daring garnet
daring garnet
idle dew
#

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

idle dew
#

^ If you're new to computer science, this is a great place to start.

idle dew
sudden sierra
#

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 :((

red hare
red hare
static smelt
#

hi, i need help with the implementation of a minimax algorithm
more specifically, how do you store the move with the best evaluation?

red hare
#

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-...

vale aspen
#

anybody work in MySQL Workbench

static smelt
red hare
#

Just set the current move to the best move found

#

and let the algorithm run

#

updating the current move as you go

static smelt
red hare
#

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

static smelt
#

the recursion is messing with my head

red hare
#

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?

static smelt
#

no, it's what i have tried and failed

red hare
#

well you just need to add a line of code that compares both moves

static smelt
#

where would this be?

red hare
#

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

static smelt
#

ok, i'll try this, i appreciate the help greatly

red hare
#

np man gl

remote elbow
#

yess ?

rotund pond
#

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)

spiral yarrow
#

should i upgrade my laptop ram from 8 to 16gigs??

spiral yarrow
remote elbow
zinc rover
#

hi, anyone know something about blender cloth simulation? im having some troubles with it

compact whale
#

are arrays passed by reference and vectors by value if not specified otherwise explicitly in c++?

nimble sparrow
#

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😅

strange zodiac
#

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

remote elbow
# nimble sparrow

you can give avatar class a property of display:block; (in your css code)

nimble sparrow
#

thanks a lot!

#

both of you

potent scroll
# rotund pond Q1 “Write a python code to get a sub list that contains even numbered index val...

@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)

rotund pond
potent scroll
#

you're welcome :)

gloomy badger
#

Hello!! Anyone here familiar with nuxt and vue?

remote elbow
gloomy badger
idle dew
#

Do you guys think Python is a good start into computer science ?

turbid flower
#

Hi I really need help with my final exam assignment. Anyone know python

#

please contact me ill send folder

dusky canyon
#

guys tilling WM or floating WM?

frozen stream
#

Anyone good at microcontrollers? especiallly stm32f407

amber mountain
#

HOW DO YOU RESPOND TO THE CHALLENGES OF GLOBALIZATION AND THE DIFFERENCES OF MINDSETS CAUSED BY DIFFERING GENERATIONAL RELATIONS TO TECHNOLOGY AND SOCIAL MEDIA?

buoyant sentinel
#

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. 😄

open solstice
#

god I hate frontend

idle dew
void halo
# idle dew 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.

fickle creek
#

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

nova basin
idle dew
#

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.

open solstice
#

I personally recommend starting with java

idle dew
#

could anyone help me with my mac?

open solstice
idle dew
#

oh thanks a lot but i've already fix it

small python
# idle dew Do you guys think Python is a good start into computer science ?

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!

idle dew
#

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

small python
#

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

quartz lantern
#

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

verbal wraith
#

although, if it's an executable, it'll be in one of directories in your PATH

dawn edge
thin hound
# idle dew Do you guys think Python is a good start into computer science ?

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.

slate mantle
#

I have a basic question about the for loop in python can somebody help?

slate mantle
# quartz lantern 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...

▶ Play video
#

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"

open solstice
#

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

slate mantle
#

ohhhhhhhhhhhhh

#

that makes sense thanks. I previously ignored what was happening under else for some reason😂

open solstice
#

no worries

#

it's better to think line by line with an example when you don't understand something

slate mantle
#

that makes sense, it's just ever since he started explaining functions I got confused for a bit

ebon spade
#

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

cyan jungle
#

Hey guys, is any one here pursuing cyber security? Im kind of lost on where to start

crystal matrix
crystal matrix
crystal matrix
#

Learn to use different operating systems specially linux

#

If you want any other help you can ask

versed fossil
#

jesus lord

open solstice
#

Understand http, and the concept of web first

gentle pollen
#

Hey, does anyone use the languages scheme

flint olive
# cyan jungle Hey guys, is any one here pursuing cyber security? Im kind of lost on where to s...

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...

▶ Play video
cyan jungle
tepid salmon
# cyan jungle Hey guys, is any one here pursuing cyber security? Im kind of lost on where to s...

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!

cyan jungle
#

Thanks guys, this clears up a lot of my questions i was just googling for hours

#

time to grind 🤠

tulip rover
#

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?

keen elk
#

hey guys i need help

amber mountain
#

can anyone help me?
compare and contrast one dimensional array and two dimensional array

remote elbow
remote elbow
amber mountain
#

thank you

low dock
#

hey guys this is a school project and i was wondering if you guys could read it and give me feedback 🙂

#

thx

keen elk
wary needleBOT
#

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.

fierce fog
#

Hey is anyone here studying/studied Comptia A+ 1002? I go for my exam next weekend and gonna study all day

nova gorge
#

Aw darn

idle dew
#

does anyone have any good resources for learning javascript

#

and also react

lusty spoke
#

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?

open solstice
# lusty spoke Hey, does anyone know of a online tool or something that can make trees like thi...
#

u mean like this?

slender quail
#

Its free too

idle dew
#

Thank you so much @slender quail

slender quail
buoyant sentinel
#

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.

fierce mountain
#

Hello I'm looking for a discord server like this one - but for coding, does anyone here know one?

strange zodiac
buoyant sentinel
#

what

#

???

#

I'm offering a job offer

open solstice
strange zodiac
#

oh if you were talking about those links it was for Kesar

idle dew
#

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
#

depends

#

but yeah if you are just starting vm is fine

idle dew
#

@open solstice so what distro do u think is best to start of with?

thin hound
#

ubuntu 18.04 or 20.04 is good for beginners imo, as any problems you may have are often easy to google

idle dew
#

ok thank you so much @thin hound

paper raft
#

Hey. So I am gonna be taking data structures and need some advice..

steady mason
#

How can i print s to show me numerical values as answer? Like fx [0, 5] and [0, 10]?

silver notch
#

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

clever hemlock
#

anyone can help me in python right now?

idle dew
#

in what sense?

#

@clever hemlock how can we help

clever hemlock
idle dew
#

send it

#

wait like learning it?

#

@clever hemlock

clever hemlock
#

solution you give me?

dreamy marten
#

Can anyone explain this code to me?, and by explain I mean how the code works.

quartz lantern
#

do you guys like linux?

#

is it worth it?

quartz lantern
#

uhhh

#

can you help me out

#

bruhhh what???

idle dew
#

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

quartz lantern
#

nah it's good

#

I solved it

quartz lantern
#

uhh what language is this

#

nvm I can't help

#

✌️

open solstice
#

what are the sizes of aDeck and bDeck?

#

when you initialize them

thin hound
#

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

open solstice
#

this thing gives me assembly headache

#

at which line do you get the error

#

debug it line by line

thin hound
#

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

idle dew
#

unix command line help

#

$ ls -a ~ | grep _ > underscores.txt

#

what does this do

#

acc just explain this one

#

$ ls -a ~ | grep _

#

ty

lucid oyster
quartz lantern
whole magnet
#

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

red hare
#

is aCount and bCount both initialized to 0?

#

oh lol nvm you solved it

whole magnet
#

i had to use both from the view

idle dew
quiet vault
#

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?

odd lily
#

guys i need someone to write my programming project. do you know any websites where i can hire somebody?

sharp vine
#

has anyone used slurm to schedule jobs on linux/unix kernels?

#

or anyone have experience with unix in general?

thin hound
#

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

quiet vault
idle dew
#

<@&717391911132069929>

#

This is scam i think?

#

I mean it says discrod so

plucky kayak
plucky kayak
idle dew
plucky kayak
#

@unkempt ocean ^ scam

willow owl
plucky kayak
open solstice
#

or yeah somebody also explained that

quiet vault
#

You and the other person showed me two different ways of doing it : )

frank garnet
#

macbook air m1 vs thinkpad t14 r5 both base variants

open solstice
frank garnet
#

for college purposes

idle dew
#

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 : ))

open solstice
#

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

idle dew
#

or is it no difference

#

for uni student

open solstice
#

I think they both are okay (max is deffo okay, but i'm not 100% sure about pro but probable it's okay)

open solstice
#

they both will be fine

idle dew
#

bro but they are so expensive

open solstice
#

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

idle dew
#

yea vms are the main issue

#

and m1 is kinda buggy, m2 should be really good though

open solstice
#

also if you are not (going to) study a computational area, m1 is perfect

open solstice
open solstice
idle dew
#

then why go to windows

open solstice
#

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

open solstice
#

and my school said it's ok to use m1 now

open solstice
idle dew
open solstice
#

15

idle dew
#

oh nice!

#

im debating that or the 13 inch pro or air next year

#

well 13 inch xps

open solstice
#

it's a hard choice

#

both specs are really good

idle dew
#

the xps displays tho

open solstice
#

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

idle dew
#

@unkempt ocean discrod is back

idle dew
#

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

open solstice
#

I had the same issue

open solstice
#

So yeah

#

That’s the reason of the lower battery life

idle dew
#

but it looks so sleek

#

do u have black or white

open solstice
idle dew
#

yep good choice

#

im thinking of that as well

#

can i ask if u prefer android or ios @open solstice

open solstice
idle dew
#

Could not agree more

idle dew
#

does anyone know what's wrong with this code

west lichen
#

I need help

#

I switched to linuxmint and now theres a black bar on right side that's shortening my display

#

😭😭😭

potent scroll
#

you should search by "key" value

west lichen
#

But still

#

It has shortened display

#

Not good quality

#

But I hope you can understand

#

What I mean

idle dew
crisp cypress
#

hello what is F(n) for this code? f(n) = 2n^2 +2n is right?

potent scroll
open solstice
crisp cypress
#

yes, number of operations

#

and this is my attempt to find f (n)

#

but i don't know if i am doing it correctly

west lichen
#

i explained it above

open solstice
open solstice
#

3n+2 for the first loop

west lichen
#

😎 👍

open solstice
crisp cypress
open solstice
#

and 4n^2 for the if statements

open solstice
#

weird

crisp cypress
#

ye

open solstice
#

what's the exact question

crisp cypress
#

How many dominant operations this code will perform

#

"licz < x" is dominant operation

#

so there are 2 dominant operations

west lichen
#

virtual code studio *

open solstice
crisp cypress
west lichen
open solstice
#

then i'd say the answer is 4n^2+2n

#

but wait

#

no

crisp cypress
crisp cypress
open solstice
#

I assume dominant operations mean best case

#

but it's still weird

#

hmmm

west lichen
#

😎 👍

crisp cypress
#

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"

open solstice
#

I am confused with the term dominant operations

crisp cypress
#

why

open solstice
#

they are inside of a loop inside of a loop

#

so 1 operation will take n^2 in that area

crisp cypress
#

but, the second loop have "j<i" not j<n"

open solstice
#

comparison is 1 operation, printing is 1 operation, so 2 operations for 1 if statement

open solstice
#

hmm

buoyant sentinel
#

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.

winged drift
#

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

open solstice
#

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

limber badger
#

Ill be in room 1 doing my uni ethical hacking module so if anyone wants to see that ill be sharing my screen

steady mason
#

why i can't get solution for t?

idle dew
#

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

potent scroll
idle dew
#

ahhhhh broo thank you so much

potent scroll
#

:D you're welcome

idle dew
#

i didnt know you could put and in there

#

thanks alot

open solstice
orchid pier
#

how would i unit test the functionality of my output stream in c++

silver pagoda
#

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.

idle dew
#

<@&717391911132069929>

urban condor
#

<@&717391911132069929> don’t click everyone LH_pepeSus

idle dew
#

Peeps

strange zodiac
#

these scammer links :/

#

<@&717391911132069929> sorry to bother you in deleting another scam link

idle dew
idle dew
#
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

calm magnet
#

@idle dew Well to return '3 is odd' you can remove the while loop and set x = 3

idle dew
#

Thank you

idle dew
#

<@&717391911132069929>

tame ember
#

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

light tree
#

i only know tools/create pdf

#

but not sure if it was solidworks or autocad

dawn nymph
#

Anyone studying C , in particular the IPC objects? ( shared memory, semaphores, …)

idle dew
#

<@&717391911132069929>

turbid bone
#

holy i need help with my cs hw

strange zodiac
hybrid bison
#

You can use Plot option as well in autocad

wheat silo
#

Do you mean like this?

wheat silo
#

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

wheat silo
# wheat silo Do you mean like this?

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

little reef
#

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

still flame
#

does anybody know how to form a radar chart using python

tacit kite
still flame
#

jus didn't know how to apply it to my data set

#

anyway i figured it out yesterday. thanks anyway 🙂

queen pebble
#

Yo, anybody still up

queen pebble
#

Im stuck in this boot loop for some reason, need help asap

runic cedar
queen pebble
#

I already went tru that multiple times, still no fix

lucid oyster
#

Check your bios maybe?

idle dew
versed spoke
#

#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.

fallow sinew
#

`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

storm pine
#

do
{
printf("Value: ");
scanf("%d", &userInput);
}while (userInput<0)

#

you can change it to that

quaint spade
#

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?

idle dew
#

can explain to me the difference between a class and id in css

#

i googled but i still dont get it

solid stone
#

Has anyone used matlabs before?

dusky igloo
dusky igloo
candid furnace
#

Hi everyone, any tips on how to improve problems-solving skills in c++? Maybe some resource (courses, books, websites) recommendations?

idle dew
#

tysm!

placid cliff
crisp cypress
#

How many comparison operations on the variable "licz" will this program perform?

crisp cypress
#

(3/2)*n^2 - (3/2)n is ok?

open solstice
#

I think 3n^2-3n

wide hound
#

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

strange zodiac
#

and \t means a tab

wide hound
idle dew
#

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.

abstract sequoia
#

I don't recommend using yt to learn programming tbh

#

there are good free websites like codecademy and others

idle dew
#

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

#

?

abstract sequoia
#

I don't think that really matters

#

personally, started off with js

idle dew
#

like I will learn javascript first ok

#

then what will that knowledge help me to do ?

abstract sequoia
#

web dev

idle dew
#

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

left arrow
#

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 !Miks

#

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

left arrow
#

yes, but unity's c# differs a bit from "real" c#. :)

idle dew
#

ok

left arrow
idle dew
#

👍

left arrow
#

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:...

▶ Play video
#

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 :)

open pulsar
#

Can someone help with a study guide java Using Objects and strings

past totem
#

hellou, can someone help me with python:) I´m a beginner and dont understand some functions. would love to hear from you !! xx

kind coral
#

@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 😄

open solstice
past totem
kind coral
ionic pendant
#

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

potent scroll
#

@past totem can you share the problem with us?

peak iron
#

anybody the know the significance of a split point in a quick sort

buoyant dew
#

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

open solstice
#

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

open solstice
#

but from what I understand you have to create a class called date or something which has the properties of a date

open solstice
idle dew
#

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🙏

open solstice
buoyant dew
open solstice
#

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

turbid bone
#

someone help me with my coding assingment

#

*assignment

cold orbit
#

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 ...........................

open solstice
turbid bone
#

@open solstice

#

you good with python?

open solstice
#

not python but decent at programming I would say ahaha

open solstice
# turbid bone

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

idle dew
tame ember
#

Hi , is it possible to fix a hard drive when it's beeping?

quartz lantern
#

Very inspirational

queen falcon
#

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

thin hound
buoyant dew
#

But I can’t find a way to do the math right and easy

nimble hinge
#

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

obtuse aspen
#

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)

idle dew
obtuse aspen
#

theres only context page btw

#

aaah nvm. i got it online

idle dew
#

oh shoot sry my b @obtuse aspen

cursive birch
#

hi

#

how can i center my card in bootstrap 5

open solstice
# buoyant dew If I have these 2 times: 13:03:00 and 13:06:10 I want to know how long have pass...

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

queen falcon
#

the word is prepared!, oh god, how did you do it?

queen falcon
ivory bear
#

Hi guys

#

Is there anyone who know how to calculate Y(z)/R1(z) and Y(z)/R2(z) ??

#

Exercice n2

idle dew
ivory bear
#

C dommage 😔

#

Thanks anyways

idle dew
sharp sigil
#

is it profitable to mint nft?

#

nobody here likes stuff like,nft, crypto, GPU programming?

azure timber
#

hello can anyone help me solve a coding problem

scarlet ferry
azure timber
#

#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

scarlet ferry
#

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

scarlet ferry
idle dew
scarlet ferry
# idle dew 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.

idle dew
scarlet ferry
# idle dew yea yea fair, im using something called the odin project as well as a book calle...

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/

Step by step to build a MERN stack (React.js + Node.js + Express + MongoDB) CRUD Application example - Connect React with MongoDB database

idle dew
#

tysmmmm this is so much help

scarlet ferry
idle dew
amber mountain
#

what is a database?
can someone help me

scarlet ferry
mellow basin
#

does anyone use blue j here ?

amber mountain
scarlet ferry
#

"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

amber mountain
#

it says "in your own understanding"

idle dew
#

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

amber mountain
idle dew
#

according to rules

#

unless it is prep

#

if its the actual exam we cant help you

#

sorry buddy

amber mountain
#

its ok

azure timber
#

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

sharp sigil
#

hello, can anybody tell me from where I can get started with python?

steady mortar
vapid lion
#

Got an offer from Microsoft!!!!!!!!!!!!!!!!!!!

#

ASDFGHHIVKDNSNEF

#

HAHAHAHAHAHAHAHAHAHA

strange zodiac
#

dang congrats man

pastel onyx
vapid lion
#

Thank you!!!!!!!!

idle dew
vapid lion
#

SWE

#

new grad :)

idle dew
#

Whats fhat

#

Rhat

#

That*

vapid lion
#

Software engineer!

idle dew
#

Ohh nice

#

Can you help me with cs simple stuff?

#

Then haha

vapid lion
#

Depends, I myself am still getting slammed at school

idle dew
#

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

amber mountain
#

what is a metadata?

surreal hinge
#

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

oak heart
vapid lion
#

Thank you!!!!!!!

#

It was such a long process!!!! 😭😭😭😭😭 but worth it

blissful quiver
#

Hey! does anybody know about the undefined reference to 'pow' function error??

#

in c language

thick sedge
#

Does anyone know how to creat a function for different gates in python? For example logical-and, logical-or etc.

sharp sigil
rough dust
vapid lion
#

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!!!!

thin hound
thin hound
thick sedge
thin hound
#

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])
thick sedge
thin hound
#

no worries 👌

gaunt forum
#

can someone suggest a good resource to study graph algorithms for Software interview tests ?

random spoke
#

#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

glacial leaf
#

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)
open solstice
glacial leaf
#

thank you

potent scroll
potent scroll
#
my_list = [("Dr."+ element) for element  in list3_1]```
or you can use list comprehension and you can do it in one line
stark meadow
#

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?

thin hound
#

class_student = {12101: "Rahul", .....}

stark meadow
#

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??

amber mountain
#

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

heavy citrus
#

Can anybody tell that what is this issue with my monitor

#

Not a dead pixel for sure.

severe pond
#

Clean your monitor

cloud stirrup
#

anyone understand with haversine? is my code wrong? my results are different if I use haversine calculator manually...

late rock
strange zodiac
#

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.

idle dew
#

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
strange zodiac
idle dew
#

ahhhh thank you sooo muchh

strange zodiac
#

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

idle dew
#

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

strange zodiac
#

no problem

idle dew
#

you really helped me out 🙂

strange zodiac
#

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

idle dew
#

hmm yea ur right its easier to change now

strange zodiac
#

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

heavy citrus
amber mountain
#

its a big help! thank you @strange zodiac

vague dagger
#

anyone know c++ and knows how to do this?

#

this is what i have so far but it still wont work 😫

idle dew
#

I'm a freshman and this semester one of the courses I took was intro to programming. Is there anyone who still writes Ruby ?

idle dew
idle dew
idle dew
#

Anyone with knowledge of python can help?

blissful quiver
#

@idle dew use "pip3 install package_name"

idle dew
idle dew
blissful quiver
#

i can't find the solution then.

#

write your query here. someone else will answer it

idle dew
#

no one is watching

rugged stag
idle dew
#

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

heavy citrus
idle dew
idle dew
idle dew
# idle dew i really need to learn js for a project, i have tried the odin project but that ...

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.

scenic oriole
#

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

versed saffron
#

anyone good at Java? Need help with REST API's.

drowsy cairn
#

anyone use jsp on eclipse? i need help

rancid nova
#

Just started learning Java

open solstice
#

cool

oak rose
#

anyone know how to create tab in eclipse?

#

like this one

heavy citrus
#

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

strange zodiac
#

i love this and im going to leave it here

#

What is the most used language in programming? ||Profanity||

idle dew
#

can someone explain the difference between jquery and react?

#

and also what is DOM

open solstice
#

Think of a tree

#

Each node is different part of the project

#

However there are childs

idle dew
amber mountain
#

can anyone help me with histogram?

outer coral
#

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?

lime rain
outer coral
#

money*

lime rain
#

EC2 is just a machine aws is providing to you and you can connect to it using ssh and do what you want

lime rain
#

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

outer coral
lime rain
#

Allot of users and traffic?

lime rain
# idle dew and also what is DOM

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

outer coral
#

users/day

#

but if its actually win the competition expecting those Traffic to be higher

outer coral
lime rain
outer coral
#

ok thanks, really appreciate your help

lime rain
#

Sure 🙂

thin hound
#

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 = [...])

idle dew
# idle dew and also what is DOM

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 ||

pastel kraken
idle dew
#

anyone who wants to help me with my coding assignment in python? (2nd year uni studying AI) :)

idle dew
pastel kraken
mellow basin
#

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)

idle dew
#

cause i get that

#

like an old thinkpad keyboard

mellow basin
idle dew
#

d

idle dew
#

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.

idle dew
compact whale
#

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?

lime rain
idle dew
#

hi, anyone want to help me with some struggles while writing a binary tree question game in python?

#

PB me please, very much appreciated!

rigid mesa
#

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

rigid mesa
open solstice
#

that's also fine

unreal lake
#

anybody have tips on getting internships in undergrad for Software Development?

weary flax
#

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

open solstice
#

it shouldn't

#

show me your code

storm pine
#

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

idle dew
#

why is js so hard to learn

idle dew
idle dew
idle dew
open solstice
#

it's a god tier language but it's so bad to implement

idle dew
peak basin
#

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.

gaunt forum
fallow sinew
#

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

peak basin
gaunt forum
#

There are many more, but these are off the top of my head

idle dew
#

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.

red hare
#

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

mellow basin
#

does anyone know any good laptop around 50-70k

idle dew
#

bro, just get a ryzen 9 machine or the latest macbook fully speced. u dont have a budget lmao

tacit kite
tacit kite
idle dew
#

fair

tacit kite
toxic cosmos
#

hey yall

#

can anyone recommend a website for me to start learning java

open solstice
lime rain
zenith shoal
#

anyone has an optimization video on pop os like how to make it more faster than before (linux newbie here)?

wide gorge
#

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?

shadow oyster
#

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

#

the code do not combine triangles

#

how can i solve my pb

sour sluice
#

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

dry falcon
#

Hey guys does anyone know how to create a bash script ? Im new to this stuff and i have no idea what to do.

steady escarp
#

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.

open solstice
#

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

open solstice
thin hound
# shadow oyster i had to write a code drawing sierpinski's triangle

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()
shut storm
#

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 🙂

shut storm
#

1 year

shadow oyster
shut storm
#

thank youEmotionalshrek !!!!

reef quest
#

Heyy can anyone suggest a beginner friendly book for python?

idle dew
#

i feel its better than stata imo for r but ur choice

worldly reef
#

I need some help with my c++ project pls lmk if you can help

native gate
worldly reef
#

i dm you

cloud stirrup
#

hello, anyone knows why this is happened?

idle dew
#

Does pearsonsr exist?

cloud stirrup
olive abyss
#

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++

idle dew
#

Any CSE second year or above student from India? I need some guidance

gritty pawn
#

can anyone help me with a competitive programming problem n c++ ? my brain is really frying on this one

tulip pike
#

Can someone explain this code to me?

steady escarp
mental flare
#

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

mental flare
#

im trying to get my html file to append table rows and data

#

this is how my code looks so far

red hare
#

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

open solstice
#

it uses hyperkit instead of VM

#

oh wait you want to emulate windows

#

idk about that

tulip pike
#

I got it... thank you tho

onyx dune
#

can somebody help me write some c program ?

#

my teacher didn't up the record so i don't know how to do this thingsad_cat

gritty pawn
#

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

red hare
red hare
gritty pawn
#

c++/python but c++ better because of the perfomance fam

onyx dune
#

yes

#

i watched some video on yt,but i don't understand

#

thank you

#

i will try it

mental flare
#

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

idle dew
#

try to find('th')
it might works

mental flare
#

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

idle dew
#

why we write counter +1?? can someone help me with this one

crisp current
#

Can we use += instead of list.append() in python to add elements to the list?

#

Thank you

verbal wraith
#

Wouldn't that technically be list concatenation and not exactly adding elements?

verbal wraith
#

Yup

idle dew
#

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 :)

thin hound
# idle dew

When you check if something is true you need to use two equalsigns, ie. ==. So you'd write if (myColour == "red){

potent scroll
#

= is the assignment operator
== is the query operator

idle dew
#

well i need to be able to check when it equals zero as well

dark current
#

hi guys, anyone have any guid about serverless with golang?

idle dew
#

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

amber mountain
#

hey guys i need help with this, can someone help me? thankyou in advancepray

strange zodiac
# amber mountain
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

amber mountain
#

can you illustrate it?

#

just like in the picture?

strange zodiac
#

the table is all you need honestly - idk how to illustrate that without giving the answer away

#

from what i have said

#

what is the PK of CD