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

Резултати

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

Търсене: #transfer

当前筛选 #transfer清除筛选
Libreware

@libreware · Post #1357 · 10.11.2024 г., 16:45

Warpinator for Android is an unofficial port of Linux Mint's file sharing tool of the same name. It is fully compatible with the original protocol and allows for easy transfer of files between Android and Linux devices. Features: - Automatic discovery of compatible services on local network - Works on WiFi or hotspot, no internet connection needed - Transfer any type of files quickly and easily - Receive entire directories - Run multiple transfers in parallel - Share files from other applications - Limit who can connect using a group code - Option to start on boot - Does not require your location or any other unnecessary permissions Android https://github.com/slowscript/warpinator-android https://f-droid.org/packages/slowscript.warpinator/ Linux https://github.com/linuxmint/warpinator Windows https://winpinator.swisz.cz https://github.com/slowscript/warpinator-windows #share#transfer

Libreware

@libreware · Post #1354 · 09.11.2024 г., 13:56

LocalSend free, open-source multiplatform app that allows you to securely share files and messages with nearby devices over your local network without needing an internet connection. https://github.com/localsend/localsend #share#transfer

Libreware

@libreware · Post #1353 · 09.11.2024 г., 13:04

FlyingCarpet Cross-platform AirDrop. File transfer between Android, iOS, Linux, macOS, and Windows over ad hoc WiFi. No network infrastructure required, just two devices with WiFi chips in close range. https://github.com/spieglt/FlyingCarpet #transfer#share

Libreware

@libreware · Post #1076 · 02.05.2022 г., 02:23

Sharik Share files across devices with Sharik! The app works with a Wi-Fi connection or a Wi-Fi Hotspot. No internet connection is needed. It is available for Android, iOS, Windows, Mac, and Linux. Download - https://github.com/marchellodev/sharik/releases Source - https://github.com/marchellodev/sharik/ @foss_Android #share#transfer

Libreware

@libreware · Post #961 · 30.06.2021 г., 11:55

Now KDE Connect can hook up your Windows machine as well! KDE Community @ https://www.twitter.com/kdecommunity/status/1409808049116700673/ The Windows version of KDE Connect gets official support and you can get the beta version right now from the Microsoft Store. Exclusive link-only access: https://microsoft.com/store/apps/9N93MRMSXBF0 https://kdeconnect.kde.org https://f-droid.org/repo/org.kde.kdeconnect_tp #kdeconnect#transfer#windows

Libreware

@libreware · Post #988 · 17.10.2021 г., 01:00

tFileTransporter Transfer apps, images and files to Android Devices and PCs Use UDP Broadcast or WiFi P2P create connections, Use TCP protocol to transfer files. This program builds with RxJava and Kotlin Coroutines. Android: https://github.com/Tans5/tFileTransporter F-droid (Izzy repo): https://f-droid.org/packages/com.tans.tfiletransporter/ Play Store: https://play.google.com/store/apps/details?id=com.tans.tfiletransporter Desktop: https://github.com/Tans5/tFileTransfer_desktop #tFileTransporter#transfer#share

纯情男高

@hanzichen · Post #1469 · 27.12.2025 г., 23:58

Warpdrop Warpdrop is a privacy-first, peer-to-peer file sharing tool that allows users to securely transfer files directly between terminals and browsers with ephemeral links, powerful NAT traversal, and complete self-hosting control. 🔗 Links: - Website - Features - Screenshots - Support group - Source code Developer: Mohd Zaid ❤️ Support the Project If this project makes your life easier, here are a few quick ways to show some love: ⭐ Star the repo/app ☕ Buy a coffee for the developer 🛠 Contribute code, issues, or pull-requests 🏷 Tags: #Website#P2P#Tools#Transfer

Libreware

@libreware · Post #1221 · 11.02.2024 г., 23:51

. KDE Connect is an app that makes it easy to connect your DeGoogled phone and/or Linux Phone to your Linux laptop using your phone's hot spot, or any network. KDE Connect can do these things: - Share files - Share clipboard - Control Slideshows w/phone - Send/Receive texts on laptop (Using KDE Connect Taskbar Indicator) - Control laptop media player - Move laptop mouse pointer 1. Install KDE Connect on phone Use KDEConnect on F-Droid 2. Install on laptop For Debian based distros: sudo apt install kdeconnect On your laptop firewall, make sure you open ports that KDE Connect uses. To do this, open up terminal and enter these commands: sudo ufw allow 1714:1764/udp sudo ufw allow 1714:1764/tcp sudo ufw reload 3. Connect both devices - Connect both to the same network - Open app on both devices - Find and pair devices ⚡️@LinuxTechIndex #KDEConnect#transfer#Files#share

Libreware

@libreware · Post #1003 · 27.10.2021 г., 01:09

Croc Easily and securely send things from one computer to another Features - allows any two computers to transfer data (using a relay) - provides end-to-end encryption (using PAKE) - enables easy cross-platform transfers (Windows, Linux, Mac, Android) - allows multiple file transfers - local server or port-forwarding not needed - ipv6-first with ipv4 fallback https://github.com/schollz/croc https://f-droid.org/en/packages/com.github.howeyc.crocgui/ 📡@NoGoolag📡@Libreware #croc#transfer#send#share

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