GitHub stars (and mental health)

Howdy, Jow Forums,

I will tell you a story about my recent project and how it all went (im not going to shill it here).

So yeah. I have created a project, 2.5+ LOC, modern C++17, CMake, Qt5, good project structure and everything, but later find out that somebody else has already done something really similar, but in an interpreted language, and that project has seemingly MUCH more stars than mine because it's been there for some time (2-3 years) and thus earned its reputation among its users.

It does feel nice when people star your repo as an appreciation for your efforts, yet it looks like they do it out of pitiness (?).

Now I'm thinking of making a gameboy emulator because the whole idea about it, as a whole, looks cool. In addition to that, I'd like to test Boost.Asio asynchronous server/client 'cause I've never used external libraries for networking (Asio, Libuv, ...) before, except for C's style of sockets (sys/socket.h)

There are countless of already done gameboy emulators on GitHub though, so I'm having second thoughts of whether to make it or not.. :/

I'd like to add that I've failed 2 classes in Uni due to depression, so those stars sort of boosted my self-esteem (but for how long though?)..

So, my question is, how do you people deal with all this? Are there any depressed programmers/students in Jow Forums who made it into good careers by sacrificing their mental/whatever health for GitHub stars?

I don't know when the last time I had fun desu, I just study and work, study and work........

Pls help

Attached: you-tried.gif (480x270, 1.17M)

Other urls found in this thread:

github.com/olive-editor/olive
qt.io/blog/2018/10/29/deprecation-of-qbs
cmake.org/cmake/help/latest/command/file.html#glob-recurse
twitter.com/SFWRedditImages

Proof that I'm not larping

Attached: so-yeah.png (720x1001, 107K)

why not find someone on a hacking forum who sells github stars/forks and buy like 2k, get your project some fake notoriety, then let it grow organically from there

github stars are just as meaningless as likes on facebook, unless you have some plan how to get "conversions" aka use it to sell some paid product or shill your blog or something

find some way to get in contact with your users and ask them for feedback and get them to contribute, an issue or a PR is usually 1000 times more valuable than a star

make a gameboy emulator if you think it's fun and have some cool ideas about how to do it or some weird new features, don't just do it for the internet dick points

Well, desu, I was thinking about creating a sort-of GitHub botnet with well over 1000 PVA gmail accounts that I happen to have lying around but idk... It's risky that I could get my account banned (or all of the botnet banned) and wasting my time doing that

>an issue or a PR is usually 1000 times more valuable than a star
As soon as I released the code, I got the first issue that I managed to fix in ~20 mins. It was a nice feeling knowing that people actually care about the stuff you make
>don't just do it for the internet dick points
Ikr, I should probably change my mentality about this

Stars starts as people want to code for your project, but almost every single open source are made by one or few programmers well connected, instead of thousands anonymous contributors.

TL;DR just check ratio Stars / Contributors tab.

hey, 26 is a great start, my most popular one is only on 120 after 2 and a half years

real talk: as long as you search for confirmation from other people you will be depressed. instead of writing some project, work on yourself. good luck

Attached: 46674.jpg (295x475, 34K)

if you link it, I will give you stars bro

if you can quit your job, i failed college which is the uk equivalent to highschool because i got depression and it was because of working. I quit my job near the end of college but it was too late to salvage my grades and i ended up finishing with no qualifications i did feel better after quitting tho and have managed to get into university after doing a foundation year. Seriously quit your job

Attached: 1544406207097.jpg (640x758, 66K)

Starts mean nothing, stop worrying about it.

just focus on uni, trying to get notoriety or respect through github is a complete waste of time
all my software dev jobs I got I never bothered to show my github
if theres something you find interesting then build it for that reason and put it on github if you feel like it (unless its potentially worth money). dont just make something because you think other people might give you stars

This. I'd add: Work on projects because they'll benefit you directly, not because you think they'll win you approval from other people.

Don't feel bad. The only reason I have github projects is because I just find a project that exists in one language and port it over to another with all new name, branding, and structure. It helps on the resumes but serves little other purpose.

You do know Github is closed source proprietary shitware? And I'm not even talking about Microsoft stuff, if anything MS is so deep in the "how do you do fellow geeks" meme right now that they might end up open sourcing it. But until they do, it is and remains closed source proprietary shitware.

