jefftchan
jefftchan on Hacker News
Posted by
jefftchan on Saturday December 17, 2016 @07:05PM
from the quizlet.com dept.
Posted by
jefftchan on Wednesday April 13, 2016 @08:43PM
from the mitadmissions.org dept.
Posted by
jefftchan on Monday March 28, 2016 @01:10PM
from the facebook.github.io dept.
https://www.ycombinator.com/ethics/> Some examples of ethical behavior we expect from founders are:
> ...
> - Not using misleading, illegal or dishonest sales tactics.
> ...
Does this mean Parker is no longer a YC Founder, if the allegations turn out to be true?
Posted by
jefftchan on Monday December 21, 2015 @08:41PM
from the twitter.com dept.
Posted by
jefftchan on Monday November 23, 2015 @03:08PM
from the avc.com dept.
Posted by
jefftchan on Monday November 23, 2015 @11:11AM
from the avc.com dept.
Great post! I found Fenwick trees particularly useful when I was implementing layout / view recycling. The problem is that you need to keep track of a large number of vertically stacked elements with dynamic & varying heights, and you need a way to efficiently get the prefix sum. Would be curious if anyone else has real life use cases of these.
Totally agree. See Facebook's messenger.com for a similar thing, done much better.
This is great. Can't wait for the actual release. One question I have is how GraphQL/Relay works for writing/modifying data on the server?
For me, the part of Flux that's difficult to understand is how server data flows into the cycle (left-hand side of the diagram). The Flux docs only recommends that server interactions should be done from the Action Creators. However, things are actually more complicated than that:
- how do you resolve server / client data conflicts?
- how do stores work with a RESTful API?
- how do you handle network failures, retries, etc?
At Quizlet, we designed a hybrid solution [1] with "syncers" that act as the gateway for network I/O. Syncers are responsible for taking view-level data (ViewModels) and exchanging them with the server (ServerModels). It works well with our REST API. Yahoo has also released their own thing called Fetchr [2] which is more tightly integrated to stores.
I'm curious to see how other people are approaching this problem.
[1] https://news.ycombinator.com/item?id=8954733
[2] https://github.com/yahoo/fetchr
I'd like to see scoping added so it's possible to easily switch keyboard bindings based on the feature/context.
https://github.com/madrobby/keymaster does an OK job with this, and too bad it's not being actively maintained.
Any recommendations for software to manage workspaces on OS X?
Can we now use Stripe + Apple Pay to circumvent 30% revenue cut?
The page width awkwardly jumps when toggling between unified and split diff. Is this a glitch, or intentional?
Posted by
jefftchan on Tuesday August 05, 2014 @07:59PM
from the blog.uber.com dept.
Yes, a chain of actions (for example, a sequence of AJAX requests that need to be fired)
It's great to see Facebook releasing code for Flux. Hope to see more in the future. Here are some other implementations of Flux for anyone who's interested:
https://github.com/BinaryMuse/fluxxor
https://github.com/jmreidy/fluxy
https://github.com/yahoo/flux-exampleWe recently adopted this architecture for a medium-scale project. The unidirectional data flow has greatly reduced code complexity for us. We're still not satisfied with our server syncing strategy. Seems like actions are the best place to sync data, but how do you deal with interdependent actions?
In China, it's called "circle a" (圈a), "flowery a" (花a), or "little mouse" (小老鼠). In Taiwan, it's most commonly called "little mouse"
It seems like they're detecting browser user agent (and possibly IP)
How does this work in the case of namespace collision? Will we have squatters on the uri schemes?