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

TGINSIGHT SIMILAR POSTS

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

Изходен канал @clockstackwheels · Post #266 · 21.03

Много лет назад я делал игру ВКонтакте про домики. Одно общее изометрическое поле, где у каждого свой участок, на котором можно строить дом, выбирать его размеры, материалы, форму окон и крыши. И обставлять мебелью. Поле было квадратным 100 на 100, соответственно у каждого квартала был номер по одной оси X от 0 до 99 и по другой Y от 0 до 99. По какой-то причине мне тогда нужно было сохранить это в одном числе как идентификатор квартала, и я подумал, что изобрёл гениальный способ: A = X*100 + Y. Извлечь обратно тоже было легко: поделить A на 100 и округлить вниз, это получался X. А потом Y = A - X*100. Например, квартал с координатами 13-29, собственно, так и записывался: 1329. Важно, что это математические операции, а не строковые. Они и сами по себе быстрее выполняются программой, и позволяют, например, удобно отсортировать участки. Я считал себя очень умным, не зная тогда, что по сути изобрёл системы исчисления, и вообще подобный подход очень банален и прост. Мы куда чаще видим это в битовых масках, потому что и сама задача для двузначных свойств возникает чаще, и компьютер существенно быстрее работает с битами, но от того, какая там база системы исчисления, математический смысл не меняется. Если тебе надо записать в одно число несколько свойств, каждое из которых может быть в N значениях, то в это число должно влезать N*N*N... сколько там у тебя этих свойств. Ты пишешь первое свойство n1, потом прибавляешь n2*N, потом n3*N*N и так далее. Величины существуют в разных разрядах N-ричной системы исчисления, поэтому не пересекаются, и их можно разделить. Игра, кстати, поначалу хорошо набирала пользователей, а потом перестала. Я думал, что она не интересная, и закрыл проект. А сильно позже уже выяснилось, что был баг в коде регистрации игрока, из-за чего новые приходить не смогли начиная с какого-то момента. В том самом коде, который извлекал координаты квартала из его идентификатора, да. #dev

Hashtags

Резултати

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

Търсене: #groups

当前筛选 #groups清除筛选
The Telegram Times

@TheTGTimes · Post #272 · 14.02.2024 г., 14:06

📰Group Appearance Settings Upgrading your group will unlock new features for the group: - Color and Profile Logo - Group Status Emoji - Group Theme and Wallpaper - Group Emoji Pack #Boost | #Groups 👉The TG Times

The Telegram Times

@TheTGTimes · Post #264 · 13.02.2024 г., 10:22

📰Group Custom Emoji Pack Group Admins can set a Custom Emoji Pack for the group. All members can use emojis from this pack in the group, even without ⭐️ Premium subscription. #Boost | #Groups 👉The TG Times

The Telegram Times

@TheTGTimes · Post #262 · 13.02.2024 г., 10:14

📰Boost to send messages in the group Group admins can choose how many boosts a user must give to the group to bypass restrictions on sending messages. #Boost | #Groups 👉The TG Times

The Telegram Times

@TheTGTimes · Post #248 · 31.01.2024 г., 08:45

📰Boosting Groups Changes in the configuration of Telegram for macOS show that it will be possible to boost groups. After upgrading groups, the ability to set the background for the group, choose the status emoji and choose the emoji pack for the group will be added. It seems that just as in groups, the special sticker pack for that group can be set, it will also be possible to choose the emoji pack. Thanks to @tgcrawl #Boost | #Groups 👉The TG Times

TGBlogLeaks

@TGBlogLeaks · Post #350 · 31.01.2024 г., 09:03

📰Boosting Groups Changes in the configuration of Telegram for macOS show that it will be possible to boost groups. After upgrading grouos, the ability to set the background for the group, choose the status emoji and choose the emoji pack for the group will be added. It seems that just as in groups, the special sticker pack for that group can be set, it will also be possible to choose the emoji pack. Thanks to @tgcrawl #Boost | #Groups 👉The TG Times

iDubTG

@idubtg · Post #501 · 31.01.2024 г., 11:21

📰Boosting Groups Changes in the configuration of Telegram for macOS show that it will be possible to boost groups. After upgrading grouos, the ability to set the background for the group, choose the status emoji and choose the emoji pack for the group will be added. It seems that just as in groups, the special sticker pack for that group can be set, it will also be possible to choose the emoji pack. Thanks to @tgcrawl #Boost | #Groups 👉The TG Times

BotsGram®

@botsgram_cu · Post #3776 · 04.04.2021 г., 11:12

@TheNexasMusic_bot Qué puede hacer este bot? Con este bot puedes reproducir música nn grupos de telegram a través del chat de voz! Idioma: Inglés (visto en @BotsGram_cu) #groups, #music

BotsGram®

@botsgram_cu · Post #3774 · 04.04.2021 г., 01:31

@Gramaphone_voice_bot Qué puede hacer este bot? Con este bot puedes reproducir música nn grupos de telegram a través del chat de voz! Idioma: Inglés (visto en @BotsGram_cu) #groups, #music

BotsGram®

@botsgram_cu · Post #3712 · 24.03.2021 г., 11:04

@MultiForwardBot Qué puede hacer este bot? Este bot reenvía mensajes y medios de tu canal a grupos ilimitados de telegram! Idioma: Inglés, Italiano, Español (visto en @BotsGram_cu) #channel, #groups

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