~miikka

Finland

https://miikka.me/

Dealing with abstract.

Trackers

~miikka/cookiecutter-clj

Last active 4 months ago

~miikka/clj-branca

Last active 7 months ago

~miikka/clj-base62

Last active 1 year, 7 months ago

#2 Add git-cliff for generating changelogs 4 months ago

Ticket created by ~miikka on ~miikka/cookiecutter-clj

This requires using Conventional Commits, so it's not a slam dunk.

#1 Add release tools based on tools.build 7 months ago

Ticket created by ~miikka on ~miikka/cookiecutter-clj

There needs to be a way to build a release and deploy it to Clojars. Sean Corfield's build-clj can be a useful building block.

#2 Allow Inst values as :now 7 months ago

Comment by ~miikka on ~miikka/clj-branca

Fixed in version 0.1.2.

REPORTED RESOLVED FIXED

#2 Allow Inst values as :now 1 year, 7 months ago

Ticket created by ~miikka on ~miikka/clj-branca

encode and decode optionally take the current time as an option :now. At the moment, the value has to be an integer that represents seconds since the Unix epoch.

It should be extended to allow values that satisfy the Inst protocol. We can then call inst-ms on the value to convert it into seconds.

The change involves

  • Adding Inst handling to get-now
  • Updating the docstrings for encode and decode
  • Adding unit tests with Inst now

#1 Fix cljdoc analysis 1 year, 7 months ago

Comment by ~miikka on ~miikka/clj-branca

REPORTED RESOLVED FIXED

#1 Fix cljdoc analysis 1 year, 7 months ago

Ticket created by ~miikka on ~miikka/clj-branca

cljdoc analysis is failing because it can't find byte-streams. I believe this is because the published jar lacks the pom file, so cljdoc does not know about clj-branca's dependencies.

#2 Release to Clojars 1 year, 7 months ago

Comment by ~miikka on ~miikka/clj-base62

REPORTED RESOLVED FIXED

#1 Slow performance 1 year, 7 months ago

on ~miikka/clj-base62

REPORTED RESOLVED WONT_FIX

#1 Slow performance 1 year, 8 months ago

Comment by ~miikka on ~miikka/clj-base62

Now I've realized that the O(n) performance is (likely) not possible. Base62 encoding is essentially radix conversion from base 256 to base 62 and based on quick search, the best known bound is O(M(n) log n) where M is the bound for multiplication of two n-bit integers. Still, it would be good to do a small benchmark to check the performance against the other implementations.

(Base64 is a special case since 256 is a multiple of 64.)

#2 Release to Clojars 1 year, 8 months ago

Ticket created by ~miikka on ~miikka/clj-base62

I want the library to be released on Clojars. This require either setting up something that works with deps.edn - possibly deps-deploy - or migrating to Leiningen.