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

fge
12:00 AM
@th3falc0n now that's brilliant; you come here to ask for advice, we give you advice, you shun it and we are the pathetic ones
And then you say "you're not forced to help"
 
@th3falc0n Then consider changing your job, you sound like you're not well suited for development, where coding quality and discipline are vital.
 
did I ever say I work in development?
xD
 
@th3falc0n This isn't a business and you're not our paying customer. If you don't like what we give you for free, you don't have to take it, or spit in our faces.
 
you assume things you can't even know
 
We are assuming that everyone who codes wants to become better at coding.
 
12:02 AM
If you use grammatically correct English then I don't have to assume.
 
@Unihedro Now now Uni, if we start demanding perfect grammar I'd have to shut up ;P
 
@Unihedro: that argument is totally childish xD
 
fge
Heh, I even gave the query plan so that it worked in every possible situation where you would use an RDBMS, even local, even file-based, but...
Well, nevermind
 
BUT I DON'T NEED IT
 
fge
I'll continue using JooQ and sane data models
 
12:03 AM
can't you accept that I don't need it?
 
fge
... Is what you think
 
@fge At least it was a good read for me, so it wasn't a complete waste.
 
Recommend timeout.
 
fge
If you don't have the motivation to do things at least correctly, don't even start developing anything
I didn't even say "well"; I only said "correctly"
 
But it does work.
And it doesn't harm anyone
 
12:04 AM
Speaking about grammar... I'd love to edit a lot of posts on SO, but the problem is that the ones that need editing usually have such poor english that I don't understand what they mean :(
 
So it is correct.
 
fge
So why come here for help at all?
 
If you can't take someone's opinions, then don't ask for. Especially not in public domain. This entire conversation is redundant. Please just stop.
 
I DIDN'T ASK FOR AN OPIONION.
I asked for a database library
you started to telling me my code is shit and I am wrong
 
That in itself is recommendation.
 
fge
12:06 AM
@th3falc0n if you are unable to account for other people's experiences and know-how, this is your problem, not ours
 
^
 
fge
And yes, from what I know, I can tell, this is not even an opinion, it's a fact: your design smells
 
Guys, you are the reason why people don't want to actually learn programming correctly.
 
Pfft
 
Yes my design is shit. I knew that when I asked.
 
12:07 AM
Oh noes, the information about proper design makes people not wanna know how to code correctly!
 
Suspended for one minute for rudeness.
 
In my case, I don't know how to code in that bad way so I don't know a library for him
 
While this may be interesting drama it is not constructive nor should be encouraged.
 
I thank you for stopping it
If that's the response to the help we're offering he's probably not in the right chat anyway.
 
Adz
Bit strange how Jon Skeets hat fits perfectly in his pic :P
 
12:12 AM
Skeet skeet!
 
Should I know him?
 
Highest rep user.
Gotta go now, will appreciate your code on the run @fge :P
 
fge
This guy seems to spend his life on SO
 
That's a yes then :P
 
fge
@Unihedro heh, releasing right now
 
12:14 AM
Ok! :D
 
I'm so bad at keeping up with the celeberties
 
fge
@Gemtastic not that it's a bad thing
 
^^^
 
Well
 
fge
Released on sonatype!
Now modifying the README...
 
12:17 AM
I'm the type that almost could do the thing the main character did in Pornange is the new black: (accidentally) Insult the prison inmate chef (on my first day in prison)
 
fge
12:41 AM
throwing-lambdas 0.3.0 released!
 
yaay
congrats
 
Anyone familiar with implementing oauth on a java rest api?
 
fge
@KevinBowersox uh, not at all, sorry
 
Thanks for the reply. I've been researching for about a month
its pretty wild
There are tons of articles that tell you how to connect to googles apis or facebooks apis
 
12:44 AM
I don't even know what oauth is :S
 
its a mechanism that allows you to grant a third party limited access to your data on a particular service
 
hmm
 
so my app could access your google+ contacts with your permission
and you never give me your username + password
but i'm looking at it from the standpoint of the api provider, so allowing third parties to access user data collected by my application via a service (rest api)
there just isn't a lot of information out there for what i want to do
IMO
 
fge
That is rather surprising given that OAuth2 is pretty common these days
 
Yeah, I often wonder if I'm missing something
 
fge
12:57 AM
I suppose you went there already?
 
 
1 hour later…
2:48 AM
I am back!
 
Wb!
 
Thank you!
 
fge
Welcome back @Unihedro
 
@fge Thank you!
 
3:02 AM
someLambdaHere -> someLambdaFormHere?
And I think <Parameter, Result> would be more concise then IO
 
fge
Hmm
 
I really like how you linked the wrappers from the tag wiki itself though, it makes navigation really easy.
PS don't you mean N-arity instead of N-ary? :P
For consistency, you may want to change:
fallback to a non throwable lambda of the same version: fallbackTo().
to fallback to a non throwable lambda of the same version: .fallbackTo(). with the dot, since the other two points has them: .orThrow(), .as(), .orTryWith()
 
fge
Ah, good spotting
 
This is my favourite part: wrap(my -> { lambda(); here(); })
 
fge
Page updated
As to n-ary, I do believe this is the correct term when use as an adjective, not a noun
 
3:11 AM
@Unihedro hehe that's funny
 
@Gemtastic ikr :D
 
Which is a thing they've done intentionally in java 8; making it look more like a sentence so that you can read the code better. And indirectly do things like that XD
 
fge
@Gemtastic not sure this was really the goal, to be honest
 
@Gemtastic Not so far from LINQ already ;) look at mockito, for example
 
