« first day (1371 days earlier)      last day (3561 days later) » 

2:46 AM
I just released my project's on Maven Central. There is a God.
 
 
2 hours later…
4:50 AM
@aliteralmind Congratulations !
 
 
2 hours later…
6:30 AM
Hello Java!
 
7:10 AM
Mrng !
 
 
1 hour later…
8:37 AM
@aliteralmind How can I set up and use Codelet?
 
 
5 hours later…
1:58 PM
@Unihedron Hey thanks :D
 
I just had some time so I messed with trying to configure the dependency, but I'll try another time.
 
You going to use it via Maven or by downloading the jars manually?
 
hopefully maven
If maven doesn't cooperate I'll get jars
 
I can't be sure the dependencies are right, because no one's ever used it yet ;)
I'm going to try and implement it into ez-vcard starting today.
 
Cool beans!
 
2:01 PM
I also need to upload the latest version to the website, although that shouldn't be too far off. Maven is up-to-date.
Driving my boys to daycare...very late start to the day...be back soon.
 
ok, have a good day!
 
2:16 PM
hi to all
 
@Sethu Oh hi there!
 
am new in android
can u temme the diff b/w
 
with... what?
 
dp and dip in xml
and more thing have u used in array list ?
how to check if the item is present in list or not? i tired contains method bt it will not work
 
What do you mean, it won't work?
 
2:21 PM
actually its used only compare object right
yupe
it didnt work
 
For any ArrayList<T>.contains(Object), T.equals(Object) is invoked, so your object would need to equals any Object in the list for .contains() to return true, not sure what you mean by "it didnt work".
 
your example is right
 
look:
 
in ma case i have model class it contains two property ok. i created on arraylist type return in this model
like List<Category> listcat=new ArrayList<Category>();
in that category class contains two property.
 
class Pair {
  int a, b;
  Pair(int xa, int xb) { a=xa; b=xb; }
  @Override // This is key!
  public boolean equals(Object o) {
    if (o == null || !(o instanceof Pair)) return false;
    return ((Pair) o).a == a && ((Pair) o).b == b;
  };
}
{
  ArrayList<Pair> list=new ArrayList<>();
  list.add(new Pair(1, 2));
  list.contains(new Pair(1, 2)); // Should probably be true.
}
 
2:26 PM
i want to check two array list like compare two arraylist
for example consider this two array list okie... list1={'a','b','c','d'} and list2={'c','d'}
i want to check if the element is present in both array list means i want to store new list
how can i do this one
can u suggest me
 
I would recommend using a method to loop through the elements
boolean hasThisCharacter(List list, char kar){
  for(final char o : list) if(o == kar) return true;
  return false;
}
Unless you use Java 8, then you can use LAMBDA EXPRESSION ;)
 
hmmm super
thanks a lot
can i know your name
 
The Unihedron
 
mmm where you from
have you use OCR???
Am a android developer
in ma project i want to implement OCR. so if u have any source code or materials pls send me
 
OCRs are fun to use, but I've never had a machine to begin with. I've seen some before, but I can't remember of any magnificent ones at the moment, sorry.
 
2:37 PM
4
A: Help with understanding a function object or functor in Java

aliteralmindFrom every-time checks, to Functors, to Java 8 Lambdas (sort of) The problem Take this example class, which adapts an Appendable into a Writer: import java.io.Closeable; import java.io.Flushable; import java.io.IOException; import java.io.Writer; import java.util.Objects; /...

For a lambda pre Java 8, use a functor.
@Sethu No experience programming OCR. Sorry.
 
its ok @unihedron
can u explain what is looper?
and hav u used web req?? which library are you used?
 
Looper can refer to: a (usually electronic) tool for looping, in music a person who uses such a tool, a "loopist" Looper (band), a Scottish indie-pop band Looper (film), a 2012 American science fiction film The Cabbage looper (Trichoplusia ni), a member of the moth family Noctuidae an inchworm a golf Caddy a person traveling the Great Loop Looper is also a surname: Aaron Looper (born 1976), former baseball relief pitcher Braden Looper (born 1974), former baseball pitcher Byron Looper (born 1964), former politician and murderer Jan de Looper (1914–1987), Dutch field hockey player who competed in...
 
hey am askin android looper???
its a class like thread
 
hmm ok
then are you get married?
how are you?
how about your family?
 
2:47 PM
I'm 16, not going to get married for a while. I am excellent and enjoying my night here. My family is well and they're watching me code.
 
okiee @unihedron am leaving bye i ll call u tomo
 
See you!
 
hmmm cool
hey are you studying school??
just 16???
 
I am a student, yes.
 
wow amazing
 
2:49 PM
@Sethu He's teaching the teachers.
 
superb keep it up
 
Thank you.
 
But the teachers can't keep up.
 
@aliteralmind :D :D
 
