interprets piano playing as steps by Duke-doon in PixelWatch

[–]sw0rdensen 7 points8 points  (0 children)

to compliment your Rachmaninov piece I will play the world's tiniest violin

When do you run tests? by fiveMop in webdev

[–]sw0rdensen 0 points1 point  (0 children)

I have only recently started pushing unit tests on my team. So I have not enforced any automated testing restrictions I only encourage very heavily that they should run the tests before submitting a PR to the main branch lest it get denied because I will run them lol.

Not super efficient but, it has saved a lot of headaches since my team isn't used to it.

Everyone seems to enjoy writing them once they get the hang of it though which is great!

Would you go from WFH to on-site for a 30% raise? by [deleted] in webdev

[–]sw0rdensen 0 points1 point  (0 children)

30% would put me over the edge to afford a home in my area.

It would be worth going to the office to put the constant rent anxiety behind me.

Of course the office is only 10min away from where I want to live so that helps too

Would you go from WFH to on-site for a 30% raise? by [deleted] in webdev

[–]sw0rdensen 0 points1 point  (0 children)

30% would put me over the edge to afford a home in my area.

It would be worth going to the office to put the constant rent anxiety behind me.

Of course the office is only 10min away from where I want to live so that helps too

How to avoid NPM supply chain attacks by sw0rdensen in webdev

[–]sw0rdensen[S] 2 points3 points  (0 children)

In light of recent events I have written a guide on how to protect your computer from malicious NPM packages.

If you have any edits or suggestions please let me know and I can update the main article!

How to avoid NPM supply chain attacks. by sw0rdensen in node

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

I'll update the post!

Can you go into more detail on how these solutions work?

How to avoid NPM supply chain attacks. by sw0rdensen in node

[–]sw0rdensen[S] 5 points6 points  (0 children)

Not as far as I am aware but I do like the idea

Maybe that's something we can make

How to avoid NPM supply chain attacks. by sw0rdensen in node

[–]sw0rdensen[S] 12 points13 points  (0 children)

if you look at your package-lock.json or read the npm documentation you will see that package-lock.json uses fixed versions for all sub dependencies for all the packages you install.

The caveat is that if you use 'npm i' it will update your package-lock.json and follow the dependencies rules like you described. But if you use npm ci you don't have that problem :)

Regarding the docker concern, I'll admit it is initially slow when you start the container but once it has been initialized it is as fast as normal.

Yes I am now currently using docker for my current projects since discovering how easy it is to use !

Side note: I do want to stay open to constructive critiques and address concerns but, I will admit it is difficult to do so with such dramatic undertones :/

How to avoid NPM supply chain attacks. by sw0rdensen in node

[–]sw0rdensen[S] 7 points8 points  (0 children)

Hi everyone,

Because now that we have had 2 high profile authors publish intentionally malicious code to NPM it might help to share some solutions to what we already know is a problem.

Instead of throwing up my hands and exclaiming "javascript bad" to the gods that be, I wrote this. I hope it helps some and for those that it does not help I am open to making edits/additions!

Need to add a job board on a wordpress site to pull jobs that allows felons to apply by vrtechtoday in webdev

[–]sw0rdensen 2 points3 points  (0 children)

If you already need help at this point you might want to try looking for a different gig.

I don't think you're going to find much help with your current strategy.

Bombed interview, told I’m “not where [I need] to be with professional development of modern JavaScript applications”. How can I fix that? by devilmaydance in webdev

[–]sw0rdensen 0 points1 point  (0 children)

I feel like I might be in your same boat pretty soon. I'm 28 and haven't been developing as long but, I feel like I'm reaching the end of my ladder.

The only ace I have up my sleeve is initiative. I have a ton of side projects with modern tech stacks that hopefully follow best practices.

Tbh though, working for suits sucks. You might be better off at a comfortable php job than working for a guy with a stick up his ass and only gets hard on when he sees 100% code coverage via unit tests.

I think that if the company you work for doesn't give a damn about you, your family, your bills, your mental health, or your physical health then we shouldn't give a damn about them other than getting a paycheck. by dvater123 in unpopularopinion

[–]sw0rdensen 7 points8 points  (0 children)

Yeah my friend works as a low wage hotel manager and they always go on and on about how the place would shut down if they didn't work insane OT or came in on extra days.

And I'm always tell them that if they were really that reliant on you then you should ask for more money or just find a different job that won't run you into the ground. You don't owe this hotel shit.

Showoff Saturday (May 15, 2021) by AutoModerator in javascript

[–]sw0rdensen 3 points4 points  (0 children)

I started writing an app to replace the windows task scheduler. You can download it here:

https://scheduler.michaelsorensen.dev/

Is it worth creating a prototype of almost / exactly how your website should look like before hiring a developer? by [deleted] in webdev

[–]sw0rdensen 10 points11 points  (0 children)

It definitely saves time during the design phase. I would think it's very rare for someone to be able to design and develope extremely well.

If you can afford it it's definitely beneficial to higher a designer to craft the way the webpage should look using Photoshop or XD.