#tech-related-help

1 messages ยท Page 16 of 1

dapper storm
#

I am working on a pen plotter.. wbu?

lilac needle
#

right now I want to try remake the gravity gloves from half life alyx

#

rn I'm trying to brainstorm some practical things to do tbh. Might try build a little robot arm and mess around with servos! I do know I wanna try design my own pcbs too!! everything about hardware really fascinates me. Guess I just don't know what to do with all this interest lol, but the gravity gloves and robot arm seem really awesome to me. Might be cool to get like a hand tracker match movements to a little robot arm. Seems really complex though

#

I barely know how to use resistors properly lmao, I'm a completeeee noob to circuits so trying to get the basics rn

dapper storm
idle dew
#

Guys i wanna start coding and i dont know how can i start and am confused about it! Please someone provide some tips for starting .

gloomy lily
#

data analysis maybe

lilac needle
#

my other tip would be, look at some examples of what people have coded up. If you find something interesting, put it in a list of "inspo projects". Once you sort of are comfortable enough to program, try break down those cool projects into little tasks you can do.

EG, you really like a videogame; lets say uhhh, undertale!

okay, break it down into one cool feature you'd want to try make yourself; ie, a character moving around.

now break it down even more; ie, a square on a screen moving

now break it down even MORE; ie, just having something show up on a screen.

When you achieve something, by looking stuff up, and researching on how people have done it, move forward to the nest broken down task and try learn how to do it.

This is the method I use for when I want to try self learn something

#

The key is to have a project/goal that ACTUALLY excites you.

#

So for me, it would be making some sort of interactive game. Hence the examples of coding movement to happen when someone presses a button etc.

#

Anyway, if you really don't know a thing, just dive straight into some online free course and COMMIT to it. Don't compare different courses. Just pick a direction and move. Once you learn more, you'll be able to redirect yourself and really ask "okay, what do I want to learn??"

#

anyway I reccomend you dive in with a coding language like C++. If thats too difficult and you're having a hard time, then just go the Python route

#

trying C++ first could really benefit you. But also, the language you learn also depends on what you want to do with your coding skills etc, so just try research on what other people you look up to have done etc.

#

Sorry for the ramble lol, I hope its useful at least

idle dew
# lilac needle Sorry for the ramble lol, I hope its useful at least

The above things which you told and the course you provided will really help me a lot. I was really confused on how to start but now i will be able to start and make a clear decision on what i want to do afterwards. Thanks a lot for taking time and explaining these things to me. I really appreciate it and thanks again!

lilac needle
#

dms always open for any questions also btw!

idle dew
lunar knot
#

if you can, avoid the rust people they get itchy and weird if you mention doing c++

gloomy lily
#

also avoid me

#

ill tell you to learn c instead

nimble venture
#

smb explain to me why is discord burnt in the brave browser? screenshot doesn't show it and it also disappears when using any other app

ashen sentinel
#

people

#

what do you think about a 3D computer? where you can interact with the things ina 3D space. move a point wusing mouse

dapper storm
#

I am willing to buy a laptop.. Any recommendation from you guys is appreciated..

Min spec:
AMD 7 /Intel core i7 ultra/ 16GB RAM

brazen geode
#

budget?

#

anyways ill give you midrange and super expensive aND sUper cheap recomendations

brazen geode
#

Welcome, i actually had a few more

long night
#

Hi, im new to thinkpads. What do you guys think about T470 with i5 6gen? Is it worth modding?

novel falcon
#

are there any good books on steady state sinusoidal circuits or textbooks with solved problems?

dapper storm
#

Will they do?

#

@novel falcon

novel falcon
dapper storm
#

You can also check BL Threjas book.. They have 4 volumes.. You can choose as your matter of preference

rancid nest
#

Can anyone suggest some books for Linear algebra, calculus , Probability and Statistics at GATE level

silk scarab
rancid nest
crystal lake
#

Anyone got any idea why this happens?

gloomy lily
#

you can upload jt to pastes.dev or smth

#

most likely the issue is in a line above

#

like an open bracket withiut a closing one

#

though i never learnt python so idk what itd look like really

crystal lake
#

Just an issue with the last line

misty geyser
rancid nest
brazen geode
#

Hi Antares tos user

novel falcon
#

YO is there any good LRTA* algorithm documentation, that anyone knows of? LET ME KNOW!

novel falcon
novel falcon
#

like

#

bro

brazen geode
novel falcon
#

you deserve everything you get

brazen geode
#

Lol

trim spade
#

does anyone knows how to use the stylus extension in brave browser?? like i downloaded the file, now what? the website says to open the stylus manage page but where is it??? i cant find!

bright quail
#

if it's an extension, then it should appear somewhere in the bar on the top right

trim spade
#

still not there

waxen pulsar
#

L1 = {w : the number of 0s in w is a multiple of three}
L2 = {w : every 1 in w is followed by at least one 0}
(b) Give the state diagram of DFA for L1 โˆฉ L2.

How to Solve this problem without using cross product since it's too lengthy for quiz and exam.

tulip stump
twilit sable
#

Hello, is there any fellow active FlutterFlow users here? If there is please dm

weak portal
#

Hello //so I've been using endevour Linux form last 5-6 months and from the start there were mirror issue and I couldny download or update anything I've tried fixing it countless times from chatgpt help cuz I know nothing about stuffs like that so yea chatgpt gave me commands to change to different mirror and also did some reflector thingy . I've tried to troubleshoot the issue sooo mnahyyy timesss it drives me nutsss just thinking about retrying it. I've a vague idea of why it might happen cuz when I was downloadg endevour iso the network was bad and download interrupted so I've tried redownloadig iso of arch Linux๐ŸŒ cleanly without any interruption ....sooo the main concern is I m a studio noob in terms of system trouble shoot and if I run in some arch problem I'm cooked .so if anyone have some advice and suggestion please tell me ๐Ÿ˜ญ

gloomy lily
#

what output

#

pacman -S i think

#

and i dont get what you said in the second part with the redownloading iso

weak portal
# gloomy lily pacman -S i think

When I do sudo syuu thingy to upgrade whole system it show url 404 error and after I change mirror and tried a lottt it still showed url 404 error (which apparently is broken mirror but I changed to every good mirror ) but it started downloading the apps but it got stuck again in several other things wait lemme do it again and show u reasults

gloomy lily
#

can you show output

#

and also pacman.conf

#

sounds like configuration issue

weak portal
gloomy lily
#

sure

gloomy lily
#

anyone here has experience with IEMs. on r/IEMs they say weird stuff like bright and neutral and whatever but i dont really understand how i can find my preference

#

like some say they want more treble because they like that kind of musoc

#

music

#

but somehow i listen to every genre of music

#

i was thinking of buying tanchjim bunny

#

for no real reason other than the price and positive reviews

#

I BOUGHT THEM!!

#

i hope they arrive soon ๐ŸŽ

crystal lake
#

W

gilded sphinx
#

hey guys, anyone here have tried Dell latitude laptops?

currently eyeing for dell latitude 5420

as an upgrade from my current T470

tho im not sure about the overall build quality and linux compatibility
especially the keyboard and trackpoint (which i really love from what thinkpad offers)

refurbished thinkpads are still expensive in here, at same price i can get higher spec from refurbished dell latitude

gloomy lily
#

i do that a lot

#

i spend like 2 hours reading the subreddit and figured that i didnt understand shit

#

so im hoping that i kinda get a better understanding of what i want from IEMs

#

