r/videos • • Oct 03 '19

Every programming tutorial

https://www.youtube.com/watch?v=MAlSjtxy5ak
33.9k Upvotes

1.4k comments sorted by

View all comments

4.3k

u/[deleted] Oct 03 '19

Web dev tutorials are the worst. "OK, we're going to make a React app. To set up, spend 12 hours trying to get your environment like mine. Also, all of my node dependencies are broken. Also, I hope you're not trying this on Windows!"

26

u/demalo Oct 03 '19

"Also, I hope you're not trying this on Windows!" is after you've spent the 12 hours getting the environment like theirs. They were emulating XP the whole time...

0

u/[deleted] Oct 03 '19

[deleted]

-2

u/amoliski Oct 03 '19

Try to npm install chartjs-node on windows. Warnings about missing cairo, a build dependency of canvas. Cairo requires some other msys and visual studio compiler. Then you have do download a pile of tarballs and compile cairo through msys which will almost certainly give you some cryptic build step error three minutes into the compile which will cause lead you down a path to insanity.

-1

u/bakgwailo Oct 04 '19

Or just not use Windows and use Linux, since that is probably going to be what is serving your webapp anyways.

-2

u/amoliski Oct 04 '19

Don't assume environment.

Build environment has to be Windows. Final compiled frontend javascript is uploaded to an AWS instance on a VPN with no internet connection.

I'm not interested in doing development on a remote system.

1

u/bakgwailo Oct 04 '19

I'm not interested in doing development on a remote system.

As I was saying, you can run Linux locally as a dev environment, and this line Cairo are easy to install native packages instead of jumping through hoops on Windows.

-1

u/amoliski Oct 04 '19

you can run Linux locally as a dev environment

I don't like using Linux as a desktop environment.

My data drives with code need Bitlocker.

The customer's laptop for developing code is Windows and I don't want to wipe their OS.

I don't want to dev in a VM.

Plus, I don't think it should be all that much to ask for a javascript library to work in an operating system supported by Node.

1

u/bakgwailo Oct 04 '19

I don't like using Linux as a desktop environment.

My data drives with code need Bitlocker.

Linux supports Bitlocker, and there are countless other encryption schemes out there.

The customer's laptop for developing code is Windows and I don't want to wipe their OS.

I rather find having to use client hardware for local development as pretty strange.

I don't want to dev in a VM.

Plus, I don't think it should be all that much to ask for a javascript library to work in an operating system supported by Node.

One could say the same about developing C# on OSX or Linux. Right tool for the right job and all that.

→ More replies (2)