#tech-related-help
1 messages Β· Page 20 of 1
you should switch to vscode or smtn
welcome always
thanks thanks
btw if you still want to use atom you could install a terminal package so you could run input() or if you don't want any of that work install Vscode
Hei, do anyone here have knowledge about Nodejs and Express? If yes, please ping me or DM me ASAP, need a little bit of help. Thanks a lot!
Anyone around here that understands Blade and Laravel?? going kinda of crazy here
Hm
Does anyone here know how to use LTSpice/PSpice? Need some assistance!
I know how to use Cadence PSpice, but I'm in my working hours...
Send me your doubt in DMs and I'll try to answer later
i do
Cool
Hey, does anyone understand what this means? This isint my forte so i jabe no idea. Please let me know of DM me, thank you!
ports are used for services, are you sure it doesnt refer to IP address and MAC address? those are used to identify a device
It might refer to the IP address. That's all the information I was given really.
search on the internet for "router NAT table", maybe thats what you need
Thank you!
@regal vale could you maybe show the html as well
yes, what do you want to do with it? Place it in the center ?
cant use native OneNote with linux >(
hello anyone good on using linux? for my situation, i need to access other secured machine from different virtual box? kinda need a big help here
thanks
ssh?
use putty software
any react- native developers here?
Can anyone explain to me why is the color of camera image change in purple? https://www.youtube.com/watch?v=9aB7b_6cN64
I'm probably wrong but my guess is that its one of the chemicals burning that changed the flames colour like when you burn a magazine. I'm not expert though so it could be a tech thing
I think its something about IR filter in camera
Im not sure if the IR filter can get oversaturated by the radiation from fire
You're most probably right about that one
Is there anyone here good at using Solidwork?
i know a thing or two
not a professional though
https://www.youtube.com/watch?v=XFHjGR7fozc I'm practicing something like this
we will learn about sketch, Extruded boss base, extruded cut, and Appearance setting features in Solidworks.
3D modelling in Solidworks
Solidworks Assembly
1)Solidworks tutorial for Beginners.
https://www.youtube.com/playlist?list=PLRhna5_X7uWvED4RU95h9wl0wrpGMtFSb
2)Solidworks tutorial : Assembly
https://www.youtube.com/playlist?list=PLRhna5_...
that's okay. won't be able to jump into sw at the moment though but looks like o could give some hints like that
thanks
Has anyone taught themselves c++? If so what resources did you use?
learncpp.com and the stl tutorials on topcoder
That gets you a start and then you can look up specifics on reference sites like cppreference.com
Alternatively, there are courses and YouTube videos which will also help you get started but you need to code in the language, solve problems and do projects to really get the hang of it
Thanks so much!
Yo, they are asking for the network patch ports that are found on a wall. When a workstation uses a wired connection, they plug an ethernet cable into a wall jack that connects them into the network. Each wall jack port has a number so you can trace it in the comms cabinet
Don't know why people are talking to you about NAT tables LOL
Whoever is asking you to do the work is trying to find out which PC is patched into which wall port, and then get the asset tag of that PC so they can correlate between the 2. This is really common task I ask field technicians to do (I'm a Sr. network engineer)
let me know if you need anything else
people try to help with the knowledge they have in the moment, not the day after, but thank you very much, I have learnt a lot!
Sorry man, I realised I sound like a dick after I wrote that..apologies
It was just funny π
Dont worry, its okay, as an electronic engineer THAT is not my expertise but i try to help you know
Imagining someone going through the translation table hehe
Cool man, that's pretty interesting..we owe a lot to you guys for producing awesome hardware for us to work on
and you too for guiding the little packages of data hahahah
Maybe next time I'll just wait for someone experienced to answer, here in this server there are a lot of intelligent people
Yeah, it is crazy to understand how much is going on from that side when we do basic things like browsing the internet. The hardware stuff actually got me interested in networking..just the idea that we are sending electrical signals from potentially one side of the world and back within a few seconds is crazy
Nah dude, that NAT response was a pretty good guess, since it is technically network ports π
everything is 0 and 1
thank you hahaha, at least I still remember something of Networks
Were you a network guy at one point?
As Communications electronics engineer I have to know some things about protocols, networks, routing, etc, basic stuff and most of it rusty
Nice dude, do you work for a telecomm. company?
maybe in the future, who knows, Networks are interesting and blockchain tech looks pretty good tbh
Thank you, there are indeed number on the portsπ
I tried to upload a video file, but it said that the file is locked. Does anyone know how to fix this?
can anyone help me with this assigntment
Anyone know if forest has an API? Can't seem to find one.
I want to integrate it with my bot
i googled a bit and it doesnt seem like they do
Ah thats unfortunate :(
Thanks
i can dm me
I have an exam on that in 9h ahaha
That's probably because of dark thick smoke that covered the camera lense
I guess this is the chat to ask smth about SQL? If so, can someone help me to understand how some of subqueries part work? I'd DM you the question.
sure
you can just post it here as well
okay
SELECT FirstName
,LastName
,City
,Email
,(SELECT COUNT(star) AS Invoices
FROM Invoices
WHERE Invoices.CustomerId = Customers.CustomerId) AS Invoices
FROM Customers
so the question is why do we count (star), doesnt it count the amount of ALL invoices? i mean not grouped? so it feels like its supposed to output just one number, but instead i guess it gives the whole column of numbers for each unique CustomerId. it works the same way if i type COUNT(InvoiceID) for example. so what affects it to output the way it does? the WHERE clause ?
oh god it ate all the '*'
Count(*) counts all the records in a table
Count(InvoiceID) counts the number of unique InvoiceIDs
yeah thats what i thought but somehow count(*) works perfectly fine for this code, thats what confuses me
probably because all InvoiceIDs are unique
Since it's a table of Invoices, it makes sense that the InvoiceID will be the primary key and thus all records will have unique InvoiceID
so count(*) and count(invoiceID) will give same result
okay but then it has to assign each number to the correct CustomerId. and if i run it with count(*) is assigns 7 to each customer, if i run count(invoiceId) it again assigns 7 to each customer, isnt there supposed be a difference?
i'm sorry, i don't understand it
yeah its fine i just dont know how to ask a proper question lol, thanks for help anyways ^^
You can DM it to me later if you can frame it better
thats very nice of you, thanks!
D=X or Q ; Q=D (clk +1) ; Y=Q xor X
yea but I need the state diagram for it... I got the logic part.
revise it
although it uses a flip flop, the input is not synchronous, so it is asychronous
I was jus about to say that I got it
Yes I re-read it and I kinda got it now
Thank you so much for your time!
Hello everyone!
I am looking for a study buddy while solving Hakerrank questions related to Python
from the beginning
anyone interested?
Guys can anyone tell me where can i start competitive programming
https://www.youtube.com/watch?v=xAeiXy8-9Y8 is a good video from a really good competitive programmer
Guide on how to get started with Competitive Programming. Go to any platform like Codeforces, sort problems by difficulty and just solve them. Two good platforms are https://codeforces.com/ and https://atcoder.jp/, and there's also free PDF "Competitive Programmer's Handbook" https://cses.fi/book/book.pdf
Subscribe for more educational videos o...
I am not interested in python, buy I am doing leetcode to prepare for FAANG interviews, ping me if you are interested ( I am not a beginner ans looking for senior position though )
Thanks man
C plus plus?
Mainly go and java ,also some elixir, I don't like cpp and never will hehe (great language but not for me)
does anyone here use kali linux? Whenever I use airodump-ng It gives me an empty list, if anyone could help it would be great
Yeah man, happy to help - whats your email?
can someone help me add a custom sprite to python arcade
yo goodluckkk!
Can anyone suggest me some websites to practice C programming?
What you didn't understand from their documentation?
im little confused to how to use to my prefrence
what are your preferences ?
Blue screen usually appears due to some hardware incompatibility(maybe your ram slot is incompatible with other slots , maybe they have different frequency etc), if you have no clue how computers work you better pay for a service to fix it

Use it for organic chem but all my notes are in notebook, it's taking too much Time js to update anki with info
Try getting changing ram or hdd
don't change ram or hdd, its just a little eror system when u update ur windows recently
hi! does anyone here have experience with 6502 assembly?
Hi can anyone tell me how to add timer and other texts on my youtube live stream? π’ (On Mobile)
I think its some sort of app you can download on Google play
this is why we use linux π
For overall computer engineering, this is a good start https://4chan-science.fandom.com/wiki/Computer_Science_and_Engineering .
For learning C, this is good list of books: https://stackoverflow.com/questions/562303/the-definitive-c-book-guide-and-list
Being familiar with pointers and C strings are the concepts that starts separating the adults from the children.**
hackerrank
My personal book suggestion: Learn C The Hard Way by Zed A. Shaw. Not recommended for the brand new programmers, but if you're past all the basics beyond pointers and multidimensional arrays, perhaps you could be ready for his book. The mostly highly rated Amazon review on his book suggests to use all of his materials including Shaw's videos and notes. I usually like to suggest free first, but I leave the rest up to you.
This is Zed A. Shaw's link of free and non-free books + resources, including free books on other languages. The link has profanity (site is safe): https://bit.ly/3vnEGad
yo i need help
i have this worksheet
its about logic gates
and i forgot everything yall wouldn't mind teaching me and helping with the worksheet
I'm just wondering how many hours do you spend to practice programming in a daily basis? Sometimes i feel so left behind maybe bc i don't practice much enough
hugely depends on how good you want to be and in what amount of time, as well as your preexisting programming background, and how deeply you study
focusing on the amount of hours is pretty meaningless, as a person studying who isn't entirely focused for a couple hours probably wont get as much done as somebody who is highly focused for one
imo you shouldn't focus much on time spent if possible, but if you do, it should be whatever amount you are comfortable with, which should take into account how much you enjoy it as well as how much ur actually getting out of it (this honestly goes for a lot of things)
dont grind it too hard to the point where you begin to dislike it, but dont slack off to the point where u dont learn anything
thats just my 2 cents π€·ββοΈ , perhaps take it with a grain of salt as im just a teenager haha
Thanks for the advice! I totally get what you mean that we should put quality over quantity, James also emphasizes this a lot. I just need some references on how much time dedicated by most of the programmers to code, esp with these all new tech tools that require us to keep up to date all the time ^^
i suppose this goes back to my point about how good you wanna get and in what time, as well as how much coding background you already have π€·ββοΈ
personally, i normally code for 6-12 hours a day, but keep in mind:
- im still in hs and dont actually work in the industry (although I might have just landed a cool internship, however im not expected to know as much as an actual software engineer obv)
- thats only because I have the time to bc summer
- im by no means an expert and am still just trying to learn some basics: i am comfortable with Java, C++, Python, HTML/CSS, JavaScript, etc but am working on learning some libraries for fullstack web dev (currently mongo, express, angular, and node), as well as grinding competitive programming, so im sure the time sunk would vary if i was trying to learn less things
i honestly am with you about not knowing how much other programmers code per day π€ , but thats me
People devote time to programming on a practical basis after they develop a base level of knowledge
It's not about spending time learning everything that's around. You're supposed to learn what you need as per the problem that you're trying to solve or the project you're trying to do
Then there's a bit of extra time you devote to learning something that doesn't have any direct utility but seems interesting and exciting
So yeah, it's not a fixed number of hours of practicing or learning, it's flexible based on what you're learning it for
Not sure if I was able to explain my point perfectly but I hope it's clear enough @fallow ravine
u can try reinstall your windows with tuts from internet
or wait next update version from windows
Blue screen reset the memory by removing the ram and putting it back. If it has 2 sticks swap the positions of that laptop that is a way to fix a blue screen and certainly how I fixed an old laptkp
If you dont want to lose your files with a reinstall of windows try my method
It is not guaranteed to work though I remember reading a tech log by HP about
My battery died and it would cause a blue screen and beeping power button LED light. If you have a beeping led light check the internet for the light pattern to see what issue that computer has
This was done on an HP laptop but I believe Asus have a similar mechanic
Anyways good luck @idle dew
does ayone know something bouw lightinh plan on revit, and how i can change my light fixtures is a different lux
Thanks for all the answers, I really appreciate them π₯Ίπ @prisma totem @verbal wraith
np π€
I'm trying to build a server on my OS and run a client through a VM (something like a hello world through 2 computers that use the same router),
but the IP addresses aren't at the same net mask, anyone knows why?
for example
host: 1.64.1.9/32
VM : 10.26.58.2/32
sounds broken, or like it's not drawing enough power.
10.x.x.x are NAT addresses
You might have to change some VM configs
Your host is the same machine on which the VM is running right?
hmm it should draw power, it was being used as a backup drive until a few days ago, personally I'm fine with opening it
ig any advice on safely doing that?
tbh I wouldn't recommend opening the drive itself. It's an internal drive, right? You could get some kit to run it externally instead, and see if it works better that way (although it might just not work, and you'll have spent the money on that equipment).
yeeah, i tried using the external hdd head I had
no power
but the pc connector drew power then the header started click
and yes, internal drive
apologies for the japanese, but you need something like this (see the photo) https://www.amazon.co.jp/-/en/gp/product/B00GXSG5U2/
Amazon.co.jp: Sanwa Supply 1.0m USB-CVIDE4 SATA to USB 3.0 Converter Cable with HDD Copy Capability: Computers & Peripherals
yes forgot about those for a bit
you gotta plug in one cable for the power and one for the data
yeah, so it means its something related to the VM?
hmm
cant I just hook to the desktop with the sat and power?
or is that live connection just a bad idea
Yeah you'll have to look at the docs for VM networking settings
With the right connectors, sure
alright, thanks
You're running the VM on the host with the IP you gave right?
yeah, the VM is running on my pc
hmm
But if you try it internally and it doesn't work, and then you try it externally like this (with both the data and the power plugged in) and it still doesn't work, it may be kaput. You could try taking it to a data recovery specialist.
bruh
wait btw what is the 4 pin for again
So it's the VM which needs changes in networking configuration
as far as I know the drive is wiped rn
that's fortunate then - expensive, sure, but at least you haven't lost any data
ye
It's worth trying it on a different set up if you can, though, to see if there may be some issue with it not getting enough power wherever it was to start with.
It's a really long time since I did any PC internals, but that does sound like power ratings, yes. Did this drive work to begin with? Or are you installing it in something for the first time?
nope it was on my cousins server, was serving as a backup and it failed a few days ago because it started clicking
my bad this one
ah right ok - it was working before it was clicking, right?
yep
im guessing a the header got stuck
but the issue is the infite dust particles
opening to the platter is guaranteed dust
so i was wondering if there was a way to make a air contair and reduce the dust in it
similar to a sandblasting box but just a clearer air box
You could try that if you really want to - if you're comfortable with the possibility that by opening it you might just trash the drive
If it's trash anyway and you want to try it, you could.
I might be a bit worried about putting it back inside a machine if I'd had it open - the modern hard drives are really precision instruments with tiny parts inside. It's not like the big old ones you could blow canned air through
ofc im not sneezing on it and stuff
lol true
even more so the older DAT tape drive were like flipping watch level smol
the parts that is
good luck with it π
can anybody help me with data structure and algorithm implmentation in java
what happened?
lemme show u
first
how tf do I spin the disk on this one
its clear the head is stuck
so thats the issue, the fix is to rotate the plater counter-clock
and pull the header out
but
the top is not connected to the head
plater*
Not sure - it seems you know more about this than I do tbh
sorry
aight imma google then ig
big sad news, i have what is called, the Click of Death
oh no - sorry to hear it's come to that
welp
rip π
any expert in piezoelectric sensors arround here?
Can someone help me comprehend a piece of python code ?
sure, you'll have to send it
I just dropped a bunch of texts to ya ~
So I've solved the first two questions in my assignment. I'm facing some difficulties with the third one. I see how f(n) is greater than n^(log_b (a)) According to CLRS, the third case requires f(n) to be asymptotically smaller than n^(log_b (a)) by a factor of n^epsilon where epsilon is greater than 0 (in other words, it must be polynomially smaller). It also mentions that it must also follow the regularity condition. I've done both of these. I checked for the regularity condition and got a positive result. However, f(n) here is 2^n and n^log_2 1= 1. Now here's my question how is f(n) i.e. 2^n greater than 1 by n^epsilon. This isn't valid is it?
Did anybody work with Rhino and knows how to make a Ring?
you mean js engine in JDK ?
Dang, you just want me to crack open my old college laptop next to me. I might get back to you on this and see if I have a similar problem I worked on ...
I'm sorry my friend but according to the last two pages of this packet, the Master Theorem actually can resolve this recurrence. Read the last two pages, and then read the document from the beginning. I believe that recurrence applies under Case 1.
Aaaand here you go: https://math.stackexchange.com/questions/280080/solving-recurrence-tn-2-tn-2-2n
I just came around discord can u please tell me whats ping? And how do you ping someone?
its simply tagging someone for example @idle dew
Thnk you
welcome always ^^
this helped a lot
thank you so much!
clarified a lot!
can someone help me with this problem? i installed python to my system but vs code doesn't see it
What's your OS?
Windows 10
Okay
Check at the bottom right, blue line
*bottom left
Does it show the python interpreter?
yes
What did you run in the terminal
Open a new command prompt in your machine and just type 'python'
And show me the output
when i run my file from terminal inside vs code it works but when i try to run code output window messages me this error
cmd output: 'python' is not recognized as an internal or external command
Yes that's why
Do the command prompt thing once please
Most probably you don't have it added to PATH
can you explain more? sorry i don't understand what you mean
Open a command prompt on your machine
And type 'python'
Show me the output
Also try 'python3'
i tried 'py' and it works....
Yes
So it's added in your PATH as py
So when you run it
In the terminal
Use 'py' instead of 'python'
ok i ll check path settings
Wait, why do you have two different versions xD
VScode recognizes 3.7.8
But the terminal has 3.9.5
heeeeeeh
It's definitely a PATH problem xD
There are very easy fixes to adding Python in PATH online, shouldn't be too tough
i understood omg ;` D
:+1:
You're welcome.
How to live stream on youtube with 2 mbps internet? π’
reduce bitrate
There are tons of videos on youtube. There is a youtuber who goes by the name techwithtim who does great tutorials for different languages. He is big on python which in my opinion is one of the simpler languages to begin working with
And I have 10mbps, I hope that my family could change it to 150 mbps soon xd
thanks
on the windows ink workplace/ microsoft withboard its a lying, horizontal A4 paper. how can i save and print my notes as on a vertical a4 paper?
you can only save it as svg or png as far as I know
hey guys, sql question, i need to get one more column which will show the % of "gain" in "total_gain", can anyone give me a hint on what i should add to the query?
is anyone expereinced with java/spring framework/thymeleaf?
make executes commands in the makefile to update one or more target names, where name is typically a program. If no -f option is present, make will look ...
i cant understand some thing in data structure can u please helpme
please someone
help
@craggy sandal you're taking the cs50 course? cus i was on data structures and quit because i literally didn't know what was going on. something about linked sets using arrays or other to locate address in which relate to data pieces. saw a node demo of it, understood a bit but translating it to code is a pain in the brain
ive been stuck on question d for an hour, im confused on which formulae i should use in the spreadsheet. please someone help me 
What do you mean by percent in gain , you already have a gain output ,if you want a percentile like 25% just do gain *0.25
Hello do we have anyone here who is interested in ML & AI stuffs.?
tysm, really appreciate it! < 3
I am interested in a do research in ML/AI?
https://realpython.com/courses/discord-bot-python/downloads/discord-bot-slides/ does anyone know if i can get this pdf for free?
Sign in to your Real Python account.
i want it
if i have a file viewer.js which has an url:
/main/demo/viewer.js
and a pdf file that directed by:
/main/thefile.pdf
what is the url text i need to write in viewer.js to get thefile.pdf
Anyone have any clue which linux snapshot type (RSYNC or BTRFS) would be better for PCs in a uni, likely to be used by students?
../thefile.pdf
.. moves you up a directory
Help with the highlighted questions pls
hi guys, my vs code doesn't want to run my c++ file, but i can't read why. how can i fix it and return to normal English symbols? if somebody know ready solution it will be nice
Are there any non English characters in the file name or path? That breaks it sometimes
@indigo spade check ur terminal settings
yeah u can only save it as png, still looking for how to rotate the notes, any ideas r welcome
Can someone familiar with arcadier help me?
Okay Bro can u dm me...???
Dude try different IDE.??
Or try to print with some other way
any app developers here?
Hello someone here good in java script please
I am decent in javascript. What is your question?
FileNotFoundError Traceback (most recent call last)
<ipython-input-14-a31a85b388f7> in <module>
----> 1 df = pd.read_csv("data\pima-data.csv")
How do I fix this error
Python can't find the pima-data.csv file. Try copying the entire path inside the quotes starting with the C: or User depending on Windows or Mac
if you are a normal user you shouldn't care , unless you use your laptop as a database storage which I bet you don't ,choose BTRFS just because it's simpler to configure
you are probably using default window encoding, try to change it to utf -8
@west crescent , @lavish crown thank you! c:
thanks i'll try ! π
hi ^^, i can increment this fk_column in the some way increment a primary key, (is the last column btw)
FK_login
@bleak jetty do you want "how make this " or a teoric explication of this ??
abstraction is anything more that you have a moto and it discription is color, heigth, etc... and have action exmple move, on, off etc
is one class (moto) in this have atributes(color heigth etcc) and have method(turn off/on) exmple
understand?
my english is bad π₯²
encapsulation is the methods gets and sets
in english is dificult to explain sry
ahhhhh
see this page
is in pt but can use a extention to teranlate
translate
Is there anybody out here learning to code (web development)? I am searching for someone to study with and talk about progress.
Hey guys I need sm help with HTML
"pls don't judge me ik it's so easy "
do We have to always put the elements of a form in the part defined by <form> </form> ?
It is better to keep semantic in mind when creating html code. It helps when you are reading the code and in some screen readers
take a look at this
Semantic HTML elements are those that clearly describe their meaning in a human- and machine-readable way. Elements such as <header>, <footer> and <article> are all considered semantic because they accurately describe the purpose of the element and the type of content that is inside
yes
guys is codeacademy pro worth it? Also can I pay yearly instead of monthly π¦ can't really find anything about the yearly cost to it
@wicked pebble
This is going to be something along the lines of
if (x < 5) then { x = x + 5; } else { x = x--; }
Not sure if there's some kind of gotcha around it being a float type variable, I don't think so, though.
thanks so much
No problem.
Hang on @inland hazel , sorry, I've assumed the right hand path is "true" and the left hand path is "false" - not sure why I did that.
so is it wrong?
Well... from a quick search it looks like with those decision boxes the left hand path is more often "true" and the right hand path is more often "false" (short answer: yeah, it's wrong)
That would give you:
if (x < 5) then { x = x--; } else { x = x + 5; }
But (and this is an important but), I'd say that if all you've been given is that flowchart, the answer is "this can't be done because it's unclear which path you take from the decision box - more information is needed"
If your course notes specify which side of the decision box should be considered "true" by default, though, it's safe to just follow that standard.
Make sense?
shoot
It's really quite a while since I did this, but my guess would be the issue is that the addition converts oldCharacter to an integer, and then you're trying to store an int in a primative char - so the solution would be to cast the result of the addition back to a char type:
newCharacter = (char)(oldCharacter + 5);
Not 100% sure, though.
ok thanks again
sorry mate, got some other stuff I need to do. you could probably type that in and get the answer pretty quick though. π
haha ok, thanks for the help
this is a good exercise for you to learn about arrays, try to get the answer and we will check
im not sure how to implement it into the code, as it keeps coming up with error
remember that any array starts on 0, and be careful with the j initialization inside the loop
you can always copy paste the code and run it
@paper crow im still really unsure
can someone help me program an alphabet soup in c #? :,)
look
whats up
the output is DAY, if the code is not like this it will throw some errors
thanks
remember String[] letters = new String[]{}; and also the ; at the end int j=0;
This is why exam and homework questions (should) ask for workings. π
what's your graphic card?
yes..
GPU?
Hey I want to learn how to code Any specific books or sth you'd recommend I have skillshare account maybe sth from there
I took an html CSS course, but I need to revise the things that I learnt
depends on what you want to create
in any case, python is a very beginner-friendly language (I haven't read many books, but I liked H.P. Langtangen's "Primer on scientific programming with python", should be easy to find a PDF online)
IMO, you should try to find some type of course that has some types of tasks associated with them
guys is codeacademy pro worth it? Also can I pay yearly instead of monthly can't really find anything about the yearly cost to it
personally never used it, although i have (almost) exclusively used free resources to learn code, prob not necessary unless you really want to for some reason
Any advice on this would be greatly appreciated :) https://stackoverflow.com/questions/68049502/why-does-it-say-that-requested-tensor-shape-is-361
NVIDIA GeForce 840m but what would you guys recommend? @west crescent
It's not really a good one for animation especially in 3D form. You still can start with it, but for long term, update to a desktop with an mid-end graphic card is much better in both working and rendering.
hey
anyone here good with R
idk how to find the standard deviation of a set of numbers without having to like important data
like if i have a sample of numbers, 0, 1, 3, 7, 8 how do i use R to find it's standard deviation
Has anyone used a simple, free tool to pull reports or forms from MySQL? Am looking for something like the forms functionality in MS Access but for MySQL.
Am going to try JasperReports Studio for this (posting here in case anyone looks for the same thing)
idk, try mssql server
I am looking for C# coding buddy
or a mentor
start with putting the numbers into a vector, then use R's built-in function sd
samp <- c(0, 1, 3, 7, 8)
sd(samp)
@pearl cedar Using the keras functional API, I'm trying to apply a keras Reshape layer to reshape somethign from shape (19,) to (1,19) but it doesn't work
It's part of a long model but I singled it down to this error
@pearl cedar Yes that would work to simply define the layer but then to use it I feed in the tensor of shape (19,) as input
I see; I take back what I said about the parentheses
I know it's not original but I'm creating a flashcards app with voice recognition for android for my EPQ and I'm having trouble coming up with ideas for a name for the app.
If anyone has any ideas then give me a shout.
what is the difference between using c++ and c# for programming games? is there any big difference between one and another?
C# if you want to build games.
I don't know much about games but:
C# is a language that has been developed for enterprise software. It is more like Java than C++.
C++ is a low level language that has been developed to be very fast and work well on any computer. It is good for game development
@gritty fable Actually listen to this guy
C# is used in Unity 3D so it is better for game development.
thanks @peak raft and @remote elbow, your answers will help a lot
bless your soul bro thank you so much <333
hello anyone here have experience on rooting machines like htb or tryhackme. i need help here. thank you
Can anybody tell me why unwanted zip files keep automatically downloading whenever I connect to wifi on my android phone/tablet. Is the wifi corrupted? I don't understand!
Hi! Can somebody help my friend @quiet hollow? He's having a problem with his keyboard (it's lagging) and he can't text properly. If anyone can help he can communicate w you on voice channel.
Is anyone working here in php symfony framework? I have problem and cannot find any solution
yall what is the main tag used for in html5
is it just used to group related content together
Rooting machines like HTB or THM? Are you in a specific room? I currently use THM. I'm don't really understand your question though, can you elaborate?
Have him 1) Restart his computer 2)Use a different USB port 3) Update or uninstall/reinstall the driver within device manager 4) Its been happening for a while I would recommend scanning for viruses using CCleaner or something
im having a virtual machine that neee to be rooted. the machine is not from either htb or thm. can you help me with that?
He said it went worse :(
Is it wired?
yes
Then this should have probably worked, check this out https://www.techwalla.com/articles/how-to-troubleshoot-keyboard-typing-lag if not then there might be a hardware issue π¦
i sent him the same link :( but thank you
https://www.udemy.com/course/graph-theory-algorithms/learn/lecture/10794122?start=0#overview
Something to watch for learning graph theory
cool
Task: Write a program, using functions only, with the following features.
- Program reads paragraph(s) from the file and stores in a string.
- Program then counts the occurrences of double letter appearing in any word of the
paragraph(s) and outputs the characters along with its number of occurrences. - If a double letter is appearing more than one time the program should show this only
one time.
Sample input (file):
Double bubble deep in the sea of tooth with teeth and meet with riddle.
Sample output:
bb 1
ee 3
oo 1
dd 1
/??????????????????????????????????????????????????????????????????\
c++
What exactly do you need help with in this problem
If you want people to just give you the relevant code, I think it'll be better if you try to solve it a bit and discuss the doubts
Somebody have a good recommendation of a book for data structures?
Introduction to Algorithms by Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest, and Clifford Stein.
Anyone beginner at react wanna proceed together ? i know just the basic concepts
none of above, when you are using a mask you turn to 1 the bits you want to touch, in that example if i want to change the bits 1, 2 ,3 then i have to use a mask like 0x0111 =0x7 using an OR operation
hey guys, i have a question in computer science. It's about network, can someone help me?
@elder narwhal
thanks
hii does anyone know how to use after effects for free? its really expensive here in my country.
I don't know if promoting piracy is fine in this server but you can find pretty much everything on torrent π
Can anyone help me
I wanna download discord in my windows 7 laptop 64 bit...
When i click on setup it shows Kernel error...
Pls help me
:sob:
I believe that windows 7 has lost support from windows last year, maybe discord has dropped windows 7 as well
@rigid kestrel π π
I am sorry π¦ , check if your hardware could support an upgrade to windows 10
Windows 8 is also loosing support in 2023 so no point in windows 8 as well now π©
Rip win 7
Windows 10 runs better optimized than win 7 iirc
Machine should have no problems switching over, not to mention it's more secure
I believe there was a free upgrade from windows 7 to 10
and 8 to 10
but i dont know if it was a limited time thing
https://www.theverge.com/2020/1/14/21065140/how-to-upgrade-microsoft-windows-7-10-free-os First thing that came up is an article from the verge
Maybe that works? Windows upgrading tool? Jan 14 2020
Wait, am I actually allowed to post links? Lol
Yeah he mentioned Win 7 64b
na kernal error for discord installation
Leave this bro
I will figure it out
Thankyou for helping :v: :v:
Yep
Its working and i m doing same
....
Hm
@idle dew i am going to buy asus rog scar strix 15 2021 next year
.....
π
Hi guys, I am stuck at cnn architecture.
I have [130x30x1], where 130 is temporal, 30 is spatial. learning rate = 0.005 with sgdm
The best accuracy is 0.81. My aim is 0.90.
Any suggestions? (Matlab)
Here are a few starting points:
Do you know if you have enough data?
Do you know if you have trained enough epochs? (then you can know if the learning rate is good as well)
Also I would try some different optimizers like Adam, if you haven't already
it is enough epoch and data. (also, i am not allowed to change it, only architecture). Thank you, I will start with optimizers.
Anyone here familiar with C?
Go ahead ask, someone will surely help u out
Kinda unrelated, but does anyone here know how to make study-with-me livestreams? I want to make a study-with-me channel (inspired by jv I guess) but I have no idea what to do lol.
trying to read the terminal input:
./program a b c < names.txt
As 2 separate strings in C
so u wanna split the input on a particular character right
There are many ways, i would recommend you to try out using OBS
I would love to have the pomodoro timer and the real-time clock on my screen. I would also love to type in the task that I would be working on live on the screen. Is that possible with OBS?
yup obs is too powerfull and open source π
Alright I'll learn how to use it. Thank you.
Essentially the text file will have strings, so the text content would go into a string of strings
so you wanna extract values for a b c from the txt file
I wanna count the occurrences of
Doesn't have to be a b c exclusively, can be geo go na mb
Do you know about file handling in c?
alright
File handling in C with programming examples for beginners and professionals covering concepts, Functions for file handling, Closing File: fclose(), C fprintf() and fscanf(), C fputc() and fgetc(), C fputs() and fgets(), C fseek(), Advantage of File control statements and more.
this will help you to read a file
next u wanna split into strings right
on occurrence of space i assume?
I am file can't be hard coded, will be red only from terminal while running the program as
./program a b c < names.txt
yes
didnt get u
I can't code file handling in this, as I'm supposed to have it read it as user input when being initiated from the terminal
ohhhh
yeah so its either getchar() or scanf()
Can't use scanf since it'll stop after the space
Or wait, I think I can use scanf
ya u can
so finally u cant edit the code file
u wanna read from a text file
and from that text file u wanna split into a list of strings whenever space occurs
correct?
yeah
To my knowledge i dont think all of this can be done without editing the code file
Not necessary store the text file inputs
Just go through it to cross count the occurrences
so just this is to be done
Check this for splitting a string https://stackoverflow.com/questions/4513316/split-string-in-c-every-white-space
for splitting str1 and str2
then for the count i believe u just need to run a loop and compare
may i ask why even i type bye, the do-while loop still continue?
your do while loop will run atleast once
considering you enter bye it will print bye and then wont ask for input again
because your loop will get terminated
If u know while loop, the code in the brackets will run after the condition is checked whereas in do while loops the brackets code is executed and then the condition is checked and if true the bracket runs again
so basically while loops check condition first and run where as do while loops run the code then check the condition to decide whether to run the code again
and thats the problem...
ys
From what I see in your code, you typing bye into the output. But your not associating the string "line" to a output. So when your looping through it is just going to continue because line is still ""
I can work on your code after my work session but I think it is something minor like that and can be fixed with some similar reassignment
nana
line is saving "bye"
issue is in java
you cant compare strings using
== or !=
you need to use string compare functions
ic! so i should use .equal()
try this @worldly wind
it works. thx a lot!
hiya guys, can anyone explain what a hackathon is?
In simplest terms a hackathon is just an event were people come together and collaborate on a software project for a period of time. Let me know if that makes sense or if you want a deeper explanation @sharp shale
if you use windows OS then you can simply use a crack version of after effect
Yeah it does, i get the part where you are presented with a problem and you have to solve it through code, but like how does it work, especially if you are a beginner in learning coding that too just one language
So in those situations if you are on a team I would just say make sure the team is working on a language that you currently understand. Unless you are willing to work on new languages which I am not sure if during a hackathon is the best time to do so.
And it just works simply by a group of people coming up with an idea... for example you want to create a netflix clone. You get 4 people for example and just start working on it. Typically hackathons can range from lets minimum I have seen thus far 1 day to like 3 days. And you guys will complete a stub of the project, assign different roles for example 1 person does UI, 1 person back end, 1 person may help with graphics potentially or work on some form of automation concept if that is in the project and then just work through the project
ah that clears up a lot of my confusion, thank you!π
There are also hackathons for specific fields like Machine Learning, or very general hackathons about tech solutions for social problems
So, general hackathons are good for beginners since both ideation and coding is equally important
Mostly, the coding part for such hackathons isn't something very advanced and just requires a fundamental knowledge of web or app development
Can someone suggest me some cool unique front-end project ideas
I can use Javascript HTML CSS.
I have to build it by Sunday!
Judging criteria :
- Impact of the idea to the society
- Completion of Implementation of the idea
- Technologies used: until browser modules-> apps should majorly focusing on frontend and browser API
- Architecture and Cleanliness of Code
- Uniqueness of the Idea
these are the judging criterias
does someone know about processors data and control hazards
I see, thank youπ
A bit
do you know assembly ?
i need examples of each hazard in assembly but dont understand the difference
Gotcha, give me a sec
Hey, can anyone help me with a laptop suggestion? I'm a highschool student so the budget is a bit low, around 500 dollars...And I would like to start digital drawing so a touch screen is preferred but I wonder if its possible in this budget 
It really depends on what's available where you live so it'd be best to ask someone locally
I wouldn't recommend the Samsung Chromebook
holy shit does anyone have experience with react bootstrap?
im literally malding about the fact that i cannot seem to find out how to get my custom colors to work
or rather custom themes
@ me if u have any tips or can help me
question - silver or space grey macbook? I heard it's easier for scratches to appear on SG but would like someone's opinion if possible.
could someone help me add floor markers..
"(4) Floor Markers
Next, you should work on getting the floor markers showing up on the correct floors next to the building. The first floor marker will always show up at the top floor. The other markers should show up at consistent intervals, based on the total number of drop points. You can determine the spacing by calculating (number_of_floors / drop_points). For instance, if the number of floors is 12 and the user wants 3 drop points, then there should be a marker every 4 floors (one on floor 12, one on floor 8, and one on floor 4)."
Do you need the formula for the floor markers or do you need to know how to get them to display
i need to figure out how to get them to display using this formula
(stories / points)
this is what its supposed to look like
I had coding for 1 semester so I'm probably not much use for this
ah, do you think i should take this to the math channel?
Yes but also no
Since the maths is basically stories / points then stories - points to figure out how many "empty" spaces you have but beyond that I'm at a loss
Maybe if you look back on the practice material for this, it could have some clues how to subtract that stuff
yea thats a good idea
i took space grey. for using 3 year I have no scratch
Anyone here proficient using Pydroid?
Tysm for the response! Did you have any casing around your macbook?
You could try something like this inside your while-loop
str_to_print1 = "| # # # |"
str_to_print2 = "| |"
if i % marker_frequency == 0:
str_to_print1 += "<== (%d)" % (i // marker_frequency + 1)
print(str_to_print1)
print(str_to_print2)
yeah, the simple transparent case. but i removed bottom one. when the big app is open, mac is hot. then the ventilation works not well. thats is why I use case for monitor part.
Will it be better for me if I take an ipad and attach it to a keyboard instead of buying a low budget touch laptop? (I am into editing and digital drawing and I need to get school works done)
Hi
do you know how to make money online by creating sites? i ask this because i tried on UPWORK but I fail and i want to try another way
You could advertise on Fiver for example, but web design generally requires a portfolio for you to present to a potential customer to make them interested - You could work on creating a couple of good-looking websites aligned with your interests and building a portfolio by creating websites free or at a huge discount for consumers/companies that are interested
Hi everybody !
Is there anyone that knows C pretty well ?
Me
I know C/C++
#incldue <stdio.h> void main (){char c[100]="i know C/C++"; printf("%s",c);}
))
where do you need this language? or what project you want to create?
???
@burnt tartan
i mean not just websites , and C/C++ simple programs, or PHP , or more
Well you said creating sites so that's what I got from that lol
But stuff like upwork and fiver perhaps, and if you're certified getting a job in the IT industry
ok
you can only press and move
In Java, what's the critical difference between calling a method with and without object
int a=accept(x,y);
int a=demo1.accept(x,y);
Where demo is class name, demo1 object name and accept is a method. Thanks!
Hey! Can someone suggest me a good YouTube channel/ Website to learn Javascript from 
@tidal violet I'm not sure about a YouTube channel but
https://javascript.info
Is the best resource I've seen to learn JavaScript
Hey everyone
I recently started learning Python and i am facing an issue writing a certain script
If anyone could help you can dm me. I would really appreciate it
Thanks in advance!
okayy, will check it out, thank you!
Feel free to post here or DM
go with "WESBOS"
Thanks guys will check them out!@remote elbow @fringe yew
Can someone help me with the first part
I'll try and figure out the second part on my own
The greedy algorithm fails for n=10
Or to generalize it more, it fails for numbers which are of the form '3m+1' where m is a positive odd integer
Since it would divide them by 2, instead of subtracting 1
@verbal wraith okay so in the 1st iteration, you would get 10/3=3 (since we would programmatically be dealing with int(s)). Further, in the second iteration we would get 3/3=1 right?
But that would be wrong
That implies only two steps are needed
The greedy algorithm would have to consider whether n is divisible by 3 or 2 before considering them
The greedy algorithm in a) is working in reverse, so divisibility needs to be checked before replacing n by n/3
β
god willing i have a simple python question:
im writing a program where you enter a date and itll tell you what day of the week that date is, how do i get it so that it can also display an image with the date? ive downloaded simple image
anyone recommend small projects front end development
you will have to use a py library
I got it thank u tho!
please could anyone help me solve this code, I am not sure how to fix the errors that are popping up,
These are the errors
Ant help is appreciated
God whats wrong with my brain everytime i learn coding when i finish a simple task, feels like i want to take a break everytime i do it ππ
Anyone know languages and automata?
God, I thought I would never see this language again xD
guys, i need help with a python exercise. I'm dying π
I have a list of emails that include emails of professors and students. The professors' emails end with @ornate fractal.college.edu and students' end with @wise rivet.college.edu.
I must separate the student and professor email ids into two lists, remove the extensions and, count how many of each are there.
But I can't seem to figure out how to separate them into two lists based on student or professor ids. how do i do this? please someone help me
Look up 'Python string operations' and 'regular expressions'
They'll help you with your exercises and also help you learn more
You are also going to need to create a function with probably one parameter maybe more. And you going to need to sort through those emails and look for the differentiating differences between the two emails. Prof and Student...
Hopefully that should help you get started and making some progress
8 assignments due by July 11th and I dont feel like doing any of them
i sorted them into two lists like this,
our_list=['abc@prof.college.edu','def@prof.college.edu',
'ghi@student.college.edu','jkl@prof.college.edu',
'mno@student.college.edu','pqr@student.college.edu',
'stuv@student.college.edu','wxyz@student.college.edu']
stud_list=[i for i in our_list if "student" in i]
prof_list=[j for j in our_list if "prof" in j]
print(stud_list)
print(prof_list)
but now I'm trying to remove the parts after the @ in each list and it's not working so far
You basically need string slicing
There are multiple ways to do it
You can count the number of extra characters at the end and remove those
Or you can simply split the string at the occurrence of '@'
Yo whats would you call projects like these
Both projects do a virtual desktop kind of theme which is really cool.
Or is it a regular website with a virtual desktop as a theme
id like to second that
I don't think there is a specific name for these kinds of websites
really?!? i feel so dumb
Hi, I really don't understand what exactly is 'lower intermediate' or 'upper intermediate' in terms of skill level since they really depend on what your definition of them is but for me, just learning technologies and languages that seem exciting works
Also, doing projects in them to make sure I have a functional knowledge of them and not just a theoretical knowledge
Once you have a strong foundation of general basics, it's just learning and applying constantly
Lol, it's nothing to feel dumb about
dude programming is such an obstacle like thank god i have these groups
I understand why it could feel that way
im doing front end first then backend but like damn its overwhelming
and im trying to get an internship
thanks dude really appreciate it
I think that should come with practice and applying your knowledge to projects
What exactly do you mean by 'intermediate' though @idle dew
Lmao
Got it, could you express it in terms of concrete stuff like what technologies/languages you're comfortable with
and what projects/courses you've done @idle dew
Yo how all these basics connect to each other.
Like arrays, loops, if-then etc
How do you put them together when you working on projects
have you tried advent of code? I like using their questions to practice. You can implement them in any language. The exercises start out easy and get more advanced. After you attempt them, you can look up other peoples' solutions online; a lot of them are advanced programmers and I often learn something new from their solutions. https://adventofcode.com/
what kind of projects are you looking to work on? like coding exercises or full-scale projects?
Building websites and working on my java script
Im also trying to build a portfolio
I see. I'm not in web dev, so I'm just throwing darts here. Maybe it would help to build one minimalist website with some basics (forms, dropdowns, navbar, etc) and focus on understanding that really well (and brush up on the basics like loops, arrays, etc.). Then you can use it as a template to build other sites for your portfolio. In short, spend more time on a baseline project and strengthening your fundamental skills, then get creative.
A seasoned programmer looking at your portfolio may be more impressed by one solid, clean project, over multiple messy projects that you can't fully explain.
Like they said, there are multiple ways to do it. I think easiest may be to use replace. For example,
s.replace('@student.college.edu', '')
where s is the email address. Using split() is also a good method, as previously mentioned.
thanks!
anyone good with basic c++?
==========================================
i have this link how can i make it to open a pdf viewer in browser not to download it
Are you using your phone to do it?
im on my laptop
but the device is not the case, you can still open the pdf viewer in chrome for mobile like this link
https://website.unikfamily.tk/pdffiles/atomichabits.pdf
I think, (not a techie here)
open in new tab on you laptop, and a dialog box should appear which will ask you whether you want to save the link or open it
If it immediately starts downloading, then go to your browser settings and change from download directly to ask before every download option (or something along those lines)
Hello, is intel 5 11400H (laptop) good enough for ui/ux design and coding?
Sure it is, make sure you get enough ram too
8gb ram is enough?
it also depends on what kind of coding you are doing
for mobile development you probably need stronger specs, specially if you want emulators
sorry i feel asleep but thanks for the tips.
yo does anyone know a good place to learn and use practice test for sql
Probably Web dev
How about ryzen 5 5600 H
how do yall keep up school work while self teaching??? like rn im learning sql at school but i also want to brush up on html/css/javascript . how do i so this without getting overhelmed
anyone in college first year doing really well in C??
should i get a pc or laptop for uni?
Depend on you, do you always bring your laptop to the class?
idk im just asking in general cus it's my first year in uni this coming sept
and idk what device should i get
If you can only get one, get a laptop, I'd say
Laptop allows more versatility. But it really depends what you'll be using it for. Cause you can usually borrow a laptop.
focus on the basics
laptop 100%
Most of my ankis are overload so im gonna stick to remembering fundamentals instead of terminology
Exactly, Try to practice simple layouts with HTML,CSS
Sounds good.
is anyone here familiar with python?
anyone good at java can give me advice for what im doing wrong here?
You need to put the FileNotFoundException before the Exception. As the Exception will catch all of them. (But I'm not a Java expert)
Figured it out thanks π
I am familiar if you are still wondering?
Is there any free website to learn C Language?
Alright thanks manπ
No problem!
hello anyone into Data structures and algorithm preparation want to pair up
we can discuss questions or concepts learned weekly or daily
Anyone familiar with developing apps for android and have any good resources to use? Maybe guides or tutorials that helped
I'm planning on using Android studio if that helps
Hi. Anyone into discord channel settings. I wanna create a bot to inform participants regarding blog posts on my web site when my blog posts are online. I tried a couple of ways but didn't work. Thanks in advance
Hello, so ... I have this program that does not work and I do not understand why: c, if someone helped me, I really would be very grateful, I am new to algorithms and it really is very difficult for me. The program to be carried out: Write a program that calculates the sum of all the even numbers between A and B, including the extremes. A and B are two positive integers provided by the user, with A <B. Example: INPUT: A = 2, B = 11; OUTPUT: 30.
My program: #include <iostream>
#include <cstdlib>
using namespace std;
int main()
{
int a,b,c;
do{
cout<<"ingresar un numero menor que la variable succesiva"<<endl;
cin>>a;
cout<<"ingresar un numero mayor al anterior"<<endl;
cin>>b;
c=0;
}
while(a<b);
for(int i=a;i=b;i++){
c=c+i;
}
cout<<"la suma es: "<<c<<endl;
return 0;
}
please help me :c
Hi ! I'm an engineering student. I'm trying to get into arduino-like stuff, and I've quite a few questions about that. Is it better to buy components (board, resistors, switches,...) separately, or to get a kit ? Are some brands better than others ? Where can I find good guides to get the basics and solid bases for the future ? (Budget is no problem here)
I get the answers depend a lot on my goals/why I'd like to use Arduino's for, but I myself am not certain. It's more about discovering and getting electro-mecanical skills for my studies and my own curiosity.
Thanks a lot ! :smile:
I was in your position first, i got an Arduino with no other components, and just bought them separately later, but tbh I felt really lost because I didn't know shit about electronics
But when I bought a starter kit that was available in my hardware store it was a much more pleasant and guided experience
OK, I'll do that too. Thanks for sharing your experience ^^
hi, please fill this out to help with my computer science NEA https://forms.gle/8zV6AqXPCMSp9TzE6
Does anyone have windows 11 here?
I coded this thing in python and its a bit slow so I'm going to write parts of it in C. Does C have libraries for data structures similar to a pandas dataframe or should i just store the dataframe as a dictionary of arrays
- Since you have already provided a < b ,the condition is always gonna be true and the while(a<b) loop will thus never end. So this isn't required ,ig only the 'for' loop is required.
2.In the condition part of your for loop ,since you want to run it till b,it should be i <=b .Whereas in your code you have initialised i to b.
3.As you mentioned ,only even numbers have to be added so there should be a condition inside the for loop that checks and skips odd numbers.example - if( i%2 == 0) then c =c +i. This way the statement will only run when current no. is even.
If anything said by me was incorrect,feel free to correct me as I'm still learning this language.
Anyone know any good resources for finding datasets? (For machine learning)
reddit r/datasets
Kaggle
Thanks!
Thank you the fisrt,second and third point really helped me to run the program.Thank you so much c:
Can anyone help with this question?
sure, where are you facing problems exactly
one of these answers should come up, but I couldn't find any of the answers here
check dm
How to find levels of complete binary tree with input being number of nodes present
What number of nodes will be considered invalid for a complete binary tree
see 2^i where i = 0,1,2,3.... is the no of nodes present at each level of a complete binary tree
here i is the level
Okay thanks @rigid kestrel
Anyone know where I can get the MonoLisa font for free
Thank you @rigid kestrel
Which framework should i learn if I want to add animations in my website
I think you just need frontend for that, no particular framework
CSS and JS
Think HTML is specifically for formats and then JS and CSS give it that special effect
currently using boostrap and i have only used js css for styling, i though i needed to use other framework to implement animation
thanks
Anyone has done hackintosh in g40-30?
does anyone know how do i increase/zoom in screen size on BlueStacks?? pls help

Hi, I just recently covered normalisation in my class so sorry if this is completely wrong.
I'm designing a database for an invoicing program and would appreciate any feedback.
FYI, the 'Details' tables store the rows of each invoice/quotation and MySQL doesn't draw the arrows between the corresponding attributes so sorry about that.
I'm unsure about whether these need their own primary keys or can they just use the foreign keys from the previous tables.
Hi,
You can use use foreign keys as primary keys. From the diagram I understand that "Details" table has 1 to 1 relationship with invoice Table
Is there anyone know javascript ?
I need to understand Do while loop
`function guessGame() {
let randomNr = Math.floor(Math.random() * 11);
let guess;
do {
guess = prompt("Give me number about 1-10");
console.log(guess, randomNr);
if (randomNr > guess) {
console.log("Your number is to low");
} else if (randomNr < guess) {
console.log("Your number is to hight");
}
} while (randomNr != guess);
console.log("You Won");
}
guessGame();`
I did a small game
And I dont understand how is it works
π
If someone explain me how it works it will be cool.
What don't you understand
You generate a random number
You keep asking thr user to guess until they get it right, if they dont you tell them if they're higher or lower and repeat
When they get it right you exit the loop and print you win
Has anyone tried installing minGW w64 for Windows 10?
I'm unable to run the installer
hi
how can i work programer on internet (languages C/C++(OOP), JavaScript, HTML, CSS, PHP, SQL) without some experience,(I want to gain experience)
i want to work in some community
who can help me?
????
If you donβt understand your code, did you even write it lol
The details table has a many to one connection with invoice table on the diagram
Is there any specific course that i need to learn for data structure & algorihtm?
Then a separate primary key should be created for details like invoiceDetailsId which can be referred as foreign key in invoice table
i have a meh spec pc and got it to dual boot to linux
just wondering, can i use it for ios software development?
studied it for a while
but realized i need xcode to do it efficiently
Are you a computer science student at University? If so, the CS department should have a data structures and algorithms course. If not, there are resources online. There shouldn't be any prerequisites required aside from basic coding skills.
hey is there any competitive programmer right here?
if i am not wrong ios dev will require mac hardware / macos if you can somehow build a hackantosh
Anyone know how I can position a SVG to be centered at 70% across the width of the page?
Im from non it background
Hey, I am a beginner programmer, looking for a study buddy to study programming stuff together π (I am currently learning Java and JavaScript)
hey my laptop is getting hot all the time its still fast but cpu almost 100 degree celsius any suggestions?
Try making ur own projects, try correcting other's codes online and then there's fiverr
Check the cpu fan in ur laptop
on fiver need some projects to show people that you are not beginer
or something like this
If that's not the case, then ur battery is damaged
U need to change it
Fiverr is after u make few of ur own projects
And try and connect ppl on LinkedIn or through mutual connects
Try participating in hackathons
cant do s** on my own think ima go to a store
That's the same problem with me xd
I had the exact same problem a while back, I just took my dad's laptop and he got a new one
It shud be found it
@echo rivet newbie on codeforces π¦
Ay Im getting into cp too, I still suck tho :')
Hello guys, I'm not a guy who codes and have a limited knowledge of python. I want to master python. Can anyone help with the resources and help me understand in a deeper level
https://www.coursera.org/specializations/python I did this course last year
Guys please help me...I tried to change my username name in Windows 10. And when I tried to sign-in again. All my downloaded files are lost and I'm facing temporary sign in issue....all my files in download folder is necessary for my work. Please help me get access to my old files
I took this course. It can be fast-paced for someone with no background, but it starts with the coding basics you need and you can go at your own pace. I'm sure there are other resources online as well.
https://www.coursera.org/specializations/cs-fundamentals#courses
Do you mind explaining how you changed your username? from your message it seems you are being signed in with a temporary profile.
I changed it using control panel. And changed the users folder name using another profile in my laptop
I'm down to study java with you
Send me a dm of what topics you'd like to cover :D
nah actually im finding someone that can help me win a national competitive programming championship. hmu if any1 interested π
what does that mean?
ICPC?
Guys, do you think you could answer to this form? Should not take you more than a minute. It would help me for my Thesis.
https://forms.gle/D23qXLEnYcvCmfW16
Thank you very much.
hello, Δ± cant run discord or utorrent on my pc (Δ± had reset my pc today and tried download all stuff again) Δ± download java but still doesnt work. can you help me plz?
Guys , if anyone of you knows data science and is interested to work on a model to predict cardiovascular diseases , ping me
Does anyone have grokking the system design book with them?
did you reset along with your files
try running a windows defender full scan
Δ° did
Still nothing
I cant even setup pc's offical program which can be download in official page
I am acer nitro an15 user and we have nitro sense key on keyboard and i tried download nitro sense program in official page and it didnt work too
Check your recent downloads and check if any files are sus and check task manager and check if any process is taking too much power and memory and if itβs a potential virus
What browser are you using
Is it not downloading the exe file or you are not able to open it ??
yes Δ± cant open exe file
Δ± am able to open opera and steam games and this is all
opera
Try downloading from edge and see if itβs working
Are you getting the exe files or is it not downloading that too
@everyone can u teach me c++
I can recommend you some good books on C++ if you're interested?
Ok..
- Teach Yourself C++ ( Herbert Schildt ) [ Best book in my opinion]
- The C++ Programming Language (bjarne stroustrup) [ this one is much more detailed]
Here's a Drive link to a C++ course.
https://drive.google.com/drive/folders/1xVIrbMJBRIwU57ZslFNHfFY0jReLXBPw?usp=sharing
There are plenty of free courses available on youtube. Feel free to explore them too.
Bro r they videos or pages ?
It shows me tht " NO. OF PLAYBACKS EXCEEDED "
Videos , Download The drive folder
how do you study for coding classes?? what is your process like to avoid cramming for exams/assignments etc.
any tips help lol
any book recommendations for phyton?
also, any tips and tricks for phyton would be great
i'm also learning java so if you want we can
1.Learn Python3 The Hard way (Zed Shaw) [ My recommendation]
2.Introducing Python(Bill Lubanovic]
3.Learning python O'riley series[ mark lutz) [ Very detailed book]
Here's a drive link for a course on python :
https://drive.google.com/drive/folders/1KQTT5hhcdzG8NTUWh63yqFiz9I82sG9t?usp=sharing
AGAIN, Lots and lots of good free videos and articles are available on the internet. Just google with the topic name and explore
Hey people ! I really need help to create a java interface connected to an oracle database, can anyone offer some help?
Grind , Grind , Grind
From which language u started
hey, could anyone help me with a internet related issue?
Swift
Taking 2 intensive coding classes. 1 intensive engineering writing class for the summer. Thats basically my moto right now ππ
What is SWIFT ?
Yall this a question a bit different from whatβs going on in here but can someone tell me what could possibly happen if I press the power button and volume down button at the same time in Samsung galaxy phone (and then after a vibration press power and volume up again) ....itβs a long story but in short someone asked me to switch it off but it required the password so I tried to force shut it but now m afraid if this would have caused some resetπ
you might have gone into the android recovery menu as long as you didnt double click and agree to a factory reset by going through the menu the only thing that would have happened is it shut down
so mp no problems
check the documents online. my friend had set the settings that it needs a password for shutting his samsung off so unless anyone who knows password cannot shut it off.
Actually yeh the instructions online showed that a menu should have appeared but as I did it ...I didnβt see any menu appear and neither did the phone switch off like it it just restarted and i still donβt know the password so like I hope the dataβs safeπ₯²
maybe it just took some time to load
mp if its asking for the password it means that the phones data was not reset and everything is intact
cause if you reset the password wont be there
Yeh exactly that was the thing it was asking for the password to shut it off but I didnβt know the password so I searched online on how to shut it off without the password and I did this volume and power button thing and sth didnβt seem right to me after I did that panik
Ahhh yes itβs actually still asking for the password π« so I hope itβs safe
99% itll be safe
so lets just pray for it
A thankssssss π lemme pray then thanks tho now I have some sense of security like ahhh maybe itβs there itβs fine
you're welcome ,tell me how it goes once its unlocked
Ah thanks sureee Iβll update u π₯²
yooooo thanks for the drive link and the recommendations.
Yo, in search of learning partner for JS.
I have learnt C++ in past including OOPs so it will be a fast forward learning experience.
Course: https://www.udemy.com/course/modern-javascript-from-the-beginning/
DM me, if you are in.
Bruh we unlocked it and the everything is there ππ₯²π€ m safe lol idk there was a quick msg from android but I missed that but still anyways itβs all fine
Lessgoooo
I need to store login information for a program im making for a school project. What are my options?
obviously storing passwords in plaintext is a bad idea so do i just store a hash of the passwords in the database instead
yes, hash them with bcrypt and store in a database
hey, could anyone help me with an internet connection issue
will i be able to implement that into a java program or is it language specific
You should be able to in any language
I personally haven't done it for Java but there should be a way
You'll have to look it up
thanks π
Anyone here who has experience with website building using WordPress?
@south ice I've dual booted Ubuntu, how exactly does it not boot
Did you change the priority order of boot drives?
Okay so
For you to boot into the live usb
You need to go to your bios
And change the priority order
Currently your main HDD or SSD will be at the top
You need to have your USB at the top of the priority order
@south ice screenshot please
So, one of them will be your USB and you need to have it at the top
And then it'll be able to boot to it
There must be some way to identify it
Hi everyone, anyone knows how to use Windows on an Apple M1?
@south ice I think it should be either USB HDD or USB Cd
You'll have to look it up, and see for your device
What those entries mean
This is the boot device list option right?
everytime i join a discord session my audio i was listening to before get really quiet
where is the option to turn that off? π
Hi!
what programming language do you think i should start ?
i studied coding in highschool but i wasn t so excited about it and i wasn t sure about what path i wanna follow... in highschool i studied C ...
HTML Can be a great start its easy as well as highly demandingπ
Which device and os?
let me guess you are using either an ipad or an iphone this is a feature you cant turn off as it detects discord as an app which takes calls and it will automatically reduce the volume of other apps to prevent any distraction
i kind of want to learn programming/developing. i know html and css aren't programming languages. where should i start?
i've heard things about python. is it a good idea to start there?
Yes, python is good
depends, what are you interested in?
my journey started with html & css, then I learned a bit of javascript and found that it was so cool and easy to make interactive things in the browser, and you don't need much to set up or install or anything, and you can put it on the internet, etc
with python, you can learn the basics using a python "notebook" following some tutorials, but then you're going to have to deal with installing it. there's a bit more of a learning curve as far as making apps and stuff goes cause there's not a "natural" visual interface (browser) with most other languages like there is with html/css/javascript
Seems like they just wanna learn for the sake of learning and do not have a goal in mind so any of the standard languages like Python, C++ make more sense imk
I don't think installing and getting python running should be that challenging
But yes, JavaScript is a nice start too 
if you start with python, google "python virtualenv" it will save you so much trouble
Can python and Javascript work together on application? or is Javascript only for html (which i doubt)
I know how Python works but I want to make a game which uses Javascript (.Net framwork) just dunno where to start
as usual I know unity for like 5 years so I am pretty intermediate on Coding
Altho havent really explore much Code language except Csharp
generally in a server based game python and js both run together
if ure trying to work on unity or unreal engine u wont get to work with these as they develop only the frontend aprts
but if other than that u can make the use of both
yeah, I just want the flexibility on coding since you basically start from ground up
Yes, you can use python to develop the backend server while using JavaScript on the front-end to provide interactivity
additional question, How do you actually use .Net framework, heard big games using it like Minecraft or Terraria but dont really have a general idea on how you will start developing using .Net framework, or am I just being stupid and thats actually csharp
So its just for website?
Yes, if you're doing game dev, then other languages like C# are preferred
u have to learn the .net framework cuz honestly bro there's a hell lotta other thing going on than what er actually do in the free engines
C# is used only in specific engines
The only thing I want from python is the functionality of using multiple windows, Unity doesnt have multi window support so I thought of using Python which has it and javascript which is similar to csharp to help me get used to it
the engines of activison or blizzard arent revealed and activision basically uses python and java for its development and javascript for the frontend scripting and dbms for shelling them
