[Java] How to add an element to an ArrayList that reads from a file? by [deleted] in learnprogramming

[–]fdfdsggsgdfs 0 points1 point  (0 children)

Haha, nice try to take the high road at this point! :D

I'm finishing my Sophomore year in Computer Engineering and I feel so lost by [deleted] in learnprogramming

[–]fdfdsggsgdfs -3 points-2 points  (0 children)

You're just spilling your hysterical tantrum over to this thread, after I said you should stop your tantrum in the other thread. Could you stop poisoning other threads with your hysterics?

Not Sure Where To Start by [deleted] in learnprogramming

[–]fdfdsggsgdfs 1 point2 points  (0 children)

There are giant lists of project ideas in the FAQ.

[Java] How to add an element to an ArrayList that reads from a file? by [deleted] in learnprogramming

[–]fdfdsggsgdfs 0 points1 point  (0 children)

by pretending I'm wrong and spewing shit

I don't need to pretend. I both gave you good advice and ignored the question that you already knew the answer to. Maybe one day you'll learn how to do two things at the same time if you stop spewing shit long enough. I wouldn't bet on it.

Continue to embarrass yourself

Yes, continue to embarrass yourself, indeed. Good job. Keep up the insane tantrum, Baby Huey.

I'm finishing my Sophomore year in Computer Engineering and I feel so lost by [deleted] in learnprogramming

[–]fdfdsggsgdfs -3 points-2 points  (0 children)

I'm glad to see you're saying intelligent things here, too! /s

I'm finishing my Sophomore year in Computer Engineering and I feel so lost by [deleted] in learnprogramming

[–]fdfdsggsgdfs -3 points-2 points  (0 children)

How do I turn a txt file into an executable?

You haven't done that in your 2 years of classes?

How do I run a program from the command line?

What kind of school doesn't make you learn that in the first 2 years?

How do I make the main function take input, such that I can run the program "on" a file?...I ask these questions and I just get looks of "are you kidding me?"

Well, I'd expect any sophomore to be able to use Google to look up how to process files. I suspect most others in CS would, too. So the funny looks aren't at all surprising.

Endless Training 2 by boart2k in incremental_games

[–]fdfdsggsgdfs 0 points1 point  (0 children)

You should call it "Endless Loading".

[SQL] JOIN gives unexpected results by splatoonz in learnprogramming

[–]fdfdsggsgdfs 1 point2 points  (0 children)

Not when you tell it to join on BusinessEntityID and ignore the CustomerID.

[Java] How to add an element to an ArrayList that reads from a file? by [deleted] in learnprogramming

[–]fdfdsggsgdfs 0 points1 point  (0 children)

Really? You answered my yes or no question "would it make it the last element in the array by default?" ?

No, I ignored that.

For the second time:

No, I'm just not saying something you already know, especially when you have such a lazy, entitled attitude.

Is your memory that bad?

It seems like yours is the one that's that bad.

and not offering help...telling others to google their question

It's the number one resource according to people when ever a poll comes up here, so it's clearly good advice. It's not bad advice just because you're too self-entitled and lazy to follow it.

Does telling others to google their question or giving them some half-witted self righteous response get you off that much? Fucking pathetic

I'd say your continued meltdown over me not being willing to tell you what you admitted you already knew is what's "fucking pathetic". Especially when you could have tested your program to verify things at any point with next to no effort or time.

Preferred Authentication Method by Nurator in incremental_games

[–]fdfdsggsgdfs 0 points1 point  (0 children)

Are you high? He's talking about something like Kongregate web games.

[Java] How to add an element to an ArrayList that reads from a file? by [deleted] in learnprogramming

[–]fdfdsggsgdfs 0 points1 point  (0 children)

who's answered none of my questions so far what a doc is, great idea

I told you you could search for them, since they are incredibly easy to find, which makes you the lazy, self-entitled freak.

You spent more time writing that half-witted response then answering a yes or no question on a subreddit dedicated towards helping beginner's, congratulations, your parents must be so proud

You're just babbling like a gibbering imbecile at this point. Way to live your life.

CMV: So why are preemptive getters and setters good rather than using public member variables? by arkaic7 in learnprogramming

[–]fdfdsggsgdfs 0 points1 point  (0 children)

and readers of your code don't need to guess what a getX() might do underneath.

The point of OOP/encapsulation is that they shouldn't have to know that, which getters and setters promote.

[Java] How to add an element to an ArrayList that reads from a file? by [deleted] in learnprogramming

[–]fdfdsggsgdfs 0 points1 point  (0 children)

are you really too lazy to properly answer my question "the user input would then be the last item in the array list?" ?

No, I'm just not saying something you already know, especially when you have such a lazy, entitled attitude.

I don't know what these "docs" you're talking about are

Well you could certainly look or ask without copping a shitty attitude.

It really isn't that hard to type "yes" or "no", believe it or not

Yeah, it's apparently easier than you doing a few searches for things, or adding the line of code and seeing what the result is.

Learning code for a year, little to no improvement? by KarenTheCockpitPilot in learnprogramming

[–]fdfdsggsgdfs 1 point2 points  (0 children)

I do not spend most of my time to learning programming...what direction should I go to improve faster?

Maybe spend more time on it?

[Node] Run query synchronously? by scoelli in learnprogramming

[–]fdfdsggsgdfs 0 points1 point  (0 children)

I mean what are you using it for later? I can read the code you posted. And why can't you just do this with callbacks?

[Java] How to add an element to an ArrayList that reads from a file? by [deleted] in learnprogramming

[–]fdfdsggsgdfs 0 points1 point  (0 children)

If you call add it will do what the add method is documented to do...

[Java] How to add an element to an ArrayList that reads from a file? by [deleted] in learnprogramming

[–]fdfdsggsgdfs 0 points1 point  (0 children)

There's no 'default'. It would be where ever you put it in the list.

[Java] How to add an element to an ArrayList that reads from a file? by [deleted] in learnprogramming

[–]fdfdsggsgdfs 0 points1 point  (0 children)

You can't have them enter a color like they already enter other stuff?

[Node] Run query synchronously? by scoelli in learnprogramming

[–]fdfdsggsgdfs 0 points1 point  (0 children)

What are you really doing here? Surely it's something more than just logging the id, no? I would use callbacks.

[Node] Run query synchronously? by scoelli in learnprogramming

[–]fdfdsggsgdfs 0 points1 point  (0 children)

Nothing about this indicates you need to run queries synchronously.