/this-and-that

"this-and-that" repository is a "this and that" of a Myanmar Researcher.

Primary LanguagePythonApache License 2.0Apache-2.0

this-and-that

"this-and-that" repository is a "this and that" of a Myanmar Researcher.
စိတ်ကူးပေါက်ရာ စမ်းထားတာတွေ...

ဒီမှာတင်ပေးထားတဲ့ code တွေနဲ့ ရှင်းလင်းချက်တွေက ကျွန်တော်နဲ့ ကျွန်တော့ကျောင်းသားတွေအတွက် အဓိကရည်ရွယ်ပြီး တင်ပေးထားတာပါ။ တချို့ လေ့လာတဲ့ သူတွေအတွက်လည်း အတိုင်းအတာ တစ်ခုအထိ အကျိုးရှိနိုင်တယ်လို့ ယူဆပါတယ်။ သို့သော် ဒီ code တွေ ရေးထားတဲ့ concept တွေမှာ ကိုယ်နားလည်သလို ရေးထားတာမို့လို့ အမှားအယွင်းတွေရှိကောင်း ရှိနိုင်ပါတယ်။ အဲဒီ အပိုင်းတွေကို ယူသုံးတဲ့ သူတွေက နားလည်ပေးပါလို့။

TOC

  1. Shannon entropy calculation for a given string, [perl code], [paper], [explanation]
  2. 7 methods of prime number calculation, [python code], [Brief explanation of ChatGPT4]
  3. Calculating Euclidean distances with Voronoi diagram, [python code], [Brief explanation]
  4. Calculating Euclidean, Manhattan, Chebyshev, Minkowski and Cosine distances with Voronoi diagram, [python code], [explanation]
  5. Print out Pascal's Triangle as text, [pascal-triangle.py], [How to run]
  6. Print out Pascal's Triangle as SQLite database, [pascal-triangle-sql.py], [How to run]
  7. Monty Hall problem simulation no. 1, [monty-hall.py], [How to run]
  8. Monty Hall problem simulation no. 2, [monty-hall-10games.py], [How to run]
  9. Guessing with Bayesian, [bayesian-guess.py], [How to run]
  10. Encryption, Decryption with some simple maths, [formulae_cipher_unicode.py], [How to run], [explanation]
  11. Adding salt to hashing, [hash-and-salt-eg.py], [How to run]
  12. Finite Difference, [finite_difference.py], [How to run], [explanation]
  13. Fourier Transform (the Laplace transform ?!)
  14. Time zone converter, [tz_converter.py], [How to run]
  15. Mutual Information Scores Calculation, [mi_scores.py], [How to run]
  16. Judas Goats Experiment, [judas_goats_experiment.py], [How to run]
  17. Turing Machine for detecting Burmese subscript combinations or Padsints [padsint_turing.py], [explanation]
  18. The formula for the sum of an arithmetic progression gauss_vs_sequential.py, [explanation]
  19. The color game, [color_game.py], [How to run]
  20. Analysis of colour statistics of art paintings and natural scenes to test the ‘matching-to-nature’ hypothesis on colour preference, [color_statistics_analysis.py], [How to run]
  21. SMILES to molecule structure generation, [smiles_to_structure.py], [How to run]
  22. Snake game, [snake.py], [How to run]
  23. A cute math heart for my <3, [fat_vheart.py]
  24. Try to forecast next eclipse date, [eclipse_forecaster2.py], [How to run]
  25. Playing with Armstrong numbers, [armstrong-or-not.py]
  26. A code poem of a researcher, [researcher_life.py], [researcher_run.png]
  27. a new algorithom ?!