#tech-related-help
1 messages ยท Page 17 of 1
I wrote most of it and I took some bits feom stack overflow
Are you sure you are using .finditer correctly?
https://www.tutorialspoint.com/How-do-we-use-re-finditer-method-in-Python-regular-expression
check this out
According to Python docs,re.finditer(pattern,ย string,ย flags=0)ย Return an iterator yielding MatchObject instances over all non-overlapping matches for the RE ...
alright @ me if you run into any issues
now I get "NotImplementedError"
on what part of the code?
Two interfaces they cant have the same address network. Each interface have a address network specific
okay now it is not printing anything ๐ญ
Good
You're welcome
ok i think now the issue is with the actual regex pattern
I think that I shouldnt be using the compiled function but I dont know how to change it
Hii everyone! Studying chemical engineering. Does someone know a good app/webpage to take notes? I've been using Goodnotes on iPad, but sometimes I prefer to use pc and I need something that have accessibility for both. Tried OneNote but its kinda basic for me I guess. Any recomendation? ๐ค
sry I don't
Awww ty anyways
import re
data = ["hi", "hello"]
regex = re.compile("^hello$")
res = []
for item in data:
if(re.search(regex, item) != None):
res.append(item)
print(res)
i did a little test here and it worked res had "hello" in it
you might wanna try the sciences channel
Yeah I'll try in some other channels tyyy
But will it print the lenght of a def?
the lenght of logs() needs to be == 979 if u use a list it will not print that right?
yeah the function returns the list so itll be checking the length of the list
ohh ok ill try it
your logs() function returns the list data and when you do len(logs()) what you are actually doing is checking the length of the return value of the logs() function which is a list
also in regex you should put it in between quotations and it should start with a ^ and end with a $
ohh okay got it
should every line begin with ^ and end with $?
or just the beginning and end of regex?
just the beginning and end
you should also include the \n (line break character) if there are multiple lines
https://www.regextester.com/
i recommend you play around with regex here to understand it better @coarse river
Regular Expression Tester with highlighting for Javascript and PCRE. Quickly test and debug your regex.
tysm! I will check it out tomorrow I think I need to get used to using regex ๐
the code is still not working but I will try again tomorrow it's late now. good nightt
alright goodluck! but from what i can tell its giving back an empty list because the regex is not correct so it's not picking up the patterns
ohh ok but it worked before that's the thing but anyway I ll try everything tmrw thanks again
If anyone needs a tutor for python or C feel free to DM me.
Anyone knows Haskell? I'm having trouble with some exercises
notion
Definitely
Anyone in here have experience with pySpark?
Anyone know Kotlin?
whats your question?
im stuck on this quiz. the first pic is the code i had written down and the second link is the problem @spare ocean
i can stream my screen if you want to walk me through it
have anyone tried algoexpert ?
fuck on phone compilers working so bad
here
its JS, but there is same conditions
look at function only
hope it helps
it did ! thank you
anyone Know how to code in Lua
you welcome
I'm considering it, actually'
Sounds esotheric
Hi guys, this is more theory and research based but How do you compare programming languages such as C# and R?
I have looked into compiler and abstraction so far but not sure where to go from there.
both should have a function to measure process time, then you can compare, that how you can demonstrate (for example) that Python is waaaay slower than CPP or C
It usually depends on your specific needs, target audience numbers, requested traffic.. etc
Compare and contrast the C# with the R programming language. Explain their design and implementation and how they relate to their intended use.
^ thats my question
yea done that as well
would talking about structure be okay for languages?
is the structure of the languages also their "design" ?
Hey guys anyone have their AP Comp Sci exam soon?
For programming notes, I used to write markdown files in vscode - I like doing this as a minimal approach and I still create study guides in markdown. I recently switched over to notion for class notes. The major benefit is I can take screenshots in lecture (zoom class) and paste them into notion - and it has similar markdown functionality (like code blocks).
I don't know much about R so I will swap it out with python.
The main difference is in the compilation process. C# is compiled to bytecode, just like java. The bytecode is interpreted by the C# runtime (.NET), just like java bytecode is interpreted by the JVM, and just how python is interpreted, as is, by CPython. CPython is written in C/C++, so in a way python is written in C/C++. Therefore, you can actually call C++ modules directly from python scripts, though the overhead is much higher when you call them from the python runtime.
C#'s architecture and design pattern is much more 'traditional' OOP. Python is a more functional, scripty, messy type of OOP. People think a language is either functional or oop but they can be both. Python and javascript are great examples but most mainstream languages have examples of both. The key difference is that C# is strongly typed, so you need to explicitly state exactly what types functions expect as arguments, what they return, etc. For example, in python you may have a getAdminUsername function that takes an Admin object and returns their username. In python, if you pass in a User instead of an Admin, as long is they have a username, it will work. In C#, the program will not compile because you passed in the wrong type.
This seems trivial but it actually completely changes the way you code. In C# you cannot see if something works until you have set up all the types properly. It is super annoying if you just want to check something really quick, but on the other hand you get much more information just by hovering over stuff in your editor. On top of that, if you write something like 'typeof variable' in python, chances are you're going to get something vague like 'Object.' In C# you'll most likely get something much more specific.
Lastly, speed. Compiled languages are by nature faster. They can simply figure out more computations before runtime. That said, compiled python can be just as fast if not faster than c#
The way to give python a chance at processing as fast as C# will involve doing a lot of messing around with the interpreter and the libraries you use. For example you can see just as good if not better performance to C# if you use the Cython library. That said, building a real app in Cython will be frustrating depending on what it is because a lot of libraries you want to use will be incompatible with Cython and you'll need to find ways to cast the types properly for cython to use
is that like flexibility / backwards compatability?
Yes JIT compilation is used in C# and it makes it extremely fast. It's basically a hybrid system where the program compiles as it runs because it gets more and more information. Once the types are more and more solidified, the runtime (.NET) can compile more of your code in advance
yeah like lets say you pass a certain type of high level you retrieve from an API into some CPython computation. That API decides to change the return types of its data to different types of integers. All of your code will be broken
Sorry Cython, not CPython**
As a side note to JIT, it takes a ton of advantage of caching so it also checks there to see if theres any information it can use to learn more in advance about how your program will run
Haha it is complicated but being exposed to it more times will always help
yeah
this is pretty advanced stuff, I mean nobody outside of python devs would have any idea what im talking about
ive briefly compared them
the c# is slightly more common knowledge
R is very niche to data science
yeah python is also very common for data science
yea
but more for data science applications and software and less for actual scientists
Guys I finally feel that I'm making improvements on Data structures, at least at a theorical level
๐
Awesome
what language would you guys best recommend for competitive coding?
c++
all competitive programmers i've watched use it
oh,,,,thanks
java or python
c++
C++
Anyone got a recommendation for learning unity resources perhaps?
udemy has some good ones, if you aren't a beginner to programming try "unity in action" by joe hocking
its on z-library
๐ hello, front-end junior / mid senior dev here. I'm all in ears for any type of web dev or coding related questions just wanted to say hi

