Quantcast
Channel: User hurrymaplelad - Stack Overflow
Browsing all 41 articles
Browse latest View live

Comment by hurrymaplelad on How do I compile coffeescript before publishing...

@LeonidBeschastny worth noting for sure. Some folks feel strongly that such a build tool is often unnecessary. Node modules are often (ideally?) so small that build tooling beyond scripts is excessive.

View Article



Comment by hurrymaplelad on Gulp-debug fixes streams

I had similar troubles

View Article

Comment by hurrymaplelad on Do I need to publish to npm every time I update a...

$ travis setup npm adds the above using the travis gem

View Article

Comment by hurrymaplelad on Should I commit Godeps/_workspace or is...

Opened an issue for documentation.

View Article

Comment by hurrymaplelad on Should I commit Godeps/_workspace or is...

Sounds right to me, but what do you make of this branch in the buildpack? Looks like it skips go getting dependencies if there's a Godeps directory at all...

View Article


Comment by hurrymaplelad on Why can't I push this up-to-date Git subtree?

I'm having the same problem. I've been using --rejoin to speed up subtree pushes. When I step through the subtree push manually, running subtree split --rejoin, the split subtree branch only has...

View Article

Comment by hurrymaplelad on How to run travis-ci locally

There's a thread about this on the travis repo.

View Article

Comment by hurrymaplelad on What's the difference between public interfaces...

For example, Charge.create() is both public, and part of the published stripe API, while ChargeRefundCollectionDeserializer.deserialize() is public, but not published. Developers using the Stripe...

View Article


Comment by hurrymaplelad on Can node-fibers be implemented using ES6 generators?

@nalply, fixed. Thanks!

View Article


Comment by hurrymaplelad on How does performance of EXTRACT(day) compare to...

that totally answers my question. Part of me hoped Postgres could optimize an EXTRACT expression, perhaps even transform it to combinations of <= and >=. Sounds like an opportunity to contribute :)

View Article

Comment by hurrymaplelad on Limiting node.js's memory usage

The default limit increased to ~1.5GB around node 2. See github.com/nodejs/node/issues/3370#issuecomment-148108323

View Article

Comment by hurrymaplelad on Javascript "this" in static methods

@MarkReed @Esailija I enjoyed this discussion! ActionScript3 (an ECMAScript derivative) offers an interesting example of how we might expect "first-class" methods to behave in a JS-like language....

View Article

Comment by hurrymaplelad on Flow raises an error for a common pattern in...

Yep, methods are typed covariant by default: flow.org/blog/2016/10/04/Property-Variance/…

View Article


How might I check if any mocha tests failed from within an after block?

describe('some tests', function () { /* * Run some tests... */})after(function () { failures = ? // <--- what goes here? console.log(failures +" tests failed!")})I'd use this to keep chromedriver's...

View Article

Why do some Gulp streams "flow" by default, while others do not?

Consider these two gulp tasks:gulp.task('src', function(done) { gulp.src('docs/*') .on('end', function() { console.log('ending'); done(); });});gulp.task('dest', function(done) { gulp.src('docs/*')...

View Article


How do I install git-imerge on OS X?

Git imerge looks pretty cool, but the README has no hints for getting it installed. Is there a quick way to try it out on a mac?

View Article

Can node-fibers be implemented using ES6 generators?

Wikipedia suggests that coroutines can be implemented with generators. Does this mean node-fibers could be implemented using ES6 generators?

View Article


How does performance of EXTRACT(day) compare to BETWEEN?

I'm querying a PostgreSQL table for rows in a range of days. BETWEEN is a common recommendation:WHERE ts BETWEEN '2015-09-01' AND '2015-10-01'I've also seen EXTRACT used:WHERE EXTRACT(month from ts) =...

View Article

Answer by hurrymaplelad for nodejs: Node modules vs singleton classes

Check out Node's module caching caveats for the cases where the 'singletoness' of modules will break down.If you always reference your singleton module with file paths (starting with ./, ../, or /)...

View Article

Why is this MongoDB ObjectID infinite in Google spreadsheet?

Type the MongoDB ObjectID 52489e882967060200000283 into a cell in a Google spreadsheet and it's clobbered by ∞. What gives?

View Article
Browsing all 41 articles
Browse latest View live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>