Giter Club home page Giter Club logo

Comments (7)

gary-rowe avatar gary-rowe commented on September 4, 2024

No worries. hid4java is very new (less than a few weeks old at present) and born from a particular need that I had to integrate support for a Trezor device into my primary project MultiBit HD.

If I may offer up some suggestions that may help your project get some traction:

  • change your package structure to reflect your domain name (e.g. org.purejavahidapi)
  • remove the Eclipse .classpath, .project files using .gitignore (see this article)
  • introduce Maven/Gradle as your build system and work towards uploading it to Maven Central - this will greatly improve your project's visibility.

If I could ask you make a correction to your README.md file: hid4java doesn't install the native libraries, it reads them directly out of the JAR using JNA. The actual problem is that these have to be compiled from the signal11/hidapi native libraries for each native platform which can be a pain but this is my responsibility as maintainer of hid4java and downstream users don't need to concern themselves.

from hid4java.

nyholku avatar nyholku commented on September 4, 2024

Thanks for bearing with me!

And thanks for the tips, I will consider them.

I'm not great fan of domain name based package names, while I see where it is coming from company/organisation based domains are poor cause companies/organisations change names, merge, collapse, die and may at some point have nothing to do with the library/software they originally wrote. Purchasing a project specific domain is better but it is an extra expense not well suited to non-profict projects … at the end of the day name conflicts are rare, any sane software developer will anyway try to come up with a unique name and today with google that is pretty easy to ensure so the good old 90's domain name trick seems like an overkill. Just my opinion though.

I know about .gitignore, but what is the problem with having those Eclipse files in the project? I know they do not provide much useable functionality and do not always work/transport well outside their original context but in the past I've found that some percentage of noobies find them comforting so lowering the threshold to try a project out.

I don't think I will use Maven myself in a hurry but I am going to provide a .bom and precompiled jars like I do for my PureJavaComm project.

Thanks for noticing and sorry for miss-presenting the native lib aspect of hid4java, I'll fix that ASAP.

Thanks for the links to your Bitcoin related stuff … I find all that very intriguing!

from hid4java.

nyholku avatar nyholku commented on September 4, 2024

Fixed the README, hope it is now ok.

from hid4java.

gary-rowe avatar gary-rowe commented on September 4, 2024

Just checked over the revised README.md and it's all good.

There's no particular problem with the .classpath files etc it's just that they often contain information specific your own environment that could confuse newbies if, say, their JVM is named differently. Also not everyone uses Eclipse.

Of course, that's just my opinion.

Best of luck with your project, I'll add myself as a watcher and drop a star on you for innovation :-)

from hid4java.

nyholku avatar nyholku commented on September 4, 2024

Good!

your are right about the JVM ref in the .classpath file, I may have reconsider this as especially with just JNA in the classpath the value of the .classpath file is minimal. I was going by the experience with some day job related projects with thousands of classes where setting up Eclipse is a chore and why I them around in the version control.

Thanks for the star and let me return the courtesy and good luck with all your projects too,

from hid4java.

ceakins avatar ceakins commented on September 4, 2024

I really strongly urge you to mavenize it. Newbies will have an easier time importing it.

from hid4java.

nyholku avatar nyholku commented on September 4, 2024

Feel free to contribute a 'pom', I am not up to speed with maven...

from hid4java.

Related Issues (20)

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.