Use Gitlab or something. Even if you don't host your own, or use e.g. gitgud, at least you know the company cares enough to open source their backend, rather than being all "wowww we love open source sooooo much!!!!!! and btw no you can't see our source ;))))"

How much easier/harder is it to use cmake over qmake with Qt? Especially with other custom compilers in the mix

I have a github account just so I can complain about bugs. I sometimes click the star button but I dunno what it's really supposed to do.

don’t use hipster hub nigga

github stars are the same as facebook likes or 4channel (You)s. they're called upcummies.

oh....oh god...I'm UP-COOOOOOOOOOMING

Have a (You)

Promotion is part of every successful product.

>2.5 lines of code

I have built projects with both and I personally found CMake to be easier when combined with Qt. Maybe it's because I use CMake outside of Qt, and that with CMake you can use whichever IDE you want (I prefer CLion).

Here's an example project with CMake build system. Note how there's an additional CMakeLists.txt file in every subdirectory:

github.com/olive-editor/olive

.5 lines of code
I can make it into 4k LOC this week yet I'm too busy with everything atm

one of my python project had 4-5 stars
I posted it on reddit explaining what it does.
I now have 192 stars. (in just a month)
Reach out to people.

inb4 go back

this is true, but if you are just using their shit for hosting it's literally a git push to move to a new location. it's not making you dependent or anything like that.

>interpreted language
Nonsense. That's up to the implementation.

what a fucking sad thread. go drink zoy and collect stars and pokemons somewere else

actual depression is lifelong imo, from experience. the best thing you can do is identify failures in your thought patterns and develop behaviors that make up for your brain being all fucked up.
the failing thoughts you have right now are that you: 1. give a shit about how faceless people on github perceive you via your projects (lmfao). 2. don't want to do something that would teach you something and give you a chance to improve yourself because "there are countless" others already. You should being doing it for the experience, not because you think someone else will care. 3. are in a deep cycle of self-doubt and misery. You might need to rethink your life, remove complexity and simplify it until it becomes manageable and you can identify what brings you joy and/or fulfillment (you likely won't get both, with depression).
>that project has seemingly MUCH more stars than mine because it's been there for some time (2-3 years) and thus earned its reputation among its users.
you've identified that this other project has had years before yours to accumulate a following, and this is a reasonable conclusion, so why does it bother you?
Stop thinking about how people you don't even know MIGHT be perceiving you. Your first priority should be reaching a state where YOU feel good about yourself and what you do. How can you expect someone else to like you if you don't even like yourself?

Screenshotted your reply, because I like collecting peoples' advises.

>Your first priority should be reaching a state where YOU feel good about yourself and what you do.
That's true, I indeed don't feel good about myself, and I don't know how I could ever achieve that, let alone feel happiness, for once.

>How can you expect someone else to like you if you don't even like yourself?
That's true, nobody likes me, and I hate myself for many reasons. I wish I was born in the USA or Canada, and so that I could have much nicer things, nicer job, and a better pay/career/future, but that's too much to ask for.

Nonetheless, you know, let's not turn this into another Jow Forums thread. Thank you for your reply.

Attached: animu-girl-train.gif (540x304, 1017K)

>I prefer CLion
Nice shit taste. No wonder you are depressed when you have to work with something as shit as shitlion lmao.
Now post your repo so i can make mean comments on there too!

Attached: 1561744447537.jpg (267x279, 45K)

Are you from Burgeristan? They seem to have a "everyone should get an award mentality" which breeds the well known participation awards.

>Ikr, I should probably change my mentality about this
You should, it makes life be easier and more enjoyable.

Don't use qmake, even Qt Company is planning to switch to cmake.
>qt.io/blog/2018/10/29/deprecation-of-qbs
>Longer term, we plan to switch to CMake for building Qt itself

Host your own gilab instance. You sound like a depressed retard. You need to lift weights.

