Details
-
AboutStill learning. I'm currently interested in both web development and data analysis. I'm also trying to learn linux stuff, but I'm going kinda slow on that.
-
SkillsPython, Django, Html, CSS, JavaScript
-
LocationSantiago de Chile
Joined devRant on 8/11/2017
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
@bittersweet I think it could be confused with multiple assignment:
a = b = 1 -
@turbopixel It may be useful as a default but it's still strange nonetheless.
-
I did something similar yesterday but with a lambda. I needed to add an optional post processing function as an argument to another function but I hate None defaults as they add that ugly "if x is None" boilerplate, so my default post processing function was an identity function "lambda x: x". That should be built-in IMO.
-
@tman540 imagine I need to calculate velocity and ALSO save both deltas. With Walrus it would be something like this:
```
x1 = 1
x2 = 2
t1 = 0
t2 = 3
v = (dx := (x2 - x1))/(dt := (t2 - t1))
print("v:", v) # v: 0.3...
print("DeltaX:", dx) # DeltaX: 1
print("DeltaT:", dt) # DeltaT: 3
```
Without it, it would become something like this:
```
x1 = 1
x2 = 2
t1 = 0
t2 = 3
dx = (x2 - x1)
dt = (t2 - t1)
v = dx/dt
print("v:", v) # v: 0.3...
print("DeltaX:", dx) # DeltaX: 1
print("DeltaT:", dt) # DeltaT: 3
```
It let's you assign values inside other expressions. -
@github I will. That's why I'm rushing some before I enter classes at march. I hope I only have 2 courses left by then.
-
Why work for free? (sarcasm)
-
@github Thanks :) I'm doing 3 at once, but out of those 3 I'm only rushing one. Then I'll focus in another one while keeping the same pace in the others. It's the only way I don't get bored from the courses; it gives my learning experience more variety.
-
@ChainsawBaby lol wut? Usable? I haven't had any problem with windows at user level. The only thing that made it less attractive was the lack of a better command line (and Microsoft of course). The wsl added that functionality it lacked. I still use linux in my main machine, but in my Surface Pro 4, due to hardware issues, I'm stuck with windows, but with the wsl I won't have any problem anymore.
-
@practiseSafeHex I prefer humans. They are the only ones that actually work.
-
@simo002m @coolq I LOVE the windows linux subsystem.
-
@theCalcaholic @Pointer yeah, hell totally sie her. We aren't sure how to do it so I'll ask for help where I can and B is trying to gather any help he can too.
-
Now it is half the price!
-
@novopl I thought it worked the same for all built-in types, but turns out it's just numbers and tuples. I've read the python documentation a TON but don't recall reading anything about this.
-
@Alice Well, this blew up today, I heard it around 5 pm and haven't heard of B since friday. I do know that a friend of his from the party got him a lawyer, but I'm not sure how university protocols work in these cases. I'm wating until 8 am to ask a friend that's inside university's politics for advise and we'll gather with our group of friends at 5 to discuss the issue (the ones that haven't abandoned B yet)
-
@Tobyvw Yeah, we have a ton. We as a group have been in Rapa Nui, England and a ton of birthday parties together.
-
@Alice That would be really sad. But what's even sadder is the fact that it's entirely possible she would deny our friendship just to get more support.
-
@enen @LMestre14 I'll totally support him in official instances but I'll refrain from joining the FB circus. That shit is a fucking shitshow.
-
Hey girl, do you want to go see that new @Condor movie and eat some @Pizza while we @byte each other ;)
I'm referencing the new Condorito movie btw. -
@gitlab sorry...?
-
What about "Because 'empty' is better than 'nothing'"?
-
@ThatDude LOL daily ++ goal? The grind is real. Hahahaha. That's how good DevRant is. People fucking grind it. 😅
-
Edge isn't that bad. It has by far the best touch interface available right now.
-
@EaZyCode lol. I've never turned off mine though. No crashes yet.
-
Lool. Looks like asking for ++s works. 😂😂😂
-
@Supernerd wow that's. Large.
-
@SHA-16384 aren't they like, infinite?
-
I prefer my coffee tea themed. Black tea themed.
-
@BindView lol
-
Wow, you are hot. Nice curves 😍
-
@BindView a decent one?