« first day (1643 days earlier)      last day (3298 days later) » 
01:00 - 15:0015:00 - 00:00

1:25 AM
No one around? Too early for you all? :)
 
1:59 AM
Anyone online? if true, then \o
 
Morning Lui
 
@mikeeustace Well it's nighttime for me so lol.
 
3:11 AM
Ah :)

Maybe a strange question. I'm reading about try / catch and exceptions.

I have the code below, but how can I make it compile and run, but with the output "you got an error"?

Thanks

import java.util.*;

public class CreatingFilesInJavaMain {

public static void main(String[] args) {

final Formatter x; try {
x = new Formatter("has_this_worked.txt");
System.out.println("you created the file");
} catch (Exception e) {
System.out.println("You got an error");
}

}
}
 
@ItachiUchiha sup
 
nm.. my head's reeling.
 
Busy day huh?
 
Kinda
You can say over-dose of sci-fi
 
lol alright
Let me guess, you watched cowboy bebop
 
3:17 AM
Haha.. nope. That was fge
I watched Star Trek
 
that would've been my second guess
 
;)
How is your fxml coming up?
 
Anyone? How can I make the code above compile and run, but with the error?

Thanks
 
I decided to use anchorpane instead of borderpane because it allowed more freedom and as of right now I'm done with the design aspect. Now I can starting working on the logic of the game.
 
AnchorPane is a static layout. It will not allow you to resize your children
@mike what is the exception?
Inside catch, write e.printStackTrace();
 
3:31 AM
Well I get the root element from the fxml file(anchorpane) and put it into a stackpane
 
It doesn't matter
 
So then what would be the solution?
I mean I can't use borderpane because it doesn't allow me much freedom
 
You can run anchorpane if you screen resolution doesn't change in large extent
 
come again?
 
Thanks @ItachiUchiha
 
3:48 AM
@ItachiUchiha if some of my buttons are getting smaller as I decrease the size of my window with my cursor, how can I make them stay the same size?
is it simply a matter of setting the buttons isresizable to false or is that not the best solution?
 
4:20 AM
zZZzZZ
 
@Ita I have a question
String s = "Hello"+"World";
It has one reference and one object OR one reference and two objects? ^^^
Well, it's more likely one reference and one object because a reference can't point to more than one object at a time, correct?
 
4:39 AM
^_^
 
4:53 AM
I have a problem please check this.
0
Q: Excel interop MissingMethodException on some systems

Deepak guptaIn my C# program, I am using Microsoft.Office.Interop.Excel. With this i am reading & writing data to excel file. On one machine, even though it has Office 2007, there are seeing below exception, raises at GetComponentPath() method call. Unhandled Exception: System.MissingMethodException: Method...

 
fge
@Mr.777 one object; what happens internally is that a StringBuilder() will be used and all parts appended to it
 
@fge Okay got it, that makes sense
 
5:05 AM
Java Spring question about caches of items not in a data base (server created) please see programmers.stackexchange.com/questions/279843/… this question answered or belongs in stack and not programmers?
 
5:23 AM
Hi, I'm trying to understand try / catch exception handling. I made the code with a do-while loop but there's an endless loop instead of letting the user try again.
http://pastebin.com/8bAmJDMJ
 
@mikeeustace You are never changing the value of x other than 2
 
but, I set int x= 1; (line 6) and then x=2; after the two numbers have been added correctly... haven't I?
 
Yes and then?
 
it exits the do loop because the while(x==1); isn't true anymore
 
@mikeeustace Yes
 
5:29 AM
Well, it doesn't, but I can't see why lol
The more I look, the less I can see why it isn't working. Any hints?
 
Hello,
I have the webservice object port.

MyWebService service = new MyWebService();
MyWebServicePort port = service.getMyWebServicePort();

How to change its endpoint url?
 
5:46 AM
Sorry. I have found the answer easily
http://stackoverflow.com/questions/2046790/change-webservice-endpoint-address-at-run-time
http://stackoverflow.com/questions/2490737/how-to-change-webservice-url-endpoint
 
6:01 AM
Anyone around? I've been staring at the code but can't see the error. Where is the mistake which keeps the do loop looping forever instead of returning to the fist user input?

http://pastebin.com/8bAmJDMJ

