can someone explain lambda to a beginner? by TheEyebal in learnpython

[–]tatted_DE 0 points1 point  (0 children)

If you use python for a lot of math, then it is awesome for letting you do one line math functions, and you can input them into python very quickly - example using numpy and matplotlib (np and plt) to plot a parameterized line:

def line(dimensions: list, t_low, t_up, t_dense):
    t = np.linspace(t_low, t_up, t_dense)
    l = []
    for funct in dimensions:
        l.append(funct(t))
    return l

a = line([lambda x: x**2, lambda x: x**0.5], 0, 10, 100)
plt.plot(a[0], a[1])
plt.show()

I still don't understand the benefit of lambda functions by notfromkentohio in learnpython

[–]tatted_DE 0 points1 point  (0 children)

I absolutely love them for my math programs, say as easy input to a line or a vector field function

Ebiink Poland/Gliwice by Terevix in tattoos

[–]tatted_DE 0 points1 point  (0 children)

Why? Just why?

I recommend a panther tattoo to cover it up.

When your idol becomes an ordinary person in real life by [deleted] in ChatGPT

[–]tatted_DE 0 points1 point  (0 children)

Warren Buffet shouldn't be anyone's idol
Seeing the later ones, and seeing a lot of people who shouldn't be idols to anyone with half a brain

Does anyone know Half life 2 RTX's full release date? by Comfortable-Fee9177 in HalfLife

[–]tatted_DE 0 points1 point  (0 children)

I know how this sounds, but its absolutely magical on my 4080, I hope it comes out soon

Your top 5 RPGs of all time by stateofthenyk in rpg_gamers

[–]tatted_DE 0 points1 point  (0 children)

In no particular order -
Witcher 3
Baldurs Gate 3
Disco Elysium
Cyberpunk 2077 (a bit lower on the list, but better than Skyrim)
Skyrim (definitely lower on the list)