LINUX.ORG.RU

Сообщения dataman

 

GCC 14 — первые впечатления

Намедни в sid/ceres пришло.
Из нового в std:

  • generator, print и text_encoding в /usr/include/c++/14;
  • elements_of.h, out_ptr.h и sat_arith.h в /usr/include/c++/14/bits.

Ну и gccrs-14, да. Продолжаю наблюдения. :)

 , ,

dataman
()

/bin/<command>: not found

После какого-то обновления началось:

aclocal: warning: couldn't open directory 'm4': No such file or directory
/usr/bin/libtoolize: 1: /bin/sed: not found
/usr/bin/libtoolize: 1: /bin/sed: not found
/usr/bin/libtoolize: 1: /bin/grep: not found
/usr/bin/libtoolize: 1: /bin/sed: not found
/usr/bin/libtoolize: 1: /bin/sed: not found
: putting auxiliary files in '.'.
: copying file './ltmain.sh'
/usr/bin/libtoolize: 1: /bin/sed: not found

Или:

$ sudo apt full-upgrade

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up cpio (2.15+dfsg-1) ...
update-alternatives: error: alternative path /bin/mt-gnu doesn't exist
dpkg: error processing package cpio (--configure):
 installed cpio package post-installation script subprocess returned error exit status 2
Setting up nano (7.2-2) ...
update-alternatives: error: alternative path /bin/nano doesn't exist
dpkg: error processing package nano (--configure):
 installed nano package post-installation script subprocess returned error exit status 2
Errors were encountered while processing:
 cpio
 nano
E: Sub-process /usr/bin/dpkg returned an error code (1)

И действительно, sed, grep и т. д. есть только в /usr/bin.

Памагите! :)

 

dataman
()

git replay

В git 2.44 добавлена экспериментальная команда git replay:

git-replay - EXPERIMENTAL: Replay commits on a new base, works with bare repos too


SYNOPSIS
--------
(EXPERIMENTAL!) 'git replay' ([--contained] --onto <newbase> | --advance <branch>) <revision-range>...

DESCRIPTION
-----------

Takes ranges of commits and replays them onto a new location. Leaves
the working tree and the index untouched, and updates no references.
The output of this command is meant to be used as input to
`git update-ref --stdin`, which would update the relevant branches
(see the OUTPUT section below).

THIS COMMAND IS EXPERIMENTAL. THE BEHAVIOR MAY CHANGE.

OPTIONS
-------

--onto <newbase>
    Starting point at which to create the new commits.  May be any
    valid commit, and not just an existing branch name.

When `--onto` is specified, the update-ref command(s) in the output will
update the branch(es) in the revision range to point at the new
commits, similar to the way how `git rebase --update-refs` updates
multiple branches in the affected range.

--advance <branch>
    Starting point at which to create the new commits; must be a
    branch name.

When `--advance` is specified, the update-ref command(s) in the output
will update the branch passed as an argument to `--advance` to point at
the new commits (in other words, this mimics a cherry-pick operation).

<revision-range>
    Range of commits to replay. More than one <revision-range> can
    be passed, but in `--advance <branch>` mode, they should have
    a single tip, so that it's clear where <branch> should point
    to. See "Specifying Ranges" in git-rev-parse and the
    "Commit Limiting" options below.

OUTPUT
------

When there are no conflicts, the output of this command is usable as
input to `git update-ref --stdin`.  It is of the form:

    update refs/heads/branch1 ${NEW_branch1_HASH} ${OLD_branch1_HASH}
    update refs/heads/branch2 ${NEW_branch2_HASH} ${OLD_branch2_HASH}
    update refs/heads/branch3 ${NEW_branch3_HASH} ${OLD_branch3_HASH}

where the number of refs updated depends on the arguments passed and
the shape of the history being replayed.  When using `--advance`, the
number of refs updated is always one, but for `--onto`, it can be one
or more (rebasing multiple branches simultaneously is supported).

 , , ,

dataman
()

Шрифты Iosevka 28.0.0

https://github.com/be5invis/Iosevka/releases

Там столько изменений, что написать новость я не осилю. :)

 

dataman
()

Показ количества неподтверждённых сообщений

Примерно так:

Все (10) Новости (1) Галерея (3) Голосования (5) Статьи (1)

 ,

dataman
()

Лороёфикация

Вместе с @maxcom переработали логику отображения буквы «Ё», в частности в неподтверждённых тредах.

Общая идея в том, чтобы в некоторых словах над буквой «Е» показывались 2 (две) точки.

Просьба сообщать о замеченных словах, где не хватает этих точек.

 ,

dataman
()

Добавить автора треда в канале @best_of_lor

Чтобы знать, на что не стоит тратить время.

 , ,

dataman
()

В эмулятор терминала Contour добавлена поддержка SSH

PR #1323.