oh heeee
:)
then where you from?
UK or US?
 
2:50 PM
Neither. I'm from HKSAR, somewhere in Asia.
 
New Jersey, right next to Philadelphia.
 
you guys are rocking go ahead dudes. cool am leaving bye guys..:D
 
@Sethu Later!
 
Laters!
 
hmm ok superb
am from india
can you give ur google plus name
add me
 
will u accept me as a friend
 
sure
 
tomo i ll ask some other question ok
take care bye guys
 
See you!
 
@Unihedron So what happened when you tried Codelet?
 
2:55 PM
I tried random links as the <repository> url.
And, as you would had guessed, I went nowhere.
 
I don't know what you mean, random links.
Does this help?
<dependency>
    <groupId>com.github.aliteralmind</groupId>
    <artifactId>codelet</artifactId>
    <version>0.1.2</version>
</dependency>
 
It's better now, but it can't resolve the dependency.
 
Ok. Can you put the logs on pastebin? Do it once without the -e flag, and then again with?
 
Eh, wait.
Huh, it worked.
I'm not sure what it did though, but it's good now: hastebin.com/iqotuhutig.tex
 
I don't see codelet in there at all.
 
3:10 PM
It's in <dependency>.
Eh, hold on.
 
3:32 PM
............... i'll download the jars
 
Hold on. I'm refreshing the website right now.
Good to go ;)
So what happened?
 
I was getting m2e to log, but it exploded.
 
m2e?
 
Maven plugin for eclipse
 
3:37 PM
I have a question.
"xodelet_0.1.2-all.jar" of your download link has the same link for the text "x" and "odelet_0.1.2-all.jar", which one should I use?
 
"x"?
 
Damn. It should be a "c". I copied it from XBN-Java. The first letter is a relative link, so I can download the locally-installed copy. The rest is an absolute link to aliteralmind.codelet.com. Either way, it's the same thing.
Float the mouse over the links, they're the same url. Only difference is when I have it locally installed, then the first letter lets me download the local copy.
 
Oh I see. Thanks for the help, going to try it out now. :)
 
Fixed the x/c. Thanks.
 
4:19 PM
@Unihedron How's it going?
 
@aliteralmind I'm learning how to use Codelet from your docs.
 
No questions yet?
 
Nope, might be easier said than done though.
 
Let me know if I can help. I'm at your beck and call ;)
 
Okay, thanks. :) You might be the only person I could turn to for Codelet support, anyway. :p
 
4:25 PM
Might be!!
 
Potential for anything. ;P
 
4:44 PM
Potential Energy doesn't become kinetic energy unless you move.... ;)
 
And I'm going to harvest Potential Energy now by sleeping. (Pretty sure that's not what it really means, but eh.)
 
@Unihedron Good night!
 
5:00 PM
Night
I'm going to work on my paper... or maybe do some work work
 
5:11 PM
any suggestins how to make this read only every n millisec, instead of constantly? hastebin.com/wiqecuxule.coffee
 
+1
Just typing that
;)
Some people might say "Great Minds Think Alike", but I prefer "fools rarely differ."
 
@aliteralmind: that will work? duh
@aliteralmind dont know why I didnt think of that
 
I'm working on my paper. You guys are distracting me
;)
 
5:29 PM
0
Q: How to have an extra compile goal in POM, which uses a different Java version?

aliteralmindI have a library which is used via inline taglets. It's intended to be used by other libraries, for inserting example code into their JavaDoc. The library is done, and, hallelujah, as of yesterday, it's now on Maven Central. I'm now implementing this library into another project for the first t...

My projects are hallelujah now on Maven Central.
Now onto the next issue: Actually implementing Codelet into Michael's ez-vcard project...
 
6:20 PM
His project is pretty good. Much more comprehensive than the vCard parser I wrote
much bigger too
 
6:36 PM
And now it will be even better, with Codeletified Examples. ;)
 
 
2 hours later…
8:10 PM
Hi can someone help me with this stackoverflow.com/questions/24963647/…
 
 
2 hours later…
10:06 PM
0
Q: Passing Parameters to webservices

user2821894Hi am developing a webservice whose end point the parameters being version(v1) and model(xyz)which would generate a uniqueid. Below is the response when i run this service. <ServiceResponse > <Uniqueid>3243jj3ni3533</Uniqueid> <Response> My issue is I have to add anoth...

0
Q: How to have an extra compile goal in POM, which uses a different Java version?

aliteralmindI have a library which is used via inline taglets. It's intended to be used by other libraries, for inserting example code into their JavaDoc. The library is done, and, hallelujah, as of yesterday, it's now on Maven Central. I'm now implementing this library into another project for the first t...

@Michael, please take a look at this question. I'm not sure what to do. Is upgrading ez-vcard to 1.7 viable?
 

« first day (1371 days earlier)      last day (3561 days later) »