vim жив

Sunday, February 15th, 2026 19:00
vitus_wagner: My photo 2005 (Default)
[personal profile] vitus_wagner

После смерти Брэма Мооленаара (который наряду с Гвидо ван Россумом был причиной появления в моем журнале интереса "голландские программисты") я как-то довольно пессимистично относился к перспективам своего любимого редактора, и подозревал что еще года 3-4 и придется на neovim переползать. Однако же вот версия 9.2 вышла.

Из интересных изменений - конфигурационный файл в ~/.config/vim, существенное улучшение diff-режима и completion mode. Впрочем что именно там в completion наворотили я по анонсу не понял, пробовать надо. Изменения в vim9script я как-то пропустил, поскольку еще это язык не выучил.

phd_ru: (Default)
[personal profile] phd_ru



Поставьте будущее себе на стол!

X-Post в ЖЖ.

Эстакада

Sunday, February 15th, 2026 14:25
vitus_wagner: My photo 2005 (Default)
[personal profile] vitus_wagner

Тут вчера заметил, что Яндекс-карты помечают эстакаду, соединяющую Костромскую улицу с Юрловским проездом как открытую. А когда я там последний раз гулял ещё осенью, там стройка в разгаре была. Решил пойти посмотреть.

Дохожу до метро Бибирево, смотрю - и правда, забора уже нет, улица машины едут и даже какой-то электробус пустили. Пошел по эстакаде. Фотографировать с неё железнодорожную станцию Медведково не стал - не та погода - снег идет. До конца эстакады не дошёл, спустился по пешеходной лестнице и вдоль железной дороге вышел к улице Молодцова.

Ну в общем в городе Москве, который, как известно, построен на обочине 11 железных дорог (причем пути, ведущие к станции Медведково магистральным ходом ни одной из этих 11 не являются) появилось еще одно соединение улиц, пересекающее железную дорогу.

Ворчание на самого себя

Saturday, February 14th, 2026 13:47
vitus_wagner: My photo 2005 (Default)
[personal profile] vitus_wagner

Надо скорее заканчивать с "Кэт" и браться либо за "Нэтти" либо за "Звезду из созвездия Лебедь". Потому что что-то в атмосфере веет такое, из-за чего то, что я хочу высказать в этих вещах становится сильно актуальным. Надо бы момент не упустить. А то будет как с ЛЭТами в "Кэт" которые на момент своего придумыванрия в конце 80-х казались ну совершенной фантастикой, а сейчас - смартфон как смартфон.

Только вот те идеи про которые я думаю в этих двух сюжетах, они не про электронику, а про людей.

Да, забавно что карта Йоры (которая из "Звезды") у меня есть, а карты Ирганто (где происходит действие "Кэт") я так и не нарисовал. Или хотя бы карты того материка, где происходит действие. Точнее я как-то её на бумаге рисовал, но не отсканировал и не приобщил к wiki по Галактической федерации. Теперь придется заново из головы рисовать.

И с нейронками как-то разбираться надо. А то вчера попробовал решить простейшую задачу - вот есть страничка автора на фантлабе. В ней есть библиография, в которой каждая строчка - ссылка на страничку соответствующего произведения. На страничке произведения есть информация о переводах на другие языки. Задача - составить список произведений, которые были опубликованы на русском языке до 1989 года. Пробовал DeepSeek, Qwen и GigaChat. Облажались все. Причем все пробовали использовать еще и другие источники из интернета. И все равно некоторые публикации, которые я руками нахожу - не нашли (не важно что это некоторые публикации которые я помню что читал в нежном школьном возрасте, важно что я проверил - на фантлабе нужные данные есть). Автор, если кому интересно, был Теодор Старджон. Так я и не знаю сколько рассказов Старджона было опубликовано в СССР. Могу только утверждать что не меньше 15.

13

Wednesday, February 11th, 2026 18:18
phd_ru: (Default)
[personal profile] phd_ru
Много лет назад один хороший человек посоветовал мне жёсткий диск WD RE4. Он всё ещё у меня хорошо работает, ещё раз спасибо, Дмитрий! Один reallocated sector, все остальные проблемы по нулям.

Я отформатировал его под ext3 и поставил 32-битный Debian. И время от времени обновлял. Пока не пришёл Debian 13. На числе 13 всё сломалось. Дебиановцы ликвидировали 32-битный дистрибутив. Я решил, что нужно срочно загрузиться с флешки и сделать замену, а не обновление (штатными средствами обновить 32 на 64 сложно, близко к невозможному).

