Люся

Jul. 16th, 2025 22:10
vak: (Default)
[personal profile] vak
К нам стал наведываться очередной молодой опоссум. Окрестили Люсей. Предыдущего старенького звали Федей.



juan_gandhi: (Default)
[personal profile] juan_gandhi

Когда Трамп спросил Зеленского, мол, может ли он ёбнуть по Москве, а то и по Питеру, Зеленский более-менее адекватно ответил, мол, если гранаты дадите. Но обозреватели ни хера не поняли прикола. А мессидж этот был не Зеленскому и не обозревателям, а Путину. Мол слышь, московский пахан, мы можем и ёбнуть, через наших э... ну я не буду это слово. Короче, приличные люди в такие приколы (протоколы) не въезжают.

Вообще, в США есть такая традиция (да и везде) записывать республиканских президентов в идиоты. Как, помню, младшему Бушу вменял его "nukilar bomb". Не, ну серьёзно, выпускник Йейла и Гарварда не знает этого слова? Серьёзно? Он же над вами, обозревателями, издевался, а вы ведётесь.

Ладно. Не подумайте, что я люблю всех этих людей. Просто давайте уже посерьёзнее относиться к этим опасным людям.

Vertigo

Jul. 16th, 2025 19:58
juan_gandhi: (Default)
[personal profile] juan_gandhi

Фильм такой, 58-го года. Меня зацепило, потому что там сплошь знакомые места; да сегодня, например, Джон и Лидия запостили фотки из Сан Хуан Баутиста, и выглядит всё примерно так же, как и тогда.

Так это. Фильм, конечно, дурацкий. И никакого Хичкока я смотреть больше не буду; всё это прошлый век, выглядит как позапозапрошлый. Совершенно недостоверно; люди какие-то картонные, Пьеро и Мальвина. Но надо ж было ознакомиться.

И тут я вспомнил. Ха, я ж эту хрень смотрел уже, в СССР, в "Кинематографе". Тогда всё это казалось чужим, загадочным, экзотическим. А сейчас смотрю, как они едут из СФ в Сан Хуан, по 101-й дороге, и не понимаю, а почему не в ту сторону? И тогдалие. Но ладно; интересно - как окунулся в тот мир, из которого я глядел в этот мир. Кто б мне тогда, студенту, сказал, что я в Сан Хуан буду из дома на велике ездить. Какие-то размерности неожиданные. 




Вертиго, Люмбаго, Осваго, Живаго, Бураго, Шраго.

Чудеса.

 
vak: (Знайка)
[personal profile] vak
Продолжаем тему. По предложению [personal profile] spamsink  пусть буква E смягчает предыдущую согласную. Вместо Э задействуем Ə.
Vśo na svete dolžno proishodit́ medlenno i nepraviĺno, čtoby ne sumel zagorodit́śa čelovek, čtoby čelovek byl grusten i rasteŕan.

Ä pošol napravo, čut́ pokačivaäś ot holoda i ot goŕa, da, ot holoda i ot goŕa. O, əta utrenńaä noša v serdce! O, ilĺuzornost́ bedstviä! O, nepopravimost́! Čego v nej boĺše, v ətoj noše, kotoruü ëşo nikto ne nazval po imeni? Čego v nej boĺše: paraliča ili tošnoty? Istoşeniä nervov ili smertnoj toski gde-to nepodaĺoku ot serdca? A ësli vsego ətogo porovnu, to v ətom vo vśom čego že, vśo-taki, boĺše: stolbńaka ili lihoradki?

Ničego, ničego, — skazal ä sam sebe, — zakrojśa ot vetra i potihońku idi. I dyši tak redko, redko. Tak dyši, čtoby za kolenki ne zadevali. I kuda-nibud́, da idi. Vśo ravno, kuda. Ësli daže ty pojd́oš nalevo — popad́oš na Kurskij vokzal, ësli pŕamo — vśo ravno na Kurskij vokzal, ësli napravo — vśo ravno na Kurskij vokzal. Poətomu idi napravo, čtoby už naverńaka tuda popast́.

