Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
The Fool
Oct 16, 2003





Good explanations, thanks

Adbot
ADBOT LOVES YOU

blue squares
Sep 28, 2007

prom candy posted:

I really like web development, but if you don't like being in situations where you're banging your head against the wall trying to figure something out then programming may not be for you.

Yeah, maybe not. I have to say I don't like stumbling in the dark and I don't have a ton of perseverance when I don't know what is wrong or what I need to do in order to start fixing it. This is true in many aspects of my life, now that I think about it. I get easily stressed out when something just won't work and it makes no sense.

This is a very depressing moment because I am so loving sick of my current job and saw web dev as a great way to make a change, but now I am questioning it and feeling like I am back to square 1.

Empress Brosephine
Mar 31, 2012

by Jeffrey of YOSPOS
Blue squares you won’t make as much as you would doing programming but if you like playing around with websites you can learn WordPress and still make decent money. I do about $600 per website. Coupled in with your SEO skills you could make bank.

prom candy
Dec 16, 2005

Only I may dance

blue squares posted:

Yeah, maybe not. I have to say I don't like stumbling in the dark and I don't have a ton of perseverance when I don't know what is wrong or what I need to do in order to start fixing it. This is true in many aspects of my life, now that I think about it. I get easily stressed out when something just won't work and it makes no sense.

This is a very depressing moment because I am so loving sick of my current job and saw web dev as a great way to make a change, but now I am questioning it and feeling like I am back to square 1.

It happens less and less as time goes on, and more importantly I think you get better at figuring out what's wrong or how to look for answers but the learning curve especially at the start can be tough. I'm thinking back to when I was making my first for-pay websites with PHP just staring at the screen going "how the gently caress do I do this."

Empress Brosephine posted:

Blue squares you won’t make as much as you would doing programming but if you like playing around with websites you can learn WordPress and still make decent money. I do about $600 per website. Coupled in with your SEO skills you could make bank.

Is that all a Wordpress site goes for these days?

Empress Brosephine
Mar 31, 2012

by Jeffrey of YOSPOS
no you could get more just I work in a dead part of the United States with very poor people

The Dave
Sep 9, 2003

When I was doing wordpress work I charged $100/hr which weeded out lovely clients and got me the type that would make insane requests but was worth doing.

Also maybe the thing that attracted you to web development can be found in a different discipline with the same output? Do you want to understand the goals, objects, methods, and metrics of a project or initiative and launch something to the public? Then you might be interested in product management or product designer. You can also be more interested in the process of getting the work done and look into project or program management.

LifeLynx
Feb 27, 2001

Dang so this is like looking over his shoulder in real-time
Grimey Drawer

Empress Brosephine posted:

Blue squares you won’t make as much as you would doing programming but if you like playing around with websites you can learn WordPress and still make decent money. I do about $600 per website. Coupled in with your SEO skills you could make bank.

Yeah that's exactly what I charge for a no-frills five page informational Wordpress site, also.

kedo
Nov 27, 2007

Are you two $600 guys doing any coding, or just setting up sites with existing themes/plugins? If you’re coding you are WAY undercharging.

Empress Brosephine
Mar 31, 2012

by Jeffrey of YOSPOS
Very little coding, if anything just CSS.

For coding projects I. Charge $60 a hour

LifeLynx
Feb 27, 2001

Dang so this is like looking over his shoulder in real-time
Grimey Drawer

kedo posted:

Are you two $600 guys doing any coding, or just setting up sites with existing themes/plugins? If you’re coding you are WAY undercharging.

I have a sort of skeleton that I developed over the years from which I build off. From there it's mostly just tweaking SCSS, and I use the smaller projects to try out different techniques, develop SCSS mixins, etc. The most time consuming part of actual work on those sites is finding stock photos.

CarForumPoster
Jun 26, 2013

⚡POWER⚡

blue squares posted:

1) Is it normal to feel way out of my depth when I switch over from tutorials to doing it completely myself?

2) Also, if I'm not having fun anymore without following along with a video or completing little mini-challenges, is that a sign that maybe Web Dev is not the career for me?

1) yes
2) no

This seems like part of the process. Pick some projects and keep at it.

Vincent Valentine
Feb 28, 2006

Murdertime

prom candy posted:

It happens less and less as time goes on, and more importantly I think you get better at figuring out what's wrong or how to look for answers but the learning curve especially at the start can be tough. I'm thinking back to when I was making my first for-pay websites with PHP just staring at the screen going "how the gently caress do I do this."

