Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Nov 30 18:18
    GitLab | Colin Macdonald pushed 1 commits to plom
  • Nov 30 07:47
    GitLab | Colin Macdonald pushed 3 commits to plom
  • Nov 30 07:47
    Colin Macdonald merged merge request plom/plom!1161 in plom
  • Nov 30 07:47
    Colin Macdonald opened merge request plom/plom!1163 in plom
  • Nov 30 07:44
    GitLab | Colin Macdonald pushed 1 commits to plom
  • Nov 30 07:42
    GitLab | Colin Macdonald pushed 9 commits to plom
  • Nov 30 07:42
    GitLab | Colin Macdonald pushed to plom
  • Nov 30 07:42
    Colin Macdonald merged merge request plom/plom!1119 in plom
  • Nov 30 07:41
    GitLab | Colin Macdonald pushed 1 commits to plom
  • Nov 30 07:40
    GitLab | Colin Macdonald pushed 1 commits to plom
  • Nov 30 07:39
  • Nov 30 07:27
    GitLab | Colin Macdonald pushed 1 commits to plom
  • Nov 30 07:24
    GitLab | Colin Macdonald pushed 285 commits to plom
  • Nov 30 07:14
    GitLab | Colin Macdonald pushed 1 commits to plom
  • Nov 30 07:13
    GitLab | Colin Macdonald pushed 18 commits to plom
  • Nov 30 07:04
    GitLab | Colin Macdonald pushed to plom
  • Nov 30 07:04
    GitLab | Colin Macdonald pushed 3 commits to plom
  • Nov 30 07:04
    Colin Macdonald merged merge request plom/plom!1162 in plom
  • Nov 30 07:04
  • Nov 30 07:04
fkobayashi
@fkobayashi:matrix.org
[m]
Colin --- I'm giving a seminar talk at 4 and haven't finished my slides yet. Any chance I can meet with you after the talk for canvas integration updates?
cbm
@cbm755:matrix.org
[m]
sure, no worries
fkobayashi
@fkobayashi:matrix.org
[m]
excelelnt thanks
cbm
@cbm755:matrix.org
[m]
fkobayashi: how to I (as instructor) look at the PDFs uploaded by your push_to_canvas?
But where is the attached file? Can only student see it? I'm trying to spot-check a few before releasing
cbm
@cbm755:matrix.org
[m]
I tested in my sandbox: it appears only the the recipient can see the file... that's unfort for a variety of reasons
fkobayashi
@fkobayashi:matrix.org
[m]
Hmm that’s weird
Usually the link appears for me as a comment to the student if the upload worked correctly…might be a bug in my code
This is weird
Did the grade you assigned get pushed successfuly?
fkobayashi
@fkobayashi:matrix.org
[m]
I'm not seeing your comment on the canvas sandbox
That's super strange though. Files always showed up fine for me in the courses I was grading.
usually something like this
cbm
@cbm755:matrix.org
[m]
thanks, maybe I did mess up the upload then! I didn't give any errors, but I've deleted a lot of code (changing directory stuff)
yes the assigned grade got pushed (well the wrong grade b/c of a different bug, but it pushed a "1" to everyone)

basically, the code is just this:

                sub.upload_comment(pdf)

I've check that pdf is correct. Maybe I'll try some more in the sandbox instead of dealing with real data

