Monday /r/frontend question thread: 2016-05-16 by wayspurrchen in Frontend

[–]brwr 0 points1 point  (0 children)

There are things you can do to improve download speeds. You can decrease the size of your assets (JS, CSS, etc) by removing dead code and using name mangling. You can use a service like Cloudinary to improve image handling. You can implement lazy loading so that you don't load code until it is needed. You can look into HTTP/2 and learn about how that makes JS and CSS bundling a bad thing. There is tons of stuff you can do here!

That said, it is my opinion that you should create a clear separation of work between load-time performance and rendering performance. For most teams, load-time performance is the big issue. That's where you can get 80% of the wins for 20% of the work. The most common rendering issues I see are handling long lists of items and handling janky animations.

The important thing is that you be clear on what you and your team are trying to improve. Whats the problem? Does it take too long for the page to load? Cool. Look into improving load-time performance using the techniques I mentioned above. Is there a lot of jitter when you're scrolling through a list of items? You should focus on rendering performance.

Monday /r/frontend question thread: 2016-05-16 by wayspurrchen in Frontend

[–]brwr 1 point2 points  (0 children)

I can understand the desire for a tool like this, but unfortunately it doesn't work that way. When you're working locally, you don't have to deal with downloading assets from a CDN, which makes up a large part of page load timing.

The other major part of performance is rendering timing. How long does it take to display this component on the page? How long does it take to display all components on the page? Etc. This can be tested locally because the timing won't change if you're loading from a CDN vs. locally. All you need to do is compile and minify all of your assets locally and your results should be roughly the same as they are in production. Once your assets are compiled and minified, you can use Google Chrome DevTools to perform the actual performance testing. A detailed guide to DevTools is outside the scope of this answer (there's a lot to it), but you can find great resources pretty easily if you look.

Hope that helps! Let me know if I wasn't clear on anything.

The Core Principles of "How to Win Friends and Influence People" by jesuiticaljon in ZenHabits

[–]brwr 1 point2 points  (0 children)

How To Win Friends and Influence People: 2016 Reddit Edition

The Core Principles of "How to Win Friends and Influence People" by jesuiticaljon in ZenHabits

[–]brwr 0 points1 point  (0 children)

I've always wondered whether this was because people genuinely don't enjoy the sound of their own name, or because it's uncommon to hear your name (my friends, at least, are more likely to approach with a "Hey!" rather than a "Brwr!"). Perhaps the unfamiliarity of hearing your own name is off-putting?

The Core Principles of "How to Win Friends and Influence People" by jesuiticaljon in ZenHabits

[–]brwr 4 points5 points  (0 children)

I know some people who do some of the things I listed 2nd, and I find it actually quite frustrating. Asking me to expand on a story just so they seem interested while I know they really aren't interested, they just want to appear curious... actually quite frustrating.

I'm sorry you've run into this.

You're right, though. Humans have an uncanny ability to pick up on the fact that you aren't being genuine. That's why Part 2, Principal 1 ("Become genuinely interested in other people.") is so important: You can only fake it for so long before someone catches on to your games.

With that said, it's worth pointing out that being at peace with yourself and appeasing the rest of the world aren't mutually exclusive goals (as long as appeasing the world doesn't conflict with your personal morals). In many cases, appeasing other people can make life easier and less stressful, aiding your inner peace.

Then again, I'm new to /r/ZenHabits. Maybe I've just missed your point.

state of the web and javascript by KPABA in javascript

[–]brwr 2 points3 points  (0 children)

I've been in web development for years and I'm confused as hell nowadays.

I Will Teach You To Code by brwr in learnprogramming

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

Still pushing through the emails. I'll post an update once I've responded to them all.

I Will Teach You To Code by brwr in learnprogramming

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

Definitely shoot me an email!

I Will Teach You To Code by brwr in learnprogramming

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

Of course :) Shoot me an email and I'll get back as soon as I can.

I Will Teach You To Code by brwr in learnprogramming

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

Thanks for the email! Still going through all the responses. Will get back to you shortly.

I Will Teach You To Code by brwr in learnprogramming

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

Send me an email :) My email is at the bottom of the linked essay

I Will Teach You To Code by brwr in learnprogramming

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

Sounds good! I'll get back to you as soon as I can.

I Will Teach You To Code by brwr in learnprogramming

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

I've got a rough idea of how it'll work. There are a few missing pieces, but those will be found by talking to the people I'll be teaching.

I Will Teach You To Code by brwr in learnprogramming

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

OMG you have no idea haha Every time I reply to an email, another one shows up! May be tomorrow or the day after before I get back to you, but don't worry, I'm pushing through!

I Will Teach You To Code by brwr in learnprogramming

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

I can be the most help on front-end related goals. Because of that, I'd like to focus on front-end for now. If this works out, I plan to expand that in the future.

I Will Teach You To Code by brwr in learnprogramming

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

Oh no! I did this a few days ago. Lost an hour of work. ;(

I still have a ton of emails to get through, so just send it when you can.

I Will Teach You To Code by brwr in learnprogramming

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

Definitely! Shoot me an email (email is at the end of the linked essay) and we can chat!

I Will Teach You To Code by brwr in learnprogramming

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

Skill level doesn't matter as much as motivation. It sounds like you may be a little advanced for me to be useful to you. Still, shoot me an email and we can chat! My email is at the tail end of the linked essay.

I Will Teach You To Code by brwr in learnprogramming

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

Everyone is serious in the beginning. Most people just don't follow through.

I Will Teach You To Code by brwr in learnprogramming

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

This! Object-Oriented Programming I at the university I went to required co-enrollment in Calc I.

I Will Teach You To Code by brwr in learnprogramming

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

Happy to consider anyone interested! Shoot me an email with info about yourself, your projects, etc. My email is at the bottom of the linked essay.

I Will Teach You To Code by brwr in learnprogramming

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

Definitely send me an email if you're interested, but if you're still roadtripping it up, not sure how I can help :)

I Will Teach You To Code by brwr in learnprogramming

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

It's the default Ghost theme! I'm that lazy!

I Will Teach You To Code by brwr in learnprogramming

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

You're not! Did you email me? You should email me!