Viewing profile — dhuan_
dhuan_
HN member- Joined
- Sat, Sep 24, 2022, 8:32 PM UTC
- HN karma
- 65
- Public activity
- 36 items
- HN profile
- View on Hacker News ↗
About dhuan_
No profile information was provided.
Recent public activity
-
comment
Comment #48089114
I have been working on two opensource tools: https://dhuan.github.io/mock/latest/examples.html Command line utility that lets you build APIs with just one command. https://github.c…
-
comment
Comment #47904967
well done! wouldn't it nice if something like this existed in Lua as well (or maybe it does and I haven't seen it yet)? I've built a data transforming tool powered by Lua[1] and wo…
-
comment
Comment #47745547
I have been working on two opensource tools: https://dhuan.github.io/mock/latest/examples.html ^Command line utility that lets you build APIs with just one command. https://github.…
-
comment
Comment #47701024
I have been working on two opensource tools: https://dhuan.github.io/mock/latest/examples.html ^Command line utility that lets you build APIs with just one command. https://github.…
-
comment
Comment #47605600
For me it has to be mock. With it I can create and automate APIs easily. https://dhuan.github.io/mock/latest/examples.html
-
story
Show HN: Dop, Awk-like processing for JSON/YAML/TOML with Lua
dop reads JSON, YAML, or TOML from stdin, walks the structure field by field, and lets you transform values with Lua. It can also query nested paths and convert between formats. It…
-
comment
Comment #47547045
I agree, even trivial tasks require us to go back to jq's manual to learn how to write their language. this and other reasons is why I built: https://github.com/dhuan/dop
-
comment
Comment #47303442
mock, an API creation and testing utility. Any feedback is welcome. https://dhuan.github.io/mock/latest/examples.html
-
comment
Comment #46581778
mock, an API creation and testing utility. Any feedback is welcome! https://dhuan.github.io/mock/latest/examples.html
-
comment
Comment #46335447
I’ve found tools like Charles really useful for understanding what’s happening on the wire. When I need something more repeatable (tests, offline work), I usually reach for a mock …
-
comment
Comment #46267037
mock, an API creation and testing utility. Any feedback is welcome! https://dhuan.github.io/mock/latest/examples.html
-
comment
Comment #45951893
Great article. In addition, updating your mocking code can often be time-consuming. To try to make this easier, I built mock[1], which streamlines the process of setting up mock se…
-
comment
Comment #45875538
mock, an API creation and testing utility. Any feedback is welcome! https://dhuan.github.io/mock/latest/examples.html
-
comment
Comment #45859993
It's also possible create an HTTP service that acts as a wrapper to yt-dlp with just a few lines of shell, I created this example in the following link: https://dhuan.github.io/moc…
-
comment
Comment #45791018
Swagger is a tool for API design and documentation. Mock on the other hand is an actual API creation utility with which you can define endpoints, execute some logic for each endpoi…
-
comment
Comment #45790759
I think you intended to post here: https://news.ycombinator.com/item?id=45789474
-
comment
Comment #45790135
Hi! Not yet, unless you use it with containers.
-
comment
Comment #45790086
Hi, thanks for the feedback! I hope it's useful to you.
-
comment
Comment #45790068
Hi, thanks for the feedback! That's true, it's not a very unique name. I started building it, but only months later I thought of making it public. And then never thought of renamin…
-
comment
Comment #45790031
Hi thanks for the feedback checking out the project. > What's the main motivation for creating this tool? Similar tools exist out there for sure, but they are either complex (more …
- story
-
comment
Comment #44091669
I've been working on mock: https://dhuan.github.io/mock/ the process of creating APIs for testing and automation should be as easy possible. the tools that exist nowadays aren't go…
-
comment
Comment #43815847
I've been working on mock: https://dhuan.github.io/mock/ the process of creating APIs for testing and automation should be as easy possible. the tools that exist nowadays for this …
-
comment
Comment #43159649
I've been working on mock: https://dhuan.github.io/mock/ the process of creating APIs for testing and automation should be as easy possible. the tools that exist nowadays aren't go…
-
comment
Comment #42495754
that's a really useful testing strategy. I used to to write automated tests using an approach very similar to yours, but I was often bothered that I needed to write code in a progr…