-
SNeedlewoods
I'm trying to set up git/github, is it okay to ask some questions here, or should I move to another channel?
-
recanman[m]
Fine to ask here.
-
SNeedlewoods
nice .. do I necessarily need to set an email with "git config --global user.mail"?
-
recanman[m]
With GitHub or with a remote?
-
SNeedlewoods
and if so, I don't want to expose my email address, could I use the one from github hash+username⊙ungc?
-
recanman[m]
s/remote/generic upstream/
-
SNeedlewoods
locally
-
recanman[m]
It can be set to anything.
-
recanman[m]
If you want to increase security, GPG-sign your commits.
-
recanman[m]
SNeedlewoods: Yes.
-
recanman[m]
Wait. You're talking about pushing to GitHub. That is what I meant. If you are, I believe there is a setting that automatically hides your email. You should configure your name/email using GitHub's guide so it links back to your profile if you want to. I decide not to.
-
SNeedlewoods
okay let's discuss gpg-signing later, I'm still not sure I understand the basic interaction between git and github
-
recanman[m]
Git is a version-control system. GitHub is a proprietary implementation of Git. There are many alternatives to GitHub, including Gitea, etc.
-
recanman[m]
When you want to use Git, you create a repository (`git init`). That is where your code is stored.
-
recanman[m]
When you want to sync it with something upstream (remote), you can use an external service. That is where GitHub comes in.
-
recanman[m]
You create the repository on GitHub, add it as a remote `git remote add <url> <name>`, then that is an external place where your code is synced.
-
recanman[m]
GPG (or PGP) is a standard of public-key cryptography. Public key cryptography has both a public and private key. People encrypt messages with your public key, and you decrypt it with your private key.
-
recanman[m]
There is also a notion called a signature, where you sign some text with your private key, proving you are the owner.
-
recanman[m]
* GPG (or PGP) is a standard of public-key cryptography. Public key cryptography has both a public and private key. People encrypt messages with your public key, and you decrypt it with your private key.
-
recanman[m]
There is also a notion called a signature, where you sign some text with your private key, proving you are the owner.
-
recanman[m]
With GPG-signing commits, you sign the commit, proving that it was you that made the commit, and not someone setting their name and email to match yours.
-
SNeedlewoods
thanks, sorry I'm having trouble to properly phrase my problem
-
recanman[m]
All good.
-
SNeedlewoods
in order to use "git push" to sync, do I have to put my github account information into .gitconfig file!?
-
recanman[m]
It should ask you for credentials.
-
recanman[m]
You have to enter your username, then create a Personal Access Token. They no longer use passwords.
-
recanman[m]
-
SNeedlewoods
thank you, I gonna do some reading and come back when I have a better understanding
-
ofrnxmr[m]
<recanman[m]> "Fine to ask here." <- Actualy, wrong room.
-
recanman[m]
Oops, sorry
-
recanman[m]
I assumed dev meant anything related to development.
-
ofrnxmr[m]
Np. -dev is dedicated to hacking/programming monero core software
-
ofrnxmr[m]
Monero Community Dev is for other dev projects
-
ofrnxmr[m]
And Monero Monero Offtopic for more general discussion. Community dev or off topic are probably the best places to continue convo (if necessary)
-
SNeedlewoods
noted ... I asked here, because my intention is to be able to contribute to monero software
-
ofrnxmr[m]
Oh np. Asking in the wrong place is fine. I was just correcting the "here is fine" comment.
-
ofrnxmr[m]
"how to configure github is", again, not for this room - ofrngpt
-
MasFlam[m]1
i've been wondering, why are different curve point representations in use anyway? is it because of performance, or just that it's easier to implement different operations on different representations? or is it just what djb did and using ref10 nobody digged into why?
-
vtnerd_
ref10 is 32-bit optimized, the others from djb are 64-bit optimized. then theres two for 64-bit because theres a tradeoff with cache sizing
-
MasFlam[m]1
i was asking about point representations (p2, p3, p1p1, ...)
-
vtnerd_
oh, crap thats deep into the details
-
vtnerd_
its typically always perf based, so some representations are faster for doubling or addition,
-
vtnerd_
iirc theres a paper that goes into things a bit
-
MasFlam[m]1
i kind guessed so, but then you end up converting between them for other operations anyway
-
MasFlam[m]1
do you have the link to the paper?
-
vtnerd_
-
vtnerd_
it doesn't seem to go into the details you want, but you might find something of interest in it
-
vtnerd_
it does discuss using 64-bit limbs vs 51-bit limbs (the two 64-bit libraries)
-
MasFlam[m]1
will take a look anyway, thanks :)