Skip to content

Implementation of the DecimalGamma encoding in Java

Notifications You must be signed in to change notification settings

RumbleDB/decimalgamma-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

decimalgamma-java

Implementation in Java of the DecimalGamma encoding

Description of the encoding

Reference

This implementation follows the encoding and decoding as specified in the decimalInfinite paper. There is an implementation in C++.

Publish jars

The jars will be published to the package registry of this project on Github. One way to inform maven on how to authenticate with Github is to configure Github as a server in your ~/.m2/settings.yml file using your personal token (make sure to give it write:packages access):

cat ~/.m2/settings.xml
<settings><servers><server><id>github</id><username>elwin</username><password>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</password></server></servers></settings>

Once this is done, a package can be published by running make publish.

Consume jars

Unfortunately, even though the published jars are public, one still needs to authenticate to be able to access them (see here). This can be done in the same way as above. Likely, the read:packages permission is necessary (not tested). Alternatively when using GitHub Actions, the environment variable ${{ secrets.GITHUB_TOKEN }} can be injected and used to properly authenticate.

About

Implementation of the DecimalGamma encoding in Java

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages