sodium_nitride

joined 3 weeks ago
[–] sodium_nitride@hexbear.net 5 points 4 hours ago

That's true, but I don't think settlers are considered civilians under international law either way

[–] sodium_nitride@hexbear.net 6 points 4 hours ago

Tariffs and tax cuts are basically the only 2 things in which trump actually believes.

[–] sodium_nitride@hexbear.net 16 points 7 hours ago

Funniest possible outcome. The Germans found out it was stolen, try to get it back, fail, then agree agree for the money to be spent on Ukraine as a compensation. The money is never spent on Ukraine.

[–] sodium_nitride@hexbear.net 3 points 9 hours ago

Maybe it could be possible. I'll have to look into it.

 

So uh, I've been girlmodding for 2 months now (or is it 3? I forget), but I've been pretty lazy about it. Haven't bought a bra (I had a sports bra, but it was so uncomfortable to wear. Now going outside is getting uncomfortable because of chaffing), Haven't gotten proper clothes, or waxxed or any of that shit.

But, that stuff can be fixed relatively easily. The big thing I need is voice training. Unfortunately, I am like the worst person in the world for keeping my focus on things (I am 90% sure i have at least mild adhd). Plus, I have no idea how to actually voice train. So my question to you all is if there is some voice training app I can download.

I need something

  1. That works on android
  2. Tells me what to do
  3. Doesn't collect my data (I am not doing the legal route of transitioning)
  4. Is preferably just an apk file I can download and run on my phone.

Now this might seem like overly specific requirements, but I figured that it's 2025, there should be something out there.

If there isn't, I would be fine with just some tips and a guide. I will make my own bash scripts to keep me on track (idk how much of a joke this is).

*I know I could probably google this stuff but I am so godawfuly lonely I am willing to talk about anything.

[–] sodium_nitride@hexbear.net 4 points 22 hours ago (2 children)

No, I don't know what I'd do with them.

Actually maybe I could use them to compute some things but that'd be a different investigation entirely.

[–] sodium_nitride@hexbear.net 5 points 23 hours ago

It's the matlab operator for transposing a matrix or vector

[–] sodium_nitride@hexbear.net 54 points 1 day ago (3 children)

She capitulated to the right and the dem base didn’t hold the line, which is up for debate who is at fault I guess. Ultimately she and the DNC didn’t offer a likable and enticing enough alternative to get people to vote. And they’ll never learn the lesson they need to, they’ll just keep pushing right.

Second to the top comment.

Even Liberals are beginning to recognize patterns and connect dots.

We are truly living in the end times.

[–] sodium_nitride@hexbear.net 27 points 1 day ago

It's not even "no consequences to anything", but "the people dying and suffering are doing so outside my bubble"

Interpretation of the graphs.

Graph 1: We still see the same result. When the prices of an economy are at those predicted by the LTV, the income of every sector shrinks to 0, leading to perfect economic reproduction. However, we see that many economies have economic reproduction even without LTV prices. I have a hypothesis for this. Some of the randomly generated economies in the simulation are "disconnected", meaning that the different industries don't buy and sell to each other. In this case, the effect of prices of one industry on another are minimum, so the prices stop mattering much.

Graph 2: Same as graph 1, but the shape of the curve is different. Not really sure what to say about this

Graph 3: I found it very interesting that no matter how much I tried to increase the wages (at one point, I had a wage basket 2 times bigger than what the economy could actually produce on its own), the trade balance remained stubbornly positive for the overwhelming majority of the data points.

This could happen because the sectors were reorganizing themselves to exploit comparative advantage, even though I never coded them to do this!

Say the people of the country were consuming 1 million tons of grain, and 100,000 cars every time step. Producing a car takes 1 person-year, and producing a ton of grain takes 0.1 person years. This level of consumption would then require 2 million person-years of labor (1 million for the cars, 1 million for the grains).

Even if there were only 1.5 million people in the economy, they could, for example, spend all their labor producing cars. So they would make 150,000 cars and export 50,000 cars. If the price of the cars is much higher than the price of grains, they could just exchange the cars for enough grains while still maintaining a trade surplus.

This was one of the most surprising results I saw from this model.

