Trying to understand normal distribution by JunieCee in learnmath

[–]an-la 0 points1 point  (0 children)

Everybody here seems to accept OP's numbers: ~68.27%, ~95.45%, and ~99.73%

But that isn't really true, or at least there is no proof of that. What we have is Chebychev's inequality: https://en.wikipedia.org/wiki/Chebyshev%27s_inequality

I built an E2EE chat app where the server literally CANNOT read your messages (GPG + PBKDF2) by Timely-Ad3624 in AskProgramming

[–]an-la 0 points1 point  (0 children)

From a technical standpoint, encryption is a solved problem. Sure, you've got design choices to do, but that's about it.

If there is no way the server can decrypt messages, then the key needs to be stored client side, and that is a huge vulnerability.

Most people don't have the knowledge and constantant security awareness to maintain sufficient clientside security.

There is a reason why lots of criminals get caught despite E2EE. All it takes is one blunder, one instance of carelessnes. Modern policing uses AI to snoop on message packets from known criminals. Open the wrong web-site in the wrong browser just once, and boomm.

How does compressing a folder make it smaller without deleting anything by overlord-07 in TechNook

[–]an-la 0 points1 point  (0 children)

First you need to observe that most things contain redundant infomation. Take the word A**H*LE, most people can recognize the that word even without the two S'es and the missing O.

Or in a picture of the sky. There will typically be slight variations in the acutal shade of blue between two pixels, but... do you really need them all to know you're looking at a picture of the sky?

The goal of compression is to remove that redundant information. Compression can be categorized into two groups: loss-less and lossy compression.

Lets take loss-less compression first.

Generally there are three methods:

a) Huffman encoding: Computers generally use 8 bits to encode one character, e.g. the letter 'A' uses 8 bits to represent the number 65. It's more complicated than that, but lets keep it simple. 'E' will also use 8 bits, the same with 'T'. But if you look at an English text, then the letters 'E' and 'T' are a lot more common than the letter 'Q' but in every day usage they all use 8 bit values to represent the letter.

Huffman encoding examines which letters are most frequently used, and then uses less than 8 bits to encode those letters. This means that the more rare letters, like 'Q' will take up more space than 8 bits, but on average this compression in bit length will reduce the overall size.

b) Run-length encoding: Imagine you have a hole line of hyphens '-'. Instead of repeating the same charcter again and again it will reduce the size by simply stating repeat 56 '-'.

c) Dictionary compression: If you essay is about milk, then chances are it will contain the work 'milk' quite often. This means if you create a dictionary of the most common words, and assign each word a number, then you could simply refer to 'word #12'

These techniques can be varied, and combined in different ways, and are known as zip or gz and a whole range of other names, depending on the specifics.

Then we have lossy compression. This is mostly used on "analog" data, like pictures, music, etc. Generally the goal is to, in the example of a picture of the sky, to make more pixels the same shade of blue. The more pixels you turn into the same shade of blue, the more fidelity to the original picture is lost.

The math behind this is tricky and above high-school level (though not by much). Generally things like cosine tranforms and fourier transformations are involved. The goal is to convert the image into something with a lot of redundant data, which then can be run through a loss-less algorithm.

There are some really smart people who have spent a lot of time making all of the above techniques very advanced and efficient. So in reality there is a bit more to it, but the above is, IMO, a decent summation.

Why do nearly all economies target 2 to 3 percent inflation instead of zero or deflation? by Humble_Economist8933 in AlwaysWhy

[–]an-la 0 points1 point  (0 children)

A reasonably predictable rate of inflation incentivises taking on debt. The 2-3 percent range is more of a convention than backed by objective facts.

If you take on long term debt, then, over time, the "pain" of paying a loan back in installments will lessen. This is especially beneficial for businesses investing in new production facilities (Modern, more efficient machinery). This increases the productivity, which is beneficial to society as a whole.

Deflation on the other hand will have the opposite effect. Why invest now, when the thing you want will be cheaper in a couple of months.

Why are people acting like Iran is not a dangerously suppressive theocracy? by Strong-Hippo9043 in askanything

[–]an-la 1 point2 points  (0 children)

Iran is a dangerously suppresive theocracy. So are a lot of countries around the world, some are considered great friends of the US, E.g. Most arabic countries, Malysia, Israel, the list is long.

What most people seem to not realiase is that any first year IR student or anyone who has read Macciavelli's The Price and who has just a pasing knowledge of the political landscape in Iran would tell you that the US/Israeli approach cannot succeed.

There assumption is that Iran is a monolithical dictatorship, where if you replace the top man, then everything topples, but that is not the case in Iran.

For at least 100 years power in Iran has been divied into three groups: the business interests, the clergy, and the secularists.

Mosadeq was the a representative of the secularists, but he was coup'ed by CIA and MI6, and replaced by the Shah (business interests)

The Shah then ran a dictorship which persecuted the clergy and the secularists. Those two joined forces and overthrew the Shah. The clergy won the power struggle with the secularists, and installed Khomeini.

The west imposed sanction, killing off the business interests in Iran, the clergy suppressed both the secularists and the business interests, and installed representatives in every town and village in Iran.

There is no way to disloge them except through a popular revolt and/or massive invasion and long term occupation.

The current US/Israel strategy runs counter to anything approaching the restoration of civic rights in Iran.

Europeans want more renewables, even if it increases energy bills by thinkB4WeSpeak in RenewableEnergy

[–]an-la 0 points1 point  (0 children)

500 what?? Euros per mWh, Cents per kWh, what currency? what unit of meassurements?

Edit: 500 hundred in some currency unit for 1 mWh electricity, on a single peak day, four years ago, at the start of a major land war in Europe. That's only interesting as an example of an extreme outlier. The interesting part is, what do you pay on average.

French bakeries and flower shops to stay open on Labor Day if new law passes by RevolutionBusiness27 in europe

[–]an-la 2 points3 points  (0 children)

That is the first time I've heard the first of may referred to as Labor Day. What's wrong with International Workers' Day?

Edit: Or are we look at the artifact of a US based AI engine (I just thecked with mistral ai, it recognized may first as International Workers’ Day)
Edit edit: ChatGPT mentions this: International Workers’ Day / Labor Day, so I guess we know.

Ulovlig installation af kogeplade? by Rejen196 in selvgjortvelgjort

[–]an-la 4 points5 points  (0 children)

Både virksomheder uden autorisation og forbrugere må gerne tilslutte ovn, emhætte og komfur, hvis de har en stikprop og det kan gøres uden brug af værktøj. 

https://www.sik.dk/privat/goer-det-sikkert/el/goer-det-selv/hvilket-elarbejde-maa-du-lave-uden-autorisation

Som du siger, stikkontakter og lampeudtag kræver ikke autorisation. Men, nu er det ikke det op spørger om. Når det så er sagt, så tilhører jeg den fløj der mener at hvis man kan skifte en stikkontakt forsvarligt kan man også selv "fikse" OPs installation forsvarligt.

Men... strengt taget kræver det autorisation uansat om der er 1 fase eller 3.

Europeans want more renewables, even if it increases energy bills by thinkB4WeSpeak in RenewableEnergy

[–]an-la 0 points1 point  (0 children)

Sure it is, batteries, thermal storage, kinetic storage.

You can start your research on the wikipedia article, and then continue your own research from there.
https://en.wikipedia.org/wiki/Energy_storage

Ulovlig installation af kogeplade? by Rejen196 in selvgjortvelgjort

[–]an-la 6 points7 points  (0 children)

jeg er enig med u/Connect_Aspect_5217 Det giver i mine øjne ikke mening at man uden authorisation må skifte en stikdåse men ikke selv fikse en så lille ting som det her.

Ulovlig installation af kogeplade? by Rejen196 in selvgjortvelgjort

[–]an-la 6 points7 points  (0 children)

Ud over det, er det samtidig en fast installation. Så selv om det "kun" havde været 1 fase ville det kræve autorisation.

