What are you ! working on?
Previous:
/dpt/ - Daily Programming Thread
Other urls found in this thread:
youtube.com
vmls-book.stanford.edu
shivayl.com
becominghuman.ai
linux.die.net
dl.suckless.org
a.uguu.se
twitter.com
i'm working on a porn game because i don't know what else to do with my life to make a living
Manual memory management < Garbage collection < Smart pointers
I'm working on my Wayland compositor.
I know python,r,and c. Rusty at all though.
I've been out of programming for a while. What should I review ? I need a job again. I'd rather have job security than high pay. Willing to freelance. Web dev seems like a nightmare of things to learn, being disposable , and constant need to update knowledge.
What can I shoot for?
Trying to think of a good SaaS idea to work on instead of just browsing Jow Forums all day
webdev desu
trying to remove duplicates with an a arraylist. why is my method not printing out when i call it in the main method ? If I use a system.out. in the method itself it does what i want it to.
public static void main(String[] args) {
// TODO Auto-generated method stub
ArrayList list = new ArrayList();
list.addAll(Arrays.asList("be", "be", "is", "not", "or", "question", "that", "the", "to", "to"));
//System.out.println(list);
//System.out.println(removeDuplicates(list));
removeDuplicates(list);
}
public static void removeDuplicates (ArrayList list) {
String duplicate = list.get(0);
for(int i = 0; i< list.size(); i++)
if(!list.get(i).equals(duplicate))
{
duplicate =list.get(i);
}
else
{
list.remove(i);
i++;
}
System.out.println(list);
}
}
Text based adventure or...?
Why would a music file need decoding support?