« first day (4 days earlier)      last day (3289 days later) » 

5:34 AM
I hope this didn't come off as a snark...
@DirkEddelbuettel, Sorry, but there is nothing exactly wrong with their function.... — Ananda Mahto 47 mins ago
@DavidArenburg, ∆∆ the answer there elaborates on my comment about their use of data and attach.
 
 
2 hours later…
7:18 AM
@AnandaMahto I wouldn't comment under his answers, he doesn't like that...
 
 
1 hour later…
8:30 AM
@akrun So what's up? How old are you? what do you do in life? And how many people working for you in order to answer all of these answers
I think you've set some SO record for fastest Legendary badge :)
 
8:55 AM
@DavidArenburg, come to think of it, I don't think I've ever commented under one of his answers....
 
@AnandaMahto I did yesterday
on that same answer
got a whole bucket of you know what
@arun what do you think of this quesiton
1
Q: "fuzzy key matching" for a data.table merge

MichaelChiricoI'm trying to match workers from year to year using name strings and a measure of experience. Experience can only increase by at most one from year to year, so I'd like to use this to help matching when other metrics fail. For example: dt1<-data.table(name=c("jane doe","jane doe", ...

 
Oops. I see it's all gone now. Hard-working janitors?
 
@AnandaMahto yes, we got into long discussion and bla bla
so I decided to remove them
I only wanted to say something small but felt like this is going to a whole new direction
@Arun my roll skills are very poor so I was wondering if this will work or foverlaps is needed here
 
I still have quite a wait before legendary... 31 rep-cap days...
 
@AnandaMahto yes what can I say?
akrun made the impossible on SO im many aspects
I wonder if he will reach 100K by EOY
 
9:50 AM
@JanGorecki Nice question
 
nice it will be when I incorporate it in my package to rerun any logged (using dtq) query :)
 
That too
 
How is going package development? :)
 
10:07 AM
@JanGorecki not well
 
 
2 hours later…
11:39 AM
@DavidArenburg He just needs to keep up an average of 160 rep per day till the end of the year if he's to make 100k. Possible, but at the same time, somewhat difficult to maintain motivation for such an extended period.
 
@AnandaMahto going pretty good for for the last 10 months :)
i think he even did a month or two break
 
@DavidArenburg, I don't think there was a break. Look at his reputation graph.
On a related note, 180 and 190 rep days annoy me....
 
@AnandaMahto Yes, I had quite a few of these
just had one few days ago
Though luckily I also had 201 not long ago. Just when I lost faith I've got an upvote on some very old answer
 
Makes me wish I had stayed up a little longer to get one more answer in :-)
 
Actually I wish many times that I wouldn't come to SO in the first place.
 
12:08 PM
I hope you don't mind me converting your comment into an answer....
 
Not really
This is just some dupe that I'm too lazy to look for
 
I felt the need to answer mostly because the accepted answer seems to be rewriting something already available in base.
 
12:44 PM
Have no idea what happend to my Sys.getlocale("LC_TIME")...
 
 
2 hours later…
2:16 PM
@AnandaMahto and... we are having our daily argument like a married couple :)
 
And, of course, I think I'm in the right :-)
 
@AnandaMahto I think we both right in a way
 
You must be younger than me. I still make my emoticons with noses.
 
i think we should educate users to use R corectly
who on earth loads his data to Excel in order to inspect it
though you are right that I could be useful
You almost reached your 200 rep
 
I haven't tried the View function on that data structure in base R (not RStudio).
That's a bit of an annoying data structure that sometimes emerges with aggregate. I'm surprised that someone wants it.
 
2:33 PM
The aggregate dups are keep coming
NO one uses Google these days
its kinda of missing the purpose of SO to be a data base
 
You are aging yourself.
The internet is changing....
 
In what manner?
 
When more things go towards apps and so on, where does Google fit in? I know a lot of people who use Facebook all the time but have never been to facebook.com
Maybe Google is not quite there, but I know that a lot of people I know today don't really know how to search.
It also doesn't help that SO search seems to pretty much suck.
 
Are you serious?
When you trying to solve some programming problem
don't you use Google?
Any normal person does
 
I do, but I can tell you that many people I know don't. And part of it is not knowing how to ask a question.
Until you have to do something like aggregating or reshaping, why would you know these words?
And if you don't know those words, finding the right answer can be a bit tough.
If you like to read, it might take you a little bit of time to figure out the terminology to use to ask a question, at which point search becomes helpful.
 
2:39 PM
I saw so many questions on SO saying"
 
I know that the people on my product team--designers/developers who should know how to program--don't know how to describe their problems well enough to be able to search for a solution.
 
"how to merge two data sets"
then some one comes and provides merge(df1, df2)
now really?
you have in your G*d damn title
redicilous
 
But what if I wanted to append two datasets? Who would think of cbind and rbind?
 
btw
you dont need to know
 
Many people might refer to merge, but simply want to combine by rows and columns.
 
2:41 PM
aggregate
just "sum by group in r"
will give you everything you need
what type of special terminology you need here?
@AnandaMahto that's something else
when a person did an attempt and failed
that's acceptable
but putting "merge" in the question title without actually googling for "merge"?
 
