« first day (785 days earlier)      last day (2521 days later) » 

1:07 AM
@Sotos Congrats for the hammer :)
 
 
2 hours later…
 
3 hours later…
Morning ppl
@RonakShah , @UweBlock thanks :))
 
Guten Morgen, @Sotos
How is your father?
 
Hello / Hallo all :-)
 
Sup, amigos?
 
@UweBlock he has the day off today. Restarting tomorrow, saturday and Monday. We won't know how well he is responding until the treatment finishes. His psychology is good though so thats something
@UweBlock trting to find stuff to do today that we have the whole day. Any recommendations? :)
 
7:00 AM
@Jaap @Frank There are so much whistles and bells, I don't get the point what syberia is good for. May be I'm too dumb but what are the use cases?
 
Good morning!
 
Morning @m0nhawk, @Cath
 
@Sotos There's a public holiday in Germany, Fronleichnam or Feast of Corpus Christi. There will be lot's of processions around Catholic churches - and Cologne has many of them. I just read about a ship procession on the river Rhine in Köln-Mülheim, one of the Colognes suburbs.
 
@UweBlock sounds interesting
Thats why there was a lot of bells yesterday
Neat. Will go check it out :)
 
7:16 AM
Aloha :-)
 
I haven't been to Cologne for sightseeing, but there might be some interesting places to go. The most prominent is the Cathedral which is a World Heritage site. It houses important relics and treasures. Around the Cathedral there is a place with bars and cafés.
 
@Sotos if you like chocolate, there is a chocolate museum if I recollect it correctly
 
There are many museums (if temperatures gets too hot outside), from ancient romans and germans to modern art, most of them are located around the Cathedral. There is also a very well known chocolate museum. Perhaps, the tourist information near the Cathedral can give you better advice.
 
@UweBlock Chocolate museum? Can you taste the exhibit?
 
7:33 AM
According to Wikipedia, A special attraction is the 3-metre-high chocolate fountain; an employee dips wafers into the liquid chocolate and distributes them to the visitors.
And, Miniature versions of machines used in the production of chocolate, allowing visitors to observe the process of making the small chocolate bars which are given out at the entrance.
 
I definitely should visit Cologne. :)
 
8:02 AM
I just wish everybody would call it Köln, that way we would all understand. :)
 
@Jaap on our way there right now!!! :)
Also learned that cologne (the perfume) took its name from this city
 
I rode a train through Köln a few years ago and I remember a bridge with a lot of locks.
 
Also I m liking germany more and more every day :)
And we are off. I ll see you guys later. I ll bring chocolates :D
 
@RomanLuštrik Personally, I don't have umlauts available.
 
8:36 AM
Really? I press shift and the key left of 1, and when I press a, o or e, I get an umlaut.
That's on a Slovenian keyboard...
 
@RomanLuštrik that only works in some locales
In Dutch locale, you need to do " and o, in US locale none of those work.
 
9:11 AM
I cannot find a good dupe for this one, anyone has one ?
 
9:45 AM
I'm running into a weird problem:
> 1 + !0 + 0
[1] 2
> 2*(82>81)
[1] 2
> 1 + !0 + 0 + 2*(82>81)
[1] 1
the outcome of the last step should be 4; any ideas what's wrong?
 
precedence, can't explain it tho
If you post at SO, you will probably get shouted at with links to other canonical post with million views :)
 
I think it has to do with conversion, check !0 + 0, !0 + 1 !0 + 2
 
thx :-)
this works:
> 1 + 2*(82>81) + !0 + 0
[1] 4
 
@Jaap Because the + is right associated and !0 + 0 + 2*(82>81) evaluated to FALSE and not a number
Then it converts to 0 and 1 + 0 is 1.
 
@m0nhawk I doubt it:
> 1 + !0 + 0 + (2*(82>81))
[1] 1
or am I wrong here?
 
9:50 AM
Yeah and !0 + 0 + (2*(82>81)) == FALSE, so if that gets evaluated first you get 1 + FALSE = 1
So I think @m0nhawk is correct
 
be explicit: 1 + as.integer(!0) + 0 + as.integer(2*(82>81))
gives 4
 
