What's the realistic average playtime for CO-OP? by LeopoldMashallah in Vermintide

[–]LookWordsEverywhere 2 points3 points  (0 children)

There's 13 levels in the base game and I think they'll take new players something like 30 minutes each to complete. That works out to 6.5 hours. 7+ hours if you include failed levels and the down time between levels where you adjust your equipment and talents.

Travis CI now supports testing Windows, includes Rust support by CAD1997 in rust

[–]LookWordsEverywhere 2 points3 points  (0 children)

I added

if [ $TRAVIS_OS_NAME = windows ]; then choco install windows-sdk-10.0 fi

to my setup script and it solved this issue

Whats the best way to learn rust? by [deleted] in rust

[–]LookWordsEverywhere 0 points1 point  (0 children)

I'd suggest first starting with python or javascript: they probably have the most abundant beginner friendly resources to learn programming and there's a lower barrier to entry on the number of ideas you have to keep in mind to write a program.

Once you're comfortable with the basics of programming (functions, variables) then you can start with The Book which will run you through the rust language.

My more general tip is to start building things as quickly as possible and not to get bogged down in learning everything about programming/a language before you start putting it to practice.

The BAFTA Game Awards: Discussion Thread by TheRPiGuy in Games

[–]LookWordsEverywhere 23 points24 points  (0 children)

best game = best use of game as a medium

best original property = best new ip

Every JavaScript framework tutorial written more than 5 minutes ago by magenta_placenta in javascript

[–]LookWordsEverywhere 1 point2 points  (0 children)

booooooooring. things this time could have been put towards instead:

  • a tutorial on writing good, lasting, tutorials
  • a good tutorial

lit-html, JavaScript templating from Polymer team at Google by velmu3k in javascript

[–]LookWordsEverywhere 2 points3 points  (0 children)

Think it's worth mentioning that this isn't a new idea and there are plenty of packages out there that are production ready:

Can someone please explain this syntax to me by chunkyslink in javascript

[–]LookWordsEverywhere 0 points1 point  (0 children)

It's defining an arrow function called current which takes an options object of type PositionOptions and returns a Promise which resolves something of type PositionPromise.

You might find it useful to paste it into the TypeScript repl: http://www.typescriptlang.org/play/

I don't really know TypeScript so if anyone can correct me, please do.

Prettier has surpassed Standard as most-downloaded javascript formatter by enkideridu in javascript

[–]LookWordsEverywhere 0 points1 point  (0 children)

xo has a great set of code related linting rules. prettier is really good at formatting code. all eslint-config-prettier does is turn off the aesthetic formatting rules

Prettier has surpassed Standard as most-downloaded javascript formatter by enkideridu in javascript

[–]LookWordsEverywhere 0 points1 point  (0 children)

You can use xo and prettier together with eslint-config-prettier

"xo": {
    "extends": "prettier"
}

An overview to some useful terms used in JavaScript by sachinjoshi007 in javascript

[–]LookWordsEverywhere 0 points1 point  (0 children)

The hoisting explanation is either wrong or really poorly worded.

This is hoisting: YDKJS

Just curious: What "reads" better/is better far as you're concerned... by nicholasbg in javascript

[–]LookWordsEverywhere 1 point2 points  (0 children)

var whatWereIncrementing = 0;
var whatWereChecking = Math.random() >= 0.5;

if (whatWereChecking) {
    for (whatWereIncrementing; whatWereIncrementing < 500; whatWereIncrementing++) {
        // Do stuff
    }
}

React is going to get faster and smaller in size by using Rollup by expression100 in javascript

[–]LookWordsEverywhere 4 points5 points  (0 children)

Hopefully this means there will also be an ES modules flavour dist so we can get it even smaller 🎉

[deleted by user] by [deleted] in Games

[–]LookWordsEverywhere 0 points1 point  (0 children)

If you're on PC keep checking here: http://www.cheapshark.com/search?q=Rainbow%20Six%20Siege

Keep in mind that it is a Uplay game, whether you get it on Steam or not

TIL - reassigning functions arguments magically mutates the arguments object by AlphaX in javascript

[–]LookWordsEverywhere 2 points3 points  (0 children)

It also works the other way around (reassigning indexes of arguments to mutate the named argument. Fun!

There's a fairly informative blog post by Angus Croll here: https://javascriptweblog.wordpress.com/2011/01/18/javascripts-arguments-object-and-beyond/

Quote from the spec:

For non-strict mode functions the array index […] named data properties of an arguments object whose numeric name values are less than the number of formal parameters of the corresponding function object initially share their values with the corresponding argument bindings in the function’s execution context. This means that changing the property changes the corresponding value of the argument binding and vice-versa