Cranky Old Guy

Jul. 14th, 2025 22:24
vak: (U.S.A.)
[personal profile] vak
Мой американский приятель Рид Котлер стал вести политический блог. Рекомендую: anothercrankyoldguy.substack.com

Шрифты сделай сам

Jul. 14th, 2025 12:27
vak: (Знайка)
[personal profile] vak
В Питоне образовалась качественная поддержка для разработки современных шрифтов.К примеру, вот как выглядят исходники буквы A в шрифте TikTokSans: A_.glyph
graydon2: (Default)
[personal profile] graydon2
somewhat contrary to the previous post: another pet peeve is people (some classic libertarians, others paleoconservatives) saying that "there is no free lunch".

there are certainly zero-sum, no-win situations that occur in life sometimes. and the phrase is often also used in some fatalistic, eschatological, broad heat-death-of-the-universe sense. sure sure, second law.

but as the great MC hawking put it: the earth's not a closed system, it's powered by the sun. there's an effectively unlimited massive fusion reactor in space we literally all live off of, and for all practical purposes we always have and always will. it is very much a free lunch! concretely: every lunch you have ever eaten and will ever eat is a free lunch given to earth by the sun.

also like .. any technological improvement that increases efficiency of some work is a metaphorical free lunch. if there were no free lunches to be had from R&D we may as well be banging rocks together as using any later developments.

also any positive-sum games or interactions, social relationships, political organization, economic cooperation .. the list of free lunches goes on and on.

enjoy your free lunches!

flywheels, again

Jul. 13th, 2025 22:01
graydon2: (Default)
[personal profile] graydon2
reading some technology reporting today and they're using the term flywheel, a pet peeve of mine. I have written about this before on some ephemeral social media, but I am moved now to repeat my objection in a place of greater posterity.

the word "flywheel" seems to have entered the business-writing lexicon with a book about amazon called "good to great". I have not read this and have no intention of reading it. perhaps the metaphor was used sensibly there. it is no longer used sensibly. here are a couple representative samples I just found via google of the way it is used nowadays (emphasis mine):

By definition, a flywheel is a heavy revolving wheel that is used in a machine to increase momentum and therefore provide greater stability to the machine. Given its weight, the flywheel is difficult to push from a standstill, but once it starts moving it gradually builds momentum, which eventually enables the wheel to turn by itself and create even more of its own momentum through a self-reinforcing loop.

or:

A flywheel is a massive metal disk, or wheel, that often weighs over 2,000 kgs. It takes a lot of effort to get it started, but once it starts to turn there are counterweights around the outside of the wheel that start to take effect and it starts to build momentum almost by itself. From that point, the same effort can be placed on the flywheel and it will start to turn faster and faster.

this is characteristic of the way people use the term now. they talk about "getting the flywheel going" on their business, because once you're over some kind of threshold the flywheel will somehow magically start spinning faster and faster on its own.

that is not what a flywheel is or what it does at all.

