Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Adam Ginsburg
    @keflavich
                });
                        $('.units').css("background-color","#FFAAAA");
            });
    in particular, I think the $(this).val() is necessary to get the value of the individual <input> field rather than the more general… all id=unit html fields
    Dinos Kousidis
    @dinosk
    does this work? i am doing something similar but im debugging it right now
    Adam Ginsburg
    @keflavich
    no =)
    it "almost works"
    Dinos Kousidis
    @dinosk
    ok ok i should be close
    Adam Ginsburg
    @keflavich
    ok cool
    back in 30ish
    Dinos Kousidis
    @dinosk
    ill let you know soon
    got it
    Dinos Kousidis
    @dinosk
    hey adam, i got it to work, each character sends a new req and if you open the console you can see an OK: true || false depending if the Unit(unit_str) ran ok
    ill make the box turn green or red no
    w
    Adam Ginsburg
    @keflavich
    awesome!!
    Dinos Kousidis
    @dinosk
    thanks! i pushed the changes for the color changing
    Adam Ginsburg
    @keflavich
    got it
    I removed .DS_Store
    ok this is lookin slick
    p.s. what does the ipython.embed do in these functions? Will it open an interactive ipython terminal in the terminal window that's running the server?
    Dinos Kousidis
    @dinosk
    hehe ill add the bootstrap table soon, yes and the server will …pause until you ctrl+d out of it. I used it to check where i could find stuff in the request object
    Adam Ginsburg
    @keflavich
    awesome, I was looking into that before I had to log off
    Adam Ginsburg
    @keflavich
    I just pushed a change that automatically finds the best-matched column name
    Dinos Kousidis
    @dinosk
    great, got it
    Adam Ginsburg
    @keflavich
    fyi, I'm also working on handling bad files now
    or files that cannot be read with Table.read by default
    Dinos Kousidis
    @dinosk
    ok! Im making the table look nicer heh
    Adam Ginsburg
    @keflavich
    good!
    Adam Ginsburg
    @keflavich
    is there a way for a form to send multiple values to a function?
    more than just filename; send metadata too?
    must be.
    Dinos Kousidis
    @dinosk
    yes just add a comma and define any other parameter like:
    unit_str: units,
    a: sth,
    Adam Ginsburg
    @keflavich
    ok, that's in the ajax sending
    in the flask receiving, it looks like: `@app.route('/uploads/<filename>/<extension>')
    `
    Dinos Kousidis
    @dinosk
    I didnt get the last line
    Adam Ginsburg
    @keflavich
    it's ok, I'll experiment for a minute
    Dinos Kousidis
    @dinosk
    Ah right I thought you meant the req. I pushed the new table, going to lunch!
    Adam Ginsburg
    @keflavich
    ok cool
    Adam Ginsburg
    @keflavich
    make sure to pull when you get back
    Dinos Kousidis
    @dinosk
    ok im synced
    Adam Ginsburg
    @keflavich
    do you have anytihng to push?
    Dinos Kousidis
    @dinosk
    yes but it im testing it currently
    Adam Ginsburg
    @keflavich
    ok
    Dinos Kousidis
    @dinosk
    pushing
    Adam Ginsburg
    @keflavich
    k
    in the column form, it seems that there is missing data in request.form: the units aren't passed along with the rest