این پروژه کوچک هم اسم جالبی داشت:
ItsJustACoincidenceProfessor
https://github.com/TylerJaacks/ItsJustACoincidenceProfessor
ItsJustACoincidenceProfessor
https://github.com/TylerJaacks/ItsJustACoincidenceProfessor
GitHub
GitHub - TylerJaacks/ItsJustACoincidenceProfessor: "It's just a coincidence professor!" is a plagiarism checker for source code.…
"It's just a coincidence professor!" is a plagiarism checker for source code. It uses the Wagner–Fischer algorithm to precisely and accurately determine percentage similar...
این SIM هم جزو ابزارهای قدیمیه ولی هنوز وجود داره!
https://dickgrune.com/Programs/similarity_tester/
https://dickgrune.com/Programs/similarity_tester/
Forwarded from LuxuryVPN Foundation
Mozilla’s nightmare repeated for LuxuryVPN foundation.
During the development of Mozilla Firefox, the developers realized that C++ is not efficient anymore and cannot fulfill their requirements; so they decided to create a language named Rust to fulfill their destiny.
This happened some years ago and now the developers of LuxuryVPN under the lead of Roozbeh Sharif Nasab, who is the technical lead at software engineering in LuxuryVPN foundation, found that they need a new language to proceed the projects with that. So inside the current project, we started a new project simultaneously named Luxury++ language.
This language is estimated to be the fastest language in the world, because it’s written in binary and with ARM hardware.
We also have provided the best hardware whose technical lead is Ahmad Saleh Esfahani.
During the development of Mozilla Firefox, the developers realized that C++ is not efficient anymore and cannot fulfill their requirements; so they decided to create a language named Rust to fulfill their destiny.
This happened some years ago and now the developers of LuxuryVPN under the lead of Roozbeh Sharif Nasab, who is the technical lead at software engineering in LuxuryVPN foundation, found that they need a new language to proceed the projects with that. So inside the current project, we started a new project simultaneously named Luxury++ language.
This language is estimated to be the fastest language in the world, because it’s written in binary and with ARM hardware.
We also have provided the best hardware whose technical lead is Ahmad Saleh Esfahani.
من: ویم در وقت شما صرفه جویی میکند.
همچنین من: [یک روز کامل مشغول بازی با پلاگین ها]
همچنین من: [یک روز کامل مشغول بازی با پلاگین ها]
چطور در redis اسکریپت های lua بنویسیم.
https://www.freecodecamp.org/news/a-quick-guide-to-redis-lua-scripting/
https://www.freecodecamp.org/news/a-quick-guide-to-redis-lua-scripting/
freeCodeCamp.org
A quick guide to Redis Lua scripting
By Andrei Chernikov Redis is a popular in-memory grid used for interprocess communication and data storage. You might’ve heard that it lets you run Lua scripts, but you are still not sure why. If this sounds like you, read on. Prerequisites You shou...
نوشتههای ترمینالی
چطور در redis اسکریپت های lua بنویسیم. https://www.freecodecamp.org/news/a-quick-guide-to-redis-lua-scripting/
شاید بپرسید که خب چرا اصلا؟
In short: performance gain. Most tasks you do in Redis involve many steps. Instead of doing these steps in the language of your application, you can do it inside Redis with Lua.
In short: performance gain. Most tasks you do in Redis involve many steps. Instead of doing these steps in the language of your application, you can do it inside Redis with Lua.
اگه تو لینوکس میخواین اهنگ گوش کنین میتونین با nuclear اهنگ رو از منابع مختلف بگیرید و دانلود کنید.
منابع مثلا itunes music و اینا
https://itsfoss.com/nuclear-music-player-linux/
منابع مثلا itunes music و اینا
https://itsfoss.com/nuclear-music-player-linux/
It's FOSS
Nuclear Music Player for Multi Source Music Streaming in Linux
Brief: We’ll have a look at Nuclear, one of the lesser known music players in Linux. It lets you stream music from a number of sources such as YouTube, SoundCloud etc.
Although I do maintain a collection of good ol’ mp3 files on my PC, I don’t disagree
Although I do maintain a collection of good ol’ mp3 files on my PC, I don’t disagree
درمورد زبان zig هم بدونیم.
یک تلاش دیگه (مثل rust شاید یشه گفت) برای حل کردن مشکلات C
https://ziglang.org/learn/overview/
یک تلاش دیگه (مثل rust شاید یشه گفت) برای حل کردن مشکلات C
https://ziglang.org/learn/overview/
چطور کد بد بنویسیم تا شغل خود را حفظ کنیم:
https://github.com/Droogans/unmaintainable-code
https://github.com/Droogans/unmaintainable-code
GitHub
GitHub - Droogans/unmaintainable-code: A more maintainable, easier to share version of the infamous https://mindprod.com/jgloss/unmain.html
A more maintainable, easier to share version of the infamous https://mindprod.com/jgloss/unmain.html - Droogans/unmaintainable-code
😁2
چرا best practice ها بد هستند؟
https://floverfelt.org/posts/software-best-practices.html
https://floverfelt.org/posts/software-best-practices.html
floverfelt.org
Are software engineering “best practices” just developer preferences?
My housemate the other day asked me something to the effect of “How can Software Engineers call themselves engineers when there’s no rules, governing bodies, or anything to stipulate what true Software Engineering is?”
چطور در java کد javascript اجرا کنیم؟ (به همین عجیبی)!
ایده از این سوال stackoverflow شروع شد.
https://stackoverflow.com/questions/2605032/is-there-an-eval-function-in-java
که چطور در جاوا تابع eval داشته باشیم.
البته java زبانیه که کامپایل میشه و داشتن eval توش یکم عجیبه. در حالی که توی پایتون وjavascript چیز شناخته شدهایه (هرچند استفاده ازش خطرناکه)
حالا فرض کنیم که بتونیم توی رانتایم به کامپایلر نصب شده روی سیستم دسترسی پیدا کنیم و اون رو فراخوانی کنیم، میتونیم کدمون رو توی main یه کلاسی بذاریم و اون رو کامپایل کنیم و بعد با class loader اجرا کنیم. اما شاید اصلا جایی که کد جاوا رو اجرا میکنیم jdk نصب نشده باشه (فقط java runtime داشته باشه نه کامپایلر)
حالا توی جاواهای جدید، پکیج jdk و jre اصلا یکی شدن و جای نگرانی نیست. اما این کار هم مصیبت های خودشو داره.
تو این مطلب پارسا در مورد اینکه چطوری توی رانتایم به کامپایلر جاوا دسترسی داشته باشیم برامون نوشته:
https://javacup.ir/java-runtime-compiler/
همچنین از جاوای ۹ به بعد، یه کامپایلر هم داخل jshell پیادهسازی کردن که اون هم از رانتایم قابل دسترسیه، هرچند اونم با قواعد و قوانین خودش.
اما من که اول مطلب گفتم جاوا اسکریپت، پس چی شد. تا اینجا هرچی که گفتم برای اجرای کدی بود که به زبون جاوا نوشته شده، اما java امکان اجرای کد به زبان js در رانتایم با موتور nashron رو داره. این امکان البته که deprecate شده (کی جاوااسکریپت رو دوست داره که برداره بیارتش تو جاوا)
اما به هر حال وجود داره.
مکانیسم هم تقریبا اینطوریه که شما engine رو لود میکنید، بعد بهش string میدین و نتیجه رو در قالب کلاس های جاوا بهتون میده. حالا کلاس های Number مثل Double وInteger یا کلاس های دیگه.
نکته اینه که شما محدود به پرینت کردن یه چیز ساده نیستید، توی موتور js میتونین تابع تعریف کنید و بعدا صداش کنید و از خروجی تابع استفاده کنید و احیانا کارهای دیگه که به ذهن من نرسیده.
این کد پایین یک عبارت میگیره که متغیر x رو داره، بعدش x رو بهش میدین و توی عبارت میذاره و نتیجه رو میده.
البته روی جاوا ۱۷ کار نکرد ولی ۱۱ اوکیه.
ایده از این سوال stackoverflow شروع شد.
https://stackoverflow.com/questions/2605032/is-there-an-eval-function-in-java
که چطور در جاوا تابع eval داشته باشیم.
البته java زبانیه که کامپایل میشه و داشتن eval توش یکم عجیبه. در حالی که توی پایتون وjavascript چیز شناخته شدهایه (هرچند استفاده ازش خطرناکه)
حالا فرض کنیم که بتونیم توی رانتایم به کامپایلر نصب شده روی سیستم دسترسی پیدا کنیم و اون رو فراخوانی کنیم، میتونیم کدمون رو توی main یه کلاسی بذاریم و اون رو کامپایل کنیم و بعد با class loader اجرا کنیم. اما شاید اصلا جایی که کد جاوا رو اجرا میکنیم jdk نصب نشده باشه (فقط java runtime داشته باشه نه کامپایلر)
حالا توی جاواهای جدید، پکیج jdk و jre اصلا یکی شدن و جای نگرانی نیست. اما این کار هم مصیبت های خودشو داره.
تو این مطلب پارسا در مورد اینکه چطوری توی رانتایم به کامپایلر جاوا دسترسی داشته باشیم برامون نوشته:
https://javacup.ir/java-runtime-compiler/
همچنین از جاوای ۹ به بعد، یه کامپایلر هم داخل jshell پیادهسازی کردن که اون هم از رانتایم قابل دسترسیه، هرچند اونم با قواعد و قوانین خودش.
اما من که اول مطلب گفتم جاوا اسکریپت، پس چی شد. تا اینجا هرچی که گفتم برای اجرای کدی بود که به زبون جاوا نوشته شده، اما java امکان اجرای کد به زبان js در رانتایم با موتور nashron رو داره. این امکان البته که deprecate شده (کی جاوااسکریپت رو دوست داره که برداره بیارتش تو جاوا)
اما به هر حال وجود داره.
مکانیسم هم تقریبا اینطوریه که شما engine رو لود میکنید، بعد بهش string میدین و نتیجه رو در قالب کلاس های جاوا بهتون میده. حالا کلاس های Number مثل Double وInteger یا کلاس های دیگه.
نکته اینه که شما محدود به پرینت کردن یه چیز ساده نیستید، توی موتور js میتونین تابع تعریف کنید و بعدا صداش کنید و از خروجی تابع استفاده کنید و احیانا کارهای دیگه که به ذهن من نرسیده.
این کد پایین یک عبارت میگیره که متغیر x رو داره، بعدش x رو بهش میدین و توی عبارت میذاره و نتیجه رو میده.
البته روی جاوا ۱۷ کار نکرد ولی ۱۱ اوکیه.
Stack Overflow
Is there an eval() function in Java?
I have a string like the following:
String str = "4*5";
Now I have to get the result of 20 by using the string.
I know in some other languages the eval() function will do this.
How can I do this in
String str = "4*5";
Now I have to get the result of 20 by using the string.
I know in some other languages the eval() function will do this.
How can I do this in
این واقعا چیز عجیبیه =)
میاد هر دو تا صفحهی ویکیپدیا رو با حداکثر ۶ تا لینک به هم متصل میکنه.
مثلا صفحه linus خودش به bash لینک نداره اما با این راه ها میشه به bash رسید.
https://www.sixdegreesofwikipedia.com/
البته که تو این مثال من، دو تا چیز نزدیک بودن، چیزهای غیرمرتبط رو سرچ کنید تا واقعا تعجب کنید.
میاد هر دو تا صفحهی ویکیپدیا رو با حداکثر ۶ تا لینک به هم متصل میکنه.
مثلا صفحه linus خودش به bash لینک نداره اما با این راه ها میشه به bash رسید.
https://www.sixdegreesofwikipedia.com/
البته که تو این مثال من، دو تا چیز نزدیک بودن، چیزهای غیرمرتبط رو سرچ کنید تا واقعا تعجب کنید.
👍1
نوشتههای ترمینالی
آموزش نصب و راه اندازی redis https://redis.io/topics/quickstart
آموزش دیتاتایپ های ردیس
که به نظرم در کنار آموزش درک خوبی از امکاناتش میده:
https://redis.io/topics/data-types-intro
که به نظرم در کنار آموزش درک خوبی از امکاناتش میده:
https://redis.io/topics/data-types-intro