TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

NodeUp 15 - Bears, Wolves, and Poppins

13 pointsby spacesuitabout 13 years ago

2 comments

ISeemToBeAVerbabout 13 years ago
First off, I really enjoy your podcast, so thanks for taking the time to put out good content. One small suggestion though- It would be really helpful if your episode names were more descriptive of their content. It's not a big deal, but it's a bit frustrating when browsing my podcast feeds and I have no idea what the podcast topics are. Anyhow, just my 2 cents. Again, thanks!
ilakshabout 13 years ago
I'm sure this Mikeal guy is a genius and everything, but is it really necessary for him to interrupt and contradict the other guy (was that Isaac?) every 3 seconds?<p>Anyway this Domains idea, is it something like:<p><pre><code> var domain = require('domain'); var http = require('http'); var fs = require('fs'); domain.handleError('fsdb', data, function(err) { console.log('There was an error updating thing #' + data); }); updateThing = function(id, data, callback) { domain.run('fsdb', id, function() { var options = { host: 'things.myserver.io', port: 80, path: '/update?id='+id+'&#38;v='+data.new}; http.get(options, function(res) { fs.writeFile(data.fname, data.file, function() { callback(); }); }); }); } </code></pre> So something in fs and http makes it call domain.handleError with the details if there is a problem with the request or file write?<p>Forgive me if I am completely misunderstanding or if this is a bad example.