andreaferretti / cello Goto Github PK
View Code? Open in Web Editor NEWA string library
Home Page: https://andreaferretti.github.io/cello/
License: Apache License 2.0
A string library
Home Page: https://andreaferretti.github.io/cello/
License: Apache License 2.0
One of Nim's top advocacy points is the degree to which it and its module ecosystem is copyfree - anyone can use it for whatever purpose without becoming subjected to pages and pages of legal threats that no one really understands...
Nim uses the MIT license for all of its compiler, stdlib, and tooling - and that is also what nimble recommends as the default for new modules. Over 87% of nimble modules currently fit the copyfree standard, higher than any other programming language that Nim competes with.
Your module currently uses the Apache License, which is not considered free by copyfree.org:
People who care about genuine software freedom are looking to Nim for many long-term project ideas (ex. BSD Unix with Nim userland), but we will exclude any components that aren't copyfree (or have dependencies that aren't copyfree).
What are your reasons for using the AL2? Why not use a copyfree license like MIT instead?
Hi @andreaferretti! I'm trying to use this awesome library for some bioinformatics but am running into a strange error:
import cello
let x = "CGGGACTTACTTGTGGTTCCTGTGGTGCACTCCTGACCCTGCCGCTTTGAAAGAAAAAGAAATGAGGCGAAGAAGTCCTTCAGGGATCCCCGGGGAAACCTGGAGGAAGTCCGACGAGATCGCGGCTGGGGCTTAGGACCCCACTCCTGCGAGACAGGAGTAATCCTAAACAGGGTTTTCACCCTTCCTTTAGTTTCCTTCCTCTCCTGGAGAGGTCTTCTGCCCTAGCCCGGTCTTCGAAGCTTCCTTTGGCTACTACCCGGTGGAAACAACTGAAGCTTCAACGCCTTTTTTTCCAATCTTCTTTAGCACCGGGCTAGGGAGTAAGCCCGTGGAACCTTAGTTTTGTTCCCT"
# works
let index2 = searchIndex(x[0..x.high-1])
echo index2.search(x[0..1])
# breaks
let index1 = searchIndex(x)
echo index1.search(x[0..1])
This specific sequence is unable to be searched, although removing the last character does allow it to be search. Do you have any idea why that could be?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.