Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
brenns10
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
121.
▲
by
brenns10
4y ago
This question came up in the discussion at the conference. There are several reasons: 1. The format specifiers for those types differ from the ones currently in use for the kernel. Nobody uses or wants to use PRId64 and PRIu64. If they did,
122.
▲
by
brenns10
4y ago
I went from Python ML+backend work, to Linux kernel work. I wouldn't say it was a walk in the park, but it is doable, and the "shouldn't apply" attitude will obviously fail to get you anywhere. For me, the first step was
123.
▲
by
brenns10
4y ago
They come in on your produce as eggs!
124.
▲
by
brenns10
4y ago
Ah yes, the kind of constant presence that has a quick toggle to never appear again...
125.
▲
by
brenns10
5y ago
Regarding the Van Ness "bus lane"... the site's blurb fails to mention that the project also replaced infrastructure like plumbing which was around hundred years old, requiring digging up a lot of the street and contributing
126.
▲
by
brenns10
5y ago
I agree!
127.
▲
by
brenns10
5y ago
The article and book are about the late Republic, before even Julius Caesar rises to power, let alone Augustus or the subsequent emperors. And I think the quote ("there were no consequences") refers to granting Italians Roman citi
128.
▲
by
brenns10
5y ago
To be fair, the article is walled off behind a mailing list signup CTA. Those of us not interested in signing up can't read it anyway.
129.
▲
by
brenns10
5y ago
Yes, roaming is an explicit goal of MPTCP. MPTCP even contains a "break before make" functionality. If you think about it there's two options: 1. Make a new connection subflow on your new IP address, while still holding onto
130.
▲
by
brenns10
5y ago
To expand on this - if you are going to mess with LD_PRELOAD, why not stick this whole library behind LD_PRELOAD? You get similar levels of compatibility (except for the odd app that shirks libc and hand-codes their system calls...). But yo
131.
▲
by
brenns10
5y ago
It's probably possible to do that, assuming you have a kernel properly configured and the sysctls and privileges established. I had no problems using the out-of-tree MPTCP kernel for a variety of TCP based tasks, so most applications h
132.
▲
by
brenns10
5y ago
I worked with the MPTCP Linux implementation before it was upstreamed. One of the exciting things about it was that it was the default: IPPROTO_TCP would attempt an MPTCP handshake. This meant that any unmodified application that had used T
133.
▲
by
brenns10
5y ago
Point taken on how for_each works for linked lists. I'm (obviously) not a C++ expert and it shows in that context. I suppose the thrust of my opinion is that a lot of code depends on the fact that it iterates over a linked list, which
134.
▲
by
brenns10
5y ago
They do! Consider this patch which adds the GCC implementation necessary to make "static keys" work: https://gcc.gnu.org/legacy-ml/gcc-patches/2009-07/msg01556.h... Static keys are a kernel API that
135.
▲
by
brenns10
5y ago
> Like that macro is just a crappy version of std::for_each. It really, truly is not comparable. list_for_each_entry does a well known operation that's just moving some pointers around. Safe to do while holding a spinlock, or in int
136.
▲
by
brenns10
5y ago
A MITM attack requires an attacker is able to intercept and inject messages between you and the other side of your connection. So when you connect via HTTP to the IP, the attacker just masquerades as the intended target and either doesn
137.
▲
The Windows 10 Installer Dystopia
(brennan.io)
6 points
by
brenns10
6y ago
|
2 comments
138.
▲
Visualizing Gzip Compression with Python
(brennan.io)
79 points
by
brenns10
6y ago
|
6 comments
139.
▲
by
brenns10
6y ago
Hey, I hear you and I don't want reading my site to be uncomfortable! My site uses the solarized light colorscheme [1], which I chose because I use the solarized schemes for my text editors. I think they are lower contrast to lend them
140.
▲
by
brenns10
6y ago
> FWIW, the original implementation of Java (when it was known as Oak) used this trick to manage user level threading. There was also a some code to do the stack swap since you were in a virtual machine anyway, that stuff was all there t
141.
▲
by
brenns10
6y ago
That's really cool, and much lighter weight for the purpose of coroutines!
142.
▲
Implementing simple cooperative threads in C
(brennan.io)
304 points
by
brenns10
6y ago
|
86 comments
143.
▲
Embracing Modularity with Meson
(brennan.io)
1 points
by
brenns10
6y ago
|
0 comments
144.
▲
Implementing a virtio-blk driver in my own operating system
(brennan.io)
2 points
by
brenns10
7y ago
|
0 comments
145.
▲
Build your own OS: Pre-emptive Multitasking
(brennan.io)
4 points
by
brenns10
7y ago
|
0 comments
146.
▲
Network Booting Raspberry Pi 4B with Upstream Kernel
(brennan.io)
2 points
by
brenns10
7y ago
|
0 comments
147.
▲
Creating an “Alien” Themed Linux Greeting Card
(brennan.io)
1 points
by
brenns10
9y ago
|
0 comments
148.
▲
by
brenns10
9y ago
Another possibility: the developer understands these things, but wrote a blog post with an explanation that omits some details in order to appeal to a broader audience.
149.
▲
by
brenns10
9y ago
More important than any of the sibling arguments is that we're talking about a socket control block. I don't control where it is allocated or freed, so I can't dictate its location in memory. Even if I did control it, there a
150.
▲
by
brenns10
9y ago
> so it doesn't look like we have the full story here I omitted so many details writing this -- otherwise the main story would have dragged on way too long. My comment here [1] gives some context. [1]: https://news.ycombi
More ›