Don't worry OP, stars doesn't mean if your project is good or not, it just means if people have seen it and they personally find it useful.
I also have many projects on github and one of them is a build tool that is similar to cargo, but for c and c++; it's much easier than alternatives (cmake, meson etc) and it also generates a compilation database so you can work with an IDE on any os with pretty much any editor (clion, vim, emacs, vscode, etc). Yet my project only has 2 stars and the project is 2 years old.

Post it here, I want to see it.

What kind of projects are you plebs doing that you don’t even have a thousand stars?

have it drip feed slowly over a period of a couple days/weeks

personally i only star things instead of adding them to bookmarks

>What kind of projects are you plebs doing that you don’t even have a thousand stars?
My recent project that got me 26 stars was image processing with the OpenCV library. For the GUI I used Qt, coupled together with modern C++17. For the next project I'm thinking about doing a augment-reality library for projecting objects through camera. For the graphics engine I'll probably stick to Vulkan. Also, I'd like to make an emulator with a networking library, e.g. Boost.Asio

What kind of projects are you doing, patriarch user-san?

Attached: mhm.gif (500x287, 1.76M)

Thank you user friends. I ask cause qmake seems to have built in support for adding another compiler, And I need nvcc for cuda code. I know cmake has built in CUDA support so I expect it’s possible somehow. One thing I think is weird is having multiple cmake files in subdirectories, is there an alternative to that shit?

>One thing I think is weird is having multiple cmake files in subdirectories, is there an alternative to that shit?
Some people write macros in the root CMakeLists.txt for finding project source files, and then linking them. I don't really like this approach of doing things 'cause then you end up with an enormously big file which is harder to read (well, you can put some parts of CMkake files in other directory and tell the root CMakeLists to do them as well as part of the build)

I’d still rather deal with one file than multiple smaller ones spread out over a source directory, but I’m sure there’s a good solution somewhere

Thanks

Use this:
include_directories(SYSTEM "${CMAKE_SOURCE_DIR}/src/external")
include_directories("${CMAKE_SOURCE_DIR}/src")
file(GLOB_RECURSE SOURCES RELATIVE ${CMAKE_SOURCE_DIR}
"src/*.cc"
"src/*.cpp"
)

This way you won't get compiler warnings for 3rd party too which is pretty neat

This

Based

>I don't want to program because I don't think I'll get enough attention and praise for it
Then don't program and fuck off.

>Screenshotted your reply, because I like collecting peoples' advises.
I do the same thing!!! I'm so glad to see I'm not alone at this lol

Let me see, I want to use it

>tfw all my stuff is in private repos because my development rate is so glacial that I'd be ashamed to let anyone see it live

cmake.org/cmake/help/latest/command/file.html#glob-recurse

>Note: We do not recommend using GLOB to collect a list of source files from your source tree. If no CMakeLists.txt file changes when a source is added or removed then the generated build system cannot know when to ask CMake to regenerate. The CONFIGURE_DEPENDS flag may not work reliably on all generators, or if a new generator is added in the future that cannot support it, projects using it will be stuck. Even if CONFIGURE_DEPENDS works reliably, there is still a cost to perform the check on every rebuild.

So what do?

To get fast builds you have to list out your c/cpp files manually, no way around it.

that's why you GPL your codec you faggot keep using MIT/BSD....

It is a good idea to make interesting repositories, although if you are looking for a job, you should make something useful and not merely an Gameboy emulator, but something that actually does something new.

Chasing stars is stupid, however. A popular JavaScript library that makes a circular on-hover mouse control can get several thousand stars while a C library that does something useful may never receive more than a few hundreds...

Github stars got me through my depression.
I had a couple of bad years in 2012~2013 due to financial and family problems, I had github's private rss feed on my reader and once in a while when I refreshed I'd see "$user starred $project", I'd always think "somebody still likes me, a bit".
In hindsight this sounds very gay, but at the time these were small bright spots in an otherwise dark period.

Stay strong user.

>I have created a project, 2.5+ LOC
I hope one day you will finish the other half line and have 3 whole lines of code.

Attached: cfb.png (598x192, 74K)

As far as I can tell github stars do nothing, they don't boost your SEO or drive traffic to your project in any way.

I got thru my github-based depression by banging crack and playing wow. I actually pulled off some serious hacks in my spare time just waiting for raid buddies to log on. You just need to spice things up bro