Giter VIP home page Giter VIP logo

ama's Introduction

ama's People

Contributors

detrohutt avatar joeycozza avatar kentcdodds avatar sindresorhus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ama's Issues

re first-timers-only: second- and millionth-timers

Regarding the first-timers-only issues, how would you react to the following people sending a PR:

  • a second-timer? (it’s their 2nd OSS contribution)
  • an experienced person, who heard about your project 5 minutes ago? They are a first-timer in some regard…

Would you accept it, or scold the person (which is a very bad experience and an awful PR move)?

What is your prefered method for directive function parameters?

I know 2 methods:

Method A: using an object literal

angular.module('app').directive('person', function () {
    return {
        restrict: 'E',
        scope: {
            say: '&',
        },
        controller: function ($scope) {
            $scope.talk = function () {
                var message = 'Hello!';
                $scope.say({ message: message });
            };
        },
        template: '<button ng-click="talk()">Talk</button>'
    };
})
.controller('myController', function($scope) {
    $scope.say = function(message) {
        console.log(message);
    };
});
<person say="say(message)"></person>

Method B: passing a function reference

angular.module('app').directive('person', function () {
    return {
        restrict: 'E',
        scope: {
            say: '&',
        },
        controller: function ($scope) {
            $scope.talk = function () {
                var message = 'Hello!';
                $scope.say()(message);
            };
        },
        template: '<button ng-click="talk()">Talk</button>'
    };
})
.controller('myController', function($scope) {
    $scope.say = function(message) {
        console.log(message);
    };
});
<person say="say"></person>

Do you prefer method A, B or another one?

Are you available for a day of consulting/discussion?

I attended your Formly workshop at ng-conf 2015, have been following you on Twitter ever since, and have become a fan of your energetic, humble, thoughtful approach to things.

We are putting together an internal "unconference" to look for ways to improve our development development process. I think we would benefit greatly from getting an outside perspective on how somebody else is doing things (adding Webpack, transpiling, modules, etc. to our AngularJS project)

I know you have a full time job, but I can't think of anybody I'd rather spend a day discussing all things JS with.

Did you serve a mission?

If so, where?

PS. Hi from a fellow Mormon! It's always nice to get to know more people in our industry in the church. Let's be friends! 👍

angular jwt video

I got this in an email and so I'm putting it here for others to benefit from :-)

Hi kent,
Just previewed your video. But, I interested to know how to u dock your browser on the right side when you dragged to the top right corner.

Sorry for the side agenda.

Angular App on production

Hi there!
My question is: what do you recommend to run an Angular App on a linux server on production, like in an aws ec2 server?

How do I get into giving talks?

So far, I've given a lot of private lectures at a bootcamp and one public talk that was fairly well-received. I want to give more. Wat do?

Should I start off making more local meetup connections and applying to conferences when I've got a handful of meetup talks under my belt?

How much of a talk do you write out before submitting the proposal? The outline? Slides? Everything?

How do you find RFS? What rejection rate should I expect?

Web Components

What do you think of web components?

Particularly, do you see it as the future for a more modular & simplified (web-)development?

Angular or React?

Clickbait title, but which one would you use in your next project and why?

Web App Tips

I was wondering if you could point me in the right direction for developing what I think should be a pretty straightforward web app. In its most primitive state, it should have three main pages:

(1) Users submit a video URL (e.g. from YouTube) in a web form page. Users input some information about the video, such as the video category, a person who appears in the video, a comment about the video, and a few more things. The form would need to drill-down so options later in the form could vary based on answers given earlier in the form.

(2) The body of the home page would contain a feed of recently submitted videos with a few text lines per video based on user-submitted data, such as category and people appearing in the video, as well as Youtube Data API stats, such as title, views, and rating.

(3) From the main page, users link to the search page. This page would have a list of filters to apply to allow users to sort through the videos based on criteria, which would also drill down. A list of videos is shown with their data, which can update without refreshing the entire page based on filters applied. The list of videos and their data would appear as described for the home page. (Technically this could just be incorporated in the home page, and the search results would overwrite the default feed.)

