Git Product home page Git Product logo

aqua's People

Contributors

drbawb avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

aqua's Issues

`aqua-find` requires admin privileges on windows

Due to UAC's policy (WIndows > Security > Local Policies > User Rights Assignment > Create Symbolic Links) you need a command line w/ elevated privileges to create symbolic links. As such the utility must be run from an elevated command prompt to produce output.

For a production ready version I'd like to have it either prompt the user for elevation, and/or not require elevation at all.

File upload warning (runtime)

POST /entries/upload HTTP/1.1
Host: localhost:3000
Connection: keep-alive
Content-Length: 136074
Origin: http://localhost:3000
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryqgbABL6DETm5Ukbt
Accept: */*
Referer: http://localhost:3000/dash
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.8

------WebKitFormBoundaryqgbABL6DETm5Ukbt
Content-Disposition: form-data; name="upload"; filename="The Microsoft Sound.wav"
Content-Type: audio/wav


------WebKitFormBoundaryqgbABL6DETm5Ukbt--

Results in: ERROR:hyper::server: request error = Header

Logging & multi-threading

Just from a quick glance it seems like occasionally requests are being interleaved. I should probably switch to a real logging crate at some point.

Panics in `aqua-query`

These need to be cleaned up and replaced with proper error handling.

Afterwards the C FFI should have some mechanism to report errors, thoughts include:

  • Caller passes an "out param" which we fill in with a status code
  • Mutable thread local "last error code" and associated FFI retrieval function
  • Return (status, char *) tuple, respecting alignment & padding

Known Parser Errors

  • Incomplete groups

    • e.g: (()
      • The parser will reach EOF while there is still a suspended context on the stack.
        This would be considered an error condition. (e.g: unexpected EOF)
    • e.g: )
      • The parser would try to pop a suspended context that does not exist.
        This would be considered an error, but care must be taken to report it
        at the appropriate time. (Depending on how parens are nested it might
        not trigger until processing an unrelated grouping.)
  • Incomplete expressions

    • e.g: + tag
    • e.g: tag +
    • When resolving a context the data stack would be exhausted too early.
  • (Future) Incomplete escape sequence

    • e.g: foo\
    • If there is no token following the escape sequence it will be treated as an
      unexpected EOF.

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.