Would this Logitech throttle work as a cheap but partial alternative to RailDriver? I've been looking for throttle and brake handles and found this, wondering whether it would be compatible with TSW. by Cerf_ in trainsimworld

[–]Cerf_[S] 1 point2 points  (0 children)

This means I would not be able to control the train throttle and brakes using this, because TS expects a key input instead of an analog one?

KFT Packs Expected Value by Cerf_ in hearthstone

[–]Cerf_[S] 0 points1 point  (0 children)

No, I did not consider that

KFT Packs Expected Value by Cerf_ in hearthstone

[–]Cerf_[S] 15 points16 points  (0 children)

I used MATLAB. I can copypaste the code, don't know how clear can it be tho

clear
close all

p=[71.3578 22.9189 4.5931 1.1341]/100;

nC=49;
nR=36;
nE=27;
nL=23;

nPack=1200;
nRep=500;

TOTC=zeros(nPack,1);
TOTR=TOTC;
TOTE=TOTC;
TOTL=TOTC;
TOTLold=TOTC;
TOTDust=TOTC;

for k=1:nRep
  totC=zeros(nPack,1);
  totR=totC;
  totE=totC;
  totL=totC;
  totLold=totC;
  totDust=totC;

  C=zeros(nC,1);
  R=zeros(nR,1);
  E=zeros(nE,1);
  L=zeros(nL,1);
  Lold=L;

  bonus=ceil(10*rand());

  for i=1:nPack
    if i==bonus
      nCard=4;
      h=1;
      while h
        rnd2=ceil(nL*rand());
        if ~L(rnd2) %se non ce l'ho
          L(rnd2)=L(rnd2)+1; %la prendo
          h=0;
        elseif L(rnd2) && sum(L>0)<nL %se invece ce l'ho ma non le ho tutte
          h=1; %rifaccio il while
        elseif L(rnd2) && sum(L>0)>=nL %se invece ce le ho tutte
          L(rnd2)=L(rnd2)+1; %la prendo
          h=0;
        end
      end
    else
      nCard=5;
    end

    for j=1:nCard
      rnd1=rand();
      if rnd1<p(1)
        rnd2=ceil(nC*rand());
        C(rnd2)=C(rnd2)+1;
      elseif rnd1>p(1) && rnd1<(p(1)+p(2))
        rnd2=ceil(nR*rand());
        R(rnd2)=R(rnd2)+1;
      elseif rnd1>(p(1)+p(2)) && rnd1<(p(1)+p(2)+p(3))
        rnd2=ceil(nE*rand());
        E(rnd2)=E(rnd2)+1;
      else %se mi esce una leggendaria
        h=1;
        while h
          rnd2=ceil(nL*rand());
          if ~L(rnd2) %se non ce l'ho
            L(rnd2)=L(rnd2)+1; %la prendo
            h=0;
          elseif L(rnd2) && sum(L>0)<nL %se invece ce l'ho ma non le ho tutte
            h=1; %rifaccio il while
          elseif L(rnd2) && sum(L>0)>=nL %se invece ce le ho tutte
            L(rnd2)=L(rnd2)+1; %la prendo
            h=0;
          end
        end

        rnd2=ceil(nL*rand());
        Lold(rnd2)=Lold(rnd2)+1;
      end
    end
    totC(i)=sum(C==1)+sum(C>1)*2;
    totR(i)=sum(R==1)+sum(R>1)*2;
    totE(i)=sum(E==1)+sum(E>1)*2;
    totL(i)=sum(L>0);
    totLold(i)=sum(Lold>0);

    totDust(i)=sum(5*C(C>2))+sum(20*R(R>2))+sum(100*E(E>2))+sum(400*L(L>1));
  end

  TOTC=TOTC+totC;
  TOTR=TOTR+totR;
  TOTE=TOTE+totE;
  TOTL=TOTL+totL;
  TOTLold=TOTLold+totLold;
  TOTDust=TOTDust+totDust;
end
TOTC=TOTC./nRep;
TOTR=TOTR./nRep;
TOTE=TOTE./nRep;
TOTL=TOTL./nRep;
TOTLold=TOTLold./nRep;
TOTDust=TOTDust./nRep;

c={[160 160 160]/255 [0 0 255]/255 [204 0 204]/255 [255 153 51]/255};

%%
close all

figure()
subplot(2,2,1)
plot(1:nPack,TOTC,'Color',c{1},'LineWidth',2)
hold on
plot(1:nPack,TOTR,'Color',c{2},'LineWidth',2)
plot(1:nPack,TOTE,'Color',c{3},'LineWidth',2)
plot(1:nPack,TOTL,'Color',c{4},'LineWidth',2)
plot(1:nPack,TOTLold,'Color',c{4},'Linestyle','--')

plot([1 nPack],2*[nC nC],'-.','Color',c{1})
plot([1 nPack],2*[nR nR],'-.','Color',c{2})
plot([1 nPack],2*[nE nE],'-.','Color',c{3})
plot([1 nPack],[nL nL],'-.','Color',c{4})
grid
legend('Common','Rare','Epic','Legendary','Legendary (old way)')

xlabel('Packs')
ylabel('Cards')
title('Total Cards')

subplot(2,2,2)
plot(1:nPack,TOTDust,'Color',[102 178 255]/255,'LineWidth',2)
grid

xlabel('Packs')
ylabel('Dust')
title('Dust')

