« first day (1628 days earlier)      last day (3299 days later) » 

10:03 AM
@JudeNiroshan
 
@Edge please refrain from needlessly pinging people in chat....
 
Ok u were busy so i pinged him
actully i was asking from u
 
actually I am kinda busy.. I just have half an eye on chat so I can stop people when they do things that shouldn't be done..
!!put..it..back...ლ(ಠ益ಠ)ლ
 
┬─┬ ノ( ゜-゜ノ)
 
Hi all
 
10:16 AM
Hi...
 
chrome <___<
 
@Unihedro oh god yes, please
 
10:24 AM
firefox please...
 
by lemon :)
 
HackerVision has all the cool stuff vanishing...
 
Hacker vision sucks :p
 
Hi
please help me
 
sure... but... it's a start.
 
10:24 AM
Hi.
 
-webkit-invert(95%);
done
 
hmm...
oh yes, this is much better..
 
I've been using this instead of hacker vision lately: chrome.google.com/webstore/detail/invert-page-colors/…
 
10:28 AM
Aren't you a programmer? Code them yourself.
 
how are the border's colors chosen, btw?
 
switched to chrome because of dark chat theme
 
not enough time and interest ^^
 
@Vogel612 What do you mean?
@Juce says the one who wastes their time in the Java chat room
 
@Unihedro with lemon's extension.....
 
10:30 AM
@Unihedro making a presentation doesn't need that much concentration + i can't do that @ work
 
hi @Mithrand1r
 
I don't like the pink I got..
anyways... ~food
 
hello, exporting spring utility project as runnable jar, couses "Caused by: java.io.FileNotFoundException: class path resource [META-INF/spring/] cannot be resolved to URL because it does not exist" while executing. How is this possible?
 
@Vogel612 random at first, can be changed by opening user infobox
 
@Mithrand1r gave the relative paths?
 
10:32 AM
@JudeNiroshan I tried to link as "META-INF/spring", "META-INF/wsdl" etc.
 
@Unihedro you are candidate for Moderator Election
 
@AniketDeshmukh I know. I posted that nomination post.
 
Wait, you didn't know how it works?
 
where to vote? O.O
 
fge
10:40 AM
~gradle++
~maven--
 
~ant!!!
 
sucks!
 
sucks?
 
10:59 AM
hey
Java doesn't suck
@FastSnail What do you mean, do you suck?
 
@Juce later... in primary, mostly
and in secondary
and secondary + 1, and s + 2 and so on
 
@EnglishMaster Well, considering that I said "sucks" after "ant", shouldn't "ant" be the target of my adjective here?
... English Master? ;)
 
@Vogel612 ah okey ^^ seeing that votes the first time
 
that isn't an use case of adjective
 
@Unihedro I'm sure you definitly targeted maven, not ant :D
 
11:05 AM
Grammatically it's just a verb
 
Practically speaking, in PoS form, "sucks" is an adjective here.
 
what?
 
Wait, no.
 
Is English your second language?
No offense
I'm just wondering, I'm collecting data for my college report
 
I don't English.
 
11:08 AM
no doubt
 
Are you a koala bear or a hamster?
 
I'm Quokka
 
The quokka (/ˈkwɒkə/, Setonix brachyurus), the only member of the genus Setonix, is a small macropod about the size of a domestic cat. Like other marsupials in the macropod family (such as the kangaroos and wallabies), the quokka is herbivorous and mainly nocturnal. Quokka's can be found on some smaller islands off the coast of Western Australia, in particular on Rottnest Island just off Perth and Bald Island near Albany. A small mainland colony exists in the protected area of Two Peoples Bay Nature Reserve, where they co-exist with Gilbert's potoroo. == Traits == The quokka weighs 2.5 to...
 
Guys please -
!!stop
 
11:14 AM
!!stahp
 
@Unihedro That didn't make much sense. Maybe you meant: stop, stat, stats, slap
 
oh
 
HAMMAHTIME!
 
O_o
 
WTF
 
11:15 AM
!!help
 
@DroidDev Information on interacting with me can be found at this page
 
!!listcommands
 
@DroidDev 666, help, listen, eval, coffee, refresh, forget, info, listcommands, tell, afk, ban, unban, convert, define, doge, google, hang, jquery, learn, put..it..back...ლ(ಠ益ಠ)ლ, phucket, gtfo, lol, moneycantbuylove, catmode, coffeetime, lifeban, stopmyself, instagram, kendallfrey, excited, manigga, meinneger, dgaf, infiniteriot, okay, feelsgoodman, fabulous, sausage, playerpimp, installjavascript, moarkittens, kendall, banana, kfc, uwot, nsfw, facepalm, abhishekhingnikar, somekittens, erase
fry, dudeism, hahastillhere, onebox, morecoffee, steve, whoosh, burn, woosh, roomowner, phony, real
 
