« first day (3312 days earlier)      last day (1629 days later) » 

12:00 AM
Help me, I'm a prisoner in a Fortune cookie file! (source)
 
12:23 AM
1
A: Searches for books whose title contains the keyword and returns them ordered by titles

SaranA start would be - looping through the input dataset, searching for the keyword and using TreeSet<String> to store all your matches (in natural ordering). More info here.

 
Who develops Maven?
 
apache, I think
 
It seems to me its development is staling and bugs in plugins don't get fixed, etc.
 
plugins might not be from apache
what bugs do you encounter?
 
I mean the standard plugins like Assembly, Enforcer, and Install.
 
12:27 AM
I work with maven pretty much all the time, and havent got any issues so far
 
I have filled few in last few years and patched one in Enforcer but there has been no release since my patch.
I have filled another in Install and yet another in Assembly just on Friday.
 
but what bugs do you encounter?
 
Maven Assembly plugin dying when it encounters axis:axis-ant:1.4 as dependency just on Friday. See issues.apache.org/jira/browse/MASSEMBLY-923
Another one was that the Install plugin's install-file with genratePom=true does not actually generate POM file but uses the one in project.
 
what IDE are you using?
 
yo @Wietlol i cant unchange my name for a month lol.
 
12:35 AM
yes :D
@geisterfurz007 will have a wonderful month
 
@Wietlol IntelliJ IDEA. But these Maven issues are not tied to that. They are reproducible with pure Maven command line.
 
have you tried clearing your m2 cache?
 
@Wietlol I deleted the one axis-ant artifact.
 
hmm
 
It's my birthday today!
 
12:43 AM
happy birthday b\ro
 
@Wietlol Thanks!
 
1:08 AM
@Wietlol (Mahmoud): Raise a modflag on one of your posts asking if they can revert the name change. Otherwise I am going to have to ask you to either clearly mark your messages as distinct from the real Wietlol's messages or leave this room until you cam change your name again. Otherwise I see this as impersonation and would have to act accordingly. Thanks.
can*
 
what is "accordingly"?
I suppose we can wait out the month
 
yooo my bad
how do i raise a modflag lol
 
you cant flag your own messages LOL
 
is my profile pic still the same
i changed that
 
 
6 hours later…
7:11 AM
reads a book
 
 
5 hours later…
12:00 PM
A single car has about 30,000 parts. About 80% of a car is recyclable. (source)
 
 
1 hour later…
1:11 PM
dreams of electric sheep
 
 
5 hours later…
6:29 PM
Is there a way to accomplish this? Let's say I have 3 methods A,B and C. Method C takes in 2 parameters X and Y. I would like to pass in parameter X from method A and parameter Y from method B.
 
sure
 
6:44 PM
yo@Wietlol can u help me with my program real quickie
 
perhaps
 
how would one accomplish that @Wietlol?
 
lol im tryna formulate my question without posting my whole code but its not working out one sec lol
 
@JosephV can you give a code example of your current attempt/idea ?
 
yes where do you want me to post my code? @Wietlol
 
so i have a book[] get all() method that gets me all the names of my books but i get an error on the code
 
what is the error?
 
Exception in thread "main" java.lang.NullPointerException
at BookStorage.getAll(BookStorage.java:124)
 
OK @Wietlol I just posted the code, It is my last 3 methods. Also I haven't finished polishing up the code yet i.e. handled all edge cases. Just trying to get the piece I mentioned earlier corrected
 
perhaps "books" is null
@JosephV do you have a link
 
7:05 PM
 
@Wietlol Yes you can
@Wietlol I guess that works, yeah.
 
@JosephV in that case, you should provide a default value for the other parameter
for example
private static void storeValueForQuestionOne(int answerOne){
    resultForWholeGame(answerOne, 0);
}
however, that wont match any of the cases in the resultForWholeGame function
I suppose you should change the logic there
 
ah ok! I knew there was something but for the life of me I couldn't remember.
is there more logical way to accomplish what I am (trying) to do?
 
iDunno
I am not sure what you are trying to do
 
I am creating a 2 question game the questions are exactly the same no matter what. It is like a very shorten version of the game 20 questions. The result of my game is based on both answers before the computer makes a guess to what you are actually thinking. For instance I will ask the user if they are thinking of an animal, vegetable or mineral. Let's say they type in animal.
The next question is " is it bigger than a bread box?" they would type in 'yes' or 'no'. The computer only makes the guess after both questions have been answered.
Since the computer only makes the guess after it has received both answers I figured it was dependent of answer1 and answer2. I wanted to store both answers separately then pass them in from the different methods.
Much like my example of the A,B C method example.
 
7:21 PM
but then A and B shouldnt be able to call C
when you call A, you dont have the second answer yet, so you cant call C, which you require both answers for
so, you should keep track of which answers have been given
 
exactly that is where my logic is faulting. I am not really sure how to bridge that.
I thought I was "keeping track of which answers have been given" by creating the method storeValueOne/storeValueTwo? So I am not sure what you mean?
 
those functions should store the values in memory
 
any sql experts here?
 
@Leace Welcome to the Java Chat, the room for Java enthusiasts! I'm Oak, one of the room's bots. If you want to ask a question, just ask it and someone will respond if they feel like it. But remember that this room is not a help desk or tutoring service! If you want to just hang out, then welcome aboard! Oh, and the room's full list of rules are posted here.
 
@Wietlol do you mean utilizing an object? Sorry I am fairly new to programming.
 
user12064012
7:28 PM
Does anyone know where I can find information on how to create a NavigationDrawer in a fragment? All the info I've found has been unhelpful. Legit have looked through StackOverflow and basically everything that I could find in the last 2 days.
 
@itsj Welcome to the Java Chat, the room for Java enthusiasts! I'm Oak, one of the room's bots. If you want to ask a question, just ask it and someone will respond if they feel like it. But remember that this room is not a help desk or tutoring service! If you want to just hang out, then welcome aboard! Oh, and the room's full list of rules are posted here.
 
user12064012
I hope this is the place to ask that lol
 
@JosephV probably use fields of the class thos functions are members of
@itsj perhaps try the android room
@Leace perhaps try the sql room
rooms specifically made for certain subjects would give you a higher chance of finding someone that could help you
 
@Wietlol thank you ...thought someone might be multi expertise :)
 

« first day (3312 days earlier)      last day (1629 days later) »