• 0 Posts
  • 38 Comments
Joined 2 years ago
cake
Cake day: June 5th, 2023

help-circle









  • Average is the mean (i.e. sum of all “skill” divided by the amount of programmers)

    What they were thinking of is the median (50th percentile = 0.5 quantile), which splits the group in two equal sized groups.

    For a bell curve, they are the same values. But think of the example of average incomes: 9 people have an income of 10$, one has an income of 910$. The average income is 100$ ((10*9+910)/10). The median is basically 10 however.







  • thisfro@slrpnk.nettoMemes@lemmy.mlThe panzer has spoken
    link
    fedilink
    arrow-up
    128
    arrow-down
    1
    ·
    edit-2
    1 year ago

    They probably did, just not explicitly:

    You could write (6*1/100)*50 = 6*(50*1/100)

    It only uses the commutative property of multiplication and the fact that % is another way of writing 1/100.

    Maybe also worth remembering that “x% of y” is just x/100*y




  • Many older projects don’t get migrated to containerized infrastructure and smaller businesses don’t want the overhead it creates to run a single app/webpage. Plain LAMP with FTP access is still the most common way to host I think (and thus the cheapest if you consider the amount of work that would need to be invested to containerize).


  • I’m sure there are a lot of reasons why PHP is better than Python for the backend, but I created an app wirh Symfony 5 and then an app with Django 4.

    Symfony is so weird compared to Django. With Django I can just sit down and get things done. Symfony always seems to have some quirks which are mostly due to PHP (and me not knowing how to program in PHP).

    That said, PHP hosting is so much easier and cheaper, this probably is important for smaller projects.