cfbolz changed the topic of #pypy to: PyPy, the flexible snake (IRC logs: https://quodlibet.duckdns.org/irc/pypy/latest.log.html#irc-end ) | use cffi for calling C | if a pep adds a mere 25-30 [C-API] functions or so, it's a drop in the ocean (cough) - Armin
xcm has joined #pypy
gracinet has quit [Quit: Leaving.]
jvesely has joined #pypy
andi- has quit [Quit: WeeChat 2.6]
andi- has joined #pypy
CrazyPython has joined #pypy
bitbit has quit [Ping timeout: 268 seconds]
CrazyPyt_ has joined #pypy
CrazyPython has quit [Read error: Connection reset by peer]
CrazyPyt_ has quit [Read error: Connection reset by peer]
CrazyPython has joined #pypy
CrazyPython has quit [Ping timeout: 268 seconds]
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
jcea has quit [Remote host closed the connection]
Graypup_ has quit [Quit: ZNC 1.6.1 - http://znc.in]
Graypup_ has joined #pypy
dddddd has quit [Ping timeout: 268 seconds]
epony has quit [Quit: system upgrades]
epony has joined #pypy
lritter has joined #pypy
jvesely has quit [Quit: jvesely]
Kronuz has quit [Quit: I'll be back...]
Kronuz has joined #pypy
Ai9zO5AP has quit [Quit: WeeChat 2.5]
xcm has quit [Read error: Connection reset by peer]
xcm has joined #pypy
epony has quit [Quit: reconf]
epony has joined #pypy
<mattip> arigato: thanks for the readthedocs fix. What happens if we try the gitlab integration URL, not the bitbucket one?
<mattip> i.e. go to admin->integrations->add integration-> gitlab
Taggnostr has quit [Quit: Switching to single player mode.]
<mattip> then paste that URL into the pypy/pypy admin webhooks
Taggnostr has joined #pypy
StyXman has joined #pypy
<arigato> StyXman: no?
<StyXman> arigato: I don't see the «git repo with three commits» image
<StyXman> is tehre one?
<arigato> if you want me to actually make an *image* out of the three-commits explanation of why we don't want Git, because you think people won't read that, then I honestly don't care
<mattip> arigato: the wording is a bit misleading "Look at this git repo" seems to imply there is a git repo to look at: either an image or a set of commands to recreate it
<arigato> ah OK
<mattip> perhaps "consider a git repo"
<arigato> thanks
<arigato> StyXman: thanks! sorry if I feel a little bit aggressive here. It's really trying to answer an "Extremely Frequently Asked Question", so it makes sense to try to do it right
<StyXman> hmm, I'm a visual guy, lemme try again
<StyXman> ok, I got it. I would also add the text «hint: it could be neither»
<StyXman> (the commit could have been done on a branch whose head was #1 but has since been deleted)
<arigato> ah, you can even delete git branches so that they are completely gone? I didn't know
<cfbolz> StyXman: thanks for helping make this clearer. Sorry that we're a bit tetchy, discussing version control systems is always a bit tiring
<StyXman> hehehe, I can understand
<arigato> yes
<arigato> but thanks! Improved further now. Will show up in a few minutes on doc.pypy.org
<StyXman> awesome :)
StyXman has left #pypy ["cheers!"]
gracinet has joined #pypy
marky1991_2 has joined #pypy
marky1991_2 has quit [Remote host closed the connection]
marky1991_2 has joined #pypy
marky1991 has quit [Ping timeout: 268 seconds]
plan_rich has joined #pypy
oberstet has quit [Remote host closed the connection]
dddddd has joined #pypy
oberstet has joined #pypy
xcm has quit [Killed (tolkien.freenode.net (Nickname regained by services))]
xcm has joined #pypy
plan_rich has quit [Ping timeout: 268 seconds]
<Dejan> Nikola-based website looks awesome
<Dejan> 👍
adamholmberg has joined #pypy
<mattip> Dejan: do you do web stuff? Next on my list is merging our blogposts to pypy.org instead of the blogger site at morepypy
<Dejan> Nope, I am backend/distributed-systems guy
<Dejan> Can Nikola do that?
<Dejan> I thought it is static
<mattip> it is taking a json file downloaded from morepypy with posts and comments, and turning it into Nikola posts
<mattip> along the lines of one of the nikola plugins
* mattip looking for link
jvesely has joined #pypy
<mattip> it does pretty well with the content, but ignores the comments
astronavt has quit [Quit: ...]
astronavt has joined #pypy
xcm is now known as Guest59374
Guest59374 has quit [Killed (weber.freenode.net (Nickname regained by services))]
xcm has joined #pypy
<antocuni> mattip: I don't think we have many interesting comments
<mattip> heh
<LarstiQ> arigato: in fact, the git style is to aggressively delete branches after they are merged, all the relevant information is considered to be in the revision dag itself
jcea has joined #pypy
<Dejan> 122k people are watching this rocket launch
<LarstiQ> (and from that point of view the "Why doesn’t PyPy use Git and move to GitHub?" FAQ does not explain why being able to answer the question ` When commit #1 was made, was it in the branch “A” or “B”?` is of value)
<LarstiQ> perhaps leaving some people puzzled
<Dejan> I understand that PyPy uses mercurial's named branches, and there is no such thing in Git
<mattip> antocuni: some of the older blog posts do, like https://morepypy.blogspot.com/2008/06/list-comprehension-implementation.html
<LarstiQ> Dejan: yup
<mattip> LarstiQ: PR welcome
<mattip> LarstiQ: but it is really a different way of looking at a chain of changesets
<LarstiQ> mattip: I'm afraid I don't understand myself what the value is, and I don't want to aggravate you all by trying to interview it out of you
<LarstiQ> so here was just trying to explain why people might not be convinced by the FAQ answer
<Dejan> I just wish there was git-hg just like there is git-svn :)
<mattip> the idea is that a single changeset from "git blame" does not give enough perspective on what was done and why,
<mattip> you need to look at the entire branch, where it was in relation to other branches
<mattip> and what it built on
<Dejan> mattip, i wonder how often you reall need that info
<Dejan> s/reall/really/
<mattip> well, that is the difference. Git people never had the info, so they don't miss it.
<LarstiQ> learning how this information is used to answer a question/solve a problem would maybe be instructive, atm I'm still wondering how that's different from looking at `git log --graph` (maybe with `--all`)
<mattip> after a few commits, the graph gives up and draws a disconnected line with an arrow
<mattip> now if the branch has dozens of commits, and you move around to figure out what happenned in relation to other branches, how do you know which branch is which?
<mattip> in hg, it is part of the first-order information
<mattip> given a random commit in git, what branch is it on?
<antocuni> mattip: one option is to import the old blog posts AND to provide a link to the original one
<nedbat> mattip: you can ask which existing branches have the commit in their history, but that isn't the same as having the branch name baked into the commit as hg had it.
<mattip> example: someone successfully imported pypy into github. What branch was this commit on from 2011?
<Dejan> that is all nice, but how often do you really use it?
<Dejan> I have ~40 devs here and we needed something like what you are describing once a year
<Dejan> in fact i can't remember when was the last time we were actually looking after the branch in which particular commit was made
<Dejan> even git blame usage is rare
<antocuni> Dejan: it is essential to know the context in which an obscure line was added. The once a year time you need it, it saves your day
<nedbat> mattip: i can't tell why you are asking: 1) i want to learn how to get whatever info i can from git, 2) i want to stay on hg, 3) I'm annoyed. No judgement. :)
<antocuni> and hg blame, I use it every time. So this probably means that pypy has different characteristics than the projects you work on :)
<mattip> nedbat: I want to stay on hg, and it makes me sad other people reject it out of hand
<nedbat> mattip: is staying on hg an option?
<Dejan> nedbat, i thought that is settled
<mattip> yup, that's why we moved from bitbucket to foss.heptapod.net
<nedbat> Dejan: idk, i'm asking
<mattip> but then people started asking why we like mercurial, so I am trying to explain
<Dejan> As old CSV/SVN user I like Mercurials commit numbers :)
<nedbat> mattip: is this hg? https://foss.heptapod.net/pypy/pypy is there some indicator I'm missing?
<antocuni> mattip: the answer to your question is: out-of-line-guards-2
<mattip> :)
<antocuni> found by doing "hg log --style compact | grep -C 3 'Implement a tagged pointers'" :)
<nedbat> mattip: i'm just wondering about the heptapod page: is there some indication there about hg vs git?
<Dejan> Another thing I like about Mercurial is that history is "sealed"
<nedbat> oh, or heptapod is all hg
<Dejan> you can't rewrite it
<Dejan> just like Fossil as well
<mattip> nedbat: https://heptapod.net
<mattip> it is a way to get gitlab to talk hg
<nedbat> mattip: i see. this page https://foss.heptapod.net/public says GitLab right at the top, so it's easy to miss it
<gracinet> at some point Heptapod should bo both Mercurial and Git, but for now it's Mercurial only
<Dejan> Frankly, GitLab should support Mercurial out-of-box
<Dejan> so much money is invested in it...
<nedbat> mattip: thanks, i learned something :)
<Dejan> but I guess that "Git" in the name is becoming redundant
<mattip> gracinet: nedbat has a point. pages like https://foss.heptapod.net/public should have a tagline at the top
<gracinet> I wouldn't mind them handing us a few tens of k$ :-)
<gracinet> mattip: yes, there are thousands of places like this
<mattip> gracinet: "gitlab + mercurial" or something snappy like that
<mattip> it could be in the header
<antocuni> hgitlab :)
<mattip> or on the icon hover
<gracinet> I'd prefer to tackle them once we are on a more current version of GitLab (what I'm doing right now) - up to now, it's been "those that are the most disturbing only"
<mattip> cool
<tos9> antocuni: careful, along with hpy, adding "H" in front of things is going to become your signature move
antocuni is now known as hantocuni
<mattip> heh
<tos9> :)
hantocuni is now known as antocuni
<gracinet> Actually, these cosmetic things are also some I keep to encourage contributors
<gracinet> mattip: ignore request access done as bjones14 (that was me testing with first user I could find)
<gracinet> I'm going to make a permanent testgr user, it'll be better
<LarstiQ> mattip: "now if the branch has dozens of commits, and you move around to figure out what happenned in relation to other branches, how do you know which branch is which?" -- I look at the revision graph, the name of the branch doesn't matter? It seems clear to me you have a very particular usage in mind that I'm not aware of, so it's very hard to communicate. I absolutely believe you have a use, I'm just
<LarstiQ> missing the context.
bitbit has joined #pypy
<LarstiQ> Perhaps the answer lies along: long-lived branches that criss-cross?
<mattip> yes. If you have never driven a truck it will be hard to explain exactly how important those little posts that stick up over the hood are.
<mattip> but once you try to sit in the driver seat, you realize you cannot live without them.
* gracinet does not have a driver's license
<mattip> this is the same kind of thing. We have a workflow that works for us
<mattip> others don't see the need and some tell us "get over it, everyone works with git". We don't want to.
<mattip> there is another tool, it is very capable, why don't you just use it instead?
<mattip> it kind of reflects the "CPython + cython/numba" vs. pypy argument. People are happy with CPython, it works for them
<mattip> that's great
<LarstiQ> mattip: No argument from me to switch to git, just trying to understand as long as you're willing to indulge me, and trying to help by getting an explanation that will forver shut down these queries
CrazyPython has joined #pypy
bitbit has quit [Ping timeout: 268 seconds]
bitbit has joined #pypy
<bitbit> Hi. I did "pypy3 -m ensurepip --user" so that I can use pip3 with pypy3, but now when I use python3 it doesn't have the module I installed with pip3. is there a way to use pip with pypy and python in parallel?
<mattip> no. while pip may appear to be something you run from the command line, it actually is not
<tos9> bitbit: Always use `somepython -m pip`
<tos9> bitbit: (so here, `yourpypy3 -m pip install whatever`
<mattip> it is equivalent to running "python -mpip", where the python is either pypy or pypy3 or python or python3.6 or ...
<Dejan> I always make a venv with pypy3 -m venv <venv-name>
<Dejan> and use pip from there
<bitbit> thanks that works :)
<bitbit> p.s. no breakpoint() in pypy? :(
<mattip> I think that is in python3.7
<Dejan> yep
lritter has quit [Quit: Leaving]
<bitbit> so, soon? :D
<Dejan> idk, did you try to download 3.7 nightly?
<Dejan> maybe it is already there
<bitbit> wasn't aware that was a thing
<mattip> http://buildbot.pypy.org/nightly/ has all the builds, py3.7 is what you want http://buildbot.pypy.org/nightly/py3.7/
<bitbit> thanks
<mattip> the title "nightly is misleading, linux64 was last built 4 days ago, the rest are not really up to date.
CrazyPython has quit [Read error: Connection reset by peer]
<mattip> I am updating the contributor instructions at https://doc.pypy.org/en/heptapod/contributing.html#your-first-contribution
<mattip> which is the heptapod branch of pypy/pypy
<mattip> comments welcome
slavfox has quit [Ping timeout: 246 seconds]
the_drow[m] has quit [Ping timeout: 248 seconds]
salotz[m] has quit [Ping timeout: 248 seconds]
Kronuz has quit [Ping timeout: 240 seconds]
Kronuz has joined #pypy
CrazyPython has joined #pypy
slavfox has joined #pypy
the_drow[m] has joined #pypy
salotz[m] has joined #pypy
CrazyPython has quit [Read error: Connection reset by peer]
<Dejan> can changes be emailed to you ?
<Dejan> :)
<mattip> Dejan: why?
<Dejan> for those who can't create a PR/MR/whatever-they-call-it-on-heptapod
<mattip> ahh, sure :)
adamholmberg has quit [Remote host closed the connection]
jvesely has quit [Quit: jvesely]
CrazyPython has joined #pypy
marky1991_2 has quit [Ping timeout: 265 seconds]
marky1991 has joined #pypy
<bbot2> Started: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/6795 [ronan: force build, py3-StringIO-perf]
<bbot2> Started: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/8012 [ronan: force build, py3-StringIO-perf]
<bbot2> Failure: http://buildbot.pypy.org/builders/pypy-c-jit-linux-x86-64/builds/6795 [ronan: force build, py3-StringIO-perf]
slavfox has quit [Quit: killed]
salotz[m] has quit [Quit: killed]
the_drow[m] has quit [Quit: killed]
xcm has quit [Ping timeout: 265 seconds]
xcm has joined #pypy
CrazyPython has quit [Read error: Connection reset by peer]
plan_rich has joined #pypy
<plan_rich> mattip: hi, well that is awkward. The creation of the virtualenv fails because using the pypy executable it cannot determine the python version. Looking at the code of virtualenv right now...
slavfox has joined #pypy
bitbit has quit [Remote host closed the connection]
bitbit has joined #pypy
<bbot2> Failure: http://buildbot.pypy.org/builders/own-linux-x86-64/builds/8012 [ronan: force build, py3-StringIO-perf]
Dejan has quit [Quit: Leaving]
oberstet has quit [Remote host closed the connection]
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
marky1991 has quit [Ping timeout: 268 seconds]
salotz[m] has joined #pypy
the_drow[m] has joined #pypy
marky1991 has joined #pypy
marky1991 has quit [Remote host closed the connection]
marky1991 has joined #pypy
<mattip> plan_rich: that is strange. Can you link to the failure?
<mattip> cfbolz: I turned on notifications for commits to pypy/pypy via pypy-commits@python.org
<mattip> did you get a notification?
jvesely has joined #pypy
xcm has quit [Remote host closed the connection]
xcm has joined #pypy
iko has quit [Ping timeout: 246 seconds]
iko has joined #pypy
CrazyPython has joined #pypy