« first day (1479 days earlier)      last day (3461 days later) » 
00:00 - 17:0017:00 - 22:00

12:00 AM
Snoring
 
Bye!
 
My snoring too much?
I can try to snore louder if you wish.
It's late, I'm bored...
 
12:35 AM
OK, it's not so late...
 
12:49 AM
Failed to sync Gradle project 'AndroidFunnel' @Kylar
My youngest two daughters [12 years & 17 years] are doing the Hokey Pokey....
 
1:28 AM
Any1 alive?
 
barely
 
What can I do to help?
 
I'm listening to the 10h version of the autotuned sunnyD and rum song while playing mahjong :')
 
I'm stuck to listening to Mahna Mahna for about 10 hours a day
 
XD
That one's worse
 
1:35 AM
It's been stuck in my head for about a month now....
 
oooh men without hats - safety dance! :D
 
Tainted Love - Soft Cell
 
Love that one too
 
Lunatic Fringe - Red Rider
Sometimes It Snows In April - Prince
Batdance - Prince
 
Not so much a prince fan though :P
 
1:39 AM
One - Metallica
None of them work
 
InI,
Keep trying
And you gotta listen through it all
 
I Write the Songs - Manalow
Then there are the unintentional DIRTY songs...
Bang Your Head - Quiet Riot
You've Got a Friend In Me - ??? [Toy Story Soundtrack]
 
I don't need my own playlists with this golden thing :')
 
Cat's In the Cradle - Alice Cooper
^--- Doesn't exist, yet. NEEDS to!
Ever try country music?
Ever listen to country music backwards?
 
1:56 AM
Chat chat = new Chat("Hello", "itrollin98")
Chatroom.leave()
 
Hello
Your code failed. Both lines need ;'s
:P
 
Exception in thread "main" java.lang.NullPointerException
at main.source.Maind.main(Main.java:2)
 
I cannot get my code to go to my tablet for a test run....Not sure what the problem is
 
2:14 AM
I got a nullpointer exception in leg.skin() and move() don't accept a null and body.heal() is running slow in another thread. :/
And it's all thanks to the plug-in doctor.biopsy(run).
They are all part of my program firstWorldProblems
Which also runs ass.fatten()
 
LOVE the names you used!
 
When move() is null
;D
 
Ok let me try this again.
 
It's fun to write your story in java-like code :P
 
Do you guys know a reliable way to spam System.out?
I tried this:
public static void main(String[] args)
{
Random rand = new Random();
int prime = 1;
while (true) {
int i = rand.nextInt(128);
System.out.print((char)i);
}
}
But some were question boxes and question marks
 
2:23 AM
Lunatic Fringe -- one of the greatest songs ever!
 