O_o
 
@DroidDev ^^ use the Sandbox to try out ^^
http://chat.stackoverflow.com/rooms/1/sandbox
 
11:17 AM
@Juce well...I was just checking out for a second. Won't be around for much time
sorry for mess
 
@DroidDev no problem xD just wanted to give the tip if you wanna try the commands ^^
 
@Juce actually, I have done that a long time ago. Played hangman with it long time ago
 
@DroidDev did too ^^ it's well made
 
!!>CHAT.RoomUsers.all().toArray().reduce((result, person) => result.push(person + " " + (Math.round(Math.random() * 2) ? "rocks" : "sucks")), [])
 
@Unihedro "ReferenceError: CHAT is not defined"
 
11:19 AM
aww
 
@Unihedro didn't know you can give him code like that ^^
 
her*
!!>[1, 2, 3, 4, 5].reduce((a, b) => a + b)
 
@Unihedro 15
 
meant the "bot" but ok
 
Cap is a her :p
 
11:21 AM
O.O
yeah i know xD just referred to the bot as a word not to the bot as a person :P
 
Hey, bots are people too.
 
thats independent of how far they are developed ;)
 
fge
Aaah, the one-letter bug
 
@Unihedro you are aware that this only changes client-side??
 
In fact, some point in the future this chat room would probably be abandoned by everyone considering the inactivity, and when visitors come they'll be talking to bots, which are trained to greet people.
@Vogel612 ?
 
11:23 AM
your random assignment of rocks and socks [sic.] to user's names?
 
yes
!!is Vog awesome?
 
@Unihedro Impossible
 
:P
 
fge
!!Should @Unihedro stop procrastinating?
 
@fge But of course
 
11:25 AM
!!is Uni awesome?
 
fge
^^^^
 
... I'm not procrastinating, I'm multi-tasking
 
@DroidDev Yes!
 
._.
 
@CapricaSix Thank you!!
 
11:26 AM
goes to sit in corner, away from @Caprica
 
!!slap DroidDev
 
@DroidDev better get into the den to WAG more...
 
THERE'S A CONSPIRACY GOING ON!!!
 
@Juce slaps @DroidDev around a bit with a large trout!
 
alright, playtime's over, people...
back to serious business, okay???
~votes to delete another answer
 
11:27 AM
@Vogel612 You have 20k?
 
fge
<-- working
 
@Vogel612 definitely... leaves for den
 
@Unihedro no ofc not. but I can still review VLQRQ
 
anyway have a meeting now and then ill call it a day ;) see you tomorrow
 
:)
in Stack Overflow 2015 Moderator Election Chat, 3 hours ago, by Unihedro
On the other hand, if I get to 20k rep by next election and the score system doesn't change by then, I will have a 40/40 score :D
 
11:39 AM
@Unihedro Hey, are you a Minecraft character?
You asked me about my photo so I'm asking you about it in return
 
@EnglishMaster I used to develop a Minecraft network, hence I chose a random pixelated figure for my avatar.
The crab hat came from Winterbash.
I've meant to change it for a few times, but it's stuck. :p
 
For a second, I thought you meant "crap" hat
 
Well, you earn it in WB2014 by downvoting stuff, so you can also call it that
 
right
hey, where are you from anyways?
 
A star.
Alpha Centauri (α Cen); also known as Rigil Kent (/ˈraɪdʒəl ˈkɛnt/) or Toliman, is the brightest star in the southern constellation of Centaurus and the third brightest star in the night sky. The Alpha Centauri system is located 1.34 parsecs or 4.37 light years from the Sun, making it the closest star system to our Solar System. Although it appears to the unaided eye as a single object, Alpha Centauri is actually a binary star system (designated Alpha Centauri AB or α Cen AB) whose combined visual magnitude of −0.27 makes it the third brightest star (other than the Sun) seen from Earth after the...
 
11:42 AM
Haha, you are such a joker. Are you flexible enough to suck your own toes?
 
what the heck kind of question is that???
 
Eh, no. :p I just tried.
 
wait, sucking your own toes is a flexible thing?
 
MEBBE
 
11:51 AM
Are you Otaku?
I'm kinda Otaku as well. I love AKB47
 
brb
see you all in a month or so!
 
ok
SEE YOU MATE!
CAN YOU JUST TELL ME WHERE U RGOING?
@Unihedro are you gone?
 
fge
@EnglishMaster don't ping random people in the chat, please; this is considered annoying
 
@fge I wish you are not "random", ok
Can I take over your project?
 
