GithubHelp home page GithubHelp logo

chillax's Introduction

Hi there ๐Ÿ‘‹

I'm Kat!

I'm a Rust, C#, and JavaScript developer working at Microsoft and I do a bunch of open source stuff.

You can also find me on Mastodon as @[email protected] and Matrix as @kat:zkat.tech, or on Discord as kat#8645.

chillax's People

Contributors

adlai avatar fjl avatar ianmcorvidae avatar llibra avatar zkat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

chillax's Issues

problem with query-view, yason and complex keys.

;;I have a db like this
(defparameter *couch* (make-instance 'chillax:yason-server
							 :host "127.0.0.1"
							 :username *db-user*
							 :password *db-pass*
							 :object-as-alist-p t
							 :parse-object-key-fun (lambda (string) (intern string *package*))))

;;and when i try to do query-view where I have a key that is an json array and doing grouping, i get an 
;;error if i dont change to this in yason.lisp
(defmethod data->json ((server yason-server) data &key)
  (with-output-to-string (s)
    (if (and (parse-object-as-alist-p server) ;; added the (and and the check to make sure we data is alist
						 (listp data)  
						 (listp (car data)))
        (yason:encode-alist data s)
        (yason:encode data s))))

ensure-db fails on db names containing /

(ensure-db (make-instance 'yason-server) "foo/bar")

results in
Unexpected response with status code: NOT-FOUND
HTTP Response: #<HASH-TABLE :TEST EQUAL :COUNT 2 {1005987281}>
Please report this to Chillax's maintainer(s)
[Condition of type UNEXPECTED-RESPONSE]
...
Backtrace:
0: (DB-CREATE #<YASON-SERVER {100596DA51}> "foo/bar")
1: (ENSURE-DB #<YASON-SERVER {100596DA51}> "foo/bar")
2: (SB-INT:SIMPLE-EVAL-IN-LEXENV (ENSURE-DB (MAKE-INSTANCE 'YASON-SERVER) "foo/bar") #)

even if a database named "foo/bar" has already been created using the couchdb web interface

Yason refactoring has broken chillax

YASON now exports PARSE-OBJECT-AS instead of PARSE-OBJECT-AS-ALIST. Chillax's reference to the old symbol means that chillax does not build any more. See b48746855cfe46415c2b8a398c97015ee4c2b75f in Yason's repo.

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.