• 0 Posts
  • 12 Comments
Joined 3 months ago
cake
Cake day: March 13th, 2025

help-circle
rss
  • Conveniently you forgot to mention a short list of terrorist groups financed by Iran.

    Here you go

    1. Hezbollah (Lebanon) – Iran’s most heavily backed proxy; receives funding, weapons, and training. Operates militarily and politically in Lebanon; hostile to Israel.
    2. Hamas (Gaza) – Though Sunni, Iran supports Hamas with weapons and funds due to shared anti-Israel stance.
    3. Palestinian Islamic Jihad (Gaza/West Bank) – More directly aligned with Iran than Hamas; receives significant Iranian support.
    4. Houthis (Ansar Allah, Yemen) – Iran supplies weapons, intelligence, and training to Houthis in their fight against the Saudi-led coalition.
    5. Kata’ib Hezbollah (Iraq) – Iraqi Shi’a militia backed by Iran; part of the Popular Mobilization Forces; responsible for attacks on U.S. personnel.
    6. Asa’ib Ahl al-Haq (Iraq) – Another Iran-backed Shi’a militia operating in Iraq; heavily involved in sectarian violence.
    7. Harakat al-Nujaba (Iraq/Syria) – Shi’a militia supported by IRGC; operates in Iraq and Syria.
    8. Fatemiyoun Division (Afghan Shi’a fighters) – Recruited and trained by Iran to fight in Syria.
    9. Zeynabiyoun Brigade (Pakistani Shi’a fighters) – Similar to Fatemiyoun; deployed in Syria under Iranian command.



  • In general, ‘classes’ declarations were done with macro. I don’t remember the exact code — something akin to

    BEGIN_CLASS(A, Parent);
    CLASS_MEMBER(a...)
    END_CLASS();
    

    The project had started before C++ existed, and the switch would be too costly. It’s not just OOP part, also reflection mechanism with bindings to the homemade scripting language, and multi-platform UI library. It was a gem of its time.


  • I was working on a C code base with classes, inheritance, and polymorphism, all done by hands and macros.

    Something like

    typedef struct s_some_class {
        void (*method)(this *s_some_class);
    } t_some_class;
    

    Overall, learning C was the best enabler in my whole career. For instance I was learning Python by tinkering with CPython VM, so when I see these ‘WAT’ quircks I know exactly what’s up.