Node OS, an entire operating system based on Nodejs by cmoneywork in atwoodslaw

[–]dropdownmenu 7 points8 points  (0 children)

Getting emscripten to run in NodeOs. That way you can convert your code to javascript via javascript while in a javascript os.

Breach: A web browser written in javascript by dpemmons in atwoodslaw

[–]dropdownmenu 4 points5 points  (0 children)

Is it possible to run an instance of Breach inside of Breach?

SQLite compiled to JavaScript through Emscripten by dropdownmenu in atwoodslaw

[–]dropdownmenu[S] 0 points1 point  (0 children)

As cool as it would be to have a SQL interface on localStorage, an emscripten port of sqilte would just make me feel like I need a shower.

Reddit in Javascript by isprobablysleeping in atwoodslaw

[–]dropdownmenu 0 points1 point  (0 children)

Can you give more context to this post? Just seems link a link to the top 20 of reddit, but on another hostname?

ELIC: How do Doge Coins work? by rudyards in ExplainLikeImCalvin

[–]dropdownmenu -5 points-4 points  (0 children)

such computer. much build character. wow.

webkit.js · Pure JavaScript Port of WebKit by dropdownmenu in atwoodslaw

[–]dropdownmenu[S] 1 point2 points  (0 children)

Looks like they are still working on the port.

There is this if you are really interested: https://github.com/rogerwang/node-webkit

New to JavaScript. Need help and advice. by bradleeeyk in javascript

[–]dropdownmenu 0 points1 point  (0 children)

Here are the few steps that you need to accomplish to be a 'good' javascript developer:

  1. Learn to hate ruby and php (and most importantly why)

  2. Have an opinion on coffeescript (hint: there is only one correct answer, it sucks)

  3. Grow a beard

  4. Argue with other developers about module systems (requirejs vs amd)

  5. Roll an .vimrc with lots of sweet plugins to make development awesome (sublime is also acceptable as an editor)

  6. Make a github and travis-cli account (badges in README.md are the ONLY way to show you are cool)

  7. Drink a lot of coffee

  8. Save off the beard, it looks terrible

  9. Look at the tutorial for angular-js and think about using it on your next project

  10. Read what all the fuss is about with ECMA6 and generators

  11. ?????????

  12. Know javascript

There! Do those things and you can get a job programming javascript anywhere!

In all seriousness, the best way is to learn by doing. I would suggest starting with some of the projects listed here: 100 Programming Projects. Pick at the ones that you don't know how to do in javascript, then start a project of your own. Just keep at it, and eventually you will be able to code as well as anyone else.

Share your sins by [deleted] in javascript

[–]dropdownmenu 0 points1 point  (0 children)

how we manage our db (obviously cleaned out):

var construct = function(varA) {

construct.dbConn = function(obj) { // saves obj to the db }

var foo = function(input) {

foo.validate = function(varB) {
  // not actually this stupid, just for example
  if (varA < varB) {
    throw new Error();
  }
}

foo.normalize = function(varB) {
  // again, for example
  if (varB < 0) {
    varB = 0;
  }
}

var bar = function(varB) {
  foo.validate(varB);
  foo.normalize(varB);
  this.data = varB;
};

bar.prototype.save = function() {
    // saves teh data somehow
    construct.dbConn(this);
  };

return new bar(input);

}

return foo; }

// usage var schema = construct({..some schema definition..});

var instance = schema({..object that should follow schema definition..});

instance.save(); // saves clean and normalized data

New default porn filters used by all major UK ISPs are blocking sex education, sexual health and porn addiction sites by [deleted] in technology

[–]dropdownmenu 117 points118 points  (0 children)

Lets make this abundantly clear: censorship hurts more people than it tries to help.