GithubHelp home page GithubHelp logo

w23 / greetsgraf Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 1.0 13.06 MB

(WIP) My clumsy take on greets graph bbs post (i can't into web dev)

Go 50.12% HTML 8.53% JavaScript 37.54% CSS 2.31% Dockerfile 1.50%

greetsgraf's People

Contributors

homeworkprod avatar totetmatt avatar w23 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

totetmatt

greetsgraf's Issues

fts search makes experience worse

  1. No substring search support, only suffix (with manual *!)
  2. Unescaped invalid search strings can lead to SQL errors, which get reported back to client as alert windows

Possible solutions:

  1. Postfix everything with * by default if last char is not space
  2. Hide SQL errors; or show them in a more friendlier way.
  3. Fallback to LIKE search if nothing was found with FTS. We're not solving a perf problem here, so LIKE is fine.

Split greetings db from pouet db

Currently they're in the same database, which makes updating stuff weird.
Splitting them would make updates trivial: just replace an old pouet dump with a new one.

Search helper

Suggest links to demozoo and pouet if there too few search results

Add notes for prods

Sometimes prods don't have greetings. Sometimes some greetings are undecipherable. Sometimes greetings are to entities not in database.

Arbitrary notes would allow us to preserve this info w/o devising some special scheme for each case.

Better search

Instead of just relying on sqlite FTS do more internally, e.g. try different select queries and concatenate the result.

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.