« first day (2588 days earlier)      last day (2356 days later) » 

12:38 AM
wheezes
 
12:52 AM
morn
 
1:09 AM
wassup
 
not much. Just chilling at work
y'self?
 
I'm organizing words based on their parts of speech (nouns, verbs, adjectives, etc.)
 
sounds like an strange hobby, but if you feel like doing it, go ahead
 
It turns out it's relatively easy with the Wolfram Language
Although it only has 37393 English words and I have a list of 370099 English words that I found on GitHub
 
1:24 AM
I didn't know there were so many words in English
probably most are either old English words, or words that are scarcely used
 
Yeah, like "aasvogel"
And I'm pretty sure "unum" is Latin
 
 
3 hours later…
4:50 AM
wheezes
 
5:00 AM
"If you like what you do, and you’re lucky enough to be good at it, do it for that reason." -Phil Grimshaw (source)
 
Zoe
5:44 AM
Morning o/
 
yo
 
6:07 AM
Morning
 
6:36 AM
@kunal Welcome to the Java Chat, the room for Java enthusiasts! Please use a code snippet tool when posting code snippets. If you have an Android question, you're in the wrong place! And remember: this is not tech support! Thanks for visiting and have fun! :D
 
ok,I will take care of instructions.Thanks
 
1 message moved to Trash can
 
I want to use Free map in my application can any one suggest me which is the best to use.
 
@kunal please do
 
Zoe
Morning @Tavo, @eFox
 
6:49 AM
@Zoe waves hand
 
Zoe
What's up?
 
Trying to empty my recycle bin in windows 10. I'm unimpressed 20min later
 
Zoe
How much is in there?
 
8GB
It took it 20 min to even figure that out
 
Zoe
That's a lot
 
6:53 AM
Now it's actuallu deleting files. 18%
No, it's not a lot
It's insane
 
Zoe
How fast is your disk?
(or slow for that matter :P)
 
Lenovo slow
I don't know the details of it; it's a work computer
Supplied to me by the client
btw, deletion is at 94% now :O
 
Zoe
I think I can delete 8 gigs in 10 minutes or so, depends on what it is (some files take longer than others, deleting android projects for an instance take ages because of all the tiny files. As fast as it is at deletion, the threads are limiting)
 
On my win 7 computer it deletes 10gb in seconds
Especially if I do the "empty recycle bin" command
 
Zoe
yeah, that takes shorter time for some reason
 
7:07 AM
Not on this baby
 
Zoe
work computers are an exception
that's why I use my own computer at school :D I'm not gonna buy a new computer for 3k NOK with an i3 core and 250 GB storage when I have one for 10k that I can use without it lagging like hell
 
For 10K you get a gaming computer
It's about what we spend on the new computers every 2 years at home
Well, we get a new computer for the gamer and upgrade the old gaming computer and I take it. I only need them RAMs
Oww, I broke a nail 3mm into the pink area :'(
 
Zoe
This is a gaming computer :>
@eFox ouch
 
@eFox ew ._.
 
7:23 AM
@geisterfurz007 you misspelled ow
 
Zoe
ew (:P @geisterfurz007)
 
And yes, it hurts
 
Everybody bullying me because I am tired :C
 
mobbing XD
Yes, the two of us are such a mob. The scandinavian maffia
 
._________________________________.
 
7:25 AM
I'm gonna make you a HTTPS request you can't refuse
4
 
Zoe
lmao
The programming mafia at its finest :P
@eFox nothing like a bit of language mixing :D
 
I won't say anything anymore now :c
 
Zoe
Why?
@geisterfurz007 why?
cough
 
7:48 AM
@Michael ... Are you sure that OakBot is only a chatbot and doesn't do... illegal stuff from time to time? ibsintelligence.com/…
 
Zoe
lol
You spoke :D
 
8:20 AM
ewe programmers are sheepish
 
Zoe
naw
 
@Zoe do you know what "ewe" means?
Hint: it's an ovine term
 
Zoe
I regret googling it
 
@Pseudohuman define ewe
 
@JennaSloan noun | female sheep
 
user8622974
9:01 AM
bugs @geisterfurz007
 
wheezes
 
9:20 AM
hello
I have a date in string format as 'dd-M-y'
I want to find the difference in days between that date and todays date
parsing this date via sdf causes error
unparsable date
*java.text.ParseException: Unparseable date: "24-Feb-16"
 
Zoe
You have the wrong format
you need dd-MMM-yy
 
I have this dd-M-y in database, cannot change it
 
@DoggyBot really?
 
Zoe
@SajalGupta Well, that's the format you're trying to parse. 24-Feb-16 is dd-MMM-yy
 
user8622974
@geisterfurz007 Perhaps
 
user8622974
9:24 AM
Perhaps not :D
 
user8622974
Perhaps I should get back to creating commands for the bot
 
@Zoe I checked the input place, its dd-M-y
 
Zoe
You read the error, right?
*java.text.ParseException: Unparseable date: "24-Feb-16"
 
The correct format for it is dd-MMM-yy though :)
 
$(function() {
$( "#date" ).datepicker({dateFormat: 'dd-M-y'});
});
 
Zoe
9:25 AM
You're using the wrong date for the format
That
Is not Java
That's jquery, meaning Javascript
 
yes. its on jsp to input date in database
 
Zoe
well, the database contains something in the wrong format
 
i checked the database
it has dates in multiple formats
some are d m y
some are dd mm yy
some are mm dd yyyy
I have to find the difference between them and today in days
 
Zoe
You can't parse it with one format then
you need to use different formats for each type
load them into a date
 
Ill do it for 1 format d-m-y
Mon Apr 16 00:00:00 IST 2012----Thu Nov 23 15:02:11 IST 2017----176914931168
 
