در قسمت پنجم از آموزش GO به بررسی ساختمان داده آرایه و کار با آن پرداختیم. ابتدا شیوه تعریف و مقداردهی آرایه ها را ببرسی کردم. سپس مفهوم Copy Value در کار با آرایه ها در گو را شرح و با پایتون مقایسه کردیم. در گو میتوان آرایه را به شرطی که از یک تایپ باشند با هم مقایسه و ارزیابی کرد. در زبان گو برای حلقههای تکرار صرفا یک دستور for با حالت های مختلف داریم که تعریف انواع مختلف حلفهها را ساده کرده است و مشخصا برای پیمایش آرایهها از حالت for range استفاده میکنیم. در نهایت با یک مثال ساده ساخت آرایه چند بعدی را نیز بررسی کردیم.
در قسمت پنجم از آموزش GO به بررسی ساختمان داده آرایه و کار با آن پرداختیم. ابتدا شیوه تعریف و مقداردهی آرایه ها را ببرسی کردم. سپس مفهوم Copy Value در کار با آرایه ها در گو را شرح و با پایتون مقایسه کردیم. در گو میتوان آرایه را به شرطی که از یک تایپ باشند با هم مقایسه و ارزیابی کرد. در زبان گو برای حلقههای تکرار صرفا یک دستور for با حالت های مختلف داریم که تعریف انواع مختلف حلفهها را ساده کرده است و مشخصا برای پیمایش آرایهها از حالت for range استفاده میکنیم. در نهایت با یک مثال ساده ساخت آرایه چند بعدی را نیز بررسی کردیم.
Telegram’s stand out feature is its encryption scheme that keeps messages and media secure in transit. The scheme is known as MTProto and is based on 256-bit AES encryption, RSA encryption, and Diffie-Hellman key exchange. The result of this complicated and technical-sounding jargon? A messaging service that claims to keep your data safe.Why do we say claims? When dealing with security, you always want to leave room for scrutiny, and a few cryptography experts have criticized the system. Overall, any level of encryption is better than none, but a level of discretion should always be observed with any online connected system, even Telegram.
Telegram auto-delete message, expiring invites, and more
elegram is updating its messaging app with options for auto-deleting messages, expiring invite links, and new unlimited groups, the company shared in a blog post. Much like Signal, Telegram received a burst of new users in the confusion over WhatsApp’s privacy policy and now the company is adopting features that were already part of its competitors’ apps, features which offer more security and privacy. Auto-deleting messages were already possible in Telegram’s encrypted Secret Chats, but this new update for iOS and Android adds the option to make messages disappear in any kind of chat. Auto-delete can be enabled inside of chats, and set to delete either 24 hours or seven days after messages are sent. Auto-delete won’t remove every message though; if a message was sent before the feature was turned on, it’ll stick around. Telegram’s competitors have had similar features: WhatsApp introduced a feature in 2020 and Signal has had disappearing messages since at least 2016.