« first day (2469 days earlier)      last day (2696 days later) » 

09:00
depressing talks and people trying to be nice, really @AceVez
> trying to be nice
Ouch :c
I never said you didn't succeed in being nice
What makes a question a duplicate? I mean besides any other obvious reasons. Sometime it feels like a duplicate but then it's different. You know, more specific problems and constraints
If it is the same, it is the same?
@AceVez people on Stack overflow really like to mark things as duplicates without completely understanding the question
09:03
^ there
@AceVez sometimes people dont read
like i dont read what crowley just said
On a more serious note: I check if I can put the problem in words and google for it. I give it 3 tries. If I get search results displaying the same issue with solution, I flag as duplicate
Hello everybody
so i will explain in great depth why people dont completely understand questions
;)
hya
does any body have got expereince in jasper reports?
09:04
G'day
yea, often people simply mark as duplicate if the title seems to query the same thing, which is a mistake new askers often make
LAYOUTS >:|
LAYOUTS INDEED >:|
/javadoc StackPane
@geisterfurz007 javafx.scene.layout.StackPane: StackPane lays out its children in a back-to-front stack. @since JavaFX 2.0 (1/19)
09:11
stackpane is very useful
I wrap something working in StackPane -> nothing shows at all anymore >.>
good day, mr. IE
@geisterfurz007 maybe you have an empty element in front?
like a panel that has the same colour as the background and covers the other elements?
@CrowleyAstray Not that I know of... I create the StackPane with new StackPane(myImageView)
nothing else
Ah I am retarded >.>
2
no stars pliz
I wouldn't use StackPane if you don't stack anything and is anything in the ImageView?
stars
Yeah i am going to stack stuff...
09:13
just asking ^^
ScrollPane -> VBox -> StackPanes -> ImageViews and AnchorPanes with Labels on them above each other
Because I somehow need to show a preview of an image and this seems the only way of writing on an image with JavaFX
university was so boring that I just went home and got a few beers to calm
At least the cleanest one
@motaa and use Internet Explorer?
@geisterfurz007 yea, I used a similar layout for circles
I could throw everything on a canvas and play with that but I think StackPane with ImageView and Labels above is better..
09:15
well I was using my laptop from my workspace since I got a big licence for the software we use
@CrowleyAstray what about IE?
a single user licence for advanced ArcMap desktop is expensive :D
it is just that motaa revealed that he is using IE to me today, and I am not letting that go so easily
you will pay at least 10k euro a year for a single advanced licence
09:16
@CrowleyAstray since I am working (as a student) in a big research institute... they tell us what not to use.... chrome and firefox not allowed
use Opera ( ͡° ͜ʖ ͡°)
@motaa hit the teachers in the face
they have to wake up
ye without admin rights... aint that easy... I could go with portable though but still... use EDUROAM to download sth that is 200mb large of file size :D
Internet Explorer doesnt exist any more
Chrome is #1 used browser
I know but let me tell you one thing
09:18
you are student?
i know
it sucks
we develop rocket enginges and like nearly all of our plans appear somewhere in china :D
is it an internship?
no
@motaa woah :O
SO EIN GROSSER FEUERBALL JUUUUUUUUUUNGE
I just work 20 hours a week there as a "Werksstudent"
09:20
0.o
why translate?
because I cannot recall an english expression
well you are hired as a student
special kind of student
a student employee
and china uses IE?
it is really just that
i dont even know if a student employee exists in the modern world
09:21
@CrowleyAstray ye but without a must haveing social security and low taxes
@Wietlol most computers there runs on a non-legal windows OS which doesn't receive updates. But it's going to change slowly since win10 is "free"
yea, that's what a student employee is alright
ye but not in every country
ye but every country is shit anyway
I am luxembourgish and there they don't make a difference between being an employee as student or not
09:23
@CrowleyAstray thats not true! the Netherlands is... uhm... yea ok its true
students have a specific employee status
netherlands is an awsome country
was
a few years ago
@KarelG thank god you were able to put it in simple words :D
now we have a mass crisis with immigrants
09:24
rules can vary from country to country. EU allows its member to determine the conditions / requirements for a student employee
once we know how to deal with them, it will be better
but they should have their own status (for insurance eg) .
-6
Q: Xcopy invalid Drive specification error

Aditya GargI have a bat file on windows server1 which copies a text file on the c drive to c drive of another remote windows server2. When i run the batch file the copy command successfully gets completed. But when i execute the bat file from server2 through PsExec the copy command gives invalid Drive spec...