Zoe
9:35 AM
get the long of the date (the time in millis since the epoch)
 
this is what i got
 
Zoe
Wait
That is not d-m-y
 
date1----date2----difference
I converted them
 
Zoe
To what?
 
16-Apr-12 this is in database
 
Zoe
9:36 AM
you see the mistake, right?
 
@SajalGupta Format please or use a paste site for that.
 
Zoe
You use: dd-M-y but the date is dd-MMM-yy
 
I checked input place, that JQuery
 
Zoe
ffs, you are trying to parse a date using a different format
Use the right format
 
I used dd-MMM-y
 
9:38 AM
1 message moved to friendly bin
 
date got converted.
 
Zoe
you're missing a y
 
DateFormat df = new SimpleDateFormat("dd-MMM-y"); THIS WORKED
this is my sysout Mon Apr 16 00:00:00 IST 2012----Thu Nov 23 15:02:11 IST 2017----176914931168
date1----date2----difference
result in difference should be around 2000
 
Zoe
/drink
 
chugs down a pint of beer
 
9:44 AM
ok, how do i find the difference between Mon Apr 16 00:00:00 IST 2012 and Thu Nov 23 15:02:11 IST 2017
 
what Java version?
 
Do you use JodaTime somewhere in your project already?
 
Zoe
it isn't that hard getting the time in MS since the epoch and compare those
you don't need a library for that
htat @geisterfurz007
 
using int diff = d2.getDate()-date.getDate(); I get Wed Feb 24 00:00:00 IST 2016....Thu Nov 23 15:17:11 IST 2017....-1
I want in no of dats
days*
 
Zoe
9:48 AM
Use a different format
 
ok, I have date as 24-feb-16. How do I find the difference in DAYS from that date and todays date.
 
Zoe
87
Q: Calculating days between two dates with Java

user3025448I want a Java program that calculates days between two dates. Type the first date (German notation; with whitespaces: "dd mm yyyy") Type the second date. The program should calculates the number of days between the two dates. How can I include leap years and summertime? My code: import java...

 
long diff = date2.getTime() - date1.getTime();
int days = TimeUnit.MILLISECONDS.toDays(diff);
unsure if toDays even exists though
Yup it does ^^
 
TimeUnit cannot be resolved
 
Zoe
Alt+Enter -> import
 
9:52 AM
import it?
java.util.concurrent.TimeUnit
 
Type mismatch: cannot convert from long to int
 
Then use long
 
Zoe
change days to a long
 
got it
finally
 
ffs use common sense. It didn't sound like you program for 2 days man :D
 
9:54 AM
thank you so much
yeah i changed int to long
didnt read the message, just posted it here :P
 
Zoe
@geisterfurz007 since 2 days
The grammar hurts >.> :P
 
Shut up smarty >.>
 
haha
 
Zoe
lol geis
 
user8622974
10:27 AM
Hello hard-coded message sending through a websocket
 
Zoe
And it works
Why did it send here though?
It was aimed at sandbox
 
 
3 hours later…
1:13 PM
sneezes
 
schhhh
 
1:29 PM
/react hi
 
Lt Dan !
 
 
2 hours later…
3:07 PM
Happy Thanksgiving, Jaba!
 
 
1 hour later…
Zoe
4:36 PM
/reply thanksgiving
 
@Zoe Unknown human emotion. Please visit replygif.net/t for a list of emotions.
 
Zoe
@Michael hands you a piece of paper You've been served. My good friend Jabba hates to see his name abused like that. :P
 
4:59 PM
@Zoe Jaba != Jabba
 
Body language seems to have three major uses: 1) as a conscious replacement for speech, 2) to reinforce speech, and 3) as a mirror or betrayer of mood. (source)
 
Zoe
@JennaSloan Don't blame me, I'm just the messenger
blame Jabba instead :P
 
5:12 PM
does anybody have a hello world example of setting up a dao (jpa/hibernate), injecting it into a service and injecting a service into a controller? I cant get mine to work
 
hi
 
@Sergey Welcome to the Java Chat, the room for Java enthusiasts! Please use a code snippet tool when posting code snippets. If you have an Android question, you're in the wrong place! And remember: this is not tech support! Thanks for visiting and have fun! :D
 
ok
 
5:25 PM
wheezes
 
5:35 PM
Slaps @Zoe with a fish
Slaps @ColdFire with a fish
 
Zoe
6:01 PM
WHy is there so much fish-slapping?
 
Slaps Jenna with a fish
Slaps @Jenna with a fish
 
lol
 
6:15 PM
yoyo anyone done anything in firebasel lol?
 
Zoe
6:55 PM
Lost internet >.> Why did there have to be a storm?
 
7:48 PM
Hello world, happy thanksgiving!
 
Zoe
What's thanksgiving again?
 
hummm
 
Zoe
Haven't read up on american history in ages
 
Supposedly a day to give thanks. In history, to give thanks to the native americans for the way they were received here in America.
with food and things
;o
 
@Zoe Thanksgiving is a celebration marking the anniversary of the when the Pilgrims held the first harvest festival in 1621
 
Zoe
7:58 PM
Thanks to both of you ^^ Forgot about it since it isn't a thing here
 
Basically, some Europeans went to America and they and some native Americans had a big feast and that's Thanksgiving.
Then Europeans gradually take over the continent and force all the native Americans onto tiny reservations
 
;'[
 
8:18 PM
I made a pie
I made an apple pie from scratch!
 
8:36 PM
hehe
 
 
1 hour later…
9:37 PM
sniffles
 

« first day (2588 days earlier)      last day (2356 days later) »