Code Monkey home page Code Monkey logo

ninenines.github.io's People

Contributors

essen avatar msporleder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ninenines.github.io's Issues

Changed RSS URL

Should put a last update to the old URL to inform everyone that it changed.

Getting Started page code does not work.

https://github.com/ninenines/ninenines.github.io/blob/master/docs/en/cowboy/1.0/guide/getting_started/index.html#L195

The part of the example doesn't work, I will get an error

=ERROR REPORT==== 5-Nov-2014::23:44:47 === Error in process <0.161.0> on node '[email protected]' with exit value: {[{reason,undef},{mfa,{hello_handler,init,2}},{stacktrace,[{hello_handler,init,[{http_req,#Port<0.502>,ranch_tcp,keepalive,<0.161.0>,<<3 bytes>>,'HTTP/1.1',{{127,0,0,1},34886},<<9 bytes>>,undefined,8082,<<1 byte>>,undefined,<<0 bytes>>,[],[{<<4 bytes>>,<<14 bytes>>},{<<10 bytes>>,<<10 bytes>>},{<<6 bytes>>,<<74 bytes>>},{<<10 bytes>>,<<105 bytes>>},{<<15 bytes>>,<<17 bytes>>},{<<15 bytes>>,<<14 bytes>>},{<<6 bytes>>,<<53 bytes>>}],[],waiting,<<0 bytes>>,undefined,false,waiting...

if I follow this Getting Started page. I managed to get something working by following the cowboy/examples/hello_world source code, which is really different from the one in this Getting Started page,

Getting Started: handler logic in handle(Req, State=#state{}) -> DOESN'T WORK examples/hello_world: handler logic in init(Req, Opts) -> THIS WORKS

  1. Not only that, the template-generated .erl file created from
    make new t=cowboy_http n=hello_handler
    has a behaviour cowboy_http_handler that prevents make from building.

I had to remove everything and follow exactly the example in cowboy/examples/ to have things working.

  1. Apologies, I am just a beginner to Erlang so I totally don't know how to decipher the ERROR REPORT given in 1) above, but could anyone tell me what that means? (All that I know now is that I can copy and paste from the cowboy/example and things work, but I don't have even the slightest knowledge of what is actually the problem when I follow the Getting Started example.)

  2. Lastly, could someone tell me how do I start Cowboy without having to make every time I code change my handler? I would like my development workflow to be: modify erl code, recompile just my changes and test (auto-reloading like django's development server is best, if anyone can tell me how to. If not, I am ok with manually compiling, but how to only re-compile the changed source?).

As it is now, having to build an entire release on small code changes is just too time-consuming. Maybe there is a much better way I did not discover (despite searching a lot)?

Thanks for this awesome open-source :)

(My system: Ubuntu 13.10 and Erlang R17.)

Improve navigation usability of official documentation

Hello,
It would be nice to have a read next or previous link at the end in the official documentation of (Cowboy, Ranch, ...) at the end of the pages.

e.g.
nine nines request documentation

I find it frustrating to go back and change pages, but hey, it's just a thought and small improvement, in any case thanks for everything ;)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.