آیا ابزار های posixی اولیه، به شکل موازی اجرا میشن؟
https://newbedev.com/are-basic-posix-utilities-parallelized
(جواب اینه که اکثرا نه، باقی هم به شکل دیفالت نه)
https://newbedev.com/are-basic-posix-utilities-parallelized
(جواب اینه که اکثرا نه، باقی هم به شکل دیفالت نه)
NewbeDEV
Are basic POSIX utilities parallelized? | Newbedev
You can get a first impression by checking whether the utility is linked with the pthread library. Any dynamically linked program that uses OS threads should us
دستورات bash به شکل sequential اجرا میشن، حالا چی میشه اگه بخوایم به ازای هر خط یک ورودی (مثلا خروجی دستور قبلی) یک ترد جدید بسازیم و اونجا اجرا کنیم؟
مثلا فکر کنید میخوایم ۱۰۰ تا عملیات mv انجام بدیم. اگه توی for بنویسیم باید اولی تموم بشه تا دومی شروع بشه.
اما با کمک gnu parallel میتونیم این کارو به شکل parallel انجام بدیم.
https://opensource.com/article/18/5/gnu-parallel
مثلا فکر کنید میخوایم ۱۰۰ تا عملیات mv انجام بدیم. اگه توی for بنویسیم باید اولی تموم بشه تا دومی شروع بشه.
اما با کمک gnu parallel میتونیم این کارو به شکل parallel انجام بدیم.
https://opensource.com/article/18/5/gnu-parallel
Opensource.com
Get more done at the Linux command line with GNU Parallel
Do you ever get the funny feeling that your computer isn't quite as fast as it should be? I used to feel that way, and then I found GNU Parallel.
نوشتههای ترمینالی
دستورات bash به شکل sequential اجرا میشن، حالا چی میشه اگه بخوایم به ازای هر خط یک ورودی (مثلا خروجی دستور قبلی) یک ترد جدید بسازیم و اونجا اجرا کنیم؟ مثلا فکر کنید میخوایم ۱۰۰ تا عملیات mv انجام بدیم. اگه توی for بنویسیم باید اولی تموم بشه تا دومی شروع بشه.…
اینجا هم کلی مثال ازش هست.
https://www.gnu.org/software/parallel/man.html#EXAMPLES
https://www.gnu.org/software/parallel/man.html#EXAMPLES
پایپها در لینوکس چطوری کار میکنن + نمونه کد سی برای پایپ
https://www.idc-online.com/technical_references/pdfs/information_technology/How_Linux_pipes_work_under_the_hood.pdf
https://www.idc-online.com/technical_references/pdfs/information_technology/How_Linux_pipes_work_under_the_hood.pdf
dont communicate with sharing memory, share memory by communicating
https://blog.golang.org/codelab-share
https://blog.golang.org/codelab-share
blog.golang.org
Share Memory By Communicating - The Go Blog
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
در گو، با کمک -race میتونین از go runtime بخواین بررسی کنه خونهای از مموری همزمان خونده/نوشته میشه یا نه و اینطوری کمک میکنه مشکلات race condition رو پیدا کنین.
یه نمونه مثال همراه با unit test مناسب
https://medium.com/dm03514-tech-blog/golang-introduction-to-race-conditions-for-the-web-engineer-738513ab2ec2
یه نمونه مثال همراه با unit test مناسب
https://medium.com/dm03514-tech-blog/golang-introduction-to-race-conditions-for-the-web-engineer-738513ab2ec2
Medium
Golang: Introduction to Race Conditions for the Web Engineer
Go provides a first-class primitive for concurrency called a Goroutine. Goroutines allow end users to easily spawn concurrent tasks and…
تفاوت simple و easy در نرمافزار و اینکه چرا simple بهتره؟
https://www.infoq.com/presentations/Simple-Made-Easy/
همچنین جوابی باشه به اونایی که میگن چرا keep it simple stupid هست اما نمی تونیم آسون نصبش کنیم.
https://www.infoq.com/presentations/Simple-Made-Easy/
همچنین جوابی باشه به اونایی که میگن چرا keep it simple stupid هست اما نمی تونیم آسون نصبش کنیم.
InfoQ
Simple Made Easy
Rich Hickey emphasizes simplicity’s virtues over easiness’, showing that while many choose easiness they may end up with complexity, and the better way is to choose easiness along the simplicity path.
پوشه های ویم
مثلاً پلاگین ها، فایل های spell و غیره
https://vim.fandom.com/wiki/Understanding_VIMRUNTIME
مثلاً پلاگین ها، فایل های spell و غیره
https://vim.fandom.com/wiki/Understanding_VIMRUNTIME
Vim Tips Wiki
Understanding VIMRUNTIME | Vim Tips Wiki | Fandom
$VIMRUNTIME identifes a directory where Vim's support files are located. Many of the files are not necessary for Vim to run, but are used to provide extra functionality such as syntax highlighting...
Object oriented programs are offered as alternatives to correct ones…
— Edsger W. Dijkstra, pioneer of computer science
C++ is a horrible [object-oriented] language… And limiting your project to C means that people don’t screw things up with any idiotic “object model” c&@p.
— Linus Torvalds, the creator of Linux
I think the lack of reusability comes in object-oriented languages, not in functional languages. Because the problem with object-oriented languages is they’ve got all this implicit environment that they carry around with them. You wanted a banana but what you got was a gorilla holding the banana and the entire jungle.
— Joe Armstrong, creator of Erlang
https://betterprogramming.pub/object-oriented-programming-the-trillion-dollar-disaster-92a4b666c7c7
— Edsger W. Dijkstra, pioneer of computer science
C++ is a horrible [object-oriented] language… And limiting your project to C means that people don’t screw things up with any idiotic “object model” c&@p.
— Linus Torvalds, the creator of Linux
I think the lack of reusability comes in object-oriented languages, not in functional languages. Because the problem with object-oriented languages is they’ve got all this implicit environment that they carry around with them. You wanted a banana but what you got was a gorilla holding the banana and the entire jungle.
— Joe Armstrong, creator of Erlang
https://betterprogramming.pub/object-oriented-programming-the-trillion-dollar-disaster-92a4b666c7c7
Medium
Object-Oriented Programming — The Trillion Dollar Disaster
OOP is considered by many to be the crown jewel of computer science. The final solution to code organization. The end to all of our…
Forwarded from Geeky Career (Mohammad Moallemi)
#software #devops #sre #deployment
Difference between Alpha and Beta Testing
Alpha Testing is a type of software testing performed to identify bugs before releasing the product to real users or to the public. Alpha Testing is one of the user acceptance testing.
Beta Testing is performed by real users of the software application in a real environment. Beta testing is one of the type of User Acceptance Testing.
@Geeky_Career
Difference between Alpha and Beta Testing
Alpha Testing is a type of software testing performed to identify bugs before releasing the product to real users or to the public. Alpha Testing is one of the user acceptance testing.
Beta Testing is performed by real users of the software application in a real environment. Beta testing is one of the type of User Acceptance Testing.
@Geeky_Career
درمورد منطق vi پاسخ جالبی یافتم!
https://stackoverflow.com/questions/1218390/what-is-your-most-productive-shortcut-with-vim/1220118#1220118
https://stackoverflow.com/questions/1218390/what-is-your-most-productive-shortcut-with-vim/1220118#1220118
Stack Overflow
What is your most productive shortcut with Vim?
I've heard a lot about Vim, both pros and cons.
It really seems you should be (as a developer) faster with Vim than with any other editor.
I'm using Vim to do some basic stuff and I'm at best 10 ti...
It really seems you should be (as a developer) faster with Vim than with any other editor.
I'm using Vim to do some basic stuff and I'm at best 10 ti...
مطلب پیشنهادی برای کانال دادن:
حالت incognito برای ترمینال، برای ذخیره نکردن موقت در تاریخچه
https://askubuntu.com/questions/625277/terminal-incognito-mode
حالت incognito برای ترمینال، برای ذخیره نکردن موقت در تاریخچه
https://askubuntu.com/questions/625277/terminal-incognito-mode
Ask Ubuntu
Terminal 'incognito mode'?
I use Terminal a lot, and sometimes I am running commands, which aren't things I don't want others to see, but more commands that if I accidentally arrowed up to and accidentally executed would cau...
مقایسه زبان های برنامه نویسی مختلف
با دید عملی و البته functional
https://betterprogramming.pub/modern-languages-suck-ad21cbc8a57c
با دید عملی و البته functional
https://betterprogramming.pub/modern-languages-suck-ad21cbc8a57c
Medium
These Modern Programming Languages Will Make You Suffer
Welcome to the ultimate rating of modern programming languages
چرا vector در cpp این اسم رو داره؟
https://stackoverflow.com/questions/581426/why-is-a-c-vector-called-a-vector
https://stackoverflow.com/questions/581426/why-is-a-c-vector-called-a-vector
چگونه همه چیز را شبیه سازی کنم؟
در مورد turing machineها و انواعشون! به نظرم یه فصل کتاب نظریه زبانه قشنگ.
https://www.amirrorclear.net/academic/ideas/simulation/index.html
در مورد turing machineها و انواعشون! به نظرم یه فصل کتاب نظریه زبانه قشنگ.
https://www.amirrorclear.net/academic/ideas/simulation/index.html
نگاهی زاویه دار (زاویه منفی) نسبت به فضای پژوهش آکادمیک
https://vrgl.ir/5EdHt
https://vrgl.ir/5EdHt
ویرگول
نگاهی به دنیای متناقضِ پژوهش آکادمیک
چند تجربه از سالیانی که در دنیای پژوهش آکادمیکجایی که قراره مرزهای علم پیش برده بشهگذروندم رو در این گفتار مینویسم برای جوانانِ آغاز…
حواستون باشه شبکه های اجتماعی چی به خوردتون میدن (حتما بخونید)
https://vrgl.ir/B117x
https://vrgl.ir/B117x
ویرگول
در شبکههای اجتماعی چه ببینیم: خودتان انتخاب کنید؛ نگذارید شبکه انتخاب کند
این نوشته پیشتر به شکل رشته توییت نوشته شده بوده و سپس در ویرگول رونوشت شدهاین که در timeline توییترتون چی ببینید دو گونه داره و شما حق…