Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
majke
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
181.
▲
by
majke
5y ago
I did some digging The source seem to have been on trac on wasabi.t0x.org: https://web.archive.org/web/20060508052407/http://wasabi.t0x... And this might be the same on github: https://github.
182.
▲
by
majke
5y ago
It's mentioned in the prose. After bind() before connect() there is a race condition, you can receive packets going to unconnected bind() socket, right? bind(0.0.0.0, 1234) ## packet to port 1234 arrives NOW connect(1.1.1.1, 53
183.
▲
by
majke
5y ago
Author here. There is surprisingly little documentation about UDP. I mean, there is tons of tutorials showing sendto/recvfrom, but that's not enough. Doing basic CMSG operations in some programming languages is remarkably hard. Us
184.
▲
by
majke
5y ago
there is so much more! https://idea.popcount.org/2019-12-06-addressing/ (a) trailing whitespace "1.2.3.4\t5" (b) link-local like %1 or %eth0
185.
▲
by
majke
5y ago
HN stole the time marker, it starts at t=5603s https://www.youtube.com/watch?v=WjxHKvwX8RY&t=5603s
186.
▲
Linux Plumbers Conference – BPF Rough Edges
(youtube.com)
2 points
by
majke
5y ago
|
1 comments
187.
▲
by
majke
5y ago
Wow, this is a surprisingly approachable explanation of how a transistor works! Also in next article they discuss "walkie-hearies". AAA! It's like "walkie-talkie" but for hearing. Obviously!
188.
▲
by
majke
5y ago
I've always been Mr Sustrik's fan, but this has a special place in my heart. I highly recommend reading the "What is structured concurrency?" section with understanding. I think this is a big deal. Why? Let's start
189.
▲
Conntrack turns a blind eye to dropped SYNs
(blog.cloudflare.com)
3 points
by
majke
5y ago
|
0 comments
190.
▲
by
majke
5y ago
Apart from fuel prices, is there any economic impact? Do air carriers pay anything to the countries they fly over? (dunno, covering ATC costs?)
191.
▲
by
majke
5y ago
A quick plug: A brief history of select() syscall https://idea.popcount.org/2016-11-01-a-brief-history-of-sele... (for example: did you know early BSD had a limit of 20(!) file descriptors?)
192.
▲
by
majke
5y ago
Rejection is probably one of the strongest feelings for a normal person. For me two thoughts help keep my spirits up: - I was the same person before the rejection as I am after it. There is nothing changing in reality - only my own view, my
193.
▲
by
majke
5y ago
We do run aarch64. We are very interested if M1 is faster than the ARM's we have. https://blog.cloudflare.com/arms-race-ampere-altra-takes-on-... https://blog.cloudflare.com/porting-our-software-to-arm6
194.
▲
by
majke
5y ago
Modern freshest gcc 11 can optimize the if's nicely https://godbolt.org/z/771foExcG getCountry: mov eax, OFFSET FLAT:.LC0 cmp edi, 258 ja .L1 mov edi, edi
195.
▲
Branch predictor: How many “if”s are too many?
(blog.cloudflare.com)
324 points
by
majke
5y ago
|
105 comments
196.
▲
by
majke
5y ago
Note that factorio data propagation in circuit is not fast. In factorio, it will take one frame for two objects connected by the circuit to synchronize. The game runs at 60fps. So, if you connect 60 components in a series, it will take 1 se
197.
▲
by
majke
6y ago
Couple of years ago I wrote a tool to check if end-hosts are complying: http://icmpcheckv6.popcount.org/ (v4 version http://icmpcheck.popcount.org/ ) it answers: - can fragments reach you - can PTB ICMP rea
198.
▲
by
majke
6y ago
This sounds very similar to my slirpnetstack, which is using gvisor netstack to do, which I call translating L3 (packets) into L7 (userspace syscalls like connect()): https://github.com/majek/slirpnetstack/ (btw,
199.
▲
by
majke
6y ago
I did that. It doesn't answer the question - is my contact book on facebook servers? If so, how it is processed and for how long.
200.
▲
by
majke
6y ago
More than that. (1) The policy differs per country. But how is it different in practice between the EU and USA and Brasil? It's not public knowledge. (2) It's absurd the policy doesn't describe anything useful. I tried to fin
201.
▲
by
majke
6y ago
I attempted to write something for more advanced audience. Not sure if it's a successful attempt though... https://idea.popcount.org/2019-11-06-creating-sockets/ https://idea.popcount.org/2019-12-0
202.
▲
Robin Hood Hashing
(programming.guide)
1 points
by
majke
6y ago
|
0 comments
203.
▲
How to get 100B Int ops per CPU: nearest neighbor in high dimensionality
(blog.cloudflare.com)
1 points
by
majke
6y ago
|
0 comments
204.
▲
by
majke
6y ago
Ha! One of my preferred games. There is a fun anecdote coming from another of my fav games, Diablo 1: https://www.gamasutra.com/view/news/268507/20_years_later_Da... > “We were very excited, so we signed a
205.
▲
by
majke
6y ago
Does https://idea.popcount.org/2012-07-25-introduction-to-hamt/ count?
206.
▲
by
majke
6y ago
Awesome! I love Luajit! What specifically you want to do? HTTP game?
207.
▲
by
majke
6y ago
What is your use case? In my experience it's hard to use them properly. I failed to use modern GPU's (V100's) effectively for even large computing tasks. I found good compiler producing AVX2 on many cores to be easier and che
208.
▲
by
majke
6y ago
> You and Cloudflare made a business decision that supporting the DNS standard was too costly, No, I made a decision that it was time to fix an obscure feature that was impossible to use correctly, and caused real damage to the internet
209.
▲
by
majke
6y ago
It was me who was pushing for DNS ANY changes, and I'm pretty proud of it. If you worked on any DNS software, you would see how messy handling ANY was. Fundamentally the question is about Zones. I personally don't believe "zo
210.
▲
by
majke
6y ago
Compulsory popcount resources from Wojciech Mula http://0x80.pl/articles/sse-popcount.html
More ›