Записки на манжетах
126 subscribers
6.61K photos
551 videos
123 files
7.8K links
Мысли вслух.


Обратная связь — @ainikolaev.
Download Telegram
Иногда не получается снять всё что хочется. Потому фото вчерашнего дня дополнят заметки от Маши.

Парень, светлые вьющиеся волосы, на круглом лице столько неземного счастья и вдохновения. Локтями прижимает к бокам две полторашки разливушного пива. В правой руке ещё одна бутылка, а в левой пакетик с фаршем. И мечта в глазах)

В озере плещутся кусты ивы и кувшинки. Деревянный пирс. Солнечные блики, сухие шуршащие листья, шершавые перила. У деревянной постройки садится женщина с овчаркой и даëт собаке громадный кусок мяса на кости. У женщины широкое лицо, красные щëки, почему-то мокрые кончики осветлëнных волос. Она щурится на солнце и слегка улыбается, глядя как пëс разгрызает кость.
1766. Если верно понимаю, то набрано нотами из известного спесимена Флейшмана 1768 года. Впрочем, заслуживает перепроверки
Там, за перилами - фундамент здания управления имперской безопасности - именно там служил Штирлиц.
После войны здание разрушили, остались лишь подвалы - там оборудованы камеры как в приличном музее - а он там и есть - музей «Топография террора».
А сохранившееся здание справа - это Министерство авиации. И когда Штирлиц собирался ехать в ведомство Геринга - ему в общем надо было выйти, перейти улицу и войти в соседнее здание. Министерство авиации по сути единственное сохранившееся здание Имперского квартала - там потом был Совмин ГДР (денег строить не было, решили сохранить) сейчас там Минфин Германии.
Forwarded from HN Best Comments
Re: Ask HN: What is new in algorithms and data structu...

Anything CRDT (conflict free replicated datatypes: https://en.wikipedia.org/wiki/Conflict-free_replicated_data_type) related is fun to read up on and play with.

Papers and references (page maintained by central academic in the world of CRDTs): https://crdt.tech

Group doing research into how they can be used to build interesting collaborative (and async) applications: https://www.inkandswitch.com

A few of the major open source implementations - mostly for rich text editing or JSON like data structures:

- Yjs: https://github.com/yjs/yjs

- Automerge: https://github.com/automerge/automerge

- Peritext: https://www.inkandswitch.com/peritext/

- Dimond types: https://github.com/josephg/diamond-types

People building eventually consistent database syncing with them:

- https://electric-sql.com (Postgres <-> SQLite)

- https://vlcn.io (SQLite <-> SQLite)

Open source colaborative servers (coordination, persistance, presence):

- https://github.com/ueberdosis/hocuspocus

- https://github.com/partykit/partykit

- https://github.com/firesync-org/firesync

samwillis, 8 hours ago
Forwarded from HN Best Comments
Re: Go with PHP

As a fullstack developer who has worked many, many years in the javascript hellhole, I mean ecosystem, as well as the python ecosystem and .NET; coming back to PHP the last 2 years, working essentially in Laravel and the like - I couldn't approve more of this message.

Seriously, PHP is the grand father that will drive you to class and you'll never be late, the car will never smell and everything will always just be fine.

It's fast, it's typed (now), it's reliable.

Laravel is pretty darn rock solid. I've used a LOT of frameworks. Most of them fall on their ass in either the documentation or performance scope. Laravel is beasty, reasonably well documented, handles hundreds of thousands of users without a scratch. Plays well with Redis and MariaDB or anything really.

Just ignore the fugly standard library inconsistencies of (old) PHP, every language has their toilet corner...

Oh and it's free. All of it. PHP, Laravel. And its hosting has always been the cheapest. You don't need a particular OS or certain cloud providers.

When I consider the solutions of flask and microservices I've left behind, the many node processes running with pm2, the complexity of .NET solutions... PHP just works, and it's easy to make reliable... And if it's slow, it's because I'm doing dumb stuff, not because of dark corner edge case I happened to be tripping into.

It's single threaded first, queue jobs for anything slower. That simple facts make it so much easier to reason about things, and keeps the fullstack linear, transactional and easy to reason about, 2 years into it.

PHP is not the best language in the world. I prefer Swift and even Go for many reasons, but it's an easy, simple, straightforward language. It's the BMX of the languages.

keyle, 8 hours ago
Forwarded from HN Best Comments
Re: When you lose the ability to write, you also lose ...

This reads like Plato's warning (through Socrates' words) 2,400 years ago that writing will make people forgetful:

"For this invention [writing] will produce forgetfulness in the minds of those who learn to use it, because they will not practice their memory. Their trust in writing, produced by external characters which are no part of themselves, will discourage the use of their own memory within them. You have invented an elixir not of memory, but of reminding; and you offer your pupils the appearance of wisdom, not true wisdom, for they will read many things without instruction and will therefore seem to know many things, when they are for the most part ignorant and hard to get along with, since they are not wise, but only appear wise." [1]

[1] Phaedrus 275a-b, http://www.perseus.tufts.edu/hopper/text?doc=Perseus%3Atext%3A1999.01.0174%3Atext%3DPhaedrus%3Asection%3D275a

ly3xqhl8g9, 6 hours ago
Forwarded from HN Best Comments
Re: Go with PHP

Don't you dare to tell me that my isomorphic Node trpc graphql with redux and sagas on top of next.js with SSG and SSR and parts in server components with my home grown validation and ORM framework and still no translations because they don't work together with everything else and deployed on serverless docker lambdas to a kubernetes cluster is over engineering a landing page with a contact form. So fast!

That's a state of the art WebApp. You old PHP developer!

0xblinq, 23 hours ago
Forwarded from HN Best Comments
Re: Baltimore sues Hyundai, Kia over spike in car thef...

I live in Baltimore, in a pretty "good" part of town where most of the young professionals and Hopkins hospital staff live. I know 4 different people who've had cars stolen in the past 24 months. In 3 of these cases the perpetrators were teenagers, and in 2 of these cases they brandished guns. Only one of these thefts were Hyundai/Kia-related, and the thief punched my buddy in the face during the theft.

Many others I know have had cars broken into, homes broken into, tons of packages stolen, property vandalized, etc. Basically any form of property crime you can imagine.

The idea that Hyundai or Kia are somehow culpable for these this extreme social dysfunction is absolutely farcical. Vagrants and criminals are kept like livestock by the local government and a class of parasitic NGOs- left to terrorize normal law-abiding citizens who barely have a legal recourse to violence should one of these incidents go sideways.

It would take Ra's al Ghul to resolve the problems of this city

ravensfan69, 4 hours ago
Forwarded from HN Best Comments
Re: TikTok Owner Had 'Backdoor' for CCP Acce...

Social media access to user data (whether foreign or domestic) is bad, but it is a distraction from the real evil: behavioral management at scale. When you can target specific demographics and control what they see 8-10 hours of the day, you can change what they think, say, do, and most importantly, how they vote. People are literally being programmed (euphemistically, "conditioned") by the specific triggers and stimuli with almost surgical precision, and completely unbeknownst to them. This is uncomfortable to recognize and discuss, so the conversation is sadly reduced to "China/AI is bad/evil" to further foment hate and division.

1101010010, 6 hours ago
Forwarded from HN Best Comments
Re: Three Companies Impersonated Millions to Influence...

> LCX and Lead ID were responsible for many of these fake comments, letters, and petition signatures. Across four advocacy campaigns in 2017 and 2018, LCX fabricated consumer responses used in approximately 900,000 public comments submitted to the Environmental Protection Agency (EPA) and the Bureau of Ocean Energy Management (BOEM) at the U.S. Department of the Interior. Similarly, in advocacy campaigns between 2017 and 2019, Lead ID fabricated more than half a million consumer responses. These campaigns targeted a variety of government agencies and officials at the federal and state levels.

Wow. Just wow. How can anyone at these companies be avoiding jail time?

And who hired them? Is there no money trail?

Jupe, 7 hours ago
Страшную весть я принёс в ваш дом люди, зовите детей из рекламных отделов

В Нью-Йорке некто заказал кампанию в поддержку сетевой нейтральности. Надо было звонить во все колокола, слать письма конгрессменам, жалобы в FCC, но ни в коем случае не допустить ситуации, когда провайдеры могут шейпить те или иные сервисы, а за доступ к полной полосе — требовать от них денег. Иначе всякие Ютьюбы и Нетфликсы рисковали остаться без денег