In my experience at least, the ratio of time was consistent. I rarely find myself spending very much time on something unless I'm stuck on it somehow. I just don't get stuck trying to figure out how to make something like array.reduce() do what I want it to do, and instead get stuck figuring out how to make an event respond to a webworker. As I spend more time at my company, my responsibilities have increased, making the difficulty of challenges increase with it. The ratio of time I spend going "Oh I know what to do here, nice." to "I don't know what I'm doing." is about the same. I'm not one of those people who finds joy in the struggle and challenge or anything, but I do find joy in the paycheck, so I live with it.

CarForumPoster
Jun 26, 2013

⚡POWER⚡

Vincent Valentine posted:

The ratio of time I spend going "Oh I know what to do here, nice." to "I don't know what I'm doing." is about the same. I'm not one of those people who finds joy in the struggle and challenge or anything, but I do find joy in the paycheck, so I live with it.

If you have a question that Nishandreth didn’t answer on Stack Overflow 2 years ago you’re asking the wrong question.

Vincent Valentine
Feb 28, 2006

Murdertime

The main app I work on is very old, and the 4 project leads over the years(going back to before I joined) have all tried to improve it. Each one tried something completely different, each one failed, and each one left the company in shame. It's a hosed up mash of a 3rd-party proprietary framework, a heavily modified version of jquery 0.4 which someone turned into a component based framework, angularjs 1.5.1, React v8 or something like that and most recently VueJS but thankfully I got to stop that one before it got too out of hand. Soy templates are in there as well but thankfully there's only a little bit of that code left.

If there is a god, they don't even look at this code and politely ignore the fact that it stands as a monument to man's arrogance and is an abomination to their great cosmos. Nobody can truly help me anymore.

prom candy
Dec 16, 2005

Only I may dance
Holy gently caress I hope they're paying you well, that sounds awful

fsif
Jul 18, 2003

That project rules. Think you could try to get some Svelte in there? I feel like you owe it to your predecessors to keep on building this thing up.

kedo
Nov 27, 2007

Vincent Valentine posted:

a heavily modified version of jquery 0.4 which someone turned into a component based framework, angularjs 1.5.1, React v8 or something like that and most recently VueJS but thankfully I got to stop that one

:psyduck:

Data Graham
Dec 28, 2009

📈📊🍪😋



"We could rebuild this whole site using modern, mature frameworks that obviate all of our hacks using best practices and native features that are 10 years established"

"Noooo! We invested all this time into building what we have and taping it back together whenever anything breaks"

lunar detritus
May 6, 2009


Vincent Valentine posted:

The main app I work on is very old, and the 4 project leads over the years(going back to before I joined) have all tried to improve it. Each one tried something completely different, each one failed, and each one left the company in shame. It's a hosed up mash of a 3rd-party proprietary framework, a heavily modified version of jquery 0.4 which someone turned into a component based framework, angularjs 1.5.1, React v8 or something like that and most recently VueJS but thankfully I got to stop that one before it got too out of hand. Soy templates are in there as well but thankfully there's only a little bit of that code left.

If there is a god, they don't even look at this code and politely ignore the fact that it stands as a monument to man's arrogance and is an abomination to their great cosmos. Nobody can truly help me anymore.

Capitalize on that hell and add "micro frontends" to your linked in

Doom Mathematic
Sep 2, 2008

Vincent Valentine posted:

The main app I work on is very old, and the 4 project leads over the years(going back to before I joined) have all tried to improve it. Each one tried something completely different, each one failed, and each one left the company in shame. It's a hosed up mash of a 3rd-party proprietary framework, a heavily modified version of jquery 0.4 which someone turned into a component based framework, angularjs 1.5.1, React v8 or something like that and most recently VueJS but thankfully I got to stop that one before it got too out of hand. Soy templates are in there as well but thankfully there's only a little bit of that code left.

"The Aristocrats!"

Vincent Valentine
Feb 28, 2006

Murdertime

prom candy posted:

Holy gently caress I hope they're paying you well, that sounds awful

I'm paid dead average but there's other benefits, like I've been working remote for a couple of years now and I can largely make my own hours. There's a chunk of time in the afternoon I need to be available on slack for, but otherwise my schedule is incredibly flexible which I didn't expect to be such a huge boon to my life, but it is. Knowing that I essentially never have to worry about a schedule conflict to go hang out with friends is very nice for keeping life stress free.

Besides, you get used to it after enough time with the codebase. I was just saying that if you're trying to find help on why your react component isn't properly getting data from an angularjs controller because your outdated version of angular router isn't recognizing a state change from a jQuery function changing the browser location, well, you're on your own. But you do get used to it. Ratio of challenge to time understanding what's going on has been consistent over the years. It... Could definitely be better though.

