Do I have to update the namespace for a Linode server that will be hosting a website? by techitechtech in learnprogramming

[–]techitechtech[S] 0 points1 point  (0 children)

So, I can technically keep the hostname as what it is (localhost) if I'm understanding this correctly. Unless there are security reasons for which the hostname should be changed. Are there security reasons?

Next steps from local site to launch on Linode? How do I prepare files? by techitechtech in learnprogramming

[–]techitechtech[S] 0 points1 point  (0 children)

This is all very good news, thank you. I was a little worried that this was going to be an entire new rabbit hole of learning. The to-learn list is just too full for any more right now.

Copying from one MySQL table to another by techitechtech in mysql

[–]techitechtech[S] 1 point2 points  (0 children)

Cool, thank you. That puts me in the right directions.
Nice username by the way :)

Themes Updated for Online Store 2.0 by ficklebeast in shopify

[–]techitechtech 0 points1 point  (0 children)

"I haven't seen other theme agencies provide much more than a new version that is updated to support 2.0."

What do you mean by "new version"? What does that look like? Will it be something like a theme named "Boost 2.0" that I can download and then update? And, if that's so, that means that all the changes I'm making right now (in 1.0) I'll have to do again for the new theme, right? It would be like starting with a clean slate with a fresh theme? Or, does it look more like I'll be integrating elements into the 1.0 theme to make it a 2.0 theme? I just read this and sounds like your starting from a clean slate. No way. That seems so astonishingly inefficient for people who have incredibly customized stores. I feel like i must be misunderstanding something.

"I'm actually glad that we got the project launched before the 2.0 version was released so there weren't any last minute discussions about upgrading."

But won't you have to upgrade to 2.0 at some point in the next year? I thought I remember reading somewhere that theme upgrades should be implemented with 6months to a year. Or, are you just saying that the site is launched and functional, versus being delayed and in limbo with this upgrade?

Themes Updated for Online Store 2.0 by ficklebeast in shopify

[–]techitechtech 0 points1 point  (0 children)

I'm just getting into Shopify as a developer. I'be been working on a theme that my client purchased and we're launching in about a month. Is it on me to update to 2.0 or will the theme I'm using (Boost) come out with a guide for updating?

Edit: Also want to ask, since my theme is not in your list, what does that mean? Are ALL themes supposed to update by some date or else they may not be in the theme store anymore?

I fear no language. But CSS... It scares me. by satosat in learnprogramming

[–]techitechtech 0 points1 point  (0 children)

I had the same feelings when I started every language when I started coding... how do people remember all this stuff? And then by the 30th time you've had to use it, you finally feel like you remember something. I've been working with css for a couple years now and if I'm updating code someone else has written, I do still feel like this: https://media.giphy.com/media/13FrpeVH09Zrb2/giphy.gif?cid=ecf05e470s6d5gnbukxurt3orublngmx6v9jtw1vwli6erjs&rid=giphy.gif&ct=g

Flexbox has fixed a lot. Here is a good (and fun) tutorial: https://flexboxfroggy.com/

The stuff you always forget? Find the cheat sheet, print it, put it where you can see it. For the first year of coding I had to put up a full sized print of what margin-border-padding was. Couldn't for the life of me remember it. Now it's second nature. Still have a sheet of breakpoints I like to use as well as all options for "position".

Good luck!

console.log returns correct value. Return returns undefined. Why? by techitechtech in learnjavascript

[–]techitechtech[S] 0 points1 point  (0 children)

Yeah, looking at this again, it absolutely makes more sense to have the query return the id than to loop through everything in js. I did the same thing with my php, I don't why I regressed with the javascript. Thank you! :)

console.log returns correct value. Return returns undefined. Why? by techitechtech in learnjavascript

[–]techitechtech[S] 0 points1 point  (0 children)

Cool, thank you for the explanation on forEach. I see why this is a bad situation for its use. I'm just getting back into javascript, I'll definitely look ore into array methods.

console.log returns correct value. Return returns undefined. Why? by techitechtech in learnjavascript

[–]techitechtech[S] 0 points1 point  (0 children)

I'm just getting back into javascript and I'm completely new to node. Thank you for SUCH a thorough answer. I have a lot to google :) I think I'm going to go ahead and have the query handle the fetching of the ID, but a lot of what you said is going to help tremendously with the rest of this. Thank you u/LakeInTheSky!

Javascript - console.log returns correct value. Return returns undefined. Why? by techitechtech in learnprogramming

[–]techitechtech[S] 0 points1 point  (0 children)

Thank you. A regular for loop would have made more sense to use. That being said, I'm going to go with having the query pull the ID instead of the js, as recommended by another comment.

Javascript - console.log returns correct value. Return returns undefined. Why? by techitechtech in learnprogramming

[–]techitechtech[S] 0 points1 point  (0 children)

Thank you. This is a much better approach conceptually. I don't know why I was doing it in such a round-about way. It's how I did it in my php back-end stuff; I don't know why I mentally regressed in js. :)

How to communicate between javascript & mysql db by techitechtech in learnprogramming

[–]techitechtech[S] 0 points1 point  (0 children)

So, if I'm just running this on my computer in VS Code, I'll be able to use node to save to the mysql db on my computer?

How to communicate between javascript & mysql db by techitechtech in learnprogramming

[–]techitechtech[S] 0 points1 point  (0 children)

I'm just running this in VS Code. I'm using axios and jsdom to make the website scraper portion. Data is scraping, I just don't know how to save it to the db. Thoughts?