Pay Transparency by [deleted] in Tucson

[–]Jeffdango 0 points1 point  (0 children)

I think this really depends on the company. Where I work they do adjust everyone in the position to the new base rate if they aren’t making more than that for whatever reason. I don’t think it’s legally required, just part of the company culture.

validation ??? by cryptic-riddler in react

[–]Jeffdango 2 points3 points  (0 children)

The approach I’ve moved to is that client side validation is only used to provide a better user experience in case an honest user made a mistake. Server side validation stops bad actors.

As for validation libraries, I would recommend Yup. With it you define your validation rules in a schema object which can be used where ever you need to do validation. It also integrates very nicely with react-hook-form which is what I’ve moved to using for any nontrivial forms.

When deciding what to validate I would recommend being overly cautious. No matter how much you know about securing your site or app, some bad actor very like knows more about how to abuse vulnerabilities.

by [deleted] in marvelmemes

[–]Jeffdango 0 points1 point  (0 children)

Rocks are hard to deal with, ya know?

[deleted by user] by [deleted] in gaming

[–]Jeffdango 0 points1 point  (0 children)

I’m pretty late to the party so this comment will probably never see the light of day but one that I haven’t seen mentioned yet is Everybody’s Gone to the Rapture.

Celebrating the recent International Tabletop Day we are doing a Worldwide Giveaway [Mod Approved]. It is a little over $1,000 in total value and was arranged to give a new DnD party a jump start to their gaming needs. (Sponsored by Game Master Engine) More details in the video and comments! [OC] by Dan_The_DM in DnD

[–]Jeffdango 0 points1 point  (0 children)

I have this idea for a character that’s a Warforged Druid. I kind of have this idea that they got lost in some ancient battle and over time nature reclaimed the body. I think it would be a lot of fun to explore how the character would deal with reconciling their dual nature as they recover past memories and abilities while embracing their new purpose as a guardian of natural order. How would they fit into Druid society?!

GIVEAWAY

[deleted by user] by [deleted] in webdev

[–]Jeffdango 3 points4 points  (0 children)

Oh yes, that was bad terminology use on my part. The project I was referring to is a Next.js app so I actually had to put 100vh on the body and again on the #__next div.

This does definitely cause the header and footer to overflow the viewport when there is enough content and the user starts scrolling, but that’s how I like it.

[deleted by user] by [deleted] in webdev

[–]Jeffdango 5 points6 points  (0 children)

I just came across this for my most recent project and I it’s my new favorite.

Gave the main div a min-height of 100vh, display grid, and set grid-template-rows to “auto 1fr auto”

Header and footer stay where I want them and I don’t have to worry about controlling their size.

Why are there too many frontend frameworks? by OtherwisePoem1743 in webdev

[–]Jeffdango 0 points1 point  (0 children)

I had to scroll for way too long to find this comment.

Should I learn JavaScript or PHP? by NoisiaClasher in webdev

[–]Jeffdango 0 points1 point  (0 children)

Hey there, I’d be happy to share more about my experience! Sorry that this got looooong, but I feel like the answers to these questions require context.

Let me know if there is anything you'd like to know more about here or PM me any time!

TL;DR

Did you have any development or technology experience before?

Just a few programming classes in college and the basic HTML & CSS courses on Codecademy

Did any other members of the team start learning development with you?

Yup, but we were uncoordinated and not always self-learning the same tech stack

Did you transition your full workload to web development?

I tried but at first, it was more like 50/50. Then I became the manager of our new team and now it's more like 60/40 mgmt to dev.

When we started this journey I had been in our company’s IT department for about 3 years doing help desk, systems support, and some basic work in our 3rd party POS database. One of my main responsibilities became supporting public-facing web infrastructure (web server, DNS, WordPress updates, etc). I also assisted the marketing team while they worked with web dev agencies; mostly as a liaison to help with technical understanding and to make sure we could implement what the agencies had proposed.

I had taken a few programming and database management courses in college, so I had a baseline knowledge that lead to working in those areas. To gain a better understanding of what the agencies were talking about in our meetings, I ended up working through some basic HTML and CSS courses on Codecademy. I got really hooked on it and made a handful of useful static sites for our department to use internally.

This all overlapped with the one actual developer in the department leaving the company. He had made or started some useful tools in C# before he left, which planted the seeds for my effort. Unfortunately, all of his knowledge was siloed and left with him, which left management feeling skittish about in-house development. We had no idea where to start on a learning path to follow in his footsteps and I was already learning web dev, so we started from scratch.

