Git Product home page Git Product logo

Comments (11)

hmaurer avatar hmaurer commented on May 4, 2024

I am on this; will PR soon. How should we handle the 0/0 case? Return DIVIDE_BY_ZERO too?

from mathsteps.

evykassirer avatar evykassirer commented on May 4, 2024

yeah, I think I'm comfy having them give the same error. Sound ok to you?

from mathsteps.

hmaurer avatar hmaurer commented on May 4, 2024

Yes I think that makes sense! I'll PR later tonight.

from mathsteps.

evykassirer avatar evykassirer commented on May 4, 2024

Hey @hmaurer, I see you have a branch open for this and a commit - did you forget to put up a PR or did you want to work on it a bit more first?

from mathsteps.

evykassirer avatar evykassirer commented on May 4, 2024

@hmaurer ?

from mathsteps.

hmaurer avatar hmaurer commented on May 4, 2024

@evykassirer Sorry for the delay; I have opened a PR

edit: will do in 5min, I first need to merge master and there are conflicts :(

from mathsteps.

evykassirer avatar evykassirer commented on May 4, 2024

no problem at all, just wanted to make sure it wasn't forgotten about ^_^

from mathsteps.

aelnaiem avatar aelnaiem commented on May 4, 2024

This is interesting, I wonder if there should be a NodeStatus for errors like this in general that we check, not just divide by zero.

from mathsteps.

evykassirer avatar evykassirer commented on May 4, 2024

@aelnaiem I was thinking about that too!

In the PR, I talked about:

oh, maybe a nodeStatus should have both a changeType and an errorType (default to null)? idk, still trying to figure out what this would look like long term

what do you think?

from mathsteps.

aelnaiem avatar aelnaiem commented on May 4, 2024

Yea I think that's a good idea!

from mathsteps.

evykassirer avatar evykassirer commented on May 4, 2024

UPDATE: now related to #129 -- let's use it as the first error that we implement with the new error structure

I removed the small label, since this is more complicated now

from mathsteps.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.