Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gianlucaguarini
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
gianlucaguarini
9y ago
I am glad it works for you and you are happy with it I get your point and I agree with it. In this post I don't shout against React.js I just wanted to tell you my experience with it without the need of convincing anyone about using an
32.
▲
by
gianlucaguarini
9y ago
Of course the same thing applies to Angular.js and Google but luckily I never had the chance to work on a project with it until now.
33.
▲
An experienced Javascript developer’s account of learning React
(medium.com)
170 points
by
gianlucaguarini
9y ago
|
153 comments
34.
▲
by
gianlucaguarini
10y ago
Ok with this it should be possible https://github.com/GianlucaGuarini/allora/pull/3
35.
▲
by
gianlucaguarini
10y ago
At moment it's not possible and it does not make any sense to use a setInterval with a promise in return. But I will think about a simple solution to clear the timer functions
36.
▲
by
gianlucaguarini
10y ago
you got it, there are many libraries on npm doing the same but none was build with less than 50 lines of code
37.
▲
by
gianlucaguarini
10y ago
the amount of code and the technology used ;)
38.
▲
by
gianlucaguarini
10y ago
foo will be called only once (see my answer above). I am working on another script to achieve event streams using es6 generators let's keep in touch
39.
▲
by
gianlucaguarini
10y ago
See my answer above :)
40.
▲
by
gianlucaguarini
10y ago
Yes you are right, mine was just a proof of concept and it works properly for callbacks that must be triggered only once. I am working on another script to make an event streams api from native functions a bit like Bacon.js or fx.js already
41.
▲
Allora – Use promises on any JavaScript object
(github.com)
46 points
by
gianlucaguarini
10y ago
|
23 comments
42.
▲
Javascript benchmarks to compare some popular reactive libraries
(github.com)
1 points
by
gianlucaguarini
10y ago
|
0 comments
43.
▲
by
gianlucaguarini
11y ago
wow cool can you post the link? I am curious
44.
▲
by
gianlucaguarini
11y ago
I am one of the contributors. I am really happy you liked it's making my dev life a lot easier and the new upcoming release 3.0.0 will be awesome ;)
45.
▲
by
gianlucaguarini
11y ago
Good I would say https://github.com/riot/riot#demos
46.
▲
by
gianlucaguarini
11y ago
thanks for the constructive hint I will try to do my best
47.
▲
by
gianlucaguarini
11y ago
Ok sorry I thought the question was referred to me :) There are many pub/sub modules for go but I made this one because I was missing in some case the asynchronous callbacks that I can use with other languages ( node for example ) but
48.
▲
by
gianlucaguarini
11y ago
I am not reinventing the wheel here I have just tried to add a pattern I really like in other programming languages that I was missing in Go. You can use it however you want, and if you don't like it just use something else. > Have
49.
▲
by
gianlucaguarini
11y ago
Let's say you want to publish a library that for example logs the global keyboard events. If you want to simply notify any keypress in a really simple manner you can just use myLib.On("keypress", func() {}) and no matter wher
50.
▲
by
gianlucaguarini
11y ago
pull requests and issues on the repo are really welcome!
51.
▲
by
gianlucaguarini
11y ago
Ok thanks I will try to add some performance tests
52.
▲
by
gianlucaguarini
11y ago
A call to Trigger does not call start go routine https://github.com/GianlucaGuarini/go-observable/blob/master... . I agree it can be nice to add a check to skip Trigger calls on non-exsisting channles. I don&#
53.
▲
Golang script to send and receive events with a tiny simple API
(github.com)
40 points
by
gianlucaguarini
11y ago
|
27 comments
54.
▲
by
gianlucaguarini
11y ago
Probably because the have not yet used my script :)
55.
▲
by
gianlucaguarini
11y ago
I kind of agree, but since there will be clients requiring this feature we can not do a lot! I have tried my best to get a script enough flexible that will help me (and I hope other devs) wasting hours to configure a smooth parallax site
56.
▲
by
gianlucaguarini
11y ago
Another user reported completely the opposite https://twitter.com/syropian/status/645735377291096064 But I have tried my best I swear ;)
57.
▲
by
gianlucaguarini
11y ago
Thanks your feedback is really helpful for me, I opened an issue on the repo hoping to verify it soon https://github.com/GianlucaGuarini/parallax/issues/2
58.
▲
by
gianlucaguarini
11y ago
whatever this means...
59.
▲
by
gianlucaguarini
11y ago
hmm.. it's strange, it works in Chrome 45 on Mac and on Windows 10, 8, 7 (even windows xp) Unfortunately I can not test it on Ubuntu but at this point I doubt the problem is the OS. Sure you don't have any Chrome extension install
60.
▲
by
gianlucaguarini
11y ago
Does this happen also if you reload? Maybe rawgit.com was down for a while
More ›