I do worry that when I eventually leave I'm going to have problems re-integrating into a normal job. All of this stuff is so old that I'm not spending any time with modern practices and frameworks, so I'm essentially going to have to study for a couple of months to get a new job.

Data Graham posted:

"We could rebuild this whole site using modern, mature frameworks that obviate all of our hacks using best practices and native features that are 10 years established"

"Noooo! We invested all this time into building what we have and taping it back together whenever anything breaks"

No, see, a client has never once asked us to improve our codebase from the trash it is to a more modern framework.

If a client isn't asking for it, where's the value ?? How do you write a scrum story from a user perspective about a codebase rewrite?

Vincent Valentine fucked around with this message at 00:47 on Jan 28, 2021

Doom Mathematic
Sep 2, 2008

Vincent Valentine posted:

No, see, a client has never once asked us to improve our codebase from the trash it is to a more modern framework.

If a client isn't asking for it, where's the value ?? How do you write a scrum story from a user perspective about a codebase rewrite?

"As a user, I want the developers to not quit."

Nolgthorn
Jan 30, 2001

The pendulum of the mind alternates between sense and nonsense
I didn't want to deal with testing frameworks anymore. I know they're dev dependencies and don't get installed in production (usually) but I had to make the moral choice and reduce the billions of dependencies that infest this world.

Every test utility on earth has a million dependencies each with a million dependencies and so on forever. There is no bottom. Because then those dependencies have dependencies that are higher up the tree and it's a slightly different version so it gets installed too. Then you have five copies of every dependency, and all their dependencies and so on.

I built my own test utility that uses zero dependencies. It's fast and it works immediately and I don't have to gently caress around. It's perfect for small projects, utilities, plugins, whatever you are building that's simple that doesn't need jest. Or doesn't need mocha and 50 different plugins.

I want feedback and suggestions, if you make me happy I will buy you a donut and eat it. I published my utility on npm.

https://www.npmjs.com/package/kequtest

Lumpy
Apr 26, 2002

La! La! La! Laaaa!



College Slice
I’ve never had to install anything for Jest.

prom candy
Dec 16, 2005

Only I may dance
Cool that this works for you but I will never care about my node_modules folder

Null of Undefined
Aug 4, 2010

I have used 41 of 300 characters allowed.

Lumpy posted:

I’ve never had to install anything for Jest.

Jest has 3 dependencies, each of which has it's own dependencies. @jest-core alone has an additional 28, and you can bet each of those has their own dependencies.

I usually don't care about dependencies though, it's never seriously impacted my build times.

Nolgthorn
Jan 30, 2001

The pendulum of the mind alternates between sense and nonsense
Sorry, I thought it was universally agreed that npm dependencies are hell

Dominoes
Sep 20, 2007

It's only obvious to outsiders, and those who step back.

Summit
Mar 6, 2004

David wanted you to have this.

Nolgthorn posted:

Sorry, I thought it was universally agreed that npm dependencies are hell

What are the reasons you have for caring about this? I’m racking my brain trying to think of why this matters, but hey maybe you have a great reason I’m not familiar with.

smackfu
Jun 7, 2004

Well obviously everyone should care about normal npm dependencies because they impact bundle size.

devDependencies are less important but it definitely leads to bloat where someone adds one line of code to add markdown support to something and then every user needs to download a markdown parser even if 99% don’t use it.

Also, if you work in a team, you do about 1000x more “npm installs” then someone working by themselves. So a faster install is a benefit.

Vincent Valentine
Feb 28, 2006

Murdertime

I've heard a lot of good reasons to avoid dependencies unless you really, truly need to. A few:

Installing a package means keeping that package up to date. Many teams will not have time to fix breaking changes caused by a package update, and those updates are required because security issues are updated in newer versions. I know from experience from all that poo poo I posted earlier, dealing with security in outdated packages is a nightmare.

When you install a package, you're installing every package that package has ever kissed. That means something going fucky in a dependencys dependency you didn't even know you had is a cause for concern, but you may not know it. Newer npm audit has helped this a lot, thankfully.

The Leftpad Incident™.

Bundle sizes may not matter to most people, but five percent or so people unable to reliably use your app is five percent revenue lost. This is particularly a problem for companies that create products or services for the poor or people in developing nations.

Remember that time that popular npm package installed a bitcoin miner on everyone's website and nobody knew?

