« first day (840 days earlier)      last day (4106 days later) » 
00:00 - 16:0016:00 - 00:00

12:07 AM
Hello, Java!
@LewsTherin Aww, I must have just missed you.
@LewsTherin It keeps getting better and better! Go get a copy and read it!
@sehe What are you doing in Java chat? =p
 
@Code-Guru copy of what?
@Code-Guru lurking
 
@sehe AMOL
@sehe Lurking is more difficult on SO than other chats...everyone knows you're here!
 
It's not secret
 
@sehe So are you familiar with the Wheel of Time series?
 
Nope
 
12:17 AM
@sehe You should try it. The last book just came out and it's sooooo goooood.
 
@sehe lurking for me initilly, eh :P
 
12:54 AM
hello everyone!
@code
anyone there?
 
@Doorknob nope
 
oh, ok.
:P
 
Finally figured out the exception I'm looking at is actually wrapped around a NPE...
 
:/
Yay! I reviewed 5 close votes! Only 47769 to go!
 
@Doorknob lol
@Doorknob Do you have any silver badges for reviews?
 
same here
edits
 
edits are easy :P
 
xactly
I'm getting closer on close votes...
need 40 for a silver badge.
son of a...
@Doorknob So I lied...I'm here...kind of
@TrevorMcKendrick hi
 
1:45 AM
@A--C Hello!
 
@Code-Guru Hello! How are you?
 
@A--C Well, I tracked down the cause of my latest error...having trouble with finding a solution.
 
Lol
Elaborate
 
Got the reflection working. But apparently the constructor that I'm reflecting is broken.
 
Broken?
 
1:48 AM
I have a SQLiteOpenHelper subclass which overrides onCreate(). I need the Context where it is used, which I set to a member var in the ctor. But onCreate() gets called after chaining to the super() ctor before the member var gets set.
public BaseballCardSQLHelper(Context context) {
super(context);

this.context = context;
}

@Override
public void onCreate(SQLiteDatabase db) {
super.onCreate(db);

ContentResolver resolver = this.context.getContentResolver();
Cursor results = resolver.query(BaseballCardContract.CONTENT_URI, BaseballCardContract.PROJECTION, null, null, null);
List<BaseballCard> cards = this.getAllBaseballCardsFromCursor(results);
this.insertAllBaseballCards(cards);
}
@A--C And I can't find a way to get the Context from the superclass...
hmm...
 
Should I delete my 4 upvote answer since it techinally didn't help the OP because he's doing bad things with android?
he opened another question
Also how sure are you that this.context = context is called after onCreate()?
 
@A--C Do you think the answer will help someone else in the future?
@A--C Yup. I added some Log.d() calls to double-check.
I assume the SQLiteOpenHelper ctor calls onCreate() (either directly or indirectly).
@A--C Well, I gotta log out. I'll probably post an SO question about this tomorrow. TTYL.
 
1 sec
How direct is BaseballCardSQLHelper down the chain?
Sqliteopenhelper needs a lot of args it seems
 
It extends another class which provides all the other args to the OpenHelper
 
I'll link you to the source
I don't see anything that calls onCreate() from any ctor.
 
2:00 AM
Thanks. I'll check it out later when I have more time.
 
Alright then, cya!
 
hello, I'm back
 
 
1 hour later…
3:16 AM
@Doorknob welcome back! :)
 
3:48 AM
Hello Java!
 
hi @appu!
 
Hey @user1690130
 
@Appu i'm still stuck with perl. aaahhhhh
 
No wonder. You have chosen that type of language where in no one can help you. Or your question might be wrong.
 
@Appu do you want to look? :)
 
4:01 AM
Yeah. Show me. But I am sure I can't help you on that. Even though you wanna show, I have no issues.
 
-1
Q: Scraping Data from Individual Records using Perl

user1690130I have data for Benjamin Schuvlein, who was born in Germany between 1910 and 1914 and is white. He is the only person in the 1940 census who fits that criteria, so I am going to assume it is the same person: https://familysearch.org/search/collection/results#count=20&query=%2Bgivenname%3ABen...

@Appu what do you think?
 
@user1690130 Sorry, afk.
 
afk?
 
You got -1?
Away from keyboard.
 
actually -2 + 1
-2 + 1 = -1
 
4:12 AM
Well who did -2 and who did+1
?
 
some people on SO just HATE whatever i do
 
Who gave +1?
 
