Software Engineer at Google, RxJS Core Team member, Open Source Hacker
Ask Ben Lesh about:
Thank you all for the awesome questions and the kind words! It's been fun! 🍻
I have an RxJs question that might be good for helping others (and myself) understand RxJS Observables and timing.
Lets say I have a service that looks like so: getData(something){ // ...code return IntervalObservable.create(1000) .flatMap(() => { return this.http.get(url).map(res => //do something with res ); }); }
This is getting called in a component like so: this.data$ = this.MyService.getData(this.something)
A) How would I fire this request to get the response back right away (instead of waiting 1 second) and then wait another 5 seconds to resend the request? B) Let say I want to add other observables to this, and have them all call the service and get data back at the same time. How would I do that? I read some place about hot and cold observables and .share(), but I don't know if that is relevant.
My use case is an app that will allow you to add multiple devices to listen to a server and sync data, but they all need to sync at the same time. I am not sure this is even the best way to do it, but it works so far for one item. Thanks for the guidance!
Can you share your Google interview process? Just general, not details. For example, did you go through the same process as an unknown candidate (you were already a celebrity when you joined). Were you asked to solve a problem on a whiteboard?
What do you think about Angular Universal? Do you think SSR is addressing js becoming more of a 'compiled' language? Why would we think about SSR in development?
Answer for you lunch question : actually lunch time for you , my time is 12 :29 am assume my location? ,😎
Besides RxJS, what other libraries or paradigms are pointing the way in front-end development?
Any resources you can recommend for marble testing libraries for observables? We've been using jasmine-marbles for this but it can be slow going when testing more complex scenarios and need to do configuration with the test scheduler.
Do you think it is feasible to replace redux with RxJS and maybe recompose? It seems it would keep my closer to javascript and first principles of functional reactive programming. What would be the downside of that approach?
Thanks for your work with RxJS. What do you think about remote working? Have you worked remotely?
Actually you only typing answers for all this question or do you have any assistance or helper for this session?
Sometimes java is best in industry , sometimes python , sometimes c++ , or other . Why it is like this ? who is making best each other ? Actually it is existing or any marketing trick ?
There's currently a TC39 proposal for adding a Observable implementation to JavaScript. How do you expect this to affect RxJS? Is the proposed pipeline operator a way how this could be integrated with operators from RxJS?
Btw. thanks a lot for your work on RxJS. I'm currently using it for a gesture driven animation and Rx is the only model I'm able to express this in a clean way :).
Am a fresher, which is the best language for my career start as well as my future growth?
What advice do you have for someone who is looking to get involved in an Open-Source project, but doesn't have a lot of confidence in their knowledge and skills? I want to get involved because I know I'll learn a ton from the experience but i'm not sure where to start? Any tips on seeking out projects to engage would be greatly appreciated!
Hi Ben,
Name a few developers you admire and whose opinion matter to you!
What are your thoughts on TypeScript? The future of web? Will it replace JavaScript?
How hard is it to get into Google as a machine learning engineer?
Ben Lesh
Ben Lesh
David
As for getting paid for oss. What would you like to work on and how could we support that. Rxjs has changed my way of programming and I'm more then thankfull for that.