Thanks
 
fge
Huh, great, I have a Windows admin problem
 
what is it @fge?
 
Good night everyone
 
later @luis
 
fge
@mikeeustace netstat -an shows that a port to a service I have started is listening on 0.0.0.0, but I can't connect to it remotely... Probably some firewall problem now I don't even know whether Windows 7 has a builtin firewall
I guess it does
 
6:11 AM
It does, and it's on by default. So, you want to turn off the firewall?

NetSh Advfirewall set allprofiles state off

^^-- in cmd promt will do that
 
fge
Ohwell, I've just found
<-- has only ever administered Linux machines
 
ah. Surely that's far harder?

sudo apt-get update - is all I know
So, how can I end the broken loop in my code.
It's killing me!

http://pastebin.com/8bAmJDMJ
 
fge
@mikeeustace no actually; everything is text based, and you have SSH
It's very, very easy
No need for a GUI at all
 
6:42 AM
@Madara: Nothing wrong? The </pre></code> tags are incorrectly nested in the screenshot. — Nisse Engström 2 hours ago
@Gemtastic He's right ^
 
:O
 
Try with correct nesting, see if that works
 
Well, I got that message on your original code without me touching it though
That's just my reproduction
Also @MadaraUchiha and @fge I got the highest grade on the CarShop! Despite the late turn in! :D
 
@Gemtastic Congrats!
 
It wasn't the best application ever, but I'm still happy ^^
I thought I'd fail because of the late turn in
 
6:46 AM
While that's awesome, you should probably know it still wouldn't have passed a serious code review :P
 
Oh I know
I'm just happy
 
If you fail too much you'll have to pay back the student grant
Also, I for the sake of looks, it's nice to have high grades on the examination paper
 
fge
@Gemtastic good!
 
Now I have to rewrite it and make it good ;)
 
6:55 AM
good morning xD
 
Good morning indeed ^^
 
Good morning, Java
 
@Gemtastic It's not just for the sake of looks
Saying I "finished top of my class in college/course" is something employers like to hear.
 
@MadaraUchiha That's what I mean by "looks" but what I personally care about is "Did I learn these subjects properly?"
 
7:17 AM
@Gemtastic gZ!
 
@Gemtastic what's your next move?
Is your android app done?
 
@MadaraUchiha Well, what you saw it what it is. I will probably only pass that course
@ItachiUchiha thanks ^^
 
Morning
 
fge
<-- very happy; the project is slowly starting to get into place
 
