#tech-related-help

1 messages Β· Page 19 of 1

verbal wraith
#

sadly not

#

you could use WSL

gleaming trail
#

frrr vscode for everything πŸ’―

verbal wraith
#

and download gcc in WSL

gleaming trail
#

u can also virtual box ubuntu

verbal wraith
#

^

wooden kindle
#

wsl from Microsoft Store

gleaming trail
#

abdul bari on youtube πŸ™

#

fkin legend

verbal wraith
#

You can read about it and see if it fits your needs

wooden kindle
#

thanks man ill read it

verbal wraith
#

Still didn't get why you specifically tagged me but I guess it's fine πŸ˜‚

wooden kindle
#

i saw you discussing ds concepts so thought you'd know

verbal wraith
#

ah okie

outer wharf
#

Can someone help me understand why we implement default constructors in the code if we leave them blank? Thanks.

obsidian path
#

Hey can anyone tell which coding language should I learn first

brazen lynx
gleaming trail
verbal wraith
#

Yes, it's afternoon for me

#

What's up @gleaming trail

gleaming trail
#

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

verbal wraith
#

I think you cropped out some of the important bit

gleaming trail
#

9 school(vertices)

verbal wraith
#

Maybe

#

Uhh

gleaming trail
#

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 ?

verbal wraith
#

Give me 2 mins?

#

Just completing a chore

gleaming trail
#

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

arctic musk
#

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

gleaming trail
#
  1. Find the maximum number of students you can hold before needing to build more rooms(max flow problem)
  2. Find shortest path from student pop to school to find which would need more quicker(min spanning tree?)
  3. Find ordering of schools which will need to build classrooms first(critical path analysis)
gleaming trail
#

i only know C and cpp lol i wanna learn some python over the summer

gleaming trail
#

think of it as two stages

rich forge
gleaming trail
#

theres recursive action goin on

#

so after u print ur sequential doubling

verbal wraith
#

If it's definitely about graphs, then it's probably the 1. you mentioned

gleaming trail
#

it works backwords and prints the other print statement for everything in the stack

verbal wraith
#

Way too vague lol, sorry not really good at guessing these kinds of stuff

gleaming trail
#

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

verbal wraith
#

Yeah lol

#

And I'm not really very knowledgeable about graphs, I'm just learning

#

3rd year undergrad

#

Wbu

gleaming trail
#

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

verbal wraith
#

oh

#

in first year, i doubt they'll have much coding

#

mostly just algos and time complexity calculations

#

American?

gleaming trail
#

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 πŸ’€

verbal wraith
#

oh this looks good

#

i guess the syllabi structure is different for us then

fiery patrol
#

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

outer wharf
#

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

wet bay
#

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?

ionic garden
wet bay
ionic garden
#

ahh i see

#

do you still need help?

gleaming trail
#

@verbal wraith sorry for ping again dude but this the full prompt if ur interested

wet bay
ionic garden
wet bay
#

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

ionic garden
#

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?

#

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

β–Ά Play video

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

β–Ά Play video
wet bay
ionic garden
wet bay
idle dew
#

hiii guys , any useful sources to learn hacking

glacial leaf
latent folio
#

I learnt so many types of vulnerabilities from doing that.

idle dew
idle dew
tall cosmos
#

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.

gleaming trail
#

Python is great starter language

#

Helps u get into programming

#

I started with Java too tho

#

Still don’t know any python lmaooo

twilit quest
#

hi guys

#

anyone know why in line 4, i get duplicate rows in my rand_data variable?

#

tried this as well

viral reef
#

is javascript more fun than python

#

?

twilit quest
#

figured it out needed to use the sample function on the dataframe instead of loc

steel egret
#

He there. Is here anybody how is learning JavaScript?

obsidian path
#

Is anybody here who is learning C

idle dew
#

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

viral reef
#

oh nevermind i'll learn python first

lone marten
idle dew
#

Dud dud..ig I'll just have to delete the entire thing
Thanks @vinc#3137

lone marten
#

or you could try to use an online dev environment

#

Instead of your local machine, but that sucks I guess

idle dew
#

Yeah im using an online compiler rn...

#

And yeah it definitely sucks

lost sphinx
#

