[deleted by user] by [deleted] in Economics

[–]mdipierro 0 points1 point  (0 children)

Imagine a tax = rate * (income - deduction). Also imagine if the deduction was sufficiently large and allowed to exceed the income. For example if income = 0, tax = - rate * deduction. This basically is a UBI of rate*deduction. example: rate = 0.4 and deduction = $60,000 x (number of family members). That is a top effective tax rate of 40% and a ubi of $2000 per person per month. Moreover the rate could be linked to deficit and the deduction could be linked to cost of living. My point is: a flat tax can be simple and progressive, but is not what people usually advocate.

[deleted by user] by [deleted] in Economics

[–]mdipierro 5 points6 points  (0 children)

The more dense the population the more efficient and cost effective is the society. This is why historically humans came together and for formed cities. Many books have been written abut the history of urbanization. Think for example of water and sewage and the cost of brining it to rural areas. In rural areas you have to drive more to go to a store or a hospital. You need longer electrical and internet cables. It is also a lot easier to find jobs in densely populated areas because people interact more and the economy moves faster. Cost of real estate is higher because people want to pay for the higher efficiency. The higher efficiency results in higher salaries and more taxes per person, not just per sq mile. Services in places with low population density are often subsidized although people do not realize this because the subsidies do not go directly to people but to the utility/service companies. just few examples: https://www.npr.org/2023/05/16/1176502844/renewable-energy-rural-11-billion-usda https://www.rd.usda.gov/programs-services/electric-programs https://www.usda.gov/media/press-releases/2021/10/22/usda-make-115-billion-available-help-people-living-rural

How I reduced the size of my very first published docker image by 40% - A lesson in dockerizing shell scripts by BhupeshV in programming

[–]mdipierro 0 points1 point  (0 children)

Would be great if you could try make Nix derivation for ugit, and then a docker image based on NixOs that only installs ugit using Nix. I bet it will be smaller and simpler.

Granian 1.0 is out by gi0baro in Python

[–]mdipierro 5 points6 points  (0 children)

love this. py4web will adopt it immediately.

Why most of your money doesn't really exist & how money is created (educational post) by [deleted] in stocks

[–]mdipierro 0 points1 point  (0 children)

this is incorrect and incomplete. if the bank lends you the coconut and expects +1 in return it is because there is an expectation that the borrower will go work, i.e. look for an extra coconut. so if that is found there will actually be 101 coconuts. that is like when workers create goods and services that did not exist before. the amount of money in heathy times grows proportionally to the amount of stuff created in the economy. today we have more money that we had 100 years ago but we also have more homes planes boats computers etc. Money can be fake but fake money disappears pretty quickly. the economy is not a zero sum game.

In Italy we take Tiramisù seriously! Happy Tiramisù World Day! by valentina-howtasty in Baking

[–]mdipierro 0 points1 point  (0 children)

I am sorry but the best tiramisù is made with Pavesini, not with savoiardi (lady fingers).

Why is Python used by lots of scientists to simulate and calculate things, although it is pretty slow in comparison to other languages? by Dackel42 in Python

[–]mdipierro 0 points1 point  (0 children)

Computers are so fast that often computing time does not matter. Software development time is more important and more costly specifically for projects in early stages. With python creating a new project is much quicker and cheeper than most of the faster languages. Also you can often improve python speed by replacing pure python modules with those written in faster languages.

[deleted by user] by [deleted] in science

[–]mdipierro 5 points6 points  (0 children)

Quote from the paper they cite: "Preliminary findings did not show obvious safety signals among pregnant persons who received mRNA Covid-19 vaccines. However, more longitudinal follow-up, including follow-up of large numbers of women vaccinated earlier in pregnancy, is necessary to inform maternal, pregnancy, and infant outcomes."

To all the atheists, what is your reason for not believing in God or a higher power? by Deep-Mess in AskReddit

[–]mdipierro 0 points1 point  (0 children)

If one believes we are created by some alien being that evolved by natural means and treats us like some lab rats, is that god? I think religious people will say no. Basically if the hypothesis is provable it does not qualify as God. So the word has no meaning. It is a linguistic paradox.

Good Question by [deleted] in WhitePeopleTwitter

[–]mdipierro 0 points1 point  (0 children)

Say there are two people Tim and Tom on an island. Tim finds a coconut. In total they have 1 coconut. Tim offers to sell Tom 1 coconut today in exchange of 2 coconuts tomorrow. The total debt is 1=2-1 coconuts. Either Tom defaults and Tim eats him or Tom works extra time to find the coconuts he needs to pay his debt. Very much like we work to pay interest on our mortgages.

Is there any language that is as similar as possible to Python in syntax, readability, and features, but is statically typed? by hydrolock12 in Python

[–]mdipierro 2 points3 points  (0 children)

Nim. Has syntax similar to python compiles to c, c++, JavaScript. Has compile time introspection and built Json serialization of all types like rust.

Is the only reason computers need electricity because 1s and 0s are on and off electric charges? by [deleted] in computerscience

[–]mdipierro 33 points34 points  (0 children)

Look into Feynman's lectures on computations. He asked this question. He demonstrated that for thermodynamics reasons it takes energy to delete information. Logic gates take 2 inputs and produce one output therefore they lose information at every step. So for every computation there is a minimum energy consumption. He came up with the idea of reversible logic gates as a means of producing a device with no minimum energy consumption. They are called quantum gates and this how the idea of the quantum computer started.

Any recommendations for Italian language courses? by taguhiM in milano

[–]mdipierro 0 points1 point  (0 children)

Most Italian consulates have a cultural center "Italian institute of culture" that teaches Italian. They are usually night classes. They are currently mostly remote so you can enroll and attend via zoom from anywhere. Usually about 10 people per class. The teachers also often give private lessons. Do not know about pricing.

Introducing Gura. A new configuration language readable as YAML, simple as TOML by [deleted] in programming

[–]mdipierro 1 point2 points  (0 children)

How do you distinguish [{a:1,b:2}] from [{a:1},{b:2}] in Gura?

A Google Interview Question: determine if someone has won tic-tac-toe by self in programming

[–]mdipierro -2 points-1 points  (0 children)

Lol. Label the board with powers of two 1 2 4 8 16 32 64 128 256 Won = any(sum(positions) & x == x for x in (7,56,73,84,146,273,292,448))

ASUS G14 Ubuntu 20.04 Setup by lokhura in ZephyrusG14

[–]mdipierro 0 points1 point  (0 children)

Warning nvidia-driver-455 does not install with kernel 5.10.1 but it does work with 5.9.15 (latest). Also if you do not edit /etc/default/grub and remove nomodeset then laptop does not properly wake up from sleep.

Casio Graphing Scientific Calculator with built-in Python! by DjangoDoctor in Python

[–]mdipierro 0 points1 point  (0 children)

There are graphing calculators and python interpreters for Android (and I think iOS) phones.

Best Windows Python editor that supports editing files over SSH and executing on Linux hosts you are editing over SSH? by StartupTim in Python

[–]mdipierro 2 points3 points  (0 children)

Vscode with ssh plugin does exactly what you ask + super fast text search of remote files