|
The Dave posted:No one is doing anything original. Find a site or template they like and recreate it without thinking. Unless you’re actually in the creative space, responsible for branding and identity and trying to be industry leading, everyone just wants to be someone else. I've been thinking about that. I hate using AI, but I'm probably going to have to use ChatGPT to write his content if I continue with the site. The site he likes is nearly 100% product descriptions and product images he doesn't have, so that's the main thing that's stopping me. Can't make those up out of thin air.
|
# ? Apr 23, 2024 21:43 |
|
|
# ? May 4, 2024 09:11 |
|
Just stick in lorem ipsum and placeholder images.
|
# ? Apr 23, 2024 22:23 |
|
Harriet Carker posted:Just stick in lorem ipsum and placeholder images. That never works in my experience. All they'll focus on is that the text is some weird language and that they don't like the images. It's a waste of time.
|
# ? Apr 23, 2024 22:35 |
|
Ima Computer posted:There's a decent article in the new react docs that goes into this in more detail as well. prom candy posted:Also not sure exactly what you're doing but this is essential reading for newer React devs: https://react.dev/learn/you-might-not-need-an-effect Thanks for these links! I've been taking some things for granted with React, so I should refresh on the basics. For this particular case, I found that I could add a useEffect to reset the page number on query change. It's not elegant, but it works. code:
|
# ? Apr 23, 2024 23:25 |
|
timp posted:PM me for more details on the job, but if you're with a web developer than can handle an ecomm site with about 400 products and a healthy amount of SEO requests, hit me up! PM sent!
|
# ? Apr 24, 2024 00:06 |
|
LifeLynx posted:Twenty years of this and I still don't know how to handle clients who don't know what they want That’s just the human condition, you have to provide say a set of options from templates and use AI to fill in pieces no one will read or care much about.
|
# ? Apr 24, 2024 02:23 |
|
America Inc. posted:Thanks for these links! I've been taking some things for granted with React, so I should refresh on the basics. you want to call setPageNo(1) in the same place where you call setQuery() because it's more performant The reason is because react batches state updates so if you have 1 function that updates 3 pieces of state, the component only gets rendered once. https://react.dev/learn/queueing-a-series-of-state-updates with your useEffect, you're creating an extra render unnecessarily.
|
# ? Apr 24, 2024 06:39 |
|
MrMoo posted:That’s just the human condition, you have to provide say a set of options from templates and use AI to fill in pieces no one will read or care much about. And give them a decoy "bad" option to turn down, so they get to feel like a decision maker while never really influencing things
|
# ? Apr 24, 2024 11:19 |
|
They'll pick the bad option 50% of the time though.
|
# ? Apr 24, 2024 13:15 |
|
Nolgthorn posted:They'll pick the bad option 50% of the time though. Yeah, I was going to say, definitely don't do this. I've learned through much painful experience that if you present an option you don't want the client to pick, they will pick it and then you'll be stuck with it. It's better to present a single option and make the argument as to why this is the best option for them than it is to present one you love and one you hate. LifeLynx posted:Twenty years of this and I still don't know how to handle clients who don't know what they want on their website. I have a client who wants to buy and sell items, but I'm having a very difficult time getting him to give me content, any content, and when he does it's a grammatical mess of half-finished ideas. It's like going to a real estate agent and saying "I want a building" but not having any idea if you want a residential place, commercial, how many rooms, colors, etc. This is why I like working with agencies more than individual clients. My method for this is to build in a content delivery deadline for the client within my project timelines. It is placed at a specific point where I will have billed for more work than I will have completed, and if the client starts dragging their feet on content I simply put the project on indefinite hold, delaying the delivery date. I also charge a weekly (or monthly, depending on the project) delay fee and/or a re-initiation fee if the project is delayed more than X months. That way if a client pulls this kind of poo poo with me, I'm not out any money and the client has impetus to get me the crap they owe me because they are out money. A good contract should also cover this sort of thing because the second you say something like, "Okay, I'm putting this project on hold until you deliver the content, which means we can no longer hit your targeted launch date" the client will get all grumpy, so it's important to have something in writing to point to. Especially in case they get litigious. This becomes less of an issue with higher dollar clients – it's usually small mom and pop businesses that pull this sort of thing. kedo fucked around with this message at 14:42 on Apr 24, 2024 |
# ? Apr 24, 2024 14:39 |
|
I've got another question that's not really a webdev question, but it has to do with websites. My mom uses this really, really ugly website for her job to log hours, and to get her hours for sick leave she has to fix some errors with her attendance. The interface they provide to fix those errors is of course really dumb, and she has to click "Disagree" on 100 items, fill out a form with a dropdown and text input, and click a submit button. Because there are 100 items, she has to do this 100 times. There is no "Disagree all" button. Does anyone know of a tool she can use that will just automatically select all the "Disagree" buttons, and fill out the form for her? Sounds like a good browser extension. Maybe this will work? https://chromewebstore.google.com/detail/axiom-browser-automation/cpgamigjcbffkaiciiepndmonbfdimbb?hl=en-GB
|
# ? Apr 25, 2024 05:36 |
|
America Inc. posted:I've got another question that's not really a webdev question, but it has to do with websites. My mom uses this really, really ugly website for her job to log hours, and to get her hours for sick leave she has to fix some errors with her attendance. The interface they provide to fix those errors is of course really dumb, and she has to click "Disagree" on 100 items, fill out a form with a dropdown and text input, and click a submit button. Because there are 100 items, she has to do this 100 times. There is no "Disagree all" button. There’s lots of ways to do this. Be careful with browser extensions. It’s like installing mystery software.
|
# ? Apr 25, 2024 14:30 |
|
CarForumPoster posted:There’s lots of ways to do this This was the advice I always got when going to my computer science professor's office hours and I always left his office more confused than when I walked in
|
# ? Apr 25, 2024 17:28 |
|
America Inc. posted:I've got another question that's not really a webdev question, but it has to do with websites. My mom uses this really, really ugly website for her job to log hours, and to get her hours for sick leave she has to fix some errors with her attendance. The interface they provide to fix those errors is of course really dumb, and she has to click "Disagree" on 100 items, fill out a form with a dropdown and text input, and click a submit button. Because there are 100 items, she has to do this 100 times. There is no "Disagree all" button. Someone half-competent with Javascript could probably look at the website's source and offer up a JavaScript one-liner that could be entered into the dev console and auto-click all the buttons. But I'm going to guess it's some internal app and it'd be hard to get eyeballs on it.
|
# ? Apr 25, 2024 20:32 |
|
teen phone cutie posted:This was the advice I always got when going to my computer science professor's office hours and I always left his office more confused than when I walked in Fair enough: Tampermonkey + A tampermonkey script so that the replacements can be checked for viruses Autohotkey Selenium compiled to an exe for a novice user that includes chrome/chromedriver bundled.
|
# ? Apr 25, 2024 20:53 |
|
At work, we maintain four sites that use different NPM configurations: two use both bower and grunt, one just uses grunt, and the most modern uses straight NPM. The developer who set this up is gone and the bower using sites are starting to run into direct issues with compiling locally. I don't believe that the issues are there when deployment, but it feels like a matter of time. Is converting to these seemingly older methods to pure NPM ?
|
# ? Apr 27, 2024 21:26 |
|
|
# ? May 4, 2024 09:11 |
|
Maigius posted:At work, we maintain four sites that use different NPM configurations: two use both bower and grunt, one just uses grunt, and the most modern uses straight NPM. The developer who set this up is gone and the bower using sites are starting to run into direct issues with compiling locally. I don't believe that the issues are there when deployment, but it feels like a matter of time. Is converting to these seemingly older methods to pure NPM ? It's very easy and one of my favorite things to do, please hire me
|
# ? Apr 27, 2024 21:31 |