fge
Or assertj
 
3:13 AM
when(predicate.test(any())).thenReturn(false);
If you don't understand what that does, your english sucks
 
fge
.thenReturn(), not .return() :p
 
@fge That's what a guru said during a lecture
 
@fge me bad :p
also missed a closing bracket - fixed :P
^ Night glitch hop!
 
fge
Well, whichever the true goal, lambdas are a great addition
And the implementation is also pretty clever
 
Agreed
 
3:16 AM
Lambdas are great!
Also, it's almost 2015, where's my LINQ?
(Language INtegrated Query)
 
XD
 
fge
@Unihedro seriously, you should have a look at JooQ's query syntax
 
@fge It's so LINQ-like, but not actual LINQ - real LINQ is language integrated
Language Integrated Query (LINQ, pronounced "link") is a Microsoft .NET Framework component that adds native data querying capabilities to .NET languages, although ports exist for Java, PHP, JavaScript and ActionScript. LINQ extends the language by the addition of query expressions, which are akin to SQL statements, and can be used to conveniently extract and process data from arrays, enumerable classes, XML documents, relational databases, and third-party data sources. Other uses, which utilize query expressions as a general framework for readably composing arbitrary computations, include the...
var results =  from c in SomeCollection
               where c.SomeProperty < 10
               select new {c.SomeProperty, c.OtherProperty};

foreach (var result in results)
{
        Console.WriteLine(result);
}
 
fge
select().from(t).where(row(t.a, t.b).eq(1, 2));
Heh, I mean, that is SQL all right, except in Java
 
Yep, I know how awesome jooq is ;)
 
fge
3:19 AM
I don't really care for language integrated anything, I believe too much of it becomes a burden ultimately
 
By the way, do you have experience with the JNI?
I want to load pcrelib, but I couldn't find a tutorial, and have never done this before, so.
 
fge
@Unihedro don't use JNI, use JNA
:p
 
Lol :P
Hmm...
 
fge
Meh, that's only a prototype
I'm fully aware that I should @Override a s*load of other methods from Stream
All methods returning a Stream in fact, so that they return a ThrowingStream instead
But that looks fun!
 
Yeah!
And then... orNewStream()
 
fge
3:33 AM
Eh?
Anyway -- there are still some @FunctionalInterfaces in the JDK which are not implemented
ToIntBiFunction for instance
But I want to refactor the tests first
It's the Consumers which give me a headache since they don't return any value, but I think this can be arranged by using... Well... Lambdas
 
@fge or... cheating the tests :P
 
fge
No
Not on my life :p
And anyway, if I did, pitest would catch me
 
:o
bribe it
 
fge
Nosir
I won't ever cheat tests
If I can't do it, I'm not worth developing it
 