It's evaluated the following:
(82>81) # TRUE
2*(82>81) # 2
0 + 2*(82>81) # 2
!0 + 0 + 2*(82>81) # and on this step the result is FALSE
1 + !0 + 0 + 2*(82>81) # 1
 
!(0 + 0 + 2*(82>81)) == FALSE
(!0) + 0 + 2*(82>81) == 3
 
OK, I was wrong: @Axeman is right.
I thought, that the R precedence is the same, as in C. And in C the ! is higher, than the +.
 
I'm unencumbered with knowledge of any other programming language
5
 
10:03 AM
thx all!
problem solved :-)
 
@Axeman new words :)
 
10:19 AM
this just makes me want to dupe with any post and then edit the list of targets later with the correct links...
actually this is more or less nurka's strategy when answering...
@Cath IMHO and with greater respect, you are just accusing me of something that is not correct. — akrun 17 secs ago
the accusation was on answering dupes... o_O
 
"IMO and with great respect"??
 
10:34 AM
@DavidArenburg you mean he is not honest?
 
11:09 AM
Lol, Jaap has a hammer/answer ratio of 631/801 = 0.79 and David has 504 / 1578 = 0.32. Nurka has 411 / 11055 = 0.04.
 
@Axeman wow, what's mine?
 
775 / 547 = 1.4
 
Good to know, dankje!
 
@Axeman where are you getting number of hammers used?
 
11:29 AM
nurka posted that in a deleted comment
 
11:40 AM
148/706 = 0.21
 
12:00 PM
@zx8754 Is that a new thing of nurka? Never heard that one before
 
@DavidArenburg yeah he's doing that all the time now
 
No idea, he is using this all the time in the comments, trying to cover his <insert bad word> with "nice" words.
 
@UweBlock it says it improves modularity, but that seems very unlikely, considering how it embeds any and all code into a single list() and writes that code in an entirely new language, mostly made up of 'verse-styled verbs (multi_column_transformation, renamer)
so, yeah, count me among those too dumb to get why it is useful
 
12:28 PM
Question asked, some misunderstanding and then new question asked.
can something be done?
 
12:41 PM
Phew...that was a lot of walking. But was worth it!
very beautiful city. Liking it more and more. I wonder what the demand for data scientists is around here :p
@RonakShah shall we dupe one with the other?
 
@Sotos should we? I am not sure..
Ideally, OP should have updated the first question itself.
 
Are they different? I don't want to read them...bit tired atm :p I ll leave it up to you :)
 
lol.. so how was the chocolate factory, right?
thats where you went?
 
Yup. We went to the chocolate museum. Awesome. We took the full tour. bought some chocolate...a lot of chocolate actually :)
There were many many events (public holiday here today). We saw the cathedral, went inside. Took some pictures, ate some traditional brutworsts
A good, much needed day :)
 
12:56 PM
@Axeman I guess I have to work harder to get it above 1 ;-)
 
funny thing, we sat at a cafe and order 2 beers (2.05 each) and one bottle of water (750ml) 6.50! :p
so I bought a T-shirt that says "Save Water... Drink Beer" :)
 
haha..they really want you to drink beer and save water.. :P
 
Yup...beer is indeed cheaper than water here.
 
1:22 PM
^ OP edited so I will retract
 
@Cath they forgot to post the price they are willing to pay :p
 
@Sotos ah yeah, that could help ;-D
 
wow...It's like "rookie day gone wrong" in SO today :p
 
indeed!
 
please reject this edit as no improvement of my answer
 
1:52 PM
@Jaap it seems already rejected (btw I would have gone with "conflict with author's intents" ;-) )
 
though more than one reject vote was needed
 
The one I cast I went with the "conflict" one
 
@Jaap maybe rules have changed or it is because you're the author and rejected it. Today I saw twice "still needs one vote" but there were only mine and I thought it needed 3 votes, maybe depends on rep ?
@RonakShah your "friend" did it again ;-)
 
Did someone here played with Stack Overflow’s 2017 Developer Survey Data ?
 
nope
 
1:58 PM
me neither
 
