آیا اینکه یه زبان سریع کامپایل میشه، به خود زبان ربط داره یا به کامپایلرش؟
جواب اینه که به هردو
خود زبان و سینتکس و طراحیش خیلی موثره، حالا کامپایلرهای متفاوت زبان هم قطعا با هم فرق دارن اما خود زبان عملا یه محدودیت و قواعد کلیای میذاره.
این مطلب هم جالبه:
https://dev.to/mortoray/relationship-between-programming-language-and-runcompile-time-speed-7nf
جواب اینه که به هردو
خود زبان و سینتکس و طراحیش خیلی موثره، حالا کامپایلرهای متفاوت زبان هم قطعا با هم فرق دارن اما خود زبان عملا یه محدودیت و قواعد کلیای میذاره.
این مطلب هم جالبه:
https://dev.to/mortoray/relationship-between-programming-language-and-runcompile-time-speed-7nf
DEV Community
Relationship between programming language and run/compile-time speed
A quick look at how a programming language influences the compile speed and resulting resources used
این مجموعه ابزار چه چیزای خوبی داره!
مثلا vipe که میاد ادیتور پیشفرض رو توی pipe باز میکنه.
https://joeyh.name/code/moreutils/
مثلا vipe که میاد ادیتور پیشفرض رو توی pipe باز میکنه.
https://joeyh.name/code/moreutils/
درمورد decoratorهای پایتون
https://www.youtube.com/watch?v=Ag6PtBrSv-c
https://www.youtube.com/watch?v=Ag6PtBrSv-c
YouTube
سوالات پایتونی: دکوراتور چه کوفتی است؟
بالاخره یافتم!
یه برنامه قابل استفاده و خوب برای نمایش اسلاید markdown در ترمینال
https://lookatme.readthedocs.io/en/latest/
به کمک این افزونه تصویر هم نشون میده. نتیجهش هم واقعا خوبه.
https://github.com/d0c-s4vage/lookatme.contrib.image_ueberzug
یه برنامه قابل استفاده و خوب برای نمایش اسلاید markdown در ترمینال
https://lookatme.readthedocs.io/en/latest/
به کمک این افزونه تصویر هم نشون میده. نتیجهش هم واقعا خوبه.
https://github.com/d0c-s4vage/lookatme.contrib.image_ueberzug
GitHub
GitHub - d0c-s4vage/lookatme.contrib.image_ueberzug: An in-development lookatme extension that uses ueberzug and urwid_ueberzogen…
An in-development lookatme extension that uses ueberzug and urwid_ueberzogen to add image rendering support - GitHub - d0c-s4vage/lookatme.contrib.image_ueberzug: An in-development lookatme extensi...
میدونم کلا فرق دارن و کاربردها و هدفشون متفاوته، اما اگه بخواین پیشنهاد بدید، بین tmux و i3 و openbox کدوم رو اول یاد بگیرم؟ از i3 و tmux اصول خیلی اولیه رو بلدم اما استفاده نمیکنم.
درمورد فایلهای pacnew و pacsave در آرچ
https://wiki.archlinux.org/title/Pacman/Pacnew_and_Pacsave
https://wiki.archlinux.org/title/Pacman/Pacnew_and_Pacsave
خود خبر که در مورد بازی و ایناست، اما نکته جالب اینکه نرمافزار میتونه با باگش سختافزار رو از بین ببره!
https://www.lion.tech/hardware/why-did-new-world-corrupted-rtx-3090/
https://www.lion.tech/hardware/why-did-new-world-corrupted-rtx-3090/
لیون تک
بررسی پرونده خرابی کارت گرافیکهای RTX 3090 در بازی New World
در این مطلب قصد داریم پرونده بازی New World و کارت گرافیکهایی که به خاطر اجرای نسخه بتای این بازی نابود شدند را بررسی کنیم.
چرا ارثبری در شیگرایی بده و التبه چرا اونقدر هم بد نیست.
https://thevaluable.dev/guide-inheritance-oop/
https://thevaluable.dev/guide-inheritance-oop/
The Valuable Dev
Is Inheritance That Evil?
Why inheritance is considered as a pillar of OOP when so many developers criticize it? We'll see where inheritance comes from and what problems it solves.
انواع رفرنسها در جاوا
strong
weak
soft
phantom
https://dzone.com/articles/weak-soft-and-phantom-references-in-java-and-why-they-matter
strong
weak
soft
phantom
https://dzone.com/articles/weak-soft-and-phantom-references-in-java-and-why-they-matter
DZone
Weak, Soft, and Phantom References in Java (and Why They Matter)
See why weak, soft, and phantom references in Java are important, their effects on GC, memory allocation, and the best use cases for each type of reference.
Forwarded from Geeky Career
#repair #chrtoo #every_day_linux
یکی از مشکلاتی که ممکنه بهش بربخورید اینه که موقع درست کردن سیستم و دقیقا جایی که به جز یه ترمینال هیچی نداری سیستمت به اینترنت متصل نشه.
نمیتونی هیچ چیز جدیدی از package manager نصب کنی
خب در نگاه اول احتمالا فکر میکنی که بد بخت شدیو کلی درد سر و اینا ولی اصن اینجوری نیست
یک مفهوم جالب وجود داره به نام "chroot"
خلاصه بخوام بگم مخفف change root هست که باهاش میتونی تعیین کنین با روت کدوم سیستم عامل میخواین کار کنین به اون دسترسی پیدا کنین
پس کافیه یه لینوکس لایو بالا بیارین و chroot کنین به روت سیستمون که خرابه و با ui و محیط گرافیکی اون وارد اینرنت بشین و هرکار که میخواین تو ترمینالش بکنین :)
این لینک مخصوص این مشکله که مطرح شد
https://wiki.manjaro.org/index.php?title=Restore_the_GRUB_Bootloader
این لینک یکم توضیح اضافه ولی خیلی جالب در مورد کار های دیگه ای که chroot میتونه بکنه
https://tournasdimitrios1.wordpress.com/2010/12/22/explain-what-is-chroot-on-linux/
https://www.howtogeek.com/441534/how-to-use-the-chroot-command-on-linux/
#Open_Source_Community #Contribute
by: #AmirAli_3A
یکی از مشکلاتی که ممکنه بهش بربخورید اینه که موقع درست کردن سیستم و دقیقا جایی که به جز یه ترمینال هیچی نداری سیستمت به اینترنت متصل نشه.
نمیتونی هیچ چیز جدیدی از package manager نصب کنی
خب در نگاه اول احتمالا فکر میکنی که بد بخت شدیو کلی درد سر و اینا ولی اصن اینجوری نیست
یک مفهوم جالب وجود داره به نام "chroot"
خلاصه بخوام بگم مخفف change root هست که باهاش میتونی تعیین کنین با روت کدوم سیستم عامل میخواین کار کنین به اون دسترسی پیدا کنین
پس کافیه یه لینوکس لایو بالا بیارین و chroot کنین به روت سیستمون که خرابه و با ui و محیط گرافیکی اون وارد اینرنت بشین و هرکار که میخواین تو ترمینالش بکنین :)
این لینک مخصوص این مشکله که مطرح شد
https://wiki.manjaro.org/index.php?title=Restore_the_GRUB_Bootloader
این لینک یکم توضیح اضافه ولی خیلی جالب در مورد کار های دیگه ای که chroot میتونه بکنه
https://tournasdimitrios1.wordpress.com/2010/12/22/explain-what-is-chroot-on-linux/
https://www.howtogeek.com/441534/how-to-use-the-chroot-command-on-linux/
#Open_Source_Community #Contribute
by: #AmirAli_3A
Tournas Dimitrios
Explain: What is CHROOT on Linux ?
One of the mount points in a GNU/Linux system is the root mountpoint (usually referred to as ‘/’). This is the root of the entire file system and any file or directory on the machine can be referen…
نوشتن یک برنامه دسکتاپی با svelte و redis و rust
https://css-tricks.com/how-i-built-a-cross-platform-desktop-application-with-svelte-redis-and-rust/
و سورسکدش:
https://github.com/cloudflare/workerskv.gui
https://css-tricks.com/how-i-built-a-cross-platform-desktop-application-with-svelte-redis-and-rust/
و سورسکدش:
https://github.com/cloudflare/workerskv.gui
CSS-Tricks
How I Built a Cross-Platform Desktop Application with Svelte, Redis, and Rust | CSS-Tricks
At Cloudflare, we have a great product called Workers KV which is a key-value storage layer that replicates globally. It can handle millions of keys, each of
چطور از sftp یا همچن ssh ftp استفاده کنیم
https://www.digitalocean.com/community/tutorials/how-to-use-sftp-to-securely-transfer-files-with-a-remote-server
https://www.digitalocean.com/community/tutorials/how-to-use-sftp-to-securely-transfer-files-with-a-remote-server
Digitalocean
How To Use SFTP to Securely Transfer Files with a Remote Server | DigitalOcean
Learn how to use SFTP to securely transfer files to and from a remote server. Step-by-step examples, setup tips, and troubleshooting included.
چطور کلید ssh بسازیم
https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys-on-ubuntu-20-04
https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys-on-ubuntu-20-04
Digitalocean
How to Set Up SSH Keys on Ubuntu 20.04 | DigitalOcean
In this guide, we’ll focus on setting up SSH keys for an Ubuntu 20.04 installation. SSH keys provide an easy, secure way of logging into your server and are …
توابع مرتبطه بالاتر در pascal (و البته باقی زبان ها)
https://rosettacode.org/wiki/Higher-order_functions#Pascal
https://rosettacode.org/wiki/Higher-order_functions#Pascal
Rosetta Code
Higher-order functions
Task Pass a function as an argument to another function. Related task First-class functions
معرفی فریمورک phoenix و نوشتن یک برنامه ساده با آن
https://serokell.io/blog/introduction-to-phoenix
https://serokell.io/blog/introduction-to-phoenix
Phoenix: An Introduction to Elixir's Web Framework
Phoenix is the main web framework in the Elixir ecosystem. Learn how it works and what's special about it.