From the about page > We figured pretty much everybody knows JavaScript Even with the implied "everybody" being "everybody that would be interested in joining our site", this is a poor assumption. Not everyone is a ninja-rockstar web developer. In fact, some of the best content on HN comes from people who most likely don't know JS. I get the idea for the site, but the description seems very naive. (FWIW, I do know JS…
Pullup, the site you join via pull request
21–30 of 52 posts
Re: Pullup, the site you join via pull request
#22Oddly enough, you wouldn't necessarily require people to use the command-line for this, but nor would you need to build any editing UI; instead, the site could just, say, provide a context menu that contains links to the GitHub code-editor view of all the source files, and content files, that were used to render that particular element.
If you really wanted to do this, to be practical, you'd need a pretty good continuous integration server to block the deployed build from failing, but for the codebase itself, I think it'd be a fun experiment to just let people do whatever they like.
---
...or, on a different tangent, you could have something like a CI server that evaluates and accepts/rejects pull requests based on arbitrary criteria. This'd basically be a black box (not part of the editable codebase) serving the same purpose that the site administration currently does.
This process could have very specific rules, like, say, that not only does every test have to pass, but that the commit can't delete any code from a test. So features can be added to a codebase through this black box, but not removed.
Attaching such a black-box-evaluator + automatic CI deployment process to the public web would almost be like throwing a genetic algorithm at your codebase: it would "evolve" roughly according to the constraints of the algorithm, even though people are doing the work.
Re: Pullup, the site you join via pull request
#23 "We figured pretty much everybody knows JavaScript"
Haha, that's funny. I guess all of the world's software runs on the web and is written in Silicon Valley. Oh wait, what's that you say, some programmers actually work on all those weird machines like satellites, assembly lines, medical devices, power plants, and even my car?! People actually write new operating systems, compilers, web servers, load balancers, and device drivers?! No way! Why don't they just make a web app for that stuff?Yeesh. I realize that you can't please everyone, but some people chose to live in their own little worlds.
Re: Pullup, the site you join via pull request
#24You know, it just occurred to me: if instead of pull requests , they just accepted all pushes... that'd sort of make this the programmatic equivalent of a wiki, wouldn't it? A site anyone could edit, in a more literal sense: not just the content, but the features. Oddly enough, you wouldn't necessarily require people to use the command-line for this, but nor would you need to build any editing UI; instead, the site c…
Good idea, but this is easily gamed by e.g. adding a test that starts failing on a certain date. I've thought about this before, and it's really hard to come up with mechanisms for a system to incorporate untrusted modifications without totally collapsing.
It would be hilarious to design a program that accepts Bitcoin payments, and automatically accepts merge requests from the highest bidder.
Re: Pullup, the site you join via pull request
#25"We figured pretty much everybody knows JavaScript" Haha, that's funny. I guess all of the world's software runs on the web and is written in Silicon Valley. Oh wait, what's that you say, some programmers actually work on all those weird machines like satellites, assembly lines, medical devices, power plants, and even my car?! People actually write new operating systems, compilers, web servers, load balancers, and de…
Re: Pullup, the site you join via pull request
#26"We figured pretty much everybody knows JavaScript" Haha, that's funny. I guess all of the world's software runs on the web and is written in Silicon Valley. Oh wait, what's that you say, some programmers actually work on all those weird machines like satellites, assembly lines, medical devices, power plants, and even my car?! People actually write new operating systems, compilers, web servers, load balancers, and de…
SpaceX rockets use C++, however if you can use C++ I really do not see how hard javascript can be.
I work in systems. I don't really know JS. I do know C, C++, C#, Haskell, various dialects of Lisp, Python, and Ruby however. Why would I subject myself to learning JS unless I absolutely needed to?
Re: Pullup, the site you join via pull request
#27Earlier quoted context omitted.
SpaceX rockets use C++, however if you can use C++ I really do not see how hard javascript can be.
It's not about it being hard, it's about this mentality that software == web development. There is so ( so ) much more software running different applications. I'm not saying that the developers of this site actually think that the world literally runs on JS, but I found that sentence amusing and somewhat ignorant. I work in systems. I don't really know JS. I do know C, C++, C#, Haskell, various dialects of Lisp, Pyt…
Re: Pullup, the site you join via pull request
#28Earlier quoted context omitted.
It's not about it being hard, it's about this mentality that software == web development. There is so ( so ) much more software running different applications. I'm not saying that the developers of this site actually think that the world literally runs on JS, but I found that sentence amusing and somewhat ignorant. I work in systems. I don't really know JS. I do know C, C++, C#, Haskell, various dialects of Lisp, Pyt…
My point was that JS is so much like C++/C#/Java that you do not really need to learn anything new. If you know any of those languages you can already hack JS.
Re: Pullup, the site you join via pull request
#29Earlier quoted context omitted.
It's not about it being hard, it's about this mentality that software == web development. There is so ( so ) much more software running different applications. I'm not saying that the developers of this site actually think that the world literally runs on JS, but I found that sentence amusing and somewhat ignorant. I work in systems. I don't really know JS. I do know C, C++, C#, Haskell, various dialects of Lisp, Pyt…
My point was that JS is so much like C++/C#/Java that you do not really need to learn anything new. If you know any of those languages you can already hack JS.
As to your point, I don't remember the last time I had to think about using '==' or '===' in C++. Semantics differences are huge, I don't care about curly braces and semicolons.
Re: Pullup, the site you join via pull request
#30"We figured pretty much everybody knows JavaScript" Haha, that's funny. I guess all of the world's software runs on the web and is written in Silicon Valley. Oh wait, what's that you say, some programmers actually work on all those weird machines like satellites, assembly lines, medical devices, power plants, and even my car?! People actually write new operating systems, compilers, web servers, load balancers, and de…
The satellite that you join via pull request can be written in whatever you want :)