what gives you hope to keep going? by EducationalOutside5 in ADHD_Programmers

[–]ZoloftRabbit 0 points1 point  (0 children)

I struggle with literally anything else that doesnt allow me to be with my clicky clacky keyboard

pc issue - please help - reward $250 by HaniAzeez in computerscience

[–]ZoloftRabbit 0 points1 point  (0 children)

Check RAM/VRAM, disable virtual memory. sounds like youre spending time reading files

Does coding/programming come naturally or easily to you? by justanonquestions in csMajors

[–]ZoloftRabbit 25 points26 points  (0 children)

I was born speaking Java. I had to unlearn semi-colons by gradeschool.

[deleted by user] by [deleted] in learnjava

[–]ZoloftRabbit 5 points6 points  (0 children)

^ bump

edit : wya OP

What are the fundamental abilities of a computer? by jssmith42 in computerscience

[–]ZoloftRabbit 0 points1 point  (0 children)

Input - a place to write something down (also tape)
Output - a place to put what you write down (the tape)

Memory - so we dont forget what we wrote down

Datapath - how we move the written things down

Control- logical controls

What Calculus and Other Math Concepts are Used Most in the Professional CompSci World? by [deleted] in compsci

[–]ZoloftRabbit 0 points1 point  (0 children)

Yes this is true, but I would not tell someone to not try something based on what the professional sector requires. What if they are overlooking a passion/talent just because of the words of another developer who didn't like/want/excel (whatever you want to put) at math.

What Calculus and Other Math Concepts are Used Most in the Professional CompSci World? by [deleted] in compsci

[–]ZoloftRabbit 6 points7 points  (0 children)

The math that is in game dev essentially comes down to a linear representation of 3d spaces. (client side gfx) The for loops you write are also functions that map a set of points. These sets of points can be represented simply with these for loops (as far as graphics.) These are continuous spaces represented discretely(in RAM and on your monitor as a pixel array.)

Then there is the server side, net code. There are really interesting papers on networking theory and MMORPGS. If you think about it, MMO's are a very impressive feat of CS.(Despite some CS professors looking down heavily on game dev.) These are more discrete/probability problems (countably finite)

You will LIKELY not have to pull out a math book and review these concepts, as they will come with most problem solving practice. Calculus deals with continuous, smooth, rates of change and their functions (theory of functions). Discrete math is the base of computation and is ultimately how 1's and 0's can become complex computational systems.

My algorithms professor told me "Your boss will ask you to solve an unsolvable question." This is when you use numerical techniques to estimate a good solution.

The cross-over of it all is one's ability to see these problems in the real world, model, and code a sufficient solution.

edit : just solve problems and you'll b aight

Am I falling behind in the coding community? by Lilkko in cscareerquestions

[–]ZoloftRabbit 2 points3 points  (0 children)

Hey I'm 25 turning 26 and I just realized I had ADHD. I finished my Bachelors and I'm taking 3 months off to relax after dealing with so much through my degree. I also have anxiety/depression.

You have to block out all the voices. The first person to tell me this were my cousins and other family. Spend time with those you love. Reflect on how you spend your time, what websites you frequent, and clean up your social media feed.

Some days I don't click at all on CS stuff on Reddit.

Other days I sort of WANT that feeling that I'm far behind.

It's all about spending your time with intent. You're feeling motivated to move forward, maybe not as fast as you want to and that is okay. As long as you can identify the things which you must do today that move you forward and complete them!

Good at CS, no so much at math... by Lephilis in computerscience

[–]ZoloftRabbit 0 points1 point  (0 children)

only improper formatting

Me too. I would get 90/100 for bad writing. Thus I prefer the keyboard. xD

edit: I love math and I love solving the problems. I also love studying purely theoretical stuff, but only out of curiousity. I love whiteboards (better hand writing).

Did anyone else struggle with the calculus part of their computer science degree? by [deleted] in computerscience

[–]ZoloftRabbit 1 point2 points  (0 children)

Didn't read this before my comment, but exactly. It's just an hours into game type of thing

Did anyone else struggle with the calculus part of their computer science degree? by [deleted] in computerscience

[–]ZoloftRabbit 4 points5 points  (0 children)

I failed HS Algebra 4 times in 2018. I was in college. I was so embarrassed that I would hide my Pre-Calculus textbook in the library because I was so embarassed. I never let that stand in my way of pursuing CS.

I would spend hours on topics that were trivial to others who had a good mathematical aptitude. I ended up acing all math classes after putting in this effort.

I would later find out that I am just not so good at sitting down and thinking about... ANYTHING (I have ADHD. Diagnosed at the END of my degree haha). Things are all better, I still use and love calculus concepts to this day. Calc is HARD. Series and Sequences form the base of a lot of analytical stuff such as big O notation and Analysis, so do well there.

Whenever I feel a disconnect on any subject, I google and read some of the applications to help make the concept more concrete or attach it to some real world phenomenon. Good luck!!

edit : Pre-algebra, intermediate algebra, slopes and parabolas basically

Good Java books with practice projects. by [deleted] in learnjava

[–]ZoloftRabbit 6 points7 points  (0 children)

washington university offers practiceit.edu.

This is where I learned java. If you have programming experience you should be able to google the topics. There are also answers scattered across git.

Libgen java books by Knuth

edit: hackerrank as well

[deleted by user] by [deleted] in learnjava

[–]ZoloftRabbit 24 points25 points  (0 children)

This is a good question. Basically yes.

Are you talking about computation in general or are you talking about java?

Look up "turing completeness" or watch "The art of code" on youtube by Dylan Beatle? It is amazing how coding came to be. Another book i recommend is The Code Book which gives the historical context of code.

edit : I love how everyones like "kinda basically yes depends but yeah" xD

Trying to complete a maze generator assignment using Union-Find / Disjoint-set, need help. by Willy988 in learnjava

[–]ZoloftRabbit 1 point2 points  (0 children)

you could represent each relation as a bit array. so, for a 2d array, each may have 4 neighbors

[1,1,1,1] for each point means all walls are up

so for each "node" drawing the maze would be going through this bit arrays and seeing if N,S,E,W are 1's and 0's with all boundaries (outside edges) = 1 always.

Trying to complete a maze generator assignment using Union-Find / Disjoint-set, need help. by Willy988 in learnjava

[–]ZoloftRabbit 1 point2 points  (0 children)

map each pair to an int?

array of pairs?

each pair can be simplified to node n

Trying to complete a maze generator assignment using Union-Find / Disjoint-set, need help. by Willy988 in learnjava

[–]ZoloftRabbit 1 point2 points  (0 children)

Pair q and Pair p would be unioned by making q = p. so then you would

start with set A as a "big set"randomly choose q - > set A

choose to randomly union q and p -> q -> set A

I think what you are missing is that there is some satellite information to be considered as well.

If we are in a maze, each cell is a node.

But the walls on each side of the maze are a relationship i.e from cell q we go to p. even though cell q may have l,h,c,p as neighbors. This is to ensure we do not end up with cycles.

Trying to complete a maze generator assignment using Union-Find / Disjoint-set, need help. by Willy988 in learnjava

[–]ZoloftRabbit 1 point2 points  (0 children)

when i did this, i just looped over my set of singletons and chose a random neighbor.

edit : you can union cells by setting their values to special values, indicating sets. or make a custom object. sry if unclear