HNHacker News
TopNewBestAskShowJobs

gren

1,219 karma · joined April 12, 2010

http://greweb.fr/
submissionscomments
gren··on Reveal.js
I've just "hacked" Reveal.js on my own prez to support some code injection and enter/leave support :-)

http://greweb.me/webaudioapi-introduction/

gren··on About Touch ID Security
Thanks for your comment :)

So eventually, if you can generate all possible set of fingerprints which match that hash and "cross check" it with another fingerprint systems, you could be able to approach the guy fingerprint? (I mean you maybe reduce the set to a reasonable size)

The use case is quite overkill though! Also, generating all possible set of fingerprints is probably a lot of computation.

gren··on About Touch ID Security
Ok, I get it! If I understand it correctly, if it's lossless, 2 different fingerprints could pass the test (collision)?

So by a bruteforce technique, I could be able to generate a subset of all possible fingerprint (finite?).

Tell me if I'm wrong, but maybe by "cross checking" with another data (e.g. another device with a second different conversion algorithm) I could finally find out what was your fingerprint! That's quite overkill though!

gren··on Cmd.fm
This is awesome! Nice idea, would be great to be able to search for a given track by name / author.
gren··on About Touch ID Security
" It isn't possible for your actual fingerprint image to be reverse-engineered from this mathematical representation."

I'm not really convinced, nothing is absolutely impossible in computer science. At least, can't we bruteforce it?

I'm curious to know if they are true saying there is no way to reverse-engineer it, Any paper on the subject?

gren··on A beginner's cheat sheet for web development
Good list indeed. But nothing about Play Framework?
gren··on Frequency Modulation (FM) with Web Audio API
I have no music background, so thanks a lot, your feedback is really helpful :)

When you say modulating a phase offset instead of frequency, does this mean you have like 2 oscillators A and B set to the same frequency, where you modulate the offset of A, and you connect both A and B to the audio output?

About your second note, you are so right! Actually it was a mistake in my article, this is what I've done actually but my explanation was a bit wrong. My first demo is a multiple of the frequency. My second demo is a multiple of (carrier frequency/4). Nothing related to octave, I shouldn't have mentioned that (I will fix it ASAP).

gren··on Frequency Modulation (FM) with Web Audio API
Woo, that's cool man! All these demos around Web Audio API.. Future is awesome!
gren··on Russian Proton Rocket crashes Seconds after Launch
"It is not the way it supposes to go" <- oh, thanks for the comment!
gren··on Lorem Ipsum translated by Google
And "cillum dolore eu fugiat nulla pariatur." is "that produces no resultant online applications."

WTF!

gren··on HTML5 Genetic Cars
Remind me Fringe!
gren··on Live stream of Japanese deep submergence vehicle's 5,000 meter dive [video]
Oh! They just reach the seafloor!
gren··on Flippant.js - A mini JS and CSS library for flipping things over
Flippant means creepy in French!
gren··on Mac Pro
If you are interested by the Bezier Curve easing, it uses a micro JS lib I wrote: http://greweb.me/2012/02/bezier-curve-based-easing-functions...
gren··on React, a JavaScript library for building user interfaces
Great ideas IMO but what an ugly API: React.unmountAndReleaseReactRootNode(document.body);
gren··on WebAudio MIDI-fied Drum Machine
http://www.w3.org/TR/webmidi/

This is awesome!

gren··on HowTo use now PlayJson stand-alone module introduced in Play-2.2-SNAPSHOT master
What I really like in this library is it provides an automatic case class <> json binding (so it's convenient) but without using any Reflection: It uses the Scala Macros and is type-safe. See also: http://mandubian.com/2012/11/11/JSON-inception/
gren··on glsl.js - abusing WebGL shaders for efficient 2D
Thanks.

Yep, about the mario sprites example, there is something I'm missing happening https://github.com/gre/glsl.js/issues/2

It works for me (tested on MacbookPro and on a Linux with recent hardware)

I have to figure it out.

[edit] It is fixed now! sampler2D in a struct{} seems broken on some WebGL version / graphic card.

gren··on glsl.js - abusing WebGL shaders for efficient 2D
See http://glsl.heroku.com/ and also my Pong example http://greweb.fr/glsl.js/examples/pong/

We can really do crazy effect with GLSL, easily and efficiently (with Canvas2D, we could use Canvas' ImageData for these effects but it is definitely less efficient).

For the compatibility, I would say it's getting better now, only IE is the browser which support Canvas but not WebGL.

But yes, if Canvas2d is enough for your needs, it's ok. Actually it would be interesting to inject a Canvas2d into glsl.js to add some cool effects on it :) I'm working on it!

gren··on glsl.js - abusing WebGL shaders for efficient 2D
Woo, thanks a lot for your feedback :)

I'll fix that ASAP.

[EDIT] all of the issues are now on github: https://github.com/gre/glsl.js/issues

gren··on glsl.js - abusing WebGL shaders for efficient 2D
some precision here:

I said "abuse" because it is still a hack to use only one plain GLSL fragment for everything (a fragment shader aims to be used with a vertex shader, whereas mine is just static and take one vertex for the whole canvas). BTW, the glsl.heroku.com demoscene platform use exactly the same idea and was an inspiration.

The limit of this hack, is the fact that GLSL fragment uniforms number is limited (depending on the machine, 1024 variables on my macbook). For instance, a `Ball ball[1000]` wouldn't compile because it is too much variables (if Ball has 2 fields). AFAIK, you could still solve this by using a big Array of float, but it would be less structured then.

gren··on HTML5/WebGL source port of Quake
awesome work.

Running smoothly on Linux, tested on Firefox and Chrome.

gren··on Play framework 2.10 released
yup! Play 2.1.0 with Scala 2.10 :)
gren··on 3D Print Your Own Android Robot
This is awesome!

Their look remind me "I, Robot".

When can I have one for household?

gren··on Show HN: Multiplayer Snake in Go
Right now, It's more a 2-player than a "multiplayer snake".

I would love to see how your game will evolve.

It reminds me another cool multiplayer snake https://twitter.com/syl_mat/status/154136259588141056 (it supports more than 2 players, the game is never ending but player accumulate points, it also has bots)

gren··on Show HN: PlayCLI: Play Iteratees + UNIX pipe
Can you try again?
gren··on Show HN: PlayCLI: Play Iteratees + UNIX pipe
This is interesting,

I haven't go that far in the API but you can still do something like:

    CLI.enumerate(Seq("curl", "-s", "http://news.ycombinator.com/"))
and

    val curl = (url: String) => CLI.enumerate(Seq("curl", "-s", url))
This Seq synthax is provided by scala.sys.process, AFAIK, as a nice side-effect, it guarantees some safety of command parameters (avoiding injections).
gren··on Be careful with JS numbers
How is it different?
gren··on Be careful with JS numbers
Woo I didn't know this! When I mention twitter ids it was just an example.

So it can happen to anyone and it's a real issue for any JSON API.

gren··on Be careful with JS numbers
Hehe fun one! and also:

    9007199254740995 - 1 - 1 - 1 - 1
← PreviousPage 2 of 4Next →