Так вот, оказалось, что подрядчики, нанятые кем-то неким, компании LCX, Lead ID и ifficient, обеспечили нужные показатели. Письма конгрессменам, подписи петиций от "реальных людей" — всё это было сфабриковано при помощи розыгрышей, подарочков на неизвестно что, не очень понимающим что именно от них нужно людям, которые, всё же, падки до халявы.

https://ag.ny.gov/sites/default/files/oag-fakecommentsreport.pdf

Документ с методами вовлечения людей в качестве подписантов — представляет заметный интерес. Участников схемы штрафанули на 0,6 млн долларов. Работы оплачивались через НКО Broadband for America

Встаёт логичный вопрос: а что, ребята свои техники применили один раз с тех пор, и больше нигде, например, в банальном рекламном бизнесе, никогда их не применяют? И только ли они так работают? Сколько стоит обеспечить 10-100-1000 тысяч подписчиков на Чейндж.орге?

В целом же, люди думающие, что за 4.2 ляма долларов можно получить 8.5 млн американцев выполнивших какое-то действие — конечно же, понимают, какой изюм они покупают.
Forwarded from HN Best Comments
Re: Dell goes back on WFH pledge, forces employees to ...

> Microsoft announced a report indicating that workers were indeed productive at home (and sometimes more so), just that managers were failing to have confidence in workers.

Maybe it's down to management style.

It's long known that (at least in somewhat creative and self-directed jobs) workers who are motivated and happy with their jobs are more productive than those who are not. Managers then have to work hard, to keep motivation up and people happy. Let's call this the "supportive" management style.

It's also known that frustrated, unhappy workers are more likely to skip as much work as they can get away with, and do only as much as they are forced/required to do. Managers than have to work hard to control and monitor everyone, to keep the slack to a minimum. Let's call this the "adversarial" management style.

In one of those styles, WFH employees can be more productive, more happy, and more efficient. In the other, WFH employees can't be monitored closely enough to keep them from slacking.

Some managers prefer one style over the other, and not many are able to switch styles.

hooby, 10 hours ago
Forwarded from HN Best Comments
Re: Toyota: Car location data and videos of 2M custome...

"It is important to note that the exposed details do not constitute personally identifiable information, so it wouldn't be possible to use this data leak to track individuals unless the attacker knew the VIN (vehicle identification number) of their target's car."

Am I dumb or are they? If you know someones home address, then all you need is a geo lookup, and a filter which selects for cars parked near that address at 3AM over some time period. Which then gives you the VIN and the entire location history, right? Sure you might get more than one car if the someone lives in a city and uses street parking but its still going to reduce down to just a handful of cars which can then be cross referenced against place of work, relatives, etc.

And of course home address lookup can be made with any number of public databases with little more than a name and maybe some additional filtering (age, city, phone number, etc).

StillBored, 2 days ago
Forwarded from HN Best Comments
Re: 47% of all internet traffic came from bots in 2022...

I run some forums, some of them are quite large. Recently the big increase in scraping by the search engines (Bing has had the greatest increase) caused me to question why.

It used to be that the cost of scraping came with the benefit of being search engine listed which drove traffic, but that feels less true than it used to (for a lot of reasons).

But now the cost of scraping doesn't feel in the favour of a website.

