Better HN
topnewbestaskshowjobs
Log inSign up

nthtran

140 karma · joined Oct 14, 2014 (12y ago) · 20 submissions

[ my public key: https://keybase.io/nthtran; my proof: https://keybase.io/nthtran/sigs/hlGJ-R31XwtsH9xc_55wjLbCaoFgQdkHH0SEJxs5--k ]
Submissions

comment 8y ago · link · parent

Apollo by itself doesn't do anything close to what Graphcool does out of the box.

2.

Read This Before You Build Uber for X(blog.ycombinator.com ↗)

2 points · by nthtran · 9y ago · discuss

comment 9y ago · link · parent

I see. How likely is it that Wix is switching back to pure native?

comment 9y ago · link · parent

Thanks Leo. I've seen a few of Tal Kol's posts and talks, and it seemed to me that Wix was all in on React Native. Thanks for sharing a different point of view.

comment 9y ago · link · parent

If you hate it so much, why work at a company that produces mediocre software?

comment 9y ago · link · parent

Hey would love to chat with you about replicating this model in other developing countries. What's the best way to reach out?

comment 9y ago · link · parent

What are your mechanisms for this?

8.

ReactXP – A library for building cross-platform apps(microsoft.github.io ↗)

338 points · by nthtran · 9y ago · 116 comments

comment 10y ago · link · parent

Oh are you from Brazil? We are not from there but are very fond of the place. My cofounders Anton and Brystal used to stay there for a while. Anton did live there for years at one point.

And thank you for the suggestion. We'll do that.

comment 10y ago · link · parent

Thanks for your comment and questions!

Like you said, one of our use cases is helping people find the right neighbourhood to stay in. Whether it's because they find it safe, close to things they'd like to see, or has the vibe and lifestyle they want to experience.

Your suggestions are interesting and we've had similar thoughts. Hope we'll be able to implement them soon.

Regarding your concerns:

We want Lucal to be a community project so we don't see ourselves paying freelancers directly.

You're right, covering off-the-path locations is definitely a challenge as public media sources for these are limited. We indeed need to incentivise locals to contribute to the platform. One such incentive is publicity for their area and small businesses within it. We hope to work with local businesses and get them to contribute media for their areas, providing content for us and getting their names out at the same time. Partnerships with local tourism boards could help us with this as well.

For more popular destinations it's easier to seed the media so we plan to do some of it ourselves at the start. We can attract users with these initially. Once we have a large enough user base we can start social media campaigns for lesser-known places to get the community to contribute to those.

comment 10y ago · link · parent

Panoramio has a lot of nice photos but just by using it you can tell that it's outdated and not being actively developed. We want to do more than that: local live streams, videos (drone, vines, etc.) as well as VR with 360° photos and videos.

Our goal is to help you get a feel for any place as it currently is and see what's happening there right now, for example weekly local markets, festivals, annual events, etc. Thus the focus is on live and recent visual content that will stop being displayed after a certain time (possibly 1 month).

A cool thing we can potentially do with this is time travel. You'll be able to see what was happening at any place at any given time on Lucal with a timeline slider.

12.

Apply HN: Lucal – Discover the world as a local through visual media and VR

9 points · by nthtran · 10y ago · 11 comments

comment 11y ago · link · parent

Firesize uses ImageMagick, which in my experience consumes more memory and is slower than libvips [1] for simple image resizing/optimization.

I built a simple image-resizing server with a query string API using libvips [2]. This is based on sharp [3], a good wrapper of libvips for Node.js.

[1] https://github.com/jcupitt/libvips

[2] https://github.com/nthtran/imgop

[3] https://github.com/lovell/sharp

comment 12y ago · link · parent

Could you expand more on the ops issues you have encountered in your systems?

comment 12y ago · link · parent

Yeah they do now: https://about.gitlab.com/gitlab-com/

comment 12y ago · link · parent

The React demo does use PureRenderMixin [0].

And virtual-dom also supports keys.

[0] https://github.com/BinaryMuse/react-primer/blob/gh-pages/dem...

comment 12y ago · link · parent

The author didn't include an optimisation that the React example has.

In React you can use the PureRenderMixin [0] to avoid re-rendering subtrees if the arguments passed in are the same. In virtual-dom there's something similar called Thunk [1].

I did a partial implementation of the demo here [2] using Thunk. You can see that it performs much better than React for many thousand items. Adding items is also faster using virtual-dom.

[0] http://facebook.github.io/react/docs/pure-render-mixin.html

[1] https://github.com/Raynos/vdom-thunk

[2] http://nthtran.github.io/mercury-demo6-v2/

comment 12y ago · link · parent

Gitlab [0] has unlimited private repositories and unlimited collaborators. It might prove to be a good alternative.

[0] https://gitlab.com

19.

Polyfill as a Service(polyfills.io ↗)

2 points · by nthtran · 12y ago · discuss