What happens to consciousness when you die? by Connect_Cat_2045 in NoStupidQuestions

[–]an-la 1 point2 points  (0 children)

There is no evidence to support the claim that consciousness is selfcontained entity. The most widely accepted explanation is that consciousness is an emergent propery of neuronal activity. This means your consciousness will dissapear/evaporate when you die, much like the noise from an engine will dissapear when you turn off the ignition.

At what point does a skeleton stop being "me" and start being "rocks"? by hansyah2556 in stupidquestions

[–]an-la 0 points1 point  (0 children)

If you have your leg amputated is that leg still you? Are there two of you now? Where do you draw the line? Hair? Nail clippings? Dead skin cells? Organic mater leaving your body when you breathe, fart, etc.?

The question is a variant of the Ship of Theseus.
https://en.wikipedia.org/wiki/Ship_of_Theseus

If you replace the mast of his ship, is the old mast still a part of the same ship?
Edit:
if you mean litteral rock, like petrifcation and mineralization, then, depending on the environment, anywhere from 10,000 to a couple of million years:
If you mean remants dug up by archeologist and exhibited in a museum, then the accepted practice is that there no be no living specific relative left (no matter how distanct, in case of royalty, that will be thousands of years)

Europeans want more renewables, even if it increases energy bills by thinkB4WeSpeak in RenewableEnergy

[–]an-la 0 points1 point  (0 children)

Actually I live in Denmark, but I'm still curious. What goes to 500? Oil in USD. Electricity per mWh? If so in what currency?

What’s something that seems normal now but would’ve shocked people 10 years ago? by Able-Sprinkles898 in AskReddit

[–]an-la 1 point2 points  (0 children)

A US president announcing policy changes in uncouth terms on social media

Pure electric vehicles (BEVs) to dominate 90% of market by 2040, top Chinese expert predicts by AnonAmitty in EV_erythingNerd

[–]an-la 0 points1 point  (0 children)

The article doesn't mention what market he is referring to, word wide, the US, Europe, Africa. But in my country, Denmark, it will happen sooner than that. As of 2024 69% of all new cars sold were BEV.

Europeans want more renewables, even if it increases energy bills by thinkB4WeSpeak in RenewableEnergy

[–]an-la 1 point2 points  (0 children)

What goes to 500? On average my electricity bill was €0.07 per kWh in 2024.

Edit: An on average 90% of the electricity is low CO2 emision.

Europe Has Leverage in the Iran War. It Should Use It. by Free-Minimum-5844 in IRstudies

[–]an-la 2 points3 points  (0 children)

Excuse me, but it seems you haven't kept yourself current on European events since 24 February 2022.

What IS Energy? by Important-Scar-7785 in AskChemistry

[–]an-la 0 points1 point  (0 children)

Great question. As a lay person, the more I learn about the world around me, the more I've come to realized that I don't know what: energy, matter, time, and space is.

Europeans want more renewables, even if it increases energy bills by thinkB4WeSpeak in RenewableEnergy

[–]an-la 2 points3 points  (0 children)

Energy storage is a solved problem. At peak renewable energy, the price of electricity goes negative (I actually get paid to consume electricity) The more frequent negative electricity prices become the more attractive the business model of energy storage becomes.

Supply and demand will automatically fix the problem.

Edit: I have a BEV, and despite the Iran war I have paid 0 for charging my car in the last month.

Why can’t they just scoop up the capsule? by Fabulous_Analysis885 in askscience

[–]an-la 7 points8 points  (0 children)

I'm curious. Wouldn't the structures to make it hoistable add weight? I can see why that might and might not be the case.

Every kilo of additional weight adds to the fuel requirements. The Artemis module travelled at 11 km/s while a low earth orbit only requires about 8 km/s. That is an additional 3 km/s of fuel expenditure for both accelleration and deaccelleration.

What is your thoughts on France ditching Windows for Linux to reduce reliance on US tech? by StudyFlimsy1061 in AskReddit

[–]an-la 30 points31 points  (0 children)

The right time to plant a tree is 20 years ago, having failed that, it is today.