Fara Code | برنامه نویسی
前往频道在 Telegram
جایی که صفر و یکها خوش میگذره! 📘 books & codes 🧠 tips & tricks 🎉 fun for devs 👥 group: @FaraCodeGp 🧑💻 admin: @worlddhello
显示更多3 185
订阅者
-124 小时
+67 天
+2030 天
帖子存档
Repost from 🪷 My Safe Aquarium ✨
حمید نادری یگانه با فرمولهای ریاضی نقاشی خلق میکنه. مثلا تصویر پرنده زیر تشکیل شده از ۹۸۳۰ دایره که فرمول ریاضی مختصات مرکز و شعاع اونا در اون یکی تصویر اومده.
صفحه آثار او در سایت انجمن ریاضی آمریکا:
http://www.ams.org/publicoutreach/math-imagery/yeganeh
Repost from 🪷 My Safe Aquarium ✨
+3
جالب اینجاست ماجرا از خلاقیت خودش بوده و جایی آموزش مستقیم ندیده واسش :)
Repost from 🪷 My Safe Aquarium ✨
حمید نادری یگانه با فرمولهای ریاضی نقاشی خلق میکنه. مثلا تصویر پرنده زیر تشکیل شده از ۹۸۳۰ دایره که فرمول ریاضی مختصات مرکز و شعاع اونا در اون یکی تصویر اومده.
صفحه آثار او در سایت انجمن ریاضی آمریکا:
http://www.ams.org/publicoutreach/math-imagery/yeganeh
🐥🐥برنامه نویسی؟ یا میخوای بشی؟ یا علاقه داری؟ اصن هیچکدوم؟ خب در هر صورت بیا اینجا چون ادمیناش ایونت گذاشتن اونم چه ایونتی...
ایونت سکوت. هیچ پستی نمیاد و هیچوقت با بالا اومدن کانال اذیت و شاکی نمیشی🐥
@semicolon_p
Repost from CleverDevs
ولی بنظرم سطح طنز برنامه نویسا خیلی پایینه
از وقتی یادم میاد هک ناسا با html رو میگیم و هربار میخندیم
قبول دارید یا نه ؟
موافقم 👍 مخالفم 👎
#fun
@CleverDevs - @CleverDevsGp
Repost from 🪷 My Safe Aquarium ✨
#include <iostream>
using namespace std;
int main() {
string sentence, word;
cout << "Enter a sentence: ";
getline(cin, sentence);
cout << "Enter a word: ";
getline(cin, word);
string highlight = string(sentence.length(), ' ');
size_t found = sentence.find(word);
while (found != string::npos){
highlight.replace(found, word.length(), string(word.length(), '-'));
found = sentence.find(word, found + 1);
if (found == string::npos) {
string result = "The word '" + word + "' was found in the sentence: ";
cout << result << sentence << endl << string(result.length(), ' ') << highlight << endl;
}
}
return 0;
}Repost from 🪷 My Safe Aquarium ✨
#include <iostream>
using namespace std;
int main() {
string sentence, word;
cout << "Enter a sentence: ";
getline(cin, sentence);
cout << "Enter a word: ";
getline(cin, word);
string highlight = string(sentence.length(), ' ');
size_t found = sentence.find(word);
while (found != string::npos){
highlight.replace(found, word.length(), string(word.length(), '-'));
found = sentence.find(word, found + 1);
if (found == string::npos) {
string result = "The word '" + word + "' was found in the sentence: ";
cout << result << sentence << endl << string(result.length(), ' ') << highlight << endl;
}
}
return 0;
}Repost from 🪷 My Safe Aquarium ✨
python3 query_generator.py <<< $(./shroom --prompt) | base64 | tr 'A-Za-z' 'N-ZA-Mn-za-m' | xxd -p -c1 | while read -r x; do printf '\\x%s' "$x"; done | rev
Output:
a0x\85x\66x\d6x\a5x\47x\03x\15x\65x\87x\97x\45x\65x\35x\75x\94x\54x\65x\17x\35x\65x\87x\53x\a4x\c4x\26x\f4x\64x\74x\34x\75x\97x\54x\47x\a5x\16x\07x\97x\17x\a7x\f6x\36x\d4x\45x\65x\84x\14x\84x\54x\a5x\94x\03x\84x\