hi, anyone know how to do loop unrolling in multiple for loops, for code optimisation?

regal flicker
lost sphinx
#

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

bitter tiger
#

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

idle dew
vital falcon
#

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?

mellow ocean
#

if you are new to this try firebase by google

#

it's simple, mostly

ionic garden
shy gorge
#

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?

naive dagger
idle dew
lost sphinx
bitter tiger
shy gorge
sterile flare
#

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

hot anvil
#

hello can anyone help me with dataframes in python

blissful musk
#

is anyone here familiar with state machines?

#

specifically xstate

deep plover
blissful musk
# deep plover 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

sand dew
#

guys is anyone familiar with the pytorch library?

twilit quest
#

hi ml peeps can anyone eli5 rotation invariance and why people augment their data by rotating images?

#

nvm i got it

remote meadow
#

can some one help me ? Symmetry of Ignorance idk what this is πŸ˜„

near lynx
steel egret
spring sandal
#

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

spring sandal
#

#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;
}

cosmic hamlet
#

Ok I wld suggest this approach
Sort it first and then check

#

I don't know c++ sryπŸ˜…

spring sandal
#

yea i guess it would help, thx

austere wolf
#

anyone here preparing for interviews?

odd shard
#

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

near lynx
dapper fern
#

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

solar field
#

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

β–Ά Play video
twilit pawn
#

Hey ya can anyone suggest the best emulator for laptop?

wooden kindle
#

BlueStacks 5

cunning hound
#

Anyone good at C++?

#

I need some help with grabbing data from files

verbal spindle
#

Anyone studying about trading bots, crypto trading

pseudo ridge
#

Anyone know how to make big discord bots? I want to learn

cunning night
#

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

cunning night
cunning hound
#

yeah but in this case I'm trying to grab sorted data into a struct

cunning night
#

whats the file format?

#

txt?

cunning hound
#

yes

cunning night
#

whats the problem?

cunning hound
#

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

cunning night
#

hmm

#

whats the type of variables?

#

you need to grab integers, chars or strings?

cunning hound
#

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

}
cunning night
#

omg

cunning hound
#

so it writes to the file if it doesn't exist, then reads from the file into the struct

cunning night
#

why cout is here then?

cunning hound
#

test

cunning night
#

what does this if do?

cunning hound
#

check if fileread is existing

#

if it doesnt then you write data to the fil

#

file

#

and then rerun program

cunning night
#

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

willow delta
#

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

scenic hare
#

Anyone experienced with redis/nodejs?

potent garnet
#

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?

crystal rapids
#

can i get help

idle dew
#

Guys can someone tell how do I fix connection refused???

wanton brook
#

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

wanton brook
worldly wind
#

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

twilit quest
#

is this overfitting or good to go

paper wedge
#

Hey there, anyone here using R Studio?

wintry meadow
#

@twilit quest just yolo it bro

twilit quest
#

pretty much at this point, fk this shit

tacit kite
echo rivet
#

hey guys im wondering why this says int object not callable

spring sandal
#

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.

sterile flare
#

hello i have to do an android application in kivy. some one know how kivy work ?

pearl cedar
stiff beacon
tame glacier
#

Hey, is this where i can ask for help for simple python?

tame glacier
#

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

tame glacier
pale condor
#

Is it throwing you a line where it has invalid syntax in your terminal?

radiant hare
#

cant possibly have a ELSE and ELSE in the same indent

tame glacier
#

oh im so stupid

#

thank you so much

radiant hare
tame glacier
#

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

urban spruce
tame glacier
#

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

radiant hare
#

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

tame glacier
#

what does x.lower() do?

radiant hare
#

and ur trueig is not necessary, u can just while True:
then later break

radiant hare
#

so user input: RoLl, it would change it to roll then compare if statement

tame glacier
#

So it's not case sensitive?

radiant hare
#

x.lower()=="roll" works but
x.lower()=="Roll" would not work

tame glacier
#

so like this?

radiant hare
#

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.

tame glacier
#

Does
break
replace trueig=False

radiant hare
#

yup so the variable trueig is unnecessary.

tame glacier
#

ah i see

radiant hare
#

and the idea of trueig seems to be the True loop