Here, I'll give you guys a sample output.
Nñ?äcÓ?????{
An ideas?
 
L.F. is a GREAT song!
You are outside of the alphabet. You want to start at 64, and add your random 1-26
 
The Java System console has limited character encoding.
 
2:40 AM
Ok.
I ran the output in command prompt and it worked, so all is well.
 
And don't start at 64 -- avoid "magic" numbers. Start at A or a.
oops, stupid formatting, 'a' or `'a'~
'A' or 'a'
 
2:53 AM
@HovercraftFullOfEels You are correct. That makes it easier to know the intent.
It's something not quite oblivious, but it makes perfect sense
 
3:09 AM
posted on November 10, 2014 by Artist

Not much going on at the moment other than my first world problem of doctor.biopsy(run); causing leg.skin(); to return a null, and while (healing){      if (skin == null){          body.move(false);          ass.fatten();      } } And then body.status(); throws a PainfulException

 
3:53 AM
Hmm
 
4:34 AM
@Gemtastic Yes, the feeds posting mechanic isn't very smart about code.
Maybe I'll Feature-Request that.
 
If that's possible, it would be great
 
New video!
Oh.
 
4:51 AM
6
Q: Should [java] be removed from certain [scala] questions?

Jason COften I see scala questions dubiously tagged java as well. Currently there are 2,825 questions with both tags. Here is an example of one that I feel shouldn't be tagged java: println _ in Scala: Why is the type () => Unit instead of (Any) => Unit? Of course, there are some where the tag does...

 
5:03 AM
 
5:13 AM
Hey guys I've had a problem with Java and I really don't know where else to turn. Anyone here use Ubuntu semi-regularly or regularly?
 
@samrap continue?
 
well, I've been doing web dev for over a year and wanted to learn game dev, my problem is that when I try to create a buffer strategy with more than one buffer, my computer freezes
I have more detail here: askubuntu.com/questions/546615/…
I know no one liked people posting their questions in chat but i wouldve just typed the same thing anyway
 
Dev
5:28 AM
hi guys
good mornings
 
Morning!
 
Dev
@Unihedron howa re you?
 
@samrap Hmm, I'm not sure, I think it's an ubuntu specific thing. I upvoted your question though, hope it helps people seeing it.
 
Thanks @Unihedron I appreciate it. Impressive SO profile btw!
 
@samrap Thanks!
New shortlink for "what have you tried" boilerplate lesson: whathaveyoutried.com
 
 
1 hour later…
6:50 AM
Oh the peace and quiet!
 
 
5 hours later…
11:31 AM
anyone here?
 
@xR34P3Rx It depends on where you mean by "here".
 
online, other than you, apparently
i need help with java
 
@kiheru @Kylar @fge @samrap !!/alive?
Empirically, no one / bots are here. Better luck next time!
What's your issue?
 
agh, well i need help with KeyListener
 
Hello, I can't state with certainty whether I'm present or alive
 
11:35 AM
bot?
 
In-development Java library for developing chat bots: JChatExchange
4
 
anyway, you'll have better luck getting help if you state the problem
 
@kih ^
@xR34P3Rx ok, and what's your issue?
 
11:52 AM
did you read the post? its all in there
 
Yeah, it's a code dump with a statement "I haven't ran a debugger yet"
 
how can i debug it then?
 
@xR34P3Rx Where do you try to detect the keypress? Implementing a KeyListener is not enough, you need to add it to somewhere (to a Component)
 
@kiheru well, it doesnt have any components, its all cli
 
You need to read the key presses from somewhere. AWT just does not let you read everything from the keyboard. You need a window if you want a KeyListener, or you need to read from stdin of the cli program
 
12:04 PM
Welcome back, @Jason!
 
@Unihedron Meta ping sounds are way better.
 
@kiheru
ill check it out then
 
@JasonC Meh, then you haven't heard of the default chat.SE sounds. They sound like hammering.
 
Greetings
 
Hey @Joe!
 
12:08 PM
Hello
 
How is everybody?
 
messing with ftp
Cool, I have a page!
 
youre a web developer?
 
@xR34P3Rx I'm not.
I'm one of the developers of: devdoodle.net
Oh my, this room is never on-topic.
 
@kiheru I'm trying to put the code on my tablet now
It's an Azpen...Hold - Wrong room. :(
 
12:18 PM
You gonna ask in the smart developer zone? :P
 
Java & Android era
LOL
 
What else could you get with Enterprise code?
 
in Tavern on the Meta on Meta Stack Exchange Chat, 1 min ago, by cVplZ
oh man, thought of a crazy million view idea for youtube
in Tavern on the Meta on Meta Stack Exchange Chat, 1 min ago, by cVplZ
someone should let like 100 birds loose in a walmart, that would be awesome funny
@Joe ^
 
12:26 PM
Sounds like fun!
 
12:44 PM
What you want to do is send a slinky, or 5 walking down the up escalator, and run around yelling "RUN! RUN! BE FREE!!"
 
12:56 PM
For a Scala question, when do you guys think it would be appropriate to also add a tag?
 
@JasonC when it relates
if it's about programming in scala, it doesn't need the java tag, as it doesn't help define the question or make it more accessible to scala devs
 
I just found a warning about doppelgangers in a users manual!
 
For example, that one you just posted on the Tavern which I retagged, didn't need the Java tag.
 
@Unihedron stackoverflow.com/questions/26814578/… (for example) ; it relates, does it deserve ?
 
@JasonC Yeah, it's talking about both java and scala, and explicitly mentioned. While it doesn't concern mostly Java, the question does partially ask about Java (Java does this... Scala does this... What's the design purpose?)
 
1:06 PM
@Unihedron Ok (and I'm just playing devil's advocate here); so if I did not know Scala, but were heavily active in Java, is it justified for that question to pop up in my filter, and who does that help?
 
@JasonC Now add hibernate, maven, gradle and that entire list of technologies that no Java-heavy java dev does ever, and you'll understand why I eventually stopped answering questions.
shrug
 
1:19 PM
Hi i am new to java and have a basic query, Does java have inbuilt libraries to deal with rest api(i.e getting response from a rest service)
 
2:06 PM
@Tarun nope... and that's a pity else I'd gladly use that for Junior
scala != java
and if you tag with both you better have a damn good reason to..
similar with asp-classic and asp.net
 
@Vogel612 Yay, Junior!
 
there is legitimate questions with both tags, but meh.
 
are*
sorry, can't help but it was in bold
 
@Unihedron didn't you wish it were as easy as using some inbuilt REST library?
 
@Vogel612 of course
so @Vog, is there a particular advantage of using Mechanize over other libraries?
 
2:08 PM
@Tarun There's generic HTTP request / response but nothing provided on top of that really. It's not the approach you'd want to take.
 
I started working on the abstract parts of jSEchat, so if Mechanize is worth the trouble I might wrench it together, otherwise I'll just use HTMLUnit like I started JavaBot with. Except second time's the charm.
 
@Unihedron in comparison to HtmlUnit, which abuses my currently open browser instance and doesn't work when running over my account....
it's kinda dead simple
that being said, you shouldn't abuse the JsonChatConnection as you're doing now..
because you're cheating your way out of creating a dedicated event listener thread
 
@Vogel612 Well, HTMLUnit does allow you to choose between mimicking IE, Firefox or Chrome. It's set to Chrome atm.
@Vogel612 :P
 
mechanize does allow that, too...
 
 
1 hour later…
3:22 PM
@Vogel612 Actually, I'm aware that Mechanize does carry as good of capabilities as HTMLUnit. It's just that Mechanize takes more work to set up, and most of the work has been modularized by HTMLUnit. At the end, I think the hack on the connection is the only part you didn't like.
 
maybe...
that said, did you get processing to work again on development?
 
I'm still going to try get a better look over mechanize though.
Yeah.
brb
 
then I'll rebase my dev up onto your dev and properly get the event querying down
JsonChatConnection will get killed ...
 
lol, it has to die
we should post that code on HO when it airs
see the reaction
 
3:40 PM
HO?
 
Is it possible to convert keycodes back into a key? (as in get the key value)
 
Hi all, does anyone has any idea on the below question plz, stackoverflow.com/questions/26847423/…
 
@Trevi value -> key in map you mean?
 
Yes
 
3:48 PM
Java 7 or Java 8?
 
J8
 
You have two choices: 1. Iterate with forEach and return the key, however notice that this is unreliable as the first match may not be what you want ("linear search")
You may be looking for 2. a BiDirectionalMap, which supports both key -> value mapping, and value -> key
 
Hmm thanks @Unihedron
 
actually not foreach, findfirst
map.entrySet().stream().filter(entry -> entry.getValue().equals(yourvalue)).findFirst();
for (final Entry<K, V> entry : map.entrySet())
    if (entry.getValue().equals(yourvalue))
        return entry.getKey();
return null or throw new IllegalStateException() or whatever;
 
4:05 PM
Thanks!
 
fge
Huuh
I received a mail wrt one of my projects asking whether it is safe to provide against US export compliance rules; how on Earth am I supposed to answer that?
 
4:21 PM
Huh...
 
4:39 PM
@Unihedron hi
@fge hi
 
@overexchange hi
 
@Unihedron I think you're overkilling things here..
 
@Vogel612 oh?
 
@Unihedron in this code i could have used interface keyword rather than abstrct class
 
the value->key mapper code above?
 
4:41 PM
am i correct?
 
yep, if you get rid of the abstract keyword in the method.
 
naah in the JChatExchange
 
@Vogel612 Oh.
Should I pass around JSONObjects instead? I want it to be as easy to use as possible.
 
also I don't understand the use-case for half of the interfaces in the Util package..
 
@Unihedron so am trying to understand, why do we have two concepts interface and abstract class, let us just consider i dont have common implmentation code and data members in my scenario for time being. when do i think of interface keyword?
 
4:43 PM
@Vogel612 It will come together. I promise.
 
@overexchange abstract classes can have members, interfaces can't
neither is instantiable though.
 
Right now there's only one line... There will be a functional lane... Then an implementation lane, which actually renders most of the interfaces useless but are developer-defined to be more useful than collecting objects.
@overexchange Look:
Yes, look very closely, the magic is here:
 
additionally annotations are also a specific kind of interface
 
@Vogel612 The topic implies a learning programmer, let's not go that far yet. :P
 
hmm yes..
 
4:46 PM
funtional lane? i did not get u
 
I'll put up a legend here:
 
When you're using abstract classes, every class can only extend ONE and ONLY ONE of the abstract classes.
So the yellow class, which extends the yellow abstract class, cannot extend both the green abstract class and the yellow abstract class at once.
This is called subtyping hierarchy: For all A subtypes of B, There can be multiple subtypes of B, but A can only be a subtype of another class. One only. Max.
 
ya i used extends keyword
 
Here are four interfaces:
To give them meanings, I'm going to write words next to them:
Then now, when a class can apply more than one interface that matches what they should be defined as, they can! It simply looks like this:
So in your specific case, it doesn't matter, because all in all it's just one type used by probably that other class.
But when it comes to asset lanes which keeps a system running, picking between interface and abstract classes are important for good design!
 
4:53 PM
so when a subtype class(say pond) need to inherit from multiple super types, better to make that super type as interface. is that the onl reason we think of interface
?
 
That's mostly when we use Interfaces over Abstract Classes.
 
However, I'm also going to poke you into realizing that there's no line drawn between the uses, then can combine when it's suitable.
I'm going to replace the Web Browser interface with an abstract class of the same thing because it stands out and deserves a class on its own.
And now the design is perfect!
So, quick recap: A class can extend at most one another (abstract) class. Implementing interfaces doesn't have this limitation.
 
ya this is multiple inheritance
so this is the only reason, we think of interface over abstract class?
i hear the word contract when using keyword interface, is this different concept?
what is this all about?
 
00:00 - 17:0017:00 - 22:00

« first day (1479 days earlier)      last day (3461 days later) »