And so on. The reasons are good, and strong, valid reasons to avoid dependencies. It's sure as gently caress not going to stop Personal Me, but it stopped my boss which means it's stopped Work Me. I think packages are great and The Future, but I really wish we could address more if the problems with them. Before it gets out of hand, again .

All bets are off with Dev Dependencies though. When it comes to those, gently caress it, go nuts.

Summit
Mar 6, 2004

David wanted you to have this.
Sure, that’s just basic webdev “don’t send 25MB down to the client” stuff.

But this library is a replacement to unit testing frameworks and the rationale is digging through jest’s dependency tree and I’m honestly wondering why does it matter one bit how many dependencies jest pulls down.

Dominoes
Sep 20, 2007

It turns libraries into maintenance messes, makes it tougher to figure out what a given piece of code is doing and where it may need to be patched, and increases download time.

Tangent: We don't live in a world with infinitely fast computers and networks; despite this implicit assumption in many modern codebases. Web devs and PMs in particular appear to not understand this.

Dominoes fucked around with this message at 15:17 on Feb 1, 2021

smackfu
Jun 7, 2004

The other thing that kills me:

We have an npm package-lock file.
We have a sub dependency.
That sub dependency has a security flaw and we need to update it to a particular version.
npm has no straightforward way to do just this.

Nolgthorn
Jan 30, 2001

The pendulum of the mind alternates between sense and nonsense
I am not sure I've had a lot of good experiences with modules, I don't understand their appeal at all. When you look at for instance underscore, that library is really hard to figure out exactly what it's doing. Because if you try and read it, and maybe this is a personal problem of mine I like to know what code is doing, you become lost in a maze.

With underscore at least it also doesn't have dependencies. I think it's one of the few out there anymore. Because then trying to figure out what's going on is pointless. You just have to trust that if there would be unexpected behaviour that someone would post about it on github. But none of that's necessary seeing as how I just want a pluck method. I don't need every possible one line utility method to go along with it, I'd just tell javascript to do what I want it to do. I don't need server-side jQuery to make a pluck method.

Then someone clever comes along and uses underscore in a unique and interesting fashion, and when you manipulate the code around it the thing stops working.

But the worst part is just keeping dependencies up to date all the time. There is no really easy way to do it, npm audit is okay, npm doctor is okay, package-lock is okay. But sooner or later you're going to have to nuke everything and re-install the latest versions and then figure out what changed and on and on.

Npm is also not a very good package manager. I think it's frightening for almost an entire industry to keep running we need to rely on a small group of people with Twitter profiles. At some point there was a fiasco where npm was deleting servers because a patch update misused unix's unapologetic rm command.

Or maybe I'm way out in left field, I feel like if ever I can get away with not using a module the project is better off. What is all that code even doing? Why is my library 6kb.

Lumpy
Apr 26, 2002

La! La! La! Laaaa!



College Slice

Null of Undefined posted:

Jest has 3 dependencies, each of which has it's own dependencies. @jest-core alone has an additional 28, and you can bet each of those has their own dependencies.

I usually don't care about dependencies though, it's never seriously impacted my build times.

Let me rephrase then: "I have never needed to install any type of plugin or additional software for Jest to run any kind of tests once I have run the single command npm install -D jest so if having to find and install plugins for your test framework is what is bothering you, then Jest could be simpler than writing your own test framework."

kedo
Nov 27, 2007

A buddy of mine who quit the industry around 2010 is thinking about getting back into it and asked me what's changed since he was working in web development. I'm not sure he was ready for the avalanche of package managers and frameworks I was going to throw at him. Also "now you also put your CSS and your HTML into your JS" proved to be as much of a head scratcher as you'd expect.

Data Graham
Dec 28, 2009

📈📊🍪😋



“But wait,” he asks, “what about users who have turned off JS?”

"lol" you say solemnly, "lmao."

Data Graham fucked around with this message at 18:37 on Feb 1, 2021

ynohtna
Feb 16, 2007

backwoods compatible
Illegal Hen

kedo posted:

A buddy of mine who quit the industry around 2010 is thinking about getting back into it and asked me what's changed since he was working in web development. I'm not sure he was ready for the avalanche of package managers and frameworks I was going to throw at him. Also "now you also put your CSS and your HTML into your JS" proved to be as much of a head scratcher as you'd expect.

Tell him about Web Assembly. :xd:

Adbot
ADBOT LOVES YOU

Empress Brosephine
Mar 31, 2012

by Jeffrey of YOSPOS
Whats the cheapest way to test out a website on a windows PC without having to buy a windows pc? Probably just rent a amazon server?

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply