coryhouse / ama Goto Github PK
View Code? Open in Web Editor NEWAsk me anything.
Ask me anything.
Hey Corey, thanks a lot for this AMA. I'm a huge fan of you because I've learned react thanks yours Pluralsight courses, everything is well explained and your support for the course is awesome.
Some months ago, after I finished the react courses, I started to create a dummy app for my portafolio like a real-app but I saw 3 different things that for me are doubts that could be great ask you:
Which architecture do you recommend for large and scalable react's app? Would be grate if you can give an example.
How can you work with react-redux if you have a big amount of data? Becuase I think if you have 1kk of registers is not ok (At least for me) retrieve all the data from your DB or whatever, and put it in your state as you can see in the examples.
For you What is the best real-app react-redux app that I can see as an example?
When will you create a full unit test for react app course?
Thanks, a lot I hope that you have time to answer those questions.
And, do you get paid a flat fee at PluralSight, or per view like a Spotify, or something else?
In your talk, "The Immutable Laws of Software and Life" you discuss the importance of "chasing your fears". You mention the fear of public speaking as one of the fears that you chased and overcame. This fear is clearly not an obstacle any more. 😀
Having conquered this fear, what fears are you chasing now?
Hello mister Cory House I'm Firas Regayeg from Tunisia, I'm a new junior developer. I work now for an enterprise that would use new technologies in its product developments. I followed you on Pluralsight and got many things new in JS thank you so much for those useful tutos. But for now, I want to contact you about something else, that I'm NOT ok with it. Its about when I start something new by myself trying to make it without help of others , I stuck up immediately. Could you tell me please, what is the best way to be comfortable with JS - specially - I want to be good on it, its the future language. I will be thankful for any instructions or recommendations from you. Thanks in advance
Hi Cory,
I am your follower and very impressed with your React knowledge. I would like to ask your feedback on my first (React RFC)[https://github.com/reactjs/rfcs/pull/130]. I think it could be very valuable for the whole React community. How do you see it from your perspective?
Hi Cory. I was wondering if you gave any courses in React using Visual Studio. I am a Microsoft developer and even though I have a subscription to Pluralsight, I don't see any courses like this. Thanks
Hello Cory,
I've been working as a software engineer for large corporations for 4 years now and am looking to transition into freelance/contracting. I have several questions on how to get started. Would greatly appreciate any guidance you can offer with the following:
What books have most impacted your life? In what way?
Just wondering... 😄
I spoke at a lot of conferences, authored courses, and blogged a lot. Microsoft gives MVPs to people who are active in the community. You need not use Microsoft products. When I first got my MVP, I was coding heavily in C# and .NET and authoring courses on those topics. That's how I got their attention. Since then, I've shifted to mostly JS and Node, but Microsoft has continued to award me MVP status for my contributions in those areas.
Many people assume MVP means you know MS tech best. That's often true, but not always.
And to clarify, I'm still a big fan of C# and .NET, I've just chosen to focus on JS recently because it's hot and I'm having fun trying to keep up with all the churn. :)
You have a pretty active professional life, between your regular work, your community involvement, and your Pluralsight gig, and I'm sure other things I'm not listing. Do you ever stop to wonder why you devote so much time to your professional life? And what you could have accomplished in your personal life with that time dedication?
I personally feel like to be the developer I want to be I can't just do a 40 hour work week. I work extra hours, do other stuff on the side, attend conferences, etc. Are we an industry of workaholics?
Hi Cory,
I am just going through your HTML5 Web Component Fundamentals course on Pluralsight... I am a complete beginner with some mandatory holidays, caused by the virus, so I decided to create a web application. I have written macros in excel before, and a few macros for a 3D design software both using VB, but that is about all my coding knowledge. I have watched about 45 hours of Pluralsight courses in 4 days, and I struggle to find the relevant things, as most beginner videos explain the basics too basic, but don't go into details on the genuinely new info. (I don't even need coding to understand what an if - else statement is - my mom shouted it at me enough as a child -, but what on earth is git? Sure I downloaded and installed it to follow the demos, now what, will it scan my entire computer and sell all my personal data???) Yes I have very serious trust issues.
Your course was the first one that I actually started to find interesting, and the one that made most sense.
As I am drowning in resources - there are 95+hrs of Pluralsight courses on HTML CSS and JS (basics), purely on how to write these from scratch - a common element in these courses is: "Here is how you do it from scratch on your own, but don't do that, here is 5 alternatives for - libraries, frameworks etc. but you also have to learn these on top of what you just learned, they will introduce issues with dependencies, and you will struggle to switch between these. Good luck!!"
So 5th day into learning web application development I think I would like to go down the Full Stack route, assuming I understood that term right (Developing both Front and Rear end) and re-invent every wheel that rolls my way. Luckily as a Mechanical Design Engineer working in Motorsports, that's also what I do when I am not on holiday
After the essay, here are the questions:
The app I am developing (a demo for - as a first project) exists already and was created in the early 2000s and is unsupported now. It handles personal data, and while I will not input any real GDPR sensitive data into my demo app, I would like to begin development with the condition that it must be THAT secure.
Thank you!
Sorry for the long post!
(Here is a Potato)
Hi Cory,
I recently enjoyed your course, "Next.js 12: The Big Picture," and it inspired me to explore Next.js 14. I'm currently wrapping up the new learning path by Vercel for version 14 and delving into the documentation.
I'm curious about the integration possibilities between Next.js 14 and a .NET Core backend. Our team has extensive experience with .NET Core and C#, and we're considering leveraging that expertise for backend services while adopting Next.js for our front end.
Could you shed some light on how the new default to server-side-rendering and 'use client' features in Next.js 14 might impact or facilitate the use of a .NET Core backend? Are there best practices for this kind of setup, especially considering the maturity and security benefits that .NET Core offers?
Thanks for your time
I prefer both Medium's reading and writing experience compared to my own (Wordpress) blog. I also find that I get more traffic on Medium than my own blog. Their tagging system works well, and they do a better job with mobile readers than my wordpress site does.
To get the best of both worlds, I tend to post on Medium, and then post the first paragraph on my personal blog with a link to the Medium post.
Cory, I was very impressed with your profile and wanted to see if I can network with you as I have some React Projects for Fortune 100 Client John Deere.
I am Talent Business Partner for Aquent ITS solutions and we are looking for top remote Senior FED Software Engineers long term openings for my major client John Deere. Do you know anyone in the market
https://aquent-it-solutions.com/work.html (This is the team I recruit for mostly) Our major client is John Deere https://www.deere.com/en/
Do you know anyone in the market
Matt Carey
[email protected]
Hi Cory,
Have a question and if you could give me an advice to follow that, and to somehow go to the right direction.
Have just basic knowledge of HTML and CSS, but don't know to write code for a site from scratch(for example).
Want somehow to get into this world.
Would like to choose some path that could lead me to some job, not just job at some agency, but also to be able to work remotely! Is that possible?
Will you please, when you have time just for some short advice?
Thank you
A
Hi Corey,
Firstly, amazing course, I really enjoy your clear, concise and easy to understand approach to teaching courses.
I have a couple of questions about the Plural Sight course Securing React Apps with Auth0. I watched this as I am building an app with a React front end and a Java Spring Boot back end.
You mention that if we have a server of any type then we should probably use the authorization grant type. If that's the case why do you use the Implicit flow even when you have an Express server set up in the course?
I see the course was released in 2018, is the course above now out of date? I am no security expert myself, but reading around I see that the Implicit grant type is now deprecated and even SPAs like React apps should use the authorization grant flow, what's your opinion on this?
Thanks for taking the time to take a look at my questions and answer them.
Hi - I've got a private corporate event coming up. Do you speak at private events? Can you contact me directly (erik.dahl @ realpage.com) if you do and we can continue dialog?
How we can achieve SSR(server side rendering) using create-react-app(without ejecting), redux, node and react-router-dom? I tried a lot but i'm not able to render component, which are connected to redux on server side. Please help me out on this.
Please make free tutorial react sir
I believe it's critical to manicure your information stream to assure it's providing a high signal-to-noise ratio.
A valuable information stream:
“In ancient times, having power meant having access to data. Today, having power means knowing what to ignore. - Yuval Harari
I follow many developers on Twitter. I limit the time I spend reading tweets so I can focus my reading on the sources below. I don't use any other social media.
I'm a big believer in this format. The signal to noise ratio on these is high.
Farnham Street Brain Food Newsletter
Seth Godin’s daily blog
Tim Ferriss Mailing List
JavaScript Weekly
Es.next News
React.js Newsletter
React Status
O'Reilly Web Development Newsletter
React Digest
Kent C Dodds Mail
The Knowledge Project
Tim Ferriss Show
The React Podcast
JavaScript Jabber
Syntax
I use audible. I listen to about one book a month while driving and biking. I track my reads on GoodReads.
I watch Pluralsight and Egghead courses. I believe in video-based learning, so I've authored multiple courses on Pluralsight.
I also enjoy Fun Fun Function on YouTube and TED Talks.
I hardly ever watch TV. I prefer reading, writing, experimenting, traveling, and hanging out with the fam.
I enjoy speaking at conferences so I can get in and learn for free. 👍 Although I enjoy the "hallway track", I often attend sessions. Here's the list of conferences I've attended.
I don't watch/read general news. Here's why. The Four Hour Work Week also has good insights on this topic. If it's a big deal, it tends to come to my attention anyway via Twitter and word of mouth. I rarely visit general tech sites since my email stream has a higher signal to noise ratio for my interests, and conference sessions and conversations fill in the gaps.
I often watch my kids play sports. 😃 Not much else.
I don't listen to the radio because the ads are obnoxious and I prefer to multithread my commuting. I strive to avoid ads. Instead, I listen to audio books and podcasts, and I pay for Spotify so there are no ads. I have a "Deep Focus" playlist for coding that contains music without lyrics.
Hi there,
Do you mind to share the editor you're currently using? VS Code? Which plugins do you use? Do you use any specific theme, font colors, prettier, etc?
Hi Cory,
I saw your presentation “What should I learn next?” at Cream City Code 2018 in Milwaukee. I thought it was a great talk. Do you happen to have the slides still? I did not see them on your website.
Best,
Phil Busch
I love hearing about your wins: sage advice, new discoveries, and general success stories. But I also wonder, do you have days where you think "That one really got away from me. I could have managed it better."? If so, what strategies do you use to bounce back and make the next day a success?
Hello Cory,
Here's a little background. I have been trying to learn how to be a programmer for about a year now. I have been working mostly on concourse for integration and pushing application to PCF for about six months into my first year. I felt alone in my attempt to learn so I figured I would have better luck by going back to school. In school I took the following classes; Visual basic, C++, and Java. I took a course on Python (my manager referred this to me). I did this for about two more months because the classes are five weeks apart. I felt I would learn faster if I signed up for a boot-camp. So, I took a break from school and enrolled into a boot-camp from June to October 2017 and it was great. They taught the following; React 15.3 at the time, and K'nex, express, bookshelf, PostGres SQL, HTML, CSS, and this is where I learned JavaScript. Each course was about one week each except for React that was about two weeks. I thought the class would be totoally focused on just JavaScript before I signed up. But taking the class felt to me you had to have some sort of experience in order to learn it. I felt lost the entire time. The teachers did what they could for me however, it was a pretty large class. Now, I am at a point where I really want to learn. People have given up on me, but not me. I believe and know I can do it. This is why I am reaching out. I am looking for a mentor, you have a great reputation. I really want to use this to change my life. I want to contribute something to the world. I know that's a bit much. But it's the truth. It has been a crazy year. But I decided I am not giving up.
Hi -
Sorry to post this here but I just can't find a 'Discussions' label on the product page.
I was attempting my first 'npm start' and I got this:
PS C:\Users\david\Documents\vscode-projects\react-redux-react-router-es6\03\demos\before> npm start
ps-redux@ start C:\Users\david\Documents\vscode-projects\react-redux-react-router-es6\03\demos\before
webpack-dev-server --config webpack.config.dev.js --port 3000
i 「wds」: Project is running at http://localhost:3000/
i 「wds」: webpack output is served from /
i 「wds」: Content not from webpack is served from C:\Users\david\Documents\vscode-projects\react-redux-react-router-es6\03\demos\before
i 「wds」: 404s will fallback to /index.html
× 「wdm」: 33 modules
ERROR in ./src/index.js
Module build failed (from ./node_modules/eslint-loader/index.js):
Error: No ESLint configuration found.
at Config.getLocalConfigHierarchy (C:\Users\david\Documents\vscode-projects\react-redux-react-router-es6\03\demos\before\node_modules\eslint\lib\config.js:268:39)
at Config.getConfigHierarchy (C:\Users\david\Documents\vscode-projects\react-redux-react-router-es6\03\demos\before\node_modules\eslint\lib\config.js:192:43)
at Config.getConfigVector (C:\Users\david\Documents\vscode-projects\react-redux-react-router-es6\03\demos\before\node_modules\eslint\lib\config.js:299:21)
at Config.getConfig (C:\Users\david\Documents\vscode-projects\react-redux-react-router-es6\03\demos\before\node_modules\eslint\lib\config.js:342:29)
at processText (C:\Users\david\Documents\vscode-projects\react-redux-react-router-es6\03\demos\before\node_modules\eslint\lib\cli-engine.js:181:33)
at CLIEngine.executeOnText (C:\Users\david\Documents\vscode-projects\react-redux-react-router-es6\03\demos\before\node_modules\eslint\lib\cli-engine.js:690:40)
at lint (C:\Users\david\Documents\vscode-projects\react-redux-react-router-es6\03\demos\before\node_modules\eslint-loader\index.js:263:17)
at Object.module.exports (C:\Users\david\Documents\vscode-projects\react-redux-react-router-es6\03\demos\before\node_modules\eslint-loader\index.js:258:21)
i 「wdm」: Failed to compile.
Here's a breakdown of what I use.
Here's the same info on Medium.
Disclaimer: I'm using Amazon affiliate links below.
Here's a breakdown of what's currently inside:
I use this on planes so I can read without being cramped. It fits nicely on a tray table. And since it places the machine above the tray table, it leaves room on the tray table for the separate trackpad and a drink.
Related tweet
Another related tweet
USB to lightning cable - For charging phone, AirPods, Trackpad, keyboard. The benefit of using all Apple is I can use the same cable to charge all 4 of these wireless peripherals.
Anker Powercore 10000 USB Battery - This 10,000 mah battery has enough juice to charge my phone, headphones, and Verizon Mifi multiple times so I don't worry about running out of juice. And it's about the size as a deck of cards!
Other items in my backpack:
Here I'm using the hotel TV as a 2nd monitor via HDMI:
The best part: I can dock and charge my MacBook Pro with a single USB-C cable. This shows power, USB-C, USB keyboard, Ethernet, and audio connected, all via a single cable to the Mac. 😍I have Google Fiber, so it's great plugging in a single cable and enjoying gigabit speeds! 🏎
Here it is up.
And here it is down.
Lifespan TR1200 DT Treadmill - I enjoy walking while working. Studies show walking while reads aids memory retention and creativity. I find it also keeps me alert. I alternate between walking, standing, and sitting depending on my mood. When I want to sit, I power the desk down, pivot my monitor and peripherals to the right, and sit in the chair that sits next to my treadmill.
Microsoft Sculpt Keyboard - I love this keyboard. Best keyboard action I've found, and the ergonomic design is quite comfortable. I've used it when traveling too but switched to a Magic Keyboard 2 because the Sculpt isn't flat which bloats my backpack, and it's small F-keys tend to get jammed down when it's stuffed in a backpack (the sole downside I've found). I like that this keyboard comes with a separate number pad. This way the reach from the keyboard to the mouse is shorter. 👍
Magic Trackpad 2 - Yes, I like this so much that I have a second for home.
Ergotron Dual Monitor Arms - I put my Dell 27" on one, and my Mac on the other using the Ergotron laptop tray which attaches to the monitor arm. I typically only open my Mac for video conferencing since I prefer a single monitor setup. I run them side-by-side, but these arms support stacking too. I bought the stacking style since it gives you more vertical height adjustment for side-by-side arrangements.
My wife makes fun of this, but I occasionally work from the car too. So I use a steering wheel desk from eBay. This is handy when I'm waiting for the kids while they're at practice and events. I drop them off and wait there instead of driving back and forth. So this saves time and money. On nice days, it's also enjoyable to drive somewhere inspiring and quiet so I can work from there for awhile. This works better than you might think. I find I can type just fine, and the screen is at eye level.
Know of other good stuff I should consider? Please post a comment!
Hey Cory, i want to run your application from pluralsight course
I downloaded exercise files from PluralSight: module 10, after folder. Asinq in Redux
Then i navigated to this folder:
C:\Users\asus\Desktop\CoryMaterMuJBM\after
and eneterd npm install to get node modulles.
Then i run:
C:\Users\asus\Desktop\CoryMaterMuJBM\after>npm start
and get his message:
ps-redux@ start C:\Users\asus\Desktop\CoryMaterMuJBM\after
run-p start:dev start:api
ps-redux@ start:dev C:\Users\asus\Desktop\CoryMaterMuJBM\after
webpack-dev-server --config webpack.config.dev.js --port 3000
ps-redux@ prestart:api C:\Users\asus\Desktop\CoryMaterMuJBM\after
node tools/createMockDb.js
Mock DB created.
ps-redux@ start:api C:\Users\asus\Desktop\CoryMaterMuJBM\after
node tools/apiServer.js
events.js:186
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE: address already in use :::3001
at Server.setupListenHandle [as _listen2] (net.js:1298:14)
at listenInCluster (net.js:1346:12)
at Server.listen (net.js:1434:7)
at Function.listen (C:\Users\asus\Desktop\CoryMaterMuJBM\after\node_modules\express\lib\application.js:618:24)
at Object. (C:\Users\asus\Desktop\CoryMaterMuJBM\after\tools\apiServer.js:59:8)
at Module._compile (internal/modules/cjs/loader.js:936:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:947:10)
at Module.load (internal/modules/cjs/loader.js:790:32)
at Function.Module._load (internal/modules/cjs/loader.js:703:12)
at Function.Module.runMain (internal/modules/cjs/loader.js:999:10)
Emitted 'error' event on Server instance at:
at emitErrorNT (net.js:1325:8)
at processTicksAndRejections (internal/process/task_queues.js:80:21) {
code: 'EADDRINUSE',
errno: 'EADDRINUSE',
syscall: 'listen',
address: '::',
port: 3001
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ps-redux@ start:api: node tools/apiServer.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ps-redux@ start:api script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\asus\AppData\Roaming\npm-cache_logs\2020-05-23T20_25_42_332Z-debug.log
ERROR: "start:api" exited with 1.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ps-redux@ start: run-p start:dev start:api
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ps-redux@ start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\asus\AppData\Roaming\npm-cache_logs\2020-05-23T20_25_42_751Z-debug.log
Hi Cory,
I have a specific question about Oauth2, especially consuming a rest api secured with Oauth2.
If you don't mind, I would like to shared details.
Thanks.
This is related to the existing Book Recommendations question, but with a more focused ask. If you were just starting to "multi-thread your commute" and had to pick one or two audiobooks, what ones would be at the top of your list?
How did you make the transition from being an employee to being an independent consultant?
I've been a software engineer for many years now and the last few years I’ve been doing it on a contract basis. Typically contracting with one company at a time through staffing agencies. Contracting has its benefits but in most ways it is like an employee, I exchange my service on a per hour basis which obviously has its limitations.
I would like to expand my business in a way that I can serve multiple clients and offer my services on a per service basis and not just by the hour.
Do you have any advice on how to do that?
Hello, what is the probability that you will update your starting boilerplate for the course? - https://github.com/coryhouse/pluralsight-redux-starter
Thanks in advance, regards, Dmitry!
Hi Cory.
We were talking at the KCDC dinner and you mentioned that you were creating an API mocking utility. It sounded something like the following tool so thought I'd pass it on: https://www.smockin.com/.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.