@Sotos There is a law that they have to offer at least one non-alcoholic beverage that is cheaper than the alcoholic drinks.
 
alcohol-free beer ?
@Sotos, all=TRUE is for "all obs", not var, I don't see how a var would not get included, except a typo somewhere...
 
@Roland yup. That is why they all serve milk :)
@Cath I read missing values... my mistake or a typo...hmm
Should I reopen and ask for clarification?
 
@Sotos is it closed ? didn't notice. Should be closed as "not repro/typo" IMO (and with greater respect)
 
2:12 PM
hihihihi
 
yes, I'd say dehammer
 
@Sotos Was the beer in these tiny glasses they use in Köln? Having lived in Munich I find these unacceptable for beer. But Kölsch beer is not to my taste anyway.
 
@Roland they were a bit larger than half-pints. I like darker beer. kolsch is too..."blonde"
 
@Roland I agree, if it has to be Kölsch, no need for the glass to be too large ;-)
 
@Roland And have you visited Hard Rock Cafe in München?
 
2:20 PM
@m0nhawk The backstage is more my kind of place.
 
@Roland I have only been in München for 1 day this spring.
Btw, thanks for recommendation. I like this kind of places. :)
 
nice one @Roland. I missed a coheed n cambria concert last night :/
 
@m0nhawk Munich is a nice (although expensive) place for living, but being from northern Germany I never really felt at home.
 
Yeah, hotel are pretty expensive.

I want to visit München and Köln with longer stay.
Mostly museums, cafes and some concerts.
 
@Cath okay. When you say "friend" I remember only one person ;-)
I have only one "friend" here IMHO and with greatest respect
 
2:25 PM
@RonakShah lol this can apply to lots of OP though, but with different degrees of "friendchip" ;-p
(so this was another one, as you saw ;-) )
 
yup. whats with OP though ?
The fact that it is still not marked as duplicate suggests it is a different question ?
 
@RonakShah it seems more like variations on a unique question
 
we were just having this discussion the other day, What should one be? A specialist or a generalist?
A person who knows everything about something or a person who knows something about everything?
 
3:04 PM
@RonakShah at first glance, a specialist right? As everything becomes more complex and more sophisticated, specialists are the ones who end up doing the work. However, a generalist will definitely make great contributions. For example I often find myself reading "comparative studies" papers (mostly because their reference list is gold) which certainly steer me to the right direction. Maybe for academics, being a generalist is more valuable. So I guess it really depends on the field you are in
you know IMHO and with great respect of course
But If you love what you do, and you are putting extra hours, then becoming a specialist is inevitable. That is how you become an expert right? You obsess about what you do
2
hah... so with that ^ remark, nurka is an expert on rep. Not R :p
 
@Sotos I second that. One might start as a person who doesn't do only one thing all the time but eventually becoming an expert or specialist is what one's final goal should be.
 
3:20 PM
@Sotos I'm a physicist and in physics you better be specialist in some particular and limited field.
It's not common for some physicist to write articles in some other fields (for example, for space physicist who study magnetic field to write about nanostructures and metamaterials).
 
@m0nhawk agreed. Btw, we just hired another data scientist at my company for my team who is a post doc in physics. I bet you ll have a lot to talk about :)
what is your specialty?
 
@Sotos Yeah, I'm currently looking for some data scientist jobs. Physics are fun, but a bit old-fashioned.
 
true!!!
 
Space Physics: Earth's magnetic field, theories, models and satellite data.
 
3:25 PM
same with mathematics ( I come from mathematical background)
oohh, interesting!
 
I've wrote lots of analysis scripts in Python for few satellites.
Currently only used by team, where I'm working on my PhD.
 
Analysing patterns from the satellites? Images?
 
No, magnetic field, electric field, densities for various ions.
OK, I gotta go on training.
 
Sounds interesting
Have a good one @m0nhawk
 
Thanks. :)
 
3:42 PM
data.table q: i looked for documentation of the vars = "v"; DT[, ..vars] syntax to point someone to (in 1.10.4) and found none. am i missing it somewhere?
re specialist vs generalist, imo it's up to the individual. i think there's too strong a stigma against generalists, as if specialization is morally superior and generalists are lazy dilettantes or something. to some extent, there's always been a stigma the other way as well, i guess
of course you could say there's an economic/labor-market-viability question as well, but even there, i don't think one is better than the other. people are different and should go their own way if they have sufficient economic freedom to make that choice...
 
