Hacker Newsnew | past | comments | ask | show | jobs | submit | enoex1's commentslogin

Redis pub / sub has worked fantastically for me - reached 100k+ concurrent users with ~80 msg / sec, but benchmarked much higher. It was the easiest, fastest, and most reliable solution I found (about ~4 years ago)


It's a voronoi + boids visualization that flocks around the mouse (and each other).

In honesty though, it's literally eye cancer ;P


In this app I did not have to worry about that, but I can recommend https://github.com/sunnylqm/react-native-storage for dealing with storing on the device if you want to manually do things. I haven't built an app with React Native yet that does rely on local storage; however, with Redux and the redux-storage library it should be no problem

I do very much like Redux, but definitely that whole data flow layer can be intimidating. Wes Bos has a great free course on react / redux ( https://learnredux.com/ ) that can help that learning process, and there is the excellent courses on https://reacttraining.com/ if you are willing to invest a little bit of money on learning.

With all that said, you don't _need_ to use Redux or anything else to work with storing data. It might be a good idea to try manually storing with the aforementioned storage library just so you can get something working and feel like you're making progress; and then spending some time with Redux and (https://github.com/michaelcontento/redux-storage provides support for storing data with react native). Good luck!


Yes, quite easy! I have very little android dev experience. Android integration was excellent, I had zero issues. It was easy to ship to the play store (faster and less painful than iOS. And if you need to modify something, you don't need to wait days to get it re-approved).

If you're playing "within the bounds" of what React Native provides, it's wonderful. If you're doing some fairly custom things you may need to drop down and write Native Modules ( https://facebook.github.io/react-native/docs/native-modules-... ), but the ecosystem is growing so fast that there are so many third party libraries that cover many of the custom things you'd want to do ( https://github.com/jondot/awesome-react-native )


thanks! this is really good news. I'm sort of in the same shoes as you. I work as an iOS developer and I wrote React for fun on the side.

Knowing how easy to is to ship to Android Studio is an added benefit.


For errors I'll always log the full stack trace (in JS, at least). This helps a ton for when errors occur, but I find that often times it's not explicit errors that are a problem (e.g., making sure the right message is sent and received from a queue system). Of course, setting breakpoints can give more information, but it's not always obvious where a breakpoint needs to be set (e.g., when a new person comes on the team) - for me, logging points me to where I need to set breakpoints, speeding up my development time.


Thanks! I've come across your library before and I think it's great. I like how you abstract the World to be a container for the systems and entities.


I'll be posting a follow up about the machine learning bit in the near future. It uses not just words, but also phrases. For the meme / buzzfeed posts, more weight is given to content you write vs. links / articles you post (and we only take into account what you say if you do share a link, not the content the buzzfeed post itself).

It doesn't really try to distinguish sarcasm. Depending on the sample size (ours used 75k people with ~750m words / phrases), it could conceivably detect sarcasm. Yeah, totally. /s (Maybe, but probably not)

The study itself is published at http://www.ncbi.nlm.nih.gov/pmc/articles/PMC3783449/



Ah, yeah, admittedly I didn't do much searching around for the source. I'd imagine the research is better than my intuition though. Thanks for that.



canvas can better handle drawing thing which involve tons of objects, as you're working with pixels instead of DOM elements. here's an example of canvas being used for parallel coordinates: http://bl.ocks.org/syntagmatic/2420080


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: