Twitter | Pretraživanje | |
Matt Fleming
Linux performance . Software engineer. Writer. Ex . Former Linux Kernel EFI maintainer.
1.419
Tweetovi
661
Pratim
732
Osobe koje vas prate
Tweetovi
Matt Fleming 9 h
Odgovor korisniku/ci @MarkCallaghanDB @eoinbrazil
I think BPF is definitely a good alternative. Just need to wait for the ecosystem to catch up so that it’s available for all distributions.
Reply Retweet Označi sa "sviđa mi se"
Matt Fleming 10 h
Odgovor korisniku/ci @bjorntopel @jessfraz i 3 ostali
Reply Retweet Označi sa "sviđa mi se"
Matt Fleming 14 h
Odgovor korisniku/ci @fleming_matt
It's pretty handy for investigating apps when you're unfamiliar with how they work internally. Like, where does time go when running host(1)? Disk i/o! It also spawns 4 tasks
Reply Retweet Označi sa "sviđa mi se"
Matt Fleming 14 h
I wrote a BPF tool: I always wished time(1) displayed useful statistics like off-cpu time and whether the program was blocked on i/o (or sleeping in userspace). schedtime gives you that info by inspecting callstacks to work out why your app blocked.
Reply Retweet Označi sa "sviđa mi se"
Matt Fleming 18 h
Odgovor korisniku/ci @n0madsky
Yes, CLRS! Yeah, I think dynamic typing is mainly to blame for that annoyance because it's not always easy to look at code and know what it's doing. But for small functions and obvious designs it's hard to beat IMHO.
Reply Retweet Označi sa "sviđa mi se"
Matt Fleming 18 h
One of the things I love about Python is how close to pseudocode it can be. Perfect for quickly implementing algorithms.
Reply Retweet Označi sa "sviđa mi se"
Matt Fleming proslijedio/la je tweet
Cindy Sridharan 23 h
Gandalf: An Intelligent, End-To-End Analytics Service for Safe Deployment in Cloud-Scale Infrastructure Fascinating paper from Microsoft Azure on their "anomaly detection" system used for deployments, which also explains why traditional approaches to anomaly detection are flawed
Reply Retweet Označi sa "sviđa mi se"
Matt Fleming proslijedio/la je tweet
Daniel Vetter 6. velj
Dave Chinner on how to do great & useful review if you're not a domain expert in that specific area
Reply Retweet Označi sa "sviđa mi se"
Matt Fleming 5. velj
Reply Retweet Označi sa "sviđa mi se"
Matt Fleming 5. velj
Odgovor korisniku/ci @dvyukov @zx2c4
Reply Retweet Označi sa "sviđa mi se"
Matt Fleming proslijedio/la je tweet
Geoff Langdale 5. velj
Odgovor korisniku/ci @trav_downs @chvest i 3 ostali
We had a system built around a Rabin-Karp approach, and it was "strided" if the string was big enough. It was... OK. However, that's a *lot* of computation so you tend to lose in the average case. My favorite approach in x86 was to use PEXT as sort of a super-hash function. ...
Reply Retweet Označi sa "sviđa mi se"
Matt Fleming 5. velj
Odgovor korisniku/ci @tehcaster
I am dying.
Reply Retweet Označi sa "sviđa mi se"
Matt Fleming 5. velj
That’s a helluva lot of golang awesomeness packed into 20 slides.
Reply Retweet Označi sa "sviđa mi se"
Matt Fleming 5. velj
I’m hoping for interesting things in the Observability space.
Reply Retweet Označi sa "sviđa mi se"
Matt Fleming 5. velj
Odgovor korisniku/ci @richardstartin
I’m going to send a note to the cs book author to request that he include this image alongside the original one.
Reply Retweet Označi sa "sviđa mi se"
Matt Fleming 5. velj
Odgovor korisniku/ci @richardstartin
Close! s;push;pump; Regular expressions still have their use.
Reply Retweet Označi sa "sviđa mi se"
Matt Fleming 5. velj
Odgovor korisniku/ci @vegard_no
Right. It’s the recursion that trips you up because finite automaton have a finite number of states. You’re fine as long as you don’t need to remember which input you’ve seen, e.g. when pairing parentheses.
Reply Retweet Označi sa "sviđa mi se"
Matt Fleming 5. velj
Odgovor korisniku/ci @fleming_matt
That’s pretty much the number one thing to computational theory teaches working programmers.
Reply Retweet Označi sa "sviđa mi se"
Matt Fleming 5. velj
Reminder: this is why you can’t parse programming language constructs with regular expressions.
Reply Retweet Označi sa "sviđa mi se"
Matt Fleming 5. velj
Odgovor korisniku/ci @HansWurst315
Maybe they’re not aware of the cost? I included a static regex compile inside some go code the other day instead of lifting it into a global var 🤦‍♂️
Reply Retweet Označi sa "sviđa mi se"