Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
shuss
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
The Four Pillars of a Ralph Wiggum Loop
(mfbt.ai)
2 points
by
shuss
7mo ago
|
0 comments
2.
▲
Efficient Ralph Wiggum Loops on a Raspberry Pi
(mfbt.ai)
1 points
by
shuss
7mo ago
|
0 comments
3.
▲
by
shuss
7mo ago
There are many impediments to scaling vibe coding. We built a tool to internally scale vibe coding to vibe engineering: https://mfbt.ai/blog/vibe-coding-vs-vibe-engineering/
4.
▲
Specification Grounding: The Missing Link in Vibe Coding
(unstract.com)
7 points
by
shuss
1y ago
|
0 comments
5.
▲
by
shuss
2y ago
Fast changing libraries are a huge pain. That's why a no-code approach like Unstract ( https://github.com/zipstack/unstract ) makes sense.
6.
▲
by
shuss
2y ago
There's also Gocker: https://github.com/shuveb/containers-the-hard-way
7.
▲
Show HN: Unstract – AGPL, LLM-powered Fivetran/Twilio for unstructured docs
(unstract.com)
5 points
by
shuss
2y ago
|
0 comments
8.
▲
Show HN: Unstract(AGPL) – Launch LLM-powered APIs to structure unstructured docs
(github.com)
25 points
by
shuss
2y ago
|
1 comments
9.
▲
by
shuss
6y ago
Yep. Docker is famously written Go. The only reason I wrote this is as an educational tool to discuss how containers under Linux really work. It’s self-contained (pun unintended) except for the usage of the go-containerregistry package, whi
10.
▲
Gocker: Docker implemented in 1.3k lines of Go
(unixism.net)
186 points
by
shuss
6y ago
|
85 comments
11.
▲
Gocker: Docker implemented in 1.3k lines of Go
(unixism.net)
2 points
by
shuss
6y ago
|
0 comments
12.
▲
Containers the hard way: Gocker: A mini Docker written in Go
(unixism.net)
2 points
by
shuss
6y ago
|
0 comments
13.
▲
Containers the hard way: Gocker: A mini Docker written in Go
(unixism.net)
2 points
by
shuss
6y ago
|
0 comments
14.
▲
What kind of traffic does Hacker News generate? See my Google Analytics data
(unixism.net)
1 points
by
shuss
6y ago
|
0 comments
15.
▲
What kind of traffic does Hacker News generate? See my Google Analytics data
(unixism.net)
2 points
by
shuss
6y ago
|
0 comments
16.
▲
by
shuss
6y ago
This is such a great point. Never thought how async I/O could be a problem this way. In the SQ polling example, I used BPF to "prove" that the process does not make system calls: https://unixism.net/loti/
17.
▲
by
shuss
6y ago
io_uring_get_probe() needs v5.6 at least.
18.
▲
by
shuss
6y ago
True. Have to agree, here. Although one advantage over aio for block I/O that io_uring will still have is to use polling mode to almost completely avoid system calls.
19.
▲
by
shuss
6y ago
The raw io_uring interface, once you ignore the boilerplate initialization code, is actually a super-simple interface to use. liburing is itself only a very thin wrapper on top of io_uring. I feel that if you ever used io_uring, after a whi
20.
▲
by
shuss
6y ago
For regular files, aio works async only if they are opened in unbuffered mode. I think this is a huge limitation. io_uring on the other hand, can provide a uniform interface for all file descriptors whether they are sockets or regular files
21.
▲
by
shuss
6y ago
The author here: All examples in the guide are aimed at throwing light at the io_uring and liburing interfaces. They are not very useful or very real-worldish examples. The idea with this example in particular is to show the difference how
22.
▲
by
shuss
6y ago
Oh, yeah. QEMU 5.0 already uses io_uring. In fact, it uses liburing. Check out the changelog: https://wiki.qemu.org/ChangeLog/5.0
23.
▲
Lord of the io_uring: io_uring tutorial, examples and reference
(unixism.net)
267 points
by
shuss
6y ago
|
74 comments
24.
▲
by
shuss
6y ago
First off, you're right that readv(), like read() can indeed return lesser data than was requested. Thanks. I'll fix that. > I'm also actually not sure if in the uring version requests are guaranteed to be processed in ord
25.
▲
by
shuss
6y ago
Yes. Please see io_uring_wait_cqe_timeout() in liburing.
26.
▲
by
shuss
6y ago
Yes, you could do that. But I wanted to keep the example programs in the beginning very simple. I the same vein, they only deal with one request at a time, for instance.
27.
▲
by
shuss
6y ago
Nope. io_uring is an API that helps with asynchronous I/O.
28.
▲
Io_uring By Example: cat, cp and a web server with io_uring
(unixism.net)
185 points
by
shuss
6y ago
|
37 comments
29.
▲
Io_uring by Example
(unixism.net)
5 points
by
shuss
6y ago
|
0 comments
30.
▲
An Ode to the Shell
(medium.com)
2 points
by
shuss
7y ago
|
0 comments
More ›