Coder Social home page Coder Social logo

baon's People

Stargazers

 avatar

Watchers

 avatar  avatar

baon's Issues

Special case not covered by renaming algorithm

When the final destination of a file is currently occupied by a folder that would be deleted at the end due to being empty, the move would be possible in theory, but the current renaming algorithm will reject it.

Decoding error when base directory contains Unicode characters

When BAON is invoked on a directory containing Unicode characters in its name, it fails to scan the contents citing a decoding error. Note that there is no problem when the files inside the directory have Unicode characters in the name.

This is yet another bug that can be atributed to me forgetting to add Unicode conversion down some code path. I think it would be better if I just switched the lot to Python 3 and be done with it.

Get rid of the ANTLR dependency

ANTLR for Python is poorly maintained, chock-full of style problems, requires Java, and it's kind of overkill to use this for a relatively simple grammar such as BAON's anyway.

Optimize renaming plan algorithm

The current algorithm is safe but highly non-optimal (each file is moved twice). Research into a better algorithm would be welcome, though the problem is not at all trivial and the benefits might not outweigh the costs.

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.