Graph 4: This here was to test an assumption that many economists make about the economy. They assume that the profit rates of industries equalise over time. However, in my simulation at least, this never happens. There is like an invisible floor to how low the differences in profit rates can get.

I will be taking requests if someone wants me to generate data. I can change the number of sectors, the amount of wages. I can try different price seeking strategies, etc.

Also, I never thought I'd reach the "post your research annonymously on Hexbear" stage of my academic career.

[–] sodium_nitride@hexbear.net 6 points 1 day ago* (last edited 1 day ago) (2 children)

' %%%%%%%%%%

time = 100;
n = 10;
N = 100000;
connectivity = (2*n)^0.5; %The average number of intermediate commodities that go into making a commodity
threshold = connectivity/n;
e_l = 0.025;                 %proportionality rate at which hirings change per timestep
e_p = 0.025;                 %proportionality rate at which prices can change per timestep

Data = zeros([5 N*time]); %Pre allocating data matrix. Necessary to speed up simulation
Data_final = zeros([5 N]); %Pre allocating data matrix. Holds data on final time steps of each economy
w = 0.5; %Percentage of national production that the economy aims to give to labor

%%%%%%%%%%LOOP

for i = 1:N

    %Generate random workforce distribution between sectors
    L = rand([n time])*0.998 + 0.001;
    L(:,1) = L(:,1)./sum(L(:,1));    %Normalise the population to 1

    %Randomly generate direct labor use
    l = rand([n 1])*0.998 + 0.001;
    
    %Technical matrix:
    A = rand([n n]);
    A = A.*(A<=threshold);
    a = (eye(n)-A)\eye(n); %Storing the productivity matrix so it doesn't have to be recalculated over and over

    while sum(sum(a<0))>0     %If a has negative components, regenerate the economy and try again
        A = rand([n n]);
        A = A.*(A<=threshold);
        a = (eye(n)-A)\eye(n);
    end

    %LTV prices calculation
    LTV = sum(a.*l)';

    %Consumption
    basket = rand([n 1]);
    basket = w*basket./(sum(basket.*LTV)); %Consumption is scaled so that it can be in theory satisfied by the work of half the workforce

    %net production
    %o = zeros([n time]);

    %net income of sectors + agregate measures (pre-allocation)
    M = zeros([n time]);
    trade_balance = zeros([1 time]);
    profit_var = zeros([1 time]);
    
    %Randomised prices are generated for starting timestep (pre-allocation)
    P = zeros([n time]);

    %P(:,1) = rand([n 1]);             %randomly generates a set of prices

    
    %P(:,1) = (eye(n) - A - Cw)\rand([n 1]);
    P(:,1) = rand([n 1]);

    for k = 1:time
        
        if k>1
            hirings = e_l*(M(:,k-1))/sum(basket.*P(:,k-1));  %New Hirings are in proportion to the income available divided by wages
            L(:,k) = L(:,k-1) + hirings;   
            L(:,k) = L(:,k).*(L(:,k)>=(0.001/n)) + (L(:,k)<(0.001/n))*(0.01/n);   %This puts a floor on the size of sectors. Helps prevent the code from exploding.
            P(:,k) = P(:,k-1).*(1 - e_p*(hirings./L(:,k-1)));  %If the size of a sector doubles, the price decreases by e_p percent (from competititon)
            
            L(:,k) = L(:,k)./sum(L(:,k));    
        end

        P(:,k) = P(:,k).*((P(:,k)>=(0.001))) + (P(:,k)<(0.001))*(0.01);   %This puts a floor on the price. Helps prevent the code from exploding.

        %Calculate gross output of industries
        O = L(:,k)./l;

        P(:,k) = P(:,k)./sum(O.*P(:,k));%Normalises these prices so that total economy wide revenue is always 1

        Cw = basket * l';
        profit_var(:,k) = var(((eye(n) - A - Cw)*P(:,k))./P(:,k));

        %Calculate net production
        o = O - A*O;       %Net production can be negative. We will assume the existence of imports
                                %negative net production will show up as
                                %negative sales (the external market is
                                %selling to the economy)

        %Inter-industry sales
        R = O.*P(:,k);  %Market value of gross production by sector
        C = A' .*O*P(:,k); %Costs of inputs to production by sector
        
        %Industry to market sales
        S = o.*P(:,k); %Sales to consumers by sector
        Y = sum(S); %Total industry income from market sales
                    %Under balanced conditions, this income would be
                    %exactly matched by industry outflows to consumers
                    %(wages + dividends)

                    %Here it is assumed that the industry pays enough in
                    %(wages + dividends) to afford a fixed basket of 
                    % consumption.

                    %Any leftover income is the trade balance

        trade_balance(k) = sum((o - basket).*P(:,k));

        W = L(:,k).*(sum(basket.*P(:,k))); %Wages paid out vector by industry
        
        M(:,k) = R - C - W; %Net Income by industry
        
        M_per_worker = (1/n)*M./L(:,k); %I want to see if this givees any interesting results

        %Accounting identities
        % Y = sum(W) + trade_balance
        %Y = sum(R - C)

    end 
    %%%%%%%%%%%%%%Computing more time steps%%%%%%%%%%%%%%%%%%%%%%%%
    
    
    %%%%%%%%%%%%%Processing data%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

    %poopoo = LTV./LTV(1,:); 
    %Peepee = P./P(1,:); 

    ratios = P./LTV;
    ratios = log(ratios);
    ratios = ratios - mean(ratios);
    specific_price = sum(abs(ratios))/n;

    M = sum(abs(M));
    M_per_worker = sum(abs(M_per_worker));
    
    %specific_price = sum(abs(log(Peepee./poopoo)))/(n-1);

    % trade_balance; trade_intensity
    Data(:,(1+ (i-1)*time ):(i*time)) = [specific_price; M; M_per_worker; trade_balance; profit_var];
    Data_final(:,(1+ (i-1) ):(i)) = [specific_price(time); M(time); M_per_worker(time); trade_balance(time); (profit_var(time)).^0.5];

