« first day (2860 days earlier)      last day (2095 days later) » 

12:00 AM
"I’ve missed more than 9000 shots in my career. I’ve lost almost 300 games. 26 times, I’ve been trusted to take the game winning shot and missed. I’ve failed over and over and over again in my life. And that is why I succeed." -Michael Jordan (source)
 
 
1 hour later…
1:21 AM
farts
 
 
2 hours later…
3:40 AM
oh no
 
@JennaSloan ?
@AMDG I think most since prominent browsers are going to tag http sites with warning
 
4:03 AM
 
 
1 hour later…
5:12 AM
morn
 
morn
 
user8622974
morn
 
5:26 AM
morn
 
user8622974
morn
 
morn
 
when I implement an interface into an enum from a XSD file through jaxb. How can I actually implement that interface without losing the implementation everytime I run my program? :D
 
Zoe
6:07 AM
Morn
 
user8622974
Morn
 
morn
 
Morn
Sup?
 
7:06 AM
Morn
 
user8622974
Morn
 
morn
 
@Alan good .. how is going on??
wcb @Zoe :)
 
Good morning good people
 
good noon mate
 
7:18 AM
morn
 
morn
 
user8622974
morn
 
I have been creating a crypto exchange for the last 6 months!
But i still havent settled on a db system to use since the needs keep evolving
Is there a thing such as a recative database system
 
@objectiveME huh? Schemaless DBs are not suiting your needs?
 
@Vogel612 To some extent they are not and for this reason. Sometimes,i need to select say 10 records. If a contract comes in and i want to push it to items i already selected,i would have to push it to the existing query or just do a new select. It would have been awesome if didnt have to add to the existing result set but it would work for me if the new contract added itself
 
7:34 AM
@Simmant great thanks, are you fine too? :)
 
7:47 AM
@Alan yes bud, I m fine too :)
 
8:02 AM
morn
 
user8622974
morn
 
morn
 
8:19 AM
/8ball
 
@Alan Very doubtful
 
MMMMMMMmmmmmmmmmmmmmmmmmmmmorno~
 
morn :D
 
@wonderb0lt ~yyyaaawn
 
Oh hey Vogel! You're still alive! Yay!
 
8:22 AM
alive and kicking. mostly kicking OSGi :)
 
Zoe
@Simmant thx
 
Yikes, OSGi is no fun
From what I heard
 
9:01 AM
hey all ...I have a question on generics
Assuming m1 as a static method
public static void m1(? super A) {....something...}
what can I pass in place of '?' if A is an Interface
 
9:17 AM
wrong method
 
@Zoe wc
 
@Swapnil not sure why you'd ever need a super specialization in a method parameter
 
im sorry this is correct one: public static void m1(ArrayList<? super A> al){}
 
probably just Object
 
10:01 AM
@Swapnil anything that the interface extends
 
@Wietlol super, not extends
 
yes
and I said "anything that the interface extends"
? extends T means "anything that extends the interface"
which is the other way around
 
ahh ...
misread that. sorry
 
Object is an exception, you can also pass a List<Object>
interfaces appear to extend from Object as well
even though an interface cant extend a class
 
10:38 AM
Thanks @Wietlol @Vogel612...I got some understanding....I have to try with more examples to clearly understand this...
 
11:22 AM
This is gold
 
11:38 AM
No u
:3
 
@AceVez no, that is PHP
 
Zoe
@Simmant huh?
 
"welcome"
 
Wietlmao
 
sigh
 
11:43 AM
wietrofl
 
Wietwhat?
 
wietlmfao
 
sigh
 
posted on August 22, 2018

archive - contact - sexy exciting merchandise - search - about ← previousAugust 22nd, 2018nextAugust 22nd, 2018: RIP DOLLFACE DANNY, you truly had a doll's face.– Ryan

 
/cat
 
O.O
what have i done
 
A group of ferrets is called a "business." (source)
 
/fatcat
 
Orgh not that again
/cat
 
/omegalul
 
XD XD XD XD XD this one was for the lolz
 
/cat
 
Hello :)
 
12:05 PM
oh no
 
12:16 PM
does anybody by chance know how I can reference a class as attribute type inside an XML schema?
for example: I usually have sth. like this: <xs:attribute name="status" type="xs:string" use="required" /> and I want to use my classname of a class inside the project instead
somehow I can't find anything that points me into the right direction :)
 
@Zoe huh??
:D
 
/fatcat
 
12:33 PM
/sandbox
 
Please go play in the sandbox
 
/..
 
@motaa what is wrong with className="java.lang.Object"?
 
@Wietlol the thing is I have a very, very special case
 
special.java.lang.Object?
 