lol
 
fge
3:40 AM
(pitest is really a great tool for catching badly written tests)
pitest, the first testing tool in which you do not want to see that tests actually PASSED
:p
 
:P
 
fge
Running it on throwing-lambdas, the only non killed mutations are on the static utility methods
True enough, they are not tested
Ahwell
 
Xp
 
fge
By the way, here is how ThrowablesFactory is tested now: github.com/fge/throwing-lambdas/blob/master/src/test/java/com/…
TestNG's @DataProvider is soooo much better than JUnit's equivalent
 
Yeah!!
 
fge
3:50 AM
(in fact I have used TestNG for such a long time that going back to JUnit would make me weep in frustration)
 
(quietly prays for fge that if he gets his dream job, it doesn't run junit for tests)
 
fge
Huh
"this is a secret hat"
 
@fge Congrats!
 
fge
I don't even know what that's supposed to mean
 
When you get a secret hat, the way you get it is not revealed, so you can't spoil it to others.
Of course, the one you got (Warm Welcome) was pretty self-explanatory though. spoiler
I have 6 secret hats: stackoverflow.com/users/3622940
 
fge
3:59 AM
Uhm, not sure, it's not self explanatory to me
I'm kind of daft
 
It is to me
 
@fge mouseover the "spoiler" and wait for the popup :P
 
fge
The spoiler? Sorry, I don't follow
 
Never mind :P
 
It'ss ok Uni, it'll be our secret
 
4:03 AM
^ Why you should sleep more
 
Secrets ? o_O
 
@ItachiUchiha Hats!
 
ohh
least bothered
 
@ItachiUchiha Hats!
 
Still least bothered
 
4:07 AM
@ItachiUchiha Hats!
 
Not at all bothered
 
@ItachiUchiha Hats!
 
Go back to Sleep
 
@ItachiUchiha Hats!
 
Are your holidays still not over? School should re-open
 
fge
4:11 AM
@ItachiUchiha @Unihedro is slowly turning into Alice in Wonderland's mad hatter
 
@fge Yeah I can see that
 
Holidays are getting into his nerves :P
 
4:56 AM
@Unihedro Those are actually good things for programmers to know
 
5:10 AM
@gem heya
 
@ItachiUchiha Hey Ita :)
 
how is your course going?
 
going to nap, will code later
 
why is Java believed to be better than C++?
 
@ita Well, it's winter break so it's on ice, but I'm kinda done with the design for the webshop now
@edition Still, it isn't
 
5:15 AM
Java is stopping me from writing native apps quickly for Android.
 
Java has many great points and functions, as does C++
@edition Well, in your case Java is great because Android supports it.
Today I actually learned that Android "is" Java6 and thus some issues you may have with it could be that you try to do Java 7 or 8 code.
:20696720 None taken. Not everyone loves Java, not everyone loves C++.
 
my point is that Java should not restrict native development, on any platform or device.
 
@Gemtastic Android runs on Java7 without the try with resources
 
@ItachiUchiha Oh, so it's only that part that's Java 6?
Either way though, if you code Java 6 you can't really go wrong :P
 
NDK doesn't work with my phone :/
 
5:24 AM
@Gemtastic which part?
 
@ita the one you mentioned I suppose
Time to sleep. Night!
 
Hi guys I need stored procedure for search user by email,address user have unique user id with primary key which acts as foreign in other tables.
 
6:21 AM
Good morning, Java!
 
6:37 AM
IN my struts 2action class one action is always redirecting to input page eventhough im not performing any validations. What might be the problem...
 
user4202350
@oleg . good moring ...
 
and im using default hibernate plugin...
guys can anybody help me..
 
 
4 hours later…
10:44 AM
@Gemtastic Android is not Java 6. The thing doesn't run bytecodes. If you use the SDK, it must have had a compilance level of Java 6, which means it's OK if you use JDK 8 as long as the syntax etc was of Java 6 level.
Of course, with the update of SDK this is no longer the case. I believe it's on Java 7, except for the lack of try with resources support.
 
user4202350
just now i ignored unihydro by mistake... possible to revert back?
 
