نوشته‌های ترمینالی
2.7K subscribers
425 photos
12 videos
32 files
2.26K links
Download Telegram
در صورتی که می‌خواین یه کارکتر با کد اسکی خاص وارد کنین (در ویم)
اول وارد insert mode بشین
بعد Ctrl-v رو بزنین
بعد کد سه رقمی کارکترتون رو وارد کنین. اگه ۲ رقمی یا کمتره قبلش صفر بزنین مثلا اگه بزنین ۰۶۵ میشه A
A bug in a programmer’s computer program leads him and his co-workers through an investigation down the stack to a frightening realisation about trust and reality.

https://www.teamten.com/lawrence/writings/coding-machines/
دستورات bash به شکل sequential اجرا میشن، حالا چی میشه اگه بخوایم به ازای هر خط یک ورودی (مثلا خروجی دستور قبلی) یک ترد جدید بسازیم و اونجا اجرا کنیم؟
مثلا فکر کنید میخوایم ۱۰۰ تا عملیات mv انجام بدیم. اگه توی for بنویسیم باید اولی تموم بشه تا دومی شروع بشه.
اما با کمک gnu parallel می‌تونیم این کارو به شکل parallel انجام بدیم.

https://opensource.com/article/18/5/gnu-parallel
پایپ‌ها در لینوکس چطوری کار میکنن + نمونه کد سی برای پایپ
https://www.idc-online.com/technical_references/pdfs/information_technology/How_Linux_pipes_work_under_the_hood.pdf
در گو، با کمک -race می‌تونین از go runtime بخواین بررسی کنه خونه‌ای از مموری همزمان خونده/نوشته میشه‌ یا نه و اینطوری کمک میکنه مشکلات race condition رو پیدا کنین.

یه نمونه مثال همراه با unit test مناسب
https://medium.com/dm03514-tech-blog/golang-introduction-to-race-conditions-for-the-web-engineer-738513ab2ec2
موقع سوال پرسیدن، سلام کنیم اما در خود پیام سوال!

https://dontasktoask.ir/nohello.html
تفاوت simple و easy در نرم‌افزار و اینکه چرا simple بهتره؟
https://www.infoq.com/presentations/Simple-Made-Easy/

همچنین جوابی باشه به اونایی که میگن چرا keep it simple stupid هست اما نمی تونیم آسون نصبش کنیم.
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
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