fge
That has nothing to do with it
 
12:03 PM
I was checking out your project called "json-schema-validator"
and I volunteer to TAKE OVER
HAMMER TIME MATE
 
you don't have to shout...
 
fge
12:17 PM
Sorry, but I have a very serious candidate and the passing over is being done
 
@fge Who's the lucky other?
 
fge
@Unihedro Swagger
 
... sounds very serious indeed
 
fge
(for some definition of "lucky")
 
12:30 PM
kind of -_- question... can't figure out what's going on here. need help!
if(serviceData.inputSize() > 4 && serviceData.getInputData(5) !=null && serviceData.getInputData(5).equals("stayPeriod") ){
java.lang.IndexOutOfBoundsException: Index: 5, Size: 5
17:43:35,346 INFO [STDOUT] at java.util.ArrayList.RangeCheck(ArrayList.java:546)
17:43:35,346 INFO [STDOUT] at java.util.ArrayList.get(ArrayList.java:321)
17:43:35,346 INFO [STDOUT] at rez.services.connectorservices.ServiceData.getInputData(ServiceData.java:55)
 
fge
@JudeNiroshan indices in List start at 0, not 1
 
according to the if condition, i think, that exception should not occur.. isn't that so?
 
fge
The 5th element is at index 4
 
yeah. that is why initially check whether the size > 4
this is the place where i set the values :
serviceData = new ServiceData();
serviceData.setServiceName("bonotelResModificationSetup");
serviceData.setActionMethod("getHotelBlockedTouroperatorDetails");

serviceData.setInputData(new Integer(Integer.parseInt(form.getMyreservationid())));
serviceData.setInputData(CommonUtils.getInstance().getPortalName(request));
serviceData.setInputData("0");//touroperator id (2)
serviceData.setInputData(roomTypeId);//roomTypeid (3)
serviceData.setInputData("0");//hotelid (4)
serviceData = service.executeService(serviceData);
 
fge
Read what I said again
 
12:39 PM
sorry bro .. i understood what you are saying... so, if i simply ask serviceData.getInputData(5)
that will definetely going to raise an exeption
but, before that if i am checking whether that array size is more than 4, that means
serviceData.getInputData(5)
is not null
 
fge
Geee
You really don't get it, do you?
OK, again: indices in Lists start at 0, not 1
And, again: this means that the 5th element of the list is at index 4, not 5
 
12:54 PM
so even if you check that the size is larger 4, the fifth element is still at index 4, not 5
@JudeNiroshan that assumption is incorrect
 
1:09 PM
bro didn't reply :/
 
How do you raise a helpful flag?
 
@deadlydragon00 I like that channel too :)
 
Hi @Unihedro :D , I like it also
 
[frustration] made a big application with messy code, while learning pretty basic things. something comes up after a few weeks and even thinking of editing the code bores me to death.
 
@ItachiUchiha Flag something. Have it marked helpful.
@LifeH2O so sorry :(
 
1:33 PM
The moderator marks it as helpful?
 
@ItachiUchiha yes... and if it isn't they don't
 
Now I just want to migrate to a world where there is everything, just not this application.
 
Ahh, I see
 
@LifeH2O hmm... started working somewhere where there already is a big application with messy code. even thinking of editing that code makes me want to puke
 
If you promise not to write messy code again, you will be forgiven and allowed to live with us in this room.
 
1:35 PM
I didn't even get the fun of being allowed to write messy code of doom
 
!!define code ragnarok
 
@deadlydragon00 No definition found.
 
@deadlydragon00 urban doesn't list it
 
I learned a lot while creating this mess. OOP with Java is so beautiful yet I painted it as ugly as I could. It is not even like an abstract paint (which never made any sense to me)
 
@LifeH20 don't rush ,
 
1:40 PM
@Unihedro - you posted earlier re. casing of ClassNames, fieldsAndMethods etc.

Is there a convention for names of files? eg. I'm writing code with final variables. Is it correct to call the file with the constructor and methods FinalInstance and the main class FinalInstanceMain

I can't see naming conventions anywhere.|

Thanks
 
There is no stopping to Martijn Pieters becoming a moderator
Are they gonna select just one?
 
and also, is it camelCasing for objects? eg. finalInstanceObject?

Thank you
 
FINAL + STATIC should be in all caps!
otherwise CamelCase
 
== begin Main.java ==
public class Main {
  private static final int THE_ANSWER = 42; // Constants are in SHOUT_CASE
  public static void main(String... args) { // Methods are in camelCase
    Object obj; // instances and variables can be camelCase
    int foo = THE_ANSWER;
  }
  public Main() {} // Constructor is in PascalCase
}
 
Thanks both!
Wow! I've had less intensive [b]actual[/b] job interview questions than a lot of those being posed to the Mod Election candidates!
 
ADG
1:49 PM
what if i get an error :
> /tmp/cckMWGpN.o: In function `main':
ccW73HzO.i:(.text+0x24): undefined reference to `Main::class$'
collect2: error: ld returned 1 exit status
 
@mikeeustace BBCode in 2015?
 
and by actual, I mean paid... not knocking the job the mods do on StackOverflow!
 
@ItachiUchiha 3 open positions
 
@mikeeustace use **actual** for bold
 
haha - was a guess :)
testing
Thanks
 