Firstly Hi :)) Secondly since you proposed, I intend to work as a front-end developer soon and right now Im good with vanilla css html js and vue, what should my next step be? I was thinking react.js
Oh hey, excelent question. You may want to learn react for a next step. It already consists some of the vue functionalities already built-in but also It's waay more hyped right now. If it was like 2 years ago, people would be argue about vue / react / angular combo but at the time I see react has a clear ahead.
I would suggest you to go onto the back-end devlopment basics too. React and axios / apollo would be a guarantee portfolio project.
And lastly I'm currently working with Nextjs which is a react child framework. It's really good and hyped at this moment of time
I will highly recommend you learn TypeScript firstly, imo its must have skill in 2021
Alright then ill go with react, I already know backend but havent really practiced it too much
Honestly ive been putting it off for awhile but i really should get to it, along with something like SASS or SCSS
on real projects, typed app is very much loved, so TypeScript is really very good and will increase your qualification ๐
TypeScript is the future lol
and it will also speed up your development, because you will not have a "black" box, the intelliSense in the editor will help you perfectly, because you type each object into an interface or type.
you will know what you want to get from another component or from the server
Marwanos you should choose a project to work on. SCSS SASS BootStrap and Tailwind MaterialUI are the main to go with your styling. React Next Hooks Nextjs is the logic based and lastly you can dip your toes into the backend aspect all of these too, the basic understanding is required
Yes, and don't forget to go to the repository above 
Hooks(as a concept)
Hooks are amazing too, yep
We wish you luck and here to answer questions
Thanks guys you gave me some ideas for my summer project hehe
will do!
Anyone have any experience with Jenkins & Jenkinsfiles?
Trying to run a jenkins job from another pipeline & passing in two params at two different stages
stage('pipelineA') {
steps {
build job: 'pipelineA', parameters: [
string(name: 'aws-genesis-prod', value: 'aws-genesis-prod')
]
}
But uh, nothing happens
I have so many problems with jenkins all the time so I really cant tell sorry...
yeah I just started learning it
Hey guys ! actually finishing a personal Fullstack MERN project, i would like to deploy it, do you know what's the easiest / fastest way to deploy it ? aws looks sooo painfull to do x)
Hi guys, wondering if some base knowledge of computer science is necessary before learning a programming language like Python?
Hey Ishhin, I would give Vercel a shot to deploy it. I don't know it would be compatible or not.
I'm only in highschool for computer science but I highly doubt so! Learning syntax especially for a language like python is easy n something you can pick up along the way
If you can pick up a python textbook you can probably go pretty far with just that
@proven arch roger that, thank you. I may do a bit of research on how it actually works though ๐
Good idea : P
@idle dew Cheers man, i'll look for that ๐
Not necessary but it surely helps espesially when you encounter problems, knowing how things work really saves your time. But if you are a beginner, you should focus on learning how to write Python first.
i also deployed at github pages
@open cairn roger that mate
You'll learn the cs topics as you learn python as long as you follow a guide that explains what the code you're writing does and whenever you don't understand something look it up
@mystic crater I've got the udemy python bootcamp - is this the way to go?
I haven't tried it but udemy usually is a reliable source so ig
Anyone understand how works Linked list in C language?
It's been a while since I've used them specifically in C. But what is the problem you're having?
I'm part fluent in C, list are arrays with memory direction keys between elements
What can i help with
Well I have file with some text and I need to save from line every word to Linked list.
So each element in the list will be word
It is a txt?
yes
Take a look here, its a basic example
Otherwise dm your code and I'll take a look
Alright I will look and if I will have some trouble Ill dm you
Sure!
Anyone can recomend me a book/web/tool... to learn java script
I actually programme at python
Check out the "Try it Yourself" section here: https://www.w3schools.com/java/ref_keyword_extends.asp
The key concept here is inheritance and that the child class that extends the parent (B extending A) can overwrite methods of the parent class and they end up getting called instead of the parent method. Even though you declare the class on the left as a type "A", it still has the child methods because you instantiate it as "B".
It's easier if you think of "A" as vehicle and "B" as car. Although you can call your car a "vehicle," it's more specific to call it a "Ford Mustang". And although all vehicles honk, it honks in a way specific to a "Ford Mustang."
Hi everyone! I'm currently a professor of game dev, but I'm planning to go back to being a freelance full-stack developer. Since I've been teaching full time for 4 years now, I believe my current tech stack is a bit outdated. What language or platform can you guys suggest that I take a look into and study?
I used to be a native android and asp.net core developer for 3 years, but I believe the market is leaning towards react, nodejs, etc
Flutter 2 and React-Native is on the rise right now for mobile/web cross platform
I would suggest you to look into Flutter 2 especially
Oh, yeah. I was looking into both platforms recently. Thanks for the tip! I'll grab a Udemy course for a quick study then.
Thank you!
Create 2 boolean variables to check when you are entering a continuous stream of 1s or 0s, and set them to true when you come across more than 2 1s/0s in a row, and set them back to false otherwise.
And create another 2 sets of int variables to store the index of where you set the boolean values to true and false respectively. That way you have the exact locations of the positions where you started and ended
@jolly crow so when it comes to for and while loops, they each have different purposes
I'm interested in getting into Full-Stack development, can anyone suggest me a good online course?
what's your experience level?
Ok I have my notebook ill write down the notes ~
I'm good with basic JS HTML and CSS, and know my way around SQL (MySQL specifically)
Don't know any JS frameworks tho
full-stack development uses quite a lot of technologies in the background so if you're already at a point where you can use HTML/SCSS/JS to set up the front-end then you'll need to move on to learning things like PHP,SQL,AJAX, NPM, and maybe WordPress. Depending on what kind of things you want to be making
@past mauve You can check traversymedia in youtube and also please check some actual projects to work on.
There are also options for using more fully fledged environments like Django in Python if that's more your taste
just iterate over each bit of the std::vector<bool>
While loops are generally used as a way of looping until you've met a specific condition, while for loops don't need to meet a condition. for loops can also be used as iterators to handle data in a more efficient way, like if you want to get a specific property from each object in a set, you could do [i.property for i in dataset]
I'm good with Python, but I hear that Django uses NoSQL for its databases right?
depends on the stack you wanna learn
Ahh so there are different stacks too ๐ฅด
mainly mern or mean
as far as i'm aware you can use lots of the different versions of SQL with Django, you aren't restricted to one i believe
Ohhh I see!! But what about the "i" that is often used in questions is it a default thing or just a variable?
When I was using Django it used SQLite for its databases
In the while loop
Hey guys, does anyone know how to update from high sierra to catalina? I have an early 2011 and the system won't let me update
Afaik it uses MongoDB now...
And what are MERN and MEAN ๐
Mern : MongoDB, Express, React, NodeJS
Mean : replace react with Angular
people tend to use the notation "i" inside of a for loop as it represents either the number or iterations or the current object you're iterating over. For example, in java you'd see something like:
for {some_list; i<20; i++}
Where "i" denotes the iteration
the i could be anything - you're telling the for loop that you're looking for something, and you're specifying a name for what you're looking for. In my own scripts I've used i for convenience a lot, but I'll also go into specifics like [key.value for key in dataset] if I'm writing unclean code :)
Just store in 2 arrays of booleans then. No need for more variables
@jolly crow did you say you were working on Python?
because for Python you'd usually use the notation in for to represent a variable/piece of information you want to operate on inside of a list
Does the Django stack require JavaScript too? As in stuff like Node, React and Angular
so you'd put something like:
for char in string:
operation you want to do on the char
or
for item in some_list:
operation you want to do on the item
Yes I got confused and thought it was a like a mandatory to have due to the exercises only having the "i" as a variable, now I'll try the exercises of the loops to remember the information
a good practice : don't use i and j for iterations
Lol why
it depends, sometimes it's fine
Okay!! I'll update you on the progress, I really appreciate your help!
sometimes when refactoring code it can be confusing
I use i and j exclusively for iterations and never anywhere else
you're welcome, best of luck
Ahh makes sense
this was me learning java honestly
honestly in a professional environment (just from a python standpoint) i is used really commonly for iterations
^^
I can definitely see how in .net or other lower level languages the refactoring is an issue but since Python is such a high-level language there isn't much of a problem. Python also isn't generally refactored as much in DevOps, when code goes to prod it's expected to follow best practice and formatting, otherwise it generally has to be revised lol
yeah i can't recall the last time i didn't send something off without linting it
Alright, so finally, if I want to learn the MERN stack, can someone recommend me a good course?
yeah True yeah i do agree but the whole idea is to make the code as readable as possible
for each their own , i worked with a guy who doesn't use 'else' statements
that's just irritating
yeah but he was convinced nested if are useless
what language did he work in?
python
Did he at least use elif?
oh god he probably suffers when he sees code that goes out like:
else:
pass
return something
Hilarious
so does he not use elifs?
no not really
weirdo
That hurts my brain
Doesn't that slow down the program though?
Like if you have to check each condition then it'll take longer right?
he's fast but his code was spaghetti
reminds me when i used to love goto in C
He's the kind of person who doesn't use case in c++
case is fantastic tho
Switch case is the one thing I wish Python had that other languages have
Otherwise Python is perfect
Absolutely
That too
In some low level, like C, its quite common too
I do a lot of intelligence analysis and having to work with data without switch/case is something that really has made me want to learn more C++
I might revisit C++, i only used it briefly years ago to make a simple text-based game when i was like 19
i bet that code was awful
Lmao, I used it awhile ago to make a discord bot but after that I just dumped it
you never want to edit an already working C code
back in the days Eclipse was considered a good IDE
Lol
I really love pythonic solutions to problems but damn, if we made such big changed from 2..x to 3.x I hope 4.x comes with ++ and switch/case....
I used to use Eclipse
Back in the day VS was a bad IDE ๐ฉ
Back in school
now VS is insanely good
VS still is bad lol
VS Code is the good one
well vim is still the king
Shh.... the first one doesn't exist
Noooo let's not start editor wars now
i use it where i can but sometimes i need to use other stuff
I dont agree with that. Maybe that can be true in a few cases.
i do love vim though
Pleams emacs
do we have any people into building keyboards here
As in like PCBs for keyboards and all?
not building the components themselves, just assembly and tweaking and modifying
like buying case,PCB, Switches,Plate,Padding,Lube,Keycaps and everything
soldering it all
Should've made it in JS or Python and save yourself the headache lol
tbf you can be way more efficient with lower level languages for stuff like that
The point was to learn it and give myself a headache lol. Before that I made a couple community bots in Python and NodeJS ๐
Aight Imma head out, nice hanging out
later dude
Seeya man :)
Looks cleean

