Обложка канала

oleg_log. Страница 18

4503 @oleg_log

Приют для асоциальных программистов "Олег"

  • oleg_log

    Субботний хейт скриптовых языков в разгаре, ща еще до Tcl дойдём.
  • oleg_log

    Ну это, всё 🤷 developer.apple.com/documen…se-notes > Finally! I’m a big fan of Python, but I hope they remove ALL Python from the OS itself. I’ve spent many hours over the years messing with setups to resolve bugs caused by python scripts picking up the Mac OS python install rather than the user-installed version. They really shouldn’t be bundling any Python version with the OS - the user should choose the versions installed. It’s much cleaner that way. HN как всегда радует
  • oleg_log

    А потом люди умудряются себя сравнивать с инженерами и мол как трудно писать код 🙈
  • Реклама

  • oleg_log

    Wordle 1/6 🟩🟩🟩🟩🟩

    Explore and run machine learning code with Kaggle Notebooks | Using data from multiple data sources

    Kaggle
  • oleg_log

    Ващета я еще и https://github.com/cristalhq/hedgedgrpc наклацал в рамках #hq, но вот до тестов не дошел, потому что как-то не сталкивался для грпц с 0 писать, так, дописывать скорее. Поэтому обращусь к вам: кто готов написать тесты для репы кто-то мог бы подкинуть пример хорошего теста на grpc? естественно интересен Github, чтобы это можно было увидеть, ну или что-то личное в лс/gist чтобы глянуть. (про зачеркнутое не шутка, смержится сильнейший)
  • oleg_log

    proposal: constraints: move to x/exp for Go 1.18 Нежданчик, если честно, хотя можно найти больше пользы, чем вреда - 1.х остаётся на месте ВОТ ПРЯМ 100% и только дженерик-озабоченные полезут в x/exp пакеты. +6 месяцев спокойствия для коммюнити. https://github.com/golang/go/issues/50792 For all these reasons, it probably makes sense to move constraints to x/exp along with slices and maps for Go 1.18 and then revisit it in the Go 1.19 or maybe Go 1.20 cycle. (Realistically, we may not know much more for Go 1.19 than we do now.)
    proposal: constraints: move to x/exp for Go 1.18 · Issue #50792 · golang/go

    There are still questions about the the constraints package. To start with, although many people are happy with the name, many are not. On top of that, it is unclear exactly which interfaces are im...

    GitHub
  • oleg_log

    2022.01.25 Issue with TLS-ALPN-01 Validation Method

    At 16:48 UTC on Tuesday Jan 25, 2022, a third party informed Let’s Encrypt / ISRG that, while examining the Boulder codebase, they had noticed two instances of specification non-compliance in our implementation of the “TLS Using ALPN” validation method (BRs 3.2.2.4.20, RFC 8737). As a result, we have made two changes to the way that our TLS-ALPN-01 challenge validation works. All active certificates that were issued and validated with the TLS-ALPN-01 challenge before 00:48 UTC on 26 January 202...

    Let's Encrypt Community Support
  • oleg_log

    Интересная аргументация про переписывание tsc (TypeScript Type Checker) на Go, а не Rust. tsc uses a lot of shared mutability and many parts depend on garbage collection. Even though I’m an advocate and believer in Rust, it doesn’t feel like the right tool for the job here. Using Rust required me to use unsafe too much for this specific project. tsc depends on shared mutability and has a cyclical mutable reference. Rust is designed to prevent this behavior. Having two references to the same data (shared mutability) is undefined behavior in Rust. Если чуть другими словами - между переписыванием и портированием есть разница и это стоит учитывать. Во делааааа. https://kdy1.dev/posts/2022/1/tsc-go Кстати, я в декабре как-то один жс/тс код на го переводил и получалось довольно вменяемо. Конечно некоторые вещи с типами пришлось чутьчуть подумать, как это внятно перенести без interface{} но вышло даже приятно.

    Make the web faster

    Devblog of @kdy1
  • oleg_log

    Жаль люди не оценили мем. Скорее от незнания игры Wordle и как по ней все угорают. На самом деле это старая игра про угадывание слова, зная только какие буквы в попытке на правильном месте, а какие просто присутствуют в слове. Вон даже Robert Griesemer в твиттере постит. Вещь прикольная, но все таки надо знать больше слов, чем const, class, mutex (у вас кстати еще нет канала на слаке про игру? а пора бы). Еще пасхалка от гугла - загуглите wordle и получит анимацию в лого.
  • oleg_log

    BoltDB author here. Yes, it is a bad design. The project was never intended to go to production but rather it was a port of LMDB so I could understand the internals. I simplified the freelist handling since it was a toy project. At Shopify, we had some serious issues at the time (~2014) with either LMDB or the Go driver that we couldn't resolve after several months so we swapped out for Bolt. And alas, my poor design stuck around. https://news.ycombinator.com/item?id=30015913 Теперь вспоминаем, что Bolt и в etcd тоже живёт. Ой-ой...
  • oleg_log

    Мне даже чутьчуть стыдно за этот вопрос, но...посоветуйте тему для IDE)))) Светлую и темную, пожалуйста. Хоть мне и интересен VSCode сейчас, думаю каждый найдет или подредачит под свой Fleet, ST4 и даже Notepad++ чмок 🙌
  • oleg_log

    JUG Ru Group возвращаются с новым сезоном конференций 🔥 А еще предлагают вам попробовать себя в качестве спикера. Если вы хотели поделиться знаниями, но сомневались, стеснялись или просто ждали удачного момента — это он. Конференции: •DotNext (.NET) — 7-8 апреля, прием заявок до 3 февраля; •Heisenbug (тестирование) — 12-14 апреля, прием заявок до 10 февраля; •HolyJS (JavaScript) — 18-21 апреля, прием заявок до 14 февраля; •JPoint (Java) — 25-28 апреля, прием заявок до 22 февраля; •Mobius (мобильная разработка) — 23-26 мая, прием заявок до 21 марта; •Hydra (распределенные вычисления) — 1-3 июня, прием заявок до 1 марта; •C++ Russia (C++) — 6-9 июня, прием заявок до 21 марта. От вас требуется только идея доклада. Если нужно, вам помогут подготовиться от и до. А онлайн позволяет выступить откуда угодно, но можно и из их студии в Питере. Чтобы узнать больше и заполнить анкету, переходите сюда. Кстати, билеты уже в продаже — найти их можно на сайтах конференций.
  • oleg_log

    А...а почему не хватило fn(req) -> resp ? Ну уважение Rust, что можно типами описать 12 параметров в хендлер, но какой в этом смысл в контексте хендлера? Смотрится как фича ради фичи. Если это, о ужас, http запрос, то наверное нам нужно уметь его обработать, зачем сверху накидывать +11 потенциальных параметров - хз. Разве что супер умные мидлвари...Надеюсь я с такими не столкнусь. actix.rs/actix-w…ler.html
  • oleg_log

    Hana

    #gopls and #VSCode playing together to handle Go template file. (gopls v0.7.5, #VSCodeGo extension v0.31.0-rc.1) "gopls": { "ui.semanticTokens": true } Many thanks to the gopls team! 🙏

    Twitter
  • oleg_log

    Шел 2022, а при этом все протекало до самого кернела. Хороший аргумент, что нужно и за сесурити в/из контейнера следить. blog.aquasec.com/cve-202…bernetes
    CVE-2022-0185 in Linux Kernel Can Allow Container Escape in Kubernetes

    A high-severity CVE was released that affects the Linux kernel, allowing unprivileged users to escalate those rights to root and escape from the container

    Aquasec
  • Реклама

  • oleg_log

    Критика C++ FAQ: https://yosefk.com/c++fqa/ (fqa = frequently questioned answers) > [6.1] Is C++ a practical language? > FAQ: Sure - not perfect, but mature and well-supported, which is good for business. > FQA: C++ is not "mature" in the sense that different compilers will interpret it differently, and C++ modules built by different vendors will not work with each other. C++ is not "well-supported" in the sense that development tools for C++ lack features and are unreliable compared to other languages. These things make one ask "Am I the first one trying to do this?" all the time. > This situation is not likely to change, because it follows from the C++ definition. C++ is very complicated for programs (or people) to understand. C++ specification leaves out most aspects crucial for interoperability, such as modules and calling conventions. C++ has a huge installed base, and since solving these problems backward-compatibly is impossible, they won't be solved.
  • oleg_log

    Gentle reminder: A cloud is a someone else's computer. Google Drive flags file only containing “1” for copyright infringement https://wz.ax/hn/30060405/gdrive-copyright > Turns out Google also hates 500, 174, 833, 285 and 302 (from generating files from -1000 to 1000).
  • oleg_log

    Inside the pyramid there is a hierarchy where things using software are build on top of others, in layers. The higher up you go, the more you stand on the shoulders of open source components below you. daniel.haxx.se/blog/20…n-source Эта пирамида, хотя скорее модель, отлично описывает и виды разработчиков и то, как должны формироваться команды. Если человеку интересны байты, то зачем ему работать с жсоном на уровне "отдай в видет ответа", и наоборот. Вот только жаль, мало кто из руководителей это понимает, но так же часто не имеет ресурсов формировать тимы таким образом.