@Wietlol Hi
Comments under this are great :)
09:25
@Wietlol we are instructed to use IE... so I have to obey :D
sorry for late reply
I like this community :D
685391 bytes
@motaa just fyi, Luxembourg re-uses the laws created in Belgium / The netherlands (and vice versa)
@KarelG and switzerland and germany
and that is not entirely true... they look for best practices and chose what could work
09:26
or they work together. Eg if you subscribe a new brand in your country, it's valid for the whole Benelux
if you do understand german... here is a famous JC- Juncker quote
That's why "Wendy's" cannot put a shop in Belgium / Luxembourg because a dude in The Netherlands has branded that name on his own, for his restaurant :|
he once said: "Wir beschließen etwas, stellen das dann in den Raum und warten einige Zeit ab, was passiert. Wenn es dann kein großes Geschrei gibt und keine Aufstände, weil die meisten gar nicht begreifen, was da beschlossen wurde, dann machen wir weiter - Schritt für Schritt, bis es kein Zurück mehr gibt."
he is talking how politics in luxembourg work :D
meine deutsch is nicht sehr gut :|
@Pigman168 thanx @Pigman168
09:28
@Showkath just convert it to a string then
but I think you could do mass improvement by providing the wanted behavior in a different place
what is this search'n'replace supposed to do?
translated it means:
They put new stuff (regulations, laws) out there and wait for some time until sth. happens. If nobody is yelling nor opposing due to the fact that nobody really understands what we just did, we will continue step by step until to the point of no return
Commands=====================
/8ball     Simulates a magic 8-ball.
/about     Displays information about this bot.
/afk       Allows users to mark themselves as "away".
/cat       Displays a random cat picture. :3
/define    Displays word definitions from the dictionary.
/groot     I am Groot.
/help      Displays this help message.
/http      Displays information about HTTP status codes and methods.
/javadoc   Displays class documentation from the Javadocs.
/learn     Teaches the bot a new command.
/halp
/javadoc
09:29
@HarishKamboj Type the name of a Java class (e.g. "java.lang.String") or a method (e.g. "Integer#parseInt").
/halp @CrowleyAstray
now that's one mean cat
09:30
/javadoc String
Which one do you mean? (type the number)
1. java.lang.String
2. javax.print.DocFlavor.STRING
@HarishKamboj java.lang.String: The String class represents character strings. All string literals in Java programs, such as "abc", are implemented as instances of this class. @since JDK1.0 (1/12)
and ye for the sake of finishing this IE discussion... I know IE is crap but since I am working in the public sector it is mandatory :D
@motaa You messed around with opacity didn't you?
09:31
not even Edge?
where?
@CrowleyAstray edge is allowed but on win7
@Wietlol would like to trim millsec to 3 digits i.e 1234567Z to 123Z in InputStream
it may be in many places
it is dynamic content
so we used regx
The only thing to apply regexes on is on Strings... Not on bytes.
09:32
@geisterfurz007 no I didnt... I set -fx-background-color: transparent
motaa... you should check how belgian politics works ^^
yeah , is there any to apply regex on bytes
@Showkath but where does the data come from?
yea, you would need to implement something of the sorts yourself @Showkath
String search= "([0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3})([0-9]{4})(Z)*";
Stringreplacement = "$1$3";

