TGTGInsightтелеграм анализLIVE / telegram public index
← Такты, стеки, два колеса

TGINSIGHT SIMILAR POSTS

Намери подобно съдържание

Изходен канал @clockstackwheels · Post #227 · 20.02

Допустим, вы разработчик, и вам от пользователя приходит строка user-agent с описанием того, каким браузером он пользуется. В этой строке будет что-то типа такого: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36 И вы хотите из неё узнать мажорную версию Chrome, то есть вытащить число 51. Что вы сделаете? Можно, конечно, написать свой парсер, но я уверен, многие воспользуются регулярными выражениями. Я бы воспользовался. Какое выражение сюда подходит? С виду кажется, что вот такое: /Chrome\/(\d\d)\./g Мы ищем слово Chrome и слэш, затем ловим в группу две цифры, после которых стоит точка. Так? По крайней мере, мышление достаточного количества разработчиков именно таково. Зачастую программистам не хватает умения отойти от техзадания на уровень вещественной сути того, с чем они работают. На самом деле число 51 это версия. Версия будет увеличиваться со временем. «Марти, где твоё четырёхмерное воображение?» Если уже прошло 50 версий, то и следующие 50 не за горами, число станет трёхзначным, регулярка или парсер, сделанные под двухзначные числа, перестанут работать. Трехзначная версия Chrome и Firefox приближается уже сейчас. И да, в них падает куча функций на сайтах, включая крупные корпорации: Yahoo, Bethesda, HBO и бог знает сколько сайтов поменьше. Чисто из-за цифры. Это уже назвали «Проблема сотой версии» по аналогии с «Проблемой 2000 года» (программисты записывали год двумя цифрами, 2000 стал неотличим от 1900). К чему это я? Полезно задумываться о физическом воплощении того, что вы представляете в своей программе. Ваш код должен описывать не столько требования заказчика, сколько законы, по которым существует этот объект в реальном мире. #dev

Hashtags

Резултати

Намерени 79 подобни публикации

Търсене: #congratulations

当前筛选 #congratulations清除筛选
EKOLOG.UZ| ENG

@ekologuzenglish · Post #11802 · 05.03.2026 г., 15:04

#Congratulations 🧡 Nargis Kosimova, Director of the “Ekolog” Public Association, has been awarded the “Mo‘tabar Ayol” badge In accordance with the Decree of the President of the Republic of Uzbekistan dated February 2, 2018, No. PF-5325, “On measures to fundamentally improve activities in the field of supporting women and strengthening the family institution,” the “Mo‘tabar Ayol” badge was established. This award is given to women who have shown activity and initiative in public and state life, contributed through their effective work to the stability and prosperity of families, the protection of motherhood and childhood, and have set an exemplary example in raising healthy and well-rounded generations in the spirit of patriotism and loyalty to the ideals of independence, promoting moral and ethical values locally, and broadly spreading national values. The “Mo‘tabar Ayol” badge is presented by the Women’s Committee of Uzbekistan on the eve of International Women’s Day, March 8. 🌿 The team of the “Ekolog” Public Association sincerely congratulates Nargis Kosimova on receiving this prestigious award! ☘️Read the latest environmental news on the @ekologuz page. Follow us and send your suggestions and wishes via @eklguz_bot Instagram | Facebook | Twitter | Sayt | Youtube.

VISION11

@vision11official · Post #903 · 08.10.2022 г., 09:44

#Congratulations🥳 "Nikhil" for your amazing kabaddi skills and to be the luckiest winner of our coin-toss representative.🥳 Keep going, abhi to leaderboard baki hai😜 . . . Download App👇 https://vision11.in/APK/vision11.apk

Ethio-Djibouti Railway S.C.

@ethiodjiboutirailway · Post #1360 · 25.01.2024 г., 05:06

Congratulations to the fourteen train driver trainees who have successfully completed their training! January 24, 2024(EDR); During their one year training period, the trainees have successfully finished their theoretical and practical training. That provided by the Ethiopian-Djibouti Railway Capacity Building program’s fourth round. Today, they took their Ministry of Transport and Logistics qualification exam, and now one step closer to obtaining their licenses and starting their careers as train drivers. We are incredibly proud of their hard work and commitment, and we wish them all the best in their future endeavors! #EthiopiaDjiboutiRailway#EthiopiajiboutiRailwayfamily#CapacityBuilding #TrainDriverTraining#Congratulations

VISION11

@vision11official · Post #1008 · 19.12.2022 г., 09:48

The D-Day on #vision11 is here! 🏆 Here are our top 3 winners for #PKL2022 Leaderboard contest!🎖 #Congratulations to all of you!🎉 Aap bhi ho sakte ho agle winner, abhi #vision11 download karo aur khelo 100+ contests to win big!💯 . . . Download App👇 https://vision11.in/APK/vision11.apk

Matbuot va ommaviy axborot vositalari xodimlari kuni muborak boʻlsin! Hurmatli ommaviy axborot vositalari xodimlari, sizlarni "27-iyun – Matbuot va ommaviy axborot vositalari xodimlari kuni” munosabati bilan tabriklaymiz. Ushbu quvonchli ayyomda barchangizga sihat-salomatlik, sharafli faoliyatingizda yangi yutuq va omadlar, xonadoningizga tinchlik va fayzu baraka tilaymiz. Kasb bayramingiz muborak boʻlsin! Hurmat bilan, “Yangi Oʻzbekiston” universiteti jamoasi 🔁English ➖➖➖➖➖➖➖➖➖➖➖➖➖➖ #Press#congratulations#Tabrik ⬇️Biz ijtimoiy tarmoqlarda: Veb-sayt | Telegram | Instagram | Facebook

123•••67
ПредишнаСтр. 1 от 7Следваща