Earlier quoted context omitted.
Animation effects like this are more annoying than anything else, anyway.
No it's not, nicely done animations, and I'm not saying over the top animation, can ease context changes for example. It's better to have an object moving to its new place than to have an object disappear and reappear somewhere else on the screen.
Yoga: A cross-platform layout engine
161–168 of 168 posts
Re: Yoga: A cross-platform layout engine
#162I made a similar library earlier this year. It builds as C or C++ and is only two files (MIT license): https://github.com/randrew/layout The API is similar to Yoga. I hadn't seen Yoga before, and I'm surprised at how similar it is. It seems like Yoga is about the same age (or older?) than my Layout library. It's meant to be easily embedded into existing software, such as game engines, OpenGL-based tools, custom GUI l…
Hey, this looks really good - I'll give a shot at using this in MOAI! Thanks for that!
Re: Yoga: A cross-platform layout engine
#163Earlier quoted context omitted.
Both you and grandparent are wrong. I have consulted with lawyers on this (and the language is pretty clear as well). If you initiate a patent lawsuit against FB on any grounds, you lose patent protection for this library (or React, Reactive-Native, etc -- they share the same patent licensing terms). If you counter-sue FB after they have initiated a patent suit against you, you are ok, as long as your counter-suit do…
It doesn't matter if you use React or not. If you sue Facebook, they can sue you for any patents they hold.
Re: Yoga: A cross-platform layout engine
#164Earlier quoted context omitted.
Does not matter. It is not a good idea to use other people's cultural heritage to name "things". In fact the downvotes here suggest how deeply prejudiced and racist people are on HN.
In fact the downvotes here suggest how deeply prejudiced and racist people are on HN. Is it fair to generalize like this across all the members of HN? You might argue that this is the case for those that down-voted, but everyone?
Re: Yoga: A cross-platform layout engine
#165Earlier quoted context omitted.
In fact the downvotes here suggest how deeply prejudiced and racist people are on HN. Is it fair to generalize like this across all the members of HN? You might argue that this is the case for those that down-voted, but everyone?
If a comment has down-votes it is fair to say people who did not upvote despite reading supported the action of the downvoters.
Re: Yoga: A cross-platform layout engine
#166Earlier quoted context omitted.
> will this be eventually ported to JavaScript? It has been ported already. https://www.npmjs.com/package/css-layout Oddly enough there's no git repository. Only the npm package has the pure JS code. And the last release was from last year. Fortunately it looks it was easy to port, if one needs a more recent version.
It's actually the exact opposite flow ;) css-layout is the original project, it was written in JS and then automatically translated into Java & co. It had some bugs, and Facebook rewrote the thing directly to a native implementation but decided to drop JS as they were not using that variation internally. This is a shame as I love CSS-layout for calculating tween points in layout animations on the web. FB said at this…
[0]: https://kentor.me/posts/creating-diagrams-with-react-svg-and...
Re: Yoga: A cross-platform layout engine
#167Earlier quoted context omitted.
This is one of the reasons companies seek patents, called a defensive patent strategy. The goal is to discourage competitors from suing you for patent violations by making sure you own a patent your competitors are likely to have violated. It creates a kind of "mutually assured destruction" that discourages either party from launching a patent war (this only works against real competitors, not against patent trolls,…
Let's say I have a patent for a technology outside of React, and even outside of software, such as some hardware patent. Why should me suing for infringement of that patent preclude me from using React when it (the patent infringement and React) are completely independent?
Re: Yoga: A cross-platform layout engine
#168Earlier quoted context omitted.
It doesn't matter if you use React or not. If you sue Facebook, they can sue you for any patents they hold.
Of course, but having to stop using React as a result would be deadly for a company that built its company on it. :)