a flywheel is a kinetic battery. you put angular momentum into it when you have a surplus and you can take some back out when you have a deficit (assuming friction hasn't lost it all yet). other metaphors that have a similar effect are account balances, or warehouse inventory, or queues. or taking an average of something noisy over time. take your pick.

a wheel that somehow went faster of its own volition would be a perpetual motion machine. a fantastical solution to all the world's energy needs. but also fairly prohibited by .. physics. there is no such thing.

people using the metaphor this way seem to be getting it confused with positive feedback phenomena. which do exist! even in business! here is a classic one: sales volume up => unit production cost down => sale price down => customer demand up => sales volume further up. a.k.a. "economies of scale". great stuff, bravo capitalism. it has some other positive feedback loops that are not so great like "overproduction crisis" or "market panic" but we need not dwell on those.

there are also lots of other non-capitalism examples of positive feedback phenomena. population growth, cytokine storms, even the digital flip-flop circuits storing this post are positive feedback systems.

but: a flywheel is not a positive feedback system. not at all. please, I beg you: for pity sake stop using it as a muddled metaphor for one.
vak: (Default)
[personal profile] vak
Вид с холма поверх крыш Сигтюны, древней столицы Швеции.



Развалины церкви 12 века в Сигтюне.



На пристани в Сигтюне.



Парк на берегу озера в Сигтюне.



Стокгольм, вид на старый город Гамла-Стан.



Стокгольм, на центральной пристани.



Стокгольм, статуя основателя города Birger jarl.



"Голубой зал" городской ратуши. Здесь проходит торжественный банкет вручения Нобелевских премий.

vak: (Default)
[personal profile] vak
Пробуем латинскую кодировку для русского языка. Вот скрипт, перекодирующий произвольный текст.

Odnaždy, v stud́onuü zimńuü poru
Ä iz ĺesu vyšel; byl siĺnyj moroz.
Gĺažu, podnimaëtśa ḿedĺenno v goru
Lošadka, v́ezuşaä hvorostu voz.
I šestvuä važno, v spokojstvii činnom,
Lošadku v́ed́ot pod uzdcy mužičok
V boĺših sapogah, v polušubḱe ovčinnom,
V boĺših rukavicah… a sam s nogotok!
«Zdorovo, parnişe!» — Stupaj śeb́e mimo! —
«Už boĺno ty groźen, kak ä pogĺažu!
Otkuda droviški?» — Iz ĺesu, v́estimo;
Ot́ec, slyšiš, rubit, a ä otvožu.
(V ĺesu razdavalśa topor drovośeka.) —
«A čto, u otca-to boĺšaä śemä?»
— Śemä-to boĺšaä, da dva čelov́eka
Vśego mužikov-to: ot́ec moj da ä…—
«Tak von ono čto! A kak zvat́ t́eb́a?» — Vlasom.—
«A koj t́eb́e godik?» — Šestoj minoval…
Nu, ḿortvaä! — kriknul maĺutočka basom,
Rvanul pod uzdcy i bystŕej zašagal.

twenty years

Jul. 12th, 2025 17:32
graydon2: (Default)
[personal profile] graydon2
I just noticed this post from around when I first learned the term "substructural type system" is (almost) 20 years old. That sure was a while ago.

(I knew the space of ideas already but was working my way through more legit treatments of it. amusingly none of the research links in that post are live anymore -- back then arxiv.org was still "xxx.lanl.gov" haha)

Fencing 12 June 2025

Jul. 12th, 2025 22:33
izard: (Default)
[personal profile] izard
Just returned from the Upper Bavaria Open Fencing Tournament - Jacob’s first competition under German rules and his return to competitive fencing after a long break. The format followed European youth fencing regulations, which meant a significant equipment change for Jacob: a shorter and stiffer foil compared to one he was using in U.S. tournaments.

Read more... )

типа дата

Jul. 12th, 2025 09:59
juan_gandhi: (Default)
[personal profile] juan_gandhi
35 лет назад Ельцин вышел из КПСС. 

Русская латиница

