Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/classic/text/ar/hopfield_networks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"Clear Memory": "امسح الذاكرة"
"Number of patterns memorized: 0": "عدد الأنماط المحفوظة: 0"
"Number of patterns memorized: {0}": "عدد الأنماط المحفوظة: {0}"
"Memory capacity (theoretical): 0.14 N<sup>2</sup> = approx. 170 patterns": "سعة الذاكرة (نظريًا): 0.14 N<sup>2</sup> = نحو 170 نمطًا"
"Memory capacity (theoretical): 0.14 N = approx. 6 patterns": "سعة الذاكرة (نظريًا): 0.14 N = نحو 6 أنماط"
"Memorize": "احفظ"
"Recall": "استرجع"
"Description": "الوصف"
Expand Down
2 changes: 1 addition & 1 deletion content/classic/text/ar/quantum_logic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"Both amplitudes should be between -1 and 1": "يجب أن تكون السعتان بين -1 و1"
"Description": "الوصف"
"Every qubit": "كل كيوبت"
"resides on a point on a Block sphere. It can be represented by two numbers": "يقع عند نقطة على كرة بلوخ، ويمكن التعبير عنه برقمين"
"resides on a point on a Bloch sphere. It can be represented by two numbers": "يقع عند نقطة على كرة بلوخ، ويمكن التعبير عنه برقمين"
"such that:": "بحيث إن:"
"Here,": "هنا،"
"and": "و"
Expand Down
6 changes: 3 additions & 3 deletions content/classic/text/ar/sorting_algos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
"<b>Bubble sort:</b> A simple sorting algorithm that just goes through the list comparing adjacent elements and swapping them if they are not in order. It's performance and utiity are very poor, and is primarily taught for educational purposes. It has an average time complexity of O(n<sup>2</sup>). However, if the machine performing the sort has a sizeable probability of not comparing elements properly, then bubble sort is the most fault tolerant algorithm in this list (since it makes frequent comparisons, and can detect mistakes made previously).": "<b>فرز الفقاعة:</b> خوارزمية بسيطة تمر على القائمة وتقارن كل عنصرين متجاورين، وتبدّل مكانهما إن لم يكونا بالترتيب الصحيح. أداؤها ضعيف جدًا، وتُدرَّس غالبًا لأغراض تعليمية فقط. متوسط تعقيدها الزمني O(n<sup>2</sup>). لكن إن كان الجهاز الذي يجري الفرز يخطئ أحيانًا في المقارنة، فهذه الخوارزمية هي الأكثر تحمّلًا للأخطاء بين كل ما في هذه القائمة، لأنها تكرر المقارنة كثيرًا فتكتشف الأخطاء السابقة."
"<b>Selection sort:</b> Another simple sorting algorithm. It scans all N elements, finds the largest one, and puts it at the Nth position. Then, it scans all N-1 elements, finds the largest one, puts it at the (N-1)th position, and so on. It is as worse as bubble sort, with an average time complexity of O(n<sup>2</sup>). It doesn't use the advantages from an approimately sorted list. However, it is noted for it's simplicity.": "<b>فرز الاختيار:</b> خوارزمية بسيطة أخرى. تمر على العناصر الـ N كلها وتجد أكبرها وتضعه في الموضع N، ثم تمر على العناصر الـ N-1 الباقية وتجد أكبرها وتضعه في الموضع N-1، وهكذا. أداؤها سيئ كفرز الفقاعة، بمتوسط تعقيد زمني O(n<sup>2</sup>)، ولا يستفيد من كون القائمة شبه مرتبة أصلًا. رغم ذلك تشتهر ببساطتها."
"<b>Insertion sort:</b> An algorithm that most humans likely use unconsciously to sort things. It considers the first k elements to be sorted, and figures out where the (k+1)th element should be placed within the sorted portion. Although it's time complexity is still O(n<sup>2</sup>), insertion sort has significant advantages over the last two. It is extremely good to sorting lists that are already approximately sorted, nearing a time complexity of O(n) in this case. Even if a list is already sorted, it can readily accept another element and put it in it's correct place.": "<b>فرز الإدراج:</b> خوارزمية يستخدمها معظم الناس دون أن يشعروا حين يرتبون الأشياء. تفترض أن أول k عنصر مرتبة، وتبحث عن الموضع الصحيح للعنصر رقم k+1 داخل هذا الجزء المرتب. تعقيدها الزمني ما زال O(n<sup>2</sup>)، لكنها أفضل من الخوارزميتين السابقتين بوضوح، فهي ممتازة مع القوائم شبه المرتبة أصلًا، إذ يقترب تعقيدها من O(n) في هذه الحالة. وحتى لو كانت القائمة مرتبة تمامًا، تستطيع إضافة عنصر جديد ووضعه في مكانه الصحيح بسهولة."
"<b>Cocktail Shaker sort:</b> A variation of selection sort that scans for the maximum element while going forward, and the minimum element while going backwards. It is useful for electromechanical machines that use a physical data reader to scan and sort through values sorted in a tape.": "<b>فرز الكوكتيل:</b> نسخة من فرز الاختيار تبحث عن أكبر عنصر وهي ذاهبة إلى الأمام، وعن أصغر عنصر وهي عائدة إلى الخلف. تفيد في الآلات الكهروميكانيكية التي تقرأ القيم فعليًا من شريط وتفرزها."
"<b>Heap sort:</b> A slightly complex sorting algorithm that uses a data structure called heaps. First algorithm on this list to have a time complexity of O(n log n), although it comes with a space complexity of O(n), and the only algorithm on this list to require explicit space. It is extremely good at keeping frequently updated lists sorted dynamically, an advantage conferred by the data structure that it is built on. For information on the heap data structure, please refer <a href=\"https://www.geeksforgeeks.org/heap-data-structure/\" target=\"_blank\">GeeksForGeeks</a> website.": "<b>فرز الكومة:</b> خوارزمية أعقد قليلًا تعتمد على بنية بيانات تسمى الكومة (heap). أول خوارزمية في هذه القائمة تعقيدها الزمني O(n log n)، لكنها تحتاج مساحة إضافية بتعقيد O(n)، وهي الوحيدة هنا التي تحتاج ذاكرة إضافية صراحة. تمتاز بإبقاء القوائم المتغيّرة باستمرار مرتبة بكفاءة، بفضل بنية الكومة نفسها. لمعرفة المزيد عن بنية الكومة راجع موقع <a href=\"https://www.geeksforgeeks.org/heap-data-structure/\" target=\"_blank\">GeeksForGeeks</a>."
"<b>Quick sort:</b> As the name implies, it has the fastest time complexity of O(n log n) despite not requiring any explicit memory. It randomly choses an element as a pivot, and transports all elements lower than the pivot to the left, and the elements greater than the pivot to the right of the pivot. The same operation is repeated on the portion of the list to the left and right of the pivot, recursively. Despite it's charasmatic name, it is difficult to implement, and certain choices of pivots can be disastrous on it's runtime.": "<b>الفرز السريع:</b> كما يوحي اسمه، تعقيده الزمني O(n log n) وهو الأسرع في هذه القائمة، رغم أنه لا يحتاج ذاكرة إضافية. يختار عنصرًا عشوائيًا محورًا (pivot)، وينقل كل عنصر أصغر منه إلى يساره وكل عنصر أكبر منه إلى يمينه. تتكرر العملية نفسها على الجزأين يمين المحور ويساره. رغم اسمه اللافت، تنفيذه صعب، واختيار محور سيئ قد يبطئه كثيرًا."
"<b>Cocktail Shaker sort:</b> A two-way variation of bubble sort that moves the maximum element while going forward, and the minimum element while going backwards. It is useful for electromechanical machines that use a physical data reader to scan and sort through values sorted in a tape.": "<b>فرز الكوكتيل:</b> نسخة من فرز الفقاعات تعمل في الاتجاهين: تدفع أكبر عنصر إلى آخر القائمة وهي ذاهبة إلى الأمام، وأصغر عنصر إلى أولها وهي عائدة إلى الخلف. تفيد في الآلات الكهروميكانيكية التي تقرأ القيم فعليًا من شريط وتفرزها."
"<b>Heap sort:</b> A slightly complex sorting algorithm that uses a data structure called heaps. First algorithm on this list to have a time complexity of O(n log n), although it comes with an additional space complexity of O(1), and the only algorithm on this list to require explicit space. It is extremely good at keeping frequently updated lists sorted dynamically, an advantage conferred by the data structure that it is built on. For information on the heap data structure, please refer <a href=\"https://www.geeksforgeeks.org/heap-data-structure/\" target=\"_blank\">GeeksForGeeks</a> website.": "<b>فرز الكومة:</b> خوارزمية أعقد قليلًا تعتمد على بنية بيانات تسمى الكومة (heap). أول خوارزمية في هذه القائمة تعقيدها الزمني O(n log n)، لكنها تحتاج مساحة إضافية بتعقيد O(1)، وهي الوحيدة هنا التي تحتاج ذاكرة إضافية صراحة. تمتاز بإبقاء القوائم المتغيّرة باستمرار مرتبة بكفاءة، بفضل بنية الكومة نفسها. لمعرفة المزيد عن بنية الكومة راجع موقع <a href=\"https://www.geeksforgeeks.org/heap-data-structure/\" target=\"_blank\">GeeksForGeeks</a>."
"<b>Quick sort:</b> As the name implies, it has the fastest average time complexity of O(n log n) despite not requiring any explicit memory. It randomly choses an element as a pivot, and transports all elements lower than the pivot to the left, and the elements greater than the pivot to the right of the pivot. The same operation is repeated on the portion of the list to the left and right of the pivot, recursively. Despite it's charasmatic name, it is difficult to implement, and certain choices of pivots can be disastrous on it's runtime.": "<b>الفرز السريع:</b> كما يوحي اسمه، تعقيده الزمني في المتوسط O(n log n) وهو الأسرع في هذه القائمة، رغم أنه لا يحتاج ذاكرة إضافية. يختار عنصرًا عشوائيًا محورًا (pivot)، وينقل كل عنصر أصغر منه إلى يساره وكل عنصر أكبر منه إلى يمينه. تتكرر العملية نفسها على الجزأين يمين المحور ويساره. رغم اسمه اللافت، تنفيذه صعب، واختيار محور سيئ قد يبطئه كثيرًا."
"<b>Merge sort:</b> The industrial standard for sorting huge lists. It recursively divides the list into smaller lists, sorts the smaller ones and merges them in the right way. It always has a time complexity of O(n log n). A merge sort routine with multithreading support can sort billions of numbers in no time. However, it uses some auxillary memory while merging, and is really difficult to implement.": "<b>فرز الدمج:</b> المعيار المعتمد صناعيًا لفرز القوائم الضخمة. يقسّم القائمة إلى قوائم أصغر فأصغر، ثم يفرز كل جزء صغير ويدمج الأجزاء بالترتيب الصحيح. تعقيده الزمني ثابت دائمًا عند O(n log n)، وبدعم تعدد الخيوط يستطيع فرز مليارات الأرقام في وقت قصير جدًا. لكنه يحتاج ذاكرة إضافية أثناء الدمج، وتنفيذه صعب فعلًا."
"Note:": "ملاحظة:"
"If the simulation freezes then please refresh the page": "إذا توقفت المحاكاة عن الاستجابة فأعد تحميل الصفحة"
Expand Down
4 changes: 2 additions & 2 deletions content/classic/text/ar/special_relativity.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"Length contraction": "تقلّص الطول"
"If the length of an object on Earth is measured to be 'l<sub>0</sub>'' by a stationary observer on Earth, then an observer aboard the satellite measured the same object's length to be 'l' as calculated above. Observe that l<sub>0</sub> &gt; l. This phenomenon is known as length contraction.": "إذا قاس راصد ثابت على الأرض طول جسم فوجده l<sub>0</sub>، فسيقيس راصد على متن القمر طول الجسم نفسه بالقيمة l المحسوبة أعلاه. ولاحظ أن l<sub>0</sub> أكبر من l. تسمى هذه الظاهرة تقلّص الطول."
"Relativistic Doppler Effect": "تأثير دوبلر النسبي"
"If the satellite transmits waves of frequency 'f<sub>0</sub>'', then a stationary receiver on the Earth will measure the same waves to have a frequency of 'f' as calculated above. This phenomenon is known as relativistic doppler effect.": "إذا أرسل القمر موجات ترددها f<sub>0</sub>، فسيقيس مستقبل ثابت على الأرض تردد الموجات نفسها بالقيمة f المحسوبة أعلاه. تسمى هذه الظاهرة تأثير دوبلر النسبي."
"If the satellite transmits waves of frequency 'f<sub>0</sub>', then a stationary receiver on the Earth will measure the same waves to have a frequency of 'f' as calculated above. This phenomenon is known as relativistic doppler effect.": "إذا أرسل القمر موجات ترددها f<sub>0</sub>، فسيقيس مستقبل ثابت على الأرض تردد الموجات نفسها بالقيمة f المحسوبة أعلاه. تسمى هذه الظاهرة تأثير دوبلر النسبي."
"Note:": "ملاحظة:"
"Speaking in a strict sense, a satellit orbiting the Earth won't exactly show these effects in the same manner. The orbiting satellite analogy has been provided to get a brief idea of speed. Instead, consider a spaceship going away from Earth at the same speed.": "بدقة، القمر الصناعي في مداره لن يُظهر هذه الظواهر تمامًا بهذه الطريقة، لأن مداره يتضمن تسارعًا. استخدمنا مثال القمر الصناعي فقط لتقريب فكرة السرعة. الأدق أن تتخيّل مركبة فضائية تبتعد عن الأرض بالسرعة نفسها في خط مستقيم."
"Speaking in a strict sense, a satellit orbiting the Earth won't exactly show these effects in the same manner. The orbiting satellite analogy has been provided to get a brief idea of speed. Instead, consider a spaceship going away from Earth at the same speed. However, satellites do gain time (for example,the GPS satellites gain around 38 microseconds per day) which has to be corrected for accurate positioning.": "بدقة، القمر الصناعي في مداره لن يُظهر هذه الظواهر تمامًا بهذه الطريقة، لأن مداره يتضمن تسارعًا. استخدمنا مثال القمر الصناعي فقط لتقريب فكرة السرعة. الأدق أن تتخيّل مركبة فضائية تبتعد عن الأرض بالسرعة نفسها في خط مستقيم. ومع ذلك فساعات الأقمار الصناعية تتقدّم فعلًا (ساعات أقمار GPS مثلًا تتقدّم نحو 38 ميكروثانية كل يوم)، ويجب تصحيح ذلك ليكون تحديد المواقع دقيقًا."
"This simulation is compatible with SI units": "تستخدم هذه المحاكاة وحدات SI المعتادة."
"Gamma (γ)": "جاما (γ)"
"is defined as:": "تُعرَّف بأنها:"
Expand Down
Loading
Loading