Некоторые области удивительным образом игнорируют прогресс в других областях. Для меня самым характерным примером являются, пожалуй, бортовые компьютеры автомобилей.
Вчера я ехал на такси Комфорт+, это была вполне приличная и не старая Kia Optima. Водитель параллельно со своим телефоном включил встроенный навигатор, и он ожидаемо оказался очень плох. Мало того, что даже близко не адаптирован под Россию, с убогой не детализированной картой, так ещё и жутко тормозил: FPS анимаций в районе 1-2.
Потом я вспомнил, как мы с друзьями в Москве брали в каршеринге Genesis G70 — Южно-Корейский автомобиль премиум-класса с ценой от 2.5 млн рублей. И там стоял адаптированный бортовой компьютер под управлением Android. Надо ли говорить, что скорость его работы была настолько необъяснимо отстойной, что даже самый дешманский ноунейм китайфон справился бы с задачей навигации лучше?
Каждый раз, когда я вижу экран бортового компьютера автомобиля, я будто смотрю через маленькое окошко в прошлое 20-летней давности. И по скорости работы и по функциональным возможностям всё поразительно плохо. Можно оправдывать это якобы безопасностью (сторонний софт нельзя ставить, чтобы он не мог повлиять на движение автомобиля), но на деле эти цепи легко разделяются: двигатель и важные узлы в одном месте, а навигатор, информация с датчиков, климат-контроль — в другом, на другом процессоре с другой областью памяти.
Автомобильная промышленность в целом довольно консервативна. Поэтому большинство серийных моделей выглядят одинаково скучно, о каких-то крутых новых функциональных фишках мы слышим раз в десятилетие, а какие-то изобретенные полвека назад вещи до сих пор есть далеко не в каждой модели (например, парктроники). Но иногда до абсурда доходит: в тачке за пару лямов компьютер хуже, чем китайский планшет за десятку.
#gadgets#life
#npm#nodejs#dasturlash_hayoti
NPM — paketlar, package.json va oddiy qo‘llanma
NPM — Node.js ekotizimidagi paketlar ombori va paket menejeri. package.json loyihaning “pasporti”.
Boshlash:
npm init -y # package.json yaratadi
npm install express # express o'rnatish (dependencies)
npm install -D nodemon # ishlab chiqishda dev dependency
package.json skript misoli:
"scripts": {
"start": "node index.js",
"dev": "nodemon index.js",
"test": "jest"
}
Eslatma:
◾️package-lock.json loyihaning qat’iy versiyalarini saqlaydi — uni gitga qo‘yish kerak.
◾️node_modules/➡️.gitignore ga qo‘ying (reponing ichiga kiritmang).
◾️npm audit bilan xavfsizlik tekshiruvini bajaring.
Maslahat:
◾️Kichik loyihalarda ham scripts dan foydalaning — bir buyruq bilan test, build va start qilinadi.
◾️Global o‘rniga lokal paketlarni afzal ko‘ring (-g dan saqlaning).
NPM bilan ishlashni o‘rganish — Node ekosistemida samarali bo‘lishning asosiy sharti.
Oramizda 📱Node.js ni biladiganlar bo'lsa reaksiya qoldiring 🔥
💻@dasturlash_hayoti— xatosiz kod bo‘lmaydi😅
THE COMPOSITION OF THE COORDINATING COUNCIL OF THE NPM AGAINST TORTURE UNDER THE COMMISSIONER FOR HUMAN RIGHTS IN THE REPUBLIC OF KAZAKHSTAN HAS BEEN UPDATED
July 26, 2022 – The next online meeting of the updated composition of the Coordinating Council of the National Preventive Mechanism against Torture (NPM) was held under the chairmanship of the Commissioner for Human Rights in the Republic of Kazakhstan Elvira Azimova.
The members of the Coordinating Council discussed issues of strengthening independent monitoring on the ground, interacting with the regional representative offices of the Commissioner, as well as participating in the discussion of draft laws on improving criminal and criminal procedure legislation, taking into account the recommendations of the NPM participants. Within two months, the presentation and discussion of the consolidated NPM report on the results of visits to social institutions, institutions where citizens are located by court decision or based on a verdict will take place. The presentation will be held with the invitation of local self-government bodies and central bodies, including the Prosecutor General's Office, which oversees compliance with the rule of law, representatives of public councils, and boards of trustees of institutions. During the presentation of the report, the participants will talk about the violations identified on the ground.
Updated composition of the Coordinating Council By the link: https://www.gov.kz/memleket/entities/ombudsman/press/news/details/401234?lang=ru
#Ombudsman#HumanRights#CoordinatingCouncil#NPM
https://www.gov.kz/memleket/entities/ombudsman/press/news/details/405528?lang=en
NEW MEMBERS OF THE COORDINATING COUNCIL OF THE NATIONAL PREVENTIVE MECHANISM HAVE BEEN ELECTED
On July 5, 2022, a meeting of the commission for the election of members of the Coordinating Council for the activities of the National Preventive Mechanism (NPM) was held.
The Commission under the Commissioner for Human Rights included: Deputy of the Senate of the Parliament of the Republic of Kazakhstan Nurlan Beknazarov, Deputy Prosecutor General of the Republic of Kazakhstan Asset Chindaliev, Head of the National Center for Human Rights Zere Utebayeva, Secretary of the Human Rights Commission under the President of the Republic of Kazakhstan Tastemir Abishev, Executive Director of the Charter for Human Rights Public Foundation Zhemis Turmagambetova, Director Kazakhstan International Bureau for Human Rights and Rule of Law Yevgeny Zhovtis, Commissioner for Children's Rights in Kazakhstan Aruzhan Sayn, Head of the Department of Effective Governance and Territorial Development of the United Nations Development Program in Kazakhstan Ainur Baymyrza, Director of the Center for Applied Research TALAP Rahim Oshakbayev.
According to the results of a secret ballot, 10 citizens of Kazakhstan were elected from among the citizens who submitted their applications for participation in the activities of the NPM for the prevention of torture and ill-treatment.
The updated list of members of the Coordinating Council will be available on the website of the Commissioner for Human Rights in the Republic of Kazakhstan at the link: https://www.gov.kz/memleket/entities/ombudsman/activities/1030?lang=ru.
#Ombudsman#HumanRights#CoordinatingCouncil#NPM
ОМБУДСМЕН И ПРАВОЗАЩИТНИКИ ОБСУДИЛИ КОНСТИТУЦИОННЫЕ ПОПРАВКИ, ВЫНОСИМЫЕ НА РЕСПУБЛИКАНСКИЙ РЕФЕРЕНДУМ
2 июня в формате онлайн состоялась дискуссия с участием Омбудсмена и участников Национального превентивного механизма в связи с конституционными поправками, выносимыми на республиканский референдум. Он пройдёт 5 июня 2022 года. Участники встречи обменялись мнениями по предлагаемым поправкам и предстоящей законотворческой работе по их реализации. Напомним, что принятие поправок в Конституцию повлечёт внесение изменений в действующие законы и принятие новых трёх конституционных законов - о Конституционном суде, прокуратуре и Уполномоченном по правам человека.
В ходе обсуждения правозащитники озвучили рекомендации по обеспечению эффективности предстоящего законотворческого процесса, широком обсуждении проектов законов, которые будут разработаны в реализацию конституционных поправок. Правозащитники обозначили основные моменты, на которые должны обратить внимание разработчики проектов законов, чтобы не допустить превышение полномочий со стороны государственных органов при реализации новых конституционных механизмов.
Участники встречи обменялись мнениями относительно принятого второго плана Правительства о дальнейших мерах в области прав человека и верховенства закона. Правозащитники предложили алгоритм действий, усиливающий новый механизм защиты конституционных прав и свобод граждан и выразили готовность участвовать в его разработке и обсуждении.
#ОмбудсменKZ#ПраваЧеловека#NPM#НПМ