« first day (1458 days earlier)      last day (3497 days later) » 

12:55 AM
Hi all, would anyone be able to take a quick look at a query i am using for jdbc. It doesnt seem to work, but i cant figure out why, and i dont want to make a question stackoverflow for it.
 
1:21 AM
@Bub
@Babbleshack You might have better luck if you show us the query.
 
 
3 hours later…
3:54 AM
hmm
 
 
1 hour later…
5:15 AM
Argh, github won't let me sudo on mobile. I'll add you as a collaborator when I'm home so you can have a branch. @Justin
 
I don't mind working from pull requests :p
 
5:38 AM
@Unihedron "You must have 20 reputation on Stack Overflow to talk here. See the faq." :)
Login and chat joining seems to be working
along with all the fancy ajax/javascript parsing goodness
 
6:11 AM
hmm
 
Morning
 
heya
 
good morning :)
 
morning :)
 
'sup?
 
6:15 AM
nm really. No work at home
:D
 
So you'll be pleased to hear that I just finished cooking then :P
 
breakfast?
@Justin Uni at school?
 
not sure
 
Did he upload the code?
 
Nah, dinner actually
 
6:17 AM
yea
i've been working on it
 
Hello, finish breackfast now
 
@Gemtastic ahh, what is on the menu?
 
I wish I was good enough to help out coding the bot
 
@Justin Can I have a look on it?
 
@ItachiUchiha Thai food ;D
 
6:17 AM
And I starting the work
 
Though this version has coconut milk in it and rice instead of noodles
 
Not ready to push yet, but you can see what Uni has done here
 
@daniele3004 hi
 
not exactly the most slimming version if you wanna lose weight. but you get more food out of it
 
@Gemtastic rice and coconut milk :)
 
6:19 AM
@ItachiUchiha :-)
 
Recipe is pretty much exactly the same apart from that you have the coconut milk in it.
 
@Justin and you are working on?
 
?
I'm working on chat login
 
ahh, ok
 
@Gemtastic Happy work :-) and happy code :-P
 
6:22 AM
@Gemtastic same with?
 
@daniele3004 Eh?
 
@Gemtastic :-|
 
@ItachiUchiha Same as the program I made
 
ohh
so you can add a new flavor to the program ;)
 
more like an entirely new dish since it requires a rice-cooker or another pot
 
6:24 AM
that is way more cooler, you can create a new interface Pot
and then let your previous pot and this new pot extend this
and name this new pot as Rice Cooker ;)
@Justin @Unihedron Need to change the package name :P
 
?
 
package com.gmail.inverseconduit
 
what about it?
 
why gmail?
 
what should it be?
There's nothing wrong with using an email as a package name. We don't own a domain. It's as good as any.
 
6:34 AM
@ItachiUchiha Pot and pan are already coded to an interface, which rice-cooker is supposed to be a part of later
 
@Justin it sounds to me as if only users with a gmail account can log in :P
@Gemtastic ahh, ok :)
 
@ItachiUchiha Well then you've been seriously mislead about what a package name is :)
 
@Justin enlighten me :P
 
I am not going to explain what a package name is. You can google that.
 
haha, well to be honest, this package name sounds to me like we are working for gmail :P
 
6:39 AM
facepalm
 
Poor @Justin pats his back
 