tame glacier
#

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

radiant hare
tame glacier
#

alright so this is what i've done

#

OH

radiant hare
tame glacier
#

I MISSED A LINE

#

like this?

radiant hare
#

yup the trueig = True can be remove

tame glacier
#

oh yeah my bad

#

alright im going to fix the rest of the code with this then ill tell you how it goes

tame glacier
#

is there an indent mistake with the break?

#

or the else

radiant hare
#

both if and else both indent wrongly

#

they should be inside the while loop

tame glacier
#

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

#

?

radiant hare
#

ahh nice! sure sure i can take a look if ur code is graded.

tame glacier
radiant hare
# tame glacier

instead of writing if ready == β€œyes” or ready == β€œYes” or ready == β€œYES”

#

u can just write it if ready.lower()==β€œyes”

tame glacier
#

so (variable).lower() makes it not case sensitive?

visual remnant
#

yes

#

transform all the chars in.. lower? idk english jaja sorry

twilit pivot
#

Is it possible to us barba in react?

twilit quest
rare nexus
#

Hey what languages is everyone studying?

midnight osprey
#

python here!

midnight osprey
foggy reef
#

Anyone learning DSA?

idle dew
idle dew
#

Does anyone here know how to use VS Code well

smoky hollow
#

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

nimble fiber
#

has anyone here used gluonts for time series analysis?

void harbor
idle dew
void harbor
mortal mantle
#

can someone dm me for my drive help.I want to clean my drive c

halcyon gulch
little reef
#

Hey guys how can I do this using GUI in java?

#

What I have so far

little timber
#

I recommend searching for some java swing tutorials as this is actually very fundamental

#

@little reef

cosmic smelt
#

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

regal vale
#

anyone can give me any css advice to make a website more responisive?

#

what to use and such

wooden kindle
#

use media queries, flexbox and grids.

west harness
#

no need to learn float but good to know bc there still a lot of website with it

polar temple
#

any good linux manual u can recommend me?

stark girder
#

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

fair crypt
#

are there any affordable monitors, looking for one between $150-$200

little timber
#

hp's monitors @fair crypt

gritty plinth
#

can't help much cause only see the function

#

should be working from what we see from the image..

idle dew
#

^i'll second that. The image is perfectly fine the problem stems from somewhere else in the program.

stark girder
#

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

tall cosmos
# little reef

Hey man you asked this yesterday but I can help mb for not checking here a lot

tall cosmos
#

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

hardy totem
#

any 4K monitor recommendations for mb pro ?

sullen swallow
#

anyone here studies malware analysis?

sullen swallow
sullen swallow
idle dew
#

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

idle dew
edgy turret
#

A productive study stream discord

idle dew
#

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

quiet ore
#

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?

spring sandal
#

chatbot

west lichen
#

nic nos full form

#

??

plucky flower
#

And running directly to python is suitable?

idle dew
minor obsidian
#

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

idle dew
#

was there any executables that u run?

minor obsidian
idle dew
#

and i assume u clicked it

minor obsidian
minor obsidian
idle dew
#

can u send me that file in dms

#

can even say what that does unless we reverse it

minor obsidian
#

okay
apparently nothing happenned ,I did that just to be sure my files are still executed in my desktop

idle dew
#

yeah

idle dew
minor obsidian
minor obsidian
#

oh thank you

deft cedar
#

guys, i needed a file frm my late mom's laptop and I forgot the password and username. Is there anything I can do?

sullen nebula
eager tulip
small python
#

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

gleaming trail
#

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

spring sandal
#

πŸ›‘ 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

gritty plinth
spring sandal
#

Let me check this

#

Nope, still same errors.

cosmic hamlet
#

Does anyone have a study group for coding which i can join?

rigid estuary
hallow shoal
#

Anyone can let me know how to get Udemy paid course for free I tried various websites but nothing is working out

idle dew
#

hey guys

#

do you make notes

like is it important

to write stuff in nb or make a dairy

hallow shoal
idle dew
idle dew
#

i dont use any fancy apps just make a markdown file and push it to github for cloud storage

idle dew
#

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

idle dew
idle dew
#

or notion

#

okkkk

idle dew
#

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

