« first day (1529 days earlier)      last day (3636 days later) » 
00:00 - 17:0017:00 - 00:00

17:01
Today I discovered: PriorityQueue. Awesome!!
Shutting down. See you later.
fge
fge
Oh?
I use that in largetext
OakBot Online.
fge
fge
I make quite a tricky use of it, too
largetext, the only package ever in which I had to care about performance matters, heh
17:16
OakBot Online.
fge
fge
yawn
Go to sleep!
Says mr "I barely sleep 5 hours on a good night"
;P
fge
fge
17:34
@Unihedro I have some tricky stuff to do if you're ready :p
@fge Ok :P
alt-f-r-down-enter
This thing is the best
up, up, down, down, left, right, A, B.
It's B then A
Nothing happened :(
fge
fge
1. tech @Gemtastic how to use git :p 2. transform the *Consumer tests so that they act the same as I already did for Consumer and BiConsumer
17:46
Point 1 is really tricky
fge
fge
There are still {Long,Int,Double}Consumer and Obj*Consumer to do
Why is it tricky?
fge
fge
We need to split tasks
You take the first
That kinda makes it sound like I'm some dumb potato that can't learn git :(
Y U TREAT ME LIKE POTATO?
;P
17:48
lol kidding :D
fge
fge
@Unihedro the primitive consumers you mean?
(branch topic/testrefactor btw)
How do you pull --rebase with IntelliJ?
fge
fge
Uh, not a clue, I always manipulate git at the command line :p
ok :)
fge
fge
Intellij's git integration is OK but no git add -p/-i yet
17:56
> fatal: Couldn't find remote ref fge/topic/testrefactor
fge
fge
And even if it were able to do that I prefer the "command line way"
git fetch --all
When the consumers are done, it means ALL base tests can be final in the abstract class, and the only tests left are the interface-specific tests
That will clean a lot of lines of code!
fge
fge
OK, I'm done
You? :p
18:13
I'm trying to notice the difference
I have no idea what the AtomicInteger is there for
Does this mean we're gonna teach me how to use git?
fge
fge
Meh, some people really have time to waste
@Unihedro look at the get*Instance()s methods and you'll see
Note also that in the tests, the verify()s have been replaced with assertions
The AtomicInteger is here so that when a consumer is invoked, what it does when called is set a value
This is done by stubbing using Mockito's doAnswer()
@fge In finlad, they have lots of time and room for activities ;P
fge
fge
For instance, in getBaseInstance() you have doAnswer(invocation -> { sentinel.set(ret2); return null; }).when(spy).doAccept(arg);
@fge Oh!!!!
fge
fge
18:18
(or .doAccept(arg1, arg2) for BiConsumers
I get it! You're giving a use to the consumers
fge
fge
Yes
On it!
fge
fge
And the Callables now return an Integer instead of Void
This is what allows the use of assertThat()
http://www.commitstrip.com/en/2014/12/30/what-triggers-ocd-with-coders/?utm_source=rss&utm_medium=rss&utm_campaign=what-triggers-ocd-with-coders
CommitStrip - Blog relating the daily life of web agencies developers
What triggers OCD with coders
CommitStrip
1419963263
fge
fge
18:19
@Gemtastic true enough; after all, without Finland we wouldn't have Linux :p
@fge :)
fge
fge
@Unihedro also, note that the sentinel is reset in @BeforeMethod
We want to ensure that the call to the consumers have actually been made
fge
fge
0
Q: Java : Json with dupilcate keys to map using Jakson

user1321824I have a json file with same key but different values as follows, { "domains" : { "A" : { "name" : "a", "type" : "a1" }, "B" :{ "name" : "r", "type" : "g1" }, "A" : { "name" : "b", ...

I can't believe it
18:26
I like your comment
fge
fge
18:40
waiting for @Unihedro so that he can continue his work
I'm working on it :p
fge
fge
Uh, 13 hats without even doing anything to collect them, huh
A lot of that was copy-pasting, which was really eventful
fge
fge
@Unihedro yeah, which kind of sucks :p
fge
fge
18:51
Oh, a honey badger
Uhm no
It's confession bear :D
Morning Realization Cat's my favourite
@fge It's a Malayan sun bear
18:59
Did a ThrowingObjIntConsumerTest, did a ThrowingDoubleConsumerTest, copy-pasted into the other tests and ran regexes, let's see if any of the tests will pass...
Hey, bonus merge conflict! :p
fge
fge
@Unihedro I though you only did Obj*ConsumerTests
Oh
I kind of forgot
Hmm
fge
fge
Well, git reset HEAD~1 it is :p
Yep :D
git (is) magic
Oh, I have to rebase first
Adz
Adz
19:23
hello
@fge I did it right this time: github.com/fge/throwing-lambdas/pull/8
@Adz hi
@fge I found out that IDEtalk is really just an IM for developers which runs on XMPP instead of web interfaces.
So really, it's best used for 1. developers in the same LAN managing tasks in a shared p2p manner, or 2. remote developers contributing together who hosts their own XMPP servers, or 3. bored developers who looks up public ones to join
fge
fge
@Unihedro "instead of web interfaces"?
@fge eh... web service :P
no not really, I forgot the term though
meh
Wow it's 3.30 am
Bye!
Adz
Adz
19:50
@Unihedro how many hours a day do you program?
20:07
@Adz I code whenever I can.
I have a workshop tomorrow.
go to bed then little one
fge
fge
20:55
Gee, refactoring after the fact is soo much work
@Gemtastic learned some git yet?
@fge T_T
flips a table
I don't even know where to begin, that's what I thought you'd help me with Q_Q
Let's start wit: Is this the git I'm supposed to dl? msysgit.github.io
fge
fge
Ah, you use Windows
Then yes, this one is good
Sorry @Gemtastic, I'm too much into code right now
And I have received my book which does not help matters
Oh, no need to apologize about being busy, I get that. I'm the one asking for help so I don't get to set the demands, but I don't really know where to start on my own. But now I have a software to dl so I could probably work my way from here, it just takes me a little bit longer.
The flipping of the tables were at myself
fge
fge
21:14
Learning git is certainly a lot of trial and error :p
That's just why I wanted some help
Less errors more tries
 
1 hour later…
fge
fge
22:20
@Gemtastic don't lose hope, keep trying ;) If you have specific questions, ask me
I will ^^
fge
fge
<-- doing heavy test refactoring
We already have the fun part of "what should I do" at the installation
Should I get the bash-only version, bash and command prompt, or the optional Unix tools stuff
fge
fge
Get it all, you never lose with Unix tools
That one has a warning label though: "WARNING! This will override Windows tools like "find" and "sort". Only use this option if you understand the implications."
And then the next part... Configuring the line ending conversions.
I really have no idea what I'm doing :')
fge
fge
22:34
Do override find and sort, Windows' are useless anyway
Ok :) but what about the second one?
fge
fge
Err, what is the question which is asked exactly?
Chechout windows style, commit Unix style, or Checkout as is, commit unix, or Checkout and mcommit as is
fge
fge
Hmm
3rd option
Ok. Well, now I know that any error is because of me
:P
fge
fge
22:51
Huh, why do you say that?
Aaah, I miss semantic patching
@fge Now it doesn't automatically convert things for me
I have the most control, but..
> With great power comes great responsibility.
fge
fge
@Gemtastic what things?
Line endings?
@fge the things I do using Git
I dunno what things I'll be doing
Because I don't know Git >_>
fge
fge
Well, it's a distributed version control system
How many times do I have to say that I have no idea what I'm doing?
;P
fge
fge
22:58
"distributed" as in everybody has his own repo, which has no influence on any other repo, except if you interact with them explicitly
You know what a VCS is, right?
Isn't that what Sourcetree is?
(The answer is no, I'm only guessing after reading a wiki)
fge
fge
I don't know Sourcetree
But, well, git, mercurial, svn, cvs, and others
Well, Sourcetree isn't a VCS, it's an application using the VCS
It's what I've used to upload my repos to bitbucket
fge
fge
Except that there are distributed ones (git and mercurial for instance) and centralized ones (svn, cvs)
Centralized ones suck :p
Well, bitbucket uses git
At least it's one option, maybe it has other VCSes it supports
Can you commit locally?
Bitbucket uses git AND mercurial
fge
fge
23:04
Well, it can't use both on the same repo
I don't know what "commit locally" means
No, not on the same repo, but you can use both VCS on your bitbucket account. One account, several repos.
fge
fge
When you commit a change, it is not immediately synchronized to your bitbucket account, right?
Yes it is
fge
fge
Uh
THat's a waste
So it means you cannot work locally and only push your changes later?
Oh you meant like that
I thought you meant that when you pushed a commit it would update immediately. No, nothing happens until you push a commit
Do you get points from getting an upvoted comment?
Wow, this one really mind-fucked me a bit XD stackoverflow.com/q/27712659/3763850
23:53
in php I have "INSERT INTO table (`".implode('`,`',$keys)."`)..." in javascript i can use join(), in java I have an Iterator<String> keys how can I implode/join the keys in a similar fashion?
00:00 - 17:0017:00 - 00:00

« first day (1529 days earlier)      last day (3636 days later) »