I went ahead and made an SDK https://www.npmjs.com/package/left-pad-io-js-sdk
The try in browser fails with an unexpected token syntax error. Do you accept PRs?
Left-pad as a service
221–230 of 269 posts
Re: Left-pad as a service
#222- Does it scale well?
- Is it pragmatic for long term use scenario?
- Is it Thread safe?
- Does it learn from previous call made to the API?
- Does it have a modern access layer?
- Does it enforce 2nd factor authentication?
- Is it compatible with Docker containers?
- What about multi-region scenarios?
- Any benchmark available showing usage with AWS + cloudflare + Docker + a raspberry pi as LDAP server?
Re: Left-pad as a service
#223I am waiting for "integer addition as a service" (vide http://jacek.migdal.pl/2015/10/25/integer-addition.html ).
Re: Left-pad as a service
#224Earlier quoted context omitted.
Even the Java ecosystem managed to get their crap together and make the excellent Apache Commons library collection to deal with a similar situation (anaemic to useless standard library). C++ has STL and Boost. Only the PHP and JS communities seem to think that not having a solidly designed "base" library is fine (and even PHP seems to be getting better at it with 7).
I don't consider C++'s Boost something to be proud about. Last time I've checked, Google forbade a significant part of it to their developers, and in my opinion rightly so. But who likes everything there should just as well understand this Node affair.
(It always bewildered me - why hire the best of the best, and then make them work with lowest-common-denominator tools?)
Re: Left-pad as a service
#225I don't understand why this community has to have a weekly cycle of bashing different programming communities. Every week there's a new drama thread bashing Java devs, Go devs, Javascript devs etc. The thing that I come to this community for every week is to read about new developments in our industry, if you don't come here for that then what are you coming here for? And wasn't it just a few months ago people were p…
its called self-regulation. Each community has its own quirks and extremes as seen by everyone else. Without the bashing, they would become even more extreme. At least after this a lot of devs will think twice about making "micro-modules".
And the stubs and mocks. I recently had to fix a beautifully tested piece of code where the developer forgot to implement the actual functionality. The proliferation of async/await and the idea that no self-respecting app can exist without a REST API layer also grate.
Cargo cults seem to move in waves, and the frequency of those waves seems to be ticking up of late.
Re: Left-pad as a service
#226Re: Left-pad as a service
#227Earlier quoted context omitted.
"Zero" isn't a cost of anything -- there's no free lunch. NPM, like any package manager, pretty much blindly accepts user input. I, as a module maintainer, could happily change every single function in my modules to function whatever() { return "WHHEEEEEEE!!!"; } and check it in. Doing that will result in no fewer problems than just deleting the module entirely, and it's not NPM or any other similar package manager's…
Except a good package manager will let you specify exactly which version you wish to depend upon, so any changes you make upstream will have no effect on people who protect themselves against automatic version updates. Seriously, the properties of good package management should be obvious by now. Any design that can break dependents and there's nothing they can do to protect themselves is broken.
The point is that people use package managers and third party modules installed from them to automate tedious work, and anything automated will have the potential to do something other than what you want. Is that risk high? Not really, but it's not zero either.
Re: Left-pad as a service
#228As a Java developer, I am a bit jealous. When people joke about us we usually only get a link to the Spring documentation of AbstractSingletonProxyFactoryBean (or maybe the enterprise hello world), but no one ever wrote that as a service. Maybe someone can do that? https://abstractsingletonproxyfactorybean.io seems to be available!
Jesus Christ, is that a real thing!? http://docs.spring.io/autorepo/docs/spring/2.5.x/api/org/spr...
that actually makes sense to somebody?
Re: Left-pad as a service
#229HELP!!
Re: Left-pad as a service
#230Earlier quoted context omitted.
> I don't understand why this community has to have a weekly cycle of bashing different programming communities. It's funny if done in good taste. You should be able to take a joke with good humour, even if it's at your own expense, and this is a pretty good joke.
I don't think the general commentary is in good taste. To me the difference between a good faith joke and a bad faith joke is whether you actually like the people you are making fun of. I don't think that's the case here. My sense is that the people laughing actually think NPM and JavaScript suck. The tone I am getting is "haha, you are bad and I am a better programmer than your whole community". Is that not how you…