HNHacker News
TopNewBestAskShowJobs

gren

1,219 karma · joined April 12, 2010

http://greweb.fr/
submissionscomments
gren··on Show HN: Diff Collection Game
addictive game
gren··on Pi, PINs and Permutations
aha! not anymore now that we know ;-D
gren··on Pi, PINs and Permutations
Is there any statistical/probabilistic explanation of why the answer is almost 100'000 ?
gren··on Ask HN: What are the 20% tips that will get my code to performance 80% faster?
Profile and identify bottleneck?
gren··on What3Words: a giant grid of the world made up of 57 trillion squares of 3m x 3m
Geohash looks brillant!
gren··on Introducing Carrot
just come to my kitchen garden.
gren··on Scientists find traces of sea plankton on ISS surface
how is that possible?
gren··on Show HN: Datastringer, a tool for hacker-journalists
The install procedure is a bit complex, this should just be done with a "npm install -g ..".

Especially the install.sh only works on Linux.

Otherwise very cool idea :-)

gren··on Vindinium: An artificial intelligence programming challenge
I was also perplex the first time I entered this project. You would be surprise how this simple rules is already quite challenging. This game is fully observable and also determinist, which give way to make much more complex AI I think. I see it a bit like Chess: Pretty simple rules but there is still a fight to have the best AI in chess.
gren··on Vindinium: An artificial intelligence programming challenge
This game is fully observable and determinist so that is not the hardest situation. However there is still a lot of possible game states.

I've started an attempt to have a tree of all possible actions and using a minimax algorithm (with a score function + alpha-beta pruning) but this is not yet conclusive because I can't explore so much deep (was able to explore up to 20 next player decisions but that is just 5 moves of your hero).

I think this game is enough simple to try to have this approach but also challenging because there is still up to 5 possible actions per turn so it is a max of 5^1200 total of possible state for a game – a lot.

My current approach is now to try to have a minimax with pre-explored interesting path in the tree (e.g. all path which leads to tavern and mines), that is still a lot of computations.

gren··on WebGL Transitions for your image/video slideshows
There is already! However it is not yet filtered in the current homepage but this will be ASAP.

as a proof: https://glsl.io/transition/a830822b23e846e25d2d

see that there is already some warnings ;-)

gren··on Show HN: Web Spreadsheet in 99 lines
99 lines of code . . . and a few libraries. ;-)

Anyway, nice bunch of new ES6 features out there

gren··on Everything You Need to Know About the CSS will-change Property
I'm a bit skeptical about this new property.

In this basic example,

    .element:hover {
	will-change: transform;
    }
    .element:active {
	transform: rotateY(180deg);
    }
it seems very predictable. I don't get why the browser couldn't guess (with some heuristics) what to prepare.

Also I feel we will misuse this feature and tend to make the performance worth than if the browser would detect what are the "will-change"s.

gren··on Perspective Game Demo Made With Only Lines and Dots (Use Arrow Keys)
is there any goal?
gren··on Gist-powered WebGL transitions
exactly! definitely planned https://github.com/glslio/glsl.io/issues/23 :-)
gren··on Gist-powered WebGL transitions
https://github.com/glslio/glsl.io : the platform itself is open-source.

https://www.youtube.com/watch?v=BYdCNTJaGss : a first presentation video.

gren··on That Promises mistake everyone makes in JavaScirpt
An other common mistake when you begin with promise:

    var result = promise.then(identity, function (error) { console.log(error); })
Oops, you just recovered your promise with undefined. result will always be successful. Yes if you don't throw again (or return a new failure promise) in your error callback it will make the resulting promise successful.

I haven't checked if this behaviour is the same on the DOM Promise API but it is on Q (which is the most popular JS lib for Promises).

gren··on Magic Cube 4D
dead link
gren··on Poll: How do you manage your passwords?
Me too :-)
gren··on Microsoft makes source code for MS-DOS and Word for Windows available to public
very useful nowaday!
gren··on 2048 in the terminal
Awesome, we have a multiplayer version, a bot version, a terminal version, what's next? Who's gonna make the flappy bird version?
gren··on Zethos – Speed reading tool in 1 kb
Nice concept, It would be wicked if this could work with something http://store.neurosky.com/products/mindwave-1 (an attention detector basically) and speed up when your attention raise! Also the thing can detect your eye blink, and you basically want to stop a bit the reader when this occurs ;-) I assume google glass already have thought about that.

Future here we go!

gren··on We Have Luxurious Jobs but We Are Not Aware of It
"PS: I am available for hire! Feel free to contact me" at the end of the post was a bit ironic.

Otherwise I quite agree with the post, we tech guys have chance to choose our job.

gren··on Turn any application that uses stdin/stdout into a WebSocket server

    websocketd --port=8080 bash
Then in the browser console:

    ws.send("ls")
I just ported bash to the web :)
gren··on Animation to Explain CSS Triangles
Usually I use a :after or :before for the triangle.

#box { position: relative } #box:after {position: absolute; top: -10px; left: 45%; ... }

gren··on Frequency-shaped background noise generators
Very interesting Web Audio API experiment,

To reply to you, forgetting that the interface is not really touch friendly, I was totally able to make it run in the background on a Nexus 4 with Chrome (the Web Audio API works in the background with Chrome), however I got some clicks (interruptions) in the sound probably due to the bad performance the Web Audio API gets in Android Chrome today.

I wish there was a way to contribute (Github?) to improve this app.

gren··on SeqAlign: Hardware Acceleration of DNA Sequence Alignment
Yeah! like some hidden script in popular websites doing some computation with WebCL
gren··on GitHub site outage - no repos accessible
Up again, 5 min of outage
gren··on Keypress: A Javascript library for capturing input
I know the mess is in the OS-side but is there any chance we will have some day a DOM API independent of the keyboard layout?

For instance you want to make a game using WSAD keys, well in a french keyboard it's ZSQD... Also in a French keyboard, there some keys which trigger the same keycode so you cannot differenciate them! (I think it was the comma with something else)

If you want to make a software like Blender on the web which have a lot of key shortcuts you are a bit screwed!

gren··on Create diagrams in the browser
This is cool. Unfortunately I think it miss something important: the way to change the rendering style (see for instance http://www.websequencediagrams.com/ ).

Such aesthetic feature is significant IMO,.. I tend to always make my schema myself with Inkscape because most software missed that "post-processing" touch.

Page 1 of 4Next →