sqldb-logger
ljs
Our great sponsors
sqldb-logger | ljs | |
---|---|---|
3 | 2 | |
339 | 156 | |
- | - | |
0.0 | 0.0 | |
4 months ago | over 1 year ago | |
Go | C | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
sqldb-logger
- A logger for Go SQL database driver without modifying existing stdlib usage
-
DB Question: Can I get the final sql query from db.Exec?
You can use this to get instant query logging for sql.DB. https://github.com/simukti/sqldb-logger
-
Ask HN: What are some tools / libraries you built yourself?
sqldb-logger: https://github.com/simukti/sqldb-logger
It's a thin layer that wrap Go (Golang) SQL database driver, it does not change sql.DB usage in any existing Go app.
It is because I prefer to use vanilla Go sql.DB in my web service and I could not find any SQL logger for Go SQL database standard library that can use structured JSON logging.
ljs
-
[noob here] What are the advantages of Lua?
- Luajit +FFI is the fastest, cleanest way to integrate C libs into a script. Its insane how nice it is - should be illegal :). - Lua meta tables/methods are the most under stated capability of Lua. These mechanisms allow Lua to really work like a large scale HLL. Heck you can event make a language in it! Want Lua to look like C/JS? https://github.com/mingodad/ljs There are many like this. :) - Luajit fixed at 5.2 API means its _not_ _going_ _to_ _break_ when you bring in libraries. One of my biggest pet peeves are people that think languages should always change - I think you need to read Linus's thoughts on moving ABI's any why its dumb. - If you dont like the lang, embed Lua into another lang, and then just use it for "parts" you need it for. Most of the game and sim systems I built, used this method (some with SWIG).
-
Ask HN: What are some tools / libraries you built yourself?
I created Lua with C/C++/Java/Javascript syntax https://github.com/mingodad/ljs
Also forked a scripting language https://github.com/mingodad/squilu and extended it to accept a pseudo C++/Java/CSharp/Typescript syntax to make easy to reuse code and have fast iteration when creating new functions (with it and minor changes I could get https://ssw.jku.at/Research/Projects/Coco/ parser to work for easy grammar development).
Create a tool for create, document and prototype database applications at "user level" in near realtime (live) https://github.com/mingodad/db-api-server.
Extended GLPK to accept a bigger subset of AMPL and made some performance improvements in the GMPL interpreter https://github.com/mingodad/GLPK
What are some alternatives?
logxi - A 12-factor app logger built for performance and happy development
Tabula - Extract tables from PDF files
logutils - Utilities for slightly better logging in Go (Golang).
gutenberg - A fast static site generator in a single binary with everything built-in. https://www.getzola.org
go-logger - Simple logger for Go programs. Allows custom formats for messages.
Nullboard - Nullboard is a minimalist kanban board, focused on compactness and readability.
lumberjack - lumberjack is a log rolling package for Go
tera - A template engine for Rust based on Jinja2/Django
phuslu/log - High performance structured logging
Zip Foundation - Effortless ZIP Handling in Swift
glog - Leveled execution logs for Go
GoJS, a JavaScript Library for HTML Diagrams - JavaScript diagramming library for interactive flowcharts, org charts, design tools, planning tools, visual languages.