fkobayashi
@fkobayashi:matrix.org
[m]
Ok
I can take a look after dinner
cbm
@cbm755:matrix.org
[m]
I changed it R = sub.upload_comment(pdf), the response looks good (` 'upload_status': 'success', etc). I was on canvasapi 2.1.0 (dec 4) upgrader to 2.2.0 (mar 25): same behavour :(
cbm
@cbm755:matrix.org
[m]
Here's the commit I'm playing without, in case you see anything foolish, but the fact is the upload succeeds... I thought its something like ucfopen/canvasapi#142 but that is from 2018
fkobayashi
@fkobayashi:matrix.org
[m]

Still dinner-ing will check in a bit

(Family has people over now that we’re all fully vaccinated — woohoo!!)

cbm
@cbm755:matrix.org
[m]
no rush, I can bail and push my URLs, just so weird!
AHA!! Possibly breakthrough: if I go into SpeedGrader (first time for everything...) I CAN SEE THEM
fkobayashi
@fkobayashi:matrix.org
[m]
Oh perfect!
That’s where I’d been looking
Didn’t realize you could look elsewhere…?????
cbm
@cbm755:matrix.org
[m]
I look in Grades -> Quiz 1 -> Score -> click little arrow
I didn't now there was anywhere else :-)
haha, Kipling's blindmen describing the elephant here!
fkobayashi
@fkobayashi:matrix.org
[m]
At some point I need to finish my refactor of the canvas pushing code…the new version of what I refactored is substantially cleaner / more modular
cbm
@cbm755:matrix.org
[m]
thanks for your help, I will try to get this into a bug report via LT Support to fix the Comments view I've been using. Its also possible to upload files manually within speedgrader! which might be helpful in some cases!
(I thought this was an API-only feature)
fkobayashi
@fkobayashi:matrix.org
[m]
Oh yes you can add files manually
Well…glad I helped!! Haha
cbm
@cbm755:matrix.org
[m]
thanks
re: refactored... am I using this? I branched about a week ago
fkobayashi
@fkobayashi:matrix.org
[m]
Probably not…I think I only finished the download stage not the upload
cbm
@cbm755:matrix.org
[m]
push is already very nice to use, mainly I just had to delete stuff (b/c it wants to do all the plom stuff for me)
server I couldn't figure out because it wants to make its own server and I already have one, but I can see with some effort it could support that as well
Andrew Rechnitzer
@arechnitzer_gitlab
I can yell too
sorry - I CAN YELL TOO
fkobayashi
@fkobayashi:matrix.org
[m]
Asked friends about flask

Me:

fully unrelated: question about webserver things

plom people want to start up a very very lightweight webserver from a docker thing so that people can connect to a plom server from browser
do people generally use like...flask for this still?

Friend 1:

my understanding is flask is still the predominant python lightweight webserver
framework
I suppose in theory using python's built-in http is the most "lightweight" but flask is probably very good and much more pleasant
I think I like flask in a way that I do not like pandas

Friend 2:

Oh really
I like some pieces of flask but
The main loop is annoying
Like the part where the decorators are modifying this invisible global state in a sense
And then you kick off an eventloop that reads everything and turns it into a server
Does make it hard to compose with other stuff

Me:

is there an alternative you'd recommend?

Friend 2:

Nope!

Me:

ah, so like
classic python library situation then

Friend 2:

My bones tell me there should be an elegant asyncio version out there
But I use Flask in Hubert
With a wrapper that puts all of the state inside a class

Me:

I think we probably won't need something as..."flexible" as Hubert so maybe flask will be fine

Friend 2:

I think it'll be fine

Andrew Rechnitzer
@arechnitzer_gitlab
thats very helpful
Victoria Schuster
@vmschuster_gitlab
Have any of you encountered problems downloading jpegtran-cffi?
For whatever reason I lost some of the plom dependencies. Jpegtran-cffi is behaving as if I don't have turbojpeg installed despite it being installed and up to date... @cbm755:matrix.org I tried your suggestions in the jpegtran issues but no success.
Andrew Rechnitzer
@arechnitzer_gitlab
yes - I have. I had to install it via apt or simlar
cbm
@cbm755:matrix.org
[m]
head's up: jpegtran-cffi is no longer a required dependency (its still used if available and still included in our Docker instance)
cbm
@cbm755:matrix.org
[m]
(Hopefully) here comes 0.7.0: https://gitlab.com/plom/plom/-/pipelines/365299506, many thanks to all who contributed to this release!
cbm
@cbm755:matrix.org
[m]
0.7.1 is out, thanks especially to new contributors!