@edition No, you're getting it wrong - Android is restricting the use of Java through SDK because Android doesn't natively support Java. That's by design of the SDK. Android does not run Java, only the bytecodes (and does so in a poor way that have loss of support of Java features). The Android development environment sucks, and that is a thing you have to deal with.
(Android runtime is coded in C++ with interfaces reading bytecodes as C-l additionally used)
@OlegKuznetsov Morning! (Overdue greeting)
 
@Unihedro :)
 
Answer for the question is good, so I won't vote...
 
10:58 AM
@OlegKuznetsov It's not good, it's terrible, only understandable by everyone because it was bad. It misses all key points such as lookaheads as zero-length assertion, and backtracking.
The figure is wrong as well, this:
abc123 #Tries to match 123, since is successfull, the pointer remains at c
    |
 (?=123)
Should have the pointer pointing at "c".
It also misspells "tries" into "tires", which I'm too lazy to fix.
 
11:27 AM
hi
can somebody help me on java nio package usage for this query?
1
Q: Query on "asCharBuffer()" method in java.nio.ByteBuffer

overexchangeWith the below code snippet given in this link, byte[] bytes = {0x00, 0x48, 0x00, 0x69, 0x00, 0x2C, 0x60, (byte)0xA8, 0x59, 0x7D, 0x00, 0x21}; // "Hi,您好!" Charset charset = Charset.forName("UTF-8"); // Encode from UCS-2 to UTF-8 // Create a ByteBuffer by wrapping a byte ...

 
 
1 hour later…
12:37 PM
3 messages moved to JavaScript
7 messages moved to Trash
 
fge
@Unihedro joining Trash? Mouse slip?
 
@fge Ignore kar ignore - it's how moving messages works.
Whenever you move Foo's message to room Bar, Foo is invited to Bar.
 
user4202350
@u
 
I don't think JS wants to hear our incredibly relevant commentary, anyway.
 
user4202350
hey unihydro u can speak hindi?
 
12:39 PM
@ShaU No.
 
user4202350
then how did u write ignore kar ignore
 
@ShaU With my keyboard.
 
user4202350
u r lying....i know....u may be from bangalore or delhi
 
No, I'm from Alpha Centauri.
 
user4202350
u may be alein
 
12:44 PM
Wth is alein? Is that even english?
Oh, you mean "alien" from astrobiology?
 
fge
@ShaU stop using aolbonics, it's irritating
 
@Unihedro Failed code golf :P
 
New record!
15 "Unsalvageable" review actions taken in a row in triage
(in order words: question quality is in decline)
 
yay, new hat!
 
12:51 PM
!
Congrats!
Be right back
 
thanks :)
 
1:11 PM
Unihedro has added an event to this room's schedule.
 
Can some one remind of tool that can record a user action(lets say submit a form), then can automatically execute that action n number of times
 
@Tarun server
 
@Unihedro It's a testing tool i am not able to recall its name. It can be use for load testing
 
@Tarun debugger
packet editor, socket listener
27 hats!!!
 
@Unihedro gz :)
 
1:26 PM
@Tarun Selenium?
 
user4202350
he...You've been kicked from JavaScript .
 
user4202350
y did i get this?
 
in JavaScript , 2 mins ago, by Jan Dvorak
Here's my offer: I won't answer your questions unless they're in english. "vaguely english" doesn't count.
 
user4202350
ok.....i will speal in proper enghlish
 
user4202350
ask him to join me
 
1:37 PM
Good morning, Java!
 
Morning, @Michael!
 
fge
Good morning milord
 
user4202350
Man its already evening in my place...
 
user4202350
So Gud Night micheal
 
Morning @Uni, @fge
 
fge
1:38 PM
@Michael many updates to throwing-lambdas (0.3.0 is out btw)
 
Nice.
lol, good night @ShaU
 
We should have a bot that regularly posts music from radio APIs of websites in here.
 
fge
@Unihedro and how is this Java? :p
 
@fge Are there really that much Java to talk about? :p
 
fge
Sure
I can give you plenty of Java work :p
 
1:41 PM
review-pls:
Oops, intellij hanged up
 
user4202350
@Unihedro man,...there are too many rude guys in javascript.... i hope java room is better :P
 
