Kevin Powell - Community

KPC

Kevin Powell - Community

A friendly place for developers to meet other devs, ask questions, get help, and just have a good time ๐Ÿ™‚.

Join

front-end

resources

back-end

ui-ux

os-and-tools

Issues with transitioning from index html page to city html after user enters search critieria

I'm having issues with my route where the user enters their search and after pressing enter, the url changes but the redirect isnt happening. The content is displaying on the index.html page when it isn't suppose to. Here is a link to the github of the current standing of the project https://github.com/MD-2016/Weather-App/ There is also an issue with the http request with the log http: superfluous response.WriteHeader call from main.search (main.go:77) showing up. The issue is starting in main.go...

overflow of footer on print preview

I want to fix overflow of fixed footer. When width of content increases then footer. Will overflow over content. I tried ``` overflow:hidden...
No description

how can I retrieve the stored data by date

I'm stuck at my project.. Can someone help me? Can someone help me please?? I have made an attendance list. Now that everything works, they have to enter the date they drove. Then the number of km per group, then indicate who rode in which group....
No description

how to convert passthrough to readstream or buffer?

```js PassThrough { _readableState: ReadableState { objectMode: false, highWaterMark: 16384,...

core-js postinstall issue when deploying to render.com

Anyone come across a deployment issue on a full stack app on render.com that says it's due to core-js? Here's the log: ``` Cloning from https://github.com/raulbarriga/MERN-FullStack-Ecommerce... Sep 18 12:19:46 PM ==> Checking out commit f6fb50c2e8693f041930aa07c2a7afc1ef0311a9 in branch main...

Best websites to learn PHP

I'm a begginer when it comes to PHP and I want to know what are some good websites out there to start learning PHP? I prefer a beginner course that is structured rather than jumping from one topic to another without learning the basic first.

Should jwt cookie have "bearer" ?

I am trying to learn about authentication and authorization (and a lot of other topics together aswell, as it covers everything about routing, dynamic path, etc). A thing I want to know is, should I put Bearer in the cookie? Why do we use Bearer by the way? (I am just following some tutorials and they don't explain whyy)...
No description

Tk Deprecation Warning

Hello, I am starting to learn Python and while trying to do a turtle drawing exercise, I got a warning: DEPRECATION WARNING: The system version of Tk is deprecated and may be removed in a future release. Please don't rely on it. Set TK_SILENCE_DEPRECATION=1 to suppress this warning. The code doesn't run. I am working in VS Code on MacBook Air, and I have Python 3.9.6 installed. Any help would be greatly appreciated.

Dumb question but not sure when it comes to get and post with this problem

When a user enters information into a form like a search box, are they posting the input for the server to grab and process so it's a "post" or is it still a "get" request?

difference between web backend and app backend

i was just wondering if i could use the same server with my backend code, i used with my web app, for my app, barely know anything about backend btw, just curious

Wordpress Critical Issue

I've been experiencing an issue on my Wordpress site where a critical error is prompted and I cannot view the admin portal. As a bandaid fix, I increased the droplet on Digital Ocean and it fixed the issue. I'm assuming this is something plugin related and I'm now paying around $120 to host the site (elementor & woocommerce), which is considerably more than I've been paying. I honestly don't know much about backend / server related stuff. I know how to view server via FTP with key, but don't know how to access logs, etc. I was told to post my question here, but given the context is vague. I was wondering if anyone could help walk me through the process of diagnosing this issue and potentially fixing. Thank you ๐Ÿ‘...
No description

CMS with JavaScript - what can you recommand ?

First of all, sorry for my English ๐Ÿ˜‰ I'm swiss and maybe there are some spelling mistakes. Question: I would like to start a simple project for a Crossfit Affliliate whom I know. The owner wants to change the text and pages on his own. I'm currently not a lot into php and I heard that wordpress (which works with php - I know) isn't the best choice - it's insecure and you never know what code you will load from the plugins....

Wolfarm alpha api

I am trying to build a function that finds the critical points of a a mathematical function. I have an html page that gets an input and a node.js express server that gets a get request and connects to the wolfram alpha api. The code seems to be working but for some reason the api returns false answers for some of the functions. explicitly, when a function has only negative critical points, the result it gives is 0. could it be that the wolfram alpha api doesn't work properly?...

Unable to fetch data from API (Node JS server)

I am trying to fetch data from my database through my node js, but I keep getting an error of Error: SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON, is there anything I can do to prevent this? My code for the client side is: https://srcshare.io/64f7d7f6a897f132d4fe3c44 My code for the server is: ```js app.get('/getBlogs', (req, res) => { supabase...

Should I use js or ts for a library.

Im wondering whether use of typescript is advantageous when using javascript for interfacing with the library. Does it internally benefit from typechecking or something?

Advent Of Code doubt

Has anyone here done it? If so, I wanted to ask how the input is supposed to be taken? There were no guidelines on the website I just solved day 1, but i fetched the data using https module in Node.js(https://github.com/mihirbhatkar/adventOfCode/blob/main/day1/main.js) Is this how it is supposed to be done? Or are we supposed to Ctrl+A select the data and copy it manually?...

Multiple Apache2 vhosts are pointing to the same website, how to i fix this?

Multiple Apache2 vhosts are pointing to the same website, how to i fix this?

Projects In BackEnd

I am learning backend currently, doing PostgreSQL, I will do front end eventually. What projects can I make, to learn as well as for job

Using go enums

I have this code below but im not sure how the enum's side of things is working with the input like how I can determine the case in the switch to activate. Any thoughts? ```go package validateInput import (...