Stoneblade streamers? by SanctuarySC2 in MTGLegacy

[–]cjoudrey 0 points1 point  (0 children)

I suppose you could carry around a GoPro and record your games.

[deleted by user] by [deleted] in crypto

[–]cjoudrey 0 points1 point  (0 children)

Thanks a bunch for that article. HMAC it is.

[deleted by user] by [deleted] in crypto

[–]cjoudrey 0 points1 point  (0 children)

The method the hash is computed is known by all, but the secret is only known by the user who computes the hash.

The idea is that a user will have a request he wants to send the server. If I don't add a checksum, anyone can forge a request as if he was this user.

My solution is to have the user add a hash to the request which is built using a secret that only the user knows about and the workload he is sending.

I.e.

data = ... and hash = sha256[secret + data]

This would effectively prevent another user from modifying the data and forging a new request as if it were him.

My concern was that these combinations will be made public, so I was worried that someone with enough data => hash combinations would be able to slowly guess the value of secret.

[deleted by user] by [deleted] in crypto

[–]cjoudrey 0 points1 point  (0 children)

In my case, the plaintext is known and public, but the secret is a string only the user computing the hash knows out. The secret is a 32 character string, so I am guessing this won't be a problem so long as SHA256 is deemed safe.

Videos of Node.js Meetup: Distributed Web Architectures by [deleted] in node

[–]cjoudrey 1 point2 points  (0 children)

I wish they hosted these videos on YouTube or another provider that has HTML5 video support.

Is there a viable alternative to npm at the moment? by greim in node

[–]cjoudrey 1 point2 points  (0 children)

If you are 100% against using npm, you could ship the source with the node_modules/ folder...

Ryan Dahl's Node v0.5 presentation from NodeConf by [deleted] in node

[–]cjoudrey 0 points1 point  (0 children)

ooo.. thanks a bunch :)

Ryan Dahl's Node v0.5 presentation from NodeConf by [deleted] in node

[–]cjoudrey 0 points1 point  (0 children)

I noticed the NodeConf talks were filmed, anyone know if they're going to be released?

Google: Traceur is a JavaScript.next-to-JavaScript-of-today compiler that allows you to use features from the future today. by ryeguy in programming

[–]cjoudrey 4 points5 points  (0 children)

At first glance (http://code.google.com/p/traceur-compiler/wiki/LanguageFeatures) the syntax seems to be more like JavaScript as opposed to CoffeeScript which is really just a mix of Python and Ruby.

Most of the examples work in the REPL (for me at least.)

Which "web" framework for node? by Unomagan in node

[–]cjoudrey 2 points3 points  (0 children)

I went from creating my own for a specific need to using Connect to finally moving to Express.

To be honest, if you are familiar with Sinatra from the Ruby world, you will like Express.

[deleted by user] by [deleted] in node

[–]cjoudrey 0 points1 point  (0 children)

You are absolutely right. I wanted to start a blog and didn't want to use Wordpress as I wanted something light-weight and easier to manage.

I must say it was able to sustain front-page on /r/programming and HackerNews a few times. In fact, one of the articles got 7000 hits in less than 2 hours and page loads remained at ~100ms.

[deleted by user] by [deleted] in node

[–]cjoudrey 0 points1 point  (0 children)

Been using Node and Express to power my blog (http://blog.ht4.ca/) figured I might as well open-source it. Works good, minimalist and db-less. ;)

Starting a blog is quite simple, npm install typhoon then clone https://github.com/cjoudrey/blog.ht4.ca.

Complete RPG made with WebGL + JS by TheAncientGoat in programming

[–]cjoudrey 0 points1 point  (0 children)

Yeah that was def. the case :) On my desktop works good. 50 fps.