@ShaU No, they're only harsh. Being harsh and being rude are different.
 
user4202350
they again kicked me
 
user4202350
You've been kicked from JavaScript .
 
Java Room is Best Room xD
 
1:51 PM
in The SO Tavern (Free Snacks), 43 secs ago, by ProgramFOX
var masks = [
    int32x4(1337, 0x1337, 0x42, 42),
    int32x4(0x00FF1CE, 0xBAADF00D, 0xDEADBEEF, 0xCAFED00D),
    int32x4(0xD15EA5E, 0xDEADC0DE, 0xFACEB00C, 0x4B1D4B1D)
];
Values to use for tests @fge :D
 
fge
@Unihedro to test what?
 
@fge It's to test a JavaScript thingy in Firefox.
If you are ever out of test values, you know what to take :P
 
No CAFEBABE?
 
in JavaScript , 20 mins ago, by ShaU
Is it possible to hack anybodies system withoiut knowing his ip address?
 
fge
Err
@ProgramFOX I don't do JavaScript, so...
 
2:07 PM
@fge But you do Java. Isn't that the same?
JK ;)
 
2:27 PM
OakBot Online.
 
2:50 PM
OakBot, stop killing the chat.
 
3:02 PM
Shutting down. See you later.
 
LOL
@Ita I don't remember if it was you who pointed out the lack of an /about page on devdoodle, but it's there now ;)
 
@Unihedro yeah it was me
 
After it's out of maintenance it will be on there.
IntelliJ rules!
 
3:37 PM
morning
 
Morning!
 
@Unihedro I see you've gotten over the "it's new and it scares me" phase ;P
 
@Gemtastic It's incredible because I can edit through ftp. :p
 
@Unihedro And that makes all other flaws forgotten and forgiven? ;P
 
@Gemtastic Well to add, it even supports SSH, that outweights Eclipse by a thousand miles.
I won't ever have to start up my SSH client again with intellij.
 
3:41 PM
Yep, another fanboy in the making ;)
 
:P
If only it has better regex support...
 
I'm glad you found an IDE you like
 
Hey guys!
I'm trying to count the number of same elements i have in list and have on idea but could it be done in an easier manner? My idea is to do it with two for-loops, but can i count the elements in some other way? For example i have element "A" "B" and "A" in ArrayList aLst. I'd like to find out how many "A"-s are there in this list.
 
Thanks ^_^ still takes time to get used to, I'm missing stuff from Eclipse but I'm sure IntelliJ will have decent substitutes for the features :p
 
OakBot Online.
 
3:43 PM
I think it was intelliJ someone told me that if the company wouldn't buy the license for it so I could use it, I should run :P
 
@Unihedro Does anyone use ftp in 2014?
 
OakBot Online.
 
@Gemtastic Must be Kylar :P
 
Shutting down. See you later.
 
@OlegKuznetsov Yep. I know there are substitutes like SFTP and FTPS, but FTP is still common.
 
3:47 PM
OakBot Online.
 
Good. Fixed the shutdown message broadcast issue. :D
 
:P
 
I see... Well, see you later
 
Seeya
 
4:01 PM
I just found out a great way to stay productive!
 
4:13 PM
Hi, am following stackoverflow.com/questions/5260453/… inorder to find a revision number for a java project
but it says info doesn't support the "path" attribute, can someone please help me with this, I been struggling with this from almost a week now
which shows the "info" task with "path" attribute , but when i use it in my build script it says info doesn't support the "path" attribute
 
Does anyone have some kind of configuration to really have the eclipse key shortcuts in idea? the eclipse key mode bundled with idea is very incomplete
 
4:30 PM
@Unihedro No it was on an IRC chat :P
 
4:45 PM
Hey, being stuck with syntax i think, why does the equation 30/50*100 gives me a result 0?
Instead of 60
 
fge
Test refactoring on its way; looks like it's going to be a success!
 
@fge Yeah!!!
@charen integer division
30/50 = 0
Try this instead: 30./50.*100.
 
fge
Or 30 * 100 / 50
 
Thank you
Actually i had a variable before there which i just changed into double
 
00:00 - 17:0017:00 - 00:00

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