home.social

#bisect — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #bisect, aggregated by home.social.

  1. [Перевод] 10 приёмов профессионала для ускорения кода на Python

    Команда Python for Devs подготовила перевод статьи о том, как делать код на Python быстрее без переписывания проектов с нуля. В статье 10 практичных приёмов — от sets и bisect до локальных функций и предвыделения памяти — которые дают реальный прирост скорости в типовых сценариях.

    habr.com/ru/articles/969848/

    #python #оптимизация #оптимизация_кода #производительность #sets #bisect #itertools #память #циклы #скорость

  2. git #bisect-ing a kernel on real hardware sucks. I can at least be grateful I'm not testing on my main machine. The #firmware wait times are huge and the grub window so tiny you can't leave it to it. I need to apply patches at each stage that touch pgtable so almost everything needs to be rebuilt for a distro kernel config. #secondkernelproblems

  3. Пара примеров возможного практического применения интернет страничек «без хостинга»

    Не так давно опубликовал у себя на Дзене и во ВКонтакте ссылки на калькулятор, который "предназначен для быстрого поиска такого рода события: пусть в начале интервала наблюдения объект присутствует на видео, в конце - нет. Задача состоит определить, в какой момент времени объект пропал. Важно, что это событие носит однократный характер: до него объект на картинке есть, после - нет." и даже видео ( 1 , 2 ) с демонстрацией работы выложил. Теперь, возможно, стоит поделиться тем, как это может быть реализовано ( bisect_data.py ):

    habr.com/ru/articles/848894/

    #python3 #javascript #html5 #ntp #bisect #хостинг

  4. Today I had to execute this command:

    git bisect start --term-good=BAD --term-bad=GOOD

    :(

    Have you ever executed something like this? What is proper way to do this?

    #git #bisect #gitbisect

  5. Ever wondered in which Git commit your application bug was introduced? Try "git bisect!"

    git-scm.com/docs/git-bisect

    Give it a commit that works and a commit that is "broken". "Git bisect" will start a binary search and suggest you to test various commits. Due to the clever approach, you won't need to test every commit - just a few. After a couple of attempts it will present the broken commit to you.

    Git bisect has just saved us another 15 minutes in bug hunting :)

    #git #bisect #programming #development #bug

  6. CW: shitpost

    PSA: Don't #bisect, the new #trans inclusive way is to pansect! <3

  7. Starting to #bisect #edk2 #ovmf stuff because the #microvm blobs don't build anymore since last release...

    If only they had a build system that is at least somewhat comprehensive and not a bizarre monster of #shell and #python scripts mangled together with some #make and other bits and pieces 🥺

    #archlinux #packagerlife

  8. Starting to #bisect #edk2 #ovmf stuff because the #microvm blobs don't build anymore since last release...

    If only they had a build system that is at least somewhat comprehensive and not a bizarre monster of #shell and #python scripts mangled together with some #make and other bits and pieces 🥺

    #archlinux #packagerlife

  9. Starting to #bisect #edk2 #ovmf stuff because the #microvm blobs don't build anymore since last release...

    If only they had a build system that is at least somewhat comprehensive and not a bizarre monster of #shell and #python scripts mangled together with some #make and other bits and pieces 🥺

    #archlinux #packagerlife

  10. Starting to #bisect #edk2 #ovmf stuff because the #microvm blobs don't build anymore since last release...

    If only they had a build system that is at least somewhat comprehensive and not a bizarre monster of #shell and #python scripts mangled together with some #make and other bits and pieces 🥺

    #archlinux #packagerlife

  11. Starting to #bisect #edk2 #ovmf stuff because the #microvm blobs don't build anymore since last release...

    If only they had a build system that is at least somewhat comprehensive and not a bizarre monster of #shell and #python scripts mangled together with some #make and other bits and pieces 🥺

    #archlinux #packagerlife

  12. Déjà plus de 50 vidéos gratuites sur notre chaîne YouTube pour vous expliquer #Git, ses bases, ses astuces, ses nouveautés.

    On continue avec un nouveau tutoriel sur la recherche de bug grâce à la commande #bisect.

    youtu.be/fj2-1v1T_CA

    Comme toujours, vos commentaires et relais sont bienvenus.