This profile is from a federated server and may be incomplete. View on remote instance

victorz ,

Very cool other facts in that PDF as well.

victorz ,

Completely off-topic: I really enjoy the way you express yourself. Do you write a lot? Your text is just very easily consumable, yet not dumbed-down.

victorz ,

And now to make lighter EVs that don't wear on the road so much.

victorz ,

In node, I get the same result in both cases. "[object Object]"

It's calling the toString() method on both of them, which in the array case is the same as calling .join(",") on the array. For an empty array, that results in an empty string added to "[object Object]" at either end in the respective case in the picture.

Not sure how we'd get 0 though. Anybody know an implementation that does that? Browsers do that maybe? Which way is spec compliant? Number([]) is 0, and I think maybe it's in the spec that the algorithm for type coercion includes an initial attempt to convert to Number before falling back to toString()? I dunno, this is all off the top of my head.

victorz ,

So there's yet another level of quirkery to this bullshit then, it seems. 😆 Nice digging! 🤝

I also noticed that if you surround the curlies with parentheses, you get the same again:

> eval('{} + []')
0
> eval('({}) + []')
'[object Object]'
victorz ,

Where I live, every goddamn girl is wearing yoga pants.

And I'm not complaining.

victorz ,

Exactly. For every level of abstraction, the abstractor is the high level and the abstractee is the lower level. Those aren't real words perhaps, but you get what I'm saying. It's all relative along the chain of abstraction.

victorz ,

My mental model of it is a chain, yes. But you can define it however you like. It's just steps in some direction.

Maybe a cake would suit someone the best.

victorz ,

How in the hell does anyone f— up so bad they get O(n!²)? 🤯 That's an insanely quickly-growing graph.

Curious what the purpose of that algorithm would have been. 😅

victorz ,

I guess, yeah, that'll do it. Although that'd probably be yet one or a few extra factors involving n.

victorz ,

lol, you'd really have to go out of your way in this scenario. First implement a way to get every single permutation of a list, then to ahead with the asinine solution. 😆 But yes, nice one! Your imagination is impressive.

victorz ,

People are down voting you when you are just expressing a feeling. I don't think that's right, but I hope you stay for the other great content on Lemmy and only go to Reddit for the missing stuff.

victorz ,

Reaching a bit, but sure, I exhaled swiftly through my nose at some of those.

victorz ,

What was the "secret"? It's nerves. I could have told you before without a study. It's nerves, guys. Lots of nerves!

victorz ,

❤️

They might very well have, 😁

victorz ,

Oops! 🧠💩

victorz ,

Well now I'm curious what these moves are.

victorz ,

Oh God, not this again. I need to know!

victorz ,

Left lane... on the highway maybe. In the city it is definitely usable for navigation purposes, getting to the intended destination.

victorz ,

You mean like... all, all? How so? You mean like by asking you this question I'm "manipulating" you into answering it? If so that's a bit of a stretch in my personal opinion.

victorz ,

How to park.

victorz ,

Exactly my point, yes. Both/all lanes should be for navigational purposes in most cases in the city. 👍

victorz ,

If I'm going straight, or right eventually, I wouldn't use the left lane to pass people when driving in the city. That's just lane surfing and not very safe driving.

victorz ,

Right, so I think you have a different definition of "manipulation", perhaps. Which is fine. 👍

victorz ,

I think the definition of manipulation is a bit odd here. Manipulation to me has a connotation of being nonconsensual. If both or all parties are voluntarily participating I wouldn't consider it manipulation.

But I do see what you all mean, conceptually.

victorz ,

That's too neutral or positive for my connotation. Mine includes something negative from the perspective of the one being manipulated. It might be incorrect but it's my connotation.

victorz ,

I don't think it's lane surfing if you're not changing lanes.

No, definitely not. It's only lane surfing if you're changing lanes to pass. Sorry, I thought that was the implication.

Anyway, this comment section has made me realize that it always just depends. Drive aware, keep safe distance, don't unnecessarily change lanes, let people pass (on the left) if they're going faster than you, etc.

Yes, agree completely. ❤️

The best advice I ever got about driving was "be predictable." I think if anyone really takes that to heart empathetically then it would be safer.

Exactly. That person understands traffic. So many times people will decelerate very rapidly to stop and give way for me (because it's a place where they are supposed to). But because they are coming at such speed, it doesn't look like they'll stop in time and it makes me react by breaking suddenly.

People need to look far, and break early and slowly. Be predictable and have clear car body language.

👌👌 You and I are on the same page.

victorz ,

lol you're not doing anything wrong yet then 😄

victorz ,

Imagine having such a tense relationship with your only neighboring country. Must suck pretty badly. Not being able to focus entirely on progressive stuff, but just preventing war all the time, almost.

Besides that, why are they even so close to the border in the first place when they know guns will be fired?

victorz ,

It's not that we want to communicate with the state of Russia, it is so citizens of Russia can see real and true information from the inside and out.

victorz ,

Couldn't hurt. It's about the principle of freedom.

victorz ,

It's not about what they enjoy, it's about what they deserve. People deserve the truth, whether they like it or not. That's what I believe.

victorz ,

🤨 I think we're not getting through to each other...

victorz ,

Believing in the basic human right to freedom and truth is pathetic now?

Let me guess, "believing in something" is "gay" too, am I right?

Quit now before you embarrass yourself further. This is too much cringe.

victorz ,

I'm 37. I've always hated superhero movies. More into horror and space/sci-fi.

Are we done here with you trying to berate me? You're not showing your best colors here, you know. These ad hominems are giving me second-hand embarrassment.

victorz ,

Well, I'm not trying to sound like anything. I'm just telling you a fact, that I believe in such and such. I think you've been watching too many movies if you think that someone merely telling you they "believe in something" is a goddamn movie trope... Like, come on.

Maybe when reading the text you're projecting your own version of what I'm saying with a bunch of intonation and body language and stuff that only exists in your head. But rest assured, I'm not acting all emotional and holding out my fist in the air when I say that I "believe in freedom and a right to truthful information". I'm merely telling you, with a deadpan look.

All good? 👌

victorz ,

Jesus, man.

It's definitely you.

victorz ,

It scares me, honestly. The level of security for this to be viable is insane. Imagine some flaw or accident or attack that would erase me as a citizen. Scary thought.

victorz ,

How many concurrent genocides do we have going on right now in the world? Like four? Five? I'm not sure.

victorz ,

Yeah... Then again I just use the DuckDuckGo bang !mdn and it searches MDN directly.

There's also devdocs.io which can be indispensable when using a lot of popular utility libraries and frameworks in the same project. Just having a single page with all the relevant docs is just a real blessing.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • kbinchat
  • All magazines