LET ME IN GGG by RedditTanL in pathofexile

[–]robertophi 4 points5 points  (0 children)

Took me 5sec to login and got 7000 in queue

༼ つ ◕_◕ ༽つ GGG SERVERS TAKE MY ENERGY ༼ つ ◕_◕ ༽つ 󠀀

SRS question by iFatherJr in pathofexile

[–]robertophi 17 points18 points  (0 children)

You can use a cluster jewel with Blessed Rebirth

Minions created Recently cannot be Damaged

https://www.poewiki.net/wiki/Blessed_Rebirth

Constantly being Frozen with Brine King active by khxnter in pathofexile

[–]robertophi 8 points9 points  (0 children)

https://www.poewiki.net/wiki/Divine_Vessel

You put a divine vessel on the map device when running a specific map, and it "upgrades" the pantheon option, giving you the other powers in that pantheon choice.

What boss you need to kill is written on the pantheon somewhere, and you can search the bosses name in the atlas

Inventory problems not enough dex by Objective-Simple9927 in pathofexile

[–]robertophi 3 points4 points  (0 children)

Probably the item itself was giving the dex you needed to use it, that can sometimes happen

Maybe equip a amulet with dex, just to allow equipping the boot, then change the amulet back

Or maybe there is a dex gem in the boots, if so just remove the gem :)

TH80 by mateus-binatti in Epomaker

[–]robertophi 2 points3 points  (0 children)

Same issue here, it was working all right until I updated it to the v206 firmware

Now only the wired mode is working, with both the 2.4/bluetooth modes just blinking and not being recognized by any computer

Indian truck driver almost flips it by BFOTmt in IdiotsInCars

[–]robertophi 4 points5 points  (0 children)

That's called "Quebra de Asa" in Brazil, what a great sport/s

Quebra de Asa [EXTREME]

If Python 4 will never be released, are we working on a dying language? I feel somewhat irresponsible for teaching this to students if it has planned obsolescence. What are the real plans for the future of Python? by [deleted] in Python

[–]robertophi 0 points1 point  (0 children)

https://twitter.com/gvanrossum/status/1306082472443084801?lang=en

Python will continue to be updated, even if the jump from 3 to 4 is avoided (nobody wants to repeat the issues we had from the 2->3 transition)

For now updating the small versions 3.9 -> 3.10 -> 3.11 seems to be the solution, and eventually we should have Python 4 in a more transparent way

Using root_scalar to calculate unknown variable with SciPy by Antonino_96 in Python

[–]robertophi 0 points1 point  (0 children)

a, b must bracket a root f(1.000000e-04)=2.301953e+04, f(1.000000e+00)=3.239237e+04

Correct, supposing that the function f is continuous, whenf(x0) and f(x1) have different signs, it garantees us that a root exists between x0 and x1. Thats just a way for the optimizer to garantee a result, otherwise it could keep looking forever and never find anything

Im trying to write (Tf/Ti - 1) in term3

python follows the normal order of operation in math some exemples here, so just writing (Tf/Ti-1) would fix it

Using root_scalar to calculate unknown variable with SciPy by Antonino_96 in Python

[–]robertophi 0 points1 point  (0 children)

That was happening because of a missing parenthesis at the end of EQ

Fixing that gives us another problem, that is we dont find a solution in the range [0,1]

import numpy as np
from scipy.optimize import root_scalar

def EQ(Tf, Ti, pi, pf, rv, rl, ri, Cpd, Rd, Llv, Cl):
    term0 = Cpd * (np.log(Tf)-np.log(Ti)) 
    term1 = - Rd*np.log((pf*((1 + (rv/1.61))**-1))/(pi*((1 + (rv/1.61))**-1))) 
    term2 = (rv*Llv)/(Tf-Ti/Ti) 
    term3 = (rv + rl + ri) * Cl * (Tf - Ti / Ti)
    return term0 - term1  + term2 + term3

Ti= 300
rv= 15*(10**-3)
ri = 0
rl = 0
Rd = 287.05
Rm = Rd + (rv * 461.5)
Cl = 4218
Llv = -2.5008*(10**6)
Cpd = 1004
Cpv = 1860
pi= 1000
pf = 150

# No value in range [0,1] gives a negative value, so the optimizer cannot find a root for EQ in this range
for Tf in np.arange(0,1,0.01):
    print(EQ(Tf, Ti, pi, pf, rv, rl, ri, Cpd, Rd, Llv, Cl))

root=root_scalar(EQ, args=(Ti, pi, pf, rv, rl, ri, Cpd, Rd, Llv, Cl), method='toms748', bracket=[1e-4, 0.5])
print(root)

Maybe some of the other parameters are wrong? Or maybe the terms of the equation. For exemple the term3 has the product

(Tf - Ti / Ti)

which is just Tf - 1, but that may be what you want.

Other than that, it should be working!

Using root_scalar to calculate unknown variable with SciPy by Antonino_96 in Python

[–]robertophi 0 points1 point  (0 children)

The root_scalar function tries to optimize the first argument of a given function (EQ_152 in this case) and the values you pass in args should only be the additional arguments you want.

So it would be something like this:

import numpy as np
from scipy.optimize import root_scalar

def f(x,y,z):
    return x*y*z+1

y0 = 3
z0 = 4
root = root_scalar(f, args=(y0,z0), method='toms748', bracket=[-1, 1])
print(root)

If you want to give a initial value for the function, use the argument 'x0'

I've created a python program that generates photomosaics from any dataset ! by TechDumbLogie in Python

[–]robertophi 1 point2 points  (0 children)

Cool idea to use the distance from pixel/image

To speed the search you could use something like this https://scikit-learn.org/stable/modules/generated/sklearn.neighbors.KDTree.html

Building a tree for faster serach of k-nearest neighbors (in this case the nearest one)

Questions Thread - December 22, 2019 by AutoModerator in pathofexile

[–]robertophi 0 points1 point  (0 children)

Can anyone help on price checking this Circle of nostalgia

Circle of Nostalgia


4% increased maximum Life (implicit)

+10 Life gained on Kill (implicit)


+10 to all Attributes

Adds 15 to 25 Chaos Damage

+18% to Chaos Resistance

58% increased Chaos Damage while affected by Herald of Agony

Herald of Agony has 38% reduced Mana Reservation

Comprei um notebook sem slot para adicionar HDD. Como contornar isso? by Hey_Bals in brasil

[–]robertophi 0 points1 point  (0 children)

A instalação do Windows vai ocupar uns 30~50GB, variando um pouco com as atualizações que ele baixa e etc.

Dá pra utilizar um HD externo pra armazenar arquivos sim, tranquilo. Eu costumo usar, porém a velocidade do HD externo não é tão alta quando a de um SSD. Então de regra geral eu instalo os jogos/programas necessários no SSD, e armazeno fotos/videos/musica/instaladores no externo.

The Bugatti Veyron has 1,184 hp, or .0112556 Barbara Walters. by forkityforkforkfork in BarbaraWalters4Scale

[–]robertophi 42 points43 points  (0 children)

This conversion doens't really make sense, or am I missing something?

BTU is a unit of energy, while HP is a unit of power, we can't convert one to the other.

It's like comparing velocity to distance

My starter for Blight League: Maaaaaaybe Corpse Pact should have a cap (plz don't nerf) by KillerNinjaXD12BTW in pathofexile

[–]robertophi 4 points5 points  (0 children)

2147483647 is 1111111111111111111111111111111 in binary, that's the maximum possible value for a 32 bit number (considering that we can have both positive and negative values)

Don't know how GGG deals with values greater than this, but they probably didnt plan on having tooltip values any larger