and then when i do, i will buy new ones for around 100โ‚ฌ :)

trim swan
#

hello is anyone familiar with robot kinematics, dynamics and control? im really struggling to find material easy enough for me to understand

#

and robot vision as well

queen pollen
queen pollen
#

mhm, the wise man wishes not to answer, this complex and mysterious doubt.

trim swan
#

oh, what should i do with such insightful wisdom

queen pollen
#

the wise man says, to hogwarts shall you go, if you want to learn magic, to MIT you go, if you want to learn engineering, to Harvard you go, if you have a house to donate.

queen pollen
trim swan
queen pollen
trim swan
#

wisdom increases with sleep

trim swan
#

Can anyone help TT

crude crater
#

i am stuck between choosing an Ipad A16 or a Boox Go 10.3 for Sixth Form, I'm choosing Math, Chem and Bio so ill 100% be writing lots of notes but im not sure if i need to run any graphic-intensive apps (which the Ipad) would be best suited for, and if not ill just choose the Boox Go 10.3

#

( forgot to mention) but ill js use the tablet for note taking and reading manga/books. I have a pc at home

dense seal
round plover
# gilded sphinx hey guys, anyone here have tried Dell latitude laptops? currently eyeing for de...

iโ€™ve been using a latitude 5480 since before i was into thinkpads or linux or anything because i was able to get one free and i donโ€™t really have any issues with it, cant compare it that much because i dont have experience with higher end laptops but its good and sturdy, it can heat up and get noisy but what can you expect from a laptop like this and i have not had any compatibility issues daily driving it with arch

#

been thinking about upgrading for uni soon but not really sure what iโ€™d get

#

frameworks are pretty enticing

limber sentinel
#

if so, then id recommend the ipad, the responsiveness and app support for the apple ecosystem for education is too good to pass up on when youre trying to have a "it just works" experience when youre at school

#

that being said, i own a book go 7 for reading books in bed and while i love the page turn buttons, fumbling around w android e-ink displays hasnt been my favourite

crude crater
#

and plus i really prefer the boox go 10.3 design and screen benefits over the ipad

limber sentinel
crude crater
fallen ocean
#

Hey guys how are you

#

Does anyone has resources to learn NX siemens

wet coral
# fallen ocean Does anyone has resources to learn NX siemens

hi raul, there's a beginner's guide on NX product section of the siemens support centre portal, under "getting started". get your institution to make you an account if you don't have one already, it's a useful thing to have. also i haven't used NX but in star-ccm+ there's built-in documentation if you hit f1 (or help>help in the menu), it might be similar for NX

wet coral
gilded sphinx
austere river
#

I have a personal project thing at my school, and i really need to learn how to use servo motors. Can someone give me a breakdown and how to code a servo motor with an arduino?

#

Also im a complete beginner, so anything u know would be helpful

crude crater
weak portal
#

heyyy anyone knows a good ads blocker for spotify app for linux ?

idle dew
weak portal
wet coral
weak portal
prisma goblet
#

heey, I have a quick question. Does anyone know autocad? I have a question about scales and all

austere river
#

What 3d printer should I buy? Id want one thats a reasonable price and good for beginners

clear portal
#

Does any body have an affordable mini-laptop they can reccomend??

thorny rapids
stiff kite
#

Hey, I want to start a group of skilled devs from disadvantaged backgrounds to prepare for the upcoming global recession. lmk if you'd like to join.

amber oriole
#

I am using PowerToys in Windows 11, which is similar to Spotlight Search on Mac for faster responses. However, I am seeing a warning and cannot find my folder. Can someone please help me with this problem?

amber oriole
stiff kite
# amber oriole I am using PowerToys in Windows 11, which is similar to Spotlight Search on Mac ...

Have you tried reindexing? It seems there's a history of this bug happening with the software

https://learn.microsoft.com/en-us/answers/questions/4291566/how-do-i-get-my-windows-11-indexing-to-work-proper

^ I'm sourcing from here; open your windows menu and search for "indexing options", then click to Advanced > Troubleshooting > Rebuild

The indexing status for my Windows 11 Search always states paused. Even after I restart. It seems to be indexing extremely slowly but I can't find files I know are there and my Outlook indexing status indicates that most of my PST emails remain to beโ€ฆ

dry sorrel
amber oriole
floral inlet
# amber oriole Sir, I am using the Powertoy app

well powertoys is a microsoft product, so obviously it integrates with windows features, and search indexing is a feature that allows you to search for any files on your pc and not just apps

#

search indexing also speeds up the search process

amber oriole
#

hmm ya
but my problem solution?

spring igloo
#

Anyone here learning theoretical compsci? id love to try and learn by conversing about the topics.

unborn rock
#

anyone has a branding or design system portfolio? i'm studying about it and i want to discover new works

tulip stump
#

Anyone here learning about networking and wanna link up?

rich mesa
#

What is the best study timer?

past plinth
tulip stump
lilac needle
#

It has a nice simple layout, can be customised to be pomodoro or even just a regular timer.

Free version is pretty good, nothing annoying.

#

and you can also like, view graphs breaking down how much work you've done etc for each category. (each category gets its own customisable timer)

#

eg studying for one subject Vs another

#

Should be on any phone app store

stiff kite
#

WE'RE SO BACK BAYBEEEEEEEEEEEEEEEEEEE

crisp crypt
#

hi idk if its the right chanel, but i'm trying to design a PCB and i'm having real hardtime to do it... i'm seacking for help !

trim rock
#

Oh god i replied 4 days late

clever haven
#

Can anybody suggest me what subject I should minor in (I am majoring in CS)

tulip stump
#

Stats can be good if you want to get into data analytics

trim rock
astral dagger
#

Hi! Does anyone know how to make a VPN site to site in ASA 5505 packet tracert? (If you know any tutorial to follow, I would appreciate it very much)

rustic mesa
#

trying my luck here too
Any gods of x86-64 in here?
I'm trying to save a 128 byte buffer on the stack and access it after a recursive call. I keep getting bus errors, I think I'm misunderstanding something fundamental.

#

linux based btw

rich remnant
#

Any programmers here? Super road blocked on a Data Structures Proj

grim vale
#

what's the question

rich remnant
#

Making Linked Lists but idk what to do or how to just keep the thing as null before I assign it with a link

#

like I made a Node class which ig is like chain links and then the Linked List class to make a list using the Nodes connected to eachother

covert phoenix
#

you can make a dummy node

grim vale
#

You got some source & question you can show?

covert phoenix
#

or have a 'list' class that will keep a pointer to the first node

rich remnant
#

Not really a source question but its mapped off of Micheal Main - Data Structures and other Objects Using Java

#

My prof really likes working off of txtbook

#

hm

#

Idk if Im allowed to do that with making a list that points to Node

#

Im prolly describing this weird -_-

covert phoenix
#

hmm, i mean

#

you gotta point at the list somehow

#

so you just hold a pointer to the first node?

rich remnant
#

I have like an instance var that points to the head

#

of list

covert phoenix
#

mhm

rich remnant
#

that node is linked to next node

#

etc...

covert phoenix
#

yup

rich remnant
#

until final node which is linked to nothing

#

I believe im only allowed to go through it by following the links of the links

covert phoenix
#

in most basic form yeah

rich remnant
#

Or Im over complicating this

#

prolly that one

covert phoenix
#

okay, so whats the problem again

rich remnant
#

But when I generate a node there is no other node to link it to

#

so its just node

#

do I just create a method to link it to a new node?