1:49 PM
:)
 
Stack Overflow moderation is a major position - we're maintaining the quality of the site that helps programmers finish their jobs, as well as ensuring Stack Exchange makes money from traffic and ads :p
 
@mikeeustace in general it's mostly the exact same thing as in standard posts,..
aside from that it isn't.. but eh
 
ADG
can someone help me generate fibonacci numbers...
 
@ADG Sure.
 
@Unihedro lolz
 
ADG
1:50 PM
without using any methods
 
.......
 
ADG
only public static void main
 
Sure.
 
@ADG 0,1,1,2,3,5,8..
 
Can you give a clearer problem statement?
 
ADG
1:51 PM
how?
java?
 
2015 Nominations close in 5 days
 
ADG
here's mine:
 
@ADG try it first
 
ADG
public static void main(String args[]) {
Scanner s = new Scanner(System.in);
int n = s.nextInt();
System.out.println(fibbo(n));
s.close();
}

private static int fibbo(int n) {
if (n == 1) {
return 1;
} else if (n == 2) {
return 2;
} else {
return fibbo(n - 1) + fibbo(n - 2);
}
}
 
@ADG No, only in Haskell.
@ADG You used a method, you're disqualified.
@Vogel612 Does that really need an announcement? xD
Remember to vote for me for a brighter Stack Overflow :)
 
1:51 PM
@Unihedro hmm.. maybe not yet
 
ADG
yes that's the point plz help me remove the method, i don't thnk it's possible without that that's why i came to you geniuses.
 
@Vogel612 lolz
 
@ADG Why is there an 'n'?
 
@ADG Don't use recursion :P
 
in all honesty @Unihedro primary you have me, but as soon as I only have three votes, you probably lose to Martijn, Second and Jon.....
 
ADG
1:52 PM
@ItachiUchiha to print nth fibonacci
 
@Vogel612 Perfectly fair.
 
though the last isn't quite given yet
 
I'm voting for those three people as well :)
Though, considering we seem to have quite a demand, I wonder if anyone will be called up to reach 4, or even 5
 
ADG
@Unihedro do you mean golden ratio method?
 
@ADG no, incremental
 
1:54 PM
I will have one reserved for uni :)
I would like to have one moderator in the java room.
 
ADG
@Unihedro ok done
 
Though, with the increase involvement of @SecondRikudo in the room, your chances slim down :P
 
@ItachiUchiha doesn't second count? he's mod at anime already...
 
read int: x
while ++i < x
tmp1 = 1
tmp2 = 1
eval tmp1 + tmp2 as tmp3
tmp 1 = tmp2; tmp 2 = tmp3; print tmp3
 
28 secs ago, by ItachiUchiha
Though, with the increase involvement of @SecondRikudo in the room, your chances slim down :P
 
1:54 PM
@ItachiUchiha :[
 
If Uni wins we are required to switch to an 8bit Avatar
 
@adg what's n?
 
@deadlydragon00 My avatar isn't 8bit :)
 
ADG
@ItachiUchiha that's f(n) eg. you want 3rd fiboo so F(3), n=3
 
ADG
1:58 PM
like this:
public static void main(String args[]) {
Scanner s = new Scanner(System.in);
int n = s.nextInt();
int f1 = 1;
int f2 = 2;
int f3 = 0;
if (n == 1) {
System.out.println(f1);
} else if (n == 2) {
System.out.println(f2);
} else {
for (int i = 3; i <= n; ++i) {
f3 = f1 + f2;
f1 = f2;
f2 = f3;
}
}
System.out.println(f3);
s.close();
}
 
!!>var i = 10,tmp1=1,tmp2=1, result = [1, 1];
while (i--){
; ; var tmp3 = tmp1 + tmp2;
; ; result.push(tmp3)
; ; tmp1 = tmp2;
; ; tmp2 = tmp3;
};result
 
@Unihedro "undefined"
 
... why?
 
@Unihedro "undefined"
 

« first day (1628 days earlier)      last day (3299 days later) »