byte[] pattern = search.getBytes("UTF-8");
byte[] replacementBytes = replacement.getBytes("UTF-8");
09:33
Actually I might have been wrong...
absurdistan ;)
2
@Showkath regex doesnt work like that
> regex is not the tool for the job, you will instead need to implement that from scratch
regex != bitwise comparison
09:33
that is literally the accepted answer, so no, you weren't wrong xD
I've said before that you cannot use regex on a bytestream
@KarelG I love belgium... one thing that I don't like is speaking french though... 13years learning it in school branded me in wanting to not ever speak it again :D
@CrowleyAstray below there is one way higher voted that actually shows something that seems to be working :)
@Showkath you cannot do the dynamic replacements on the stream with any library i know of
@geisterfurz007 yes, by converting it to String
09:34
i suggest you to just read it out completely and then do the replacements
but that was always an option
however it is possible to write a regex that works with bytes, but it's complex and leads to unnecessary side-effects due of string encoding a bytestream can be transferred into
i assume that you dont need hyper performance
you don't know what a bytestring would represent
@CrowleyAstray errrrrm.... I saw that! Clearly did not miss that tiny details there
:D
09:35
Ok Got it thanks
@KarelG the problem is not the regex
the problem is dynamic replacements on a stream
you can easily put a filter on a stream that reads in each byte, checks if it can be replaced based on the next bytes, keeps the bytes until it matches the search or stops matching the search, then ouput those bytes or their replacement
did i not say that ?
with regex.... it is harder
"but it's complex and leads to unnecessary side-effects due of string encoding" not necessarily what i said
" a bytestream can be transferred into" is not pointing out the issue of streaming
@geisterfurz007 this I had to do 5 minutes before I had to present the project... http://imgur.com/a/2sGXs
the Prof. liked it since I was the first one using different colors and straight lines with 90° curves.... if he would know that I did it by just using paint and copy pasting stuff from opther pictures :D
if you have a block of bytes, how would you know when it starts and ends for the character ?
09:39
that is one problem, but that is string encoding
"lorum ipsum 😶 dolor" <--
@motaa lmao
There is an actual program for it :D
I know
its called fritzing
or japanese characters ...
And my compiler went drunk again <.<
09:40
sometimes they pick 2 bytes , another 3 :|
@geisterfurz007 but they didnt have the parts that i needed.... and i didnt find them anywhere on the net :D
@KarelG but the byte replacement can be done on the bytes even without converting them to characters
because he searches for the bytes of specific characters
not trying to get the characters of each byte(s)
I hope he didn'T see the bright blue line on the right on the output pins :D
09:41
maybe I didn't explained it well
(or misunderstood ya)
@Wietlol could you share some sample code /algorithm for my requirement , how to find matching bytes in large stream
@Showkath that is rather hard as I said before, you should just read it out, convert it to a string and then do the replacement
@Showkath what kind of stream? InputStream or the J8 Streams api?
Inputstream
then check the execution time compared to the execution time without the replace
09:42
How do I get my compiler sober again?
if that difference is too large, then think about how it could be optimized
Pliz help
Itz urgent
@geisterfurz007 let it chill for 12 hours
Ugh... No possible. Have to use still
or are you not refering to alcohol? :D
09:43
does oakbot support javascript ?
don't think so
Need to have it running afap
/'9'.charCodeAt(0)
/8ball do you support javascript?
@Wietlol You may rely on it
09:43
well, there is your answer
not only conversion overhead but also memory consumption , if inputstream is more
:D
@Showkath im not sure where you run this, but memory consumption shouldnt be an issue
how to send js command to it? (cannot find doc ...)
> FXMLLoader.load(forDebug);
Gives NPE
forDebug is not null
this thing went full retard mode <.<
Ah no.. Missed something
09:45
@geisterfurz007 NPE on what=?
Still makes no sense tho
@motaa was line after that; IntelliJ seems to be drunk as well >.>
ah, yes. ye good olde internal Null-Pointer Exceptions with JavaFX
@geisterfurz007 I would suggest to shut down you system for a few hours and let it recuperate :D
@geisterfurz007 what is forDebug?
09:47
@Wietlol lol. i was going to use oakbot to display that here
anyways, try that with an unicode character
I want to have an AnchorPane but transparent. On there there should be Labels that display values. But I dunno how to do that
If I set the opacity of the pane down, the labels should vanish as well..
Or can I set them manually up again
@motaa hilfäääää
:D
'7'.charCodeAt(0) <-- gives 55
'😶'.charCodeAt(0) <-- gives 55357

the bytes at 2nd starts with 55. So it may interpret it as 7, leading to new start at 357
@geisterfurz007 I suggest css
@geisterfurz007 don't use opacity use: -fx-background-color: transparent;
yea exactly
09:50
@CrowleyAstray I did not have the time yet to look into the css part of fx sadly
set the background color of your root pane to some color
and the background-color of you items in there to transparent
it is really easy
@KarelG i know, but we are using the characters [0-9.ms]
most elements (except layouts like AnchorPane) already have usable style-classes
so we dont have that problem
and we even use a constant encoding "UTF8"
09:51
and try -fx-background-fills: #xxxxxx on the root aswell
you will get that in utf-8 too :P
just look for characters in 100+ area
@KarelG on the other hand... how does new String(bytes) work then?
it uses some algorithm to determine the characters
we could use the same
the start of the stream indicates the encoding
but then again, we dont need characters
we need bytes
thats all
@geisterfurz007 here is my css file for the geosensoric course https://paste.ofcode.org/GqBknutCXEiThkNLHvYJzw which led to my small programm looking like this
http://imgur.com/a/EzvEN
09:53
Now I crashed something else >.>
JFX WHYYY
@KarelG shouldnt be too hard to make it work, but i never used filter streams before
there is some redundant code in my css but I didn't care anymore for that course :D
now looking at the css again -> horrible structure :D
> who cares
@motaa
@CrowleyAstray most Professors don't even take a look at the code... especially the one I got in that course.... that guy only got some basic python skills and is not getting tired of telling us how awsome numpy is (dude we know how awsome numpy is....)

« first day (2469 days earlier)      last day (2696 days later) »