|
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 18, 2024 05:40 |
|
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 |
|
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 |
|
Now I'm trying to help an org with translating their website to multiple languages. I'm still debating whether it's really necessary to translate content when Google will already do that for you, but I'm pretty certain that we at least want to translate the SRP into different languages. If you're searching for our website in Spanish, and specify "only show results in Spanish", we're not gonna show up b/c the website isn't in Spanish. duh. So usually a website will store their search result description in pre:<meta name="description" /> pre:<html lang="en"> Another approach I found is to use react-helmet, and just set the meta tag dynamically depending on browser language. Will Google's crawler actually be able to pull the correct SRP description from this though? Also, is it necessary to add keywords to the meta tags as well for different languages to get good SEO?
|
# ? May 6, 2024 05:55 |
|
America Inc. posted:Now I'm trying to help an org with translating their website to multiple languages. I'm still debating whether it's really necessary to translate content when Google will already do that for you, but I'm pretty certain that we at least want to translate the SRP into different languages. If you're searching for our website in Spanish, and specify "only show results in Spanish", we're not gonna show up b/c the website isn't in Spanish. duh. Depending on how the react app is set up you might want to see react-intl suits your needs before you try manually setting up internationalization: https://formatjs.io/docs/getting-started/installation/
|
# ? May 6, 2024 16:17 |
|
The gently caress is wrong with VSCode? Seriously, lately I feel I'm fighting its auto-completion. This is a fresh project, fresh file, no imports. There isn't even an "insert" in the prediction, just the letters are present in said order. The worst is that I have to hit Escape for it to ditch the suggestion. I can't just continue typing the bracket.
|
# ? May 10, 2024 22:51 |
|
The power of AI at your fingertips!
|
# ? May 11, 2024 07:31 |
|
lately I've had to spend more time debugging stupid AI auto fillers than my own code in vs code thanks microsoft
|
# ? May 11, 2024 09:32 |
|
Annoying auto-completion seems to be a general story in my life. My iPhone driving me up a wall, making texting annoying as gently caress, this now with VSCode, and DBeaver at work inserting random bullshit (what in the gently caress makes you think that when I'm typing AND/OR after a join condition, that I might want to insert random column name).
|
# ? May 11, 2024 09:47 |
|
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. I've never met a client that can provide content, that sounds like a dream job. You need to sit them down with an array of short answer questions like -what do you want the website to achieve -what information about your products do your customers expect to find -what do your customers like about your products -who is the average customer that you want to cater to -what do you like about your competitors' websites (you'll have to research these for them and give them example pages) -lots of direct questions about their position in the industry Unless your client is really switched on this needs to be a spoken conversation so you can get actual answers out of them. Prepare for it by researching their competitors Then you either put on your copywriters hat in cooperation with chatgpt or pay a copywriter. The client usually won't mind editing the copy if they hate it. You have to straight up tell them they need high quality photos to be taken of their products or (ideally, because you can do it on your own timeline and direct the process) that you they can pay you to have them contracted. If they won't respond to this stuff you just have to fire them.
|
# ? May 13, 2024 04:51 |
|
Just Web Dev Things 🌈✨
|
# ? May 14, 2024 16:25 |
|
Wondering as someone that has little knowledge on web development as to how do i sit down and create the website I envision? Would site builders be a better option? Or even Fiverr? I would like full control though. Just asking as a n00b here, it would be a blog setup by the way.
|
# ? May 15, 2024 22:29 |
|
EpicCareMadBitch posted:Wondering as someone that has little knowledge on web development as to how do i sit down and create the website I envision? Would site builders be a better option? Or even Fiverr? I would like full control though. Just asking as a n00b here, it would be a blog setup by the way. if you want something minimal with very little setup (but still giving you full control over the look/styles), I can't recommend bearblog or pika enough: https://bearblog.dev (I use this personally and I love it) https://pika.page but if you're looking for something a little more powerful, I've had success with Ghost CMS: https://ghost.org/
|
# ? May 15, 2024 22:36 |
|
EpicCareMadBitch posted:Wondering as someone that has little knowledge on web development as to how do i sit down and create the website I envision? Would site builders be a better option? Or even Fiverr? I would like full control though. Just asking as a n00b here, it would be a blog setup by the way. What are you trying to do? Is this like, your grand vision? Or a website for your uncles pizza joint?
|
# ? May 16, 2024 05:45 |
|
|
# ? May 18, 2024 05:40 |
|
EpicCareMadBitch posted:Wondering as someone that has little knowledge on web development as to how do i sit down and create the website I envision? Would site builders be a better option? Or even Fiverr? I would like full control though. Just asking as a n00b here, it would be a blog setup by the way. For something like a blog you have hosted solutions which are point and click, there are also self hosted options. I suggest you get a good quality hosted solution like maybe squarespace or one of it's competitors. It is by far the fastest way to get started, especially without development experience. It removes any reason for you to worry about anything.
|
# ? May 17, 2024 13:44 |