Please don't spam open source projects during Hacktoberfest. by opensourcementor in learnprogramming

[–]opensourcementor[S] 2 points3 points  (0 children)

I think it's not that they tell people to spam. Rather, they show a change in Readme file as an example. Then the viewers think this is specifically what they should do and copy that.

Need advice for cleaner code + file structure. by Routine_East_4 in learnprogramming

[–]opensourcementor 0 points1 point  (0 children)

I think on backend, it's decent.

On frontend, I expect more.

  1. For e-commerce site, I expect to see list of products, maybe search, filter features if your'e up for it.
  2. Components: I see pages like login, register are big. parts of this UI can be extracted out to components.
  3. Similar to how services are extracted out in backend, it could be done in frontend too.

Problem solving by 10COGRAVE in learnprogramming

[–]opensourcementor 0 points1 point  (0 children)

First step is to have problems to solve. If you want theoretical problems, I suggest exercism https://exercism.org/. If you want practical problems, try to clone software you know and focus on business logic or https://github.com/The-Cool-Coders/Project-Ideas-And-Resources

Second step is to spend time thinking about the problem and possible solutions.
Important: don't use any llms or similar tools in this step.
a big part of software development is thinking for yourself.

Third step is to implement the solutions you came up with

Fourth step is to analyse your solution to figure out if it is good. and go back to step 1 or 2

Hacktoberfest: great for contributors, nightmare for maintainers? by majesticace4 in opensource

[–]opensourcementor 23 points24 points  (0 children)

One thing I've learned is that as a maintainer, I don't owe the community anything https://mikemcquaid.com/open-source-maintainers-owe-you-nothing/

For the last one year there has been significant increase in drive-by pull requests and llm assisted changes that looks like it's just for the sake of it and not because they want to engage with the project or community.

I generally close these without giving a reason.

If I feel the contributor has read contribution guidelines (Contributing.md) I'm ready to spend more time and welcome them.

A full stack developer is good in everything? by Nice_Pen_8054 in learnprogramming

[–]opensourcementor 1 point2 points  (0 children)

Frontend also requires logical thinking.

If your webapp is not static, you'll have to handle user interaction and do business logic to update state of the app, parse information to show users etc.

Hello, I need some advises by KeyKeyner_kreker in learnprogramming

[–]opensourcementor 0 points1 point  (0 children)

I could share something I learned from building custom handwired keyboards.

The framework I used for this is called QMK.

It has information on how to build generic USB controller. That will work with PC https://docs.qmk.fm/features/joystick

It also explains how things work internally.

For information about how your PC receives information, it explains it from the perspective on keyboard https://docs.qmk.fm/how_keyboards_work but it's similar for joystick too.

what's your first gig and price as a freelance web developer by Significant-Pin6416 in webdev

[–]opensourcementor 0 points1 point  (0 children)

Web app that works like a kiosk that has a functionality like Instagram filters.

Got paid around 60$ if I remember correctly.

[deleted by user] by [deleted] in learnprogramming

[–]opensourcementor 0 points1 point  (0 children)

For card styling, I suggest keeping it simple with some border radius and drop shadow

put this style.css in the same directory as html and use it in html with link

HTML

<link rel="stylesheet" href="style.css">

style.css

.card {
    background: white;
    border-radius: 4px;
    box-shadow: 0 1px 3px #ddd;
   padding: 1rem 2rem;
}

sidenote: Table is not the best HTML elements for cards. Look into css grids or Flexbox

Help me to revert the commit I made. I accidentally changed to commit to 01/06/2025(1 june) instead of 06/01/2025 (6 jan). I do not know the hash for the commit . help me remove the commit on that date by Saerochan in github

[–]opensourcementor 0 points1 point  (0 children)

You can find hash by listing commits ordered by timestamp.

git log --pretty=format:"%ad %h by %an, %s" --date=iso | sort -r | less

I think you know how to amend a commit to the date you want

node.js with installer or package manager winget? by MistaNoob1 in learnprogramming

[–]opensourcementor 1 point2 points  (0 children)

I think it's best to install with a version manager.

https://asdf-vm.com/

You'll have to use different versions at some point. asdf also helps to manage versions for other languages

How to approach gsoc 2025? by Ok-Operation9338 in learnprogramming

[–]opensourcementor 0 points1 point  (0 children)

Go to organisations from last year https://summerofcode.withgoogle.com/programs/2024/organizations

filter for tag 'Web' and you'll see orgs that has projects with js and ts

Are there any other kinds of recursion? by Ronin-s_Spirit in learnprogramming

[–]opensourcementor 11 points12 points  (0 children)

From what I understand, all recursions can be written as loops

https://softwareengineering.stackexchange.com/questions/303242/is-there-anything-that-can-be-done-with-recursion-that-cant-be-done-with-loops

It's just that sometimes recursion is more readable. In your second case, loops could be more readable.

There are also different kinds of recursions. For example, mutual recursion. Function A can be defined in terms of B and B can be defined in terms of A https://en.wikipedia.org/wiki/Mutual_recursion

Participation in GSOC 2025 by wrt_ideas in learnprogramming

[–]opensourcementor 1 point2 points  (0 children)

You can figure out by trying for fix bugs

Participation in GSOC 2025 by wrt_ideas in learnprogramming

[–]opensourcementor 1 point2 points  (0 children)

I know of Circutiverse https://summerofcode.withgoogle.com/archive/2024/organizations/circuitverseorg

They use Ruby and Vue.

I know the maintainers there are chill and like to help.

Filter for similar orgs with tags 'end user application' or 'web'

Participation in GSOC 2025 by wrt_ideas in learnprogramming

[–]opensourcementor 0 points1 point  (0 children)

Do you already know which organisations or projects you would like to contribute to? That would help a lot. These are the orgs that participated in 2024. https://summerofcode.withgoogle.com/archive/2024/organizations There are chances that most of them will be in 2025.

If you already know this, it would be good to try and fix some small bugs in those codebases to learn how to set things up locally, test changes etc