#tech-related-help
1 messages Β· Page 19 of 1
frrr vscode for everything π―
and download gcc in WSL
u can also virtual box ubuntu
^
wsl from Microsoft Store
You can read about it and see if it fits your needs
thanks man ill read it
Still didn't get why you specifically tagged me but I guess it's fine π
i saw you discussing ds concepts so thought you'd know
ah okie
Can someone help me understand why we implement default constructors in the code if we leave them blank? Thanks.
Hey can anyone tell which coding language should I learn first
I would say python π
sorry for the ping man are u still awake
sneak peek for challenge my partner sent me
i blurred out her name for privacy but
im just lookin for ur insight u seem knowledgeable on graphs
obviously its open to interpretation as to what we need to solveloll
but basically what i can tell is
I think you cropped out some of the important bit
9 school(vertices)
this is all i was sent lmAOOO we're gonna give the full prompt to each other tmrw
just a sneak peek
im assumin its going to be calculating the maximum number of students to fit in each school
is this seeming like a network flow thing ?
yeah no worries dude lmaoo thanks again its super vague so i just wanna cover all possible prompts
u been clutch man i appreciate it π―
im thinkin the prompt can only go 2-3 ways
Hi, can anybody tell me how this function works? :< Itβs output is 200 400 800 800 400 200 if I call fun2(200) but I donβt get why it can print the reversed part which is 800 400 200
- Find the maximum number of students you can hold before needing to build more rooms(max flow problem)
- Find shortest path from student pop to school to find which would need more quicker(min spanning tree?)
- Find ordering of schools which will need to build classrooms first(critical path analysis)
is this python
i only know C and cpp lol i wanna learn some python over the summer
oh i see why its reversed
think of it as two stages
Delete the last line "print(n, end=" ")" You reverse your code and at the end it will show the numbers in other order
If it's definitely about graphs, then it's probably the 1. you mentioned
it works backwords and prints the other print statement for everything in the stack
Way too vague lol, sorry not really good at guessing these kinds of stuff
^^ i know i reread it and its missing wayyyy too much info i was wondering why she would send me some of her prompt lollll
theres prolly some crazy paragraph describing the problem right outside the image
Yeah lol
And I'm not really very knowledgeable about graphs, I'm just learning
3rd year undergrad
Wbu
first year undergrad
takin data structs and algos this qtr and this is def the toughest class ive taken ever
but i feel like my cs intellect has doubled over the past 10 weeks
definitely worth the pain lol
oh
in first year, i doubt they'll have much coding
mostly just algos and time complexity calculations
American?
yep american
we've only had 4 programming assignments this quarter
but some of them have been challenging
this is the one we just finished for reference
wasnt too tough to get the algorithm, the tough part was beating the professor's runtime loll
spent about 5-7 hours on this thing it was decent work
the toughest one this qtr was having to implement a B+Tree
took me about 20-22 hours π
im having the same problem
they give me a 10hrs assignment and 2hrs to complete them
im a slow thinker when it comes to programming, I like to take my time to think
And then they just shame you and don't less you pass because of a grade you got in an unrelated course that you are forced to take for credit. Ah yes, mmmmm school
In this assignment, we will build a simple client-server system, where you use the client to chat with a dummy "math" server. The protocol between the client and server is as follows.
The server is first started on a known port.
The client program is started (server IP and port is provided on the commandline).
The client connects to the server, and then asks the user for input. The user enters a simple arithmatic expression string (e.g., "1 + 2", "5 - 6", "3 * 4"). The user's input is sent to the server via the connected socket.
The server reads the user's input from the client socket, evaluates the expression, and sends the result back to the client.
The client should display the server's reply to the user, and prompt the user for the next input, until the user terminates the client program with Ctrl+C.
Your server program will be a single process server that can handle only one client at a time. If a second client tries to chat with the server while one client's session is already in progress, the second client's socket operations should see an error.
At the very minimum, all your servers should be able to handle addition, multiplication, subtraction, and division operations on two integer operands. You may also assume that the two operands are separated by a space. So, some sample test cases are:
User types: 1 + 2, server replies 3
User types: 2 * 3, server replies 6
User types: 4 - 7, server replies -3
User types: 30 / 10, server replies 3
Note that the actual test cases we will use may be different from the ones shown above: your servers should correctly work with any numbers, not just the ones shown above, as long as they confirm to this format. Handling non-integer operands, other arithmatic operations, or operations with more than 2 operands (e.g., "1 + 2 + 3") is purely optional.
Hi, I need to do this assignment. If you are familiar with the concept, can you tell me what should I study first to do everything readily?
it's a simple server-client concept. the question is, your assignment need to be built with what language? because different language has different implementation
Hey, thanks for the feedback. It should be written using Python
@verbal wraith sorry for ping again dude but this the full prompt if ur interested
Yes, would be great if you can help
which one do you need help?
Actually, trying to get which Subjects should be comprehended before coding. I first need to study. For example, if you can suggest some tutorials, I can go through with that first. After I studied, I can ask direct questions about the problem
you can search for python socket programming tutorial in google
btw do you don't get any explanation before he/she gives you the assignment?
https://www.youtube.com/watch?v=vU4ejtRc-vk&ab_channel=ProgrammingKnowledge
https://www.youtube.com/watch?v=3QiPPX-KeSc&ab_channel=TechWithTim
maybe you can watch this
Welcome to this course on Python Socket Programming Tutorial. In this video we will see the Basics of Networking. The goal of this Socket programming tutorial is to learn how to build client/server applications that communicate using sockets. We are going to look at a bunch of application level protocols (HTTP, DNS, FTP, SMTP, POP, IMAP, ..). Th...
This socket programming tutorial will show you how to connect multiple clients to a server using python 3 sockets. It covers how to send messages from clients to server and from server to clients. I will also show you how to host your socket server locally or globally across the internet so anyone can connect. This uses the python 3 socket and t...
Unfortunately, it is an assignment for an interview, thanks for the suggestion!
ahh okay. good luck for the interview. you can ask to me later
You are such a great person, thanks a bunch
minimum spanning tree?
hiii guys , any useful sources to learn hacking
HackingLoops
Go on https://www.hackerone.com/, and go on Hacktivity. You can see all the vulnerabilities which were found on huge companies and learn so much from them. You will need prior programming knowledge though
I learnt so many types of vulnerabilities from doing that.
thanks
i know some programming knowledge , and i decided to learn cybersecurity
I got a question if someone got the answer, why is everyone learning python? I am a Java kid but more and more I see python programmers here and other tech-related servers.
Python is great starter language
Helps u get into programming
I started with Java too tho
Still donβt know any python lmaooo
hi guys
anyone know why in line 4, i get duplicate rows in my rand_data variable?
tried this as well
figured it out needed to use the sample function on the dataframe instead of loc
He there. Is here anybody how is learning JavaScript?
Is anybody here who is learning C
guys can someone help me with this
im using devc++ and whenever i try to compile my program the compile log tab doesnt stop at all
even if the code is as simple as below:
#include<iostream>
using namespace std;
int main()
{
cout << "r";
}
im getting #include nested too deeply error...
i looked this up on the internet and some people suggested to delete the application and all my files related to this compiler and i dont want to do that so is there any other way to fix this???
want to study together?
oh nevermind i'll learn python first
yea why
I don't think there is any way around it. Since the code itself is correct and the #include statements are usually being processed by the C preprocessor, your error is most likely due to a faulty compiler. Just install a different one.
Dud dud..ig I'll just have to delete the entire thing
Thanks @vinc#3137
or you could try to use an online dev environment
Instead of your local machine, but that sucks I guess
hi, anyone know how to do loop unrolling in multiple for loops, for code optimisation?
this might sound dumb but try using build in packages more? Going on the theme that python code is all over this channel, for loops are wildly inefficient if you can just use built in functions that actually run in C
I am using C btw
I have a triple for loop its multiplying two matrices
for (i = 0; i < size; i++) {
for (j = 0; j < size; j++) {
for (k = 0; k < size; k++) {
result[i][j] += first[i][k] * second[k][j];
}
}
}
like this
i dont think you can get any better then that, you can try to look up for different algorythm but multiplying matrix has a complexity of Theta(nΒ³)
there should be a faster algorythm but i can't remember the name
" As of December 2020, the matrix multiplication algorithm with best asymptotic complexity runs in O(n^2.3728596) time"
cit. Wikipedia
ctf are a good place to start
Hellooo! So I need some serious help about hosting my website with its mysql database. I've just finished my website locally using XAMPP and now I want to deploy it but there are a lot of hosting websites and tutorials and I'm lost because I'm new to this
Any tips?
you probably have to pay for the online database service (mysql). for hosting your website, you can use heroku, its free hosting service
hello, i have a problem with a c function, basically i need to initialise an element of an array of struct(in the code it's named list) with value from another struct( p).
i have done it this way, but it doesn't work:
(i have passed dim in this way bc in this function i re-assign the dimension of list whith a realloc)
void assign(person** list, int*dim){
person p;
( * list)[( * dim)-1]=p;
}
i need to assign all the values one by one or there is an error in the way i tried?
you gotta put return 0; at the end of every main function
thats for the older versions...the new version of c++ just assumes that we return 0 after the last statement
thanks for your effort π
No prob π
π
Hello, I have to make an algorithm in c for an exercise. The goal is to make a reduced graph of this table like on the picture. I already have a struct with a list of the neighbours of this table which are at the top, bottom, right and left and also an index for each colour on each square. Could someone explain to me how to do this?
if you need i can send you my code
hello can anyone help me with dataframes in python
What's the problem ?
Iβm just confused about how the global state (Iβm using Apollo/graphql) is interacted with compared to xstate. For example, if I wanted to make a mutation (I.e create a user) would that mean I dispatch a transition (I.e CREATEUSER) to the state machine, and the machine itself actually handles the mutation? Like where should I actually make published state changes, including actual posts to the server
This is my first time outside of the redux/REST world so Iβm trying to wrap my head around a lot of new architecture stuff all at once
guys is anyone familiar with the pytorch library?
hi ml peeps can anyone eli5 rotation invariance and why people augment their data by rotating images?
nvm i got it
can some one help me ? Symmetry of Ignorance idk what this is π
same way, want to study together?
u just started learning?
guys! i was solving a problem and i dont know what is the error in the code, it is about "here is a large pile of socks that must be paired by color. Given an array of integers representing the color of each sock, determine how many pairs of socks with matching colors there are."
Send the code
#include<iostream>
using namespace std;
int packer(int n, int ar[])
{
int count;
for(int i=0; i<n; i++)
{
for(int j=0; j<n; j++)
{
if(ar[i]==ar[j] && i!=j){
count++;
ar[i]=0;
ar[j]=0;
break;}
}
}
return count;
}
int main()
{
int n;
int ar[n];
//cout<<" enter num of socks";
cin>>n;
//cout<<"enter socks colors";
for(int i=0; i<n; i++)
{
cin>>ar[i];
}
//int pack= packer(n, ar[n])
cout<<packer(n,ar);
return 0;
}
Ok I wld suggest this approach
Sort it first and then check
I don't know c++ sryπ
yea i guess it would help, thx
anyone here preparing for interviews?
hey guys. my laptop crashed with an error "irql_not_less_or_equal". and now its not even booting. please hmu and help me as its my mums laptop and shes gonna kill me. π«
Yes
i want to learn c++ and use atom as my text editor butttt I keep getting this message-
g++: error: PythonFolder/new2.cpp: No such file or directory
g++: fatal error: no input files
compilation terminated. ```
and mind you it's a simple hello world message
help
pls
https://youtu.be/7ilqqz49MRY guys can u help me by leaving a like to this video? Its for my school project, thanks a bunch β€οΈβ€οΈ
Nama: Jane Simanjuntak
Kelas: X IPA 1
No. urut: 15
Rekam Peluk
Kurekam lagi
Senyummu setiap pagi
Apa tidurmu nyenyak?
Apa tidurmu nyenyak?
Kuukir lagi
Satu nyawa perempuan baik
Terlampau baik
Terlampau baik
Rekam senyummu yang tak kunjung luruh
Rekam cemasmu melihat jiwa mudah raguku
Rekam banggamu melihatku jadi juara
Rekam tak rela...
Hey ya can anyone suggest the best emulator for laptop?
BlueStacks 5
Anyone studying about trading bots, crypto trading
Anyone know how to make big discord bots? I want to learn
if you enter size of an array from the keyboard and make this array with n size, you must make pointer of array
I am not good in English, so I could make some mistakes in the message, but what about your code, I would do something like that
int n;
cin >> n;
int *ar = new int [n];
you mean fstream?
yeah but in this case I'm trying to grab sorted data into a struct
yes
whats the problem?
Ah I was just having syntax issues but I think I got it now, there weren't enough resources online to help me with it lmao
now time to insert like 1,000 data points manually... pain
do you have any idea how to randomize elements in an array?
like each run of the code formats the struct array to be in different positions every time
shit my regular code wasn't even copying the elements into the struct
i need to grab ints and strings
but it's formatted
japanese.at(5).level = 0;
for (int i = 0; i < 5; i++)
{
file << japanese.at(i).type << endl;
file << japanese.at(i).question << endl;
file << japanese.at(i).answer << endl;
file << japanese.at(i).numRight << endl;
file << japanese.at(i).numAttempted << endl;
file << japanese.at(i).level << endl;
}
}
return 0;
//TESTS FOR HIRIGANA AND KATAKANA
//IF 3 RIGHT, COUNT AS MASTERED
// write to file with data
// read to struct
// when testing: change the data in the struct for numRight and numAttempted
//resort data based on ratio of numRight/numAttempted
}
omg
so it writes to the file if it doesn't exist, then reads from the file into the struct
why cout is here then?
test
what does this if do?
check if fileread is existing
if it doesnt then you write data to the fil
file
and then rerun program
well
it is useless
because when you do this
the compiler checks if the file is created, if its not, the compiler do it by itself
so when you write
fileRead.open("dataFile.txt");
dataFile will be created anyways
anyone here that can help me with some multiproccess stuff in python?
I'm not sure why my function doesn't run before the other eventho I called it before
Anyone experienced with redis/nodejs?
Hey, guys! I hope you're doing fine and your studies are going well. I need a little help with a VHDL problem. Is anybody here familiar with it?
can i get help
Guys can someone tell how do I fix connection refused???
I think there have to be some rules in the channel regarding to questions , most questions are either not compete(needs more context or more explanations) or easy to Google , also asking to complete the whole homework is stupid , asking specific question from the homework is good
You are misunderstanding the concept, the compiler is a software that compiles human readable code into a machine code, what you are talking about is a internal method implementation , just go to the method and see what it does, if it creates a file when it does exist then you are good to go
hi guys, may i ask why first one is correct but second one isn't.
int* temp;
int* const temp;
i know initialized is a good practice and i always do that, but there's a question in my pastpaper ask about this and i have no idea
thanks in advance
true
sorry
is this overfitting or good to go
Hey there, anyone here using R Studio?
@twilit quest just yolo it bro
pretty much at this point, fk this shit
yeah but I'm new to it too ahaha
hey guys im wondering why this says int object not callable
its in py btw
Hey Guys, I am solving '2 sums' problem in CPP and I'm facing this error
"[Error] invalid types 'int[int]' for array subscript" in line written in italic font
void solution(int nums, int target, int length)
{
int targetindices[2]={};
for(int i=0; i<length;i++)
{
for(int j=1; j<length; j++)
{
***if(nums[i]+nums[j]==target) ***
{
targetindices[0]=i;
targetindices[1]=j;
}
}
}
for(int i=0; i<2; i++)
{
cout<<targetindices[i];
}
}
Please help
I searched this on stackoverflow and it says this error can happen if we are subscripting a three-dimensional array myArray[10][10][10] four times myArray[i][t][x][y].
It was a syntax error.
hello i have to do an android application in kivy. some one know how kivy work ?
if it were overfitting, blue line would be far from red line. this seems fine to me.
Hi, u forgot the * or + or whatever after the 7th parentheses ... y = (x*2)/(((x-1)*2)RIGHT_HERE(x*2+x+1))
Hey, is this where i can ask for help for simple python?
Yea wassup
im so
confused
so basically
i had to do this 20 hour dice game at school
and i've completed most of it
and i wanted to add some finishing touches at home so i sent it to my email
and now the code doesnt work and i have no idea why
it was running perfectly at school
Is it throwing you a line where it has invalid syntax in your terminal?
indentation error for the second IF ELSE
cant possibly have a ELSE and ELSE in the same indent
u're welcome! nahh was a careless mistake
I think the rest of it has been messed up because of the copy and paste
the indents just wont work so i'm just going to type it all out again

right
so
the rest of the code is flawless
other than
this one part
which i believe is an indent mistake
the problem is, that even if i type roll/Roll/ROLL it just keeps on saying "Player 1, please throw the dice"
i know its a mistake with the while because it keeps looping
your if "x=="Roll" or x== "roll" or x=="ROLL":" is not inside the while loop
fyi, you can shorten your code by typing if x.lower() == "roll" instead of if x == "Roll" or x == "roll" ...
what does x.lower() do?
and ur trueig is not necessary, u can just while True:
then later break
it would change the user input to lowercase
so user input: RoLl, it would change it to roll then compare if statement
So it's not case sensitive?
yup but make sure u comparing also all lowercase
x.lower()=="roll" works but
x.lower()=="Roll" would not work
The string lower() method converts all uppercase characters in a string into lowercase characters and returns it.
yes
what i meant of using True is this^
variable trueig is not necessary
furthermore, to make a line break, u dont need type print(). u can just \n
for example:
else:
print("You have to type roll you idiot\n\n")
the \n is line break and it would like print 2 line blank.
Does
break
replace trueig=False
yup so the variable trueig is unnecessary.
ah i see
and the idea of trueig seems to be the True loop
sorry if i seem dumb, im pretty new to this, we had no time on the computers due to covid
as we had to stay home
so im pretty bad at this
nah is fine, when i first touch this alien language, im bad too.
else have to be inside the While too
yup the trueig = True can be remove
oh yeah my bad
alright im going to fix the rest of the code with this then ill tell you how it goes
haha all the best!
do the same as what u did above
both if and else both indent wrongly
they should be inside the while loop
i don't understand
wait
ogm
i get it
its perfect
thank you so much
would you like to take a look at my code to see if i can improve any of it
?
ahh nice! sure sure i can take a look if ur code is graded.
instead of writing if ready == βyesβ or ready == βYesβ or ready == βYESβ
u can just write it if ready.lower()==βyesβ
so (variable).lower() makes it not case sensitive?
Is it possible to us barba in react?
thanks, been overthinking it cause it was the first result we got from the model
Hey what languages is everyone studying?
python here!
yes. in technical terms, .lower() converts the string into lowercase letters, so any case input will indeed be made into lowercase
Anyone learning DSA?
Yeah me
Does anyone here know how to use VS Code well
Hey there, does anyone use google cloud platform and know how to test the deployed model on AI platform using audio/image file? Instead of json format
has anyone here used gluonts for time series analysis?
I mean, I use it very often
Great
Do you mind if I dmed you to ask some questions please
ye dm me np
can someone dm me for my drive help.I want to clean my drive c
In the Open box, type the following command, and then press Enter:
c:\windows\SYSTEM32\cleanmgr.exe /dDrive Note In this command, the placeholder Drive represents the drive letter of the hard disk to be cleaned.
I recommend searching for some java swing tutorials as this is actually very fundamental
like this http://www.java2s.com/Tutorials/Java/Swing_How_to/Timer/Create_Counter_on_JFrame_with_Timer.htm
Java Swing How to - Create Counter on JFrame with Timer
@little reef
Thx
Hi guys, I am Leandro and I am about to finish my foundation year and I will start an undergraduate in Computer Science with Artificial Intelligence in September. During this academic year, I have participated in projects and competitions. I loved them. Hence, I am looking for someone who wants to create a group to compete and do some projects during spare time. things like programs, IoT stuff, find a better solution for things already created etc.... The main goal of the group would be to use the knowledge gained during the individual study section to create something and to feel more stimulated during the study sections
anyone can give me any css advice to make a website more responisive?
what to use and such
use media queries, flexbox and grids.
i'll join
just be comfortable with popular css layouts (Flexbox, Grid) and will do
no need to learn float but good to know bc there still a lot of website with it
any good linux manual u can recommend me?
hello is anyone here that can help me urgently with some java pretty please
for some reason in my JUnit this does not count as returning an int
I will join too
are there any affordable monitors, looking for one between $150-$200
hp's monitors @fair crypt
Trace the steps of the program if you haven't already
can't help much cause only see the function
should be working from what we see from the image..
^i'll second that. The image is perfectly fine the problem stems from somewhere else in the program.
thatβs guys the only issue is the rest of the program is done by the tutor and we arenβt supposed to change it π¦
so i might contact them
Hey man you asked this yesterday but I can help mb for not checking here a lot
If I had that assigment this is how I would do it, hope this helps
after adding properties all you basically want to do is add an action listener to the button itself. And everytime that button is clicked write the code you want it to execude
in this case we subtract 1 from 5 first on every click, then we update the JLabel value
When the counter reaches zero we then remove the button as your teacher asked and replace it with another JLabel and it can say what ever you want
any 4K monitor recommendations for mb pro ?
anyone here studies malware analysis?
assuming youre not looking for anything specific something simple like Dell U2720Q is good
does this have usb c and hdr ?
Yes to both
need help please with word
it is very weird, all of a sudden a paragraph i am writing just stops mid page and continues on the next page
can you see this?
A productive study stream discord
hey
app.post("/change_status", (req, res) => {
let patch = []
Object.entries(req.body).forEach(([service, status]) => {
if (service === "status"){
res.status(400).end("Cannot change all services status")
return
}
patch.push({
"op": "replace",
"path": "/" + service,
"value": status
})
});
jsonpatch.applyPatch(services, patch)
if ("offline" in Object.values(services)){
services.status = "offline"
}
res.json(services)
})
if this is the code then how can i interact with api
like if i have to use the api's function to change the status of a particular service
lads, i have used python a few times for a specific use and i am here to expand my skills. Any project ideas for that purpose?
chatbot
And running directly to python is suitable?
yes it is
if someone could help me nd tell what the h*ll is this, I just inserted some files in a portable storage I bought lately
lol wdym
was there any executables that u run?
I don't know what is written up there , I first put my files in it but to make sure nothing was damaged I tried send them back in my desktop ;then that "yellow thing "pop up
and i assume u clicked it
hhhhh yes and then this
i don't even know what happened there
okay
apparently nothing happenned ,I did that just to be sure my files are still executed in my desktop
yeah
it is just printing some lines dont worry
so there's nothin to be afraid of?????
nope
oh thank you
guys, i needed a file frm my late mom's laptop and I forgot the password and username. Is there anything I can do?
Can you access windows safe mode from there?
The username isn't shown as an option on the login screen?
The image is like blurred, and it looks pseudocode
Not real cpp
Ok, so, what is the purpose of the function ?
That's clear, but, do you know what the function should do ?
Ok
guys i need help
how do you make a MST where intermediate points dont need to be included
for example say i have the graph
A B C D E
F G H I J
K L M N O
and each edge is weighted for adjacent points
I want to connect A and O
how do i found the best route ??
without making alternative paths
ie creating the MST as I traverse through
π HELP
I am working on an array problem in which I have to reverse an array.
I wrote this code but it is not working:
#include<iostream>
using namespace std;
void rev(int reversed_array[], int arr[], int n)
{
for(int i=0;i<n;i++)
{
reversed_array[i]=arr[i];
}
}
int main()
{
int arr[]={11,2,3,4,5};
int n;
n= sizeof(arr)/sizeof(arr[0]);
int reversed_array[n];
rev(reversed_array,arr,n);
cout<<reversed_array[0];
return 0;
}
It gives me error like:
D:\program files\Dev-Cpp\MinGW64\x86_64-w64-mingw32\bin\ld.exe cannot open output file E:\CLG WRK\cpp\Reverse.exe: Permission denied
You may need to open your IDE through administrator
Does anyone have a study group for coding which i can join?
I wanna join as well :)
Anyone can let me know how to get Udemy paid course for free I tried various websites but nothing is working out
dm me
dm
hey guys
do you make notes
like is it important
to write stuff in nb or make a dairy
Your dm are off
like they code or things you learn while watching videos
yes i take notes when i am learning something new
i dont use any fancy apps just make a markdown file and push it to github for cloud storage
so is it advisable for a person like me who just started DSA to write notes on word and make a folder
AND
see my list in order:
1.intro to progrraming . 2.ruby and ruby rail. 3.C language 4.java 5.C# 6.C++ 7.SQL 8..bootstrap 9.CSS 10.php 11.pyhton 12.java script
am i missing something or is something not necessary in here for web dev, and game dev.
you can use onenote
or notion
okkkk
um so you want to learn web dev i guess
or just coding in general?
i actually wanna learn more than just web dev
but where do u wanna start?
web dev
i think is
starting
im interested in VFX and game dev so
1- intro to progrraming
2- C language
3- C++
4- html and css
5- php and javascript
7- Bootstrap
6- SQL
7- python
8- ruby on rails
okk
then u can start with C, C#, Python, .NET
okkk
and there is also a great library for python called pygame that you should check out
okkk
thanks man
np :))
||thanks again||
dope
is anyone a ce major
need help on floating point representation
or resolution
nvm
is there any coding server with voice channals
Howdy! Iβm wondering if I can share my LinkedIn profile here; Iβve just created it and I want to get some feedback on what skills and format should I follow for the job market in app dev
Also if any of u r interested in Mobil app, we can chat and tryna study together
based on youtube videos yes? not a techy person so idrk ((its set in another language I dont understand too)
no :<
sure send me
let me join too currently learning python
Sure dm me
Can someone help me with kotlin android program T^T
Were you able to find one?
@idle dew Hi, wondering if you can extend me an invite to the coding studying group
Could you explain this better please?
sure dm me
./code
can anyone help me with this https://stackoverflow.com/questions/67769771/how-to-filter-output-using-checkbox-filters-ex-in-movie-search-app-for-example
ugh sorry to say but your explanation is too confusing. People might get frustrated to answer it if they find it too confusing. You can try to make it a bit short and upto the point. (Dont mean anything bad to you).
basically im given a map of points 1000x1000
some of these points are cities
i have to connect all the cities using the minimum cost
each edge connects adjacent points and has a weight
i have a plan now tho
will have to see how successful it is
I need one who can help me with this python code. with below code open('C:\Users\yurtb\OneDrive\Desktop\test_set_1\ts1_input.txt') as f:
read=f.readlines()
for row in read:
print(row)
the py file is in the same location with it
although it does not work
it does not return and error either
lines = len(open('C:\Users\yurtb\OneDrive\Desktop\test_set_1\ts1_input.txt', 'r').readlines())
print(lines)
can u try this way?
thanks, this give me better result
glad to hear :))
what might be the problem here?
they're under a class and they only return a string, is there a workaround to eliminate these warnings?
can u send the snippet in where u are getting the error
heh okay
oh well, i'll just think of a way around, thanks a lot man
or u can change it to a function
yeah it can be used as an alternative
yeah
Hello, Can Someone send me a good course on Blockchain with Python
Also I am doing the one, of dApp University, any reviews on that
On yt
The guy is the leader in Blockchain dev on yt
@here
Hey @hardy jackal what are you looking to build? Trying to connect a few devs on my end for a dapp study app. Let's chat ^^
I have just started with web3 on python, its a course by dapp university on yt, i dont think i am capable enough to do a project but still hmu
Hello, has anyone ever done anything on video classifications with CNN and mind if I could ask aa few doubts
Hello guys, I wanna ask if anyone can give me some tips on how I can start learning programming. I'm 14 and I wanna start learning something that interests me from early on so I can do better on it later when I become an adult.
pick a language and start , I advise u pascal bcs it's like the mother of all languages
I need help in exploitation system
python is great!
yeah I was thinking of a few ones, pascal which is the one that ki_basset mentioned, python and Lua
I just wanna know like, how do I start learning a language
Tell
Hey guys me and my classmates were conducting a research for our tech subject.. can u guys pls. answer our survey.. thank you in advance!!.
https://docs.google.com/forms/d/e/1FAIpQLSdOYzj08ScGltaUxLFrpCphYYdNS7FtO0w6cWbJIsPwfFoPgQ/viewform
@midnight osprey It's not an error, that you're getting, it's a warning.
The function you defined prints the same output for every object of the class House so it's basically a static function but you defined it for every object
The linter is suggesting that you could make it static
Running the code as is won't produce any errors, it's just a warning by the linter
Feel free to shoot me down any of you way more experienced people out there, but its just like learning a real language. Most of them have some things in common with one another, but they are all different. Its really just picking one and jumping into it. Then revising what you have learned. For a beginner, it really is not a bad idea to just pop open a youtube video and search ((language name here) full beginners guide). From there it should all come in due time. Again, not the best at programming, so if anyone has better advice, feel free to shoot me down π The only thing I can say, is that I personally wish I had started sooner than I have. As long as you try to learn something new with whatever language you decide to go with, it will only benefit you in the long run.
I totally agree with you. The hardest part is to just get started. And if you pick one language it will be a bit easier learning the next one cuz most of the concepts are similar
ok bro
hey i need some help to code in Javascript that decompress (β1I1S2E1A1B2E1O1N1M1Y1K1N2Eβ) => βISEEABEEONMYKNEEβ
let result = "";
for (let i=0; i < str.length; i+=2)
result += str[i+1].repeat(Number(str[i]));
return result;
}```
i did it this way
oh thank you! And what if i want to compress, what should i do?
check your dms
i will shoot you
A clock is set right at Tuesday 10 a.m. The clock gains 10 min in 24 hours. What will be the correct time on the following Thursday, when the watch indicates 8 p.m.?
anyone well versed in LaTEx?
thank you for the reminder, that warning really bugged me out lol
what is that
latex is a software used to compile a document, used by the research community for documentation, basically microsoft word, but different typesetting
i thought the latex that i wear
haha
is that related to job what a data scientist does
not really, basically used by people who want to publish something.
okk i want to know more about data scientist job
do u have any lecture or course cus mine is not so good
okay first tell me what do u mean by exploitation system. Writing your own shell codes or understanding the system arch or understanding prev esc techniques? Then i can help u out further
I have worked on latex quite a lot, feel free to ask anything, I can try helping youout π
it's nothing technical but related to publication, any issues with regard to subfigure package and springer journals?
all this I guess + understunding about memory and segments in memory
Ahh I havent done publications yet, major worked on own personal documents
ah, nvm
does anyone learn JSP? π¦
need help with a c program can anyone help please
@opal acorn sure
/*Write a program that replaces the occurence of a given character (say c)
in a primary string (say PS) with another string (say s).
Input:
The first line contains the primary string (PS)
The next line contains a character (c)
The next line contains a string (s)
Output:
Print the string PS with every occurence of c replaced by s.
NOTE:
- There are no whitespaces in PS or s.
- Maximum length of PS is 100.
- Maximum length of s is 10.*/
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
void function(int i,char ps[],char s[],int counts,int countps)
{ int x,t;
char temp[100];
char *p;
char *q;
strcpy(temp,ps);
t=i;
for(x=0;x<counts;x++)
{
ps[t]=s[x];
t++;
}
t=strlen(ps);
q=&temp[i+1];
p=&ps[t-(counts-1)];
strcpy(p,q);
puts(ps);
}
int main(){
char ps[100];
char c;
char s[10];
int i,t,counts,countps,flag;
printf("Enter the string(ps):\n");
fgets(ps, sizeof(ps), stdin);
printf("Enter the other string(s):\n");
fgets(s, sizeof(s), stdin);
printf("Enter the character to be replaced in the ps string:\n");
scanf("%c",&c);
countps=strlen(ps);
counts=strlen(s);
for(i=0;i<100;i++)
{
if(ps[i]==c){
flag=1;
break;
}
else{
flag=0;
}
}
if(flag==0){
puts(ps);
}
else
{
function(i,ps,s,counts,countps);
}
return 0;
}
sample input - Al@bal#20owL
LL
l
sample output-ALL@baLL#20owL
What am I supposed to do here?
Do you need me to find the error in it or something?
yes
the output is not correct
i think i have done something wrong in the function but am not able to find what's wrong
sample input - Al@bal#20owL
LL
l
sample output-ALL@baLL#20owL
expected one
ALL
al#20ow@bal#20owL
this is the output after execution
hey guys there is a bash expert here?
needs to know awk grep and let and do scrips
there is compensation
can anyone help me with this https://stackoverflow.com/questions/67788367/mongoimport-ed-json-shows-unexpected-object-count?stw=2
yo, any idea how to force Visual Studio to format code like this by each enter tapping?
and no, not VSCode but C# Visual Studio
I have no idea how this option might be called, it works automatically with linq
does anyone know how to find a code so i can have full acces to the answers of a book
like iv been searching tru inspect but cant find anything
like something like this
In programming, what's the difference between a=b and b=a ?
It's a little confusing for me
a= b means value of b will be stored in a
And vice versa
OH, thx
Anytime
wdym
https://marketplace.visualstudio.com/items?itemName=MadsKristensen.CodeCleanupOnSave
maybe this is what you need.
can you tell me the name of the book?
can someone help me with this? i need to create a board with XXlength in c, but a bidimensional arrays cant take variables as parameters... any ideas?
hey guys is there an option in PP to make the slides occupy that blue part also?
like i want the image to fill all that blue space so i can see it better
so board sizes won't be fixed, i get it right?
you can use malloc() (memory allocation function) for this, it works with variables
Ayoo, guys, is there someone who knows how to work on dev c++ that can help me?
Has anyone had experience programming an app like tinder ? I would love to chat if you have 5 mins !
hey, react developer here, got experience with java SE too
what is it
can anyone suggest me any good course to start with Data Science
i am sound in python language
datacamp has some good courses (some of them are free) iβve used them and theyβre pretty good
they specialize in data science courses so youre bound to find at least one course that interests you. good luck!! :)
you too...thanks for the recommendation....
has anyone here created a music bot using discord4j? i am running into some trouble while trying to make it so the bot can hold a queue and it isnt just playing one song and when another gets played it stops the other and plays what was just requested
i want to do a menu like that but automatically
with gotoxy
cuz when the user put more than 1 thing and says to show the list, it just apear one by one
and i need to make it apearing all of them at the same time @idle dew
i couldnt find an answer key for this
if anyone finds one or solves part 1
pls @ me
thanks bois π€
two main questions im unsure of:
oh wait
just 7
Which compiler are you using? Or ide?
which programming language is required to make a discord bot .....
im using java for mine
You could use python or node.js too for discord bots
i just finished my freshman year at my college and in the programming courses ive taken so far ive been learning java and theres still one more to take on java i believe so i figured i would try learning more over the summer by creating a discord bot with java rather than python or node.js but i have seen a lot of guides for those two
I think u might be clearing the whole console and then writing the menu and it prints one by one right? If u used windows.h for example you can get better results, cleaning only what you need, for example instead of cleaning the menu, clean the texts inside it, you can use <windows.h> and work arround using cursor position in windows system or you could use some Graphic library like OpenGL.
You are rendering a Register in HBS but the application is redirecting to Register.HTML instead of Register.HBS
Yeah bro I got that its working, Thank you
u welcome
For the university level students taking computer science classes. As the content and resources are so widely available online to learn nowadays, has anyone found that alternative learning (independently learning web platforms/books/other college lectures) basically cover your college/university level material? Have you notice differences, i.e. college is better etc. I have ADHD and largely missed class and computer labs due to treatment, so I'd like to be more narrow with my focus to be more efficient for projects. Please share if you kindly have time, thanks in advance!
press the middle one of the 3 icons on the bottom right of your window
does anyone here know where can i learn assembly language from,
my teacher doesn't know how to teach
for something 8086
microprocessor 8086
she reads the program and leaves
@bronze flicker there is OSSU which has all required courses that a cs major would need to take to graduate, depending on the university. I just finished my first year of cs so I can't speak for much, but I also took a few online classes. It seems that my university classes were a lot more rigorous and the assessments were much more challenging than the online courses.
Awesome. Thanks for the reply! Will the rigorous description be in terms of the university problems and the feedback systems they give?
For example, in the online class I took in high school, they explained recursive functions in a simple way and I didn't have to thoroughly prove that I know how to write recursive functions. But in my first year programming classe at uni, they got into the details of recursion and on the assessments, we had to write multiple search functions on various data types.
So I guess if you can self motivate yourself to go beyond the online lecture material I think online courses are a great way to learn
That's awesome insight mate. Cheers! I think I understand now
someone that teach me java arrays and streams π© i have an exam in a couple of days
Does anyone know kotlin language here?
hey guys, does anyone know the c# language and can help in game design? its a very basic task and I have no clue how to begin
hi, I am totally new to programming can anyone give me a some advice like which languages should I learn first and so on.
give me some*
Hey I'm learning sql. Can someone explain when is EXISTS used and when IN?
How do I get more experience into IT or like repairing technology things from home?
I can help
@remote elbow Thank you,
but the Issue is solved now, the problem was in path of the file
Alright
Hey guys i need ur help i want to watch james scholz atream but with split screen also play my lecture on my institutes app both of them don't play at the same time pls help
@everyonehi can you please fill this form for my school project. https://forms.gle/DsGW8MHVEWp5r5ys8
What is it for if you mind me asking?π€
I have to do a report at school about the technology. For different age groups what device do they use the most? For haw many hours a day and for what purpose.
You should learn a basic programming language, u could do for example a tic tac toe using some High Level Programming Language like python, javascript, then start with some low level language like C or C++ you could do the oposite as well, I think C is more simple than C++ and there is a lot of videos with courses on youtube.
You can talk to me and I will try my best
You could check Linus Tech Tips, he is a awesome guy for learning technology, he repairs and mounts many computers, u could check a guy (I forgot the name xD) that repairs a bunch of technology devices you could serch for "I Tried to repair 20 PS4s" that might pop up, for IT you should check something related to Programming or Web developpemnt, for then on you could expand your knoledge by learning pen testing, game developpement and soo one, the sky is the limit from then on, just try to study more about tech subjects like AI for example and not just "learning" you should practice because if u dont put in practice you will eventually forget.
I live in a country where a degree is very important specially if u want a good job, I think it varies from place to place but if u dont have a degree here it will be difficult to get a nice job.
Thank you so much! I will definitely check those guys out!
I see the name of the guy is "TronicsFix"
Got it π
anyone here take notes with an ipad? i need help with an issue
Anyone here uses blender?
D
Hash table with open addressing gives fastest response time
Since we wanna be efficient with space as well, double the number of open addresses is satisfactory
Wait I donβt understand why we need double the number of entries tho. Could you explain please?
You understand how open addressing works right?
If we have exactly 1800 entries for 1800 numbers, there will be a greater number of clashes and thus you'll have to have multiple retries to store/fetch a particular value
@indigo mantle
Ping me if you need a further explanation
Ooooh okay thanks understood!
Cheers for the reply! I'm already on a degree course focused on projects so I would like to catch-up and wondering what the best use of my time will be to reach competency.
does anyone know what is this
i tried to uninstall a application on my laptop, but it shows this
Is your laptop insured?
If so then you can contact the place you brought it from, they'll have your laptop for a couple of days so they can fix it and you'll get your laptop good as new
This is what happened to mine a year ago, it wasn't a virus on mine tho the OS on my laptop just vanished so they had to re-add it in again and it was good as new
Not π¬
Ohh..hopefully someone else can help :/
Does anyone here know fortran? Where could I find some good resources to learn from?
Try w3 resources
try installing Malwarebytes and do a scan
learn what? programming or what exactly?
yes, programming. i watched the fortran tutorial from Derek Banas and i was looking for more online resources.
@wintry osprey can i PM you a link?
isn't it best if you factory reset your laptop? @wintry osprey
If it's a really bad virus, then you might want to buy a new hdd and/or ssd, but try to 'remove' everything from your hard disks and install your os again @wintry osprey
hello, i have my facebook account hacked. They change my email and cellphone associated with it and I cant find any live support/feedback from facebook, any idea?
its better to contact facebook. Maybe try on a friend or family account to report the matter
they block the account i cant find it even if i search for it
hey guys, i just started learning java. Is there someone else who is on a beginner level and wants to learn, do projects and open source together?
Anyone know how to change you pointer from a mouse pointer to a dot in one note when writing
hi, has anyone written proctored exams on this software called mkcl?
how much of a difference will there be in between intel i5 and ryzen 5 laptops, i wont be doing havy stuffs. Just some productivity things. I was considering buying an Intel i5 from acer.
Hey yall, idk if this is the channel to ask, but does anyone know what is a good silent mechanical keyboard ? Like the correct switches
Hi everyone, I have a question about API's on mobile apps, more precisely on Flutter.
Is it better to code an internal API, where you have all the code in the same project and not using an http request ?
Or maybe there's some benefits of creating a separate project with all the API and business logic in it ?
hello, is there any chance of ps4 getting a virus? If we plug an infected usb to ps4 and send a video from ps4 to that usb, will something happen to ps4 again?
cherry MX red are silent, but most premade keyboards make quite a lot sound in general, you will need to mod it with foam inside the case
From my understanding both would be good. If you are creating a large scale application. If you understand clearly how to access that API call you can create a separate project with a specific API. Personally for me I would just create one project and have an API call within that project. I feel as though having a separate project "with ALL the API's" is way too much and honestly does not provide any form of scalability.
anyone here dong machine learning, deep learning CNN?
@void halo That was my thought as well.
I don't feel like I need an external API, to me it serves only if you're going to use it in another language than the core project, or if you're going to use it in multiple projects as a service.
Thank you for your answer !
no problem
You should make both separate projects. Aim for modularity. This will make the design have higher cohesion which makes its much more flexible and easy to maintain.
Anybody interested in debugging my shit code π¦
i am stuck at a place since more than a hour
Language C++
who needs to know about btrees and hashtables and all the other adts and sorting when the standard library implements versions of those magnitudes more efficient than whatever you could come up with yourself
im genuinely asking whats the point of learning the non stl stuff when stl is just so much better
you really can't use stls in some languages
Knowing how the data structure works under the hood so you can understand and compute the time complexities
can someone tell me what significance 'flush' carries in the following code
it's a normal pop function on a stack... not that it matters much
@still flame @verbal wraith dope thanks yall, outside of interviews tho, i dont see a lot of significance tbh. however, i do feel like it helps companies weed out the pros from the amateurs
what data type is flush ?
what is flush, never seen it before
ohhhh it guarantees emptying the os
stk.pop() returns the top of our stack
flush basically makes sure ur recalculating the new pop each time
its basically the same purpose of endl
but flush allows u to not have to clean out the entire line of output
does everything related to computers fall under this channel?
ive been developing games and websites for a while now but i feel like taking a step back from the jazz and getting into the depts of math, physics and computers... mainly to understand the fundamentals and why things work the way they work.
hence i joined this discord, hoping to get some help and accountability along the way
Which one do u prefer i5 with rtx 2060 or i7 with 1660 ti?
Heyy can someone suggest me a few resources to learn C language in depth?
dennis ritchie's book
i think we have many many "i5" and "i7" (i5 2xxx to i5 9xxx, i7 2xxx to i7 9xxx) what u mean
yup! good luck with your development btw!! :)
π
oh damn that's cool
gotchaaa
also what do yall think would be the answer to this question
my quiz is over btw... jus letting yall know lol
Thanks!
also if you are just starting then you can use "mycodeschool"(youtube channel) for pointers and other concepts...
the best platform for python data analytics is jupyterlab right or is there something better? i've just started with data analytics
Yep I want to get my concepts right. Thank youu for helping!
D
my bad lol
its C
yea i feel it's C too. Got a 9/10 tho lol... I'm pretty sure this was the question I got wrong coz I was pretty confident with the others
@proud moon what do you wanna do for a job eventually
Are you going to be taking any database/software dev classes
What are you trying to learn how to do
I'd start with the very basics and ignore anything that doesn't start from there
You need a good foundation
I know java and I've worked with python before they should be simple it took me a while to fully understand though
Not until I made my foundation solid and built from there
Well for java I started with making minecraft plugins but really you should be able to make a simple RPG text based game and that will show you most of what you need to know to get started
Python was similar that's the first thing I learned because it was simple but they're both really simple in hindsight
The main thing is you should be able to make very dynamic programs that make sense and do things, if you can't do this with a text based approach then you don't know enough
Do you know the basics of programming
have you ever heard of repl.it
it's the first website i used to learn how to code because it lets you run code very easily and quickly without having to worry about setting things up
basically you can launch like java and practice very easily
I'd start with getting a good understanding of the basics of programming, most languages will have a very similar structure that can be applied to everything
udemy has a lot of good free courses for beginner programmers or if you don't want to do that if you learn how to google things well you can learn anything you need to know
programmers have made it very easy to learn new things so you can just do like "what is an if statement"
i'd give more hands-on teaching if I weren't busy right now
every programmer googles things at least 1000 times a day if i had to guess lol
you're googling wrong
you'll learn eventually
maybe go over this and then go on from there
remember googling is a skill start thinking about how you can word your problems better or how you can get the search engine to be more specific to your problem
Computer Programming - Basics - We assume you are well aware of English Language, which is a well-known Human Interface Language. English has a predefined grammar, which needs to be followed t
Honestly it might even be worth it to not go straight to programming and maybe consider how computers work and what code is in itself
main concept is code -> gets output based on how you make it and computers understand your code because of the compiler
Learning programming will improve your problem solving skills a lot
noice
Like I can think recursively pretty easily because of my knowledge of programming
Or even more dynamically so like breaking problems into smaller problems
Usually people learn math before programming but I never liked math so I used my programming knowledge to understand math better
Problem with that is I had to start with more advanced math concepts lol
before easier ones
Also i'll probably do well with discrete math because of my programming knowledge
Everything is built on programming concepts
My friend and I have been talking about how you could re-create everything in the universe using 0s and 1s
and irrational numbers
Even basic math concepts are based on really long descriptive proofs that use a lot of logic and quantifiable math
such as like multiplication that's why computers are so advanced it perfectly lines up with math
Think abstractly
that's the main takeaway here
So like 10 steps outside of the box is where your thinking needs to be
Not right now but eventually while you're learning
So like instead of creating an object using Java you could make a class that knows how to make objects in a more secure way
Not sure if that makes sense to you but yeah
All of this is just an abstraction
of math
and controlling data
CS50 is probably a good start
I've watched CS50 even when I already knew everything they were teaching just so I am clear on my basics
Always check yourself and question your knowledge so you can keep continuing further
Trust me it's much easier than it looks
It's just that this stuff requires building from the bottom up
Stick to the basics and not watching every tutorial you see and you'll be fine
Programmers call that tutorial hell
not even joking
I was stuck in it for a little while
I'm only recently understanding how simple everything is it really depends how you're learning I've never learned math from a text book or teacher ever i've taught myself everything
i wouldn't recommend this approach for most people
I've gotten to the point where I feel like I can learn anything
Programming really teaches you how to teach yourself
Partly because of how hard it can be to enter the space intellectually just because of the mass amounts of information out there
There will be a lot of things that will tell you to do things a certain way, always question what you're reading and google the exact question you have about any given thing
More often than not you will be able to find an answer for your problem
also look up programming memes maybe it might make you feel more comfortable about how you feel on certain things every programmer goes through the same problems
I've legit learned new things from memes
If you don't understand something just try googling it that is the basis of all knowledge at this point
okay :>
I've solved things in my dreams before too
I'd recommend to immerse yourself into whatever you're learning so it's all you think about but that's only if you wanna really be good
Or just having a good routine works
rare though
Idk if it's just me but i have terrible routines because of my coding habits
guess where i got them
have u learned nothing
i google everything
i don't have time for 9gag lol
Honestly i have no idea how i'd re-learn programming i can't find anything useful lol
I could physically teach you if you were in person but text is difficult
I guess most just expect you to know the basics
which is fair
Also when learning it's best to have someone show the the exact results of what they're doing rather than just saying a bunch of words
The bigger picture and the more advanced concepts of programming will come after you know at least 1 language and that's when you can apply certain data structures and make more useful or advanced programs
You don't need to know everything about a language just once you can do like if statements, loops, variables, classes
i can teach u java using repl.it multiplayer some time if you want i think it's fun i'd enjoy making a game or something live
See the thing is I could teach u everything you need to know if you could just see what I'm doing lol I can't do it right now though i should be working on my database class work
Worst part about college for me is that I'm just doing work for things I already know at this point
tedious
hi! does anyone by chance know how to simulate a user input in JUnit tests? i dont even know where to start
Are you using java
yes
c'ya
I've barely using JUnit tbh but i might be able to get an answer
https://stackoverflow.com/questions/6415728/junit-testing-with-simulated-user-input i assume you've seen this
yes ive read that like 10 times today but it doesnt help in my case
its okay! thank you for the effort!
yea im using a scanner, but i dont know much about it because i only write tests and not the code itself
You may use a file I think and scan the lines as input i'm not sure exactly what your situation is i'd maybe look for simulating scanner inputs and if you can't find anything idk how to help
why can't you replace the input variable or something with your own data for testing purposes
okay ill research more on that!
the user has diffrent ways to type the same input. so testing a simulated input would make the most sense in my brain
Well the input is being stored somewhere right, can you just override the variable for the time being or would that not work well for you I could see why it might not
Like a list of inputs you need and iterate that or something idk
I just feel like maybe it shouldn't be made in a way that it relies on this one object but rather the data returned by the "user"
I'm just kinda saying stuff i have no clue what your program is like lol
yes i have lists of inputs that combine to one big input at the end. overriding the variable would kind of defeat the purpose of testing but the idea is really good!
interesting
no no no you are saying smart stuff!!
Well my approaches were kinda blind and understandably naive because I'm going off of only knowing that you have an input and you're using JUnit
I find it a challenge to help people the best I can it's fun
Best way to learn is to teach y'know
well you have a better approach than my teammate that hasnt responded in 2 days lol
wow you are SMART smart i see
That's tough
I've only used plain Java and not exactly JUnit but I think storing the input in a file and using Scanner on it should do the trick
I haven't used java for a couple months now usually I'll just google some things real quick to jog my memory
I haven't used it in an year xD
But it's pretty simple, no idea about how JUnit differs
Probably same I just said couple months as a guess really I mostly do web development
Nice
I used to make minecraft plugins
Sounds neat
joo thank you i will try that out asap then
joo?
Well I know java too though I can memorize it all pretty much which feels nice
I am hard on myself a bit but it's why i'm able to remember anything
yoooo! (idk how to write it im german lol)
jyjyo
You said you weren't writing the code, just testing it?
yes i am
Then hasn't the code developer made you aware of how to twst
*test
Input formats and such
I mean really it sounds like should be made to be less coupled
nope the code is from another student and he didnt tell me anything because i can "just read"
I've never had to work with other people on anything, will soon though because now I know how to use github and other version control things
Git is version control
ooh github is a life saver!
Github is a repository website
Github is different from git
sounds like a horrible partner lol
Github is not version control tool, it utilizes git
I consider it one thing it pretty much is I understand the difference
he didnt mean it in a bad way! we are just all very stressed haha
ah, fair enough
yvughigui
hey i got stuck for coding that write resize image function in JS input is URL and return into URL with size of image such as http://pic1.com/crop/500x500
hey guys, can you all please fill this simple form?
it's for a project and would really help me
thanks in advanceπ
Hope my feedback help you
thanks man
?
looks like google drive is having outages rn, ill try again later π€¨
no prob dude,
thanks for trying
yeah np
it started workin a couple minutes after that, we all good π€
ohh, greatt
βοΈ
Hey guys, how are u? I was wanting to start studying programming and i just saw that there's a new google platform to learn about it. Have you ever heard of that? The name is Grasshopper, do you think it is a good way to start?
add sudo to give admin permission
ty
but be careful what you sudo..
yeahh...
pip install ipykernel
pip is a python command
python3 is also a python command
pip is the python package manager
π
Hey guys, I don't know how many of you are studying towards something specific but I'd like to start working on a career in programming (very vague, I know). I have no idea where to start looking to move into a specific direction. I don't even really know whats out there. Got any tips or advice or anything to make it a bit easier?
I could respond and help a bit but I feel others will offer better help then me.
The best way to learn is to make something that interests you. Doesn't matter how simple or complex. Find a project that interests you and start googling "How to _______".
As an example: I used to play Runescape (online game) a lot. I got into programming by making bots that would do simple in-game task for me. As I learned, simple tasks became a bit more tedious and complex. I learned all along the way. The key was that I was into it.
Just my 2 cents
I'll keep that in mind thanks
Anybody preparing for tech interviews?
i have an interview tomorrow actually haha
I wish you all the best, Stranger!
thanks man! :)
pretty nervous bc i've never had an interview before, but i'll see how it goes
You will do great. I will keep you in my prayers.
I said it was my first interview and they hired me lol
ayy grats
yeah i mean im 16 so they're not gonna expect me to have experience so it should be fine (keyword: should)
the magic words are "willingness to learn about new technologies/whatever"
just say you want to learn and get experience, you'll be fine!!
thats really good advice, ty!
you're welcome, now let's get that job!
hi does someone have any experience with unity? i have no idea how to use the input recorder and i can't find much online
hello- Sorry to bother with extremely basic questions but
how would I go about allowing this to ask me a question?
In other programs like PyCharm
It just works? but here my shell isnt responding.
wdym? i think you're variable is misspelled in print(names) should be print(name)
yeah that wasnt it
I was just trying every form of grammar
I currently thing its some way I have the python file.
but no clue what exactly
tell me what exactly you want to do, i can't understand because of our language barrier
ah
My issue is that I can not have my program have a if this then that.
I think it is related to the program I am using as I can get code to run in other IDEs
ohh
you want your program to ask you a question and store the response into the variable, and print it? is that what you want to do?
input = name
print(name)
Only forms an issue when im using the IDE Atom.
When using PyCharm this will print correctly.
Yes
oh yeah Atom can't run input()