idle dew
#

okkk

idle dew
# idle dew okkk

and there is also a great library for python called pygame that you should check out

#

okkk

#

thanks man

#

np :))

#

||thanks again||

little timber
#

dope

grim relic
#

is anyone a ce major

#

need help on floating point representation

#

or resolution

#

nvm

heavy harbor
#

is there any coding server with voice channals

raven maple
#

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

deft cedar
viral reef
idle dew
shrewd notch
#

Can someone help me with kotlin android program T^T

verbal wraith
#

@idle dew Hi, wondering if you can extend me an invite to the coding studying group

verbal wraith
viral bluff
idle dew
gleaming trail
#

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

iron wigeon
#

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

idle dew
#

can u try this way?

iron wigeon
#

thanks, this give me better result

idle dew
midnight osprey
#

what might be the problem here?

midnight osprey
idle dew
idle dew
#

um try removing the self

#

since methods do not use self

#

im not sure though

#

lets try

midnight osprey
#

sadly, it didn't

idle dew
#

heh okay

midnight osprey
#

oh well, i'll just think of a way around, thanks a lot man

idle dew
#

or u can change it to a function

midnight osprey
idle dew
#

yeah

hardy jackal
#

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

naive bison
#

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

hardy jackal
#

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

idle dew
#

Hello, has anyone ever done anything on video classifications with CNN and mind if I could ask aa few doubts

safe abyss
#

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.

modest abyss
#

I need help in exploitation system

safe abyss
#

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

idle dew
proven wave
verbal wraith
#

@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

idle dew
# safe abyss I just wanna know like, how do I start learning a language

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.

idle dew
neat belfry
#

hey i need some help to code in Javascript that decompress (β€œ1I1S2E1A1B2E1O1N1M1Y1K1N2E”) => β€œISEEABEEONMYKNEE”

