Не читал, но должна быть годнота
Two kernel mysteries and the most technical talk I've ever seen
1. What is this "fentry" stuff at the start of every kernel function? Profiling? Why doesn't it massively slow down the Linux kernel?
2. How can Ftrace instrument all kernel functions almost instantly, and with low overhead?
http://www.brendangregg.com/blog/2019-10-15/kernelrecipes-kernel-ftrace-internals.html
Two kernel mysteries and the most technical talk I've ever seen
1. What is this "fentry" stuff at the start of every kernel function? Profiling? Why doesn't it massively slow down the Linux kernel?
2. How can Ftrace instrument all kernel functions almost instantly, and with low overhead?
http://www.brendangregg.com/blog/2019-10-15/kernelrecipes-kernel-ftrace-internals.html
Brendangregg
Two kernel mysteries and the most technical talk I've ever seen
Two Kernel Mysteries and The Most Technical Talk I've Ever Seen (Linux Ftrace kernel internals)
Пару-тройку организационных замечаний:
1. если пишете в треде на слаке, то будьте готовы, что вас никто не заметит (внезапно не все это понимают).
2. если вы с кем-то созвонились и вы активно не участвуете в диалоге, серьезно, нажмите mute. как минимум скрип вашего кресла не будет мешать другим, как и грюканье дверьми в соседнем кабинете.
3. если у вас спросили что-то, и вы ответили реакцией, то так же с большой вероятностью человек этого не заметит (нотификация не появится, ток значок загорится на пару минут в левом верхнем углу слака, на месте @ будет реакция).
it's enterprise wednesday my coworkers 🐸
1. если пишете в треде на слаке, то будьте готовы, что вас никто не заметит (внезапно не все это понимают).
2. если вы с кем-то созвонились и вы активно не участвуете в диалоге, серьезно, нажмите mute. как минимум скрип вашего кресла не будет мешать другим, как и грюканье дверьми в соседнем кабинете.
3. если у вас спросили что-то, и вы ответили реакцией, то так же с большой вероятностью человек этого не заметит (нотификация не появится, ток значок загорится на пару минут в левом верхнем углу слака, на месте @ будет реакция).
it's enterprise wednesday my coworkers 🐸
Граждане, а ведь среди вас есть роликоведы, среди них же ролиководоведы. Если можете что-то подсказать-посоветовать, буду рад вас услышать (лс @olegkovalov)
(если что я про roller skates или как там)
(если что я про roller skates или как там)
Forwarded from Karim Iskakov - канал (Karim Iskakov)
This media is not supported in your browser
VIEW IN TELEGRAM
OpenAI showed a dexterous human-like robot hand solving Rubik's Cube. Trained entirely in simulation with so-called Automatic Domain Randomization.
🔎 openai.com/blog/solving-rubiks-cube
📉 @loss_function_porn
🔎 openai.com/blog/solving-rubiks-cube
📉 @loss_function_porn
oleg_log
В #go опять занялись ускорением defer. Вот пропозал https://github.com/golang/proposal/blob/master/design/34481-opencoded-defers.md А вот такие результаты планируется достичь: 1я сейчас, 2я цель, 3я "недостежимый" идеал. With normal (stack-allocated) defers…
Прикольные новости из #go Ускорили дефер (34ns -> 6ns), но при этом паники стали медленнее (62ns -> 255ns) из-за сканирования стека вызовов.
На самом деле это приятные изменения, быстрый дефер это конечно круто, но лишний раз некоторым намекнуть, что кидать паники просто так не стоит.
А еще Go-C-Go ускорили (443ns -> 347ns)
Патч https://go-review.googlesource.com/c/go/+/190098
(пропозал в прикрепленном посте)
На самом деле это приятные изменения, быстрый дефер это конечно круто, но лишний раз некоторым намекнуть, что кидать паники просто так не стоит.
А еще Go-C-Go ускорили (443ns -> 347ns)
Патч https://go-review.googlesource.com/c/go/+/190098
(пропозал в прикрепленном посте)
Forwarded from Go Дайджест
Ребята из 99designs рассказывают про уязвимость в AWS ALB за которым стоит Go приложение со стандартным муксом из net/http. 😱
https://99designs.com/blog/engineering/request-smuggling
https://99designs.com/blog/engineering/request-smuggling
99designs
Request smuggling between Amazon ALBs and Go net/http - 99designs
Request smuggling is a type of cyber attack that takes advantage of the fact that different servers process web requests differently. We recently discovered a major request smuggling vulnerability between how AWS and Go handle extra spaces.
Я опять полез в стд вещи жавы и узнал забавную вещь. Смотрим класс
Но если пойти в метод
мда......................................................
String, оказывается replaceAll принимает строку и компилит её в регулярку (уже неочевидно из названия, да и странное хотение).public String replaceAll(String regex, String replacement) {
return Pattern.compile(regex).matcher(this).replaceAll(replacement);
}Но если пойти в метод
compile, то попадём в приватный конструктор с лаконичными именами. Все, лишь бы не писать мерзотные this.fooprivate Pattern(String p, int f) {
pattern = p;
flags = f;
...мда......................................................
DevPassion
Write once. Run away 🏃
от названия канала шутка становится ток глубже
Не, ну серьезно 🤔 https://t.me/hot_backenderr/29
Telegram
Типа крутой мейнтейнер
Сравнение UUID
Есть два UUID'a:
1) 898b178f-f694-4a78-ac20-3f5c6ab55e77
2) 2eb2c8db-e826-4424-8287-aae6f8d3b8c7
Как думаете, если их сравнить в Java (через стандартный компаратор) и в PostgreSQL - результат будет одинаковый? Проверим?
Java (Kotlin):
…
Есть два UUID'a:
1) 898b178f-f694-4a78-ac20-3f5c6ab55e77
2) 2eb2c8db-e826-4424-8287-aae6f8d3b8c7
Как думаете, если их сравнить в Java (через стандартный компаратор) и в PostgreSQL - результат будет одинаковый? Проверим?
Java (Kotlin):
…
Я про это слышал от пары людей, что много опенсурщины от Uber сделано лишь бы сделать, и вот теперь, после увольнений они начнут умирать (я о проектах).
Как жаль, что погоня за привлекательностью нанесёт пятно на опенсурс.
Как жаль, что погоня за привлекательностью нанесёт пятно на опенсурс.
Forwarded from HN Best Comments
Re: Uber lays off around 350 more across Eats, self-dr...
I worked at Uber from 2014-2018.
Can confirm this. It was a very poorly managed org because it was extremely grassroots driven—leadership was underempowered to say no to front line teams or hold groups accountable.
The overlaps and poorly considered projects described above are not an exaggeration. Many of them were designed for building the lead engineer's open source brand, not for company needs. Half of the projects described above have since been canceled.
Google:
- Hyperbahn
- Cherami
- Schemaless
- Peloton
- uDeploy
- m3db
- piper
- XYS
Contrary to their glossy open source and tech blog presentations, these projects were highly contentious internally and widely viewed as inferior to industry counterparts. Each of these projects had 5-20 engineers working on them for over a year; many of them are being EOLed or phased out currently. And this is just the list that I can publicly talk about. This development came at extraordinary cost for the org and, in the case of the people who were laid off, cost to people's careers.
mooted1, 6 hours ago
I worked at Uber from 2014-2018.
Can confirm this. It was a very poorly managed org because it was extremely grassroots driven—leadership was underempowered to say no to front line teams or hold groups accountable.
The overlaps and poorly considered projects described above are not an exaggeration. Many of them were designed for building the lead engineer's open source brand, not for company needs. Half of the projects described above have since been canceled.
Google:
- Hyperbahn
- Cherami
- Schemaless
- Peloton
- uDeploy
- m3db
- piper
- XYS
Contrary to their glossy open source and tech blog presentations, these projects were highly contentious internally and widely viewed as inferior to industry counterparts. Each of these projects had 5-20 engineers working on them for over a year; many of them are being EOLed or phased out currently. And this is just the list that I can publicly talk about. This development came at extraordinary cost for the org and, in the case of the people who were laid off, cost to people's careers.
mooted1, 6 hours ago