i only know the person who did the +1. he told me. and i believe him because he initiilly gave me a -1. so i suddenly went from -3 to -1.
 
Who is that?
 
i don't want to embarss him. why do you ask?
 
4:15 AM
Just like that. Wanted to know your friend.
 
i have so few :( i don't think my friend wants people to know.
 
Yes. Definitely he doesn't want people to know because of supporting your question.
Sorry to say this, but I don't find your question clear.
 
@Appu damn :(
what is unclear?
(so i can fix it)
if you don't mind me asking for your help
@Appu is it unclear what i want to get as the end result?
 
4:33 AM
@user1690130 I am sorry, I can't edit your question as I am completely unaware of PERL. But I am sure that question is not meant to be asked in that way on SO. Tell them what you have tried and what you didn't get. Asking general help wouldn't draw the answerers to answer your question.
@user1690130 Yes. Can you explain your question step by step?
Most probably that was the reason you got many downvotes.
 
I have a list of 8 million names
The names were recorded between 1940 nd 1945
 
Okay. Next?
 
For each name, I know his race, sex (male), birth year (within 2 years), and birth state (or country).
Some of these will be uniquely identified in the census, such as the Benjamin example I gave
because when I did the search for Benjamin, exactly 1 record appears
Benjamin Schuvlein born in Germany between 1910 and 1914 and is white male, that is
 
Yeah. But still you can't depend on the name. It might not be unique.
 
oh. i could have been clearer there. it is effectively unique. the census is nearly 100% of the population.
 
4:38 AM
Next?
 
it is not guaranteed to be unique, but the chance is high if and only if only 1 hit comes
on the record itself, there is some information that i'd like to scrape.
on benjamin's record, that is
his marital status, for example.
did you click on the links in the posting?
 
Yeah. I checked them. You go ahead.
 
go ahead?
 
What's your question? Is this only about scraping his marital status?
 
also some other data in that record. like place of location in 1935 and 1940
but yes, about scraping
i'm really unsure how to do thi
partly because of some of the technical issues that i described in the post
The site has AJAX, so I am aware that I'll need something to execute the javascript. I've contacted the web developer, and the API is not applicable to this part of the site. What tools might be useful for this kind of task? I've scraped from this site before using JSON, although I am still novice to programming with JSON.
 
4:48 AM
As you said it doesn't support, you might need to develop your own api to do that kind of things for you.
Are you trying to develop any such kind of website?
 
ok, i edited the question to hopefully make it clearer
@Appu which is the unclear part?
@Appu which is the unclear part?
 
one ping is enough to draw attention.
As I told you that I can't help you on this. Might be @Doorknob or @Neil might help you.
 
sorry did not mean to double. something weird happened wth my computer that did it twice. my deep apologies
ok, thanks
 
5:05 AM
How come it does automatically? You really seem to be jibing people.
 
jib?
 
Even yesterday you said unbelievable reasons about your keyboard and couldn't get it repaired, your system got high temperature like 90 degrees blah blah which seem to be unbelievable. I really wonder if this is all true.
 
these things are still true
i use a think ipad laptop, which has bad temp
i did not say the keyboard is unrepairable. i could have went to a bad repair shop.
if i am charging the laptop and am on the intenet, i'm at 90
 
What about this pinging twice? How come a computer does it automatically?
 
i on't know wht happened
i'm ddply ory
could we pleaes move on from thta? i'm really sory
i will try not to ping you eve again than. so instead of two times, it does zero times.
 
5:10 AM
i'm ddply ory?????
 
deeply sorry
the keybord for some reason got really bad just the other day.
 
It's not the point about pinging twice. I don't mind even if you ping 10 times with different statements. But saying that system does it automatically is really preposterous and unbelievable.
 
i want to fix the keyboard
can the repair shop really do something?
i don't know what happened. i'm not sure why it happned. can we move on pleaes? it was not my intentoin.
i'm very sorry
do you think i want to ping you twice?
 
Well, I can't judge people with little interaction. But the way you said is unbelievable. That's it I can say.
BTW What's this?
so instead of two times, it does zero times.
 
i will not ping you gain. ever.
so no ping = 0 ping.
can we move on from ping?
 
5:18 AM
I didn't say you shouldn't ping. Because pinging draws attention of others when they are not on current tab.
Okay. Let's leave about this ping. @user1690130
 
can we move on please?
dear appu: can we move on please?
 
Yeah. I already told you that.
1 min ago, by Appu
Okay. Let's leave about this ping. @user1690130
move on.
 
 
7 hours later…
11:56 AM
hi
anyone help me?
i m facing a problem regarding picklist?
 
12:24 PM
if you're still here I might be able to help, admittedly I've never used one but still.
 
 
1 hour later…
1:35 PM
hello everyone
 
2:01 PM
hi @Lews @Adude
 
hi
 
hi
 
How's things?
 
Thingy
 
2:09 PM
xD
Finally.. Office 13 installed :D
 
eugh... microsoft
 
well this javascript is surely confusing
{});});});});}
 
