#pyramid

/

      • atomekk joined the channel
      • x58
        Show me an OS/distribution that does that by default and I will show you some poor person somewhere that made a HUGE mistake.
      • Zart
        not with forwarding, but by routing
      • x58
        Nope.
      • Won't happen.
      • Zart
        it does
      • x58
        Prove it.
      • Show me the steps I need to take to test this on CentOS 7.0 or Ubuntu 15.04.
      • Pick one, I don't care.
      • ztane
      • yeah, not for 127/8
      • x58
        That's what we are talking about here ...
      • ztane
        but possible for other ifs if you do not enable the reverse filtering
      • Zart
        I've done this before back in times of 2.4 kernel..
      • ztane
      • x58
        Zart: That's a bug, not a feature.
      • ztane
        osx :P
      • Zart tries to recall how to override local table
      • Zart
        it's not a bug
      • it's an implementation detail of tcp/ip stack
      • x58
        The whole idea behind binding to 127.0.0.1 is that it is not externally reachable.
      • Zart
        127/8 isnt magic unicorn
      • stevepiercy
        x58 aha! i found an explanation of the relationship between the <1.x and >=2.0.0 versions of deform: https://pypi.python.org/pypi/deform/2.0a1
      • ztane
        Zart: yes it is not a magic unicorn in that it still is an ip address and it is possible to have a packet with that IP
      • but there is no legal use of sending 127/8 over any link
      • x58
        Zart: Alright. I'm going to spin up a service on 127.0.0.1 on a Linux machine that does not have forwarding enabled, 127.0.0.1 is assigned to a loopback, as it should be. And you can try and get the web page.
      • iptables disabled.
      • stevepiercy: Glad you foudn it.
      • stevepiercy
        so i guess that means the 1.x-branch is not released on pypi yet, although there was a stalled attempt at doing so
      • x58
        Zart: Actually, I am not going to. That would break so many assumptions.
      • That I am going to claim no go.
      • ztane
        stevepiercy: and pip does not install alpha by default :P
      • x58
        ztane: I'd argue that is a bug in OS X, and I hope that is fixed =)
      • hpeter joined the channel
      • ztane
        x58: definitely
      • x58
        stevepiercy: Hmm
      • ztane
        deform 2 will be out using bs3 the week after bs4 is deprecated.
      • Zart
        osx is bsd-based, which has strict address binding
      • stevepiercy
        ztane but easy_install will :)
      • markm joined the channel
      • Zart
        easy_install quietly defaults to ==dev
      • stevepiercy
        nasty packagezzzz managerzezzzzz
      • we don't likes them!
      • Pumukel joined the channel
      • Charlie_X joined the channel
      • Charlie_X
        Good morning.
      • ztane
        maybe we should write yet another one :P
      • yappi
      • damn that is already taken
      • stevepiercy
        no more pixie dust for you ztane
      • morning Charlie_X
      • tisto joined the channel
      • i wonder why there just aren't two separate projects, deform and deform2
      • Charlie_X
        I seem to remember that that was once the case.
      • stevepiercy
        or better, deform and deform-bootstrap
      • Charlie_X i don't think so
      • Charlie_X
        And then they got merged. It seemed like a good idea at the time. I think it was because iElectric and others were working hard on a project and decided that Bootstrap solved lots of problems for them.
      • stevepiercy
        sure, so that become deform v2.0.0
      • but still deform
      • Charlie_X
        Well, more bootstrap than deform.
      • But understandable. HTML forms are such a fucking mess.
      • sakal joined the channel
      • penna joined the channel
      • Zart
        hm, made my vm to send traffic to 127.0.0.1 externally, but seems like my openswitch doesnt forward somehow 8\
      • rickmak joined the channel
      • jpcw_ has quit
      • Charlie_X
        stevepiercy: Bootstrap is popular for developers building mobile phone apps.
      • I think it makes less sense for websites.
      • stevepiercy
        and tablets
      • i use bootstrap a lot
      • Charlie_X
        I've yet to find a use for it.
      • stevepiercy
        i'm essentially trying to sort out the organization of deform's tags/versions/branches, and i'm slowly grokking it
      • Charlie_X
        But maybe it will be Twitter's legacy?
      • yvl has quit
      • stevepiercy
        it looks like the 1.x-branch in the deform repo is a continuation after the release of deform 0.9.9
      • Charlie_X
        That is the case.
      • mr_jolly joined the channel
      • stevepiercy
        and i assume that the 1.x-branch is intended to be released some day to pypi
      • but...
      • there is a 2.0.0a2 release on pypi now
      • Charlie_X
        If anyone can ever find the energy and time to do it.
      • stevepiercy
        so i don't know if it is even possible to do a deform 1.0 release on pypi now
      • i don't know enough about pypi
      • Charlie_X
        Interesting question.
      • tomeff joined the channel
      • rickmak has quit
      • gustavofonseca joined the channel
      • rickmak_ joined the channel
      • gustavofonseca has quit
      • garbas joined the channel
      • tjt263 joined the channel
      • sakal joined the channel
      • yvl joined the channel
      • jpcw joined the channel
      • rickmak joined the channel
      • vagelis joined the channel
      • cdunklau
        i've put my project up on github https://github.com/cdunklau/paildocket
      • it's pretty rough still. you can basically ignore the user and checklist views, and most of the templates. but i'd like feedback on the auth policy in paildocket.security if anyone has a chance
      • iElectric
        stevepiercy: Charlie_X: the idea was that 1.0 could still live and have bugfixes if people wanted support
      • stevepiercy
        iElectric ya, that much is clear from what is published https://pypi.python.org/pypi/deform/2.0a1
      • tjt263 joined the channel
      • but it is not clear whether another release of < 2.0 on pypi will happen
      • i.e., deform 1.0
      • iElectric
        stevepiercy: if someone does/wants the release, it will happen
      • stevepiercy: is there something you're interested in there?
      • stevepiercy
        iElectric nothing in particular, other than is it possible to do a release of deform 1.0 on pypi, now that deform 2.0a2 is released?
      • iElectric
        sure it's possible
      • stevepiercy
        ok
      • iElectric
        pip will ignore alpha releases anyway
      • stevepiercy
        right
      • plamut has quit
      • areski joined the channel
      • i've looked through some PRs and the 2.0 release blockers in regards to documentation, and it's not too bad
      • so i figured i could improve the docs
      • yleclanche joined the channel
      • iElectric
        btw, I'm so sad to see posts like this https://impythonist.wordpress.com/2015/09/12/bu...
      • and author claims that pyramid would be the choice; "But due to its documentation it is a nightmare for beginners"
      • stevepiercy
        hahaha
      • iElectric
        now we know that's not really true, but something does draw such people away if they feel this way.
      • cdunklau
        i mean... i would say pyramid isn't well-suited for beginners to web applications
      • stevepiercy
        translation: "I'm too lazy to read documentation"
      • cdunklau
        but saying it's because the documentation is bad is just not true
      • hyriand
        the troubles I've faced with pyramid docs is that they they're really good once you know what you're looking for
      • ronnix joined the channel
      • iElectric
        hyriand: don't tell me we need video tutorials :-P
      • joules joined the channel
      • stevepiercy
        yes, terminology is a tough nut to crack
      • it's a matter of building up vocabulary
      • cdunklau
        that's one of the things in the pyramid docs that shines
      • the extensive glossar
      • y
      • iElectric
      • maybe we have *too much* documentation
      • hyriand
        mostly my own fault though, if I'd started with just reading it all instead of trying to look for something specific, that would've helped a lot
      • iElectric
        I'd count that as a ~good reason
      • pldz joined the channel
      • cdunklau
        hyriand: i've done that so many times
      • hyriand: "i don't need to read the quick start, i know what i'm doing"
      • hours later... "oh hey the quick start is really freaking useful"
      • hyriand
        in my case it was more like "this project that uses pyramid was dumped into my lap, I have no use for a quick start"
      • cdunklau
        even worse :D
      • iElectric
        ok that answers my question :)
      • zmijunkie joined the channel
      • cdunklau
        sooo i'm considering something bad. writing my own forms libr
      • iElectric ducks
      • i mean... i like colander. like a lot.
      • but deform is... strange
      • hyriand
        what do you find strange about deform? it makes a lot of sense to me
      • iElectric
        cdunklau: I don't want to be hipster and all, but react.js is very similar to form libraries, but just separated from the backend technology
      • cdunklau
        well, honestly the thing that makes me consider writing my own is that deform's current stable doesn't have an easy way to do csrf