چرا cpp بلوک فاینالی نداره و کلی سوال و جواب جالب دیگه از سازنده زبان
https://www.stroustrup.com/bs_faq2.html#finally
https://www.stroustrup.com/bs_faq2.html#finally
قواعد کدنویسی cpp از زبان خالق زبان
https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md
https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md
GitHub
CppCoreGuidelines/CppCoreGuidelines.md at master · isocpp/CppCoreGuidelines
The C++ Core Guidelines are a set of tried-and-true guidelines, rules, and best practices about coding in C++ - isocpp/CppCoreGuidelines
Forwarded from آرچ لینوکس پارسی
برای دیدن فایلهای man به صورت رنگ بندی شده میتوانید از برنامه bat استفاده کنید. برای اینکار بعد از نصب بسته
export MANPAGER="sh -c 'col -bx | bat -l man -p'"
bat
خط زیر را به فایل تنظیمات شل پیش فرض خود (bashrc و غیره) اضافه کنید:export MANPAGER="sh -c 'col -bx | bat -l man -p'"
موتیکس یا دستور اتمیک؟
https://jvns.ca/blog/2014/12/14/fun-with-threads/
https://jvns.ca/blog/2014/12/14/fun-with-threads/
Julia Evans
Diving into concurrency: trying out mutexes and atomics
I hadn’t written any threaded programs before yesterday. I knew sort of abstractly about some concurrency concepts (mutexes! people say compare-and-swap but I don’t totally get it!), but actually understanding a Thing is hard if I’ve never done it. So yesterday…
برای اینکه برنامهنویس خوبی بشید، یاد بگیرید چیزها چطور کار میکنن.
https://jvns.ca/blog/learn-how-things-work/
https://jvns.ca/blog/learn-how-things-work/
Julia Evans
Get better at programming by learning how things work
When we talk about getting better at programming, we often talk about testing, writing reusable code, design patterns, and readability.
کارنامه فعالیت من در ویرگول در سال ۱۳۹۹
نکته جالب اینکه جزو ۴ درصد فعال ترین نویسندگان بودم.
https://virgool.io/@rsharifnasab/share/annual-report/1399/cizitmbr6beh-aLEWz
نکته جالب اینکه جزو ۴ درصد فعال ترین نویسندگان بودم.
https://virgool.io/@rsharifnasab/share/annual-report/1399/cizitmbr6beh-aLEWz
ویرگول
آمار مطالعه مطالب roozbeh Sharifnasab در سال ۹۹
میزان بازدید و مطالعه مطالب منتشر شدهی roozbeh Sharifnasab در ویرگول
منطق کد رو به شکل json بنویسید و بتونید راحت بین فرانت و بکاند بفرستیدش! حتی به شکل داده توی دیتابیس ذحیرهش کنید!
https://jsonlogic.com/
https://jsonlogic.com/
Jsonlogic
JsonLogic
Build complex rules, serialize them as JSON, share them between front-end and back-end
گویا curl ifconfig.me دیگه برای پیدا کردن آیپی خودمون جواب نمیده.
راههای جایگزین:
راههای جایگزین:
# still with curlhttps://www.tecmint.com/find-linux-server-public-ip-address/
curl icanhazip.com
# looong command
host myip.opendns.com resolver1.opendns.com | grep "myip.opendns.com has" | awk '{print $4}'
# with dig
dig +short myip.opendns.com @resolver1.opendns.com
4 Ways to Find Server Public IP Address in Linux Terminal
In this article, we will explain four useful ways to find out your Linux machine or server public IP address from the terminal in Linux.
راهنماییهای خوبی برای شروع برنامه نویسی rust
https://hashnode.com/post/how-to-become-a-rust-super-developer-cjpv1ee7e000buhs2aqrdw2ym
https://hashnode.com/post/how-to-become-a-rust-super-developer-cjpv1ee7e000buhs2aqrdw2ym
مقایسه interfaceهای java و trait های scala
https://public.beuth-hochschule.de/~solymosi/veroeff/objektdiagramme/Superiority.html
https://public.beuth-hochschule.de/~solymosi/veroeff/objektdiagramme/Superiority.html
تفاوت متد Safe و Idempotent در http
https://restcookbook.com/HTTP%20Methods/idempotency/
https://restcookbook.com/HTTP%20Methods/idempotency/
احراز هویت به شکل stateless (با توکن)
https://doubleoctopus.com/security-wiki/network-architecture/stateless-authentication/
https://doubleoctopus.com/security-wiki/network-architecture/stateless-authentication/
Secret Double Octopus
What is Stateless Authentication ? - Security Wiki
Token-based authentication enables users to access a service and/or fetch a specific resource, without using their username and password...