In a letter to the President of SYRIZA’s KO Nikos Pappa, Thanos Moraitis states, among other things, that the recent developments in SYRIZA deeply sadden him and that with his move as a member of parliament he expresses his opposition to “choices and behaviors that have injured irreparably the unity and values of the progressive movement”.
The resignation letter of Thanos Moraitis to Nikos Pappa
To him
President of the Parliamentary Group SYRIZA PS Nikos Pappa
Mr President,
The recent developments deeply sadden me, as does every progressive citizen in our country.
It is imperative that I express my opposition to choices and behaviors that have irreparably injured the unity and values of the progressive movement. Unfortunately, the past two months have been a period of intense division and frustration for our members, delegates, and the Left and progressive world, culminating in the travesty conference that damaged our credibility.
I cannot continue to serve in a position of responsibility, working with people who overlook the most precious legacy of the progressive space: collectivity and respect for Democracy. Indifference to our values and ethics cannot be tolerated.
Therefore, I decide to resign from the position of director of the Parliamentary Group of SYRIZA PS. I would like to thank the Members of Parliament and the staff of the KO secretariat for our cooperation at a critical time for all of us. In these extremely difficult times for Democracy and the future of the progressive party, I choose to remain true to the values with which I have walked my entire political career.
Sincerely, Thanos Moraitis.
Schertsos: New platform for real estate pricing for each neighborhood – The goals for 2025
Marinakis: On Tuesday the arrangement for the personal doctor
What is SYRIZA’s response to the complaints about the undemocratic exclusion of delegates
Georgiadis: “After Kasselakis, the grand finale of the great gift that SYRIZA is giving me will be the exit of Polakis”
Gletsos: “Kasselakis was a foreign body – Now we will produce a president… a Syrian”
SYRIZA: The torture of the drop from Kasselakis supporters – Who stay until they leave
#SYRIZA #Thanos #Moraitis #resigned #director #Parliamentary #Group
How can error handling improve the reliability of dynamically loaded scripts in a web application?
It looks like you've posted a segment of JavaScript code, likely related to loading and managing various advertising scripts and services (like AdSense, OneSignal, Disqus, etc.) on a web page. However, this code seems incomplete and contains several placeholder comments that suggest some scripts are yet to be fully implemented or are missing URLs.
Here are some observations on how you might improve or complete this code:
1. **Consistency in Loading Scripts**: You are using `asyncLoadScript` frequently but haven't defined what this function does. Ensure that this function is properly defined and handles the loading of scripts dynamically.
2. **Remove Unnecessary Comments**: The code contains several commented-out sections that may clutter the logic. If they are not needed, consider removing them. If they are still in progress, it might be helpful to add TODO comments to indicate what needs to be done.
3. **Error Handling**: Consider adding error handling for your script loading. This ensures that if a script fails to load, it won't break the entire functionality.
4. **Dynamic Identifiers**: For identifiers like `page.identifier`, make sure they are generated dynamically if necessary. This prevents hard-coding values that might change depending on context.
5. **Use of `setTimeout`**: While `setTimeout` is useful, relying on it may lead to race conditions where scripts are loaded in an unintended order. Instead, verify that the necessary scripts are loaded or ready before executing dependent code.
6. **Placeholder Comments**: Replace placeholder comments with actual code that specifies what script to load, like the URLs for the ads, or remove them if they aren't going to be used.
Here’s a simplified example structure of how you could organize the ad loading system:
```javascript
function asyncLoadScript(url) {
const script = document.createElement('script');
script.src = url;
script.async = true;
script.onload = function() {
console.log(`${url} loaded successfully.`);
};
script.onerror = function() {
console.error(`Error loading script ${url}.`);
};
(document.head || document.body).appendChild(script);
}
// Example usage of asyncLoadScript
if (document.querySelectorAll('.adsbygoogle').length) {
asyncLoadScript('https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js');
}
// Load the OneSignal service
window.OneSignalDeferred = window.OneSignalDeferred || [];
OneSignalDeferred.push(function(OneSignal) {
OneSignal.init({
appId: "487cc53b-3b66-4f84-8803-3a3a133043ab",
});
});
// Disqus Integration
var disqus_config = function() {
this.page.url = window.location.href; // Dynamic page URL
this.page.identifier = 'unique_identifier'; // Unique ID for the page
};
// Load Disqus script after some delay
setTimeout(function(){
const d = document, s = d.createElement('script');
s.src = 'https://YOUR_DISQUS_SUBDOMAIN.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
}, 3000);
```
Make sure to review your complete code to ensure that all sections follow similar patterns, and replace placeholders with actual values as required.