#

sry I meant the link is just null

covert phoenix
#

yeah

rich remnant
#

at least thats the default I have

#

Ah

#

Idk why Im making this so frustrating lol

#

Ill try, thx @covert phoenix !

covert phoenix
#

im not sure how textbook that will be, but it should definitely work

grim vale
#

i googled the text book

#

trying to find the page he's on

rich remnant
#

pg 177

grim vale
#

My guess is around 180~?

rich remnant
#

Theres like a section of just linked lists

#

Theres a section on 178 that talks about the null reference but im kinda confused

rustic mesa
#

I dont quite understand what you are confused about. Is it the case with a list of only one entry?

grim vale
#

which edition of the book are you on

covert phoenix
#

the general idea is to have a method for it

rich remnant
#

@rustic mesa Kind of yeah

rustic mesa
#

In the case of one entry the "link" should just not point to anything

#

Null, 0, -1 or point to itself

#

And save the pointer to this node somewhere, because when you add to the list you want to do the following

#
  • Create a new node which points to nothing
  • Enter the node you saved (first node)
  • Traverse through the links node by node until you find the last one which has a null pointer
  • Change the null pointer to point at the new node
rich remnant
#

For the 3rd point would I just make a loop that iterates through

#

Node link = Node ....

rustic mesa
#

Sure, if you want to be a good CS student you should do it recursively :p

rich remnant
#

Node next = link.getLink()

#

@rustic mesa Hmmm, so just calling Node again in the loop?

rustic mesa
#

Just think that you only have access to the very first node. There is no way you can jump in the middle of the list or whatever

rich remnant
#

So Im going to have to go through the links

#

recusrively?

rustic mesa
#

yeah

rich remnant
#

Gotcha

rustic mesa
#

You dont have to do it recursively, but that's the preferred way

#

While loop also works

grim vale
#

I would recommend get the basics of it done first

rustic mesa
#

especially in java and high languages like that

grim vale
#

then if you can, do it recursively

#

but getting it working first is the important step :P

rich remnant
#

Ok, cuz im not super good at recursive I always get mad errors

rustic mesa
#

Go for a while loop then

grim vale
#

yeah

rustic mesa
#

while(node.pointer != nil):
node = node.pointer

rich remnant
#

So something of while (var holding link)!= null?

#

ah

grim vale
#

neat while loop, get it functional, then go for recursive because, why not, challenge yourself

rich remnant
#

Ok

#

thx so much!

grim vale
#

I should be doing my studying, but instead I am making discord bots because Think1

rustic mesa
#

Anyone here proficient in x86-64? (linux)

strange zodiac
#

any good tutorials for creating a discord bot?

#

was going to play around with it over the summer

whole sonnet
strange zodiac
solid patio
rich remnant
#

Ye I hope someday I will too :(

whole sonnet
solid patio
#

hm? I really like to work with them! :)

#

U need any help with that?

whole sonnet
solid patio
#

I currently am only using them in university, so I don't have a practical example sadly.

whole sonnet
#

okeyโ˜น๏ธ

regal quartz
#

Depends how much of the instruction set you need help with though

rustic mesa
#

Just wondering if there is a smart way to save local variables larger than 8 bytes on the stack.
Atm I'm just pushing it 8 bytes at the time

#

But it seems like it's the only way

regal quartz
#

I believe that's generally the only option for dealing with larger values yeah

#

I would say try writing something that does that in c and disassemble it to see how your c compiler does it

#

But all primitive types are 64 bits or less

rich remnant
#

@solid patio Ye working with them in Uni too but my prof makes em super confusing

solid patio
#

I highly recommend playing around with linked lists.

rich remnant
#

I get the concept its implementing em that sucks

solid patio
#

gets confusing fast, yes

#

thankfully a lot of good tutorials

rich remnant
#

Working at it for a little so no questions atm

#

just kind throwing shit at it to see what works

#

got any recomendations for improving skills in recursion?

#

seems super convinet but ye not great at it

twin fox
#

What are people's thoughts on learning C vs. C++?

solid patio
rich remnant
#

Got any recomendations?

solid patio
thorny rock
#

than C++

#

C is for microcontrollers

rich remnant
#

rn working with java for my class

solid patio
#

good stuff is there I guess

solid patio
solid patio
#

I'd provide you with the stuff I get from university, but I guess since its in german I don't really think it'd help you

twin fox
thorny rock
solid patio
#

I started to get into programming because of game hacking, so C++ was the point where I started.

rich remnant
#

Just tryna be a better programmer tbh

twin fox
solid patio
#

(how did you guys get the fancy colors btw?)

rich remnant
#

been doing it for a couple of years know but only recently began programming in an academic setting

#

typically jsut did it for personal projects or data science in labs

rich remnant
#

yee ^^

solid patio
#

I'd focus on learning programming principles and fundamentals, maybe just start a random C, C++ or Java programming course

#