If things work out and the app gets traction, I'd hope to add more features to the site down the road, including user account registration:

  • Save preferences and get a relevant news feed
  • Participate in a video rating system, which requires user registration
  • Leave feedback on videos (flag as inappropriate, suggest corrections to tags, etc.)

I've been doing tutorials on Django/Python, Ruby/Rails, and a little AngularJS the past few days to acquaint myself better, but now that I'm seeing what I can do from scratch, I don't want to get too far before finding out I should have started in a different language, added more packages, etc. at the get-go. I've created a Google Developer trial account and played around with some virtual machines while I'm on the free trial, and I've figured out how to do basic tasks with Django/Python, Apache, MySQL, etc. to deploy simple apps to the web. (I've been performing simulation work on my university's supercomputer for the past three years, so I'm pretty familiar with Linux now.) I even tried working with Google App Engine, Heroku, etc. but found these to be fairly restrictive and have preferred the flexibility of the virtual machines.

What sort of languages, framework, database, etc. would you recommend for such a project? I'm just looking for the right place to start. :)

Thanks Kent! Hope that you and your family are doing well.

Mitch

Using angular-formly

Hi Kent,

Thank you for all the work in angular-formly.
I have an existing angular application where I have used includes to dynamically build parts (chunks, i.e many fields each include) of a form spanning multiple tabs.

Now that I have decided to use formly, I am not seeing how I could implement a similar dynamic form parts. I thought about expressions per field but then I will have to repeat the same condition for each field in a form part.

I hope that I have made my question clear and I hope to hear from you soon.

By the way, I have seen your tabs example and that helps in constructing the form over many tabs. But as I said, I would like multiple dynamically added chunks of the form (multiple fields) to each tab and to show and hide. Once hidden, the validation should not take place on hidden or not rendered fields.

Thanks a lot.

Reading habits

Considering our field (IT) is evolving exponentially, I am very curious on how other people have their daily doses of information (besides the work-related stuff) to stay relevant and updated.

  • What kind of information sources do you consume on a regular basis (Books, Magazines, Twitter, HN, Blog Feeds, Podcasts, ...)?
  • What off-topics are you interested in (IT-related, besides the work-related specifics)?
  • What tools do you use regularly (E-Reader, Tweetdeck, Medium, Feedkly, Pocket Casts)?
  • Do you allocate some time of your day for consuming information, or you just do it on the fly?
  • Do you have an specific routine/process for information consumption?

Angular2 Classes

Given Angular2's examples being heavily focused on classes and composition, do you have any reservations? Will you use classes or will you write your own prototypes? What is your impression of annotations?

How did you pick your next company/project?

So first of all, congrats on landing the role at PayPal!

My question for you is: how did you eventually figure out that PayPal was the next step for you? What was your research process in finding a company that you want to work for that is building a product that you want to build?

What's really important to me in my full-time position is working on a project that I find particularly interesting; A project that I will be intrinsically motivated to put forth the best I can because it's a product that I really really want to see succeed.

Where do you look for the companies that might be building such a product?

Why have you not created your own start up?

I'm always surprised to see top developers in full time employment. I always think "If I was that skilled, I'd build my own company/startup and become a gazillionaire!!"

Why lodash instead of underscore?

Seems like you have a strong preference towards lodash in your projects, I've read a couple comparison articles, but was curious as to your reasoning.

Testing an Express API

Hi Kent,

At the moment, I'm building an express API and I'm about to write tests for all the endpoints I have (yes, I know that I should have done this before :) ).

I'm thinking about writing some tests that check the http response codes, as well as the returned content itself (using superagent or supertest), and also check if there is a match between the retrieved data and what is stored in the database. Am I thinking right about the problem?

There are small functions where there is the need of testing the logic only with unit tests. Thus, the main focus is to develop end to end tests.

