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

Резултати

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

Търсене: #tik

当前筛选 #tik清除筛选
PT风向旗

@Ptfxq · Post #354 · 22.09.2022 г., 00:01

#Cinematik#TIK#站免 Autumn 2022 Freeleech! Once again Fall has set in and we'll have our traditional 7-day Freeleech. All torrents on site will be completely free to download until about 11PM CET on September 28. As usual, no uploading will be possible for the duration of the event, so take advantage and get rid of your bookmarks. Hopefully you may also revive some dead torrents. Beware: Don't forget to seed back everything you download to a 1:1 ratio, or for an absolute minimum time of 3 days - even spread over a week time. Hit-and-run behavior during freeleech entails from a several week warning to a final ban. Enjoy! With love from Staff

PT风向旗

@Ptfxq · Post #875 · 23.03.2025 г., 05:59

#Cinematik#TiK#站点免费 TiK 站免至 2025-03-31 23:59 (UTC) There it is, folks! It's time to celebrate Cinematik's birthday again. Your favorite tracker is now 19 years old, which is quite an amazing accomplishment! The festivities will start shortly, entailing a site-wide Freeleech that shall end at 23:59 (UTC) on 2025-03-31. In other words, the entire site will be in Golden mode for the duration of the event (9 days overall). We want to take this opportunity to extend our gratitude to everyone who has been and still is a part of this unique community. In particular, we are all very grateful to our wonderful uploaders, internals, and staffers, who volunteer their time and resources and work relentlessly towards keeping TiK as relevant and as strong as ever. And a special thank you to herrmann for creating this year's very colorful birthday banner!

PT风向旗

@Ptfxq · Post #556 · 27.01.2024 г., 07:02

#Cinematik#TIK#站点维护 We first must apologize for this sudden announcement and the short window of execution. The relaxed en-devour of moving our beloved Cinematik.net to a new server has been blocked by software incompatibility issues. This and the inability to stay on our current server (expires at the end of this month) has forced our new destiny earlier than planned. Ready or not we must embrace the newer UNIT3D code-base in its entirety and call it our new home. On Saturday the 27th 8pm GMT time our current server will go offline and the login screen will be replaced by the site landing page with the current status. Effective immediately new uploads are disabled and the approval thread locked to help negate further modifications to the server data. Please visit this thread for any further discussion. We hope you can join us in keeping a positive attitude going into our new home and allow it any benefit of doubt and time for you to get acquainted. Our new home should be ready by the 2nd of February

12
ПредишнаСтр. 1 от 2Следваща