@Adude11 Pfft..
@Doorknob That's invalid
 
@lews no it's not
 
Yeah, it is.
What's valid about it?
{});
 
2:13 PM
well, with more context it is
javascript:function f(){$('.content').each(function(i){$(this).click(function g(e){this.innerHTML='<i>removed</i>';$('.content').each(function(i){$(this).unbi‌​nd('click');});});});}$('#footer-logo').click(function g(e){e.preventDefault();f();});
 
Now that makes sense ;)
Yeah.. it takes a while to get used to :D
 
it used to be $(this).click(function f(){});
and at the end you can see that code
:P
 
At least it does lambdas better than Java.. oh wait, Java ain't got no lambdas :D
Although C#'s beat JS imo
 
Java has a substitute for lambda
 
Noooo
Not that awful thing you call nameless objects
 
2:15 PM
public interface Closure {
void doMethod();
}
 
Pfft
That is called an interface :D
Any pure OOP language has it lol
 
But it can be used as a lambda! :D
 
You don't need an interface to mimic a lambda
Either way, it is disgusting ha
 
well that's correct :P
 
Shit, this isn't activating :(
 
2:21 PM
what isn't activating?
 
Oh fuck yeah.. I love people on the internet. Ok maybe some.
Finally found a PK
Office 2013 live
Now, I can do my assignment :( bum
@Code-Guru I keep forgetting to ping you back. I will soon and then we can talk about it :P The puppy managed to spoil bit and pieces for me. Although I am largely to blame, due to my inability to say no spoilers :(
 
Hehe chat manipulation
 
anybody doing anything interesting today?
 
@rcook Not really
 
hello
 
2:35 PM
hey @richard
 
I guess if we were doing something really interesting, we wouldn't be here...
 
here, making a dynamic routing datasource on spring
what about you?
 
I don't know what that is -- what is it that gets dynamically routed?
I'm familiar with Spring, and with dataSource...
 
is for select a datasource that i want
 
I guess when I hear "dynamic" I think of something that changes according to circumstances.
 
2:37 PM
yeah
 
without user intervention...
 
no, with user intervention
is for a code generator
 
Is this changing according to what data(source)(base) is available in a given environment, perhaps?
runs whether you have derby or h2?
 
more or less, but that is the idea
 
oracle, db2, postgres, lots of little flat files?
excel spreadsheets, piles of paper?
 
2:39 PM
not only for different motors, is for diferent databases
 
sounds reasonobble.
 
well, it's time for brekfast
bye @rcook
 
I agree. What are you serving?
(hee hee) have a good one - breakfast, I mean
 
haa, thanks
 
MRM! MPB TPECQU XAQ LVMZXPJVRK!
 
2:54 PM
I hate meetings
 
I hate having my thread closed :(
 
I hate.. everything.
 
Lews hates peta
 
not this again
 
hahahahah
 
2:59 PM
I don't know who peta is.. but I most likely would.
@Adude11 Ikr?
 
lews: i thought you encouraged me talk about that if i thought it made sense. i'm sorry then
 
You can.. but you are saying I hate Peta, I have no idea who that is.
ADude I'm playing your game..
 
What is the game?
just go to youtube dude
 
my hangman??
 
Hangman.. I thought the answer was obvious: "Internet" I started typing..but when I clicked r it showed 2 r's.. bum
@Adude11 Yeah
@user1690130 I am on youtube.. but why?
 
3:04 PM
have you found how to make it?? I only made it over a weekend so its really simple
 
@Adude11 link
 
interr--t
That doesn't look right
 
@Adude11 I might give it a shot someday
Interrupt :D
Omg..
 
obama dancing with peta: gangnam style
 
3:07 PM
That's the worst shit ever.. and I hope that isn't Obama lol.
Looks like a mask
 
youtube.com/watch?v=zVbJYRvVtSw peta doing the paso doble
 
Are you a developer?
 
@LewsTherin yes, why?
 
Wondering...
 
@LewsTherin because art + programming do not mix?
@LewsTherin are you?
 
3:12 PM
That show seems like another x factor to me. So I avoid it.
@user1690130 Actually it does so
 
it is not x factor. it is ballroom dancing. i don't know what x factor is.
and these are celebs who are not dancers. now i've learned new dances. like the paso doble
 
hello again
@all
 
@Doorknob hey!
 
hello!
 
hi
 
3:20 PM
I love this room.. we all greet each other with the hi hi's and conversation halts :(
What's wrong with people.. give me upvotes instead of editing my answer :D
 
i'm afraid to speak :(
 
why?
also err... you kind of just did :P
 
if i speak about paso doble, lews gets mad. if i speak about perl, others get mad.
 
what's paso doble?
sigh... time to get started on my todo list with a thousand items
 
not, what's perl?
paso doble is a dance
 
3:23 PM
okay...
that's kind of off topic?
 
well considering you're afraid to speak, you seem to do an awful lot of it
 
I think he has a crush on that bird..
 
bird?
 
A slang word for girl..
 
Item 1 on todo list: debug program
Item 2: debug more
D:
 
3:24 PM
Item 3: Deploy?
 
actually it's just a bunch of random stuff for my Java applets and website
but an awful lot of it is debugging :(
I'll do the fun part first!
 
Yeah :P
 
@Doorknob hey how is the game?
 
which one?
 
@LewsTherin but is easy to speak to girls... dont tell me there are none in your course
@Doorknob the llama one
 
3:26 PM
good, I made llama racing which should be deployed on my website shortly :D
 
When someone mentions girls Washu appears :D
 
Lol
 
hey washu! :)
 
@Doorknob llama world??
 
yes :P
 
3:29 PM
@user1690130 hey
 
Im having a go
 
@Adude11 Llama's are awesome
 
i'm glad you like gilrls too, washu
 
@Doorknob It's a bit slow to start...
 
3:29 PM
either that or it's crashed
 
@Adude11 What's slow?
 
@Doorknob You're llama game
 
oh, what is the problem? Can you use the WASD keys to move around?
 
no just grey
 
:O
that's a problem
 
3:31 PM
@Doorknob link game
 
I actually have to download Java to play it ugh
You should have used HTML5 + JS :P
 
Wait, you don't have Java @Lews ?
You're kind of in the Java chatroom...
:P
 
I thought I did.. but it's telling me to download it again
Probably an update
 
by bye lews
i have java :P
 
3:33 PM
Does this work @Lews ?
 
Nope
 
oh that's why
how do you not have Java? It's pre-installed on almost all computers
 
Shouldn't installing the jdk or jee automatically install Java?
 
@LewsTherin do you use IcedTea? or the actual java?
 
I mean I can write Java programs already
@Adude11 Actual Java
 
3:35 PM
What do you have in c:/program files/java/?
 
Dont know then
 
@Doorknob jdk + jee
Sorry jre
 
if you have the jre then it should work...
 
Ok running the game
 
yay!
 
3:37 PM
Blank?
 
?
 
mine never loaded, could be because its jnlp, not jar
 
darn it
 
im trying the tower defense one now
 
Hehe funny game. Nice attempt
 
or it could be because you still use the <applet> tag
 
@Adude11 I'm not using <applet>
 
@Doorknob Already tried that, it asked me if I wanted to download it
@Doorknob In the HTML you are :
<applet code="Game" width="600" height="600">
<param name="jnlp_href" value="towerdefense_beta1.jnlp"><param name="codebase_lookup" value="false">
</applet>
 
@Adude11 I think JNLP automatically does that
 
You're other games won't work either...
 
3:41 PM
:(
 
I don't get it.. why did it say Java wasn't installed?
 
they work for everyone else for some reason
 
And why was I able to run Java programs I wrote?
 
@Doorknob Well then it's probably cos I use either, linux or IcedTea.
 
Oh.. I think I didn't have JRE installed.. mmn
 
3:45 PM
The JRE comes in the JDK, doesn't it?
 
Ok I checked the Date modified.. and it was 01/02/2013 so I definitely had both installed
So WTF happened?
 
What browser are you using?
 
I love this Llama game
 
Dunno then, in chrome I had problems with it before
 
3:46 PM
@Doorknob get a designer and then upload it to the market
 
00:00 - 16:0016:00 - 00:00

« first day (840 days earlier)      last day (4106 days later) »