@Gemtastic Nobody takes me seriously :(
 
haha
 
@Justin I do
 
@Gemtastic I like cookies.
Seriously.
 
6:41 AM
Me too!
 
:D
 
But I've had too many of them I'm afraid. I need to buy a crosstrainer
Seriously
;P
 
Lol
 
well, that or an exercise mat... and probably a kitchen scale too...
 
Lately I've found myself growing particularly fond of Arby's Roast Beef & Cheddar, and Wendy's Baconators
 
6:43 AM
Sounds fatteningly delicious
 
Yes they are :D luckily my metabolism seems to be able to handle that sort of thing. Even though all I do is sit on my ass all day ^_^
 
Ye, mine isn't :P
I have the fatty-disease so I actually need to watch it now that I don't have a dog to get my flat ass out of the house
 
pets @Gemtastic
 
I'd purr, but that would sound like I'm coming on to you
And I'm not
 
lolz
 
6:48 AM
:D
Back to minding my own business and not petting anyone.
 
You could help inspire me for what to program for my course examination...
 
0_o I'm very bad at the whole inspiration thing.
 
ye
 
What are the requirements?
 
Very basic java program that shows I understand the concept of an object-oriented programming language.
It can be anything
 
6:55 AM
Hmm
I'm bad at this.
 
Me too
 
I like your AFK cooking :p
 
Maybe I should just go with those stupid animals or my sexist game.
 
what's that game ?
 
Thanks. I intend to keep working on it, but I want it to be my pet-project, even though I could use it throughout the entire education and have it as a final examination project.
 
6:58 AM
@Gemtastic
 
@VamsiPavanMahesh The sexist game is a game where the loving wife gives the lazy husband beer and doughnuts
 
what's so sexist ?
 
That sounds like an implementation of a finite state machine.
 
A finite-state machine (FSM) or finite-state automaton (plural: automata), or simply a state machine, is a mathematical model of computation used to design both computer programs and sequential logic circuits. It is conceived as an abstract machine that can be in one of a finite number of states. The machine is in only one state at a time; the state it is in at any given time is called the current state. It can change from one state to another when initiated by a triggering event or condition; this is called a transition. A particular FSM is defined by a list of its states, and the triggeri...
 
6:59 AM
Traditional stereotypical gender-stereotypes.
 
but finalstate is a difficult one though
cool .. @Gemtastic
is that a mobile app ?
 
No, I've only learned the very basics of JavaSE
 
@Gemtastic An FSM would be an excellent final examination project and can be as complex or simplistic as you'd like.
 
And the teacher has only been specific about that he wants a fairly simple thing. Mainly because a lot of my classmates are trying to run before they even can roll-over :P
@Justin Hmm, sounds interesting.
What I have decided though is that my final project is going to be awesome. Then I will show it off to my potential employers and have them fight over me! (Or I just want it to be awesome so I can get some dang self-confidence)
 
7:03 AM
Aha :)
 
I haven't decided on what genre within Java I will work with yet though, so it's a bit hard to imagine what the final project will be about.
I just know I want it to have a very high quality.
"I understand my code" isn't gonna cut it for me :P
*Sings* I wanna be, the very best (student) like noone ever was!
To code java is my real test, readable and strong..!
Java code~
It's you and me~
I know it's my destiny!
You teach me and I teach you
Java code! ♪
Gotta code it all!
6
 
lol
where did u manage to get the music symbol
@Gemtastic
 
alt + 13
dunno if works for you though
 
cool
no it's not :/
 
7:09 AM
It's called alt code
You hold down the left alt while you press 1 and 3
But I think americans have a different method to get that
 
ohh ..
nope no result
 
You also need a numeric keyboard
 
haha .... i don't have one :D
 
@Gemtastic Programming Game AI By Example talks a lot about FSM in AI
I would jump to page 50 though.
Chapter 2 - "State-Driven Agent Design"
 
Interesting :3
Wanna hear something boring?
 
7:14 AM
i checked out -ur blog @Gemtastic
 
Sure.
 
What field I will work with will mainly be chosen from what pays the best. As the second biggest factor is what I am the most skilled at.
@VamsiPavanMahesh Oh? You liked it?
 
kind of .. but you can differentiate the code in some other format
 
♪
 
@Vamsi What are you referring to?
 
7:16 AM
I wanted to work as a software dev for a long time. Now, for the past few years I've been wanting to get more into network security or systems administration.
 
it's called syntax highlighter
google it ...
 
@Justin I will probably evolve into other professions later, I intend to learn as many languages I can. But for now, I just need a job that pays the best I can get.
 
learn COBOL :p
it pays the highest :D
 
@VamsiPavanMahesh I was wondering what piece of code you were referring to, not what that was. I don't really have any code that NEEDS to be highlighted as it's all just there kinda for fun :P
 
Not for u .. but for ur readers :/
check this out
 
7:20 AM
It's mainly there as a gag. The recipe code is only the main of a functioning program.
 
I prefer to link somewhere else for actual code.
 
i get it !
 
:)
 
so your previous employment was at ?
 
7:22 AM
Also, some day I'm gonna get the thumb out and make a nice design for it too, probably around the time when I start hosting it on my own.
@VamsiPavanMahesh At a cleaning company.
 
that's cool ..
so from a janitor to programmer huh
 
To me it feels more like from nothing to a programmer :P
 
haha .. that's cool
but what made you do this ..
i mean learn programming
 
I love coding
I've been coding HTML since I was 16 or so
 
ohh in that case .. why did not chose this in the first place
 
7:25 AM
Because I thought I was gonna be a musician
And some other reasons I don't really wanna share
 
ok ..
chill
so are you studying engineering
 
