beginner – Total factorial of the Euler project n ° 20 in Python

not! means n × (n – 1) × … × 3 × 2 × 1

For example, 10! = 10 × 9 × … × 3 × 2 × 1 = 3628800,
and the sum of the numbers in the number 10! is 3 + 6 + 2 + 8 + 8 + 0 + 0 = 27. Find the sum of the numbers in the number 100!

def fact (n):
"" "returns the factorial of n." ""
if n <= 1:
        return 1
    return n * fact(n - 1)


def count_digits(n):
    """Assumes n > 1.
returns the sum of the digits of the factorial of n. "" "
factorial = fact (n)
total = 0
for digit in str (factorial):
total + = int (number)
total return


if __name__ == __ hand __:
print (count_digits (100))

accessibility – Why WCAG 2.0 does not meet its own 1.4.8 line length criterion?

The phrase "Lines must not exceed 80 characters or glyphs"occurs in the section"Intent of this criterion of successThe very text of the Success criterion said:

1.4.8 Visual presentation: For the visual presentation of blocks of text, a mechanism is available to obtain the following: (Level AAA)

  1. Foreground and background colors can be selected by the user.

  2. The width does not exceed 80 characters or glyphs (40 if CJK).

  3. The text is not justified (aligned on both the left and right margins).

  4. The line spacing (line spacing) corresponds to at least a space and a half in paragraphs, and the spacing between paragraphs is at least 1.5 times larger than the line spacing.

  5. Text can be resized without assistive technology up to 200% in a way that does not require the user scrolls horizontally to read a line of text on a full window screen.

Source: Understanding WCAG 2.0, SC 1.4.8

At first glance, this could be seen as more prescriptive as the original quote: "is no longer than" instead of "should not exceed".

However, the preamble includes the phrase "a mechanism is available to reach" or "mechanism"is a" key term "defined at the bottom of this page as follows:

mechanism
method or technique for obtaining a result

Note 1: The mechanism can be explicitly provided in the content or can be used either by the platform or by the user agents, including assistive technologies.

Note 2: The mechanism must meet all the criteria for success of the level of compliance claimed.

A "mechanism" (provided by my Windows 10 platform) is to resize the browser window. If this is done, the site appears reasonably responsive and repositions the text to match the window, allowing you to choose your own maximum width:

enter the description of the image here

Downloading ecommerce products to your website for $ 20

Download ecommerce products on your website

If you are looking for someone to add to woocommerce I am here to help you !!!

My priority is to provide you with fast and quality service. I will add woocommerce products in your store. My first priority is your 100% satisfaction.

I will provide services of: * 100 products woocommerce with images, prices and description, etc.

* Product title Woocommerce

* Long description and short description

* Special price / price

* Category / subcategories

* Tags / Keywords

* SKU

One reason why you hire me ??

  • Quick answer
  • Delivery before the deadline
  • Experience
  • 100% quality and guaranteed time
  • 100% Money Back Guarantee If you are not satisfied with my job.

.

plugins – Website with more than 20 seconds of loading time

This is not my website, but someone asked me to check out his WordPress blog. I have never touched WordPress in my life, but I consider myself relatively computer savvy, so I thought I'd try it.

He keeps talking to me about Caching and is trying to find a magic optimization plugin on WordPress that will save the day, but I really do not think that's the problem, considering the fact that he has already several plugins for optimization and caching. I think that continually launching plugins on the problem could possibly slow things down. For the moment, he's 23. It does not seem like an absurd figure, although I think it could easily reduce it.


The first thing I did was to see if the problem was his host; I do not think it is. I found diagnostic web sites that said the host was fine, and a ping request to the site at the command prompt indicated a fairly normal response time of about 75 ms.

Then I tried to use GTMetrix and Pingdom to try to diagnose problems. I did it several times and it seemed like the initial html index file accounted for 70% of the loading time. I looked at the suggestions but none seemed to want to do much: use a CDN (my computer is in the same state as the host server), add the expiration headers (it only specified 5 files and, despite everything, really explain 20s?)

Redo tests and here are some scenarios; The results of Pingdom are now different from those described above, so take what I said with a grain of salt. Plus, I'm not sure why, but GTMetrix still has pretty good run times of a few seconds (3.7 seconds in this series) while in this series, Pingdom took 32.23 seconds.
GTMetrix

Pingdom uno

Pingdom back

So I doubt that it has provided much insight to anyone, but maybe yes. I've noticed that there are huge jumps between the same random script js and this googletagmanager thing; maybe someone could explain that?


I kept doing tests and research on google and saw that it took a long time to load the first html index file, which was weird; finally, I used the Google Performance Measurement Tool available in the Inspect Page menu and he indicated that a process (this thing: http://gc.kis.v2.scr.kaspersky-labs.com/26E3A360-F680-EE42-8566-5C7C91C35D44/main.js) took 20 seconds before allowing anything else to start charging. I saw kaspersky and I thought about security, antivirus, and so on.

Troubleshooting Google devTools

He had previously told me to put on its site antivirus and security plugins after many random connection attempts in order to be hacked. So I thought they could be the culprits. I tried to disable the 3 plugins related to security, but to no avail. I have not seen any improvement


I then went to see if there could be some plugin or if the number of plugins was the problem. Connected to his administrator account, I disabled all plugins and found a considerable improvement. After waiting 20 to 30 seconds for each load, seeing it load in about 4 seconds was like a flash. I've reloaded it several times to make sure it was not a coincidence before going through and disabling each plugin individually. I finally got to this plugin called "Tracking Code Manager" by IntellyWP. When it was activated, the loading time was unbearable: about 7 seconds without anything, followed by about 10 seconds of additional blank screen. When the plugin was deactivated, it took about 4 seconds to load the page. I've looked at the reviews of plugins and I have found no major complaints aside from the non-applicable compatibility issues. Nothing to do with slow times.


So, I went back to the guy who asked me to help him, sat in front of his computer and it was terribly slow, as before. I brought it back to my computer and it was fast enough, as I described above: ~ 4 seconds. I quickly realized that I only saw such fast times when I logged in to his administrator account. When that was not the case, it was the return to the good old days. I do not know why.


I wanted to see if it was his security plugins that were slowing down or slowing requests for unconnected sessions or something (idfk, I did not know what to do) and trying to open the site on my phone. He charged quickly, ~ 4s. I've thought, maybe it's just this IP address (we are all in the same building on the same network). I installed tunnelbear and connected from a random IP address in the US where we are, and that did not help.

I really do not know what to do. It makes no sense for me to understand why, once logged in to the admin account, it's fine, but otherwise it's unbearable to load. Now he is back to send me links on "WordPress Performance" and talk about caching plugins and optimization! As I said, he already has several, so I really do not think this is the problem, and no matter, he does not have a lot of resources on his site. This should not be the cause of loading time of 20-30 seconds.

Yes no matter who has had similar problems or has ideas, ideas or solutions, help me please. Sorry to spit information from a car manual, but if you're reading this, thanks!


TL; DR
Help look into a guy wordpress site, taking 20-30s to load. I do not think that caching or optimizing plugins is the question, as this would not explain 20s of downtime. I've removed each of its plugins until I find one called "Tracking Code Manager" which, when removed, speeds up the load times immensely, but only when you're logged in to the admin account. Otherwise, it made no difference. I do not know why. There is a lot more information that could give insight. Please help me, thank you!

Earn $ 20 using YouGov LEGIT – Other opportunities to earn money

Hi.

That's John

I would like to share with you my extra income which is YouGov.

This site allows to take surveys and turns into money.

Just click here and enjoy your winnings: https://ph.yougov.com/refer/-njc_eJb9EPbbuNHAAseAA/

Happy earnings and God bless

bye

Develop Android apps for you for $ 20

Develop Android apps for you

Would you need someone to develop the Android app then you are at the right place I will create native Android apps for you.

I am an expert in monitoring:

  • Music Apps
  • Calculator applications
  • Image App
  • Database App
  • Quiz App
  • Web App

My goal is to provide:

  • Best application in progress
  • Attractive layout design
  • Better job functions
  • high quality
  • Provide the application with the complete requirement of the user

You can see my demo works from images

Thank you

.

Sale – Cpanel, Plesk, DirectAdmin, Zimbra, Windows and Cloud Server Management Experts $ 20 / month / server | NewProxyLists

24x7TechnicalSupport.net, the support division to the outsourcing of Tecsys Solutions LLC, offers technical support and tailor-made outsourced server management solutions.
Our team consists of people with more than 12 years of experience in the web hosting industry and data centers. We offer customized solutions such as OpenStack / Cloudstack configurations, private cloud configuration, custom cluster creation, and more.

24x7TechnicalSupport.net at a glance:

  • Experienced and certified system administrators and technical staff.
  • 24 hours a day, 7 days a week, real presence for technical support and live chat.
  • Server management services for CPanel, DirectAdmin, Plesk, SolusVM, as well as regular Linux and Windows servers.
  • Free server monitoring with all server management plans.
  • Top Notch and professional office installation.

Price:

All plans include 24/7 monitoring coverage valued at $ 10.99 / month, no charge

We are also specialized in managing application servers for Jboss / Tomcat as well as ready to use Cloudstack / Openstack Configurations and other custom configurations.

Order our site now !! and Get in touch with us for promotional prices.

Earn between $ 20 and $ 50 per day of navigation, etc.

Go to irazoo.com and register. It works and it's fun!

Please use my reference code: 4TC47E

GIS Mapping and Remote Sensing for $ 20

GIS cartography and remote sensing

Hello, I am Uzban.I have more than 2 years experience as a GIS analyst and expert.

I can provide the following services

  • Raster and vector analysis

I have professional experience in the fields of

  • Geographic Information System (GIS) and Remote Sensing (RS)
  • Geodatabase Development and maintenance
  • Custom map production and web map development
  • Physical characteristics Digitization
  • GIS for urban planning, environment and development
  • Geolocation and georeferencing
  • Stereo configuration and photogrammetry creation in a block file.
  • Satellite image processing
  • Supervised and unsupervised classification

My software includes

  • ArcGIS
  • QGIS
  • ArcView
  • ERDAS IMAGINE 8.4 and 9

Do not hesitate to contact me.

.