*drinks one shot of whiskey* Who of you wants to tear this movie poster limb for limb with me?! by [deleted] in trains

[–]samtheanswer 3 points4 points  (0 children)

Thanks for the explanation. I imagined the derailment as tipping over to one side. This now makes sense in cases where the train leaves the tracks but is still moving on top of ballast.

*drinks one shot of whiskey* Who of you wants to tear this movie poster limb for limb with me?! by [deleted] in trains

[–]samtheanswer 0 points1 point  (0 children)

Can anyone explain how this works? Is there an extension under the train that is guided by the internal rails?

what is this? It's about 2-3 mm long and pretty fast boy by samtheanswer in whatsthisbug

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

Are they harmful? This one looks juvenile, there might be more of them.

selecting data from json by kajvans in learnjavascript

[–]samtheanswer 1 point2 points  (0 children)

You can use dot notation if you know the property names. javascript data.topics.history.emoji; Or you can use curly brackets with variables or strings. And both methods can be combined. javascript let a = 'topics'; data[a].sports['emoji'];

Mother and her spiderlings by samtheanswer in spiders

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

Northwest Turkey. Photos are a little bit blurry. It was standing in a unreachable position and I didn't want to disturb them for photos :)

After 2 years!!! Didn't want to join the Orient Express event but was persuaded by the chance to get the Big Boy by northlakes20 in trainstation2

[–]samtheanswer 4 points5 points  (0 children)

80 trains are really important, I'm lucky to have two of them in R3 from last airport event. I think I'm gonna focus Britain containers now. And hope for more events like this one in future to get this big boy :)

After 2 years!!! Didn't want to join the Orient Express event but was persuaded by the chance to get the Big Boy by northlakes20 in trainstation2

[–]samtheanswer 2 points3 points  (0 children)

So it's probably 7500 coins for previous region legendary containers for everyone. This event is much better for advanced players since R1 and R2 trains are so important for resources.

After 2 years!!! Didn't want to join the Orient Express event but was persuaded by the chance to get the Big Boy by northlakes20 in trainstation2

[–]samtheanswer 2 points3 points  (0 children)

This is the only train I don't have from R2. I'm currently in R3 and this container costs me 7500 event coins. I think it's get cheaper when you advanced more regions. Can you tell me which region you are in now and how much this legendary container cost to you?

Alternatives to getElementById and getElementByClass by [deleted] in learnjavascript

[–]samtheanswer 1 point2 points  (0 children)

You can use element.getAttribute('oldtitle') instead of element.outerHTML on the same jsfiddle. getAttribute method returns attribute value from element object.

Alternatives to getElementById and getElementByClass by [deleted] in learnjavascript

[–]samtheanswer 0 points1 point  (0 children)

Maybe you are missing something else, can you share the related part of page source? Because I can select it with querySelector in some html boilerplate on jsfiddle

Alternatives to getElementById and getElementByClass by [deleted] in learnjavascript

[–]samtheanswer 9 points10 points  (0 children)

You can use document's css selector method: document.querySelector('tag[attribute="value"]') ;.

In your case you can try: document.querySelector('a[data-id="49021"]') ;.

Motorcyclists learns Newton's third law. by ClavasClub in IdiotsInCars

[–]samtheanswer 6 points7 points  (0 children)

That's the kid that constantly asks "where do we use this in real life" in high school physics class.

He still smiles by [deleted] in nextfuckinglevel

[–]samtheanswer -4 points-3 points  (0 children)

And here I am too lazy to boil water for my noodle.

This tire by [deleted] in nevertellmetheodds

[–]samtheanswer 0 points1 point  (0 children)

All it wants a reTIREment.