Also, I didn't know anyone who's into computers so it's been hard for me getting into it. I had no idea there was a senior high directed at IT until I was in my second year already.. So I just signed up for the few courses in IT my senior high had to offer; web-design, digital creation (for web-design) and a basic programming course in C++.
Then life happened and I got sick of the reasons hindering me from further pursuing an IT career and I applied to the career school I'm attending now.
 
awesome
i am about to complete the coursework this semester
 
Nice
 
next sem internship at a company ..
 
7:30 AM
Yeah, we're gonna have a similar thing next year. First year is getting all the basics down, second year is directing yourself into a subject to specify in and do intern-ship learning.
 
it's a 2 year course huh
 
Well, 2 year education. Plenty courses within it.
 
I kinda wish they had had a requirement of previous coding experience in the admittance.
 
they did not ?
 
7:34 AM
No, it was either having a basic programming course (in any language) or have studied the Math C course.
The people who have no prior coding experience have a really hard time keeping up.
 
and they are not explaining everything from scratch
 
Yes they are
It's just that
Uh..
 
but in Internet everything is available
yeah i get it
 
I dunno how to put it nicely.. but... The students don't understand even basic explanations.
 
the intimidating feeling right
ohh ..
 
7:36 AM
Yay
Node added: Justin
Justin
711

Node added: Yay
 
Quite frankly, I dunno which is worse; the people who think they can keep a full-time job along side the studies while having kids, or the ones spending 24/7 studying but still don't understand :/ We have both types in the class :/
 
Dom change listener for the bot is working ^_^
 
:O
 
along with javascript stuffs
 
@Justin : did i miss something
 
7:37 AM
and all the ajax goodness
 
@Justin \m/
 
\m/
 
@ItachiUchiha come back
 
i see @Gemtastic
 
But we also have a few guys that are just bloody awesome.
 
7:38 AM
@Justin : did u make a bot ?
 
I like to see what they come up with. :)
 
haha .. kids right
@Gemtastic
 
@ItachiUchiha what's your developer tools?
@Gemtastic what's your developer tools?
 
@VamsiPavanMahesh It's for the room. working on it with Unihedron
 
@VamsiPavanMahesh what's your developer tools?
 
7:39 AM
Java and Android
:/
 
@daniele3004 I work on various tools, if you need help on some specific tool, you can ask..
 
@daniele3004 So far we've only used NetBeans, Eclipse and Source-tree
 
@daniele3004 : yours ?
 
@Justin Will you push it to git for me to have a look at it ?
 
@VamsiPavanMahesh In the past only eclipse
 
7:40 AM
@Gemtastic : you were also a part of this
yeah me too eclipse :D
 
@VamsiPavanMahesh part of the bot?
 
Nope
I was just watching them work because I are n00b
 
@ItachiUchiha Yea 1 sec
 
7:41 AM
* i am a noob
@gem
@Gemtastic
 
No, when talking n00bspeak it's are
The faulty grammar is intentional
 
@VamsiPavanMahesh Please edit your chats instead of re-posting them
 
:D
ok @ItachiUchiha
 
@VamsiPavanMahesh I used NetBeans in a project..to try
 
can any one of you tell me what this bot is about
and how did you guys make it happen
can i be a part of it
 
7:42 AM
Also, typing @gem pings me, you don't have to type @Gemtastic ;)
 
is it so ?
@gem
 
yup
 
Ping @Vam
 
lol @gem
 
7:43 AM
@VamsiPavanMahesh It's open source.
 
ok ..
where is the code @jus
 
that's cool ..
i ll head to lunch and see the code
c u guys
 
@Justin You try net beans for real work?
 
I haven't used netbeans in years. I use IDEA
 
7:46 AM
@daniele3004 Using an IDE is mainly Opinion Based
 
I'm a quick learner so I really don't care what IDE I'm using :P
To me they're all the same, except they have a few unique features.
 
I've tried them all. Then I tried IDEA. Haven't used anything else since.
 
And the later can be googled :P
 
@ItachiUchiha I'm sorry, I just wanted to understand a few things
 
The course plan is a bit dumb; it makes us use NetBeans and Eclipse as well as... Mercurial.
 
7:48 AM
@ItachiUchiha Modern technologies are very connected to the IDE
@Justin Modern technologies are very connected to the IDE
 
@Gemtastic Mercurial isn't awful.
 
@daniele3004 Well it is and it is not. There are multiple ways to achieve the same thing. It depends on which way is apt in accordance to your requirements.
 
No, but the general programming community used git @Justin
Not that it really matters to me yet, we're using source-tree so it makes no difference what so ever so far.
 
@Gemtastic What's funny is that they were both designed for use on the Linux kernel. Linus won with Git :p
 
