andioop

joined 1 year ago
[–] andioop@programming.dev 10 points 1 month ago* (last edited 1 month ago) (1 children)

Curious what you contribute to such that you have not had a bad experience, since I see people talk of bad experiences with the people in FOSS on every thread like this, and since you were downvoted for sharing your personal experience which, as far as I can tell, seems to be on-topic and civil with no hint of rudeness or "your bad experience definitely never happened/was your own fault".

Speaking as someone who also has no/few bad experiences with certain situations where the majority's experience (at least that I have seen online) is having a lot of negative encounters, so I believe you. I ask because maybe people who want to contribute to FOSS can try contributing to the (type of) things you do too ;)

I have no idea what you contribute to but thank you for your work!

[–] andioop@programming.dev 3 points 2 months ago

Thanks, donated this way!

[–] andioop@programming.dev 2 points 2 months ago

For some ideas of what to do, this post by Teri Kanefield has a list of concrete actions that you can take: https://terikanefield.com/things-to-do/

Very much appreciated.

[–] andioop@programming.dev 1 points 2 months ago

Me, pretty sure game dev is going to just be a hobby for me and that I will never try to sell a game, still enthusiastically reading the game marketing articles because they are interesting and it's cool to know the strategies being used to market to me so I can be better prepared…

[–] andioop@programming.dev 4 points 2 months ago* (last edited 1 month ago) (1 children)

I have been using some of the learning resources, specifically this one https://linuxjourney.com/. I hope the video recommendations are helpful to you but I am kicking myself for not adding "also I really hate watching videos and would prefer to read something" to my original post. I have not actually made the switch yet, I want to back up my files first. Bought a new external hard drive with enough space. It was nonfunctional. Had to send it back for a warranty replacement and am waiting on the new drive to show up. Will reply again if I remember once I actually manage to switch over.

EDIT: I haven't forgotten this. They refunded me instead of sending a new drive, so that's another wait period waiting for a good one made by someone else to go on sale…

[–] andioop@programming.dev 1 points 2 months ago* (last edited 2 months ago)

!linuxupskillchallenge@programming.dev for people who that link is not working for. (I, personally, get a couldnt_find_post error.)

Sometimes I have been told my links don't work by some other people, but they work for me logged in and logged out. Wonder if it's that we're using different clients, and if your link would work for the people who cannot open my link successfully.

[–] andioop@programming.dev 2 points 2 months ago* (last edited 2 months ago)

Wait no, I never had to change IDs. They are all unique and have been since I first defined them. I meant that the ID attribute of my element is the same as its name attribute and also its value attribute. Does any of the advice change given this?

Thank you!

[–] andioop@programming.dev 2 points 2 months ago

Thank you again so much for your advice. I read it all :)

[–] andioop@programming.dev 1 points 2 months ago* (last edited 2 months ago) (2 children)

I am curious if it is viable to do it just pure JS or if I really need to learn some popular frameworks/libraries. I have no idea where this resistance comes from, guessing it's perhaps because "oh wow a whole framework" seems more intimidating than "learn to fix your code in a language you already know a little bit", as someone unfamiliar with frameworks. I should probably learn them anyways.

I do have some of the code commented but I also recently found according to https://refactoring.guru that this is bad?

Final thing: most resources I am aware of are for cleaning up object-oriented stuff. Wondering about resources for cleaning up non-object-oriented stuff and when I should and should not be doing object-oriented stuff, seeing as I did not write this raw JS object-oriented. (Yes, I know you can still kind of imitate some of the design patterns anyways, just curious.)

Also need to find out if if's okay to have the same thing appear twice in the HTML and how to put that in a constant if not, or if it would be better to programmatically generate it because a lot of it is pretty repetitive and the same string everywhere (except for the name attribute sometimes).

Again, thank you so much for your advice! I'll definitely be checking these resources.

[–] andioop@programming.dev 2 points 2 months ago* (last edited 2 months ago) (5 children)

It is JavaScript!

I wanted to say just thank you so much for your feedback and help, I really appreciate it. I'll probably try to handle it as an array until final display to the user (tbh probably just me), where the commas and spaces will be used because that's how English works and seeing an output of stringOne,stringTwo,stringThree without the space would just irritate me a lot.

I am aware of unit testing and know I should use it. I also didn't use any frameworks and I'm not sure what I should use to test it when I didn't use Node.js or React or anything like that (not sure if "framework" is the right word). My only knowledge of them is that sometimes when I fork other peoples' projects I have to do stuff like npm install and npm run build and I have a vague overview idea of what those commands do (install dependencies, compile the stuff and run it). What I actually did to test things was just using the website. I let it go because it is small, under 200 lines of code, and probably will not expand very much.

Specifically the actual JS never has the string written down! I grab it from the HTML. Where it does show up several times: the element's name, ID (wonder if I can just wipe it out of the name), often its value, and in the element's label in the for attribute. Not sure what best practice is here.

 
 
 
view more: ‹ prev next ›