The highest grade in Android demands testing and using some kind of content provider, something I didn't have time to implement
(which is fine because I don't really have any intent to develop android apps)
 
7:35 AM
Hey, I'm having difficulties finding out what I should insert in the "update" tag of JSF pages
 
@fge Yaay ^^
 
is there any place where I can find how to figure out what I should put there? I'm constantly getting "Cannot find component with id ... " errors
 
Hi all, I've a problem with Hibernate search, any one can help me please?
0
Q: Hibernate search - The SearchFactory was not initialized

Andrea CataniaI'm trying to use hibernate search. Following this guide http://hibernate.org/search/documentation/getting-started/ I've added this two lines to hibernate.cfg.xml <property name="hibernate.search.default.directory_provider">filesystem</property> <property name="hibernate.search.default.indexBase">...

 
0
Q: Jsoup iterate over Elements causes duplicated output

JavaFanI have a page link to extract some data from it. I used for-loop to iteration via elements that I have to extract some attributes of it . but I get duplicated output Document doc = Jsoup.connect("http://www.saudisale.com/SS_a_mpg.aspx").get(); Elements elements = doc.select("table").select("...

 
7:52 AM
@JavaFan FORMAT YOUR CODE!!!!
It's basic, common, courtesy and you should be doing it anyways!
 
see also the latest se blogpost
"plz facebook support give this password to my account"
 
8:25 AM
=Document#select
 
@Vogel612 I don't know that command. o_O Type =help to see my commands.
 
=javadoc Document#select
 
Did you mean this one? (type the number)
1. org.jsoup.nodes.Document#select(String)
 
1
 
@Vogel612 Elements select(String cssQuery): Find elements that match the Selector CSS query, with this element as the starting context. Matched elements may include this element, or any of its children. (1/3)
 
8:57 AM
just awesome...
adding one small js function and suddenly the jsp lib breaks
 
phew
 
9:12 AM
ahhh
it's morning
where's my coffee
 
Make it yourself, lazy
 
!!coffee
 
@Vogel612 Error 418 - I'm a Teapot
 
damnit, cap...
 
@Vogel612 #C0FFEE
 
9:17 AM
 
^^ that...
 
back in Uni we took part in IEEExtreme thing, our team name was 0xC0FFEE
 
:D
 
I got my cup here...initiating boot sequence
 
9:22 AM
Boot-Sequence completed, refill coffee to start up productivity procedures
 
Negative. Coffee decompression complete, performing filesystem checks for errors and orphaned nodes
 
Coffee-Refill complete.
 
Error: cup empty! Please refill to proceed.
 
at least I have time to make a coffee, working on a remote mac through RDP...which I couldnt get to work on linux, so through a windows vm
come to think of it, if I install xorg on the mac, I could do ssh x forwarding
 
9:34 AM
~refills nisks cup
 
cheers
Today I do Apple certs and stuff
one guy in the office had a mac, so we used his machine to build/generate certs...then his harddrive failed
with no backups
#WeSoProfessional
 
totally..
 
derp derp
 
<% pageContext.setAttribute("cr", "\n"); %>
<% pageContext.setAttribute("lf", "\r"); %>
^ wut?
 
wut is right
oh wait
cariage return = \n
lf is something along those lines too...
 
9:43 AM
cr should be \r in the first place
 
I guess it defines how the pages structures/breaks itself into lines...but this is mad
+
 
dailyWTF
 
19 hours ago, by Unihedron
23 mins ago, by Unihedron
We should start our own DailyWTF.
 
which is like totally not what I was referring to at all...
~cough
 
it's probably difficult to find documentation for the instanceof operator ?
i though that it goes to Instanceof class, but i'm not sure
 
9:51 AM
read the JLS... and know where you can find it so you can read it again, and again, and again, and ...
 
i have found that, but it doesn't explain how it's used internally
 
> At run time, the result of the instanceof operator is true if the value of the RelationalExpression is not null and the reference could be cast (§15.16) to the ReferenceType without raising a ClassCastException. Otherwise the result is false.
not is instance...
it's more like...
try {
    T ref = T.cast(e);
    return true;
} catch (ClassCastException ex) {
    return false;
}
=javadoc Class#cast
 
Did you mean this one? (type the number)
1. java.lang.Class#cast(Object)
 
1
 
@Vogel612 Object cast(Object obj): Casts an object to the class or interface represented by this Class object.
 
9:57 AM
i shouldn't dig too deep :P
still thanks ^^
 
@KarelG dig deeper, it's helping
 
didn't knew that this chatroom has a bot too.
 
now you do ;)
 
also, can you ask the android chat to not add "java" in their tittle. confusing
 
no I can't..
but you sure can
 
9:59 AM
i wouldn't dare cus it's for between Java and Android-Java people
 
That bot is awesome.
 
we should challenge the Android people to a fight
in chess or something
 
meh..
<-- too bad at chess
<-- also should work something...
 
lol, there are "Androidians", "Java and Android era", "android discussions" ... a lot people with problems with that ? Or just a silly competition :D
anyways, thx for that instanceof thing. // continue working
 
and needed to restart the server again...
another minute wasted because configurations in your workspace are irrelevant if someone somewhere ten folders away configured something in a config-file by the same name....
 
10:04 AM
gud afternoon
 
@Nisk True
 
@deadlydragon00 Afternoon!
 
@deadlydragon00 Morning!
 
morning @Unihedron @OlegKuznetsov
 
10:23 AM
Martijn got his Diamond now!
 
s/now/already
 
Apple code signing is so, so retarded
 
ikr
 
@Nisk Like any code signing, no?
 
we gonna make you jump hoops making certs and shit, then we're gonna remove your signature from your app anyway and also make you upload your private key anyway
 
10:26 AM
BTW, does it make sense to sign *.jar if it won't be available as JNLP or Applet?
 
@OlegKuznetsov Not really, Android one is fairly ok
Code signing is a good thing AND makes sense
but the apple one does not make sense - from the aspect of crypto
 
well... apple code-signing is not done for the crypto...
 
@Vogel612 What's the reason then?
 
just to have a cert on it
it's not about the cert being useful.
it's about it being there whether it's useful or not
 
@Vogel612 that's the thing though, it's just....USELESS
 
10:29 AM
just so that you can say: "Look at dat shiny cert"
"It's shiny, it's awesome , it's completely useless"
 
welcome to the real life.
 
@Unihedron I admire cynicism, but in Android, as far(little) as I know - code signing is actually a thing
 
you sign your android app, that private key is associated with Apps identity, without it you can't upgrade the App
 
@Nisk It is, since you can publish your app w/o any store
 
10:34 AM
question is just how much android enforces signature verification....say if NSA wanted to tamper with your Apps code, is there a wildcard cert google can use to allow that
 
fge
11:23 AM
@Nisk I think you are missing something about what code signing actually is
 
@fge no I'm not. Code signing proves identity of the coder + allows to verify that the code wasn't tampered with
the verification of such and what to do should code fail to verify is up to the system/android
I'm simply saying that there could be clause to ignore invalid signature for a specific app in google services
naturally the system should say "hey, this code signature doesn't check out, I won't run this", but does it
but if I am missing something please tell me, there is plenty I don't know :)
 
11:39 AM
in any case I won my Apple code-signing ....fucking shit "official" documentation
and official "process"
 
Hello @Nisk @fge Hello
how to check while getting params is null in restful webservice ?
 
if (param1 == null)
 
@Unihedron about that swarm thingie...
do you also think that territory-farming is easy??
 
Yeah, buy more of the strong fighter bees.
 
and before buying the first of them, get the twin upgrade
 
11:51 AM
The twin upgrades costs the same for all the fighter bees.
 
it's worth all the larvae it takes until level 4 at least
exactly
 
After you have tons of territory you can buy tons of expansion and get tons of larvae and therefore buy tons of those twin upgrades.
 
which is kinda the whole point
 
And with more meat you get to unlock and buy even stronger fighter bees, so that's a really big cycle
 
then on the other hand the cost for meat production rises exponentially
 
11:52 AM
... which, you can buy upgrades to speed up pre-exponentially
 
1k greater queens and 3Qa meat for a single hive...
interestingly until now I think the twin upgrades for meat producers aren't really worth it after level 3..
 
But, you get more larvae/sec after you get lots of territory production, so the increase in cost of new tiers are well-explained.
 
because by then usually the production from the higher levels is enough to sustain it anyways.
yep
 
Yeah, I just turn off the upgrade notifier.
There's an icon for that.
 
lol you put that thing up to 16??
that's kinda overkill...
 
11:55 AM
:D
I bought it for the achievement points.
 
hmm...
just so you get more larvae again??
 
yep
I've ascended once.
Also, this gives you progress even when you're offline, so you don't need to have it open.
At least it doesn't burn you out like kittens does.
 
but it's so damn much progress over night..
 
Well, by distributing the points when you're back, you get even more progress, and since the entire game is kinda exponential
Ohhh, ascension!
 
I wonder if I could get away with Running Civilization V in the background
 
12:01 PM
Golden rule of slacking off: Don't get caught
3
 
@Unihedron Compiling.
 
@MadaraUchiha restarting my AS
 
Jan 23 at 18:40, by Unihedro
Excuses:
My code is compiling.
Tests are running.
They just are, dammit!
It's uploading.
CI is rebooting.
It's scripted.
It's borked, hotfixing.
 
"waiting for the fucking thing to load" is my most current one, sadly not slacking off :(
 
lol :D
 
12:14 PM
@Unihedron which game are you playing xD ;)
 
thx^^
cause from what you've written it sounds funny xD
 
Prepare to be shocked because it's a text-based game that doesn't even have graphics at all.
 
who needs graphics, it has cool progress bars
 
^_^
 
12:19 PM
also the themes are funny, but they could use some improvement ;)
 