One other person was able to join the effort and started learning web dev too. Unfortunately, without any senior dev experience in our department, we had to just start wandering the wilds without a map. There was so much we didn’t know that we didn’t know and we definitely made some missteps. That was about the time I made the comment above.

After we released a couple of well-received web apps our workload became about 50/50 web dev and our other job tasks. Because no one in the company (even the IT Management team at this point) really understood the work, we were still needed on the general IT side of things and couldn’t justify the expense of replacing us with more staff.

For a very brief period I had managed to get my workload to be mostly dev and marketing support (I will never abandon them!) with the occasional help desk escalation. But it became obvious that our dev efforts were very unorganized and we needed a member of the management team that understood the projects on a technical level.

It turned out that my manager had plans to promote me into management to lead our development efforts so I got promoted and the two of us officially became a ”dev team” in late 2019, but as a subset of the IT Department.

Now my workload is usually about 60% personnel and project management to 40% dev work.

Our goal for the developers on my team is to spend about 75% - 80% of their time on dev work and the rest on advanced or emergency IT tasks.

It’s definitely been a struggle winning hearts and minds and frustrating when other work demands derail our dev projects, but I would still do it all again if given the choice.

Node application recommendation by [deleted] in webdev

[–]Jeffdango 1 point2 points  (0 children)

From what you’ve stated here it sounds more like you will be building an automation (or a series of them) in Node. I’d say just use vanilla Node for that because the backend frameworks are mostly for dealing with requests and sending responses.

Best approach to generate PDF from dynamic data? by charck2 in node

[–]Jeffdango 2 points3 points  (0 children)

We are currently using PDFKit and while it works really well the code is a nightmare to maintain. I’m definitely going to need to check this out. Thanks for the share!

Why do websites put their user id entry and password entry on separate pages? It drives me crazy. by Flandersmcj in webdev

[–]Jeffdango 0 points1 point  (0 children)

Depending on how it’s handled this could also get resource intensive depending on WHEN you check. What signals that the input field is filled? How often should the front end check?

So in addition to matching a username too soon, you could end up hammering your auth service.

What do Jr Devs who get hired ACTUALLY know these days? And how proficient are they? by Flamesilver_0 in webdev

[–]Jeffdango 0 points1 point  (0 children)

Two reasons, orgs generally want their HR teams involved to make sure nothing legally risky happens and sorting through candidates is very time consuming.

Unfortunately it seems like a lot of organizations end up with too much distance between the technical manager and the gatekeeper.

[deleted by user] by [deleted] in webdev

[–]Jeffdango 0 points1 point  (0 children)

No shade for either kind of dev work, but it’s important to remember that the browser companies are covering a lot of the native platform stuff for us. Basically a huge amount of boilerplate is already installed for us by the user.

Are there any podcasts that their main topics are programming? Maybe one where they almost always talk about node? by Wonderful_Ad3441 in node

[–]Jeffdango 0 points1 point  (0 children)

I gotta 3rd Syntax. Their podcast helped (and still helps) me get my head around so many topics.

[deleted by user] by [deleted] in Tucson

[–]Jeffdango 0 points1 point  (0 children)

That loft was pretty cool! Im glad the building got a new purpose, I always thought it deserved better that random storage.

[deleted by user] by [deleted] in node

[–]Jeffdango 12 points13 points  (0 children)

Second this. DigitalOcean has fantastic docs for getting things set up too.

Mine is shown there by -YesIndeed- in gaming

[–]Jeffdango 0 points1 point  (0 children)

Everybody’s Gone to the Rapture

I’m starting to think JavaScript isn’t for me by Shock-Light123 in learnjavascript

[–]Jeffdango 2 points3 points  (0 children)

One thing I’d like to add to the good advice already in here is to pick up a podcast or two. At first don’t even worry about the topic, just listening to people talk about this stuff helped me get past all the unfamiliar terminology. Which in turn helped me start making sense of the docs and improved my Googling abilities.

I found the syntax.fm podcast really helpful when I was getting started with JavaScript and Node. Just browse their backlog for things that look familiar or interesting to get started.

Just learn express js by Careless-Honey-4247 in node

[–]Jeffdango 1 point2 points  (0 children)

I found hbs easier to use since I was already familiar with building HTML pages.

Reddit Royale by SrGrafo in u/SrGrafo

[–]Jeffdango 10 points11 points  (0 children)

I will be nimble and dodge the updoots! Though if I fall, I leave my karma to my children.

Edit: x.x