Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
majke
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
29 ms
·
241.
▲
by
majke
7y ago
Author here. This article is part of series. (1) Creating sockets (2) Addressing soon to come (3) AF_INET6 archeology: scope id and flowinfo (4) bind/connect I'm trying to build an audience, so make sure to follow me on twitter h
242.
▲
Last Person on Earth Without Windows 95
(zipcon.net)
2 points
by
majke
7y ago
|
0 comments
243.
▲
A Short History of Technology
(lemire.me)
2 points
by
majke
7y ago
|
0 comments
244.
▲
by
majke
7y ago
From https://textbooks.math.gatech.edu/ila/overview.html > Most engineering problems, no matter how complicated, can be reduced to linear algebra. Most problems... except a problem of too much linear algebra.
245.
▲
History of one CPU instructions: Part 1. LDDQU/movdqu explained
(software.intel.com)
2 points
by
majke
7y ago
|
0 comments
246.
▲
Creating Network Sockets on Linux
(idea.popcount.org)
1 points
by
majke
7y ago
|
0 comments
247.
▲
by
majke
7y ago
"creating linux network socketss" -> Good 0.99 "creating linux network sockets" -> Good: 0.01
248.
▲
Creating Network Sockets on Linux
(idea.popcount.org)
1 points
by
majke
7y ago
|
0 comments
249.
▲
stdout Buffering
(eklitzke.org)
2 points
by
majke
7y ago
|
0 comments
250.
▲
EBPF Eats All the Software
(blog.cloudflare.com)
5 points
by
majke
7y ago
|
0 comments
251.
▲
Everything you wanted to know about Creating Sockets on Linux
(idea.popcount.org)
2 points
by
majke
7y ago
|
0 comments
252.
▲
by
majke
7y ago
Wow, what an excellent way of phrasing it. Give me more. Why "any movement is circular"?
253.
▲
by
majke
7y ago
Oh, oh, oh. Since we are at Queen Bona, she was super cool. https://en.wikipedia.org/wiki/Bona_Sforza She was a culinary expert. I mean Italian. https://pajtoday.blogspot.com/2009/05/history-p
254.
▲
by
majke
7y ago
Polish history is very colorful. The (rather thick, but reasonably impartial) recommended read on Polish history over centuries is Norman Davies's "God's Playground" https://en.wikipedia.org/wiki/God
255.
▲
by
majke
7y ago
Thanks for interest in Polish art and history! We have more! There is Rejtan: https://en.wikipedia.org/wiki/Rejtan_(painting) Prussian Homage (also featuring worried Stańczyk): https://en.wikipedia.org/
256.
▲
by
majke
7y ago
I made an attempt to check: * shutdown(SHUT_RD): seem not to have _any_ side effects. you can totally still recv() on that socket. Kerrisk writes 61.6.6: "However if the peer application subsequently writes data on its socket, then it
257.
▲
by
majke
7y ago
Then there is a discussion about forcefully killing sockets :) * close(): socket will be lingering in background as usual * shutdown(SHUT_RD): no network side effect, discards read buffer * shutdown(SHUT_WR): equivalent to FIN SO_LINGER soc
258.
▲
by
majke
7y ago
On i7: > AVX2 code is faster than the dedicated instruction for input size 512 bytes and larger The difference is indeed tiny. Still - it's very cool the generic AVX2 code can beat the instruction burned in the silicon!
259.
▲
by
majke
7y ago
There is more! You can be _faster_ than __builtin_popcount()! Wojciech Muła did an excellent SSSE3 implementation: http://0x80.pl/articles/sse-popcount.html My understanding is that the set-up time is slower than the P
260.
▲
Marshall Kirk McKusick – Twenty Years of Berkeley Unix
(oreilly.com)
3 points
by
majke
7y ago
|
0 comments
261.
▲
by
majke
7y ago
I'm very impressed with the blog. At least one post a month for ten years? Whoa. Impressive.
262.
▲
by
majke
7y ago
Digging more about IPv6 representation: - It's possible to stick "::" in many places - It's possible to have :0000: before or after "::" - leading zeros (:0001: is the same as :1:) - "Text Representation o
263.
▲
by
majke
7y ago
Parsing IPv6 also requires some thought! Consider 0000:0000:0001:0002:0000:0000:dead:beef - 0000:0000:1:2::dead:beef - ::1:2:0000:0000:dead:beef - ::1:2:0:0:dead:beef - ::1:2:0:0:222.173.190.239 - 0:0:1:2::222.173.190.239
264.
▲
How and why CPUs do “branch prediction” (2017)
(danluu.com)
192 points
by
majke
7y ago
|
33 comments
265.
▲
US Military Emits More CO2 Than Many Industrialized Nations – Morocco, Sweden
(forbes.com)
16 points
by
majke
7y ago
|
0 comments
266.
▲
by
majke
7y ago
Plug: here's my article about current state of affairs in Linux https://blog.cloudflare.com/syn-packet-handling-in-the-wild/
267.
▲
Six layers of eBPF – How eBPF eats all the software
(blog.cloudflare.com)
4 points
by
majke
7y ago
|
0 comments
268.
▲
by
majke
7y ago
My favorite is retrieving http://wpad/wpad.dat with ajax. https://bugs.chromium.org/p/chromium/issues/detail?id=123166
269.
▲
Cloudflare architecture and how eBPF eats all the software
(blog.cloudflare.com)
2 points
by
majke
7y ago
|
0 comments
270.
▲
by
majke
7y ago
Author here. For one - read the article! BPF was originally used purely for tcpdump, but has been re-used since then. Nowadays it's used in surprising number of Linux subsystems. eBPF allows us to do things previously impossible - you
More ›