lmao
samw
Does anybody know how to make arrays work in constructors in Java?
how could jvscholz sounds so crispy clear no buzz even though his mouth is far away from the mic? is it because of the mic quality or theres some setting?
whats the best language to learn for starters ?
python is very simple to pick up and the room for expanding with it is endless, still used for big projects too
is it possible to learn it in only a laptop and not much of a big setup?
yes! plenty of tutorials on youtube also if you'd like to learn
went through first and second year computer science with a toaster of a laptop just fine lol
what is the use of super().init()while creating a inherited class?, bruh discord converts lowecases to italics, but you know what i'm saying
oh i see, thank you!
the use of super() will allow you to override a method that you've made, so super().init() will override your init() method (if you've made another)
not sure if i botched that explanation
right, kinda get what you're trynna say, so like say if i've created a child class which inherits two classes say classA and classB, also both the classes inherit a Base class, so when i create a object of the child, in order to avoid the Base dunder being called twice, super() helps you with that, right
yes
cool, thanks a lot
how to start localhost/8080 ?
are you making a webserver or something
umm, what server are you trynna host on?
my local server
import socket
import sys
# Create a TCP/IP socket
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
server_address = ('localhost', 10000)
sock.bind(('127.0.0.1',8080))
sock.listen(10)
optional_headers=('''Content-Length: 55743
Connection: keep-alive
Cache-Control: s-maxage=300, public, max-age=0
Content-Language: en-US
Date: Thu, 06 Dec 2018 17:37:18 GMT
Server: meinheld/0.6.1
Strict-Transport-Security: max-age=63072000
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
X-XSS-Protection: 1; mode=block
Vary: Accept-Encoding,Cookie
Age: 7
''')
response=('''
HTTP/1.1 200 OK
Content-Type: text/html; charset=utf-8
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>A simple webpage</title>
</head>
<body>
<h1>Simple HTML5 webpage</h1>
<p>Hello, world!</p>
</body>
</html>
''')
while True:
connection, addr = sock.accept()
print('conn:',connection,'addr',addr,'recv',connection.recv(1600))
connection.sendall(bytes(response,'utf-8'))```
Here's a basic example of web server
tnx
yooo fire๐ฅ
when i did my web development module, i used XAMPP and it made running webservers a lot easier
has Apache in addition to allowing for databases, php etc
it is advisable to go for XAMPP/apache/nginx etc if you are working on production critical application how ever if you want to learn network programming(ie sockets ) programming it will be a good expirience in my opinion
just depends what you're using the server for, but yes @open mural is speaking facts
here's an example in c++ please note that this example may contain memory leaks as im not good with low level programming
Does anyone know if James pc set up is a modern setup that just looks old?
he has a 1060
and some pretty modern cpu that I don't remember
but you can just read the description like the text on screen tells you to
B
oh actually it could be E i honestly forgot if java is pass by reference or value
The answer key says its E and I have no clue how
I looked into but it just says the monitor not the desktop
yeah so whats happening is the array you are passing to changeIT is not being changed
So changeIt doesn't effect the code?
it creates its own array but doesnt affect the array being passed to it (nums)
its because nums is being passed to changeIt by value, as in we pass a copy and the original will still be intact afterwards
Thank you so much
sorry being a bit pedantic but you don't pass in a copy of the array, you pass in the reference to the array which will get stored in arr, so modifying arr in the method would in fact modify the original array. since you overwrite arr with a reference to a new array in the method, the original array doesn't get modified
ahh right i see what you're saying im a bit rusty at java and id always get confused if it is passed by reference or value. Anw id have to try it out myself if i want to be 100% sure. Thanks for the clarification. @little reef the answer is still the same but the reason is different see schwoop's comment I believe they're right.
Thank you all, just cramming for the AP test tomorrow
good luck!
Finals week and Iโm dying lmao
Currently trying to force myself out of bed to grind
Finally understood basic sorting methods (bubbleSort) so I'm feeling kinda happy
I'm goin slow but safe
It works just fine
No I have to find when j = 2 what happens
Ik it works just not sure how
you're ok
Is bubbleSort i think, can anyone correct me?
more than enough
b=''
for i in range(0,len(stri)):
if(i==n):
continue
else:
b=b+stri[i]
return b
@shadow pagoda if you dont want to use string.replace() you could do something like this
nope it isnt
on codingbat the solutions are always way shorter than mine heh
shorter code == more readable
oh damn
it dosent matter there are 100 solutions for same problem
# with the power of regex
import re
kek = 'smtn'
re.sub('s', '', kek)```
is another method
cool thx
The solution has to be readable and efficient, is not a sin to get a larger piece of code as long as itsmore efficient than a shorter piece of code, remember that you have to know why is more efficient (Im struggling in this part)and then youre good to go
This is very true. And if the code is very short and not readable it is not manageable. A longer piece of code can be indeed more efficient than a shorter one but the other way around is also possible :).
so longer code could potentially run faster than shorter or no?
No, not in particular. Longer code could be better managable but it all depends on your situation and what you want do to. If your code is working and you can manage it and it relative fast than it is good code (in my opinion, Im not a software engineer ๐ ).
i feel like, particularly employers, would prefer shorter code if it is just as efficient bc it is better for maintainability and makes it clearer yk (idrk)
But then is the question is shorter code clearer and better maintainable (JK)? Everyone has different thoughts about it and it will be a long discussion and you don't get a clear answer ๐ .
can anyone help me how to disable slow mode on discord
Can anyone help me setup a virtual machine on my PC? I run windows but my class needs a linux OS ... having tech issues plz help
have you enabled hyperV?
Yes. installed ubuntu as well ...
have you tried virtualbox?
that's the one I want to try next. can i msg you privately about the steps for this one?
yea
what linux flavor are you searching for?
is it ubuntu/
?
and are you working in windows 10?
@karmic cradle
anyone know java i can dm?
@mystic crater Heyy sorry to bother you again but I still have one issue with my program can you help me please?
yeah whassup
ask here 
ok so I basically fixed but the problem is with the length of logs() it should be 979 but it is only 4 (it is taking the forst dict in consideration only)
import re
def logs():
with open("logdata.txt", "r")as file:
logdata = file.read()
pattern = '''
(?P<host>.[^-])
(\s-\s)
(?P<user_name>-|\w)
(\s[)
(?P<time>.)(?=])
(]\s")
(?P<request>POST.)(?=")
'''
for one_item in re.finditer(pattern, logdata, re.VERBOSE):
return one_item.groupdict()
print(logs())
print(len(logs()))
i still dont see you using the correct regex tokens (^$)
I tried to use it but the document is one full string so it is taking the last element in consideration and returning nothing
Putting a return statement in a loop means you're only returning the first iteration of that loop. If you want to return all of them, return the iterator itself.
true ^^
I just jumped in without knowing what the problem is. Hope I didn't just throw a misplaced comment ๐
how do i do that?
i know the problem is with the return bc when I used print it worked fine but I don't know how to fix it
I don't know much python, but I'd say you should check out the map function
so that you can return the groupdict() of each element
you could save them in a list then return it at the end of the function
I tried that but the assignment requires us to put it in the log itself
ill check it out thanks
i managed
had to create an algorithm to print out prime numbers till a certain point but having to call another method that checks if theyre prime
if that makes sense
couldnt get it to work for some dumb reason
turns out i had a for loop with bad condition
heyy im a beginner in code but iโd really love to learn coding, which language would you recommend me to study first and do you have any particular tip ?
it depends on what you like to do: data science, making a good design / work with UI (front-end) or make the software and hardware part of the service (back-end). personally, I started with Python, but then I fell in love with JavaScript with all my heart.
if you don't know where to start, python is good because the syntax is very similar to english. My main tip would be to be patient at first because it will be hard until you understand how computer languages work. Once you're past the beginner stage, you can use code to create practically anything and its super fun
Also copy and paste from stack overflow a lot, lol
I agree with these two. I'd recommend learning the basics of python and if you want to get https://www.makerfabs.com/pewpew-standalone.html this mini handheld console, you can put it into practice in a really fun way. You can make mini games on a grid of 8x8 pixels and once you're familiar with python you'll be able to make anything that ranges from easy to difficult.
thanks so much everyone, iโm so glad you helped me, your advices really motivated me !! thks!! ๐
wish you luck! 
guys any good course of DS and algs w implementation (regardless of PL)
In general, Brilliant offers great courses
@mystic crater @river nexus
thanks for your help guys. I submited the assignment and got a full grade!
cool
Nice bro congrats
Guys i need help on implementation of Data structures, does any1 hae a video or a course?
What kind of data structure?
the most common ones
https://www.udemy.com/course/datastructurescncpp/ i think ill buy this course
i mean, i can surely find the info of that course on internet for free, but the structure of the course will be better than doing it myself i think
While this will probably explain the concepts, if you're looking for actual implementations, there's no escaping foraging through github for other people's implementations
got it, thanks man
https://github.com/TheAlgorithms Check this out
These are quite good for educational purposes. Most of them are suboptimal implementations that you'd need to fiddle around with for better efficiency, ..etc.
Hi can anyone explain why the answer to this would be d and not c
missing assignment on y++
i think
@river nexus knows better
In the
public static void increase(int y) {
y++;
}
```, you pass a normal integer. So when you do ```java
increase(y[0]);
It behaves like ```java
increase(1);
Since the function is passed an integer, it is not aware of the fact that it is an element in an array, it just received a copy of it.
i was thinking the same, im not that bad after all
When you pass integers to functions you pass them "by value" which means they are copied. However, for something like arrays, copying them is a headache so they're just kept in place and their address is sent to the function, so when you edit that passed array, changes are made in the original one.
No reason to think you are ๐
I find DS and algs hard enough :c
Java is just a mess with that pass by value/reference stuff because they're implicit
Spoiler alert: nobody uses these things
well most of them at least
Yea but I need them in order to get the Facebook Internship I want
they're just there for HR to have questions to ask you when you're applying for a job
T H I S
thanks so much for the explanation @river nexus ! So when we are calling increase(1) , y becomes 2 in the array? and now the array for y = {2,2,3,4,5} , however, 1 remains the original primitive value for y[0]?
Not really. When you call increase(y[0]) the function receives it as increase(1) and thus it has no context of being in an array.
it gets a copy, increments the copy, then the copy is actually discarded when the function returns. So actually nothing is changed
yea, in the previous one, you can see the reference to the arr position, in increase(y) you pass the element as a parameter and the copy thing that sis mentioned goes on
got it, that makes sense, however, the copy is fully discrded? so the result of increase(1) <-- 1 is not stored anywhere?
yup
Thats a lot clearer, tysm! appreciate the detailed response
Is kinda nnoying that I have to learn this things just to pass de coding interview
Will be taking DS and algorithms next semester ๐ฌ how is it?
Well, in rare occasions, they can prove useful. (but mostly as a reference)
I'm taking it by myself and at the moment, the abstract/theorical part is easy but I never have seen the implementation so...
Nice! what course are you following for it for self-learning?
Actually, many of it
Im reading Data structures and algorithms in JavaScript (i like the language)
And taking a youtube course of implementation of DS and algs in C++
Nice!! I haven't really touched C++ at all and only have a tiny bit of knowledge on JS, my DS and algs class is gonna be in Java from what I see in the syllabus. Good Luck man!
I'm kinda going hard with it as u can see
My toaster isnt working ๐
hey guys, i know python, i want to get into competitive programming but with the language C++, any tips on practice for competitive coding
thank you
I believe the answer is D, extending the class A (parent class) onto class B (child class) means that class B inherits from A all the methods and instance variables within it. Therefore, although class B COULD use the message method already, the fact that you declare it again within class B means that you are OVERRIDING the method to behave in a different manner than it was declared in class A. Hence when you call line 4, your output would be "B2" instead of "A2"
I originally thought the same as well, however the answer is somehow A
This was the explanation but it made no sense
Also I have been trying to use VS Code but it keeps showing this
It didn't before but after I downloaded Python package it occurred
le python?
Python est dur
Vous avez un virus de cheval de Troie. Ton ordinateur va se briser
OOOOH
@little reef I didn't read the question properly
So basically they are asking what will happen if you remove the message method from class A
oui
Lmao you know what's sad about this? My AP test be tomorrow ๐ฆ
And I can't read problems either
Reminds me when I accidently forgot to finish an entire page of a math test
Three times in a row
So I gave my test to my teacher to make sure I finished
Thanks
Pretty much, the explanation says you will get a compile error because on line 3 when you call obj1.message(3), obj1 is an object of class A even though you instaniate it as a new object of B (because of inherited shared properties).
When you call the .message method on the obj1 it will go to class A to look for the method and execute it. Since the method will not be there if you remove it you get an error, IT DOES NOT suffice to override the method in class B (what is gonna be overriden if its not there to begin with? - ex: how will a child inherit blue eyes from a parent if the parent and their whole family history has only ever had brown eyes? )
LONG STORY SHORT: The child always inherits from the parent, the parent CANNOT inherit from the child EVERRR
@red kelp BONJOUR, J'AIME STRAWBERRie shorthcaike
bon j o u r ??
Java can be tricky tbh, I am taking it rn college level and it was jump from python bro. I had no previous background in programming before college so definitely good for you to be in AP and starting early, takes a lot of practice and focus time for sure
When discord teaches better than your teacher
Bet thx bro
Np man, best of luck on your exam and lmao mood man, bless the discord people for helping me out as well ๐ฅฒ
francais o englesh?
sorry
not spelling good
dont make fun
english
why eviryone speak englesh
because im american
yeah I think this server is USA based primarily @timid violet , thats why there may not be many other languages spoken
ohhh thanks you'
You're welcome ๐
This is international server. Read the #rules before joining any server bruh
sorry bruh ๐
static means it can be called without an object of the class
you can just do class.(whatever the static thing is)
it also technically makes it so there is only one of that variable since there cant be many of it linked to different objects
but it's not immutable
So basically the answer is d because the variable x is different for each object (first, second, third) but the y variable is the same for each object, so any change that is made to y in each method call changes the y value everywhere. So if you understand that, to get the answer you just follow the program and do the math
Y is incremented each time a SomeClass object is created. This is because y is a static variable (belongs to every object in the class). When we call the incrementY function later, the first call increments by one. The second call has a parameter so the second incrementY function is called, which adds 10 to Y. getY returns the static y variable which is 14.
hopefully that helps
Hi can someone explain how the answer is C please
like how are we getting an ArrayIndexOutOfBoundsException, wouldnt the for loop stop before the program crashes since 5 < 5 would not be true?
Yeah you seem right, unless we are both blind, there seems to be no error there... Have you tried running it?
''' I
yes I figured it out thank you though
The print statememnt is actually NOT in the for loop
You can check out the status bar at the bottom to verify that VScode is recognizing the correct language. If it's correct, I guess the squiggly could be due to a VScode linting extension you may have added
Anyways good luck to everyone taking APs. I failed my AP CS exam in high school, but now I'm out here teaching people how to code so it's all gonna turn out fine y'all
the statement is out of the loop meaning that the value you're trying to index is some random value of 'int i '
usually it is some weird high value which is obv > 5 in your case
haha yes but actually we would not need to put the brackets if the "if" block only has one statement ๐ฎ
is Hp Envy good for student??
x13
it's decent for office work but for CS i'd recommand xps 13 from dell
ya I know ๐๐ป same for all loops
that's pure preference. you don't need a specific model for CS. just go with something with decent specs for your needs (usually decent CPU and enough ram, and a decent GPU if you game)
many of my colleges get by with a 100$ thinkpad, for instance
does anyone know how james changes between mac and windows on his pc?
Probably bootcamp
Has anybody experiences with the IntelliJ IDEA for Java? Is it normal for the build to take 5 to 10 seconds even for just a simple "hello World" script? Seems ways to long
that is a while lol
Can you run linux on macOS if so whatโs the best way to get it
Would I need to use bootcamp
I don't have a mac myself, but in most cases you can do everything in your shell that you can do on linux. Because they are both unix systems
Otherwise get a vm (like vagrant for example)
Fuck
Bootcamp if you want dualboot, virtualmachine (runs like an APP) or just run directly on MacOS the commands directly
isn't bootcamp to install windows ?
Can someone who knows word pretty well help me?
i have to create a table of contents but some titles don't appear
That depends on the headings you choose for your titles
Did you update the table?
Do i somehow have to modify the style of these titles to specify to word that they are titles? I can't find that option
I often forget
I'm not sure i know how to do that haha...
Any machine learning experts here? Can someone help me understanding Test-Time Augumentation. And is it possible to apply this to the validation set or is it only for the test set?
If you choose one of the headings, it will show up in your table of contents @empty sphinx
Once you select Heading 2, the option for 3 will show up and then 4 will show up etc...
the thing is i have to use a specific style for this, and i think it isn't considered a heading @idle dew
hahaha i won't get the points for the TOC tho
It has to be clickable and then send you to the page?
yup...
One sec, lemme record it for you
There's another way
When it asks you to replace the TOC, say yes
I hope that does it for you. You can select the level of indentation for each of the styles
It's a bit convoluted, but I think this is what you need
@empty sphinx
Oh yeeeessss i think that's exactly what i was looking for!!! Thank you so much for your time!
You are very welcome! Good luck with your assignment! ๐ช
Thanks! Good luck with your work too ๐
Thank you!
does anyone know how i should go about this? I don't how to get rid of the application because this message keeps popping up.
For the JavaScript smart people, if I have a function with a setTimeout, if I want to repeat this function n times, but want to wait for it to finish before repeating it, should I wrap the function call in a setInterval or is there a smarter way to do it?
so long as the function finishes completely before repeating is really what I'm concerned about, rather than just repeating it twice every time it's called
Did you try to write a promise?
I did not because I haven't googled what that is, yet
so you can try to do a setInterval, if will not work, maybe a promise, be sure that u cant put setTimeout inside another timeout cause its all async functions
yeah to give you some context
I'm writing a function that if you do
!study number, you gain the study role for that amount of sessions
currently the sessions are set to 5 seconds because I'm not spending too much time waiting for a function to run, so 5 seconds is a nice amount of waiting
then it gives you the Break role, after the study part is done
however, if I want to do !study 2, it just calls the function twice instantly, where I want it to wait until study session 1 is done before doing study session 2
Is it discord bot?
I was going to do like
let currentSession = 0;
for (i = 0; i < currentSession; i++) {
function here
currentSession++
}
yeah
that was one way I was gonna do, but I figured that way is kinda, dumb?
It can simply add the user's ID to the "session" and check if the same user creates a session, give him an error, because the last one is not finished?

you can only react to force end a session
it's to incentive people not procrastinating
If you do the !study command, it forces you into a position where you can't be distracted
eventually I'll learn how databases work and make a leaderboard
maybe then some object Date, which will be removed from the array of sessions?
since people enjoy seeing themselves as #1, which would incentive people further
I think it is clearly necessary to use the library for date or the built-in Date() than interval, at least because of the semantics of the code
yeah so far, I've enjoyed writing my own code since I'm using discord bots as a teaching myself how to code excercise
but if I should just, resort to libraries to make life easier then why not
Date() built in JS, it's also good, just libraries are even easier
so if I'm understanding this correctly, or if my thought process is correct
if I change the session to be one minute for simplicity
Date() has a time in it, so if I check that & it's 17:30:00
!study 1 = 1 minute of study, 30 seconds of break
if time =17:31:00, remove study & apply break
if time = 17:31:30, remove break, apply study if studySession < 1 & repeat
ok so it looks like
a server I'm in uses
and
as emotes
in any case, it's worth a try)

idk
What kind of clock does James have?
Pomodoro clock
Some people just get small kitchen timers and set the time on their own
i know i'm late to the conversation, but true
Can somebody please explain java lambdas to me i can kinda-ish use them but not really, and im still confused on how they work and what you do with them.
ayyye lets gooo im proud of youu
Is that a good score?
3 is passing
4-5 can count towards college credit
But then I came back and realized I have a presentation I never started due tomorrow
This you will ace as well! Prepare for what you will talk about, not what you will say exactly
That has always helped me, since if you forget what you want to say, at least you know what to talk about
Hahah also nice
hey anyone familiar with windows.h header file in C ?
hello, ฤฑ have 0xc000007b error, can you help me?
hello
Hi
how much JS do I need to start learning Angular or Reactjs ?
that's relative but imho : Once you feel comfortable with basics of : DOM manipulation and AJAX and how you deal with different librarieries in the same proj
oh it must be a long road then ๐
depends on how much effort you put into it , if you're aiming for a full stack js dev you'd take a year to be market ready usually (average(
some people learn faster so yh it depends
I do learn fast, but I dont know how to practice and on what
i'd say project based learning is your best friend
Clone websites if you don't have ideas for ones
or create your own , but the more you code , the better you get
thank you bro ๐ธ
thank you for answering
Anyone else here a dev or just students
dev also last year student
Some good resources :
FreecodeCamp (ofc)
Coursera ( google data analysis course )
udemy (zero to mastery series of courses - any course really but i would suggest web dev 2021 )
front-end-masters
official documentation for any language you're learning
CodeWars (start with kyu8 if you're an absolut beginner)
if you're looking for a roadmap for a specific field loop up : roadmap.sh
if you're looking for valid udemy coupons (100% off) check : real.discount
TheOdinProject
if you want to get started with Cyber security : HackTheBox | Hacker101 | Hackthissite
good books : Head First Java / SCHAUMS programming in C /The Art of Computer Programming (for algorithms) / Algorithms in a nutshell
@sleek wyvern here is the list hope more people contribute and you'd add it to resources channel ^
ill pin it here for now! thanks!
what do you do for work? I'm a react dev
also a react dev, but mostly front-end so I may very on the tech. I currently worked on Nextjs and Flutter mobile projects
its insane how popular nextjs got so quickly
I work on a pretty standard react/graphql codebase and we can dip into the backend if we're familiar with the feature
Y
same thing exactly
using wordpress graphql as back end
next on the frontend layer
they assign me to the whole project so I need to study 12 hour straight lol
lol jesus, dude wordpress backend is a nightmare depending on what you're doing. My first paid job ever I had to migrate a database to wordpress and it was ridiculous. Maybe its changed since then ๐
Next sounds cool though and Graphql is so much easier than REST
more config though
naah its still a hell lol
Is the db set up the same way where like basically everything in the entire site is basically on 1 table with the columns
3 columns*
it was like [id, key, value] that was the schema for the table that all of the content on your entire site went in lol
I'm learning dev and my first try on a project? a damn pern stack
i got the backend connected easy and its simple but react is blowing my brains out
Anyone here Animation artist
I need to make a 3 minutes film
Can anyone help me out
I will pay for it accordingly
Dm me
some1 pls tell what wrong here, ping me
iirc strings are immutable
instead of trying to edit the input string and then append it, try using sampstr += sampStr[i].upper()/lower etc
Can't say I've ever really used python before, but this worked
@pseudo ridge
From Get Programmingย by Ana Bell This article, adapted from Get Programming: Learn to code with Python, discusses mutable and immutable objects in Python.
Tysm
@rancid tide
Yw!
Does anyone know a good resource to learn hdl like verilog for a computer architecture course?
would pomodoro method work with learning python? or is it just really the method i prefer to learn with?
100% how you learn best
Pomodoro is good for building habits for studying
Not actually studying itself
What you do in that hour is how you'll retain the information, pomodoro just helps you build the habit and groove of setting aside time to study
For me personally, with JavaScript, I make Discord Bots, it's how I've been teaching myself JavaScript, I don't particular do the pomodoro method when making them since I tend to have spontaneous bursts of energy as opposed to consistent effort
There is a new rule (rule number 5), please read it before using the help channels! #welcome-verification
what's the pomodoro method ?!!
thnx
helo mates
is someone a c++ god?
cuz I thought I was but apparently I am not
#include <iostream>
#include <fstream>
using namespace std;
const string alfabetmala="aฤ
bcฤdeฤfghijklลmnลoรณpqrsลtuvwxyzลบลผ";
const string alfabetduza="AฤBCฤDEฤFGHIJKLลMNลOรPQRSลTUVWYZลนลป";
char Cezar_PL(char znak, int klucz)
{
int i=alfabetmala.find(znak);
if (i>=0 && i<35)
{
i=(i+klucz)%35;
return alfabetmala[i];
}
i=alfabetduza.find(znak);
if (i>=0 && i<35)
{
i=(i+klucz)%35;
return alfabetduza[i];
}
return znak;
}
string Cezar_PL(string s, int klucz)
{
string szyfrogram="";
for (int i=0; i<s.size();i++)
szyfrogram= szyfrogram+Cezar_PL(s[i],klucz);
return szyfrogram;
}
int main()
{
string t_jawny, szyfrogram="";
int i, klucz;
int kod;
cout<<"Tekst jawny: "; cin>>t_jawny;
cout<<"Klucz: "; cin>>klucz;
for(i=0;i<t_jawny.size();i++)
{
kod=t_jawny[i]+klucz;
if (kod>'Z') kod=kod-26;
szyfrogram=szyfrogram+char(kod);
}
cout<<"Szyfrogram: "<<szyfrogram;
return 0;
}```
This code ought to crypt the messege with polish sugns
but it does not
what output do you get ?
just as a preference, at the very top of your code block, beside the 3 backticks, can you put "cp" there?
also yes, as Good mentioned, what is your output (and expected output)
Its Cesar Code, for example I want word "Sลoล" encrypted into "Vorq"
It moves 3 letters
sry i'm not a native
thats the output I get so not even close
whats cp?
c plus
it introduces syntax highlighting
#include <iostream>
#include <fstream>
using namespace std;
const string alfabetmala="aฤ
bcฤdeฤfghijklลmnลoรณpqrsลtuvwxyzลบลผ";
const string alfabetduza="AฤBCฤDEฤFGHIJKLลMNลOรPQRSลTUVWYZลนลป";
my mistake, it's c++ not cp
if you add that beside your back ticks, it highlights stuff making it easier to read
done, thx I didn't know that
So could you help me? xd
hmm good point
and why is why
i=(i+klucz)%35; but then kod=kod-26;
seems like a mismatch in constants
not me but i reached for someone
And btw All Polish letters are greater than 'z' in terms of ASCII
so you must change the encoding
that causes conflicts
my program is being killed by os its being killed because its using all the memory could anyone help me debug this memory error it is supposed to read a csv file and put that data into a linked list
os is killing the program
Can i Use CSS to make Clock like jimmy, which he uses on live stream?
that's obvs encdoing error
hmm maybe try adding
std::string utf8 = u8"z\u6c34\U0001d10b";
You're mallocing in a loop with no frees
There could probably be some weird logic in the loops but tbh this indentation is a pain to read
been looking for the code like something is missing just to realise the (25 lines left xD)
XD im new to c/cpp
hi guys, is someone good with python? i need to modify this program a little and i don't know how.
- if someone enters wrong amount a massage "you entered wrong amount" must pop up and the program has to be killed
- if someone enters wrong payment a massage "you entered wrong payment" must pop up and the program has to be killed
i would be really grateful if somebody would help me understand this, because i'm not that good with python yet
i'd say redesign your algorithme and as sisyphus said use free
thanks btw
ye thank you i will try that
can you copy&paste and format the code here
amount = float(input("Type in required amount: "))
sum_payments = 0
while sum_payments < amount:
payment = float(input("Type in your payment: "))
sum_payments = sum_payments + payment
print("Current sum of payments is: ", sum_payments)
overpayment = sum_payments - amount
print("Overpayment is: ", overpayment)
print("Sum of payments is: ", sum_payments)
amount = float(input("Type in required amount: "))
sum_payments = 0
while sum_payments < amount:
payment = float(input("Type in your payment: "))
sum_payments = sum_payments + payment
print("Current sum of payments is: ", sum_payments)
overpayment = sum_payments - amount
print("Overpayment is: ", overpayment)
print("Sum of payments is: ", sum_payments)
wrapping in 3 backticks helps with code formatting
oh thanks, i didn't know
first thing you didn't declare amount ^
so the while loop doesn't really make sense to exit
Not a python user but AFAIK you don't need to declare, you just define and use as if it was there all along XD
yeah it's a program i had to prescribe from my teacher, so i did and don't know what to do with this
i m referencing to the logic operation
sum < amount
sum is initialized to 0
amount should also be initialised
that's the first glance at the problem
doesnt change a thing unfortunetely
amount is initialized to input() in the first line
I'm assuming "wrong amount/payment" you mentioned here means invalid?
yes
i assume that it has to work if someone puts 0 as amount or payment, but i'm not sure, my teacher didn't specify it
did you ever deal with exceptions in any programming language?
yes i did, but they were a lot easier
https://www.w3schools.com/python/python_try_except.asp well python has a try/except pair and float raises an exception whenever an invalid string is passed
okay, i'll try to use it, thanks
keep in mind that this will only handle invalid floats. so if you want to, for example, reject negative numbers, you'll need to check it yourself
@azure pawn did you study the coursera google data analysis course??
Whats a good way to start coding for a begginer?
check pins friendo
Sweet thnx
What could be a good language to start with? I started Python in college but didn't finish it.
I've heard Java is a great place to start
hey i am using discord on arch linux, and when i am sharing screen , the options of sharing other applications is not coming any solutions
what do you wanna do with it?
Alright I opened a bunch of tabs and 1 tab is for CodeWars, though it says start with Kyu8 for absolute beginners, to sign up it already gives me a code to begin with! It says it doesnt execute properly but I don't know how to execute it properly???
What do you mean?
well code is quite broad
do you wanna make games, websites, analyze data etc.
I guess games would be good for me.
do you have a link as to what one you were looking at?
I started that 1, I click to sign up. Choose Java, and bam a whole code that doesnt execute properly...
hm c++ is the one used mostly for games, but it's not at as easy to learn as others. I would recommend python or java. and if you like it you can still switch to c++ later on for game development
If they're looking for game dev
C# probably isn't a bad place
allows them to dip into unity quite freely
ok so @gleaming dragon
that very first one
just click submit
If you have a problem where code doesn't run correctly, or compile
compile it anyway & see what the error is
the error will tell you what the problem is
Delete what?
no add!
"error: ';' expected
return a * b
^
So, where the arrow points is where the error lies
If it expects a ; to be there
why not try adding one & hit submit again
I just did, and it worked

