Coder Social home page Coder Social logo

japanese_vocab's People

Contributors

brianwill avatar hansielneff avatar patrickreiis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

japanese_vocab's Issues

Build instructions can produce non-working binary for linux

Tested on WSL Ubuntu version 2204.2.33.0, but this might happen on any OS if golang can't find the c compiler. Build instructions in the readme don't throw up an error, but since this environment doesn't come with gcc installed, the binary produced won't run:

$ go build
$ ./japanese
2023/10/10 19:56:56 Binary was compiled with 'CGO_ENABLED=0', go-sqlite3 requires cgo to work. This is a stub

Resolved by installing gcc (for ubuntu: ``, which sets the golang compiler to enable CGO):

$ sudo apt install -y build-essential
(output elided)
$ go build
$ ./japanese
time to load kanji:  141.37979ms
time to unzip entries:  714.373175ms
time to load entries:  656.787842ms
time to build entry maps:  157.713199ms
2023/10/10 19:58:25 Defaulting to port 8080
2023/10/10 19:58:25 Running on port: 8080

Awesome app, BTW. Maybe just mention in the readme that one of the imported modules requires CGO?

Questions about the future of the project

I did the pull request #3 with the purpose of making it easier for beginners with less experience in programming and also for people who do not want to type the full URL in the browser. However, you didn't give any feedback as to why you don't want to merge it. This made me think about a couple things.

  • What is the end goal of this project?
  • Do you pretend to grow this project to be used for a lot of people or is it just a hobby of yours?
  • Do you pretend to make the project more coupled with the code aspect of it? For example you log messages in the console but if you intend to make this project more beginner friendly it would be good to display the errors on the website itself instead of only the standard output (I could code that for you).

I also want to say for the record that I think you’re perhaps one of the best programmers in the world and I want to be a programmer just like you. I’m still a beginner and I dedicate myself to code in my free time. So my last question is on which specific part of the project you’d like help from other people?

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.