Это тоже оказалось непросто. Сначала мой домашний сервер отказался грузиться с флешки. И отказался входить в BIOS Setup, хотя при загрузке пишет "Press <Del>". Сын предложил мне гениальный хак: отключить диск вообще, тогда BIOS'у будет некуда деваться. Точно, я попал в Setup, включил загрузку с USB, загрузился, обновил ext3 до ext4, и переустановил Debian. Потратил на это всю сегодняшнюю ночь и половину дня.

PS. С ужасом жду пятницы.

X-Post в ЖЖ.
vitus_wagner: My photo 2005 (Default)
[personal profile] vitus_wagner

Рабочее место на базе raspberry pi. Под столом ничего нет, все на столе.

Рабочее место на основе традиционного писюка. Системный блок - под столом.

dw_news: Drawing of newspaper labeled 'The News' with DW logo (Default)
[staff profile] denise posting in [site community profile] dw_news
Back in August of 2025, we announced a temporary block on account creation for users under the age of 18 from the state of Tennessee, due to the court in Netchoice's challenge to the law (which we're a part of!) refusing to prevent the law from being enforced while the lawsuit plays out. Today, I am sad to announce that we've had to add South Carolina to that list. When creating an account, you will now be asked if you're a resident of Tennessee or South Carolina. If you are, and your birthdate shows you're under 18, you won't be able to create an account.

