A #blockchain implementation in 200 lines of code
1- https://medium.com/@lhartikk/a-blockchain-in-200-lines-of-code-963cc1cc0e54
2- https://github.com/lhartikk/naivechain
1- https://medium.com/@lhartikk/a-blockchain-in-200-lines-of-code-963cc1cc0e54
2- https://github.com/lhartikk/naivechain
Medium
A blockchain in 200 lines of code
The basic concept of blockchain is quite simple: a distributed database that maintains a continuously growing list of ordered records…
distributed LRU cache
— example: caching immutable file blobs for dl.google.com
— https://github.com/golang/groupcache
— https://capotej.com/blog/2013/07/28/playing-with-groupcache/
— example: caching immutable file blobs for dl.google.com
— https://github.com/golang/groupcache
— https://capotej.com/blog/2013/07/28/playing-with-groupcache/
GitHub
GitHub - golang/groupcache: groupcache is a caching and cache-filling library, intended as a replacement for memcached in many…
groupcache is a caching and cache-filling library, intended as a replacement for memcached in many cases. - golang/groupcache
Web_programming
https://instagram-engineering.com/sharding-ids-at-instagram-1cf5a71e5a5c
#WeChat
از روش زیر برای ایجاد
#sequence
استفاده می کند
https://translate.google.com/translate?hl=&sl=auto&tl=en&u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzI4NDMyNTU2Mw%3D%3D%26mid%3D2247483679%26idx%3D1%26sn%3D584dbd80aa08fa1188627ad725680928%26mpshare%3D1%26scene%3D1%26srcid%3D1208L9z4yXKLW60rPph2ZmMn%23rd
از روش زیر برای ایجاد
#sequence
استفاده می کند
https://translate.google.com/translate?hl=&sl=auto&tl=en&u=https%3A%2F%2Fmp.weixin.qq.com%2Fs%3F__biz%3DMzI4NDMyNTU2Mw%3D%3D%26mid%3D2247483679%26idx%3D1%26sn%3D584dbd80aa08fa1188627ad725680928%26mpshare%3D1%26scene%3D1%26srcid%3D1208L9z4yXKLW60rPph2ZmMn%23rd
چرا تولید sequence مهم است؟
۱- بهبود کارایی برخی از queryها
۲- partitioning و sharding
۱- بهبود کارایی برخی از queryها
۲- partitioning و sharding
چگونه تعداد خطوط یک پروژه در یک پوشه را شمارش کنیم
find . -name '*.js' | xargs wc -l
به جای پسوند js میتوانید زبان پروژه خود را قرار دهید (go-java-,...)
#line_of_code #calc_line #loc
find . -name '*.js' | xargs wc -l
به جای پسوند js میتوانید زبان پروژه خود را قرار دهید (go-java-,...)
#line_of_code #calc_line #loc
Web_programming
https://blog.klauspost.com/fast-stream-deduplication-in-go/ #stream #deduplication
توجه کنید که deduplication میتواند سخت افزاری و یا مانند بالا نرم افزاری پیاده سازی شود
حملاتی که به عنوان یک توسعه دهنده وب باید با آنها آشنا باشید
known attacks
— Known-Plaintext Attacks
— Chosen-Plaintext Attacks
— Chosen-Ciphertext Attacks
— Replay attacks
— Man-in-the-middle attacks
— hash-collision attacks
— Length extension attacks
known attacks
— Known-Plaintext Attacks
— Chosen-Plaintext Attacks
— Chosen-Ciphertext Attacks
— Replay attacks
— Man-in-the-middle attacks
— hash-collision attacks
— Length extension attacks
the known-plaintext attack (KPA) is an attack model for cryptanalysis where the attacker has samples of both the plaintext, and its encrypted version (ciphertext).