I didn't know about that :)
 
7:55 AM
@ItachiUchiha I pushed the changes to my fork
 
lemme check
 
8:08 AM
so ssup guys
 
@Unihedron Good morning :)
 
Morning, I just got off school ;)
Holy ...
 
Stop spamming
Yes, it's working perfectly.
 
Eh, does openshift work with hastebin?
 
Like how? 0_o
 
8:13 AM
Wow, good job!
 
@Unihedron I have login and chat joining working wonderfully. Cleaned up some of that connection manager stuff since it isn't necessary. I decided to use HTMLUnit for all the ajax stuffs because that seemed to be the best option by far.
 
\o/
 
Also, I removed that jar file you accidentally pushed from the repo history :p
 
Back from school now @Uni?
 
yesh
 
8:16 AM
Welcome home :)
 
@Unihedron Adding chat message listener stuff now ^_^
 
:D
 
I'm just using DomChangeListeners in HTMLUnit to detect new messages, unless you have another idea.
That seemed the most straight-forward at the time.
 
Listening to dom events are a good idea.
 
kk cool
 
8:21 AM
Ok, added you (and ita) to the repository as collaborators. I was thinking it'd be better to centralize the code, plus having forks clones the repositories and builds another issue tracker, which is annoying.
 
True
 
I wish I had any idea how to help out with that, but it's fun to watch what you code :')
 
New minecraft questions for Oct 20 - Stack Exchange
Yet another draw an ascii triangle in java question... stackoverflow.com/q/26448491/3622940
 
@Unihedron As it is now I'm wrapping some of the methods from StackExchangeBrowser into the JavaBot class for easier API access (especially for scripting) but that's really up to you, it's mostly for convenience.
 
It will be a great idea. I'll probably end up calling the methods directly than using your API though. :p
Maybe we should reduce the number of public fields and methods, just so users executing scripts don't get to run them.
 
8:27 AM
Hmm
Everything that's public are API methods, we need those. We can restrict access to them in the scripts pretty easily.
 
Yeah, ok.
 
@Justin I have some noob questions, can I?
 
@ItachiUchiha sure?
 
how did you know the form name in the HTML is se-login-form ?
 
@ItachiUchiha Source code.
 
8:30 AM
Cause I checked? 0_o
Lol
 
Even IE provides live source code viewer, it's within F12 somewhere.
Oh, btw @Justin, I checked, stackauth doesn't let you login with a Post request.
 
@Unihedron Any preference for branch names?
 
in Tavern on the Meta on Meta Stack Exchange Chat, 20 hours ago, by Unihedron
stackauth hates you if you write your own POST requests.
@Justin Whatever is fine.
 
@Unihedron stackauth?
 
@Justin Stack*'s authentication servers.
If you have a websocket handler, you can check that the login form sends data to stackauth.
 
8:33 AM
I'm logging in with the login form. Lol, yes it's a POST. AFAIK there is no other way to log into chat. For using the actual SE API you have to login using OAuth
I'm assuming people say you can't because you have to retrieve the fkey from the form before submitting the POST request.
Though we don't really have that problem with HTMLUnit.
 
You could use this link, which logs in and redirects him here: http://stackoverflow.com/users/login?returnurl=http%3a%2f%2fchat.stackoverflow.‌​com%2frooms%2f139%2fjava
I guess if that link redirects you into the chat, then you're already logged in, otherwise you gotta log in.
 
You can if you want. It's not really necessary. It's working fine as it is, the only problem I can imagine is if the login expires or something.
I wouldn't combine the login and joinChat methods though
 
Does the dom listener come with a keepalive task?
 
"Dead chat" - The classic
 
while(true) {
webClient.waitForBackgroundJavaScriptStartingBefore(10000);
}

This works for that, it calls the dom listener as well. Just something I was testing with. Will probably want to run that on it's own thread though.
 
8:45 AM
We do need a thread for listening to commands, execution, and environment thread (the idle thread).
while (notask) {
  webClient.waitForBackgroundJavaScriptStartingBefore(14000); // 15 minutes = timeout
}
 
Yea
I don't think that method works like that :p
 
Meh. :P
 
It's in milliseconds, and it isn't exactly a timeout, it's for updating the AJAX calls
 
Cool!
 
:)
@Unihedron If you merge my branch I think you'll need to do it via a pull & force push the first time, because I've rewritten history to get rid of that jar file.
 
8:52 AM
Meh, let's .gitignore /target.
 
:p
 

« first day (1458 days earlier)      last day (3497 days later) »