Readit News logoReadit News
wener commented on Everything I know about good API design   seangoedecke.com/good-api... · Posted by u/ahamez
wener · 3 days ago
I still try think /v1 /v2 is a break, I don't trust you will keep v1 forever, otherwise you'll never introduce this execuse.

I'd like to introduce more fields or flags to control the behavior as params, not asking user to change the whole base url for single new API.

wener commented on Benchmarks for Golang SQLite Drivers   github.com/cvilsmeier/go-... · Posted by u/cvilsmeier
maxmcd · 6 days ago
This library is wild https://github.com/cvilsmeier/sqinn

Sqlite over stdin, to a subprocess, and it's fast!

wener · 5 days ago
I used to use sqlite3 with stdio to read VoIP SQLite data. It's difficult or impossible to get a compatible SQLite version, and it's also hard to use cgo. I want to read the SQLite data on the server, and stdio is the only choice.
wener commented on DaisyUI: Tailwind CSS Components   daisyui.com/... · Posted by u/a_bored_husky
wener · a month ago
Bootstrap is a good practice in old time, tailwind is modern css, daisy ui is a battery included components in pure css based on tw. I use daisy ui in every project I work on, by using daisy ui, I don't need shadcn, I prefer <button> instead of wrap my own <Button>, and menu, dialog etc. With baseui components I have a very powerful toolset that let me build thing's fast and good enough.
wener commented on micro – A Modern Alternative to nano   micro-editor.github.io/... · Posted by u/theycallhermax
wener · 2 years ago
I add nano to every alpine base container, micro seems good, but

    apk add nano  # Installed size 308 kB
    apk add micro # Installed size 12.17 MB

wener commented on OpenRC is a dependency-based init system for Unix-like systems   wiki.gentoo.org/wiki/Open... · Posted by u/mariuz
bitwize · 2 years ago
Systemd is a complete solution to a variety of problems with system services under Linux, including user sessions, non-racy session termination, etc.

Other init systems, not so much.

There are no alternatives to systemd, kinda like there are no alternatives to Excel. Some packages solve many of the same problems, but none solve all of them as thoroughly.

wener · 2 years ago
Systemd is a complete solution to a variety of problems may not exists. :P
wener commented on OpenRC is a dependency-based init system for Unix-like systems   wiki.gentoo.org/wiki/Open... · Posted by u/mariuz
Arnavion · 2 years ago
Alpine is hoping to replace it with s6.
wener · 2 years ago
Not by s6, but s6 author may introduce a new init for alpine
wener commented on Tinc, a GPLv2 mesh routing VPN   tinc-vpn.org/... · Posted by u/azalemeth
wener · 2 years ago
Tinc can work on L2, which means works like switch, means it can works like an cable between any nodes.It doesn't need an ip, you can make a bridge. There is no known good replacement for this.

The down side is

- single thread (perf has limits in 10gbe)

- userspace (wg can works in kernel)

- 1.1 is stable enough, but still may crash, be careful

You may also interested in n2n

wener commented on Bun v0.2.0   github.com/oven-sh/bun/re... · Posted by u/christophilus
Jarred · 3 years ago
Happy to answer any questions about Bun
wener · 3 years ago
Any plan to support musl ?

u/wener

KarmaCake day996June 3, 2015
About
A Programmer live at https://github.com/wenerme .
View Original