@Frank It's not a matter of who is better. As you said, it depends on the individual, but I strongly think that it also depends on the field one is in. When I was a lecturer (for about 9 years) I knew a lot of math, statistics, even some accounting, and I was also teaching classes such as Final year projects and introduction to excel/spss. So being a generalist there suited me
The last couple of years though when I entered (the magical) world of data science, then becoming a specialist is a must in order for me to progress to my job
Of course one can always be a specialist on generalisation :p
Btw, I registered in data camp. Currently doing the python tutorials
 
4:07 PM
@Sotos cool. within data science, what specialism are you in? (i'm not even sure what the range of them are... maybe: data collection, data munging, statistical theory and practice, API, viz, reporting, interactive?)
 
@Frank I currently specialize in unsupervised anomaly detection. Always talking about the statistical part since fetching - parsing and even some initial aggregation of the data is done by our dev team. (Yeah we have awesome devs :))
 
ah, cool
 
I am currently studying on how to model low count time series data
If I model users who only work 8 hours per day, then 2 thirds of my daily data are 0
and using say time series decomposition or some sort of ARIMA modeling is not efficient at all
and devs get mad at me :p
 
heh, an interesting problem. i work with low counts as well, albeit not due to filtering (sales data for some future event, which has a sales trough between on-sale and the event)
i never do time series modeling, but there's quite a bit of lit on handling zeros
 
Indeed. And once you capture that seasonality, then plotting the forecasts is a great WoW factor
 
4:15 PM
seems to me the most elegant way (for my case) would be modeling a continuous process instead of looking at days... not sure what you can do for yours... filtering like that is messy
 
best workaround I did so far was to combine 4-5 variables and run a multivariate method (like mahalanobis)
 
ok
 
there are a lot of limitations and constrains but once you filter the variables to the ones that can go in, then the results re promising
 
cool, if you can say, is it for human resources stuff that you're looking at workers/users? sounds like MTurk or summat
 
another way (which I dont like) is to split to working/non-working hours
nope. Cyber security. Internal threads
 
4:18 PM
ah sounds cool, certainly over my head, tech-wise :)
 
seeking volume type attacks (DDoS, floods, scans)
It's exciting. Especially when an attack happens.
 
@Sotos you have responsibilities during an attack, not just before/after looking at data?
 
Last attack a customer had was a DDoS, and I literally went to work at 10 o clock at night cause I couldnt wait to see the data
No. We have security specialist that are responsible for mitigating the attacks
specialists**
My job is to detect them. Mainly for 0-day attacks
so anything that IDS/IPS will miss
 
ah, cool, i wasn't aware that cyber sec worked with / was interested in sophisticated stats
i guess if it works, it's worth it to the clients, good opportunity for data science
 
exactly. Very challenging though.
Data in this field does not do us any favours
New Era is Big Data Security analytics
lots of good stuff :)
 
4:23 PM
nice to have a clear application and objective to measure results against
 
oh we also have in house ethical hackers that constantly test any and all models my team and I come up with
 
@Sotos wow, cool stuff
 
@Frank yup. I can honestly say that I want to wake up in the morning and go to work. I consider mysself lucky to be able to say that
 
:)
 
 
1 hour later…
5:29 PM
@StevenBeaupré What's up
 
Hey @DavidArenburg :)
Not much just got back from vacation (again) grins
 
you crazy ppl
 
3 weeks :o
 
I've still haven't been on vacation since you previously been on vacation
 
Austria, Czech Republic, Hungary and Slovakia.
Well, what can I say, I have a very privileged position :)
And I just found out IT unblocked GMT @ work, yay !
 
5:35 PM
which is? Unemployed? :)
 
@Sotos You can ask Q's to me. I'm using Python for around 4 years already.
 
Oh no, I'm more-than-employed. I just have a very demanding schedule which requires me to work for 70/80 hours a week for some intense periods, then I can unwind and take a couple of days / weeks.
 
