Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 18 13:38
    papajohn commented #414
  • Sep 18 05:53
    adnanhemani commented #414
  • Sep 18 01:11
    davidwagner opened #414
  • Sep 17 22:21

    adnanhemani on gh-pages

    Generated by commit 23b4f5f6482… (compare)

  • Sep 17 22:04

    adnanhemani on gh-pages

    Generated by commit 23b4f5f6482… (compare)

  • Sep 17 21:13

    davidwagner on fix_version_15_2

    (compare)

  • Sep 17 21:13

    davidwagner on master

    fixed bug from previous version CHANGELOG Delete top_movies.csv Accident… and 2 more (compare)

  • Sep 17 21:13
    davidwagner closed #413
  • Sep 17 20:37

    adnanhemani on gh-pages

    Generated by commit ec024b264ff… (compare)

  • Sep 17 20:32

    davidwagner on travis_doesnt_like_libgfortran

    (compare)

  • Sep 17 20:32

    davidwagner on master

    Try removing libgfortran depend… Merge pull request #412 from da… (compare)

  • Sep 17 20:32
    davidwagner closed #412
  • Sep 16 17:04
    SamLau95 commented #412
  • Sep 16 06:23
    adnanhemani commented #412
  • Sep 16 06:16

    adnanhemani on fix_version_15_2

    Delete hist_workout_2.ipynb Ac… (compare)

  • Sep 16 06:16
    adnanhemani synchronize #413
  • Sep 16 06:15

    adnanhemani on fix_version_15_2

    Delete top_movies.csv Accident… (compare)

  • Sep 16 06:15
    adnanhemani synchronize #413
  • Sep 16 06:09
    adnanhemani review_requested #413
  • Sep 16 06:09
    adnanhemani review_requested #413