Scraping and bots are for search engines listing, technology tests / experiments, advert / audience measurements, brand protection, IP tracking, copyright enforcement, screenshots for links on other websites (i.e. Facebook), Pinterest linkbacks, training of LLMs (my hypothesis on Bing's massive increase), spam, etc, etc.

With the search engine value lowered by less traffic, yet a solid community still growing via word of mouth... the rest of those things offer no value to me or the community. So I asked the community, what do you want to do here? Leave them all? Ban some? Ban all? Some midway thing?

Almost unanimously the community (who fund the costs by donations, and at least 30% of all traffic and costs were known to be associated to bots) chose to block every bot.

So that's what we've done.

We've blocked every major hosting and Cloud ASN, or put a challenge up to the few known to be proxies (i.e. Google Data Saver), and we've blocked hundreds of bot user agents, we've blocked requests where no Accept header was present where it should be, we've blocked TLS ciphers that aren't modern web browsers — I looked at requests by Python, Go, Curl, Wget, etc... and blocked everything that obviously differed from a valid browser.

In the end we blocked about 40% of our traffic, and so far not a single real human has said (and it's a tight-knit but large community with lots of ways of contacting me) that they've had any issue at all.

We appear to have reduced our traffic and associated costs, with no loss to us at all.

buro9, 1 day ago
Forwarded from Толкователь
Продолжаю изучать процесс денацификации гитлеровской Германии после её поражения («Вестник общественного мнения», №3-4, 2018).
На первом этапе этот процесс возглавили немецкие политэмигранты, для чего их взяли работать в американские спецслужбы (будущее ЦРУ):

«В 1942 году Управление стратегических служб США (УСС) привлекло к подготовке мер по денацификации немецких учёных, вынужденных эмигрировать из Третьего рейха после прихода нацистов к власти. В Центрально-европейской секции УСС работали выходцы из знаменитой Франкфуртской школы: политолог, социолог и юрист Франц Нойманн, политолог Отто Кирххаймер, философ Герберт Маркузе.

Группа Нойманна-Маркузе составила скрупулезные «чёрные списки» активных нацистов, которых предстояло отстранить от руководящих постов после капитуляции нацистского рейха. Кроме того, были подготовлены списки из 220-250 тысяч должностей, обладатели которых подлежали автоматическому аресту и последующему интернированию в целях обеспечения общественной безопасности. Также сотрудниками Центрально-европейской секции УСС были подготовлены списки из 1800 руководителей бизнеса и промышленности, которых тоже предстояло арестовать и привлечь к уголовной ответственности за их соучастие в преступлениях Третьего рейха».

После победы над Германией США, Англия и Франция начала работать по инструкциям, составленным немецкими политэмигрантами. Но быстро выяснилось, что по этим инструкциям надо покарать (казнить, посадить в тюрьмы или просто отстранить от работы) фактически всё дееспособное население Германии:
«Всего было создано 545 судебных трибуналов по денацификации со штатом 22 тысячи человек. За два года, к концу мая 1948 года, в американской зоне, где проживало чуть более 17 млн. человек, зарегистрировалось около 13,2-13,4 млн немцев. Из них 3,3-3,6 млн человек (или около 27% от всего населения, а от взрослого – почти половина) подпадали под действие закона, то есть состояли ранее членами НСДАП или её аффилированных организаций и соответственно должны были предстать перед судебными трибуналами».
(похожая ситуация была в английской, французской и советской зоне оккупации).

Страны-победительницы быстро поняли, что в Германии просто некому будет работать, если следовать инструкциями политэмигрантов по наказаниям. Возмущены были и немцы:
«В результате доля жителей американской зоны, довольных денацификацией, сократилась с 57% в начале 1946 года до 32% в 1947-м, а к 1949- му упала до 17%. Даже те, кто изначально был уверен в необходимости очищения общества от нацистских кадров, со временем проникались всё большим скепсисом в отношении проводившейся политики».

Как в быстрые сроки можно судить 3,5 млн. человек только в одной американской зоне оккупации? Где взять столько судей? Ситуация дошла до абсурда:
«В результате трибуналы зачастую комплектовались бывшими членами нацистской партии: по данным одного из отчётов 1948 года, 60% судей и 76% прокуроров в денацификационных судах Баварии сами в прошлом являлись членами НСДАП».

В итоге американцы и другие союзники быстро свернули денацификацию. Но через юридические процедуры – через амнистию:
«Уже в 1946 году были объявлены две амнистии: в августе от денацификации были освобождены молодые люди младше 28 лет, а 24 декабря были амнистированы бывшие нацисты с низким доходом и инвалидностью».
Потом амнистии следовали одна за другой: «Всего к июню 1948 года были амнистированы 2,4 млн немцев, а перед трибуналами предстали около 950 тысяч человек. Из них главными виновными были признаны лишь 1635 человек, виновными - 21.965. К различным срокам заключения были приговорены лишь 9600 человек, большинство отделались штрафами. Ещё более мягкими оказались результаты проверок во французской зоне: рассмотрев 670 тысяч дел, судебные трибуналы отнесли только 13 человек в первую категорию, 936 - во вторую».
Вот и вся денацификация.
Forwarded from HN Best Comments
Re: Sam Altman goes before US Congress to propose lice...

This is quite incredible

Could you imagine if MS had convinced the govt back in the day, to require a special license to build an operating system (this blocking Linux and everything open)?

It’s essentially what’s happening now,

Except it is OpenAI instead of MS, and it is AI instead of Linux

AI is the new Linux, they know it, and are trying desperately to stop it from happening

nico, 4 hours ago