#pyramid

/

      • zepolen has quit
      • mastokley has quit
      • zepolen joined the channel
      • zepolen has quit
      • hvelarde is now known as hvelarde|
      • hvelarde| is now known as hvelarde|away
      • x58
        dowwie has disappeared?
      • dowwie joined the channel
      • Then I can't answer his question.
      • dowwie: I don't have concrete numbers, but many users upon turning on HTTP2 said the site loaded faster. Looking at web inspector, things are being delivered faster as well, becuase JIRA/Confluence are very heavy when it comes to assets.
      • small tiny assets.
      • dowwie
        interesting
      • sendq
        is anyone here familiar with emacs po-mode ?
      • Pumukel joined the channel
      • x58
        No, I am not familiar with that utility of the emacs operating system.
      • waigani joined the channel
      • Method___ has quit
      • mastokley joined the channel
      • mermin joined the channel
      • loechel joined the channel
      • loechel has quit
      • loechel joined the channel
      • bfin has quit
      • jpenny
        I kind of see both points of view on the trypyramid.com site. Hello, world is not particularly idiomatic. The snippets now presented seem too unmotivated. Much as a dread to say it, I think there needs to be a "mission statement" before the snippets.
      • mermin
        Is it possible to have multiple invoke_subrequests under one parent request-driven function?
      • _user has quit
      • _user joined the channel
      • raydeo
        mermin: yes, you probably want to set use_tweens=False
      • jpenny
        And although it is not really possible to expose via snippet, I think Authentication and Authorization need to be mentioned.
      • d9k_ joined the channel
      • mermin
        raydeo: thanks for confirmation
      • hvelarde|away is now known as hvelarde
      • MasterGberry
        Is there any CRUD system for pyramid that is actively maintained?
      • mermin_ joined the channel
      • Something to wrap DB models in a REST API system
      • bochecha has quit
      • moo-_-
        yes
      • MasterGberry: https://websauna.org
      • MasterGberry: there is no REST yet, but there is CRUD
      • MasterGberry: we are working on React interface
      • behold my latest creation of evil http://pyramid-sms.readthedocs.io/en/latest/
      • agitator|hpeter joined the channel
      • rodfersou has quit
      • kamalgill has quit
      • stevepiercy
        let's design trypyramid.com by committee!
      • i strongly believe that emphasizing one thing is the wrong thing to do
      • MasterGberry
        i cri
      • stevepiercy
        pyramid can be used in many ways by many different audiences
      • raydeo
        the main page is not the place to throw the kitchen sink at them, it should have one or two examples and then point the user elsewhere
      • stevepiercy
        those are examples, not a kitchen sink
      • MasterGberry
        where is the hello world :'(
      • stevepiercy
        in context in docs where it should be :)
      • MasterGberry
        who is ur target audience?
      • stevepiercy
        MasterGberry ah, now you start to see… ;)
      • that's an excellent question
      • one that has been debated many many times
      • ultimately there is no single answer
      • MasterGberry
        the way i came to pyramid was searching python frameworks, finding that reddit uses pylons, and said sure why not it seems fast
      • but a normal user would probably search for something that seems very simple at first
      • stevepiercy
        so depending on where you are, the best place to go is into Resources: https://trypyramid.com/resources.html
      • MasterGberry
        with complexity as an option
      • also depends on whether u expect them to be fluent in python or might be learning it
      • stevepiercy
        MasterGberry exactly
      • MasterGberry
        e.g. i came from the dark language of php
      • and i would say the home page is kinda of intimidating
      • for a guy who doesnt know much about web design or python
      • stevepiercy
        i can relate, coming from an unknown language of Lasso
      • MasterGberry
      • Very simple
      • stevepiercy
        MasterGberry and that might be a desirable side-effect
      • do we want all the newbs?
      • do we want to be like Django and Flask?
      • MasterGberry
        i've recently been introduced to this "cone effect" where my company is trying to funnel in noobs and make them into better users
      • I dont know, do you?
      • stevepiercy
        i don't want drive-by newbs
      • _user has quit
      • i want newbs who know what they want, rather than those who try a "hello world", and think "wow, that was easy! everything else will be that easy, too!"
      • MasterGberry
        Maybe start off the home page with the simple hello world system of a basic request/response and then from there have some arrow-options or something for "templating" | "databases" | "REST API"
      • like 3 branches
      • and show a few simple add-on pieces
      • and then let them start digging through the documents
      • just a thought ofc
      • mblain joined the channel
      • think there is way too much text on the page atm
      • raydeo
        stevepiercy: even as a seasoned developer I evaluate most decisions by how well the api scales down to the bare essential before I investigate what else it can do
      • stevepiercy
        side note: concepts are hard to represent on web pages
      • Wu has quit
      • amragaey has quit
      • if "hello world" gets added by someone in a PR, then it must include some kind of disclaimer to the effect of "Even though this one-file app example demonstrates how quick and easy it is to create a simple request/response web application, it s not scalable. Experienced developers write web applications by reading APIs and documentation, and as demonstrated in the tutorials and cookbook recipes."
      • oh, and MasterGberry, perhaps you missed this: https://trypyramid.com/resources-extending-pyra...
      • raydeo
        stevepiercy: you sound pretty frustrated, I guess I haven't seen whatever conversations you're referring to where hello world was decided to be removed
      • stevepiercy
        raydeo true. my frustration stems from:
      • * where was everyone when this was originally discussed?
      • * why did i do all this work, only to have it refuted?
      • * where are the PRs?
      • * did anyone read the entire thread in that GitHub issue?
      • MasterGberry
        stevepiercy: i saw the page, sadly cant find what im looking for currently, might have to try mixing stuff or making something new
      • stevepiercy
        MasterGberry what are you looking for?
      • Lcaracol has quit
      • MasterGberry
        a REST wrapper for models, it doesnt seem like there is anything direct, everything u have to build something out of a restful service
      • areski joined the channel
      • What i used in the past for work: http://www.django-rest-framework.org/
      • stevepiercy
        try filtering the packages by API and Services
      • i get 4 packages
      • Wu joined the channel
      • MasterGberry
        err, i guess i have the wrong name for it
      • raydeo
        stevepiercy: honestly no one is going to do the work, that's why you're doing it of course
      • as I read the comments in that issue you don't seem particularly interested in input... it sounds like you have your mind made up from the start to kill hello world and dive right into features
      • jpenny
        stevepiercy, I certainly can't blame you for being frustrated. Yes, I did read the discussion. I agree that hello world did not add much to the discussion.
      • But, features without motivation are just kind of confusing.
      • raydeo
        the goal of a marketing site is to show how easy it is to get started and also provide a list of more advanced features (such as your snippets)... learning how to get from one to the other is not the job of that site
      • stevepiercy
        raydeo there is backstory, including https://botbot.me/freenode/pyramid/2015-12-19/?...
      • raydeo
        linking to things that will teach you how would be great of course
      • loechel has quit
      • ok well conversations in 2 places isn't helping obviously
      • stevepiercy
        yeah...
      • i mean, that issue came about from the IRC discussions
      • my fault for not linking to the conversations
      • raydeo
        we're engineers but it seems as if "process" has gotten a little lost in the goal of making this site
      • stevepiercy
        i'm not dead set against changing the home page, but putting hello world as the emphasized thing is more wrong than the current "look at what you can do" emphasis
      • raydeo
        it's a website... it needs an audience, it needs a goal, and it needs a design... unfortunately I see a lot of knee jerk pivots
      • it's hard to keep up
      • well I firmly believe otherwise, so talking definitively to me about how "it's more wrong" without backing it up isn't exactly constructive
      • you're alienating the help with such comments
      • stevepiercy
        i'm saying it's all wrong, there is no right way
      • raydeo
        so let's just burn it to the ground and make it redirect to flask
      • stevepiercy
        i take that back
      • i'm saying there is no one right way
      • and emphasizing one right way is the wrong thing to do
      • loechel joined the channel
      • raydeo
        I don't have any skills to help design a website over irc unfortunately... we can do something at pycon but otherwise we need to come up with a better process
      • blaflamme
        trypyramid is in fact two ideas that were merged together and it seems in the end everyone want it to be something different :(
      • raydeo
        it feels like everyone is talking over each other with no common ground in sight... that's either because no one is willing to compromise (unlikely) or rather that no one is effectively communicating their idea
      • stevepiercy
        it's more the latter
      • raydeo
        so instead, stevepiercy heroically does some work and then we rip it apart with knee jerk reactions
      • jpenny
        I come to praise stevepiercy, not bury him.
      • blaflamme
        it started with paul and me to have an entry point for pyramid targeted about decision makers
      • stevepiercy
        i think MasterGberry was on to something
      • raydeo
        I personally also see it as a funnel
      • stevepiercy
        i kinda like the idea of restoring the hello world, but i just don't know how to do it well
      • blaflamme
        then goodwill and steve did an entry point with the hello world snippet to have people get started quickly
      • raydeo
        starting off with barebones hello world and some examples of features you can add to it
      • jpenny
        On an intro landing page it seems to me, that there should be a "what makes it different, what makes it better" summary.
      • blaflamme
        and we figured out that a single entry point would be better
      • MasterGberry
        Anyone know a good online ms paint?
      • on a mac atm lol
      • stevepiercy
        yeah, and hello world is a total turn off to CTOs or CFOs
      • jpenny
        What is now there is a large part of the story, but the story itself is missing.
      • d9k__ joined the channel
      • cguardia