Гигантский лабиринт в Кантабрии
Sep. 12th, 2026 10:00 am
Оказывается, в Кантабрии есть один из самых больших лабиринтов в Европе. В Барселоне есть свой лабиринт из кипарисов в парке "Лабиринт", но он сильно меньше.
[читать целиком]
Оказывается, в Кантабрии есть один из самых больших лабиринтов в Европе. В Барселоне есть свой лабиринт из кипарисов в парке "Лабиринт", но он сильно меньше.
[читать целиком]
Глава разведки США Джон Рэтклифф
В издании Financial Time статья (paywall) в которой утверждается, что Трамп планирует отодвинуть Витька с Зятьком от переговоров с РФ, и что в этих переговорах более заметную роль будет играть нынешний директор ЦРУ Джон Рэтклифф.
[читать целиком]3 сентября в России отмечается День воинской славы — День Победы над милитаристской Японией и окончания Второй мировой войны (1945 год)
3 сентября 1945, Указом Президиума Верховного Совета СССР был объявлен День победы над Японией.
Но суют некоего урода типа певца с его днем рожденья.
Блогера и историка Евгения Понасенкова Минюст исключил из реестра иноагентов - в связи с утратой Понасенковым признаков иностранного агента.
[читать целиком]Some new and some old entries this week, from people who find zero profoundly unrewarding.
"A scary blue button from The North Face" warns Dmitry K.. "Northface has just proudly rewarded me with nothing. I am not sure whether I want to try adding such a non-positive amount to my wallet. I am afraid I can trigger a chain reaction that will crash the financial system of the whole world..."
"0% Steam discount" advises Renan "As much as I love Final Fantasy, I guess I'll pass on this 0% discount."
"Give me my money around zero" demands Reinier B. "The Nederlandse Spoorwegen (Dutch Railways) owe me Ä2.25, but apparently I need to go back in time 2026 years to get my money ("we'll transfer the amount to your bank account around 0"). Or maybe it's not zero AD but something else?"
"My relationship with Office Depot is very unrewarding," complains Philip. "Office Depot doesn't exist in my country anymore (someone signed up with my email address), but it's good to know I have $0 waiting for me if they come back."
"Too late for that!" exclaims an Anonymous "Me hard earned zero award points on this ride app will expire at the Unix epoch which is apparently coming up soon."
"Rewards point conversion math is hard" figures Emily. "Will I have -0.01 next month? The suspense is killing me."
Автомобиль Saab 9000 Prometheus с джойстиком вместо рулевого колеса
Попалась мне тут фотография странноватого и явно старого автомобиля с джойстиком вместо руля (см. выше). Поискал информацию и выяснил, что это у компании Saab был такой проект в рамках общеевропейской исследовательской программы.
[читать целиком]В обзоре смартфона Motorola Signature добавил раздел с описанием Motorola Smart Connect (это бывший Ready For). Мне в комментах написали, что об этом имеет смысл дописать, я и дополнил - в обзоре нужно перескочить из оглавления на "Камера" и промотать немного наверх.
Smart Connect - это аналог Samsung Dex. Вы можете подключать смартфон к телевизору или монитору по проводу или по беспроводной связи, запускать режим "Телефон на мониторе", и при этом работать на смартфоне как на ПК - конечно, при этом ещё надо подключить беспроводные клавиатуру и мышь. Для некоторых случаев может быть очень нелишней возможностью.
[читать целиком]Сами британцы любят прикалываться над фонетикой английского.
Вот классное выступление.
[читать целиком]В заключительный день съезда Республиканской партии в Далласе президент США Дональд Трамп, назвав себя величайшим президентом в истории Соединённых Штатов, привёл участников к присяге на верность самому себе, заявив, что он любит своих сторонников так сильно, что даже дышать не может.
Не знаю, как вы, а мы с котом Бубликом аж прослезились, до того это было трогательно!
[читать целиком]Как утверждают организаторы, 2 977 дронов воссоздали Башни-близнецы в полном масштабе, причем каждый огонек символизировал одну из жертв терактов 11 сентября. Это произведение искусства под названием «2 977 огней над гаванью Нью-Йорка» представляет собой памятную публичную художественную инсталляцию, созданную в сотрудничестве с художниками, продюсерами и представителями сообщества, связанного с событиями 11 сентября, включая семьи жертв, выживших и сотрудников служб экстренного реагирования.
25 лет назад произошел тот самый жуткий теракт, когда самолёты, захваченные террористами, уничтожили Башни-близнецы в Нью-Йорке.
[читать целиком]
Александр Кондратов
Вот каждый раз читаешь о таком и думаешь - зачем они это делают? На что рассчитывают? Неужели не понятно, что если ты где-то когда-то хоть что-то писал о том, что творит это фашистское государство, то тебе ни под каким видом нельзя соваться в Мордор - ни для замены загранпаспорта (в тюрьме он тебе не понадобится, да и поменять загранпаспорт можно в консульстве в нормальной европейской стране), ни чтобы проведать родственников, ни для чего. Нельзя туда соваться в твоём случае, это очень опасно! Тем более что он в Киеве жил и из Киева приехал.
[читать целиком]В испанских группах веселуха. Премьер-каброна Педро Санчеса в Испании многие называют "Perro Sánchez" (Собака Санчес) - за его готовность вилять хвостом перед каталонскими и басконскими националистами ради сохранения собственной власти.
И вот вчера в Парламенте в диалоге с лидером ультраправых Сантьяго Абаскалем Педро Санчес заявил: "«Mire, en todos estos años su aportación a la política solamente ha sido el odio, los insultos y la xenofobia. Respecto a los insultos, señoría, usted me ha llamado autócrata, dictador, incluso me llama perro. Me llama perro, sí, sí, me llama perro. Mire, le digo una cosa, señor Abascal. A diferencia de usted, yo seré un perro, pero no tengo amo".
[читать целиком]I'm not a DNS person, in that I appreciate that it exists but am not up on the inner workings. It solves a lot of problems with dark magic I don't fully understand, and fortunately don't need to.
But Lucio noticed something that I do think is interesting, within the scope of the CAA record type.
The CAA record started with RFC6844, which was obsoleted by RFC8659. Both RFCs lay out the same core idea: you can add a CAA record to your DNS entries to say, "hey, this domain over here is allowed to issue certificates for me". That's the sort of thing that enables LetsEncrypt to hand out certs, and is an important part of why we can run HTTPS everywhere these days.
Now, RFC6844 has this in it:
Issuer Critical: If set to '1', indicates that the corresponding
property tag MUST be understood if the semantics of the CAA record
are to be correctly interpreted by an issuer.
Issuers MUST NOT issue certificates for a domain if the relevant
CAA Resource Record set contains unknown property tags that have
the Critical bit set.
The issuer critical flag means that the certificate issuer needs to validate your CAA record before it issues a certificate for you. There's more in the RFC about what exactly that means, but we don't care about those details for right now. The rule here is "set a flag to 1".
A little later in the RFC, the flag is described in more detail- as a bitmask. Specifically, bit 0 is the issuer critical flag. Bits 1-7 are reserved for future use.
Now, here's where we get into trouble, because programmers don't understand bits, and because the CAA record expects you to put an integer in this field. So, if you want issuer critical enabled, what value to you put in this field?
128, obviously. That's 10000000.
Except, if you don't understand bits, that's not obvious. A lot of people read this and decided that the documentation meant they needed to put 1 in the field- aka 00000001. This is wrong.
The updated RFC tries to explain it a bit more clearly:
Bit 0, Issuer Critical Flag:
If the value is set to "1", the Property is critical. A CA MUST NOT issue certificates for any FQDN if the Relevant RRset for that FQDN contains a CAA critical Property for an unknown or unsupported Property Tag.
Note that according to the conventions set out in [RFC1035], bit 0 is the Most Significant Bit and bit 7 is the Least Significant Bit. Thus, according to those conventions, the Flags value 1 means that bit 7 is set, while a value of 128 means that bit 0 is set.
Now, pop quiz: what percentage of the people using this field have actually read the RFC? Not many. Probably a number that rounds down to zero, if we're being honest.
But now, let's say you're LetsEncrypt. You're supposed to be validating the CAA records of your customers if the bit is set, but a substantial portion of your customers are using it wrong. Do you: stand by the specification and tell them that they're wrong? Or say, "well, it's a reserved bit anyway, we'll (ab)use it and accept bad data".
Of course they'll accept bad data.
// filterCAA processes a set of CAA resource records and picks out the only bits
// we care about. It returns two slices of CAA records, representing the issue
// records and the issuewild records respectively, and a boolean indicating
// whether any unrecognized records had the critical bit set.
func filterCAA(rrs []*dns.CAA) ([]*dns.CAA, []*dns.CAA, bool) {
var issue, issuewild []*dns.CAA
var criticalUnknown bool
for _, caaRecord := range rrs {
switch strings.ToLower(caaRecord.Tag) {
case "issue":
issue = append(issue, caaRecord)
case "issuewild":
issuewild = append(issuewild, caaRecord)
case "iodef":
// We support the iodef property tag insofar as we recognize it, but we
// never choose to send notifications to the specified addresses. So we
// do not store the contents of the property tag, but also avoid setting
// the criticalUnknown bit if there are critical iodef tags.
continue
case "issuemail", "issuevmc":
// We support these property tags insofar as we recognize them and
// therefore do not bail out if someone has one marked critical. But
// of course we do not do any further processing, as we do not issue
// S/MIME or VMC certificates.
continue
default:
// The critical flag is the bit with significance 128. However, many CAA
// record users have misinterpreted the RFC and concluded that the bit
// with significance 1 is the critical bit. This is sufficiently
// widespread that that bit must reasonably be considered an alias for
// the critical bit. The remaining bits are 0/ignore as proscribed by the
// RFC.
if (caaRecord.Flag & (128 | 1)) != 0 {
criticalUnknown = true
}
}
}
return issue, issuewild, criticalUnknown
}
Lucio writes:
Now I assume we all agree about the high wisdom of using bitmasks these days. Do we really need to save those bits at the price of a totally screwed up readability?
Now, I do like bitmasks, because I like the ability to trivially combine a bunch of values together with simple boolean operations, but I recognize that people can, and do screw it up. All the time. Am I going to say the DNS people were wrong for using a bitmask in their networking specification? No, I wouldn't go that far. But it certainly caused issues, and I do have to wonder: if you're treating 7 of 8 bits as reserved, maybe you should just have made it a flag?
CEO Apple Джон Тернус проводит осеннюю презентацию
Вчера компания Apple провела ежегодную осеннюю презентацию. Там произошло сразу два исторических события. Во-первых, компания наконец-то выпустила складной iPhone - через несколько лет после того, как Samsung, Google, Honor, Huawei, Motorola и прочие производители уже успели согнуть свои смартфоны во всех мыслимых направлениях. Во-вторых, презентацию впервые провёл новый генеральный директор Apple Джон Тернус, сменивший Тима Кука.
[читать целиком]