earnest birch
#
    let result = "";
    for (let i=0; i < str.length; i+=2)
        result += str[i+1].repeat(Number(str[i]));
    return result;
}```
neat belfry
earnest birch
spring sandal
#

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

reef meteor
#

anyone well versed in LaTEx?

midnight osprey
idle dew
reef meteor
# idle dew 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

idle dew
#

i thought the latex that i wear

reef meteor
#

haha

idle dew
#

is that related to job what a data scientist does

reef meteor
idle dew
#

okk i want to know more about data scientist job

modest abyss
idle dew
idle dew
reef meteor
modest abyss
idle dew
nova basin
#

does anyone learn JSP? 😦

ripe token
opal acorn
#

need help with a c program can anyone help please

verbal wraith
#

@opal acorn sure

opal acorn
#

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

verbal wraith
#

What am I supposed to do here?

#

Do you need me to find the error in it or something?

opal acorn
#

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

verbal wraith
#

Can you show me how the output is incorrect

#

Expected vs actual output

opal acorn
#

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

scarlet agate
#

hey guys there is a bash expert here?

#

needs to know awk grep and let and do scrips

#

there is compensation

viral bluff
thorny rock
#

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

small kestrel
#

maybe this can help you

wide hound
#

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

pseudo ridge
#

In programming, what's the difference between a=b and b=a ?

#

It's a little confusing for me

vague vigil
pseudo ridge
#

OH, thx

vague vigil
#

Anytime

wooden kindle
fiery patrol
#

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?

silk bobcat
#

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

idle dew
idle dew
fierce wren
#

Anyone good with java?

#

I'm having some trouble

tame hamlet
#

Ayoo, guys, is there someone who knows how to work on dev c++ that can help me?

wintry saffron
#

Has anyone had experience programming an app like tinder ? I would love to chat if you have 5 mins !

idle dew
#

hey, react developer here, got experience with java SE too

hoary kraken
#

can anyone suggest me any good course to start with Data Science

#

i am sound in python language

sleek wyvern
#

they specialize in data science courses so youre bound to find at least one course that interests you. good luck!! :)

hoary kraken
fresh summit
#

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

lunar nymph
#

can anyone help me out

#

creating backend by using express

tame hamlet
#

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

gleaming trail
#

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

karmic saddle
hoary kraken
fresh summit
#

im using java for mine

warped raft
#

You could use python or node.js too for discord bots

fresh summit
#

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

idle dew
# tame hamlet i want to do a menu like that but automatically

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.

idle dew
lunar nymph
idle dew
#

u welcome

bronze flicker
#

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!

gleaming trail
#

guys for hibbards shell sort

#

if my array size = 30

#

do i choose 15 or 7

undone mulch
karmic saddle
#

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

nova gorge
#

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

bronze flicker
nova gorge
#

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

bronze flicker
#

That's awesome insight mate. Cheers! I think I understand now

wooden zealot
#

someone that teach me java arrays and streams 😩 i have an exam in a couple of days

shrewd notch
#

Does anyone know kotlin language here?

sharp shale
#

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

silent helm
#

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*

tidal violet
#

Hey I'm learning sql. Can someone explain when is EXISTS used and when IN?

limber prairie
#

How do I get more experience into IT or like repairing technology things from home?

remote elbow
lunar nymph
#

@remote elbow Thank you,
but the Issue is solved now, the problem was in path of the file

meager wren
#

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

idle dew
rigid estuary
idle dew
#

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.

idle dew
idle dew
idle dew
# limber prairie How do I get more experience into IT or like repairing technology things from ho...

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.

idle dew
limber prairie
idle dew
limber prairie
#

Got it πŸ‘

thorny spear
#

anyone here take notes with an ipad? i need help with an issue

tall cosmos
#

Anyone here uses blender?

verbal wraith
#

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

indigo mantle
verbal wraith
#

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

bronze flicker
deep hull
#

does anyone know what is this

#

i tried to uninstall a application on my laptop, but it shows this

wintry osprey
#

Hi

#

My laptop has a virus πŸ₯΄ ,is there soone help me the name of virus is pahd

rigid estuary
#

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

wintry osprey
rigid estuary
#

Ohh..hopefully someone else can help :/

visual stirrup
nova anvil
#

Does anyone here know fortran? Where could I find some good resources to learn from?

hexed flare
idle dew
nova anvil
#

yes, programming. i watched the fortran tutorial from Derek Banas and i was looking for more online resources.

hexed flare
#

@wintry osprey can i PM you a link?

bleak crane
#

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

fiery patrol
#

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?

rigid estuary
fiery patrol
#

they block the account i cant find it even if i search for it

sly ember
#

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?

small rover
#

Open source using java?

#

By the way I am from C++ background.

small scaffold
#

Anyone know how to change you pointer from a mouse pointer to a dot in one note when writing

thick moat
#

hi, has anyone written proctored exams on this software called mkcl?

pine pecan
#

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.

paper crow
#

ryzen are cheaper

#

check out the benchmarks and compare them

alpine meadow
#

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

humble cipher
#

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 ?

cunning wagon
#

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?

paper crow
void halo
# humble cipher Hi everyone, I have a question about API's on mobile apps, more precisely on Flu...

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.

idle dew
#

anyone here dong machine learning, deep learning CNN?

humble cipher
#

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

noble heron
idle dew
#

Anybody interested in debugging my shit code 😦
i am stuck at a place since more than a hour
Language C++

gleaming trail
#

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

still flame
verbal wraith
still flame
#

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

gleaming trail
#

@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

gleaming trail
#

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

solar crow
#

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

shrewd heath
#

Which one do u prefer i5 with rtx 2060 or i7 with 1660 ti?

tidal violet
#

Heyy can someone suggest me a few resources to learn C language in depth?

jolly prism
#

dennis ritchie's book

idle dew
#

i think we have many many "i5" and "i7" (i5 2xxx to i5 9xxx, i7 2xxx to i7 9xxx) what u mean

sleek wyvern
still flame
#

gotchaaa

#

also what do yall think would be the answer to this question

#

my quiz is over btw... jus letting yall know lol

tidal violet
jolly prism
# tidal violet Thanks!

also if you are just starting then you can use "mycodeschool"(youtube channel) for pointers and other concepts...

broken ravine
#

the best platform for python data analytics is jupyterlab right or is there something better? i've just started with data analytics

tidal violet
gleaming trail
#

my bad lol

#

its C

still flame
# gleaming trail 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

idle dew
#

@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

#

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

#

google

#

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

#

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

proud moon
#

okay :>

idle dew
#

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

#

google

#

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

silver fractal
#

hi! does anyone by chance know how to simulate a user input in JUnit tests? i dont even know where to start

idle dew
#

Are you using java

silver fractal
#

yes

idle dew
#

c'ya

#

I've barely using JUnit tbh but i might be able to get an answer

silver fractal
#

yes ive read that like 10 times today but it doesnt help in my case

silver fractal
idle dew
#

What do you mean by simulate input

#

are you using a scanner

silver fractal
#

yea im using a scanner, but i dont know much about it because i only write tests and not the code itself

idle dew
#

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

silver fractal
silver fractal
idle dew
#

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

silver fractal
#

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!

idle dew
#

interesting

silver fractal
idle dew
#

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

silver fractal
#

well you have a better approach than my teammate that hasnt responded in 2 days lol

silver fractal
idle dew
#

That's tough

verbal wraith
#

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

idle dew
#

I haven't used java for a couple months now usually I'll just google some things real quick to jog my memory

verbal wraith
#

I haven't used it in an year xD

#

But it's pretty simple, no idea about how JUnit differs

idle dew
#

Probably same I just said couple months as a guess really I mostly do web development

verbal wraith
#

Nice

idle dew
#

I used to make minecraft plugins

verbal wraith
#

Sounds neat

silver fractal
#

joo thank you i will try that out asap then

verbal wraith
#

joo?

idle dew
#

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

silver fractal
verbal wraith
#

Oh lol

#

Yeah it's cool

idle dew
#

jyjyo

verbal wraith
#

You said you weren't writing the code, just testing it?

silver fractal
#

yes i am

verbal wraith
#

Then hasn't the code developer made you aware of how to twst

#

*test

#

Input formats and such

idle dew
#

I mean really it sounds like should be made to be less coupled

silver fractal
#

nope the code is from another student and he didnt tell me anything because i can "just read"

idle dew
#

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

verbal wraith
#

Git is version control

silver fractal
#

ooh github is a life saver!

verbal wraith
#

Github is a repository website

idle dew
#

Github is different from git

prisma totem
verbal wraith
#

Github is not version control tool, it utilizes git

idle dew
#

I consider it one thing it pretty much is I understand the difference

silver fractal
prisma totem
#

ah, fair enough

loud ice
#

yvughigui

neat belfry
#

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

sly ember
sly ember
prisma totem
#

looks like google drive is having outages rn, ill try again later 🀨

sly ember
prisma totem
near raft
#

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?

oblique gust
#

hi all

#

Anyone know how I could give permission?

noble heron
#

add sudo to give admin permission

oblique gust
#

ty

noble heron
#

but be careful what you sudo..

oblique gust
#

yeahh...

noble heron
#

they get root access

#

you shouldn't really ever give python root access

oblique gust
#

oh?

#

Im trying to apply it to Atom

#

** Im super fucking new **

noble heron
#

pip install ipykernel

#

pip is a python command

#

python3 is also a python command

#

pip is the python package manager

oblique gust
#

yeah

noble heron
#

πŸ™‚

iron rose
#

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?

oblique gust
#

I could respond and help a bit but I feel others will offer better help then me.

noble heron
# iron rose Hey guys, I don't know how many of you are studying towards something specific b...

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

iron rose
#

I'll keep that in mind thanks

nimble plank
#

Anybody preparing for tech interviews?

prisma totem
#

i have an interview tomorrow actually haha

nimble plank
prisma totem
#

pretty nervous bc i've never had an interview before, but i'll see how it goes

nimble plank
#

You will do great. I will keep you in my prayers.

prisma totem
#

that's really nice of you, appreciate it!

#

good luck on ur future interviews :)

paper crow
prisma totem
paper crow
paper crow
prisma totem
paper crow
wet bloom
#

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

oblique gust
#

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.

viral reef
oblique gust
#

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

viral reef
#

tell me what exactly you want to do, i can't understand because of our language barrier

oblique gust
#

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

viral reef
#

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?

oblique gust
#

input = name
print(name)

Only forms an issue when im using the IDE Atom.
When using PyCharm this will print correctly.

viral reef