Better HN
topnewbestaskshowjobs
Log inSign up

wener

1,013 karma · joined Jun 3, 2015 (11y ago) · 195 submissions

A Programmer live at https://github.com/wenerme .
Submissions

comment 7mo ago · link · parent

As a Chinese, I feel tiered, it's like the cold war, what is takes to keep competitive with every aspect, it's just another win for the country and the corp

comment 7mo ago · link · parent

The only thing I prefe peggyjs over ohm is runtime deps, I thinkg this might let ohm aot the grammar to avoid the deps.

comment 8mo ago · link · parent

Why not use mcp-cli mode, I even made a replica for that https://github.com/wenerme/wode/tree/develop/packages/wener-...

comment 9mo ago · link · parent

I use https://github.com/ariga/atlas for this, migration based and schema base both has there good and bad side, I prefer both even in one project, schema based can make dev faster, eaiser, migration based make feel reliable.

5.

Claude Flow(github.com ↗)

1 points · by wener · 9mo ago · discuss

comment 10mo ago · link · parent

https://wener.me my notes https://abc.wener.cc my things

7.

Benchmarking Self-Hosted S3-Compatible Storage(repoflow.io ↗)

24 points · by wener · 11mo ago · 3 comments

comment 1y ago · link · parent

Really hope there is a layout mode or ocr with bbox mode, I want to see the model restore the whole page.

comment 1y ago · link · parent

Nats is the way

comment 1y ago · link · parent

So, the final choice is dexie + custom backend? I've researched these open source solution before, I think dexie is the choice that you will never regret.

fyi https://dexie.org/

comment 1y ago · link · parent

I just track my bookmark as Awesome https://wener.me/notes/tags/awesome

The source is at https://github.com/wenerme/wener

I found it's very useful, especially the license and basic tech stack & description. One day I will grab the meta and display along with the link.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

15.

MS Introducing Mu language model(blogs.windows.com ↗)

3 points · by wener · 1y ago · discuss

comment 3y ago · link · parent

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

comment 3y ago · link · parent

Systemd is a complete solution to a variety of problems may not exists. :P

comment 3y ago · link · parent

Not by s6, but s6 author may introduce a new init for alpine

comment 3y ago · link · parent

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

20.

Calendar Versioning(calver.org ↗)

1 points · by wener · 3y ago · discuss

comment 4y ago · link · parent

Any plan to support musl ?

comment 4y ago · link · parent

Deno looks good, but don't support musl, I'm not the target audience.

23.

Ask HN: Who use LDAP in 2022 and how?

3 points · by wener · 4y ago · discuss

comment 4y ago · link · parent

Recently build a simple SQL Parser for sequelize

https://github.com/wenerme/js-miniquery

25.

Comdb2: Distributed SQLite by Bloomberg(github.com ↗)

2 points · by wener · 4y ago · discuss

comment 4y ago · link · parent

A better link https://github.com/bloomberg/comdb2

27.

Manticore Search: Elasticsearch Alternative(github.com ↗)

118 points · by wener · 4y ago · 69 comments

comment 4y ago · link · parent

But, vite is working on to become the next nextjs, like ssr, isg etc. Nextjs only support react, so it's easier to leverage the react's ability to do these.

When there is ssr, there is runtime, more than just a dev/build tool.

comment 4y ago · link · parent

React Context HMR still has problem. Due to this problem, I think nextjs still the better choice for react dev. Maybe vite supports too many frameworks, do not have enough time to handle the react problems.

[1]: https://github.com/vitejs/vite/issues/3301

30.

Programming Language Benchmarks Visualization(github.com ↗)

2 points · by wener · 4y ago · discuss

1234567