There's a secret mode that adds kitten pictures.
 
lol kk
 
I'm don't get shocked, i'm growing up at a state where all changes from old to new (I got from walkman and tape to now) so I programmed a few years ago a text based game in C
*eg from walkman to.... now
 
~building nests in batches of 1000
 
and ou both play it next to work? cause here it's mid of the working day xD
 
12:22 PM
batches of 10B...
@Zorian I'm a freelancer!
 
especially because Vogel lives in the same country then me xD
 
<- works from home
 
ah cool
i'm student at work before my bachelor starts in a few weeks xD
 
@Unihedron work from home master race!
though I do like to get to the office every now and then
 
working from home seems cool^^ yeah because you get more personal interaction ;)
 
12:25 PM
Meh, I want a proper full time job in the offices, but I have school to deal with
 
may I ask you how old you are cause of having scool and next to it working as freelancer I haven't heard from
 
16
 
oh xD and then you're a freelancer wow
that's cool
 
thanks
 
im 22 and only study and now have work intership for my bachelor xD
 
12:29 PM
"only study"
 
:O
 
I'm (not quite) 20 and I am so damn close to quitting my job to go studying
 
xD
 
now I feel old
 
rofl
you're only as old as you feel xD
 
12:31 PM
nagh, you're only as old as the person you're feeling up ;)
 