(there's many very good free ones on there, udemy or something like that)

twin fox
#

I'm already pretty familiar with programming fundamentals. I use JS, Go, and Python everyday for my day job

twin fox
#

But I've been wanting to dive into a lower-language and have been bashing my head between C and C++

solid patio
#

makes things easier

thorny rock
#

C++ is the hardest language around, but fun

hybrid ledge
#

then c++ is pretty similar to js

#

both are POO

#

OOP*

solid patio
#

thx!

solid patio
#

"typo"

thorny rock
#

nah, pointers, vectors, deconstructors, memory management

twin fox
solid patio
thorny rock
#

I'd start with C

twin fox
#

I've only ever read that C++ is complete garbage

solid patio
twin fox
#

Java, too hahahah

hybrid ledge
thorny rock
#

C++ is omnitool or swiss army knife of programming languages

#

it has everything

#

go with C, fun language

#

especially memory allocation, pointers and references

#

and moving bits around

#

plus it is simpler than C++ without many unnecessary things like namespaces, templates and other bollocks

#

and you can program Arduino and embedded as a hobby!

twin fox
#

very true. and it leaves a smaller footprint and quite portable

solid patio
#

i guess you'll be fine either way, but I'd probably take @thorny rock advice

thorny rock
#

not really a subset, they are compatible to some point but sometimes code from .c won't work in .cpp

twin fox
#

indeed. c++ is more like c with stilts (classes)

thorny rock
#

oh and with C you can easily learn and grasp all of those basic data structures like nodes, linked lists and dynamic arrays, because you need to code them from scratch with pointers

twin fox
#

C++ has Vectors ๐Ÿ˜ญ

twin fox
#

i talked to a friend about this, and he said, for my purposes, if i need anything more than python that c++ would do the trick because, as janas said, it's a swiss army knife and, unlike C, strings are well handled, which is a PITA in C

thorny rock
#

't have string type, you can only create array of characters and you need also to create functions that will allow you to handle them

#

and i don't know if C can operate on Unicode

#

If you want to learn C in the future then I recommend you reading "The C programming language" by Kernighan and Richie, this book is a Bible of C

twin fox
#

isn't fscanf unsafe?

regal quartz
#

For specific cases sure

twin fox
#

fscanf seems like it works for a file with one or two lines. but what about a big file of strings?

thorny rock
#

and sprintf

#

malloc, pointers and a bit of creativity

twin fox
#
snprintf(msg, 1024, "Hello, %s", "world");
printf("%s\n", msg);
free(msg);```
thorny rock
#

that's some complicated way to write hello world

twin fox
#

just to concat char arrays

thorny rock
#

oh

#

and the other thing with C

#

and C++

#

learning what all of the error communicates mean

#

this might be mind boggling if you are used to Python / Java errors

#

most of error messages you get in C/C++ might not get you anywhere

#

they can only lead you to depression

twin fox
#

how often do you use gdb?

thorny rock
#

I never used it o,o

#

most of my diy projects and uni coursework projects were simple enough to not to use the debugger

#

our professor never told us a thing that this exists

twin fox
#

damn

fluid jewel
#

Im using pycharm for python coding and i like the way they indexing as the same time i coding too

idle dew
#

that a thing you should know yourself

twin fox
#

janas, what are you using now?

thorny rock
thorny rock
idle dew
#

0x memory offset then Cisco its okay dude :""

thorny rock
#

my STM32 lies in a box for about 5 months now

#

and I don't plan to use it anytime soon lol

#

to grab C skills back

fluid jewel
#

Btw has anyone do android dev in python before. I need some help about Vixy and Linux VM

hybrid ledge
thorny rock
#

Intellij, I love it

hybrid ledge
#

Im using Eclipse rn and its quite a crap

twin fox
#

thanks for the input, janas. a good amount to think about

#

re: my question about C/C++

thorny rock
#

no problem mate

rustic mesa
#

I love intellij but goddamn is it slow to open

fluid jewel
#

I prefer Node JS

thorny rock
rustic mesa
#

I have SSD, I just work on huge projects at work. Often multiple

#

Need more RAM and a better processor atm

#

scala ftw btw

thorny rock
#

oof I wish I worked on any big project

hybrid ledge
thorny rock
#

or even getting skills for junior dev

idle dew
hybrid ledge
#

oh, i will download it

twin fox
fluid jewel
rustic mesa
thorny rock
twin fox
thorny rock
#

I wonder if I can get enough of skill in this in 5-6 months

idle dew
thorny rock
fluid jewel
rustic mesa
fluid jewel
twin fox
#

can you elaborate on this?

#

how do they land jobs if they have no experience?

rustic mesa
fluid jewel
twin fox
rustic mesa
#

They just trust that we learn quick ๐Ÿคทโ€โ™‚๏ธ

fluid jewel
#

Try to give them a binary tree search algorithms. Dfs or BFS

rustic mesa
#

I think that would be no problem lol

thorny rock
fluid jewel
twin fox
#

i guess grinding it out in school is better than the cringe "It's aLl aBoUt wHo yOu kNoW" route

rustic mesa
#

I bet the situation is very different in other countries but here it can get you quite far

#

Scandinavia

twin fox
#

I guess I harbor bitterness about getting passed over for a job because another candidate, who was absolute less qualified, firm-handshaked their way in.

#

~all about the journey~ lol. but i understand what you're saying

sterile relic
#

ey any suggestions on what I can start learning right now for computer science major

flint cedar
#

codings

sterile relic
#

which ones

flint cedar
#

java

idle dew
#

Python

flint cedar
#

most of the code youll use is object based so its all similar

#

it also depends what you wanna do with the code

fluid jewel
iron heath
crimson tapir
#

can someone help me with python?

vivid rune
crimson tapir
#

like i want to insert an word input not a number but it isnt working

#

but with number it works :'c

vivid rune
#

Are you using the input function ?

vivid rune
crimson tapir
crimson tapir
vivid rune
#

sorry I did not want to answer to this sentence !

crimson tapir
#

the code i put was
p = int(input('Who do you wanna know about?' ))

vivid rune
#

In python, the string are written with quotation marks, so if you forget them, he will think it is a variable

#

Oh

crimson tapir
#

isnt it right, tho?

vivid rune
#

the int() function convert what is inside into an integer

crimson tapir
#

oh

vivid rune
#

so if you put text that does not look like numbers, he will be lost

crimson tapir
#

didnt know about that, sorry
bad mistake :S

vivid rune
#

You are learning, it is normal

crimson tapir
#

ill look for it, thanks a lot < 3

fluid jewel
#

A = int(input("Input your number here: ")

#

If you want to convert into string.use print(str(A)) or % for calendar

crimson tapir
fluid jewel
#

You can. Just need how to convert them

#

Even a list or tuple can be input tho

crimson tapir
#

oh

#

okay

#

ill try it

vivid rune
#

No you can't

#

"If x is not a number or if base is given, then x must be a string,
bytes, or bytearray instance representing an integer literal in the
given base."

fluid jewel
#

Use lambda lol

vivid rune
trim agate
hard coral
#

Hi any resources to start data science (ML/Deep learning) please ?

fluid jewel
fluid jewel
trim agate
fluid jewel
#

And try to search in ytb how to create your own python language. What none of school sesson or anyone in here can help you

vivid rune
# crimson tapir im confused rn

You just have to remember that the int function is used to convert something that looks like a number into an integer.
It can convert binary value into decimal (or other bases)
It can convert a string that contains only numbers and whitespace into an actual integer.
It can convert a float or other number's type into an integer.

trim agate
#

Can i send pdf's here?

crimson tapir
fluid jewel
trim agate
#

There it is

crimson tapir
#

im hoping it wont be bad for my pc fofaanatiti

trim agate
#

Its really basic and short, because it was an optative exercise

trim agate
crimson tapir
fluid jewel
#

I learn python in w3school

trim agate
stray valve
fluid jewel
trim agate
trim agate
fluid jewel
whole sonnet
#

guys whats the best way to learn dsa?

fluid jewel
trim agate
fluid jewel
trim agate
trim agate
fluid jewel
fluid jewel
trim agate
#

๐Ÿ‘€

fluid jewel
#

If you just use ytb for music habits only. They will recommended from pop song to Micheal Jackson songs

fluid jewel
regal quartz
fluid jewel
regal quartz
fluid jewel
regal quartz
#

gotcha

#

I wouldn't be afraid to learn other languages, in my opinion what's difficult is just learning new features, so if you know a couple languages that cover most features in current programming languages it's pretty easy to pick up a new one

#

e.g. if you know say c, python, and java many other languages should be easy to learn

brazen coral
#

yea i think its not about the language, but rather the paradigm

regal quartz
#

exactly

whole sonnet
#

but whats the point of learning too many languages,,u wont be using any of them

fluid jewel
#

True. But i chosen python to go with because its the only language resolve the Machine Learning problems

regal quartz
fluid jewel
#

If C# can use for ML ill learn it for Real Estate Website + Recommendation System project now

vivid rune
whole sonnet
#

does it? didnt know that

fluid jewel
#

Actually Microsoft can create all-in-one language tho but the antitrust law avoid them to do that

vivid rune
trim cloak
#

Can someone help me with JAVA? I need to somehow visualise data from Oracle database ๐Ÿ˜…
Should look something like this:

P.S. I already have some code, but we don't study Java in university, so I don't even know the syntax

livid dove
#

i asked in general but i realized there is special chat for this. im planing to coding this summer. i wanna buy mac but m1 would be enough for it? or should i buy the i7 one?

odd kite
pallid lark
#

I've worked on a 2007 thinkpad for years and it's been fine

#

I got it for 40 pounds of gumtree

odd kite
livid dove
#

i will computer engineering

#

sorry

odd kite
livid dove
#

cant finish :d

odd kite
pallid lark
livid dove
#

i will start studying computer engineering in collage

#

so i dont really know what program we will use

pallid lark
#

does the school not give you an idea of what sort of hardware you'll need? might be worth contacting them and seeing what they suggest

livid dove
odd kite
#

Notebook with i7 or ryzen 5 or 7 will fit exactly

#

Mac or win doesnt matter

#

because you can use a virtual machine

#

so then it depends only on what you prefer: mac os or windows and also price)

pallid lark
#

when I was doing my undergrad you could get a half decent discount on macs for being student, they were still pricey but it helped

#

is that still a thing?

livid dove
#

i dont live in us so idk

pallid lark
#

I'm in the UK

livid dove
#

oh

#

in turkey i never heard of a thing like that

pallid lark
#

fair, could be worth looking into

#

saving money is always good imo ;)

livid dove
odd kite
#

in russia because of tax macs is very expensive)

livid dove
pallid lark
#

ehehe, apple's aftercare and customer support used to be pretty great, but like I said in the general chat they were too pricey for me, so I went with linux

odd kite
#

๐Ÿ˜ฅ

pallid lark
#

and the cheapest computer setup I could get away with

livid dove
pallid lark
#

anyway that's enough chatter for me, this report won't write itself! Nice chatting to you two

faint wedge
#

Mobile utilities for students?

idle latch
#

Anyone knows whether I can set a python Twitter bot to execute a program compiled in CPP?

idle dew
#

m1 macs are very powerful

#

although I am not sure if it is good for programing as of not since it uses a new architecture and u might encounter compatibility issues with certain softwares

#

I would recommend u getting a ryzen laptop without dedicated gpu

#

forget about intel laptops

rustic mesa
#

I'd recommend ThinkPad

idle dew
#

yeah

#

u need one of these badboys

#

this is ur ideal programming laptop really

leaden patrol
idle dew
#

yeah u might wanna look into the lenovo ideapads too

#

lenovo ideapads are so fucking sexy

#

and they are cheap

#

and with ryzen cpu

#

u'll be cooming all over the place with it

visual relic
#

hi, im just buying a new mouse for gaming and daily stuffs, i just cant descide and want to ask here. One of my options is Glorius Model O and the other one is Deathadder elite. Which one should i choose?

idle dew
#

deathadder elite is really good

#

might be little pricey but its good

#

i've been rocking that mouse for 3 years now

#

no problems

visual relic
#

thanks

granite fog
#

My deathadder elite (v1) lasted around 2 years before the left click didn't work anymore.. v2 has (allegedly) a better lifetime

pastel onyx
#

what do you mean by limit

#

limit the amount of memory each application takes to run ??

#

sorry idk any app like that

#

im sorry

thorny rock
#

don't you just love messing with JavaFX canvas

#

it somehow allows the use of emojis

idle dew
#

There is this prescheduled shut down commands for windows if you are interested

idle dew
#

"cmd shutdown /s /t " is what I meant

#

You can enter this command on run page
calculate the esteemed time according to seconds and write it to the end with a space between

haughty tendon
#

i think cold turkey does that?

#

idk if you can set it up like you can only spend 2 hours and theres a timer, but you can limit apps. i think you need to pay for full version though

idle dew
#

@heady sphinx is it to stop gaming?

#

have u checked r/stopgaming?

#

one solution is to make another user profile

#

and use paternal control to limit hours allowed

#

(ask a trusted person to make an admin password)

#

@heady sphinx

idle dew
#

I didn't understand can you please type it out again (English is my third language)

idle dew
#

why do people prefer LINUX for coding?

twin fox
#

Linux is just an environment. You can use Windows, Linux, or MacOS for development.

#

But, if you're exclusively programming software for Linux, then it makes sense to use Linux

idle dew
# idle dew why do people prefer LINUX for coding?

Either because one they are being cheap or two because Linux is less OSy as in windows is made for even a chimpanzee to understand where as Linux is a bit more of a barebones OS, so things run smoother / faster on Linux.

balmy aspen
#

I recently swapped my laptop from windows to linux, as I mainly program in C/C++, and C just works out of the box on linux lol

twin fox
balmy aspen
# twin fox What kind of C/C++ work do you do?

Well at my job, I've been a C# developer for awhile, and have been interested in embedded systems, and so have been learning that on my own time. I'll be going for my masters in Electrical/Computer engineering this fall. My job is going to move me into an embedded systems role. I work for a defense contractor and we make Intelligence, Subservience, and Recon software for military aircraft, so alot of the embedded work revolves around that stuff.

#

Surveillance*

idle dew
#

does anyone know a pomodoro app that i dont have to build on linux?
I dont have gnome

twin fox
#

esp for the government

balmy aspen
wet glen
idle dew
#

regoltih

wet glen
#

package manager?

idle dew
#

apt

wet glen
idle dew
#

its ubuntu but with i3

wet glen
#

you ok with using a terminal for a bit?

#

cuz they have a .deb in their relases folder

idle dew
#

they are in the snap store ๐Ÿ™‚

#

i know you are not supposed to use them but fuck it

#

thank you thouh, it works fine

wet glen
#

so you got pomotroid now?

idle dew
#

Yeah

golden herald
#

What interesting projects that you guys have implemented that piqued recruiters interest before?

snow mist
wet glen
golden herald
wet glen
#

its a HS project that got me into compsci before I had my abitur which is the german HS diploma

idle dew
#

any competitve programmer here?

elder trail
idle dew
#

Oh I need a rival so I can Improve much more ๐Ÿ’”

elder trail
#

I mean

#

I'm a programmer and I even got a job

#

But I'm not a competitive programmer 4 sure bro

idle dew
#

oh I'm a jobless programmer ๐Ÿ˜‚๐Ÿ˜‚ I hate doing development stuff, I more into solving things and learning about data structure and algo, but Im not that pro, I think you can start with codeforces, solving bunch of A problems with 800 score, solving 200 problems would make a huge impact on your logic in programming

#

I find it intersting solving those problems so I encourage you to start

elder trail
#

Problems like this one?

idle dew
#

exactly

#

this is a math related problem

#

u can see the tag below

elder trail
#

So my first goal is to solve around 200 "####A" problems

idle dew
#

yep u will start improving daily

#

and u can find online some problem sheet, or a roadmap to expert rank, it would be useful

elder trail
#

Damn bro that's kinda hard for me

#

But i'll do my best

idle dew
#

just start with bunch of problems per day, like 3-4

grim vale
#

Does anyone have any experience with building Maps in JavaScript?

#

I was going to use JSON arrays, but it got pretty messy due to me knowing literally nothing about JSON

#

and I was recommended to use maps

#

For reference, my arrays look like this

#
{
    "Apple Tree": [
        "apfelbaum",
        "apple tree",
        "manzano"
    ],
    "Ball Cactus": [
        "kugelkaktus",
        "ball cactus",
        "cactus bola"
    ],
    "Pumpkin": [
        "kรผrbis",
        "calabaza",
        "pumpkin"
    ],
}
#

I was previously going to make a for loop to check each array

#

so if the message cotains kรผrbis, calabaza or pumpkin then the tree has to be a Pumpkin

#

and it iterated through each array

idle dew
#

can someone tell me how to find what's beeping in discord?

grim vale
#

any server you don't have muted

vital thicket
idle dew
#

Thanks brother you're a pogchamp

fierce kelp
#

I'm doing data structure course in python. I'm having problem with understanding recursion, searching and sorting and memoization. Can anyone suggest me any videos regarding following topics done in python which can help me?

fluid jewel
#

Help me guys. I need some documents about google collab to convert kivy files into apk pls

fierce kelp
#

@honest hamlet hope it will be helpful

#

thanks

vapid cloud
grim vale
#

yes

#

ive been working on a college project all night

#

and haven't looked at it

idle dew
#

im not a Javascript fan, but I think its the same concept in c++

#

let myMap = new Map() let keyString = 'a string' let keyObj = {} let keyFunc = function() {} // setting the values myMap.set(keyString, "value associated with 'a string'") myMap.set(keyObj, 'value associated with keyObj') myMap.set(keyFunc, 'value associated with keyFunc') myMap.size // 3 // getting the values myMap.get(keyString) // "value associated with 'a string'" myMap.get(keyObj) // "value associated with keyObj" myMap.get(keyFunc) // "value associated with keyFunc" myMap.get('a string') // "value associated with 'a string'" // because keyString === 'a string' myMap.get({}) // undefined, because keyObj !== {} myMap.get(function() {}) // undefined, because keyFunc !== function () {}

vapid cloud
#

Its a bit different

idle dew
#

u can use myMap.set(key,value)

vapid cloud
#

in Java you have 2 kind of maps

#

and 2 Lists

#

I recommend using LinkedList for Jessica

#

then the functions are the same as C

#

add, remove, contain, ...

grim vale
#

yeah someone had told me about Maps, it's why i mentioned it originally

#

since, I hadn't heard of them before

#

was hoping someone could teach me

rose plover
#

sorry edited, map is not optimal since it returns an array, forEach just loops through the list

grim vale
#

I was told Map would be nice due to it storing it all in memory & only running the array once

#

since, I'm doing it for eveyr tree & language in the Forest app

#

which is 73~ trees and 14 languages

rose plover
# grim vale was hoping someone could teach me

so basically, when you have a list, for example x=[1,2,3,4,5]

map allows you to apply a lambda function to each element of the list and returns the modified list, so
x.map((element) => element +1)
would return [2,3,4,5,6]

in your case you just want to loop through the tree list so a forEach would be recommended

grim vale
#

yeah my originally plan

#

was a foreach loop

#

but then someone told me about maps

#

and now we're back to foreach owoYay

rose plover
#

the map function would be useful if you have a list of strings, and you want to map each string to a tree, then map would be ok since it retunrs a new list with the belonging tree

grim vale
#

well it's 73 arrays with 14 strings per array

#

but if foreach works better

#

then I'll just use that

rose plover
#

i mean, the screenshot i attached would do it for just one string, so if you have multiple strings, a map would be ok to map each string to the belonging tree

and this map funcion on the strings would contain something like the code i sent, to find the right tree

#

added the external map, i hope it's more clear now ๐Ÿ™‚

idle dew
#

can someone recommend me a book related to "Number Theory"

fluid jewel
idle dew
#

thank you!!

thorny rock
#

Do you have any quality tutorials or best practices on how to learn git and version control systems? Because I have no idea how to learn this

grim relic
#

there's also this

thorny rock
#

thank you so much, gonna try to learn it but this thing always feels like a black magic

knotty bough
#

does anyone know swift?

elder trail
idle dew
#

generally c++

elder trail
#

Do you recommend learning it? honestly I kinda into C++ but i know if taking all the way into learning it would be worthy

#

I mean, theres no chance that im gonna see c++ in my job but i read that is pretty damn awesome in competitive programming

idle dew
#

I only like it in problem solving, like using data structures, understanding them deeply, STL, and especially algo

#

exactly

#

in next week I'll be learning JS

elder trail
idle dew
#

I wanna jump into web development field

elder trail
#

Has a really low learning curve, not as low as Python but u will get the hang of it pretty soon since u know the fundamentals

idle dew
#

so I use c++ to learn algos and data structures and Javascript to implement

elder trail
idle dew
#

I'm looking for a job actually, but I'm stuck with html, css shi*

#

I hate everything about designing stuff xD

elder trail
#

Thats the part i like tho most xD

#

we r lowkey yingyang

idle dew
#

so basically I think C++ is the easiest PL

#

you can go for it, it had a huge impact on me mentally, and logically

elder trail
#

In fact i was following codebeauty's 10 hr C++ course

idle dew
#

you only need the ultimate-basics to start competitive programming, then along with solving problem you will face new things that would force you to learn

#

so you do not need a 10h course, you more likely to get bored

#

start with something simple like cin cout and loops, then start solving easy problem on codeforces

idle dew
#

if you solved one problem then you should be ready to go, once you face something new you can ask me or start searching for a specific thing

elder trail
#

Fun fact: if u know formatting in Python, u basically know how to concatenate and read input in C

idle dew
#

exactly

elder trail
idle dew
#

Good Luck Bro

vital thicket
remote meadow
idle dew
rigid hull
#

java is stupid lmao

#

rly annoying stuff

vital thicket
#

How much have you used it

rigid hull
#

not alot rly but from what ive done so far it is not fun XD

idle dew
#

I completely learnt the OOP concepts using java back to first year in college, used it in make a hotel-reservation system

vital thicket
#

Itโ€™s good for learning OOP concepts. My college teaches the intro classes in Java

idle dew
#

learnt
Procedural Programming
Functional Programming
using C++ and C
Object-oriented Programming
using Java
Scripting Programming
using python

twin fox
astral trout
#

anyone here good with LaTeX?

hallow mist
#

I wouldn't say good but half decent, why?

astral trout
#

I'm writing my thesis and it's my first time using latex and I'm struggling with a small formating issue

hallow mist
#

Google is your best friend when it comes to latex, if you have any specific questions or screenshots you can drop in that would make it a lot easier for people here to help.

#

whats your thesis on

shy raft
#

Hello I am looking for friends who are involved in Web Design. I know high level html and css and I am doing a few projects, feel free to write.

warped basin
#

Hi, Im struggling in my Web Tech class due to this How to Website assignment on dreamweaver , anyone willing to help me?

bitter tiger
idle dew
idle dew
grim relic
#

c is the easiest programming language imo

#

then python

#

then java and then c++

hallow mist
#

github banned in syria? ๐Ÿ˜ฎ

light laurel
#

someone expert in tensor / matrix / c++ that could help me?

astral trout
#

@hallow mist @bitter tiger Thanks for the offer! I'm trying to get the even spaces after the colons but i don't know how. I've tried different things but it's not working as I was hoping ๐Ÿ˜ฆ

#

It should look something like this

#

the text is part of a minipage and the closest i've gotten is using \hspace

hallow mist
#

hspace, or alternatives like \ ; or \ : was gonna be what I recommended at first glance, I haven't had the need to do spacing like this so idk. Does hspace not work or is it just tedious?

astral trout
#

it's tedious and because the words in front of the colons have different lengths i just have to guess and estimate which distance to use with \hspace

hallow mist
#

maybe try some form of this ^

astral trout
astral trout
grim relic
#

who pinged me

#

๐Ÿ˜

idle dew
#

guys, does double can be used with all numbers?

twin fox
idle dew
#

c++

twin fox
#

do you predict using huge numbers? 10^308?

dull tree
#

C is best

twin fox
dull tree
twin fox
#

yes

dull tree
#

C is really good

#

Assembly is the best

twin fox
#

how is C "really good?"

dull tree
#

Its low level

#

And flexible

twin fox
#

C++ is low-level and flexible lol

dull tree
#

And portable

dull tree
#

C is one lever higher than Assembly

twin fox
#

yes

elder trail
#

lower level doesnt always mean better

twin fox
#

it's all about the job

dull tree
#

Python for idiots

twin fox
#

how is it for idiots?

elder trail
#

yea bro, go and do some AI with c, ill be waitin

idle dew
sturdy moat
#

Nah bruh I only use assembly for network analysis

twin fox
#

if not, then use double

twin fox
trail pebble
#

and all kinds of signals and hardware stuff

swift coral
swift coral
#

I have I have I liked it it was just quite difficult in the beginning

#

Had to spend quite a lot of time on that course

fluid jewel
grim relic
#

yea

#

it depends on what things

#

you need to accomplish

#

each language has it's perks

#

i think c is pretty good if you're trying to optimize

#

but for large scale apps

#

i'd go with java

#

also im taking assembly rn

#

LEGv8

#

i think it's easier than actual programming

dull raven
#

hey any sound engineers that could help me?

fluid jewel
elder trail
#

Im taking harvard's cs50' any thoughts?

sturdy moat
#

I think if your attempting to gain practical skill nah but if you plan on continuing with computer science then yes

#

If you want practical programming applications do the self taught stuff through websites like codeacademy

frank star
#

i cant seem to understand what im doing wrong i am tasked to "assign an IP address to subnet 1 to the R3 interface connected to the Office3network." then do the same with subnet 2 and office2network. i assigned the IP address(172.16.10.1/24) to gig0/0 but when i try to assign a IP address(172.16.10.33/24) to gig0/1 i get a syntax error "172.16.10.0 overlaps with gig0/0" anyone can assist me?

austere wolf
#

@idle dew hey do you have any github links from where I can revise my OOPS concepts in Java or C#?? I don't want typical theoretical questions... if you could help I will be greatful, Thank you in advance

idle dew
#

@austere wolf Where are u from ? I got a decent Arabic OOP course, made me absorb the concepts

austere wolf
#

ooops I am from USA, I won't understand Arabic

#

@idle dew at this moment I am all jumbled up,idk what to do and what not to tbh, and i am looking for every help I can get!

idle dew
#

so u've learnt OOP ?!

#

I got an Object-Oriented Software Engineering

#

OOSE course

#

It's just GREAT

austere wolf
#

yes, I just need to revise it quicl=kly

idle dew
#

oh quicly

#

quickly*

#

actually

#

I would recommend javapoint

austere wolf
#

whoaa thank you so much!!

idle dew
#

would be the best choice

austere wolf
#

Yeah I am referring to JavaTpoint as well but I am not sure would it be enough...

idle dew
#

Brief and useful

#

if u had studied it well

#

I think it enough

idle dew
#

and then start with a software engineering textbook, if u wanna go in depth

austere wolf
#

Ohkkies! Thank you!

#

ok one last thing @idle dew do you have any resources for design principles? It's something from undergrad and I have totally forgotten about it

#

I see the videos do have content about these topics as well

idle dew
#

I really recommended the playlist I gave

#

yes exactly

#

cuz everything is connected and related

#

start with OOP

austere wolf
#

yep!!

idle dew
#

and try to practice the concepts u learn

austere wolf
#

๐Ÿ‘

idle dew
#

good luck ๐Ÿ˜„

cyan coral
#

how do you start projects with this?

#

Im comfortable with OOP using java

idle dew
#

first u need to find a problem

#

then analysis this problem, or it might be a situation not a problem

#

analyze it

#

try to contribute with a software engineer and watch him how he works, much better than doing it alone

#

if u can find internship that teaches software engineering principles

#

I recommend this book

#

Design Patterns: Elements of Reusable Object-Oriented Software

elder trail
#

ill be seeing CS50 week 1 lecture in room 3

elder trail
cyan coral
#

just want some good projects in my resume

elder trail
idle dew
cyan coral
elder trail
idle dew
cyan coral
#

I have the whole summer to work on personal projects

cyan coral
idle dew
#

try to contribute with #100_days_of_code

#

they have some decent peojects ideas

cyan coral
#

alright. Thanks

idle dew
#

wlc

#

question: in a reuglar company, do u get the designs from the ui/ux designer and then u implement it as a frontend developer?

vital thicket
#

So yeah, that would be part of their job normally, but everything is explained in detail in that chart.

idle dew
#

thank youu!!

vital thicket
#

No problem.

idle dew
#

Q: im interested on signing up for computer science elective in my school and i want to prepare myself. Where do i start?

#

ping me

vital thicket
idle dew
#

I want to be real prepared, ive got plenty of time too.

vital thicket
idle dew
#

Yep

vital thicket
#

Best place to start then is the free course from Harvard through edX. CS50. It's entirely free, and you submit assignments and they are graded automatically.

idle dew
#

Alright, ill go take a look and see

#

Thanks

elder trail
vital thicket
elder trail
#

i mean i know how to code but iw unfamiliar with the "core"

vital thicket
#

You watch the lectures, do the problem sets and labs, and the project and you will be well on your way. It will take time, and it will be difficult but if you can get through it then great.

vital thicket
#

No problem.

blissful musk
#

I work as a frontend engineer and saw this q so I figured I'd chime in - Basically the workflow goes like - At the beginning of a sprint (basically your team is given a set of tasks and a deadline of like 2 weeks to a month). A lot of frontend engineering tasks have literally nothing to do with the UI, for example refreshing validation tokens when a user logs in from a new country. On the other hand, there's a lot of UI - related tasks (i.e make a signup form). In this case, in the description of your tasks you're usually provided a link to the designs drawn up by the UI team (we use software called figma). There we can interact with how stuff works (i.e on hover, on click, etc.) and we can leave notes with questions, or a lot of the time we can ask them in slack. Like (hey I noticed the corners on this button weren't rounded like the others, was that on purpose?)

Once I'm done developing the feature it has to first pass a high enough % of tests, and then it has to be approved by my manager, a peer, the designer, and the UX lead. Other than when my final work is being reviewed, I have 0 interaction with the UX team. They work more with marketing and business/product development and even the data team to figure out optimal user flows and whatnot. IDEK they're usually stiffs I try to avoid them.

Anyways go be an engineer its mucho dinero and much fun

sturdy moat
#

^ I do door to door sales now which is a completely different field because I make more and its more fun to me. However I'm miles ahead of everyone else because of my engineering experience. Developing critical thinking skills extends to everything, and having an understanding of technology is literally beneficial everywhere. Even if you don't become an engineer the skill-set you develop is invaluable. Also @elder trail if you want internships/jobs in tech without college bootcamps are incredible and even offer money back guarantees. They also have partnerships with a ton of companies so you can literally get a job before you even graduate. IMO it's far more beneficial, cost-effective, and time-efficient than taking college classes unless your actually gonna go through a whole comp sci bachelor's.

unborn ferry
#

Any tips for improving Solid Works skills?

odd kite
#

SOLID?

#

In object-oriented computer programming, SOLID is a mnemonic acronym for five design principles intended to make software designs more understandable, flexible, and maintainable. The principles are a subset of many principles promoted by American software engineer and instructor Robert C. Martin, first introduced in his 2000 paper Design Princip...

unborn ferry
regal plank
#

Is anyone online?

#

I need help with Reed Solomon Codes

mystic crater
#

i mean what's there to test it either renders correctly or it doesn't

idle dew
topaz trail
#

does anyone have experience with immersive labs?

#

i'm looking to start my pen-testing career. i'm studying robotics but doing immersive labs to try and get there.

versed condor
#

hello, is here anyone that knows machine learning in python? i just need an opinion

hallow mist
#

@versed condor I know a little, whats the question

versed condor
tawny crest
versed condor
#

I want to make an agent that plays chess

hallow mist
#

Im still starting out with deep learning and most of my work has been in pytorch so I can't help you, sorry

tawny crest
#

tensorflow vs gym for the agent I dont think would make too much difference but im assuming youre making it all from scratch?

versed condor
tawny crest
#

@versed condor I think Open AI-Gym would be better for your purpose as the framework since its more designed towards RL and training agents. Tensorflow could be used to optimize your agent and help it solve OpenAI Games. You would use OpenAI GYM as the environment and can use keras, theano or tensorflow to solve the computational algorithm and provide to the GYM env the algo.

#

I hope that makes sense...its like the crack of morning so I may..be making more sense in my head lol

#

There should be a gym-chess env already https://pypi.org/project/gym-chess/ you can take a look and build your skeleton around that..if that helps. Idk your DS experience so..im trying to not obfuscate my words

#

also if youre writing in python..I would look into cython to speed up your code.

versed condor
#

thank you very much, I m fairly new to machine learning and I was a little confused by the libraries lol ๐Ÿ˜…

tawny crest
versed condor
idle dew
tawny crest
#

I cant paste here since it would be adv but ill DM you

idle dew
#

I would appreciate it

marsh jolt
#

Any programmers? Im taking java this semester and I'm having trouble fully understanding why Constuctors are useful. I'm very bad at grasping info through reading, so a summary and an example (of the full potential) is best for me to understand
edit:
what I understand so far: Its like making a variable with sub-variables for convenient access.

versed condor
novel harness
#

Hi! Does somebody know which notebooks are good for school at the moment?

wild patrol
#

Hello! Does somebody know Haskell? I really need help rn

worldly zenith
#

Hi all! Does anybody here is into hacking? I'm starting my journey with CTF and would like to know if there are websites similar to ctf learn (like with the same convention of solving challenges without virtual machines)

mystic crater
# marsh jolt Any programmers? Im taking java this semester and I'm having trouble fully under...

A way to understand it is imagine a class as a mold
An instance/object of that class is what you get when you pour something into that mold.

Each instance has it's own variables and methods where the initial values are taken from the mold but can be changed later on using getters and setters for example

Now what a constructor does is it pours into the mold so you can have specific initial values for your instances.
A default constructor does the same but you can't specify those initial values

Here is a concrete example:

public class Person {
    
    //instance variables
    private int age;
    private string name;

    //constructors

    Person() {}    //default constructor does not NEED to be explicitly coded in
    
    Person(int ageInput) {    //constructor that takes age only
        age = ageInput;    
    }

    Person(string nameInput) {    //constructor that takes name only
        name = nameInput;    
    }

    Person(int ageInput, string nameInput) {    //constructor that takes both age and name
        age = ageInput;
        name = nameInput;    
    }

}

Here we have multiple constructor each has a specific case use depending on whether we would like to have default or initial values for age and name

Hope this clarifies the whole thing

marsh jolt
mystic crater
stable hinge
#

A constructor is mainly useful when variables are private such as age and name, otherwise there is no way to set those variables

#

Whereas if age or name were public, they could be set without the use of a constructor

graceful tundra
#

does anyone know how to use debugger in vs code?

mystic crater
mystic crater
stable hinge
graceful tundra
#

when i run it, its not showing anything, variables and other stuff

blissful musk
# mystic crater how and what do you use to test things like html and css i never really got that

CSS and html are heavily integrated with javascript so they are tested as complete components. Tests are split into 3 types, unit, integration, and end-to-end (e2e). Unit tests test a specific function or component. For example an addTwoNumbers(x, y) function you might test that addTwoNumbers(2, 4) returns 6, and that addTwoNumbers(0, 'x') returns "please input 2 numbers".

Integration tests are for testing if your function/component fits in the systems its used in. For example you may have a collection of button, textbox, and tooltip components, and you test if they work in the context of the forms they are used in. So you might check that the parameters being passed between the components are right, or that the state of the global variables are correct at a given point, for example how many notifications a user has.

E2E testing is kind of where you test the 'html and css' or in reality, the actual user experience. These are usually long and slow, and actually render your browser on the screen, take control of your cursor and keyboard and literally go through the motions of making actions on your site. You might have one suite for all of the user login and registration and it just whips up a browser and spends 10 minutes making users and clicking random buttons and whatnot and you can actually watch it on the screen.

While most companies use all 3, usually unit tests are written the most, integration tests next, and e2e for only super important flows. In react (the most popular frontend framework) its usually more common to write integration tests most, unit tests second most, and e2e tests least. This is because react is all based on components, and because they are commonly packaged together to make the ui elements your users are interacting with, its better to test them as a collection anyways

coarse river
#

can someone help me in regex python plz?

#

its been 3 hours i dont even know what im doing

blissful musk
# idle dew bro ur reply has to be within a frame ๐Ÿ˜, thank you so much it helped alot, I wa...

It really depends on so many factors. Where you went to school, where are you looking to move, etc. Competitive programming is a great start but if you really want to stand out I suggest you get involved with an open source project or event. A lot of the big ones have programs for CS students where you can apply to get a mentor and work on a big feature for the next release. An example of one is the Django Summer of Code. Doing something like that or even just contributing to a project like django would do wonders for your resume

blissful musk
wet onyx
#

@blissful musk really nice write up ๐Ÿ‘๐Ÿป

whole sonnet
#

damn this channel is a blessing

mystic crater
mystic crater
gleaming tangle
#

Helloo every body! Freecodecamp vs Codeacademy? ๐Ÿค–

uneven shell
gleaming tangle
#

Explore but alredy develop some good skills

blissful musk
warped raft
#

Does anyone have resources for studying data structures and algorithms

gleaming tangle
# warped raft Does anyone have resources for studying data structures and algorithms

Learn and master the most common data structures in this full course from Google engineer William Fiset. This course teaches data structures to beginners using high quality animations to represent the data structures visually.

You will learn how to code various data structures together with simple to follow step-by-step instructions. Every data...

โ–ถ Play video
mystic crater
coarse river
#

I tried to search for a solution for this specific assignment on stack overflow but they were all wrong

mystic crater
#

well give me an example of your regex and what you're trying to search for using it and we'll work through it

coarse river
#

okay thanks one sec

#

import re
regex = re.compile(
r'(?P<host>(?:\d+.){3}\d+)\s+'
r'(?:\S+)\s+'
r'(?P<user_name>\S+)\s+'
r'"(?P<request>POST.+?)"'
)
def logs():
with open("assets/logdata.txt", "r")as file:
logdata = file.read()
data = []
for item in regex.finditer(logdata):
data.append(item.groupdict())
return(data)
raise NotImplementedError()

#

the code is printing everything correctly but I still get an error message when I run it in the jupyter file to submit the assignment

mystic crater
#

whats the error?

coarse river
#

AssertionError Traceback (most recent call last)
<ipython-input-2-8eb2407cb5e6> in <module>
----> 1 assert len(logs()) == 979
2
3 one_item={'host': '146.204.224.152',
4 'user_name': 'feest6811',
5 'time': '21/Jun/2019:15:45:24 -0700',

AssertionError:

#

assert len(logs()) == 979

one_item={'host': '146.204.224.152',
'user_name': 'feest6811',
'time': '21/Jun/2019:15:45:24 -0700',
'request': 'POST /incentivize HTTP/1.1'}
assert one_item in logs(), "Sorry, this item should be in the log results, check your formating"

coarse river
mystic crater
#

did you try checking the len of what logs() returns?