|
Ruggan posted:I spent all day updating two of our internal websites dependencies and rewriting all the react class components to function components with hooks. Still not quite done - need to test and expect to find some issues. But I’ll be happy when it’s done. I don't quite understand: are you happy that you're doing this? Not happy, but consider this part of your job? Or are you actually loving hate it to the bone?
|
# ? Aug 31, 2019 02:40 |
|
|
# ? Jun 5, 2024 06:06 |
|
You guys know you don't have to update your classes to function components right? I've been doing it on an as-needed basis when I want to add custom hooks to an existing class component.
|
# ? Aug 31, 2019 03:31 |
|
Volguus posted:I don't quite understand: are you happy that you're doing this? Not happy, but consider this part of your job? Or are you actually loving hate it to the bone? Haha. I’m happy I’m doing it. Nobody is forcing me to. I like function components and hooks, and it’s good practice. I do know I don’t need to update them. I’m doing it because it makes future development easier and more enjoyable (for me). It’s basically my 20% refactor and codebase maintenance time.
|
# ? Aug 31, 2019 04:09 |
|
Volguus posted:I don't quite understand: are you happy that you're doing this? Not happy, but consider this part of your job? Or are you actually loving hate it to the bone? "I'll be happy when it's done" typically means it is a chore you do not wish to be doing and you will not be happy until it is complete. edit: ^^ hmm, well ok.
|
# ? Aug 31, 2019 04:09 |
|
Thermopyle posted:"I'll be happy when it's done" typically means it is a chore you do not wish to be doing and you will not be happy until it is complete. Poor phrasing on my part I guess. Although it does verge on chore, I think it’s better to do it and keep up to date.
|
# ? Aug 31, 2019 04:11 |
|
Newbie seeking assistance. I'm just seeing if I can actually follow this video and see if I get the same outcome. He starts with a boilerplate template, selected Core and Angular. I got the Core w/ React template running, but I want to test this one too. I set up my DB, got the Host running, Angular "npm install" succeeded, npm audit fix, but then npm start gives the following: code:
I already installed Node.js to solve a similar error, but I can't figure this one out. Only Google result which seems relevant (indeed, exact error issue) says this: google translate of http://www.codebye.com/abp-cannot-find-module-angularformssrcdirectivescontrol_value_accessor.html posted:1. Expand the web project, find package.json and modify “ngx-bootstrap”: “^3.0.0”, “ngx-bootstrap”: “^4.3.0”, but no dice, didn't work. I checked my ngx-bootstrap.metadata.json and it says it's version 4, so I tried "^4.0.0" as well but same error. I'm just flailing, just doing this for fun
|
# ? Aug 31, 2019 04:29 |
|
I do like converting classes to use hooks when I do it, I like the feeling of getting to reorganize and clarify things. Converting a bunch of lifecycle methods to a single useEffect is satisfying. Upgrading deps and dealing with API changes is a chore though.
|
# ? Aug 31, 2019 12:21 |
|
I've used hooks in 2 new projects already, overall I really like them, but I keep running into situations with `useEffect` where I have a bunch of dependencies and I need to keep track of exactly which one of them has changed, and I think the recommended way of handling it is with `useRef`, but it gets really verbose and ugly every time I do it.
|
# ? Aug 31, 2019 17:00 |
|
Could you potentially break it into multiple effects so that you don't just have one with a lot of dependencies?
|
# ? Aug 31, 2019 19:08 |
|
Yeah, I do that also when it makes sense
|
# ? Aug 31, 2019 20:14 |
|
BrianBoitano posted:Newbie seeking assistance. I'm just seeing if I can actually follow this video and see if I get the same outcome. So turns out npm install grabbed minor versions of some packages which borked it. Killing node_modules folder and installing packages using yarn did it, per github recommendation!
|
# ? Sep 2, 2019 03:44 |
|
I discovered hapi framework today as an alternative to express and I'm fairly happy with it. Kinda really wanted one that expects me to just use async functions in my controllers, which makes a lot of sense. I'm a bit mystified by the plugins system, which replaces express middleware. Some blogs are talking about how I should define my routes using plugins instead of just defining routes, when clearly I can just define routes.
|
# ? Sep 2, 2019 12:26 |
|
Help me finish this sentence: If someone with a little bit of programming experience (the kind you'd get with an IS, not CS, degree) wanted to get into web design, I'd tell them to start with _____. A friend of mine just graduated, he knows a little html and css but not a ton - would he be better off getting good at the basics, like just build some stuff from scratch, or would he benefit from getting familiar with some of the more common platforms like Wordpress or Squarespace (I'm just pulling those out of the air, I have no idea if they're good starting points) first? I'm a piss-poor mentor but I'm trying to at least point the guy in the right direction. jackpot fucked around with this message at 15:31 on Sep 3, 2019 |
# ? Sep 3, 2019 14:33 |
|
jackpot posted:Help me finish this sentence: If someone with a little bit of programming experience (the kind you'd get with an IS, not CS, degree) wanted to get into web design, I'd tell them to start with _____. Web design or web development? If development, then if what they want is basic, square space or any other template service will be easiest for them, and can handle 90% of what most people want.
|
# ? Sep 3, 2019 16:15 |
|
Null of Undefined posted:Web design or web development? If development, then if what they want is basic, square space or any other template service will be easiest for them, and can handle 90% of what most people want.
|
# ? Sep 3, 2019 17:11 |
|
The not quite a designer not quite a developer industry isn't exactly what it used to be considering how good websites like squarespace and wix have gotten. His best bet is probably to become very pro-efficient in Wordpress, and to figure out a way to turn out sites with relative ease using the same template. That route is honestly more business then anything, because the hard part is negotiating contracts, building a client base, and being efficient with your time. Also it can get really painful if he isn't great at design and takes on any type of branding.
|
# ? Sep 3, 2019 18:06 |
|
From what I've seen if anyone wants html or css they just put a developer on it, nobody has an employee that knows strictly html/css I don't think. And then generally that dev work is a completely separate role from design work where some understanding of how a webpage flows is helpful but not a lot more than that. Is web design still predominantly Photoshop or has a better tool come along.
|
# ? Sep 3, 2019 18:39 |
|
Nolgthorn posted:From what I've seen if anyone wants html or css they just put a developer on it, nobody has an employee that knows strictly html/css I don't think. And then generally that dev work is a completely separate role from design work where some understanding of how a webpage flows is helpful but not a lot more than that. Everyone* uses Sketch now. * not literally, obviously.
|
# ? Sep 3, 2019 18:48 |
|
Web design and web development are both fields that are a lot harder to just fall into without some sort of formalized training or a degree these days. Ten years ago I would have said otherwise. If he has an IS degree he absolutely should not go the design route unless he has experience with (or at the very least a burning passion for) user experience and visual art. Front/backend web dev is likely more up his alley. Most IS/CS/devs who try to design do a terrible job at it.
|
# ? Sep 3, 2019 20:04 |
|
The Dave posted:The not quite a designer not quite a developer industry isn't exactly what it used to be considering how good websites like squarespace and wix have gotten. His best bet is probably to become very pro-efficient in Wordpress, and to figure out a way to turn out sites with relative ease using the same template. Also I feel like the school could've done a better job preparing him for all this, but maybe I just haven't asked the right questions. Nolgthorn posted:From what I've seen if anyone wants html or css they just put a developer on it, nobody has an employee that knows strictly html/css I don't think. And then generally that dev work is a completely separate role from design work where some understanding of how a webpage flows is helpful but not a lot more than that. Lumpy posted:Everyone* uses
|
# ? Sep 3, 2019 20:46 |
|
I am a small end web designer. A good part of my prospects I come across my desk just can’t afford to have a website done professionally. Others need to have a baseline idea of the price because they honestly have no clue. I wrote up a quiz (‘Who should make my website?’), had some people look it over, but I can’t find an easy to implement a solution where people take the quiz… And then get a certain result. Google and Microsoft forms don’t give the recipient any information except that they completed the quiz, and that’s not useful. (Ideally, the results will be emailed so that prospects could click a button and respond to me.) This seems to be a specialized service that companies either charge for recurringly or brand the hell out of. I want to implement it into my WordPress site, what do people suggest?
|
# ? Sep 3, 2019 22:59 |
|
jackpot posted:And so I get people who know their way around react or whatever but struggle with css. And that's why every drat tool in the world seems like it's built to circumvent CSS. It's even built into jsx these days, just put some CSS here don't worry it'll be totally isolated, what if I don't want it to be isolated because I know what cascading means? Too bad rear end in a top hat. Get your jsx in order before I slap you upside the head.
|
# ? Sep 4, 2019 00:23 |
|
Nolgthorn posted:And that's why every drat tool in the world seems like it's built to circumvent CSS. It's even built into jsx these days, just put some CSS here don't worry it'll be totally isolated, what if I don't want it to be isolated because I know what cascading means? Too bad rear end in a top hat. Get your jsx in order before I slap you upside the head. That’s not at all built in to JSX.
|
# ? Sep 4, 2019 01:33 |
|
jackpot posted:Help me finish this sentence: If someone with a little bit of programming experience (the kind you'd get with an IS, not CS, degree) wanted to get into web design, I'd tell them to start with _____. I'd say start a GitHub account, then do a bunch of tutorials with examples and commit everything so they have a bunch of stuff online. I'd recommend starting with HTML, then CSS, then JavaScript, then React. They want to have a strong base in the first three and show that they've at least dabbled in the fourth. Start looking for entry level jobs asap. They will most likely learn more and learn it more quickly at a job (and get paid too). Having a couple standard "todo list" example type apps up on GitHub that he took from the tutorials may put him a bit ahead of other applicants with no real experience. He should try listening to some of the dev podcasts out there like Syntax and Shoptalk so he becomes familiar and comfortable with the lingo. But what do I know? I'm currently unemployed.
|
# ? Sep 4, 2019 03:42 |
|
Nolgthorn posted:And that's why every drat tool in the world seems like it's built to circumvent CSS. It's even built into jsx these days, just put some CSS here don't worry it'll be totally isolated, what if I don't want it to be isolated because I know what cascading means? Too bad rear end in a top hat. Get your jsx in order before I slap you upside the head. Cascading was a mistake
|
# ? Sep 4, 2019 03:48 |
|
NotWearingPants posted:I'd say start a GitHub account, then do a bunch of tutorials with examples and commit everything so they have a bunch of stuff online. I'd recommend starting with HTML, then CSS, then JavaScript, then React. They want to have a strong base in the first three and show that they've at least dabbled in the fourth. Do this. I just hired someone to do python coding as an engineering intern that is basically exactly this.
|
# ? Sep 4, 2019 04:07 |
|
prom candy posted:Cascading was a mistake Empty quoting. Cascading is the web's version of object inheritance instead of composition.
|
# ? Sep 4, 2019 17:27 |
|
failure is a constant of the universe, sucess is a flash of light in a room of eternal darkness I like XML
|
# ? Sep 4, 2019 17:36 |
|
Uh oh folks, today I wrote a 5 line solution to generate a robots.txt instead of using a library. Am I gonna died?
|
# ? Sep 4, 2019 22:54 |
|
Open source it so that I can make an issue that requests typescript definition files.
|
# ? Sep 5, 2019 19:40 |
|
Anyone familiar with Pocket, and making compatible content ? I can't find explicit guidelines anywhere. I've tried making a simple page, hosting in and saving it to my articles. It appears in my collection but trying to access the content just redirects to the original page I'm hosting, whereas a random link like this one is "parsed" fine: it's available as a modified clean content-heavy version. I'd like my content to go through the same way and I'm not sure how this is achieved
|
# ? Sep 8, 2019 09:50 |
|
kedo posted:Most IS/CS/devs who try to design do a terrible job at it. To be fair, most of us know we aren't good at design, and really don't want to do it, but our clients often don't give a gently caress and can't be bothered to find someone who's actually decent, because they have absolutely no idea what makes these very vaguely related fields different from one another. It's basically, "there's some kind of words, and some kind of colours and a computer involved? Do it!" I've literally told clients "I hate doing this, and I'm not very good it, please find someone else to do this part of the project" and I still end up tasked with everything from social media, to marketing, to print design, all of which I'm not skilled at, not trained for, and I loving hate doing all of the above, but they're willing to pay for it and for some reason would rather deal with me doing a half-assed job than finding someone competent. I don't understand it, least of all because I take forever to do things I hate doing, and also I charge a lot of money.
|
# ? Sep 9, 2019 20:59 |
|
PT6A posted:
Is this a situation where getting a half-assed job from fiverr or upwork would be useful?
|
# ? Sep 9, 2019 21:01 |
|
The Fool posted:Is this a situation where getting a half-assed job from fiverr or upwork would be useful? I don't know. Probably? Upon further reflection, sometimes clients have taken my advice and found designers that are inexplicably even worse than me, and also a complete pain in the rear end for me to deal with all at the same time, so I'm not saying it's a foolproof plan.
|
# ? Sep 9, 2019 21:03 |
|
Just try charging like 50-75% more for those services and if they still want to pay atleast it’s worth your headache.
|
# ? Sep 9, 2019 21:05 |
|
PT6A posted:I don't know. Probably? From the way you described things, it sounds like your clients prefer working with you because you have a good professional relationship and they are reluctant to trust work to an unknown quantity, which you just admitted can sometimes be even worse that what you would have done yourself. It may be possible to offload these jobs to a subcontractor when you get them. That way you don't have to do the work directly, and your client gets to keep a consistent point of contact that they trust. And I'm not saying to hide this from the client either, just be upfront about not being 'up to your normally high standards' your own work would be and that you will retain a 'trusted' subcontractor to assist you. However you would be trading off the burden of doing the work for the burden of managing the subcontractor.
|
# ? Sep 9, 2019 21:12 |
|
Yeah, I'm not a designer at all. I mean, I can create ok interfaces using Bootstrap or whatever and reading/copying best practices. I don't really enjoy this part of the work. My clients all know this and I make them aware that if they want something uniquely good they need to hire someone to do this part of the work, but 90% of the time they stick with me because I'm a known quantity. It's a lot of work and uncertainty for them (and me!) to hire someone else.
|
# ? Sep 9, 2019 21:50 |
|
Finding designers you like to work with goes a long way. I'm bad at designing but I love implementing nice interfaces and working with (good) designers. Working with bad designers who never give any thought to how their designs might actually come to life in the browser is worse than having no designer though.
|
# ? Sep 10, 2019 00:58 |
|
I can definitely refer designers, depending on people‘s budgets, people who are absolutely fantastic but often undercharge. I don’t wanna do it as a blanket though because an unscreened referral is hardly a favor.
|
# ? Sep 10, 2019 01:46 |
|
|
# ? Jun 5, 2024 06:06 |
|
I pushed some minor changes to one of our customer-facing websites yesterday. This website is essentially a project management & task tracker for our clients - it isn't a core part of our business but supports groups who buy and need to implement our software. One of those changes involved adding a column to a CSV extract you can pull from the app's UI. We don't expose any sort of API endpoint, you need to get it from within the tool. I got a complaint this morning from one of our employees who is staffed to some organization that was "surprised" by the change. Apparently this organization is doing some scripting automation to pull down their data via the extract and post-process it. Adding this column broke their script. I'm not sure I'm comfortable committing to support code-writing end-users, but it brought up a few questions that I'm interested in hearing from other folks on:
|
# ? Sep 10, 2019 18:19 |