Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
substack
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
substack
10y ago
Also keep in mind that javascript engines have a built-in mechanism for including multi-line strings with a powerful substitution engine: tagged template strings ( https://developer.mozilla.org/en-US/docs/Web/J
32.
▲
by
substack
10y ago
One of the features for yarn mentioned is better offline support, but you can also do this with vanilla npm: npm install --cache-min Infinity I have this aliased to `npmi` on my system and use it all the time.
33.
▲
by
substack
10y ago
Not for transferring large files. A centralized architecture is the most expensive, slow way to do that.
34.
▲
by
substack
10y ago
You can sort of do these operations with couchdb, but you've got to fight against some bad assumptions for this use case of offline edits that could span weeks or months. From https://wiki.apache.org/couchdb/Replic
35.
▲
by
substack
10y ago
The focus is offline, but the underlying techniques work just as well across the public internet. For example, you could use https://www.npmjs.com/package/webrtc-swarm to sync the hyperlogs: var wswarm = require(
36.
▲
by
substack
11y ago
This salary-focused data collection (aside from issues with self-selecting mentioned elsewhere here) is missing a huge number of freelancers who have much more variable income from contracts and other kinds of unpredictable work. Most discu
37.
▲
by
substack
11y ago
> Imagine being able to download just one build tool that by > default allows you to write something like > ‘jsc /some/js/dir -o /some/build/dir –enable-jsx’ $ npm install --save b
38.
▲
by
substack
11y ago
Webpack doesn't have a monopoly on hot reloading, you can do this in browserify too: `npm install browserify-hmr` With watchify: watchify -p browserify-hmr -o bundle.js With budo: budo main.js -p browserify-hmr If you
39.
▲
by
substack
11y ago
I think that's preferable to remembering whether any given method is in List::Moreutils, List::Util, List::AllUtils or some other package entirely. You already know the name of the method you want, why can't that be the name of th
40.
▲
by
substack
11y ago
I'm not sure which xhr module you're referring to but the `xhr` package doesn't have this problem: $ npm install xhr $ browserify -r xhr | wc -c 11147 $ browserify -r xhr | wc -l 390 $ browserify -r
41.
▲
by
substack
11y ago
There are extensions to distributed protocols like bittorrent that are already deployed to address mutable, non-static content. The approaches I know of address content under the hash of the public key. One of these approaches is http:
42.
▲
by
substack
11y ago
I'm a big fan of virtual-dom and the ecosystem of very sharp single-purpose libraries that people have built up around it, usually not even coupled to virtual-dom at all. For me, virtual-dom + main-loop is a pretty great combo for fron
43.
▲
by
substack
11y ago
You can configure different registries on a global and per-scope basis: https://docs.npmjs.com/misc/scope#associating-a-scope-with-a... Some of the other commercial npm hosts and open source offerings already support s
44.
▲
by
substack
11y ago
Charging per-module like github would encourage people to author fewer packages and to lump more functionality into the same package, which goes completely against the ethos of npm and the spirit of tiny abstractions that do one thing well.
45.
▲
by
substack
12y ago
If you're dealing with vanilla node.js streams, you can just do: one.pipe(two)
46.
▲
by
substack
12y ago
Here's an example of that kind of transient information sharing working quite well over a long period of time: https://oaklandwiki.org/Why_are_there_helicopters_right_now%...
47.
▲
by
substack
12y ago
The proposal for forward secrecy in the spec ( https://darkmail.info/downloads/dark-internet-mail-environme... ) is not great and does not reflect the current state of the art: > PFS for message objects, as the descri
48.
▲
by
substack
12y ago
For node at least there's: https://twitter.com/nodesecurity http://nodesecurity.io/
49.
▲
Offline decentralized single sign-on in the browser
(substack.net)
3 points
by
substack
12y ago
|
1 comments
50.
▲
Sentimental versioning
(sentimentalversioning.org)
31 points
by
substack
12y ago
|
9 comments
51.
▲
by
substack
12y ago
> If we really want to move into The Future, we need to start > versioning individual modules or functions, instead of > whole suites of software. But the cognitive burden of doing > this is very high, and the software to do it
52.
▲
by
substack
12y ago
No.
53.
▲
Feed Open Source
(feedopensource.com)
69 points
by
substack
13y ago
|
24 comments
54.
▲
Task automation with `npm run`
(substack.net)
16 points
by
substack
13y ago
|
0 comments
55.
▲
by
substack
13y ago
You probably meant: var tr = require('trumpet')(); tr.createReadStream('article > span') .pipe(process.stdout); var request = require('request'); request.get('http:/&#x
56.
▲
Sharing rendering code in node and the browser
(substack.net)
6 points
by
substack
13y ago
|
0 comments
57.
▲
by
substack
13y ago
I have hundreds of open source modules and I really hate this idea. It creates a monetary incentive for developers to keep adding more features even when they are bad ideas. Also, what happens when a paid issue/feature was a mistake and sho
58.
▲
by
substack
13y ago
I hope that nothing will "win" because "front-end" programming is such a nebulous concept that it's much better for each project to find a niche and cater to an increasingly narrower set of trade-offs and use-cases. The idea that we need su
59.
▲
by
substack
14y ago
browserify is a javascript bundler that recursively analyzes all the node-style require() calls in your program to create a single javascript bundle for serving up to browsers.
60.
▲
Browserify v2 released
(browserify.org)
43 points
by
substack
14y ago
|
13 comments
More ›