These are chat archives for data-8/datascience

19th
Jan 2016
Carl Boettiger
@cboettig
Jan 19 2016 17:10
@SamLau95 Just a heads up that it looks like my home directory on data8.org has been wiped (presumably someone was clearing out the Fall student directories and instructor directories look just like students...). I had everything backed up so no problem, but we probably need a better process in place so that connector instructors don't have their directories removed when that happens
Sam Lau
@SamLau95
Jan 19 2016 18:47
@choldgraf @clcarson are you still running into issues? ryan pushed in some fixes last night
@cboettig how about on https://ds8.berkeley.edu/hub/home ? data8 is just a new set of servers and we haven't done any copying over of files
Carl Boettiger
@cboettig
Jan 19 2016 18:48
@SamLau95 Ah, thanks, stuff is at the new link
@SamLau95 I'm still trying to figure out how the new import API will impact my workflow
It looks like the instructions you have on https://github.com/data-8/connector-instructors assume I have 1 branch and that branch is gh-pages
Sam Lau
@SamLau95
Jan 19 2016 18:50
it assumes you have a gh-pages branch but you can have other branches too
Carl Boettiger
@cboettig
Jan 19 2016 18:50
In reality I have a master branch where I keep private things like answer keys and a gh-pages branch I want to use to distribute public Notebooks
Sam Lau
@SamLau95
Jan 19 2016 18:50
unfortunately i haven't set it up so that private repos can be cloned
Carl Boettiger
@cboettig
Jan 19 2016 18:50
So how do I construct the import link to tell it to import from the gh-pages branch?
Sam Lau
@SamLau95
Jan 19 2016 18:51
it's hardcoded to pull from gh-pages
so no other branch will get pulled in
Carl Boettiger
@cboettig
Jan 19 2016 18:51
okay, that's good, but like you say authentication will be a problem
Sam Lau
@SamLau95
Jan 19 2016 18:51
right. for the time being i can make you a private repo where you can put your secret files
and you can keep a public one where you release assignments
Carl Boettiger
@cboettig
Jan 19 2016 18:52
since it's gh-pages the notebook is already accessbile on a public data-8 url, which would have worked in the old system, but I guess not in the new system
well currently my ecology-connector repo is private and has my secret files (on the master branch)
Sam Lau
@SamLau95
Jan 19 2016 18:52
yeah; the old system still works though, so you can fall back to that
Carl Boettiger
@cboettig
Jan 19 2016 18:52
ah, that's good to know!
Sam Lau
@SamLau95
Jan 19 2016 18:52
and okay, i can make a public repo for you if you'd like
Carl Boettiger
@cboettig
Jan 19 2016 18:53
I'd prefer to have two branches then a public repo, hmm, will think about it
Sam Lau
@SamLau95
Jan 19 2016 18:53
i think the new system is more beginner-friendly and robust (eg. updates to files work) and eventually we'd like to only use that (hence why the old system isn't mentioned)
and yeah, what we can do is
we'll let data8.berkeley.edu see our private repos
but only allow pulling from the gh-pages branch
Carl Boettiger
@cboettig
Jan 19 2016 18:54
Right, I agree, though it still has some learning curve. I think the default will be that instructors need private as well as public content. Anyway, off to teach now (but no notebooks today)!
nice, sounds like a good solution
Sam Lau
@SamLau95
Jan 19 2016 18:55
yup; we're still working on ways to make the system easier to use, although at the moment we're focused on getting data8 up and running
have a good class!
AndrejGitHub
@AndrejGitHub
Jan 19 2016 19:01
Hello, and perhaps a simpler query -- when I tried to log-in at 105 Cory last week, this was not possible. Also, the instructors machine seemed to have a monitor that did not quite work. As I'm teaching at 2pm, I wanted to check in about the status of accounts,
Thanks, and I do not plan to do any work on the machines, like Carl
Sam Lau
@SamLau95
Jan 19 2016 19:03
@AndrejGitHub hmm. what did you try to log in with? i believe you'll need an account form (with the username + password) from Kevin in the EECS department to log into the machines there
i'll forward your problem to him and cc you
AndrejGitHub
@AndrejGitHub
Jan 19 2016 19:15
Thank you!
Sam Lau
@SamLau95
Jan 19 2016 19:27
also @AndrejGitHub , if you're just planning to use the projector i think that you can bring your laptop and use the VGA cable that's in the room
Chris Holdgraf
@choldgraf
Jan 19 2016 22:36
hey @SamLau95, mmahoney tried logging in but got a 403 error when he tried to start his server
It looks like he does have an account in data8
(which, btw, there has been some confusion about the difference between data8 and ds8...is there a difference?)
Carl Boettiger
@cboettig
Jan 19 2016 22:37
@choldgraf I believe data8.org is the domain name associated with the gh-pages websites, while ds8.berkeley.edu is the computational server environment
Chris Holdgraf
@choldgraf
Jan 19 2016 22:38
so, instructors should log into ds8? I'm getting two different experiences for data8 vs. ds8
(e.g., one gives me admin privileges, one doesn't)
Carl Boettiger
@cboettig
Jan 19 2016 22:39
wow, I see
I didn't realize that data8.berkeley.edu was also a thing
Chris Holdgraf
@choldgraf
Jan 19 2016 22:39
and at least one connector instructor (mmahoney) has a username in "data8" but is apparently getting a 403 error in ds8
Carl Boettiger
@cboettig
Jan 19 2016 22:40
yeah, looks like they are separate server banks with separate accounts
Chris Holdgraf
@choldgraf
Jan 19 2016 22:40
yeah I think you're right - I assume one of them is the "right" one and one is the "old" one, but not which is which
Carl Boettiger
@cboettig
Jan 19 2016 22:41
ds8 was the one used last semester. Looks like I have regular user accounts on both, but ds8 has my content from the Fall and data8.berkeley.edu brings me to an empty environment
So I guess that means 'data8.berkeley.edu' is the right one for the Spring? Guess we need @SamLau95 to confirm.
Chris Holdgraf
@choldgraf
Jan 19 2016 22:43
hrmmm ok cool...it looks like mmahoney is getting 403 errors on both of them
Carl Boettiger
@cboettig
Jan 19 2016 22:43
@AndrejGitHub Good luck! hope your class is going well. I wasn't able to get the VGA working, but was able to connect over HDMI (nicer anyway since it gives me higher resolution)
Chris Holdgraf
@choldgraf
Jan 19 2016 22:43
even though there's a username of mmahoney. @SamLau95 when we "add a user" do we just pick the username for their @berkeley.edu account? And does it matter if it's @stat.berkeley.edu?
so I'll tell mmahoney to give it a shot tonight once we've figured it out. Would be good sooner than later so that he can start teaching himself notebooks and the datascience package etc.
Carl Boettiger
@cboettig
Jan 19 2016 22:47
(@choldgraf just guessing but I'd bet @stat might be a problem. A quick look suggests that mmahoney isn't the Mike's calnet id -- looks like it might belong to someone else in fact. I think his username has to be his calnet id, e.g. the one with @berkeley.edu)
Chris Holdgraf
@choldgraf
Jan 19 2016 22:48
ahhhhh
I just asked him, he has a different username for @berkeley
and apparently there is another mmahoney@berkeley.edu
ok and now he's getting a 500 internal server error
Carl Boettiger
@cboettig
Jan 19 2016 22:53
guess that's progress! um, just try again? 4** errors are usually 'you screwed up' but 5** errors are usually 'server screwed up'
Chris Holdgraf
@choldgraf
Jan 19 2016 22:54
yeah that's what it sounds like
I just created an account for Anthony and there's also a 500 error there
so maybe there's something going on under the scenes that we need to set up above and beyond just adding their name to the list
Carl Boettiger
@cboettig
Jan 19 2016 22:55
yeah, out of my depth. are you sure that the user you create gets ownership permissions of the working dir that Jupyter is launching them into?
Chris Holdgraf
@choldgraf
Jan 19 2016 22:55
that is a good question and one that I cannot answer :)
(cannot as in "don't have the information for")
Carl Boettiger
@cboettig
Jan 19 2016 22:56
are users added in the standard linux way (adduser username kind of thing) or through some other mechanism?
Chris Holdgraf
@choldgraf
Jan 19 2016 22:57
that's a question for @SamLau95 ...I haven't had any hand in setting this up
Carl Boettiger
@cboettig
Jan 19 2016 22:58
right, cool. I think they're scrambling on stuff for the main course now but hopefully can all get ironed out soon
Chris Holdgraf
@choldgraf
Jan 19 2016 23:00
ok cool
Sam Lau
@SamLau95
Jan 19 2016 23:48
data8.berkeley.edu is the new system that we're going to use from now on
sorry about the confusion
Chris Holdgraf
@choldgraf
Jan 19 2016 23:49
ok cool
either way, I added those usernames under the data8 admin account
and they're getting 500 errors
Sam Lau
@SamLau95
Jan 19 2016 23:50
hmm
that's odd
let me ping ryan
Chris Holdgraf
@choldgraf
Jan 19 2016 23:53
ok cool
this happened w/ the recently created accounts: "mahoneymw" and "anthonysuen"