Jul. 11th, 2025 12:09
vak: (Аристипп)
[personal profile] vak
Раз уж "русский мир" движется в закат, пофантазируем насчёт перехода на латиницу. Йотированные гласные отметим умляутом.
Cyrillic Latin     Notes
---------------------------------------------
А а A a Open vowel, like "father".
Б б B b Voiced bilabial stop.
В в V v Voiced labiodental fricative.
Г г G g Voiced velar stop.
Д д D d Voiced alveolar stop.
Е е Ë ë Iotated "e", like "yes". Implies iotization (including glide) initially/after vowels; palatalizes preceding consonant.
Ё ё Ö ö Iotated "o", like "yoke". Implies iotization (including glide) initially/after vowels; palatalizes preceding consonant.
Ж ж Ž ž Voiced retroflex fricative, like "measure".
З з Z z Voiced alveolar fricative.
И и I i Close front vowel, like "machine". Palatalizes preceding consonant.
Й й J j Palatal approximant, like "yes". Used explicitly in diphthongs or where "й" appears.
К к K k Voiceless velar stop.
Л л L l Alveolar lateral; softness implied by following vowel.
М м M m Bilabial nasal.
Н н N n Alveolar nasal; softness implied by following vowel.
О о O o Mid-back vowel, like "or" (unstressed reduces).
П п P p Voiceless bilabial stop.
Р р R r Trilled alveolar, like Spanish "rr".
С с S s Voiceless alveolar fricative.
Т т T t Voiceless alveolar stop.
У у U u Close back vowel, like "boot".
Ф ф F f Voiceless labiodental fricative.
Х х H h Voiceless velar fricative, like Scottish "loch".
Ц ц C c Voiceless alveolar affricate, like "tsar".
Ч ч Č č Voiceless palato-alveolar affricate, like "cheese" but softer.
Ш ш Š š Voiceless retroflex fricative, like "sh" in "ship".
Щ щ Ş ş Long voiceless palato-alveolar fricative, like "fresh cheese".
Ъ ъ ' Indicates hard consonant separation; apostrophe for juncture.
Ы ы Y y Close central vowel, like "bit" but backer. Hardens preceding consonant.
Ь ь ´ (acute) Placed over the consonant (e.g. t́) to indicate palatalization/softening.
Э э E e Mid-front vowel, like "bet". Does not palatalize preceding consonant.
Ю ю Ü ü Iotated "u", like "you". Implies iotization (including glide) initially/after vowels; palatalizes preceding consonant.
Я я Ä ä Iotated "a", like "yard". Implies iotization (including glide) initially/after vowels; palatalizes preceding consonant.
Мягкие согласные обозначим акутом. Но, как предложил [personal profile] spamsink , перед i ë ö ü ä акут можно не ставить, ведь и так понятно, что согласная смягчается.
бь      B́ b́
вь V́ v́
гь Ǵ ǵ
дь D́ d́
зь Ź ź
кь Ḱ ḱ
ль Ĺ ĺ
мь Ḿ ḿ
нь Ń ń
пь Ṕ ṕ
рь Ŕ ŕ
сь Ś ś
ть T́ t́
фь F́ f́
хь H́ h́
ць Ć ć
Примеры:
  • Украина → Ukraina
  • Киев → Kiëv
  • Здравствуйте → Zdravstvujt́e
  • Спасибо → Spasibo
  • Пиво → Pivo
  • Да → Da
  • Нет → Ńet
  • Борщ → Borş
  • Царь → Caŕ
  • Щи → Şi
  • Я люблю русскую кухню → Ä ĺubĺu russkuü kuhńu
  • Щекочихин-Крестовоздвиженский → Şekočihin-Kŕestovozdviženskij

Nested Prime Factorization (NPF)

Jul. 10th, 2025 21:45
vak: (Робот 1)
[personal profile] vak
Появилась новая версия Грока, ну я её сразу и озадачил.

> Please propose a new revolutionary method of representing integer numbers.

The "Nested Prime Factorization" (NPF) system is a revolutionary method for representing integers that transforms the traditional prime factorization into a recursive, nested structure. This approach not only highlights the multiplicative nature of numbers but also creates a tree-like representation that is particularly suited for modern computational paradigms, such as tree-based machine learning models, recursive algorithms, and efficient storage of large numbers in hierarchical data structures. Unlike conventional positional systems (e.g., decimal or binary), which focus on additive place values, NPF emphasizes multiplication and recursion, making it easier to visualize and manipulate number theory properties like primality, exponents, and factor relationships. It is compact for highly composite numbers or high powers, reduces repetition in representation, and enables novel operations like "unfolding" the tree for factorization or "folding" for synthesis.