end
%%%%%%%%%%LOOP end%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

resolution = 1001;
scale = 1;

ptsy = linspace(0, 1, resolution);
ptsx = linspace(0, scale, resolution);
%ptsx = linspace(-0.1, 5, 1001);
%H = log(histcounts2(Data_final(2,:), Data_final(1,:), pts, pts));
H = log(histcounts2(Data(2,:), Data(1,:), ptsy, ptsx));
imagesc(ptsx, ptsy, H);
axis xy;
set(gca, 'XLim', ptsx([1 end]), 'YLim', ptsy([1 end]), 'YDir', 'normal');
colormap copper
a=colorbar;
a.Label.String = "Density of simulation outcomes [natural log scale]";
xlabel {Deviation from LTV prices [natural log scale]}
ylabel {Deviation from reproduction [linear scale]}
title {Absolute sector income vs LTV pricing}
exportgraphics(gcf,"repro_inv_M10.png","Resolution",600);

figure 
ptsy = linspace(0, 1, resolution);
ptsx = linspace(0, scale, resolution);
%H = log(histcounts2(Data_final(3,:), Data_final(1,:), pts, pts));
H = log(histcounts2(Data(3,:), Data(1,:), ptsy, ptsx));
imagesc(ptsx, ptsy, H);
axis xy;
set(gca, 'XLim', ptsx([1 end]), 'YLim', ptsy([1 end]), 'YDir', 'normal');
colormap copper
a=colorbar;
a.Label.String = "Density of simulation outcomes [natural log scale]";
xlabel {Deviation from LTV prices [natural log scale]}
ylabel {Deviation from reproduction (scaled by employment) [linear scale]}
title {Per worker sector income vs LTV pricing}
exportgraphics(gcf,"repro_inv_Mw10.png","Resolution",600);

figure 

ptsy = linspace(-1, 1, resolution);
ptsx = linspace(0, scale, resolution);
%H = log(histcounts2(Data_final(4,:), Data_final(1,:), pts, pts));
H = log(histcounts2(Data(4,:), Data(1,:), ptsy, ptsx));
imagesc(ptsx, ptsy, H);
axis xy;
set(gca, 'XLim', ptsx([1 end]), 'YLim', ptsy([1 end]), 'YDir', 'normal');
colormap copper
a=colorbar;
a.Label.String = "Density of simulation outcomes [natural log scale]";
xlabel {Deviation from LTV prices [natural log scale]}
ylabel {Trade balance [linear scale]}
title {Trade balance vs LTV pricing}
exportgraphics(gcf,"repro_inv_T10.png","Resolution",600);

