Better HN
topnewbestaskshowjobs
Log inSign up

blubbi2

258 karma · joined Jan 19, 2013 (13y ago) · 108 submissions

https://github.com/alexanderGugel
Submissions

1.

Show HN: Taker – async.js for Go(github.com ↗)

3 points · by blubbi2 · 10y ago · discuss

comment 10y ago · link · parent

That's not 100 % accurate. Arguably symlinks are kinda weird under Windows, but that doesn't mean symlinking node_modules doesn't work (you just need admin privileges).

(Disclaimer: I'm the author of ied.)

comment 10y ago · link · parent

> We initially used a method similar to ied when we first started experimenting with internal usage at Facebook.

Would be really nice if you would e.g. add ied to "Prior art" on your README then. ;)

/ @alexanderGugel (the guy behind ied)

4.

Jdi – a documentation generator for literate JavaScript(github.com ↗)

1 points · by blubbi2 · 10y ago · discuss

5.

Show HN: Jdi – a documentation generator for literate JavaScript(github.com ↗)

1 points · by blubbi2 · 10y ago · discuss

6.

Show HN: Nerva – npm registry alternative written in Go(github.com ↗)

2 points · by blubbi2 · 10y ago · discuss

comment 10y ago · link · parent

Probably easier to just use an assertion library here. E.g.

  assert.ok(element)

8.

Require() broken in Node.js 6.0.0(github.com ↗)

10 points · by blubbi2 · 10y ago · 2 comments

9.

This is a news website article about a scientific paper (2010)(theguardian.com ↗)

6 points · by blubbi2 · 10y ago · 1 comment

10.

Show HN: Documenting the burst of the tech bubble(github.com ↗)

10 points · by blubbi2 · 10y ago · 1 comment

11.

Iran nuclear deal: International sanctions lifted(bbc.co.uk ↗)

1 points · by blubbi2 · 10y ago · discuss

comment 11y ago · link · parent

Yup. Thanks.

comment 11y ago · link · parent

They are extremely different.

I made a quick comparison here: https://gist.github.com/alexanderGugel/a10ed5655d366875a280

Basically ied uses symlinks in order to resolve circular dependencies, while ied exploits the fact that require "falls back" in the directory structure.

comment 11y ago · link · parent

Agreed. It's definitely on the roadmap. Should be done in a couple of weeks.

comment 11y ago · link · parent

Awesome! Glad it worked that well! Please let me know if you run into any bugs: https://github.com/alexanderGugel/ied

comment 11y ago · link · parent

Great to hear that! shrinkwraps + rollbacks are definitely coming!

comment 11y ago · link · parent

Although using ied and npm at the same time for installing dependencies should work, you might run into some weird corner cases.

Therefore, npm and ied are compatible in the sense that you can use ied to install packages and npm for publishing them. At least that's the level of compatibility that is currently supported.

shrinkwrap is definitely coming :)

comment 11y ago · link · parent

Its install process is very different from the one npm uses. E.g. just look into the node_modules directory produced by npm vs the one produced by ied.

Also the way it wires up dependencies (using symlinks) has been called "non humane design" by npm... so I thought it would be easier to just start a new project... it's not a lot of code/logic needed there actually... :)

comment 11y ago · link · parent

Already taken by Atom's package manager: https://github.com/atom/apm

comment 11y ago · link · parent

The initial set of dependencies is being installed via npm, the it installs its own dependencies via ied if told so: https://github.com/alexanderGugel/ied#installation

This is a "cool" feature during development, since it's a nice proof of concept.

Originally I checked in the node_modules directory, but then reddit was shitting on me as usual (yes, you shouldn't check in node_modules in an actual app, but this is PACKAGE MANAGER!). As far as I know, npm has also its own dependencies check in + a ton of packages as tarballs for tests, so I might do that later.

comment 11y ago · link · parent

Mostly, yes, but there are some features that are still missing:

`ied publish` and `ied version` is coming next week. I'm also thinking of adding scoped modules, but I'm not sure about that yet.

You can also configure a private npm registry to be used: https://github.com/alexanderGugel/ied/blob/master/lib/config...

comment 11y ago · link · parent

As I said earlier, it wasn't my intention to name it after a weapon.

That being said, it's a three letter name. It's very unlikely NOT to run into naming conflicts here.

edge - taken by Microsoft

jpm - JPMorgan

ppm - taken by Perl package manager: https://en.wikipedia.org/wiki/Perl_package_manager

fpm - taken by Effing package management: https://github.com/jordansissel/fpm

bpm - beats per minute

ayp - terrible to type, although taken by "Adequate Yearly Progress": https://en.wikipedia.org/wiki/Adequate_Yearly_Progress

nnm - What happens when it's no longer new?

Just in Germany for example there are a ton of companies called ISIS (just google "ISIS GmbH"). Being offended by a three letter shell command seems a bit over the top to me to be honest.

Edit: I won't respond to further comments on the naming issue. It wasn't my intention to name it after a weapon. As I said earlier, I will change the name as soon as anyone proposes a better one.

comment 11y ago · link · parent

This looks very interesting!

Also related: https://github.com/dominictarr/npmd

comment 11y ago · link · parent

Damn. Didn't think of that.

In fact I literally just renamed it: https://github.com/alexanderGugel/ied/commit/84628b3c871c85d...

Originally it was called mpm, but I figured that would have been pretty confusing, but it looks like the new name isn't necessarily better.

I'm pretty terrible at naming. Any suggestions are more than welcome!

comment 11y ago · link · parent

Hey everyone!

I made this. I'm happy to answer any questions, but please bear in mind that this is a WIP. There is still a lot of work to be done, although feature parity with npm is not the goal.

Upcoming features are:

* Nix-like rollbacks * built in registry server * discovery + installation via BitTorrent DHT

Would love to get any feedback!

26.

Show HN: ied – an alternative package manager for Node(github.com ↗)

86 points · by blubbi2 · 11y ago · 88 comments

27.

Blind Programmers and Computer Language [video](youtube.com ↗)

3 points · by blubbi2 · 11y ago · discuss

1234