How the NPF System Works

1. Base Cases:
  • 0 is represented as ∅ (empty set, symbolizing absence).
  • 1 is represented as [1] (a singleton leaf).
  • Negative integers are prefixed with a minus sign (-) applied to the representation of their absolute value (e.g., -n is -[representation of n]).
2. Positive Integers (n > 1):
  • Start with the canonical prime factorization of n = p1^α1 * p2^α2 * ... * pk^αk, where p1 < p2 < ... < pk are primes and αi > 0.
  • Represent n as a list [R(α1), R(α2), ..., R(αk)], where R(αi) is the recursive representation of the exponent αi.
  • Recurse on each exponent αi until reaching base cases (1 or primes, which are leaves).
  • Primes are represented as themselves in leaves, but if an exponent is prime, it is left as is unless further decomposed (primes stop recursion).
3. Recursion Rule:
  • If an exponent α is 1, it is [1].
  • If α is prime, it is the prime value (e.g., 2, 3, 5).
  • If α is composite, apply the NPF recursively to α.
This creates a nested list structure, which can be serialized in text using brackets or JSON-like notation for clarity. The structure is unique for each n, ensuring bijectivity.

Why Revolutionary?

  • Hierarchical Insight: The nested structure mirrors the "building blocks" of numbers, making it intuitive for educational purposes, number theory analysis, and AI applications (e.g., input to graph neural networks for predicting properties like divisibility).
  • Compactness for Large Numbers: High exponents are nested deeply rather than repeated, reducing representation length compared to linear factorization strings. For example, 2^{64} would be a deeply nested [ [...] ] rather than "2^64".
  • Operational Efficiency: Arithmetic can be performed recursively—multiplication concatenates or nests lists, addition requires "merging" trees with carries resolved via recursion. This could accelerate computations in symbolic math software or quantum simulation, where nested structures align with qubit entanglement models.
  • Extension to Other Domains: Easily adapts to rationals (numerator/denominator as two trees) or complexes, and supports error-resilient encoding by adding redundancy in nests.

Examples

  • 0: ∅
  • 1: [1]
  • -1: -[1]
  • 2 (prime): 2
  • 3 (prime): 3
  • 4 = 2^2: [2] (since exponent 2 is prime)
  • -4: -[2]
  • 6 = 2^1 * 3^1: [ [1], [1] ]
  • 8 = 2^3: [3] (exponent 3 is prime)
  • 12 = 2^2 * 3^1: [2, [1]]
  • 16 = 2^4 = 2^(2^2): [[2]] (recursive on exponent 4 = 2^2)
  • 1200 = 2^4 * 3^1 * 5^2: [ [2], [1], 2 ] (exponent 4 = [2], 1 = [1], 2 = 2)
  • 65536 = 2^16 = 2^(2^4): [[[2]]] (deep nesting for 16 = 2^4, 4 = 2^2, 2 = 2)
  • -65536: -[[[2]]]

Comparison with Traditional Systems

The table below compares NPF with binary, decimal, and factorial representations for select numbers, highlighting length (characters in serialized form) and key advantages.
| Number | Binary      | Decimal | Factorial     | NPF (Lists) | Notes on NPF Advantage 
|--------|-------------|---------|---------------|-------------|------------------------
| 1 | 1 | 1 | 1!0 | [1] | Minimal nesting for unity.
| 4 | 100 | 4 | 2!0 | [2] | Reveals prime exponent directly.
| 8 | 1000 | 8 | 2!1!0 | [3] | Compact for power-of-2.
| 12 | 1100 | 12 | 2!2!0 | [2,[1]] | Shows factors separately.
| 1200 | 10010110000 | 1200 | 4!3!2!1!0!0 | [[2],[1],2] | Nested for exponents, shorter than linear factorization (2^4*3^1*5^2 = 15 chars).
| 65536 | (17 bits) | 65536 | Long sequence | [[[2]]] | Highly compact for exponential towers; binary requires 17 chars, NPF uses 7.