I'd like to listen your opinion on the best way to do it.
Thanks!

Mastering javascript dom/dom api

Hi,

Could you suggest some project/repositories to master javascript dom,eventing,js performance.
I thought of creating a event bus,but was not sure how to proceed.
I would be helpful for me if you could share some good resources.

How to find a mentor, a developer who can guide us.

I'm an angular and JS developer. I've been building projects with them for past 6-7 months. I like web development and especially JS very much. I need someone who can guide me through the different technologies, tools, projects, and even career. How should I find and ask someone to mentor me. I work for a company which doesn't have many senior developers.

Angular and Webpack (spread one angular Module through the whole app)

I have watched your tutorials about 'Angular and Webpack’ (egghead.io). I like the way how you spread one angular Module through the whole app by 'module.exports' function. But is it good practise? If one part of app dependents on (for example) 'angular-moment' .. In your solution I need to type this dependency to 'app' ngModule even if only one component of the app needs it.

i sure could some help

Hello sir, you said you like to help and i sure could use some help. I am the owner of freelivecam2camgirls.com and it is a web site that helps people sexy people become internet stars. I have been held back from opening the site for real for 3 months. Because it is crusial that on my site or application linking to my site I can run the youtube api. I need to do broadcast setup video upload, Well just about all the api ver3 options for you tube I can get. I have taken the samples ran it in eclispse using maven for the java and i get a clean no error command line program that works no place except on my computer. I try to get it into a wen app or service using many many techniqes but it always fails. I have also done the api in pythone, .php. java, and google app scripts but i cant get the last part everytime i get stuck. I really really need this. I i am just missing a tiny "doget line on app scripts and or a tiny bit of help on the java end. Can you please please help me?

Angular Issue

I am having a very odd issue on an angular app I'm writing for a client, and I was hoping you would have some insight that could help me track down and fix it.

The app is a typical CRUD app that helps manage entities that, for the sake of this discussion we'll call Clients, Locations, and Employees. The data is pulled off of an API and displayed/manipulated from there. The issue I'm having is this: When you navigate to the "listings" page for any of the entities, the data is pulled from the API via resolve (using ui-router) and bound to the view in the controller. In the template, the list is rendered using ng-repeat. When you navigate to the list page via the menu, or any other UI element that points to it, it renders just fine. However, if you are on the list, click an entity (which takes you to the details page for that entity), and then click the back button in the browser, the list page takes ~25s to render. It is repeatable every time.

Here are some of the steps I've taken, none of which made any difference:

  • I've tried limiting the list data to fewer entries (as low as 10)
  • I've ensured that the response time from the API is consistent
  • I have tried adding in one-time bindings (e.g. {{ ::client.name }}), and using track by.
  • I installed your ng-stats snippet and run it. The watchers are consistent whether you navigate to the page via UI or the back button, but the digest times are vastly different: ~565 digest via UI, and ~22151 via the browser back button.
  • I've tried temporarily reducing the number of data points that are rendered for each list item in order to reduce the number of watchers overall.

I recorded the transition via the back button using Dev Tools, and here is a screenshot of the aggregated details of the process that took all of the time.

Any ideas you have would be most appreciated!

How do you find time to do everything that you do?

I'm always in awe of people doing pretty much anything outside of their day job. How do you manage to run a weekly podcast, keep on top of your open source projects, social networking, full time job in addition to having a young family?

limits to preferences

You have written about how various frameworks are better suited to the way some people think. You have also written about how coding styles can be preferences, somewhat implying that developers should be free to code in their preferred style. How do you balance those viewpoints with what is best for a project, team, or company?

Many companies want to standardize on frameworks and coding styles because they feel it cuts down on time to come up to speed on a project and makes it easier to move developers between projects.

Do you advocate that each developer should code in whatever style they like? Should each file follow one coding style? Should all files in a project follow the same coding style? Are you okay with each web app in a company being developed using a different framework?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.