wlaurance's comments

wlaurance | 7 years ago | on: Show HN: Async/Await example for passport.js and express.js

I've been deep in the weeds building out a course. Today I wanted to share a snippet of building out an express + passport auth scheme using the latest async/await patterns. It's really nice to not be in callback hell. Even though passport mostly uses callbacks we can still do our app-specific code like looking up a user by email, de-serialization, and serialization in an async function if desired.

I have an email signup if you want to get the full working code same.

Thanks!

Will

wlaurance | 8 years ago | on: Ask HN: Is Ruby/Rails over?

I think that an opinionated framework like Rails will be around for a long time.

Technology has its fads, but somethings stick around. There are plenty of people still coding in C. Laravel is a pretty big PHP framework.

There are plenty of companies that built on Rails. The cost of switching to a new technology is likely unfeasible. So likely the product/company will continue to use Rails.

So if you like Ruby/Rails, I say go for it!

wlaurance | 9 years ago | on: Ask HN: need feedback on using Vultr VPS hosting for production?

I have used digital ocean and vultr. From a technical review I used vultr and digital ocean differently. On vultr I ran some large Windows servers. For digital ocean I run all sorts of things.

In my experience, Digital Ocean's support is much much better than Vultr. Towards the end of my used of Vultr I had some pricing disputes for some IP address blocks.

On the other hand Digital Ocean gave me account credit when I reached out.

I can't speak for linode.

wlaurance | 11 years ago | on: Slack for Linux – Help Hack on This

Awesome, thanks for the recommendations. I'm switching over to grunt-node-webkit-builder.

I'm going to try to make it as easy as `npm install slack-for-linux -g' to get the client in your path.

So this looks a lot cleaner than the other yeoman grunt generator I used initially.

As for node-notifier, this seems easy. I guess the only thing is hooking into the events emitted by the Slack Javascript? I need to dig in further for this.

Thanks,

Will

wlaurance | 12 years ago | on: Test if a URL uses Node.js

Yes, it is just a toy project. It is a lot more work to fingerprint successfully. OWASP looks very interesting. Thanks for the link and subsequently the white paper links!

wlaurance | 12 years ago | on: Test if a URL uses Node.js

Put in a PR! Currently, it is easy to do things with the Request object. Any ideas on what quirks/bugs to look into?

wlaurance | 12 years ago | on: Test if a URL uses Node.js

I should clarify that I am using the request module to make GET requests on the url submitted. But yes, I dislike that the curl stats print by default when output is redirected :/

wlaurance | 12 years ago | on: Ask HN: is it possible to open source an iOS app and protect it from copies?

Obviously keep the keys to the castle out of version control.

I wrote a small blog post [0] on a similar topic not too long ago.

I went with the BSD 3 Clause license for the project I am working on [1][2]. I am not a lawyer so I have no idea if this is a good license or not. I was going for one that would force people to retain the copy right notice.

Obviously you would control the developer account and name of the app. So it would take some effort and money for someone to rename and republish under a new app name.

[0]http://www.wlaurance.com/2014/01/A-Different-Approach-to-Pro...

[1]https://github.com/t3mpus/tempus-api/blob/master/LICENSE

[2]http://www.t3mp.us

page 1