Giter Club home page Giter Club logo

blog's Introduction

Hi there ๐Ÿ‘‹

I'm a big fan of FOSS and develop and maintain a few tools as side-projects.

Here's some of my open-source work (most recent first):

sqlite-zstd: Transparent dictionary-based row-level compression for SQLite

timetrackrs: An automated rule-based timetracker (WIP)

sql.js-httpvfs: Hosting SQLite databases on Github Pages

pandoc-url2cite: Effortlessly and transparently add correctly styled citations to your markdown paper given only a URL

ripgrep-all: ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz, etc.

Backchannel Prediction for Conversational Speech Using Recurrent Neural Networks

Machine Learning Demos

blog's People

Contributors

phiresky avatar pieterdd avatar stephensauceda avatar tscanlin 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

blog's Issues

SQLite memory mapping comment

Hi, not sure if this is the right place for comments. I notice you mention:

Uses memory mapping instead of read/write calls when db is < mmap_size.

Maybe I misread it, but I took this to mean "when total database size > mmap_size, the memory mapping would not be used at all". I later found out the memory mapping will still be used, but only for the starting bytes of the database up to mmap_size, so it can still give some performance benefit. It also might be worth noting a warning from the SQLite documentation: if a read fails (e.g. USB stick pulled out of drive), then you'll get a signal or crash rather than a graceful read error! But that's OK for some applications.

Detailed install steps. Could not load httpvfs config: 404 Not Found for SQLite file

I've documented install commands for compatibility issues:
https://model.earth/data-pipeline/timelines/sqlite/phiresky/

I included steps from issue 11
But ultimately I still had to run npm install

The last remaining item to resolve is loading the SQLite file. Any ideas?
Error: Could not load httpvfs config: 404 Not Found

blog-sqlite-error

Note: You won't see the blog list locally here: http://localhost:3000
Go here instead: http://localhost:3000/blog/

Is the inclusion of "blog" in the site path a possible clue for why the SQLite file is not found?

Failing to build from example

Hi

I'm a complete typescript novice and was trying to rebuild a working blog from this repo to explore using the sqlite components.

After installing TypeScript (npm install typescript) I tried the yarn build command but it failed on:

client/pages/index.tsx:3:21 - error TS2307: Cannot find module '../../posts-built/summary.json' or its corresponding type declarations.

Chasing dow the errors, I created an empty posts-built/summary.json file, then one with the contents {"posts":[]}, but it still wants more; does a schema, or some such, for that object need defining somewhere to be able to run the build?

Compatibility errors with React libraries

Hello, I found your blog project very interesting, and I tried to replicate it in my local environment, but it is showing some compatibility errors with React libraries.

Below is the error that is happening.

npm WARN using --force Recommended protections disabled.
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: [email protected]
npm WARN node_modules/react
npm WARN   react@"^18.2.0" from the root project
npm WARN   32 more (@emotion/react, ...)
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer react@"^15.3.2 || ^16.0.0" from [email protected]
npm WARN node_modules/react-katex
npm WARN   react-katex@"^2.0.2" from the root project
npm WARN 
npm WARN Conflicting peer dependency: [email protected]
npm WARN node_modules/react
npm WARN   peer react@"^15.3.2 || ^16.0.0" from [email protected]
npm WARN   node_modules/react-katex
npm WARN     react-katex@"^2.0.2" from the root project

โžœ  ~ node -v 
v18.13.0
โžœ  ~ npm -v 
9.6.5
โžœ  ~ yarn -v 
1.22.17
โžœ  ~ 

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.