figure 

ptsy = linspace(0, 2.5, resolution);
ptsx = linspace(0, scale, resolution);
%H = log(histcounts2(Data_final(5,:), Data_final(1,:), pts, pts));
H = log(histcounts2(Data(5,:), Data(1,:), ptsy, ptsx));
imagesc(ptsx, ptsy, H);
axis xy;
set(gca, 'XLim', ptsx([1 end]), 'YLim', ptsy([1 end]), 'YDir', 'normal');
colormap copper
a=colorbar;
a.Label.String = "Density of simulation outcomes [natural log scale]";
xlabel {Deviation from LTV prices [natural log scale]}
ylabel {STD of profitability rates of sectors}
title {Profit STD vs LTV pricing}
exportgraphics(gcf,"repro_inv_p10.png","Resolution",600);

'

 

This is a real big update to my simulation and reworks the entire logic of it. Though doing so allows me to investigate even more stuff. Check out the post on the old sim if you haven't seen it.

At this point, the sim has become so complex, I don't think I can explain it in as much depth as the previous one.

So I'll keep it simple and show you my assumptions, results, and code. There are 10 sectors in the economy this time (so the visualization has changed)

As always, "economic reproduction" is the condition where nobody in the economy gains or looses money by the end of the production period.

The code and pictures are in the comments.

Also, I'd like /u/Sebrof and /u/pancake@lemmygrad.ml to see this post.

Assumptions:

  1. There are no banks, governments, population growth or technological changes. None of these things are modeled yet since they distract from the point of the model, which is to see how labor prices and economic reproduction are related.

My next model will try to model these things to see if the relationship between labor prices and economic reproduction still holds

  1. The logic of this model is inverted to the last one. In the previous model, we started with a net output (sold to consumers) then calculated how much gross output would be needed (sold to consumers and to factories) to maintain this. This time, I randomly generate a gross output then compute a net output.

  2. I randomly generate 100,000 economies, each with its own technological level (the 10x10 A matrix), a set of prices (10x1 column vector), and employment in industries (10x1 vector). I assume everyone is employed. Also, this time, there is only 1 price vector per economy.

  3. For each economy, I randomly generate a "basket of consumption", which is the amount of products that its people will consume. I scale the basket so that it could be produced by half the labor of the economy, and keep the basket constant for all time.

  4. This time, there is foreign trade. If the economy produces more of a product than what is required for the basket, that's exports. Otherwise it imports.

  5. I simulate 100 time steps for each economy. Every time step, the sectors of the economy will update their prices and employment. There were many possible rules for choosing how these updates happened. I made it so that the sectors hire workers in proportion to how much money they have (divided by how much it costs to hire workers). Prices are scaled down as a sector grows (due to competition)

  6. Then I compute all the financial data (like revenues, wages, incomes, costs, trade imbalances, profits, etc) and plot it.

The important accounting identities are:

National income = Wages + trade balance

National income = Revenues of industry - Costs of industry (not including wages)

 

In fantasy: Whozha! I cast fireball qin-shi-huangdi-fireball

In reality: I have been tinkering with the runes (circuit symbols) in this spell (electrical circuit) for 12 hours straight with tears in my eyes and despair in my heart angry-hex

 

I don't care if the depicted woman is being transphobic. I don't care if she is being hypocritical about body modifications. I do not care that she is part of a fascist cult*. You don't make fun of that shit for exactly the same reason it sucks when libs become transphobic against shitty trans people. It's about setting a standard. You don't make fun of people's bodies or use them to score political points.

The reply to the top most comment should give be sufficient to tell you how the libs are treating this (combine that with their track record of being transphobic against people they don't like).

*if only unfunny comics could fight fascism. Trump wouldn't have made it past 2015.

 

Here is the lemmygrad post I made it at (don't wanna have to copy everything over).

Please give the post lots of heart-sickle, the post would really appreciate it

Don't be afraid to ask questions.

view more: next ›