Contour – быстрый, GPU-оптимизированный эмулятор терминала, написанный на C++/Qt и поддерживающий лигатуры, emoji, Sixel, TrueColor, пользовательские темы и сочетания клавиш и многое другое.

 , , , ,

dataman
()

Интерактивная сортировка таблиц

Как на Википедии.
А если ещё и результат опросов выводить в таком виде, то вообще 🔥.

 , , ,

dataman
()

🯰🯰:🯰🯰, 🯰🯱:🯰🯱, ..., 🯲🯲:🯲🯲, 🯲🯳:🯲🯳

Несколько раз в сутки наблюдаю совпадение минут с часами, случайно взглянув на часы на различных гаджетах.
У кого так же?
Как с этим бороться?
Не болезнь ли? :)

 , ,

dataman
()

Кнопка копирования кода в буфер обмена

Что-то типа такого:

📋

echo "Hello!"

Фича есть на многих более других сайтах, а у нас – нет. Непорядок!

 , ,

dataman
()

В утилиту bfs добавлена возможность использования liburing

Tavian Barnes добавил поддержку (включено по умолчанию) liburing в свою утилиту bfs (начиная с версии 3.0.4).

bfs is a variant of the UNIX find command that operates breadth-first rather than depth-first. It is otherwise compatible with many versions of find, including

POSIX • GNU • FreeBSD • OpenBSD • NetBSD • macOS

В списке изменений автор об этом почему-то не упомянул.
Но в Devuan зависимости такие:

Package: bfs
Version: 3.0.4-1
Priority: optional
Section: utils
Maintainer: Chris Lamb <lamby@debian.org>
Installed-Size: 321 kB
Depends: libacl1 (>= 2.2.23), libc6 (>= 2.34), libcap2 (>= 1:2.10), libonig5 (>= 6.8.1)

Поэтому мною принято волевое решение проинформировать общественность об этом вопиющем произволе.

Всем быстрого поиска!

 , , , liburing,

dataman
()

Gumbo. Возрождение легенды

gumbo-parser архивирован корпорацией добра XVI февраля MMXXIII года.

Григорий Кириллов взял добрый проект в свои добрые и умелые руки, и продолжил парсингоугодное дело.

Что нового:

  • поддержка тега <picture>;
  • поддержка тега <dialog>;
  • исправлено потенциальное падение для тегов с нулевой длиной;
  • скрипт genperf.py совместим с Python 3.

В Devuan версия 0.12 уже прилетела, а Арч и ныне там.

 , , ,

dataman
()

Симуляция автотрафика немецкого качества

Поехали! (вежливость водителей настраивается).

Исходники.

Книга «Traffic Flow Dynamics: Data, Models and Simulation».

 , , , ,

dataman
()

Битых пикселей тред

Ноуту MSI GP72-7RDX-Leopard шесть лет. Я у него первый (как и он у меня).

https://ibb.co/vxc11pP

Это оно? За 30+ лет за компами, никогда с этим не сталкивался.

Покажите свои, пожалуйста. :)

 , битые пиксели,

dataman
()

libarchive в Windows 11

Мы добавили встроенную поддержку дополнительных форматов архивов, включая tar, 7-zip, rar, gz и многие другие, используя проект с открытым исходным кодом libarchive. Теперь вы можете получить улучшенную производительность функциональности архивов при сжатии под Windows.

https://blogs.windows.com/windowsdeveloper/2023/05/23/bringing-the-power-of-ai-to-windows-11-unlocking-a-new-era-of-productivity-for-customers-and-developers-with-windows-copilot-and-dev-home/

Про «AI» можно не читать. :)

 , , , ,

dataman
()

Встречайте: «ИИ»-помощник в Android Studio

https://www.youtube.com/watch?v=kfbXQbt7TBg

I’m super excited

офигеть

No stackoverflow anymore 🎉

Dreams come true fr. It should be better than chat gpt because its android oriented ❤❤❤❤

https://developer.android.com/studio/preview/studio-bot

 , ,

dataman
()

Выборочное игнорирование реакций

Надоели уведомления от пользователей, мнение которых мне не интересно. Но полное игнорирование слишком жёстко в этом случае. :)

Варианты:

  1. Добавить чекбокс рядом с каждым ником в «Списке игнорируемых пользователей»;

  2. Или добавить дополнительный раздел с чекбоксами существующих реакций в настройки уведомлений, чтобы можно было игнорировать отмеченные реакции.

 , ,

dataman
()

Комментарии к профилям

Например, добавить раздел «Список комментариев к профилям пользователей» в https://www.linux.org.ru/user-filter.

Хотелось бы, а то не помню, как кого обозвал.

 ,

dataman
()

Список прореагировавших в удалённых темах

403, однако.

 , ,

dataman
()

RSS подписка на новые темы