OK. Time to put the kids to bed. We'll continue bickering later. :-)
 
Yep :)
have fun with that
 
 
3 hours later…
5:38 PM
@DavidArenburg You asked a lot of questions. I am fine, in the 30s, currently searching for a position. The last one is funny, just me..
 
@akrun Oh you in a the 30s? I thought you younger (no offense). So what's your profession then?
 
5:56 PM
@DavidArenburg Yes, I am. I was in the genetics research.
 
@akrun I saw you gave some bionconductor answers. I think Arun coming from a similar backround
 
@DavidArenburg In the fuzzy match problem, the OP didn't gave the expected output. So, I am not completely sure about the problem.
@DavidArenburg Yes Arun is from a similar background, but I guess he is from a high profile lab.
 
@akrun get the desired output I'm just not sure roll = -1L provides it. I'm very bad on rolling joins.
@JanGorecki what do you think?
1
Q: "fuzzy key matching" for a data.table merge

MichaelChiricoI'm trying to match workers from year to year using name strings and a measure of experience. Experience can only increase by at most one from year to year, so I'd like to use this to help matching when other metrics fail. For example: dt1<-data.table(name=c("jane doe","jane doe", ...

 
6:12 PM
didn't use much rolling joins, but the question is not clear - as you wrote
I would prefer to wait for improved question than trying to solve anyway
for fuzzy matching of string I know there is agrep
but this I believe might not be easy to use in join
 
@JanGorecki Its not really "fuzzy". Its just how OP calls it. In the worst case scenario could easily solve this with foverlaps. But I didn't want to over complicate it.
@akrun I've tested my solution on many different scenarios but I'm still not sure it works correctly as I'm not entirely sure in what measurement units we are talking when using roll = -1L
 
@DavidArenburg I am also not familiar with the roll application. May be @Arun can share his thoughts...
 
@akrun He doesn't seem to :)
I've asked him earlier already
 
@DavidArenburg I think it may be better to wait for the OP's reply to your comments.
 
6:28 PM
@akrun Yes, I didn't provide an answer
Just posted yet another data.table answer on a dplyr question
 
@DavidArenburg I know you are very active in stackoverflow. How do you manage it while working?
 
going to piss some dplyr fans now
@akrun Im not close to active as you :)
i think you've posted about 3 times more answers than me
though you are right
im an addict
and I should reduce my activity
 
I am active bcz I am not working.
 
Why aren't you working?
 
there are no jobs..
 
6:35 PM
@akrun In Germany?
were you fired?
or you was just working in research
 
I am in India right now. I was working as a postdoctoral fellow, completed the contract period
 
On phone sorry
 
no problem.
 
@akrun, wait what? Where in India?
 
I am in Thiruvananthapuram, Kerala
 
6:46 PM
Cool.
Do you speak Malayalam then? ;-)
 
@Arun Are you in Germany? Yes, I do
 
Was. Not anymore. In Belgium now.
Are you German?
 
I was just in Nagercoil recently. Not too far away :-)
 
No, I am not.
 
Ananda, I'm from there.
Okay, let me rephrase. Where are you from? :-)
 
6:49 PM
From Nagercoil? I thought you were from Chennai?
Or did you just study here?
 
I live in chennai. But I was born in nagercoil.
 
@akrun, yes. (Says Ananda answering fro Arun.)
 
Lived there until I was about 11 years old.
 
OK. I go down there once in a while since we have some schools that use our programs down there.
 
I was born in tvm, kerala
 
6:51 PM
Never get to visit much other than the schools though.
 
which schools?
 
The main one is one of the Isha Vidhya rural schools.
 
Akrun, I see. Did not see that coming..
 
We're trying to get into Kerala, but only have a handful of schools. Just signed up with a pretty decent sized school in Elamakkara.
 
Ananda, I remember SLB, CSI and ASSISSI schools
 
6:54 PM
None of those are on our list. I'll tell my sales team to get on it :-)
When did you move to Belgium?
 
:-) if they are still going on.
 
@AnandaMahto Is it Bhavans vidya mandir
 
@akrun Yup.
 
In February
I remember Vidya mandir , but not heard of bhavan's
 
I was at BVM for the presentation at the start of this month and they signed up right away. So now I have work excuses to visit Kochi :-)
 
6:57 PM
Akrun, are you a geneticist ( and if not what did you do)?
 
BVM is a pretty big group, so we're hoping that if this branch is happy they'll recommend it to the others too.
 
Ananda, what do you do, sorry not completely aware of it...
 
I did PhD in quantitative genetics and postdoc in functional genomics
 
Cool. My PhD is functional/comparative genomics as well...
 
@Arun, I head a product development and training team for a company that offers language-learning products to school. Presently only English....
 
6:59 PM
Is in*
 
If you know anything about children's publishing, you might know our sister company, Karadi Tales.
 
@AnandaMahto sounds great!
 
@AnandaMahto Good to know
 
Not aware of karadi tales but like the name 😀
 
KT is known for their audiobooks. We get lots of "celebrities" to record for us.... Sanjay Dutt, Vidya Balan, Rahul Dravid, Usha Uthup.... Then I get to convert the audiobooks into classroom activities.
 
