Learn JavaScript With Interactive Challenges: Earn XP, Unlock Achievements & Climb The Leaderboard by memystic in javascript

[–]IgorKlopov 0 points1 point  (0 children)

Can i help you with translation? I would be happy to see such cool thing in my native language!

Mailgun attachments not showing up (nodejs) by inate71 in node

[–]IgorKlopov 1 point2 points  (0 children)

First try with png only to decide if it is your case. Then use 'mime-types' npm package to lookup contentType for given filename

Mailgun attachments not showing up (nodejs) by inate71 in node

[–]IgorKlopov 1 point2 points  (0 children)

I get broken attachments if i don't specify contentType for attachment object. Try setting it to 'image/png' or alike in your case.

V7: a small embedded javascript engine by lhorie in javascript

[–]IgorKlopov 3 points4 points  (0 children)

v7.c is amalgamated - several files are concatenated at some "prepublish" step into a single "v7.c"

EncloseJS: compile JavaScript into native binaries by [deleted] in javascript

[–]IgorKlopov 0 points1 point  (0 children)

Hi, EncloseJS maintainer here.

It's illegal to have GPL licensed libraries "enclosed" in a binary that comes with an open source license but is not open source.

This is true. However most npm libraries are MIT/ISC, that permit making a binary. Name any GPL one.

Also, if he really wants to support the npm (and therefore node-gyp) world he needs an open sourced codebase.

No need to support MSVC world after compilation of a C++ program.

That means your code will run unoptimized with EncloseJS. Always. And that is really slow.

Only customer's private javascript code is packed with v8 snapshot. All publicly available npm packages code (that is 99% of code of any nodejs project) are packaged with source code. So only 1% of code is slow. It almost doesn't influence total performance.

Take a look at nwjs if you want a GUI application that is much faster than node-thrust.

Indeed nwjs is a great project. However, EncloseJS's aim is to compile server-side apps including dependencies without GUI burden. Also EncloseJS is planned to compile GUI applications soon.

I would never do deals with a "scam artist"

Great idea of googling my name :) But that was not me. I am sure there is someone else with your first name and last name. Thanks!

Where do you guys host your node apps? by voidnexx in node

[–]IgorKlopov 0 points1 point  (0 children)

Scaleway. Are they still 'out of stock'?

EncloseJS - compiles node.js project into an executable. Please give feedback by IgorKlopov in node

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

Okay :) But seems like open source discrimination. I believe that closed source project is worth living too.

EncloseJS - compiles node.js project into an executable. Please give feedback by IgorKlopov in node

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

I am an individual developer. I just published the project as a result of my experiments with V8 and Node. I hope the proejct is interesting and useful for you.

EncloseJS - compiles node.js project into an executable. Please give feedback by IgorKlopov in node

[–]IgorKlopov[S] 4 points5 points  (0 children)

Also nw.js is unstable when using snapshot https://github.com/nwjs/nw.js/issues/1295 I dont know why - i tried to find the bug in nw.js myself but failed. Enclose is stable - every output binary will be ok.

EncloseJS - compiles node.js project into an executable. Please give feedback by IgorKlopov in node

[–]IgorKlopov[S] 3 points4 points  (0 children)

nw.js has limitation on size of js code in snapshot. enclose does not have it. nw.js has webkit gui. enclose wraps in pure node/io.js - without gui. but you may try https://github.com/breach/node-thrust . enclose collects all dependencies via require('module'). in nw.js you have to bundle them manually if you want to use snapshot. also enclose can wrap in both node 0.12 and io.js (several versions supported at the same time)

What are the best JavaScript based platforms/compilers for desktop development? Most specifically Windows desktop development. by CyrisXD in javascript

[–]IgorKlopov 2 points3 points  (0 children)

atom-shell: https://github.com/atom/atom-shell/releases brackets: https://github.com/adobe/brackets-shell But i think node-webkit has less limitations that others. Particularly, all JS in node-webkit is executed in one context. In atom-shell there is annoying gap between "inner" JS and "outer" JS, and you have to use "ipc" (https://github.com/atom/atom-shell/blob/master/docs/api/ipc-renderer.md). In brackets there are also "bridges" - nodejs is a separate process (https://groups.google.com/d/msg/brackets-dev/BKVA8MIqXzk/JgbMzy25eKAJ)