Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Dec 27 2017 02:46
    davedub opened #19
  • Dec 27 2017 02:46
    davedub opened #19
  • Dec 27 2017 02:43
    davedub edited #6
  • Dec 27 2017 02:43
    davedub edited #6
  • Dec 27 2017 02:40
    davedub closed #6
  • Dec 27 2017 02:40
    davedub closed #6
  • Dec 27 2017 02:38
    davedub opened #6
  • Dec 27 2017 02:38
    davedub opened #6
  • Mar 25 2015 16:20

    brookr on master

    (markup) wrap code spans w/ bac… Merge pull request #16 from fra… (compare)

  • Mar 25 2015 16:20

    brookr on master

    (markup) wrap code spans w/ bac… Merge pull request #16 from fra… (compare)

  • Mar 25 2015 16:20
    brookr closed #16
  • Mar 25 2015 16:20
    brookr closed #16
  • Mar 25 2015 16:20
    brookr commented #16
  • Mar 25 2015 16:20
    brookr commented #16
  • Mar 25 2015 16:18
    brookr commented #17
  • Mar 25 2015 16:18
    brookr commented #17
  • Mar 25 2015 16:18

    brookr on master

    (markup) improve superagent mar… Merge pull request #17 from fra… (compare)

  • Mar 25 2015 16:18

    brookr on master

    (markup) improve superagent mar… Merge pull request #17 from fra… (compare)

  • Mar 25 2015 16:18
    brookr closed #17
  • Mar 25 2015 16:18
    brookr closed #17
Josh Cunningham
@joshcanhelp
@KuroFluff Slow in what way, processing on output? How large is a large?
Andy Ernst
@AndyCErnst
Slow in processing I guess. He said if you have a thousand hits a second to your site it will really bog it down. The parser for Jade is poorly written. Although you'll have to ask him, as I'm only half remembering a brief conversation
Kevin Stephens
@kevinmstephens
Trying to do some regular ol prototypal inheritance in a projecto of mine. Does it sound right that there are two paradigms at the moment.
Hold on....
Josh Cunningham
@joshcanhelp
Uhh, nope
Kevin Stephens
@kevinmstephens
  1. Why create a constructor and add fields to the constructor prototype and use the new keyword when we can just create an object with the fields we want and use object.create(object)

function Con() {

};

Con.prototype.hello = function () {
    return "hello";
}

var con = new Con();

console.log(con.hello());  //"Hello"

Con = {
    hello: function () {
        return "hello";
    }
}

con = Object.create(Con);

console.log(con.hello());  //"Hello"
Kevin Stephens
@kevinmstephens
Guess if someone messes with Con then every object that inherits from it will be initialized with the fields in the same state as Con. Where if you use a constructor you can be sure that fields are initialized to the correct state.
Andy Ernst
@AndyCErnst
So I'm working on a website for a company. Their current website is 12 kinds of terrible and the only thing they wanted was it to work well on mobile. I grabbed a responsive html template but when I'm manually adding menu links on every single page I know there has to be a better way. I don't think they want me to invest the time to make it a single page app and spitting the menu onto the page with jQuery would feel sloppy. How is this normally done?
Ivan Storck
@ivanoats
is there a back-end ?
Josh Cunningham
@joshcanhelp
@KuroFluff ^^ ... also, what technology stack is it using? If you can use PHP, you can easily include files for repeating elements.
Andy Ernst
@AndyCErnst
Not yet. It's just html, css, and a tiny bit of js that came with the template.
No such luck @joshcanhelp, I'm not you :P I only know JS and Java
Ivan Storck
@ivanoats
so maybe a static site generator?
Andy Ernst
@AndyCErnst
What's that?
Josh Cunningham
@joshcanhelp
@KuroFluff I mean, can you use it on the server?
Ivan Storck
@ivanoats
like http://assemble.io or ruby’s Jekyll
then you can still upload just front-end code, but you have a sane way of generating it
remember @hlpetway ’s lightning talk?
Andy Ernst
@AndyCErnst
Yes, but this is so much simpler than a blog so I wasn't sure it was the right route
Thanks, I'll look into assemble.io
Ivan Storck
@ivanoats
yeah - assemble might be more js-y. also, who will be maintaining it long-term, and will they know grunt etc…?
Andy Ernst
@AndyCErnst
One guy is an experienced programmer so knows "some" JS. Java is the strongest language at this place.
Ivan Storck
@ivanoats
hmm.. maybe there’s an equivalent with maven or gradle… if you set it up right assemble could work, but you might want to check with them
Andy Ernst
@AndyCErnst
The requirements for the site were very simple, but (as I should come to expect) they are growing. I'm looking into using keystone.js as a blogging platform, they mentioned something about twitter, and merchandising from the the site
Josh Cunningham
@joshcanhelp
SCOPE CREEP! PULL UP, PULL UP!
Ivan Storck
@ivanoats
lol
as long as they pay on time...
Andy Ernst
@AndyCErnst
Yeah, the module that cures cancer and creates world peace is the tough one
Ivan Storck
@ivanoats
lol
Andy Ernst
@AndyCErnst
I'm working as an intern at a very, very low pay rate
Kevin Stephens
@kevinmstephens
Angular has a directive for that
ng-worldpeace
Andy Ernst
@AndyCErnst
I'm sure Emacs could do it too
Josh Cunningham
@joshcanhelp
Also wp-cure-cancer is an option
Ivan Storck
@ivanoats
but….ember has that out of the box …
Andy Ernst
@AndyCErnst
Thanks. I'll see if I can do simple enough assemble.io that they can change it around.
Kevin Stephens
@kevinmstephens
ember is #1
Robert Talamantez
@Talamantez
has anyone got their ec2 credits?
Nicholas Harberg
@harberg
@Talamantez nope, no credits here yet.
Robert Talamantez
@Talamantez
sadness
Ivan Storck
@ivanoats
I’ll check with @brookr when he’s back from vacation
Robert Talamantez
@Talamantez
you guys take vacations!?!
Nicholas Harberg
@harberg
anyone going to the node.js meetup tonight?
Robert Talamantez
@Talamantez
I'll be there in spirit sf.pipe(seattle, [spirit])
Ivan Storck
@ivanoats
@harberg I’m pretty sure I’m going, just working out details at home
Kevin Stephens
@kevinmstephens
@harberg I'll be going to NodeJS
Hailey L. Petway
@hlpetway
I'll be TA'ing, but if anyone wants the inside scoop on Cobalt, I worked there for the two years prior to CF. :)