for me C is the best for beginners first they will learn all the fundamentals such as pointers piles files
yeah, but for someone who doesn't understand syntax or logic flow or anything of the sort
Getting them to start with C, and having to deal with manual memory alloc in alot of exercises
probably isn't the best course of action
but with that they will learn all theoretical and practical things
yaeh
plus of they want to switch to any language i don't think they will have problem with that
I think C# is probably a pretty good place to start, for someone who wants to do game dev
c# gives many possibilities it's also good for desktop windows apps dev
i feel like to much theory is bad for beginners, some people just want to learn to code and not learn CS
Isn't Coding CS?
yeah and no, there is a lot of theory behind CS that you don't need to know imo
if you start out at least
in my opinion you will learn theorical parts sooner or later while you're coding
that's true but there's some basics you just can't ignore
i have a cs degree and it's really helping me like recently i learnt python and i didn't have much problem with cause earlier like i knew what's high lvl language and what's lower lvl language or how it's compiled and stuff
ok but
nobody denies that it helps a lot. The question is if it is the best way to start out.
they don't have a cs degree
yh my point is that beginners should at least get the basics of theoretical stuff bcz that's gonna make learning the language much easier
There is a huge difference if you enrol in a CS degree or just want to start out and test the waters. If you are not sure if you like coding, starting with C or too much theory can be frustrating and boring and turn people away
yeah that's for sure
Says choose the languages I wish to train on, basically just I can choose multiple. is it best to pick a few or just 1?
i think the best thing is to choose one on the field that you wanna work and stick to 1 langauge to master it
I learned python, R, java, C++ in that order and over multiple years. I work with data science now and I mainly use python but knowing java helps. I don't think it really mattered where I started - the important thing is to just start!
does anyone know how it is possible to do a data transfer from a machine on a network to a private server via vpn and firewall?
distributed systems and cloud computing can be a solution?
@pearl cedar i'm studying data science may i ask you some question in dms?
use an ssh tunnel
I am only grad student tho but sure!
thanks, I appreciate
im not sure if that was descriptive enough to be helpful, but if you use rsync/sftp/scp or something you should be able to get it across.
no problem, I needed some inspiration I'm doing an elaborate
Start with C++ in my opinion. It'll help you understand more about programming concepts. Also then you'll be able to switch between languages in a week at max.
Hackerrank has language proficiency problems which i find useful
on my schedule for this summer
what's your niche ? are you into data science?
thinking about switching to big data/data analysis next year
college here is different , i studied 1 year of "pure CS" , now i get to choose whatever field want to continue in (SE, data analysis , Multimedia and design , Web Dev ,IOT etc )
oh okey
Hello guys, I need help in a school work involving clustering. Does anybody here knows some methods used in clustering?
using deep learning or more statistical methods such as kmeans, etc.?
i know kmeans(the theoretical part)
The course bioinformatics, so I was wondering how could i relate clustering with biology
your gonna need someone that specializes more in biology than ml probably, but thats coming from someone who knows nothing about biology
ok thanks anyways
@hallow mist do u have the link for that?
not sure I can paste links but if you want I can dm it to you
yes pls
some ftp client, like sftp or vsftp, I guess
Data analysis / ML-DL is becoming huge. It's definitely the future
am going for it chief!
Best of luck! I'm in that road myself too.
i'll enroll google data cert this weekend most likely
i mean it is in R (meanwhile IBM's is in python) but i guess it's about the logic ๐คทโโ๏ธ
how about you where you planning to start ?
Can you talk a bit about it? Isn't just a test you do only ?
thanks mate!
Both are great for ML/DL. Pick one you like, cant go wrong either way
Btw, MIT has a paid online course in ML with certification. Not cheap (around 2k) but content is good and most importantly you get MIT certified
no , it's a full course you can check the summery in coursera basically by the end of the course you'll have the foundation to search for an internship as a data analyst in other words you're supposed to be market ready (you;ll learn data cleaning , data visualisation etc , R programming )
it is worth the money tho , a college/uni name is an important factor for getting some good internships
anyone learning low level system design or AWS ? Dm
anyone understand this psuedocode smh. if given the array 3,2,5,4,1 whats the output be, i got the answer but the psuedocode seems vauge
I didnโt understand it but if u want a algo that sort data which is table i can help you
this is bubble sort right?
wait what, is consider every ith value of data starting at data[1] meant to be a second for loop
i think it just puts the biggest value in the array at the end so basically only the first iteration of bubble sort
for i = n-1; i > 0; i-- {
// consider every ith value of data from data[1]
for j = 1; j < n; j++ {
if data[i] < data[j] {
swap data[i] and data[j]
}
}
}
that's the right answer it has to be 2 loops
makes more sense tbh
this makes sense
actually if it was bubble sort they wouldve put two loops since they already used one so ig it just puts the max at the end
but if with one loop doesn't sort all the data
as you said it would do just the first step of sorting
if you could sort in n, wouldnt you get an award
the best sort algorithm by it's complexity it's the merge sort
good point
it's as i remember O(n)=nlog(n)
Is it good and worth- yes
Is it enough - maube not. You probably want to have a foundation of some sort. Something like an engineer degree (EE, CE, whatever fits your goals) will cover your bases.
At least here, many companies care more about differentiating factors, and an MIT formation is a big one.
Not sure about that google course tho
idk but this just a algo prof gave us to prove its correctness; but the psuedocode seems vague
im learning algo analysis
heres the step not look like the psuedocode she gave
maybe the slides got problem she not that organize lolll
felt so dumb learning analysis kekw
why at k+1 iteration it swap min of range [k+1, n] to data[k] but not data[k+1]
the pseudocode said at i would swap min of [i,n] with i
hey does anyone know how to simple else and if statements in python?
https://www.w3schools.com/python/python_conditions.asp try and read this, basic understanding of python
Anyone know how to implement the read/unread status for a private chat room?
Itโs setup with socket io and Postgres, I just donโt know what the data models should look like and when to push/receive the updates through the websocket
yes
yes definitely
most programs that people run anyway require a ton of code anyway so your first few projects should be much faster
hey everyone
Hi
Any one builts ruby gem here ?
can someone help me as to how to make a digital Magazine?
Check out https://colab.research.google.com/
(Google collaboratory and jupyter notebooks, If u r just running code snippets, really saves the hassle of installing python), If u have python scripts in your google drive, you can connect to google drive and run those too.
this isnt related to coding but is the power output of usb a 3 more than usb a 2
Should be about twice
(500mA vs 900mA)
okay thanks m8
Does anybody know or does anyone know of any sources on how to read a file and store the contents in the file into an array in C?
I'm more comfortable in Java but my assignment requires me to code it in C and I dont know how to do it T^T
@idle dew found this from a quick google search. Should be understandable given that you have experience in coding. https://www.tutorialspoint.com/cprogramming/c_file_io.htm
C - File I/O - The last chapter explained the standard input and output devices handled by C programming language. This chapter cover how C programmers can create, open, close
My computer got this. How to fix its guys
ruh roh, what were you trying to do? it wasn't shrink the volume that was currently mounted was it?
Im trying to convert Legacy to UEFI Firmware and got that error
On your current boot drive?
Wait did you run the command twice
Shawn or other friend; in using MBR2GPT this am on a fresh install for which I used Win usb media - all of which went well, the conversion went well, but the edit to Reagentc failed. I thought, per the suggestion in the MBR2GPT.exe helps, to disable /enab
Yes
Now i dont know how to reboot windows10 again
just turn it on and off again?
Cant. My keyboard not working either
ah... ok... so youre in windows 10 still but your keyboard isnt working?
Wait i post wrong image
Its Verifying DMI Data Pool stuck and my keyboard didnt work tho
When i F12 its stuck but in Del its work
what motherboard do you have?
there might be a setting in there that you need to change about "uefi/bios" boot mode, set it to uefi
this is on boot?
ok, start your computer. instantly mash del until you get into bios then send a photo of your bios screen
@unborn talon