Carl Boettiger
@cboettig
hmm, generic Jupyter question: is there an easy way to split a Jupyter notebook into two separate notebooks (preferably without copy-pasting raw .json)?
e.g. a way to select a group of cells, click 'copy cells', and then paste them into a new notebook?
Sam Lau
@SamLau95
not that i know of :(
henryem
@henryem
@cboettig copy the notebook, delete half from each? :-/
Chris Holdgraf
@choldgraf
@cboettig I'm not sure what kind of guide would be useful because I've probably got too much coding experience to have the right perspective. I'll try to pay attention to any pain points that come up and maybe can help out @SamLau95 in building some tutorials.
also @cboettig see this issue on github: ipython/ipython#5746
looks like it's something people are working on, but in the meantime you might just do File->Make a copy and then delete half the cells in the copy
let me know what you’d like to add! (or just make a PR)
Carl Boettiger
@cboettig
@henryem so simple yet so brilliant. you're a good guy to know
Carl Boettiger
@cboettig
@SamLau95 Workflow guide looks very nice! Do you know if the plan is to have better support for step 5 (submitting student notebooks to instructors?) Also, you mention just using bcourses or email, but just to be comprehensive you might point out how a student should download their completed notebook, if they want to submit it via email etc. (e.g. pointing out that notebooks can be downloaded as pdf as well as ipython /jupyter format)
Sam Lau
@SamLau95

@cboettig we haven’t talked about this at length but i believe for the main class the plan was to use okpy https://ok-server.appspot.com/landing for submission / autograding. we haven’t yet set it up ourselves, so it’s hard to write about that process in the tutorial

that’s a good point! i’ll add it

Carl Boettiger
@cboettig
@SamLau95 Nice, okpy looks pretty slick. Will students be able to get a "submit" button in their actual Jupyter notebook instance? Or do they submit using the okpy web interface (which somehow knows how to find/access their notebooks?)
Sam Lau
@SamLau95
as of right now i don’t know of any plans to implement a “submit" button
in fact, as of right now students don’t do anything to submit. last semester we just pulled all the students’ files straight up from the ds8 servers
and ran the autograder on their files
Carl Boettiger
@cboettig
right, sure, but that didn't involve any okpy, I assume that was just some bash script on the server.
I imagine students would prefer to submit instead of having their work just sucked up at some date and submitted for them? or maybe not?
Sam Lau
@SamLau95
we formatted the test cases to work with the okclient https://github.com/Cal-CS-61A-Staff/ok-client so submitting to the okpy server shouldn’t be super hard
although last semester we only used the local autograding functionality
and yeah, that’s what i think we’re aiming for
last semester we only had enough time to do the bare minimum
Carl Boettiger
@cboettig
cool. right. for a small connector like mine it's probably easier for me to grade notebooks by hand then running by writing automatic tests anyhow.
If a little script just copied the working directories of all my students into appropriate sub-directories of my account on the server, I'd probably be set. Of course I can approximate that if they (1) email me the notebooks, (2) I drop them into a private github repo, and (3) then pull them onto the ds8 server to grade them. Also assumes more knowledge of git (or knowledge to run jupyter locally and risk having different software versions etc)
Carl Boettiger
@cboettig
@SamLau95 is there a function like Table.apply that returns a Table instead of an array? (e.g. a function that behaves like pandas.applymap()?)
Sam Lau
@SamLau95
@cboettig not built-in, unfortunately. you’ll have to write one yourself
Chris Holdgraf
@choldgraf
@cboettig @SamLau95 see dsten/datascience#175 for a quick implementation of what you mentioned. Would that work?
Carl Boettiger
@cboettig
@choldgraf nice thanks. @SamLau95 right, but writing it myself rather defeats the pedagogy, since we are then back to dealing with cognitive load of multiple data structures.
Chris Holdgraf
@choldgraf
That makes sense to me - I think the trick with things like apply functions is that it can become confusing if you, e.g., have different datatypes in your columns. I could see it becoming a hassle if it's taught as a primary method of a Table object, though also quite useful too (guess that's the challenge of pandas in general)
Sam Lau
@SamLau95
@choldgraf thanks! i’ll take a look later today
Chris Holdgraf
@choldgraf
hey @SamLau95, I was speaking with Edwin, who is teaching the literature connector course. He said that he still doesn't have a data8 account...is that something you can set up?
he also mentioned that he doesn't have access to bCourses etc. Maybe this is because his Berkeley account was recently created, but who's a good person to talk to in order to make sure this happens?
Sam Lau
@SamLau95
@choldgraf sorry i didn’t see this until now! what’s his calnet ID? alternatively i added you to data8.berkeley.edu as an admin so you can add him yourself at https://data8.berkeley.edu/hub/admin
oh just kidding, found it (trloand) and added him
Chris Holdgraf
@choldgraf
Ah sorry, yeah I think his Cal name is teddy actually
Sam Lau
@SamLau95
ah, i’ll try that
Chris Holdgraf
@choldgraf
Cool thanks, I'll just add on my own in the future
Sam Lau
@SamLau95
cool, added
Cathryn Carson
@clcarson
Could someone (@SamLau95, @choldgraf) add me to the new data8.org so I don't get a 500 internal server error?
Chris Holdgraf
@choldgraf
Hmmm, I'm already seeing your name in there
Cathryn Carson
@clcarson
It now looks like I can log in, but I still get a message 500 : Internal Server Error
Failed to start your server. Please contact admin. What I'm trying to do is just look at the link Maddie sent for the Smart Cities connector
Chris Holdgraf
@choldgraf
Hmmm, that sounds like a permissions issue
Could you just visit that repo on github instead?
Chris Holdgraf
@choldgraf
e.g., here's the smart cities connector link on github https://github.com/data-8/smart-cities-connector
though looks like it's not updated, so I don't think that's what she's working on
Chris Holdgraf
@choldgraf
actually, FWIW I just tried to start my server as well and got the same error. @SamLau95 any idea what's going on?
I went into the admin page and clicked on "stop server" and it returned an error saying that the server wasn't actually running. So it seems like it thinks that some servers are running when they're not
Cathryn Carson
@clcarson
I had that same experience as @choldgraf with trying to start and stop servers. I got to the admin page and decided I shouldn't be mucking around in there because it looked like I could break stuff.
In theory I could visit the repo on github, but I don't understand github well enough to know what that means to do. (I figure we'll have a lot of instructors who are in the same boat. If they find our support system hard to use, they'll opt out.)
Chris Holdgraf
@choldgraf
yeah I agree - it sounds like the issue with data8 is a bug. And I'm not positive how exactly the github repos / data8 sync with one another.
Carl Boettiger
@cboettig
@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