re generalist vs specialist: it's also depend on what the person is doing. If the person is some kind of technical manager (find new and more suitable tech) - then the generalist are better.
 
@SymbolixAU I used your googleway package today to plan my bike ride this weekend :)
 
@Frank also not in the NEWS-file?
 
5:39 PM
 
@StevenBeaupré that's crazy
 
@StevenBeaupré Looks pretty intense.
 
@DavidArenburg Well, the crazy / $ ratio is worth it.
 
@StevenBeaupré doesn't look like roadcycling; mtb?
 
@Jaap That's roadcycling.
 
5:43 PM
@StevenBeaupré as the average speed is pretty low, I figured it wouldn't be roadcycling; for roadcycling this pretty intens! (assuming you didn't make stops)
 
Yes that's non-stop.
 
tough ride
 
Changes in v1.10.2 (on CRAN 31 Jan 2017)

NEW FEATURES

When j is a symbol prefixed with .. it will be looked up in calling scope and its value taken to be column names or numbers.

myCols = c("colA","colB")
DT[, myCols, with=FALSE]
DT[, ..myCols]              # same
When you see the .. prefix think one-level-up like the directory .. in all operating systems meaning the parent directory. In future the .. prefix could be made to work on all symbols apearing anywhere inside DT[...]. It is intended to be a convenient way to protect your code from accidentally picking up a column name. Similar 
 
6:00 PM
Is this a typo?
0
Q: stop printing na in plot

upalI am plotting a categorical variable. There is no NA but the plot is coming up with NA bar with no observation in it. How do I stop prinint this NA ber in my plot? ggplot(data.frame(cat.hour), aes(x=factor(cat.hour, levels=c("1 min","2 min","3 min","4 min","5 min","6 min","7 min","8 min"...

 
@RomanLuštrik looks like it
 
@Frank Wow, first time I see this
looks awesome
 
@DavidArenburg What's up with you ? Heard you moved / changed job ?
 
@UweBlock @Jaap thanks, yes, saw and linked that, but it ought to be in the docs on the CRAN version by now, eh
 
6:20 PM
@Jaap My problem is with the stupid syntax right out the gate.
 
6:36 PM
@DavidArenburg oh? thought i'd seen you use it before. yeah, super convenient, came soon after the DT[, 1] change
for future ref/updating when docs are in, here's the link to the OP query about .. stackoverflow.com/questions/44557641/…
 
7:13 PM
@m0nhawk I 'll take you on that offer in due time ;)
 
7:43 PM
@Sotos i like Vincent's answer there, actually
(having not actually read the question)
 
@Frank It does not do what OP asks
 
also, i approve of piping for this task, especially in the absence of tidyverse :)
again, not actually knowing what the task is
 
hehe...is magrittr Hudley's?
 
Yes. :)
 
ok. I find pipping very readable in any usage
 
8:45 PM
wow...same user asked the same question one month later
 
@Queen k
 
9:04 PM
Guys and ladies, I have one question: I have .RData with environment. How can I load everything from it into .GlobalEnv?
 
@m0nhawk load?
 
@zx8754 It loads it as data.daily environment.
 
Can it be a list?
x <- new.env()
x$xy1 <- 1
x$xy2 <- 2

sapply(names(x), FUN = get, envir = x)
Or
> x <- new.env()
> x$xy1 <- 1
> x$xy2 <- 2
> sapply(names(x), FUN = get, envir = x)
xy1 xy2
  1   2
> for (i in names(x)) {
+   assign(i, value = x$i, envir = .GlobalEnv)
+ }
> ls()
[1] "i"   "x"   "xy1" "xy2"
 
@RomanLuštrik Thanks. I'll check it now.
 
@m0nhawk probably attach, though in my experience, using it ruins everything in subtle and creative ways, requiring me to put my R session out of its misery some time later. ymmv
 
9:41 PM
@StevenBeaupré - cool :thumbup: ! Would be cool to see it on a map too with the multi-coloured line (stackoverflow.com/a/42407320/5977215)
 
11:24 PM
 

« first day (785 days earlier)      last day (2521 days later) »