;)
@Vogel612 but why do you wanna quit your job? too boring or to less € or not that what you want?
because after this study I want to work, all my friends etc are working and it's times hard with lot less of €
 
@Zorian read from here
or from here
or read both
 
xD
I should work more then writing I think xD
 
that was yesterday and the day before..
ya that could help..
~brb, debugging possibly irreproducible bug
 
yeah a bit of this I followed but rather passive
Oo good luck
so thanks for the game, I try it^^ and now work a bit xD
 
1:32 PM
any one can help me with this please? I'm stuck
http://stackoverflow.com/questions/29797218/hibernate-search-the-searchfactory-was-not-initialized
2
Q: Hibernate search - The SearchFactory was not initialized

Andrea CataniaI'm trying to use hibernate search. Following this guide http://hibernate.org/search/documentation/getting-started/ I've added this two lines to hibernate.cfg.xml <property name="hibernate.search.default.directory_provider">filesystem</property> <property name="hibernate.search.default.indexBase">...

 
sup nerds
 
@AndreaCatania this is the second time I know of, that you posted this question here....
people who could have helped you, would have. We don't say nothing because we're jerks
 
@Vogel612 Sorry, I've posted again in the hope of notify more people and get an help...
 
2:03 PM
I surprised myself, turn out I wrote a script that automatically build the App for iOS & android
so instead of having to manually run the compile, add resources (images) and package it, I just run the script
I have no memory of doing this
but it's awesome
turns out*
my linguistic ability degraded something terrible
@Vogel612 how's that non-reproducible bug?
 
@Nisk [status-norepro]
^ that's waaaayyy cooler on mse chat...
 
@Vogel612 mse chat?
 
there's three different chat servers around here
one at SO, one for all the other SE sites and one over at Meta.SE
the second one is the chat-server to rule them all (~badumm, tish and thanks to priming)
 
...
 
I was actually wondering is there a way to get to the chat ouside the browser, I'm used to IRC, so Alt-tab to victory.
 
2:16 PM
afaik.. no...
 
@Vogel612 never thought I'd provide setup for a java coder....A fellow coder? Aye, I could do that.
:D
 
but ctrl+tab / Ctrl + W is sufficient to victory
 
@Nisk Providing shared setups is an important part of team programming with any language. Keep things exactly the same, and (a) they'll all work, or (b) they'll all break, and you then have everyone working to fix them together.
 
@Vogel612 ain't falling for that.
I always find shortcuts that always do the same thing - close the fucking window Im working on.
 
Alt + F4
Command Q
 
2:23 PM
@ShotgunNinja this one doesn't get it. sadface
 
sometimes Alt Q (for strange programs), more regularly Ctrl Q
 
@Nisk what, are you saying that I don't get it, or are you telling me that someone else doesn't get it?
 
2:38 PM
@ShotgunNinja the love of halflings pipe has slowed your mind
 
@Nisk Oh come on, I've only toked a few times
 
2:55 PM
@ShotgunNinja I'm not shouting at you? D:
 
01:00 - 15:0015:00 - 00:00

« first day (1643 days earlier)      last day (3298 days later) »