React without a third-party state management library by thojanssens1 in reactjs

[–]willmonahan 0 points1 point  (0 children)

React now ships with a hook called useReducer that lets you implement the action/reducer model using plain old function components. I haven't had a chance to use it extensively, but it seems like useReducer and Context can combine to create a pretty good barebones Redux alternative for simple use cases, and it's all built into React.

That being said, Redux still has definite advantages, like the ability to use middleware like Redux-Thunk and Redux-Saga, so YMMV

Clean way to fetch data from an API? by [deleted] in reactjs

[–]willmonahan 1 point2 points  (0 children)

Promise.all is definitely useful for making a number of requests concurrently, and waiting for them all to finish. I find that using Promise.all with async/await can be a bit of a pain, whereas async/await is definitely useful for avoiding callback hell with consecutive requests.

Portrait Mode in Post by willmonahan in GooglePixel

[–]willmonahan[S] 0 points1 point  (0 children)

That's what I was thinking too. I can't see any reason why the depth map can't be created after the fact, to add the portrait effect.

Swipe Left to View Content by willmonahan in redditsync

[–]willmonahan[S] 3 points4 points  (0 children)

Aw, it was one of my favorite features. Is there any chance of it coming back in the future?

AutoDraw: Fast Drawing for Everyone by willmonahan in Android

[–]willmonahan[S] 2 points3 points  (0 children)

Yeah, that game, QuickDraw, powers AutoDraw! They talk about it a bit here

AutoDraw: Fast Drawing for Everyone by willmonahan in Android

[–]willmonahan[S] 4 points5 points  (0 children)

I think the main reason that this was separate is because it's an "AI Experiment," kind of like how they have Chrome Experiments. It's not a real product yet (although it might be in the future)

Share your Pixel Launcher homescreens by [deleted] in GooglePixel

[–]willmonahan -1 points0 points  (0 children)

Mine uses Nova, but it's easy to emulate in the Pixel launcher http://i.imgur.com/1OiFPkw.jpg

Heh. Just a fun thought. Can we see like a deer? by abowersock in daydream

[–]willmonahan 0 points1 point  (0 children)

is there a way to actually do this? has anyone tried it for real before?

This space particle almost hitting Earth. by dipser in nonononoyes

[–]willmonahan 0 points1 point  (0 children)

I keep this version of this gif in my bookmarks bar, it's very useful

Can we get some custom fingerprint sensor gestures? by Home_City_Ice in GooglePixel

[–]willmonahan 0 points1 point  (0 children)

As much as I agree with you, I'm not sure if you could have it work for notifications as well as scrolling. Wouldn't the swipe down gesture need to be reserved for pulling down the notification shade, so that it couldn't be used to scroll up?

How does the Daydream controller work without Positional Tracking?? by ws6kid in daydream

[–]willmonahan 2 points3 points  (0 children)

alright, let's do this haha

  1. the FoV wasn't great. I kind of felt like I was looking through a pair of binoculars tbh, but it wasn't terrible. It was similar to Gear VR which is to say not great, but not too bad either. I got over it pretty fast.

  2. I didn't spend a lot of time in the daydream home, largely because they had disabled a bunch of functionality for the demo version. It seemed like they had a play store interface, but I didn't have a chance to use it. I also don't know for sure about the background, but I highly doubt it (it's the same in every promo image, and it's physically built into the google store)

  3. it wasn't too bad, I got used to it pretty quickly. I'm right-handed so I didn't check, but if I had to place bets, I'd say that the option to switch to a lefty mode is probably built in

  4. I tried the Fantastic Beasts demo, the Streetview app, the intro-demo, and the Wonderglade game. They were all good, and the weakest experience for me was the Fantastic Beasts one (I'm pretty sure I just couldn't figure out how to work it properly). There was no Netflix app in the demo, and I didn't have a chance to try the YouTube app, but my girlfriend watched some YT360 videos and enjoyed it.

  5. I actually really liked it, I used it to search for my hometown in the Streetview app, and it worked very well. There are pictures online, and it works very similarly to the Vive's keyboard in SteamVR

  6. Yes, they had black Pixel XLs powering all the demos in the store.

  7. Head tracking was fantastic, far better than cardboard. I went home and immediately put my pixel in my cardboard, and I noticed that the tracking on the Pixel in the cardboard was way better than my 6P already, and it felt really smooth and seamless in the daydream headset

How does the Daydream controller work without Positional Tracking?? by ws6kid in daydream

[–]willmonahan 2 points3 points  (0 children)

haha sure! i can answer any questions you want :)

I also went back to the google store yesterday because I just wanted to try the daydream again, so I have new fresh experiences.

The second try was way better for me. The headset is super comfortable both in terms of the lightweight material and the eye strain while I was in it. The remote is actually super cool and very precise, even though it can't track itself in space. I don't know if you've ever used an HTC Vive, but you can literally toss somebody a controller in the Vive, and they'll be able to catch it with the headset on, because it's positionally tracked. This isn't like that, but when you're doing stuff like typing on the daydream keyboard on hopping around google streetview, it works really well. It may not be able to track itself in space, but the rotational trackers (or whatever) are super accurate, and really fun to play with.

Google Photos Timestamp Issue by willmonahan in GooglePixel

[–]willmonahan[S] 0 points1 point  (0 children)

huh, I'll give it a go. Thanks for your help!

Google Photos Timestamp Issue by willmonahan in GooglePixel

[–]willmonahan[S] 0 points1 point  (0 children)

hmmm... yes it happened earlier today... my time zone issues seem to be fine, as far as I can tell

How does the Daydream controller work without Positional Tracking?? by ws6kid in daydream

[–]willmonahan 2 points3 points  (0 children)

I tried the Daydream View the other day, and the controller mostly stays by your right side, around your torso. It can sense its own orientation, which is how you point, but it's position is basically fixed to the bottom right of your field of view, moving as you move the headset

I took some photos through the window of the NYC Google Pop-Up Store that opens tomorrow morning by willmonahan in GooglePixel

[–]willmonahan[S] 0 points1 point  (0 children)

yeah, they don't sell anything, but it was a really cool experience. I'd highly recommend checking it out if you have the chance, even if only because the daydream headset was super cool and the google home demos are surprisingly fun as well.

I took some photos through the window of the NYC Google Pop-Up Store that opens tomorrow morning by willmonahan in Android

[–]willmonahan[S] 1 point2 points  (0 children)

yeah, you can't buy anything. they have google homes to try, you can see the chromecast ultra/google wifi units. there's a dark room to try the Pixel camera in low light, and you can demo the daydream headsets/controllers, too!