Giter VIP home page Giter VIP logo

nbson's People

Contributors

alberdi avatar javiergarea avatar loissotolopez avatar mrrubinos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

nbson's Issues

bench/data is too big

Adding nbson as dependency takes around 200MB due to the bench/data folder being 105MB (+96MB of .git/objects).

Maybe we could swap these files with a script that uses https://github.com/nomasystems/nbson_corpus to generate them on demand (I don't know how long do that take).

After finding any solution to that, and here is the tricky part, the big files would remain in the repository even if we remove them in a newer commit. Removing any trace of them isn't hard, but that would change the references of all the commits in this repository, something that it's not ideal. Even then, if we're going that route, the sooner, the better.

data_compressed test failing

%%% nbson_SUITE ==> data_compressed: FAILED
%%% nbson_SUITE ==> {{badmatch,[#{<<"compressed">> =>
                  {data,compressed,
                        <<31,139,8,0,0,0,0,0,0,3,43,201,200,44,86,0,162,68,
                          133,146,212,138,18,0,33,62,234,238,14,0,0,0>>}}]},
 [{nbson_SUITE,data_compressed,1,
               [{file,"/Users/marcelino/Developer/nbson/test/nbson_SUITE.erl"},
                {line,123}]},
  {test_server,ts_tc,3,[{file,"test_server.erl"},{line,1782}]},
  {test_server,run_test_case_eval1,6,[{file,"test_server.erl"},{line,1291}]},
  {test_server,run_test_case_eval,9,[{file,"test_server.erl"},{line,1223}]}]}

It seems like there's a small difference between the expected and the returned value:

[#{<<"compressed">> =>
           {data,compressed,
-                   <<31,139,8,0,0,0,0,0,0,19,43,201,200,44,86,0,162,68,133,
+                   <<31,139,8,0,0,0,0,0,0,3,43,201,200,44,86,0,162,68,133,
                    146,212,138,18,0,33,62,234,238,14,0,0,0>>}}]

Tested both on Erlang 25.0.3 and 25.3.

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.