Nitter
Аневризма
@aneurysmjs
Joined December 2013
Tweets
2,267
Following
46
Followers
173
Likes
487
111 Photos and videos
111 Photos and videos
Tweets
Tweets & Replies
Media
Search
Load newest
Аневризма
@aneurysmjs
5 Sep 2016
async function aF() { return 89; } function aF() { return Promise.resolve(89); } aF().then(r => r === 89);
#async
functions
#javascript
Аневризма
@aneurysmjs
5 Sep 2016
Remember, "this" refers to the object that the method is called on.
#javascript
Аневризма
@aneurysmjs
3 Sep 2016
a covered query is where the query itself can be satisfied entirely with an index and hence, zero documents needs to be inspected.
#mongodb
Аневризма
@aneurysmjs
3 Sep 2016
"if you can satisfy a query entirely from the index, that's going to make the query much faster"
#mongodb
#coveredqueries
#javascript
1
Аневризма
@aneurysmjs
2 Sep 2016
why 'controllerAs' when the deault is the '$ctrl'? it won't collide with anything
#javascript
#angularjs
#controllerAs
syntax is death
Аневризма
@aneurysmjs
2 Sep 2016
an index becomes "multikey" when the first document gets added and has as its value for one of the keys and array
#mongodb
#indexing
#nosql
Аневризма
@aneurysmjs
2 Sep 2016
_id is always presents when you get indexes and you can't delete it
#mongodb
#indexes
#indexing
#javascript
#nosql
1
1
Аневризма
@aneurysmjs
2 Sep 2016
if your function operates on outside variables, return a copy instead of the original -
@_ericelliott
god damn it
#javascript
#functions
Аневризма
@aneurysmjs
31 Aug 2016
"and Index is an ordered set of things"
#mongodb
#nosql
#nodejs
#nodeassembly
Аневризма
@aneurysmjs
23 Aug 2016
in # javascript # objects are
#arrays
, they're associative arrays, basically being a list of key-value pairs
1
Аневризма
@aneurysmjs
18 Aug 2016
<img src="{{imageUrl}}" /> //interpolation <img [src]="imageUrl" /> // property binding
#angular2
#javascript
1
Аневризма
@aneurysmjs
17 Aug 2016
Rx.Observable.fromEvent(div, 'click') .filter(c => c.clientX > window.innerWidth / 2) .take(10) .subscribe(c => log(c.clientX))
#rxjs
Аневризма
@aneurysmjs
17 Aug 2016
If an action has impact outside of the scope where it happens, we call this a "side effect".
#javascript
#reactiveprogramming
#rxjs
3
4
Аневризма retweeted
egghead.io
@eggheadio
16 Aug 2016
Use the Webpack Dashboard to Monitor Webpack Operations -
#JavaScript
lesson by
@mykola
#free
#new
bit.ly/2by0g7R
1
27
51
Аневризма
@aneurysmjs
15 Aug 2016
most of your logic should exist outside your
#react
component
#reactjs
#testing
#javascript
1
Аневризма
@aneurysmjs
15 Aug 2016
the
$and
operator allows us to specify multiple constraints on the same field
#mongodb
#nosql
2
1
Аневризма
@aneurysmjs
15 Aug 2016
#monitoring
is the action of observing and checking the behavior and outputs of a system and its components over time.
#javascript
Аневризма retweeted
JSter
@jsterlibs
13 Aug 2016
Beyond Memory Leaks in
#JavaScript
— Medium
buff.ly/2biyLyZ
2
2
Аневризма
@aneurysmjs
14 Aug 2016
"your mouse is your database"
#reactiveprogramming
#rxjs
#javascript
Аневризма retweeted
Kent C. Dodds 🏹
@kentcdodds
11 Aug 2016
Often, webpack configs get complex when it's imperatively monkey-patching the config. This is why I created
github.com/kentcdodds/webpac…
👍
GitHub - kentcdodds/webpack-config-utils: Utilities to help your webpack config be easier to read
Utilities to help your webpack config be easier to read - kentcdodds/webpack-config-utils
github.com
2
4
5
Load more