12:47 PM
I have this enum hastebin.com/uxebezepec.cs
I can't generate that kind from an xsd file
also I can't extend it
but inside my xsd I have a class definied that has an attribute of type of that enum
 
ofcourse you cant generate a new value, you need a lookup
(also, dont make your getters value(), its bad, trust me)
 
this enum was generated from the xsd
but I can't implement the interface
because when I implement it, the class gets overwritten every time
 
what interface?
 
@Wietlol this one hastebin.com/sizegobinu.cs
 
why cant you implement that interface?
 
12:53 PM
because I can't add logic to it... every time I compile the program, it overwrites my implementation with the newly generated one
 
what newly generated one?
 
do you know jaxb? :D
 
ow wait, I think I get it
you auto-generate this enum and want to add stuff to it manually?
 
yes
well since I could not accomplish it, my idea was to take it out of autogeneration and use it inside the xsd as an external reference to it
usually you would create a class that is abstract or implements an interface and derive from that class with your implementation
but in this case since it is enum it does not work as I want :D
 
i hate auto-generated code
 
12:59 PM
me too
but it is an open source project that I need to extend a bit to be able to perform master thesis stuff
 
why do you need to extend it?
cant you make functions that operate on the enum value instead?
 
I think that'll be a little overhead
it is a microscopic traffic simultator
 
why so?
 
on the second thought
you might be right :d
the final constant will work
 
final variable?
 
1:04 PM
@Wietlol yeye :D
 
i never said that
 
Wietlie
 
UNBANNED!
wait... BANNED!
 
... no ?
 
@geisterfurz007 clean this room up!
remove @Unknown
 
1:07 PM
Don't ever say anything like "clean ... up" to a German
in reference to humans
 
it worked before
@motaa that generated code is horrendous though
next() doesnt even work
fromValue uses O(n) lookup
oh nvm, somewhere in the parsing, I lost ` - 1`
 
@Wietlol ye I forgot it intitally :D
 
oh, then that code was horrendous :D
and my IDE isnt borked
yay
 
ye :D
@Wietlol actually it was the autogenerated code
 
wait what?
 
1:18 PM
I just implemented the next(method)
 
you could also just not use an enum
or not use auto-generated code
imo, auto generated code must be top quality
if not, then it is rubbish
 
I totally agree
but again I need to build on top of what I have here
this is the xsd definition of the enum
 
i never worked with xsd
and I guess I never will
 
me neither prior to this case
 
well, once has to be your first time
except if you are Wietlol, I always skip the first time and go straight to the second
 
1:26 PM
I wish the original project was not build on xsd stuff :D
 
Everytime I read "xsd" my brain thinks it's going to be a emoji
 
Hello world
 
Or whatever those text-based smiley thingies are called.
 
Anyone has some experience with vert.x
 
(nope)
 
1:30 PM
> Eclipse
ew!
 
(sad face)
 
Hello
 
morn
 
user8622974
morn
 
morn
 
1:31 PM
mid
 
@Wietlol we use in school
 
still, it is horrible
 
I use at work
 
@Wietlol agreed.
I am confused on some stuff
 
who isn't
 
1:33 PM
I
 
I want to use InteliJ instead of eclipse for school
But I don't understand the concept of a non scratch project
 
in Jaba, there is no such thing as a scratch project
 
wdym
 
//help
 
user8622974
###################### Help ######################

==================== Commands
//about              | Let me tell you a little about myself...
//alive              | Used to check if the bot is working
//apples             | Apples!
//ban                | Bans a user from using the bot. Only usable by hardcoded bot admins
//ban-room           | Blacklists a room
//blame              | No description was supplied for this command
//cat                | Sends a random cat picture in chat
//declare            | Changes a commands status. Only commands available on the site can be edited
 
1:36 PM
//ip
 
user8622974
@Unknown I'm afraid I can't let you do that, User
 
Did you just call me "user" you stupid bottard?
 
@Wietlol wait I may have figured out
 
@Wietlol I am on vacation. Leave me alone!
 
NO
 
1:38 PM
Whats package com.company;?
 
Baby don't hurt me, don't hurt me, no more!
 
sorry
 
@JBis That is your company. If you remove that line, your company disappears with it.
 
@geisterfurz007 lol
 
It says "com.company" because Java uses to stutter a little when talking about packages
 
1:42 PM
@Unknown I don't have one in my free write crap
I just start with imports
and them my class
P.S. that solved all my problems ^^
 
package "..." pretty much specifies where the current file is
You may want to try out Google.com for further questions
 
ah
I see
gotcha. to avoid conflict im guessing?
 
Probably, I don't actually know why, but I'm sure google.com knows
 
google.com seems to know a lot of things
 
It's crazy isn't it?
 
1:47 PM
:)
 
