Please help contribute to the Reddit categorization project here

    BizCaus

    + friends - friends
    19,448 link karma
    3,823 comment karma
    send message redditor for

    [–] Dan Abramov explains pre-rendering, a feature of Time Slicing that will be part of the next major release of React. BizCaus 2 points ago in reactjs

    I recently spoke with some members of the core team and interestingly they mentioned that they stopped using the native rIC (because it wasn’t aggressive enough) and roll their own solution via clever usage of rAF & postMessage. You can see it mentioned here: https://github.com/facebook/react/blob/b92f947af1b5d8804026cb0e1cfa59ead7484ca5/packages/schedule/src/Schedule.js#L25-L31

    [–] Introducing Pose 3.0: New UI events BizCaus 1 points ago in reactjs

    Animating from 0 w/h with inverse transforms is relatively trivial to get working with this logic for calculating the inverse scale:

    const childScale = 1 / (
      parentScale === 0
        ? Number.MIN_VALUE
        : parentScale
    );
    

    I havent gotten to-0 working yet but as its a single isolated edge case i believe a workaround could be constructed. One possibility would be to reverse the flip operation with a forward fill animation but i havent tried it out concretely yet.

    (sorry for the terseness, currently on mobile)

    [–] What's everyone working on this week? BizCaus 2 points ago in reactjs

    Trying to power through and finish my demo for the Zeit React meetup so I can actually start focusing more on the 'talk' portion 😬

    [–] A 2018 Overview of the JavaScript Ecosystem BizCaus 8 points ago in javascript

    ^ this. Instead of React reconciling its diffs into DOM instructions, React Native turns it into IPC messages (essentially just topic + JSON payload) that gets picked up by the β€œbridge” which translates those into native function calls.

    [–] ST-100x | ~3 Years | Can't remember how many washes BizCaus 3 points ago in rawdenim

    Yeah for sure, I've stopped wearing these until I can get that back pocket fixed πŸ˜…

    [–] A minimal guide to ECMAScript Decorators BizCaus 8 points ago in javascript

    Important to note that this a guide for the legacy decorators spec, the spec that is at stage 2 works a bit differently and there currently isn't a babel transform for it (but it's being worked on).

    [–] Nike+ RN App ported to web using RN Dom BizCaus 2 points ago in reactjs

    While they share the same API, their implementations could not be any more different. The largest difference I'd say is that RNW has a dependency on react-dom while RNDom has a dependency on react-native. Somebody posted this diagram to show off the differences in RND's issues: https://i.imgur.com/4O8eXsE.png

    [–] Facebook moving away from React Native? BizCaus 5 points ago in reactjs

    Uhhh the marketplace feature is apparently mostly done in React Native...

    https://twitter.com/Vjeux/status/1003125015565352960

    [–] Showoff Saturday (June 02, 2018) BizCaus 4 points ago * (lasted edited 4 months ago) in javascript

    A little over a week ago I announced my attempt at a full port of React Native to the web: React Native DOM. It shares the same multithreaded architecture, layout engine (Yoga compiled to WebAssembly), and DX (projects are built using the metro bundler). Still very experimental but early results are very promising.

    EDIT: For some reason the links aren't being highlighted in the reddit redesign:

    Repo: https://github.com/vincentriemer/react-native-dom

    Demo: https://rndom-movie-demo.now.sh

    [–] React Kanban - A Trello-like app built with React and Redux BizCaus 12 points ago * (lasted edited 6 months ago) in reactjs

    That's more difficult than you think, and impossible to get perfect due to how iOS Safari does the document-level scrolling. Best results I've gotten are from making the entire page position: fixed but that's obviously not an ideal solution.

    Edit: Webkit bug for reference

    [–] Chrome 65 - What's New in DevTools BizCaus 1 points ago in webdev

    I don’t know if it’s the same issue, but I noticed that the gpu performance in canary is currently way better than stable on OS X so perhaps they have addressed it.

    [–] The Average Faces of 42 Different Subreddits [OC] BizCaus 1 points ago in dataisbeautiful

    Nice work!

    Seems like you noticed the big hurdle of doing this automatically (not many front-facing images). For comparison's sake here's my script's result for r/beautifulfemales

    [–] The Average Faces of 42 Different Subreddits [OC] BizCaus 43 points ago in dataisbeautiful

    I really don't have the time to document it or provide support, but if you're interesting in just reading the extremely ugly code (this was just a weekend side project): https://gist.github.com/vincentriemer/70a49c8fb8d15719638aac83dc2c7c9e

    [–] The Average Faces of 42 Different Subreddits [OC] BizCaus 3 points ago in dataisbeautiful

    Can't forget for them to be mirin there needs to be somebody being mired, which leads to an interesting result: https://i.imgur.com/CG5Otd2.png

    [–] The Average Faces of 42 Different Subreddits [OC] BizCaus 9 points ago in dataisbeautiful

    Luckily Reddit makes it easy with their API, I specifically used this library for traversing all the posts

    [–] The Average Faces of 42 Different Subreddits [OC] BizCaus 5 points ago in dataisbeautiful

    One aspect I think a lot of people are overlooking is lighting (highlights vs shadows and the average between them)

    [–] The Average Faces of 42 Different Subreddits [OC] BizCaus 4 points ago in dataisbeautiful

    Well they're alphabetically ordered, and the selection was a mix of ones I frequent, searching for more niche examples I don't frequent and looking for a high rate of faces, and suggestions from friends.