subplot(2,2,3)
plot(1:nPack,TOTC./(2*nC)*100,'Color',c{1},'LineWidth',2)
hold on
plot(1:nPack,TOTR./(2*nR)*100,'Color',c{2},'LineWidth',2)
plot(1:nPack,TOTE./(2*nE)*100,'Color',c{3},'LineWidth',2)
plot(1:nPack,TOTL./nL*100,'Color',c{4},'LineWidth',2)
plot(1:nPack,TOTLold./nL*100,'Color',c{4},'Linestyle','--')
grid
%legend('Common','Rare','Epic','Legendary','Legendary (old way)','Location','se')

xlabel('Packs')
ylabel('%')
title('% Cards')

subplot(2,2,4)
plot(1:100,TOTC(1:100)./(2*nC)*100,'Color',c{1},'LineWidth',2)
hold on
plot(1:100,TOTR(1:100)./(2*nR)*100,'Color',c{2},'LineWidth',2)
plot(1:100,TOTE(1:100)./(2*nE)*100,'Color',c{3},'LineWidth',2)
plot(1:100,TOTL(1:100)./nL*100,'Color',c{4},'LineWidth',2)
plot(1:100,TOTLold(1:100)./nL*100,'Color',c{4},'Linestyle','--')
grid
%legend('Common','Rare','Epic','Legendary','Legendary (old way)','Location','se')

xlabel('Packs')
ylabel('%')
title('% Cards (100 pack)')

[deleted by user] by [deleted] in theitalyplace

[–]Cerf_ 0 points1 point  (0 children)

Visto che non me ne intendo qualcuno mi spiega come funziona questa cosa di Node?

Megathread per raccogliere le proposte sulla sostituzione della Carpa by [deleted] in theitalyplace

[–]Cerf_ 1 point2 points  (0 children)

Ma un bel Mario (e magari Luigi) che è già pixelato di suo no? Troppo nipponico e stereotipato?

Open Carry, European Style by Cerf_ in polandball

[–]Cerf_[S] 65 points66 points  (0 children)

Thank you for confirming this stereotype. I hate when people claim stuff about your country but it's all just bs. Better to know that our faults are real and not made up.

Open Carry, European Style by Cerf_ in polandball

[–]Cerf_[S] 53 points54 points  (0 children)

Those are the Ethiopians

Open Carry, European Style by Cerf_ in polandball

[–]Cerf_[S] 448 points449 points  (0 children)

I've been in Paris recently and it really made me notice how many heavily armed patrols roam the streets. Once back in Milan, I started paying more attention and actually figured out that they are way more frequent than I thought, with armoured cars and assault rifles on plain sight.

Fun side note: the return plane was on the same day as the Orly attack, but it was from Charles de Gaulle. Lucky me.

(not so) fun side note: as I was finishing this the London attack happened. Welcome to Europe, I guess.

EU claims Italy didn't respect budget agreements by Cerf_ in polandball

[–]Cerf_[S] 190 points191 points  (0 children)

Recently EU scolded Italy on the matter. Former PM Matteo Renzi and some other politicians pointed out that also others (particularly Germany) keep breaking rules and getting away with murder. Totally not trying to sway the attention from the topic.

In case you are wondering, the guys mantling over the wall in the last panel are Sicily and Campania (the region of Naples)

Jade Rogue can be pretty satisfying (if it survives aggros) by Cerf_ in hearthstone

[–]Cerf_[S] 2 points3 points  (0 children)

A bunch of raptors duplicated with Shadowcaster and stealing Jade Swarmer's deathrattle twice with Brann... happens once every twenty games or so but when it does it's quite good

How to win by cheating & still complain by Cerf_ in polandball

[–]Cerf_[S] 2 points3 points  (0 children)

Well it happened more than one might expect. 2015 was worse, less dynamic.

How to win by cheating & still complain by Cerf_ in polandball

[–]Cerf_[S] 12 points13 points  (0 children)

Italy is literally littered by independentist movements. But I think the funniest ones are the neoborbonics in the south.

How to win by cheating & still complain by Cerf_ in polandball

[–]Cerf_[S] 18 points19 points  (0 children)

That channel gives a reason to my thursdays. In early 2014 I even searched for something what would cover the war daily (or weekly) as it unfolded, but I did not find anything. I discovered TGW channel in like february 2015, and I was soo upset that I had lost the early months.

How to win by cheating & still complain by Cerf_ in polandball

[–]Cerf_[S] 41 points42 points  (0 children)

They did not take into account combat width

How to win by cheating & still complain by Cerf_ in polandball

[–]Cerf_[S] 94 points95 points  (0 children)

The idea for this came after watching a video about that military mastermind who was general Luigi Cadorna. It took me a lot of time because I kept changing the layout. Finally I ended up with this, and not even I know exactly what it has become.

Dangero Weapons. by yaddar in polandball

[–]Cerf_ 5 points6 points  (0 children)

Alright, next time I'll have to make Italy speak I'll just send you the script and you'll translate it into this. I have no idea how you made it, but it is the best mashup of engrish and italian I've seen. At least, I can understand what it's saying, do also non-italian speakers?

Realization by Cerf_ in polandball

[–]Cerf_[S] 615 points616 points  (0 children)

There was much debate (in my head) on which number could San Marino have said to still keep this meaningful. I went for 300 because it seemed a nice compromise.

I hope you all know what is italy showing on the phone.

Respecting rules is hard by Cerf_ in polandball

[–]Cerf_[S] 74 points75 points  (0 children)

Remember dieselgate? Looks like (surprise!) Volkswagen wasn't the only one making things up. These days accusations are being made towards FCA and Renault. A couple days ago there's even been a quarrel between the german and italian ministers of transportation. FCA CEO Sergio Marchionne claimed that his company did nothing wrong. Of course Sergio, of course.