@JBis Yes. Convention is to use your websites domain backwards (eg com.google.myproject) to make sure there is no other class with the same name anywhere out of your control range.
 
Zoe
@geisterfurz007 You are? owo
 
Yes. Leave me alone! :D
 
but we need you
 
It's almost 13 xD
@Wietlol Find another janitor for the two weeks
 
Zoe
1:55 PM
@geisterfurz007 YOU'RE almost 13?! :p
 
@JudeNiroshan how was the interview?
 
@geisterfurz007 Almost 1pm? Are you in Cape-Verde?
 
Zoe
GMT -1 without DST I guess
 
@Unknown dafak
 
What?
 
2:06 PM
You are creepy ._.
 
lmao
Cape-Verde is the only place on earth where it's 1pm right now
I actually wasted my time googling where you could be.
 
Lol
Not really less creepy
 
:D
(There is nothing else on that vertical line thingy except the poles and greenland.
Oh and Iceland maybe
But none of which appeared, so they probably use / don't use DST
 
2:22 PM
is there no array.foreach()?
 
@Nicktar It was quite okay. I actually wanted ask from you about the living cost in hamburg. How much do I need to earn per anum? They asked me, I said I don't have an exact amount. but somewhat betweem 40 - 50. But when I put that value to the tax calculator, I was shocked
 
hi!
 
Zoe
hiya
 
Whazzup Zoe?
/cat
 
2:34 PM
xd
 
Fuck you System.out.print()
public static void echo(String myString) {
        String[] myArray = myString.split("\\\n", -1);
        if (myArray.length > 1) {
            for (int i=0;i<myArray.length;i++) {
                String myNewString = myArray[i];
                if (i != myArray.length-1) {
                    System.out.println(myNewString);
                } else {
                    System.out.print(myNewString);
                }
            }
        } else {
            System.out.print(myString);
        }
 
Jbis what is the prob of the code (didn't analyse it)
 
No problem.
I created an echo method to replace System.out.print
 
/facepalm
 
2:39 PM
nobody there familiar with vertx?
 
@Alan :)
 
@JBis boredom at work :D?
 
@JBis you didn't optimize it though
 
@Alan yes
 
@JBis same lol
 
2:41 PM
also I just realized the System.out.print can take \n
 public static void echo(String myString) {
        System.out.print(myString);
    }
we should create a library for java that allows all the php functions to work
 
/no
 
@JBis just make a request to a php page that does eval
 
@JennaSloan party pooper
 
Zoe
2:44 PM
@JBis Why are you using -1 as the second argument to .split?
If you don't want a limit, don't pass one
 
@Zoe well its gone now but "oh"
thought it required second arg
 
myString.split("\\\n", -1); can someone explain me this line, just curious (beginner in Java)
 
socket.io anyone
 
@Alan its my dumb ass idea to.....
 
2:47 PM
Split a string up to parts. It splits at every \n
"Foo\nBar" → ["Foo","Bar"]
 
Got it thanks @JBis :)
 
I don't think you actually need the first \\ in "\\\n"
 
@JennaSloan didnt test but figured regex would read that as an actual new line instead of "\n"
 
but why don't you have only written \n than? When It should split at the new lines?
 
In computing and telecommunication, an escape character is a character which invokes an alternative interpretation on subsequent characters in a character sequence. An escape character is a particular case of metacharacters. Generally, the judgment of whether something is an escape character or not depends on context. == Definition == An escape character may not have its own meaning, so all escape sequences are of two or more characters. Escape characters are part of the syntax for many programming languages, data formats, and communication protocols. For a given alphabet an escape character's...
 
2:52 PM
It looks like "\\\n, "\\n", and "\n" all split at '\n'
 
Yes that's clear for me but shouldn't it be then only \\n (In my opinion) @JBis
 
@Alan well that's because I am an idiot
@JennaSloan but you don't need it anyway
 
It was only confused as when I programmed in Linux, bash I always ended up with only one \ for the escape char.
 
 public static void echo(String myString) {
        System.out.print(myString);
    }
@Alan When u start with java?
 
Zoe
Regex works differently though.
 
2:56 PM
@JBis like 2 weeks ago. I always coded in C. (actually not a long time) as I am only 17 xP
 
Zoe
If you want the String literal \n, you have to escape the backslash
Otherwise, you split by the line ending character, the one that
does this
 
@JBis ew
 
Zoe
@Wietlol golfing ftw xd
 
ew
 
Zoe
No u
 
2:58 PM
@Alan ah. I started like 6ish weeks ago.
 
i grew to despise golfing
 
@Wietlol I am glad you like it.
 
aight off going home :)
 

« first day (2860 days earlier)      last day (2095 days later) »