7:03 PM
@DavidArenburg good one, still the hadleyverse has enormous marketing comparing to other valuable packages so stealing small percent of their audience is good :)
 
Anyway, it's late here, so I'm going to wind down.... Enjoy the night/day/whatever_it_is_where_you_are :-)
 
Ananda, nice!
😁 thanks. Good night to you.
 
@AnandaMahto Good night!
 
@Arun, last post ^^ That's me and my first daughter at the left :-)
Usha is towards the center. It was for a show we put on in November 2013 at Lady Andal here in Chennai.
And now, good night :-)
 
@AnandaMahto Looks good.
 
7:12 PM
Awesome :-)
 
@AnandaMahto May I ask why she so white compared to you :)
Anyway, it seems like my roll = -1L worked after all
@Arun you want to take it from here?
Perfect! Never quite understood what roll does--finally found an example. So roll=-2L would match anyone with exp at most 2 less; roll=1L would match anyone with exp at most 1 more, and so on. roll=+Inf for any exp greater, roll=-Inf for any exp less. What about matching within 1? roll=c(-1L,1L) didn't work, and nearest doesn't necessarily work. — MichaelChirico 4 mins ago
@JanGorecki We are working on it
We have akrun :)
 
@DavidArenburg Your data.table answer is getting more votes than the dplyr for a dplyr question. It would certainly piss some dplyr fans...
 
@akrun All coming from this room prbably
 
7:27 PM
David, good to know, thanks.
there are some more nice features to implement in roll iirc
 
@Arun Finally I'm getting so replies from you. Was pinging you whole day :)
 
Lol
Just had the time to look into it.
 
@Arun Btw, you want to answer this with some well educational answer? I'm not good at explaining rolling joins
 
@DavidArenburg dplyr question is similar to a data.table question I had some doubts earlier. It would have been nice to have setDT(df)[(1:.N)==.N, Time:= 0L,by=.(user_id, tag)][] this work.
 
@akrun I think the coolset FR ever would be to have some type of [:= operator
 
7:35 PM
Akrun, that looks neat. Isn't it possible already? I thought Matt added .N ini.. If not please file a FR?
 
so something like setDT(df)[, Time[.N] := 0L ,by=.(user_id, tag)] would work
 
David, I think that is alreadya FR
 
@Arun ok then waiting for it
and for the setDT(df, key = id) one
 
What is the error you get?
 
@Arun btw, the roll = -1L is ocrret right? It will match and exact match and one unit before? I thining posting it. Maybe add the forverlap option too
 
7:41 PM
@Arun It is not an error, but the replaced positions are not correct.
 
Roll = -. Does next observation carried backwards.. Value is rolled back. E.g., 10 falls between 7 and 12. So joining with 10 would roll next value = 12 as the matching value. Here roll = - inf which gives unlimited rollback
limited rollback is straightforward once you get this
Akrun, that is worse, could you file an issue?or post a repex here?
Or will take a look when I get home
 
@Arun I will. I am searching for the original question which I solved a couple of days before. It is a bit more simple
 
Oh I see what you mean, yes that won't work
Because first the sunset in i happens and then compute j grouped by by
 
@akrun I wanted to tell you for long time
try avoiding recommending people using list2env. It's a bad practice
I see many comments of you recommending it
 
@DavidArenburg I usually also hint that keeping it in the list is the best way, but sometimes, the OP wants it to be separate objects.
 
7:52 PM
@akrun I usually disregard what OP wants
:)
I've got ones a downvote from one of the R core team memebers and learnt my lesson
 
@DavidArenburg I don't recommend it, but may be I was not very specific in my comments.
I once got a downvote for not indenting the pipe for dplyr
 
@akrun Yes from hadley
and I've got it from Martin Maechler himself
who actually wrote list2env...
how ironic...
 
@DavidArenburg Didn't know that MartinMaechler hangs around here....
 
@akrun He did for a while
look him up in users
he has funny picture :)
 
@DavidArenburg He commented to some of my posts in R mailing list, but never had the chance to meet him here.
 
7:56 PM
@akrun Oh you used the mailing list
never used it in my life
 
Yes
@DavidArenburg but I am not very active in that site
 
@akrun Seems like you are
J/K :)
But it seems like you've answered quite alot
4K posts
 
@DavidArenburg I was active for almost a year.
 
seems like from 2012
 
@DavidArenburg Yes, around mid 2012 to 2013 end or until I became active in stackoverflow.
@Arun Thanks for the reply.
 
8:16 PM
@Arun So this observation wise- and value wise? In your example. of we have c(7, 10, 12) than roll=-1L will match 7 (if I'm matching 10 for example)?
@Frank nice data.table answer
 
 
1 hour later…
9:23 PM
@DavidArenburg for me you seems to be the roll master :)
 
 
1 hour later…
10:50 PM
@DavidArenburg why technically list2env is bad practice?
lapply is more flexible than eapply
so list2env may be sometimes useful
 
11:28 PM
@DavidArenburg thanks :)
 

« first day (4 days earlier)      last day (3289 days later) »