Giter Site home page Giter Site logo

brotli's Introduction

Hi there ๐Ÿ‘‹

brotli's People

Contributors

aardvark179 avatar byroot avatar gfx avatar jabley avatar miyucy avatar olleolleolle avatar pikachuexe avatar romanbsd avatar sgerrand avatar thedrow avatar yivo 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  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

brotli's Issues

No support for M1 Macbooks as a Gem or in Building.

Problem #1:
gem install brotli does not work out of the Box for for darwin x64.

Problem #2:
Attempting to build from scratch does not work either, even with options such as arch -arm64 , arch -x86_x64, or when running the terminal under Rosetta command line.

After some very manual processes, I was able to get some progress to get brotcli-0.4.0.gem to build, but it failed on installing the extensions due to version linker errors with x86 package dependencies.

Release 0.1.7 on rubygems

Noticed you have bumped the version to 0.1.7 but it's not on rubygems yet. Can you push it up there? Thanks!

Crash when second argument is integer

When I use this code:

> Brotli.deflate('hello ' * 100).bytesize
=> 21

It works reliably, and compresses very well.

But if I use this:

Brotli.deflate('hello ' * 100, 1).bytesize

It core dumps.
dump.txt

Well, I do understand that I shouldn't pass the 2nd integer argument. But it's also not a good thing to crash the whole Ruby environment. In case, this is rails for example, and someone is doing that in byebug or something, it will crash whole server - and leaves a bad impression.

So if we don't accept integer, we can always check the type and raise rb_eArgError instead of crashing.

JRuby support

This library came up while working with a JRuby user on migrating, because they are using it via rack-brotli. I believe we could add support for Brotli compression using an existing JVM library pretty easily. Could we try to work together to get this in and merged for the gem, so we are not stopped by the native extension?

Please specify a license

The repo is missing a LICENSE file with by default means the code is proprietary and all rights reserved.

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.