- [Modération JNTP] Annulation de <pu9beh$kkq$5@dont-email.me> - 2 Updates
- find if two threads are trying to operate on a same mutex? - 1 Update
- My new "invention" that is an enhanced fully scalable algorithm is finished and is coming soon.. - 1 Update
- About quality and about security.. - 1 Update
- Read all my following post about economy.. - 1 Update
Elephant Man <conanospamic@gmail.com>: Dec 05 08:27PM Article d'annulation émis par un modérateur JNTP via Nemo. |
Elephant Man <conanospamic@gmail.com>: Dec 07 09:08AM Article d'annulation émis par un modérateur JNTP via Nemo. |
Steve Watt <steve.removethis@Watt.COM>: Dec 07 12:02AM In article <10ef65a2-d11a-46d8-9cac-cd24c4183f6f@googlegroups.com>, >Hi All, >It would be of great help if someone could tell me how to find if two threads are trying to operate on a same mutex? >I also want to find the entire communication that happens with respect to locks while the program is being run, The search term you're looking for is "mutex contention". The answer depends entirely on your operating environment. Windows? Linux? FreeBSD? MVS? Assuming something UNIX-like, valgrind is your friend. Inside a dog, it's too dark to read. -- Steve Watt KD6GGD PP-ASEL-IA ICBM: 121W 56' 57.5" / 37N 20' 15.3" Internet: steve @ Watt.COM Whois: SW32-ARIN Free time? There's no such thing. It just comes in varying prices... |
Horizon68 <horizon@horizon.com>: Dec 06 09:16AM -0800 Hello... My new "invention" that is an enhanced fully scalable algorithm is finished and is coming soon.. I have just enhanced "much" more my "invention" of a scalable algorithms of a scalable reference counting with efficient support for weak references, i think i am the only one who has invented this scalable algorithm, because it is the only one who is suited for non-garbage collecting languages such as C++ and Rust and Delphi, and i have just made my enhanced algorithm fully scalable on manycores and multicores and NUMA systems by using a clever scalable algorithms, so i think i will "sell" my new invention that is my enhanced scalable reference counting algorithm with efficient support for weak references and its implementation to Microsoft or to Google or to Intel or Embarcadero And about memory safety and memory leaks in programming languages.. Memory safety is the state of being protected from various software bugs and security vulnerabilities when dealing with memory access, such as buffer overflows and dangling pointers. I am also working with Delphi and FreePascal and C++, and as you have noticed i have invented a scalable reference counting with efficient support for weak references that is really powerful, read about it and download it from here(it is the Delphi and FreePascal implementation): https://sites.google.com/site/scalable68/scalable-reference-counting-with-efficient-support-for-weak-references And you have to understand that this invention of mine solves the problem of dangling pointers and it solves the problem of memory leaks and this reference counting of mine is also "scalable", and i think that this invention of mine is the only one that you will find, and you will not find it in C++ and you will not find it in Rust. Also Delphi and FreePascal detect the out of bounds in arrays and strings like this by making range checks enabled: In the {$R+} state, all array and string-indexing expressions are verified as being within the defined bounds, and all assignments to scalar and subrange variables are checked to be within range. **If a range check fails, an ERangeError exception is raised (or the program is terminated if exception handling is not enabled). Range Checks is OFF by default. To enable it, you can add this directive to your code: {$RANGECHECKS ON} You can use also generic (template) style containers for bound checking, my following writing to understand more: About C++ and Delphi and FreePascal generic (template) style containers.. Generics.Collections of Delphi and FreePascal for generic (template) style containers that you can download from here: https://github.com/maciej-izak/generics.collections TList of Generics.Collections of Delphi and FreePascal is implemented the same as STL C++ Vectors: they are array-based. And since data structureS are the same then also performance should be comparable. So I've done a small test between Tlist of Generics.Collections of Delphi and FreePascal and C++ vector, it's an addition of 3000000 records of 16 byte length, in one loop, here is the results: Tlist time = 344ms Vector time = 339ms It seems they are the same, the test use only the function ( List.add , vector.push_back). STL vectors with the at() and Delphi TList of Generics.Collections of Delphi and FreePascal perform bounds checking. So i think that with my invention above and with all my other inventions that are my scalable algorithms and there implementations and such in C++ and Delphi and FreePascal that you will find in my following website, Delphi and FreePascal have become powerful: https://sites.google.com/site/scalable68/ Thank you, Amine Moulay Ramdane. |
Horizon68 <horizon@horizon.com>: Dec 05 03:20PM -0800 Hello... I am more smart, and you will ask why i have not included economy etc. in the following: I think that order comes from the fact that we are security for oneself and others, and what are the causes that we are security for oneself and others ? we are security for oneself and others for different causes, here they are: 1- We are good morality that takes care of security. 2- We are "sensibility" that takes care of security 3- We are more disciplined to take care of the system as a critical system that needs the right requirements for the right security both locally and globally. 4- We are fear that takes care of security of oneself or others. Because when i say: We are good morality that takes care of security, i have proved in my previous post that morality is perfection at best, so it is "inherent" to saying, We are good morality that takes care of security, that it must be like a decent perfection that doesn't cause desorder, so i think that my above answer is correct. Thank you, Amine Moulay Ramdane./ |
Horizon68 <horizon@horizon.com>: Dec 05 01:48PM -0800 Hello, Read this: Read all my following post about economy.. About Russia's economy... Read this: Why Switzerland was ranked the most economically free nation in Europe ? The important characteristics of Switzerland are: 1. Rule of law 2. Optimization of the Government size 3. Regulatory efficiency 4. Open markets Read more here: https://lenews.ch/2016/02/03/why-switzerland-was-ranked-the-most-economically-free-nation-in-europe/ So now about "Russia", Russia lacks many of the requirements for strong economy, read the following to notice it: "Russia's transition from a centrally planned economy to a more market-based system has stalled, and the country remains predominantly statist. Further economic reforms have been subordinated to the imperatives of political stability and government longevity. The private sector has been marginalized by structural and institutional constraints caused by ever-growing government encroachment into the marketplace. Large state-owned institutions and an inefficient public sector dominate the economy. The judiciary is vulnerable to corruption, and weak protection of property rights undermines prospects for optimal long-term economic development." Read more here: https://www.heritage.org/index/country/russia I think China is having a problem, it is not the trade war, it is the fact that it has done huge investments abroad, and many of those investments abroad are "inefficient" investments , they are bad investment, so it is causing to China more and more debt, and with this China is taking too much "risk" can become "dangerous" for China, here is the proof of that, look at this interesting video: Is Xi Jinping HOLDING BACK Chinese EXPANSION? https://www.youtube.com/watch?v=raooYdCh7vY And by analogy, because it is a risk that is dangerous, this risk that is dangerous look like the following risk when i said: == I said: "At the monetary policy level, inject or withdraw a mass monetary policies help to control inflation and to stimulate the economy by credit which result in more overall spending which it leads to economic growth and more investment which is beneficial for growth , except that monetary policy has a weakness if the borrowers are too much at risk of bankruptcy as was also the case in the united states in the crisis of year 2000. " Here is the proof, read the following: In 2001, when the recession hit the US economy, the Fed lowered the federal funds rate, increasing the liquidity in the economy. The borrowers were mainly those without jobs and income to back these loans, to buy houses. The easy credit plus upward spiral of home prices, made investments in high-yielding subprime mortgages increase further. Read more here: Reasons For The Late 2000s Financial Crisis https://themarketmogul.com/reasons-for-the-late-2000s-financial-crisis/ == Still about economy and quality.. Why Doesn't DUBAI care about OIL? Dubai has done the following to diversify and make successful its economy and become rich: - Lower taxes - Special economic zones - High degree of immigration freedom - It has attracted more investment Look at this video to know more about DUBAI: https://www.youtube.com/watch?v=aEs1uOzt3KM Still about quality As you have noticed growth in France will lower the unemployment in a significant way, but consumption is also a way in economics to lower unemployment more, but there is also another way to reduce unemployment is also to build quality products and services like in Germany to be more competitive and sell more locally and sell more globally to other countries, so I think France must also pay attention to the education sector that should become more efficient and of a better quality, because innovation and quality are dependent on it! and in being more effective in economy and education France will attract more and more smart people who innovate more and who create quality and growth, but I think that France is better "aware" today to face its challenges and I think it is able to meet them. Also I think that we have not to be pessimistic about France, because look at its growth and look at its other economic indicators: First look at the growth of France here: "Today's growth remains lower than the one that prevailed during the period 1975-2007, with a rate of 2.1% per year on average," observes Yannick L'Horty, a professor at the university. Paris-East - Marne-la-Vallée. However, it helps to increase the number of employees in the private sector, "so that unemployment will probably start to decline, at a very measured pace . " and look also at this about France: According to Bpifrance's semi-annual business survey, published on Monday, 41% of small and medium-sized enterprises (SMEs) report recruitment difficulties, an increase of seven points over a year. This indicator has never been higher since 2002. This situation reflects the inadequacy of supply and demand for employment. The government wants to remedy this , through its Skills Investment Plan (CIP), which plans to train by the year 2022 two million low-skilled people or remote from the world of work. But, as Mr. Martin points out, this program "has not yet produced its effects" since it is still in its infancy. Read more here to notice it: https://translate.google.com/translate?hl=en&sl=auto&tl=en&u=https%3A%2F%2Fwww.lemonde.fr%2Femploi%2Farticle%2F2018%2F07%2F25%2Fle-nombre-de-chomeurs-a-augmente-de-0-1-au-second-trimestre-2018_5335727_1698637.html So i think France is on the right path, and France must also balance the budget. Also here is my other thoughts of what France can also do: I observed more closely the model of for example the French system, and I found that contrarily to England, for example the weight of the public service in France is much more than that of England, so what can we also do in France to unlock economic growth and reduce the rate of unemployment? i think there is another solution that is reduce the size of the state to increase public revenue too, and also "reduce" taxes, because it is agreed that a lower taxes mechanically stimulates growth by the effect of the "multiplier "tax effect": indeed, it results in an increase in households or corporate profits, which favors consumption and/or investment, and therefore, indirectly, the production and employment, so it reduces unemployment. I have to be more precise about USA: I said before on my previous post that: "At the monetary policy level, inject or withdraw a mass monetary policies help to control inflation and to stimulate the economy by credit which result in more overall spending which it leads to economic growth and more investment which is beneficial for growth , except that monetary policy has a weakness if the borrowers are too much at risk of bankruptcy as was also the case in the united states in the crisis of year 2000. " Here is the proof, read the following: In 2001, when the recession hit the US economy, the Fed lowered the federal funds rate, increasing the liquidity in the economy. The borrowers were mainly those without jobs and income to back these loans, to buy houses. The easy credit plus upward spiral of home prices, made investments in high-yielding subprime mortgages increase further. Read more here: Reasons For The Late 2000s Financial Crisis https://themarketmogul.com/reasons-for-the-late-2000s-financial-crisis/ So reread my following thoughts: About offshoring and immigration and macroeconomics.. I am a white Arab, and here is my questions and my answers about offshoring and immigration and macroeconomics, read my following thoughts: Questions: What do i think about offshoring and macroeconomics? Answer: At the monetary policy level, inject or withdraw a mass monetary policies help to control inflation and to stimulate the economy by credit which result in more overall spending which it leads to economic growth and more investment which is beneficial for growth , except that monetary policy has a weakness if the borrowers are too much at risk of bankruptcy as was also the case in the united states in the crisis of year 2000. Also the second lever is the Keynes tax policy: Keynes recommends using an expansionary fiscal policy in case recession: reduce taxes and increase the state. In case of inflation, he recommends doing the opposite. The other criticism I make on the far right political parties, is that the far right makes us think offshoring as being just bad, but I do not agree with them, because read the following: Offshoring increases demand for more workers "qualified" and also have a significant positive effect on productivity, in Canada it is an increase in the "productivity" of order of about 10%, also according to some recent research the Offshoring of materials and services have both a positive and not negligible effect on productivity. When it comes to the repercussion on employment, the majority of empirical studies suggest that the general repercussions of offshoring on the employment levels are low (Amiti and Wei 2005, Mankiw and Swagel 2006). For proof, read the following document: https://translate.google.com/translate?hl=en&sl=auto&tl=en&u=https%3A%2F%2Fwww150.statcan.gc.ca%2Fn1%2Fpub%2F11f0027m%2F2008055%2Fs6-fra.htm And about immigration now: Look at this following video about: Why Does the USA Need More IMMIGRANTS? You will notice that the West "needs" immigrants because they are also good for economic "growth". But please look carefully at the following video to understand more: https://www.youtube.com/watch?v=DmRgnDrhE9o Thank you, Amine Moulay Ramdane. |
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page. To unsubscribe from this group and stop receiving emails from it send an email to comp.programming.threads+unsubscribe@googlegroups.com. |
No comments:
Post a Comment