This system opens doors to new computational techniques, such as recursive traversal for fast GCD (by comparing nests) or visualization as trees for educational tools. Future extensions could include probabilistic nesting for approximate representations in AI training data.
juan_gandhi: (Default)
[personal profile] juan_gandhi

Шаря по своему компу, обнаружил фотки 2005-го года; дело было в марте. Так что больше 20 лет. Я тогда увольнялся. А чо? Да я б в Борланде и дальше сидел, но это было очень глупо. 7 лет на одной должности простого инженера (а что я им всю инфраструктуру локализации зафигачил - это как? А никак. Блат нужен) и на студенческой зарплате, 80 тыс. Так что в конце концов ушёл. И вот мы тут отмечали это дело, в ресторане на вершине горы. Это если вы из Сан Хосе едете в Санта Круз, то вот самая вершина, и там два ресторана; старый и новый. Старый так себе, а новый был норм. Он был новый в 2005-м году.

Слева: Лена Бершадская, потом одна хорошая женщина забыл как звать, потом я, потом Крис Щинг, дальше не знаю.

Справа (слева направо): не помню, кто такой (новенький); Джулия Ли, Хенни Лин, Сандип (индийский принц), одна новая китаянка (имя забыл), Лиу Швэ (капитан китайской армии), Влад Протасов, Зоя Салистра.

Тут я одной правой наяриваю "entertainer". Ресторан с инструментом, э. А я тогда... Ладно.

Вот мы тут все ещё раз. Справа от меня Фред Меркурио Monasterio.

Вообще можно было бы и восстановить имена. У меня где-то лежит телефонная книга Борланда за тот год.

Корутины в Питоне

Jul. 10th, 2025 12:21
vak: (Знайка)
[personal profile] vak
В языке Python с некоторого момента появились сопрограммы (coroutines), реализованные ключевыми словами async и await. Эта фича очень удобна для симуляции всяких процессов. В качестве примера забацаем классических обедающих философов.

Пять чуваков сидят за круглым столом, перед каждым тарелка. Между тарелками лежат вилки. Каждый философ некоторое время размышляет, после чего желает подкрепиться. Для еды ему нужны обе вилки, левая и правая. Если вилки заняты соседями, приходится ждать когда они освободятся.

Вот код на Питоне: Результат:

Amaranth HDL

Jul. 10th, 2025 11:01
vak: (Default)
[personal profile] vak
Товарищи взялись заменить Verilog на Python. Проект называется Amaranth. Есть отдельный симулятор.

Проект на Гитхабе: amaranth-lang/amaranth

Есть несколько реализаций процессора RISC-V на Amaranth.
izard: (Default)
[personal profile] izard
Here is how buggy messenger delivery status can lead to miscommunication.

Message status: [Sent, Delivered, Read]

My view, after mobile internet went down on my phone at some point:
1. Me: Going home now. [SDR]
2. Julia: We'll be at a grocery store soon, should I pick you up at station A?
3. Me: No, thanks, I'll exit at station B and walk home. [SD]
4. Me: I'll be there in 30 minutes. [S]
5. Me: I'll text you if something happens with the train. []

Julia's view:
1. Alex: Going home now.
2. Me: We'll be at a grocery store soon, should I pick you up at station A? [SDR]
3. Alex: I'll be there in 30 minutes.
4. Me: I am waiting, where are you? [S]
5. Me: FindMy shows you at station B, why? [S]
6, 7, 8, 9

I was considering sending an SMS, but as my 3. was shown as delivered, I did not expect Julia to receive my message 4. only, but not 3. I should probably switch to WhatsApp.

Profile

gemelen: (Default)
gemelen

June 2025

M T W T F S S
      1
2345678
9101112131415
16171819202122
23242526272829
30      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 17th, 2025 13:00
Powered by Dreamwidth Studios