We're very sorry to have to do this, and especially on such short notice. The reason for it: on Friday, South Carolina governor Henry McMaster signed the South Carolina Age-Appropriate Design Code Act into law, with an effective date of immediately. The law is so incredibly poorly written it took us several days to even figure out what the hell South Carolina wants us to do and whether or not we're covered by it. We're still not entirely 100% sure about the former, but in regards to the latter, we're pretty sure the fact we use Google Analytics on some site pages (for OS/platform/browser capability analysis) means we will be covered by the law. Thankfully, the law does not mandate a specific form of age verification, unlike many of the other state laws we're fighting, so we're likewise pretty sure that just stopping people under 18 from creating an account will be enough to comply without performing intrusive and privacy-invasive third-party age verification. We think. Maybe. (It's a really, really badly written law. I don't know whether they intended to write it in a way that means officers of the company can potentially be sentenced to jail time for violating it, but that's certainly one possible way to read it.)

Netchoice filed their lawsuit against SC over the law as I was working on making this change and writing this news post -- so recently it's not even showing up in RECAP yet for me to link y'all to! -- but here's the complaint as filed in the lawsuit, Netchoice v Wilson. Please note that I didn't even have to write the declaration yet (although I will be): we are cited in the complaint itself with a link to our August news post as evidence of why these laws burden small websites and create legal uncertainty that causes a chilling effect on speech. \o/

In fact, that's the victory: in December, the judge ruled in favor of Netchoice in Netchoice v Murrill, the lawsuit over Louisiana's age-verification law Act 456, finding (once again) that requiring age verification to access social media is unconstitutional. Judge deGravelles' ruling was not simply a preliminary injunction: this was a final, dispositive ruling stating clearly and unambiguously "Louisiana Revised Statutes §§51:1751–1754 violate the First Amendment of the U.S. Constitution, as incorporated by the Fourteenth Amendment of the U.S. Constitution", as well as awarding Netchoice their costs and attorney's fees for bringing the lawsuit. We didn't provide a declaration in that one, because Act 456, may it rot in hell, had a total registered user threshold we don't meet. That didn't stop Netchoice's lawyers from pointing out that we were forced to block service to Mississippi and restrict registration in Tennessee (pointing, again, to that news post), and Judge deGravelles found our example so compelling that we are cited twice in his ruling, thus marking the first time we've helped to get one of these laws enjoined or overturned just by existing. I think that's a new career high point for me.

I need to find an afternoon to sit down and write an update for [site community profile] dw_advocacy highlighting everything that's going on (and what stage the lawsuits are in), because folks who know there's Some Shenanigans afoot in their state keep asking us whether we're going to have to put any restrictions on their states. I'll repeat my promise to you all: we will fight every state attempt to impose mandatory age verification and deanonymization on our users as hard as we possibly can, and we will keep actions like this to the clear cases where there's no doubt that we have to take action in order to prevent liability.

In cases like SC, where the law takes immediate effect, or like TN and MS, where the district court declines to issue a temporary injunction or the district court issues a temporary injunction and the appellate court overturns it, we may need to take some steps to limit our potential liability: when that happens, we'll tell you what we're doing as fast as we possibly can. (Sometimes it takes a little while for us to figure out the exact implications of a newly passed law or run the risk assessment on a law that the courts declined to enjoin. Netchoice's lawyers are excellent, but they're Netchoice's lawyers, not ours: we have to figure out our obligations ourselves. I am so very thankful that even though we are poor in money, we are very rich in friends, and we have a wide range of people we can go to for help.)

In cases where Netchoice filed the lawsuit before the law's effective date, there's a pending motion for a preliminary injunction, the court hasn't ruled on the motion yet, and we're specifically named in the motion for preliminary injunction as a Netchoice member the law would apply to, we generally evaluate that the risk is low enough we can wait and see what the judge decides. (Right now, for instance, that's Netchoice v Jones, formerly Netchoice v Miyares, mentioned in our December news post: the judge has not yet ruled on the motion for preliminary injunction.) If the judge grants the injunction, we won't need to do anything, because the state will be prevented from enforcing the law. If the judge doesn't grant the injunction, we'll figure out what we need to do then, and we'll let you know as soon as we know.

I know it's frustrating for people to not know what's going to happen! Believe me, it's just as frustrating for us: you would not believe how much of my time is taken up by tracking all of this. I keep trying to find time to update [site community profile] dw_advocacy so people know the status of all the various lawsuits (and what actions we've taken in response), but every time I think I might have a second, something else happens like this SC law and I have to scramble to figure out what we need to do. We will continue to update [site community profile] dw_news whenever we do have to take an action that restricts any of our users, though, as soon as something happens that may make us have to take an action, and we will give you as much warning as we possibly can. It is absolutely ridiculous that we still have to have this fight, but we're going to keep fighting it for as long as we have to and as hard as we need to.

I look forward to the day we can lift the restrictions on Mississippi, Tennessee, and now South Carolina, and I apologize again to our users (and to the people who temporarily aren't able to become our users) from those states.

О поиске с ИИ

Tuesday, February 10th, 2026 14:54
vitus_wagner: My photo 2005 (Default)
[personal profile] vitus_wagner

Вчера попробовал использовать нейросетки не для рисования картинок, а для сбора информации, необходимой для написания текста. Задал гугловскому ИИ вопросы "Где находился главный офис фирмы Байер в 1909 году?" "Кто руководил фирмой Байер в 1909 году?", "Какие были крупнейшие фармацевтические компании во Франции в 1909 году?"

Получил ответы, которые обычным гуглежом мне найти не удавалось, и ссылки по которым эти ответы можно верифицировать.

vitus_wagner: My photo 2005 (Default)
[personal profile] vitus_wagner

https://tech.slashdot.org/story/26/02/08/0113249/the-worlds-first-sodium-ion-battery-in-commercial-evs---great-at-low-temperatures

Тут вот пишут что китайцы сделали первый электромобиль на натрий-ионных батареях. Удельная емкость вроде как вполне сравнима с литиевыми 175 ватт-часов на килограмм, Но это при плюсовых температурах. А при -30⁰C они оказывются втрое более ёмкими чем литий-фосфатные. То есть при понижении температуры теряют емкость гораздо медленнее.

Telegram для Rasberry Pi

Saturday, February 7th, 2026 21:16
vitus_wagner: My photo 2005 (Default)
[personal profile] vitus_wagner

Наконец-то до trixie-backports доехала сборка telegram-desktop, которая судя по changelog-у был собрана Николаем Гуриевым еще 4 декабря.

И теперь стало можно поставить этот мессенжджер на raspberry pi. Потому что естественно злые проприетарщики из апстрима не делают сборок для не-X86_64 процессоров.

А самостоятельно собрать у меня как-то не получилось. Почему-то налетал на обеих платформах на внутреннюю ошибку компилятора.

А вот libreoffice 26.2 с поддержко markdown ни в trixie-backpors, ни в forky еще нет. Ну в forky-то он быстро приедет, потому что в sid уже есть. А бэкпортеров ждать ... Бэкпортить столь объемную софтину я, пожалуй не возьмусь.

Банда-не-он-бал

Saturday, February 7th, 2026 03:14
phd_ru: (Default)
[personal profile] phd_ru
Вынесу из-под замка мой стих:

Давай, сыграй нам, старый друг бандонеон.
Сыграй нам вальс, потом сыграй чарльстон.
Сыграй фокстрот, а мы усядемся за стол.
Но обещаю — мы вернёмся на танцпол.

Сыграй мазурку, польку, полонез.
Уже разлиты виски и шартрез.
Есть джин и вермут. Ты сыграешь рок'н'ролл,
А значит нам пора вернуться на танцпол.

Устав, мы разойдёмся по домам,
И тишина заполнит этот зал.
Темно и тихо будет до зари,
Ночную тьму не разгоняют фонари.

Прости нас, верный друг бандонеон,
Что это был всего лишь дивный сон…

Но завтра молодёжь придёт опять,
Ведь музыка зовёт их танцевать.
И будут требовать они, чтоб ты играл
Ирландский степ, тяжёлый рок и трэш-металл!

X-Post из ЖЖ.
Page generated Thursday, February 19th, 2026 18:40
Powered by Dreamwidth Studios