HNHacker News
TopNewBestAskShowJobs

js4all

1,372 karma · joined July 30, 2010

I am the founder of Cloudno.de and JGate.de. I use JavaScript, Java, Node.js, Rhino, AppJet, CouchDB, Redis and everything that makes web development nice and easy. You can reach me at Twitter under the same screen name.
submissionscomments
js4all··on MiniCouchDB in Rust
Awesome, I tried to get it running, but I get value: Missing("couch_directory"). There is nothing mentioned in the readme about this. Can anyone help?
js4all··on Remote Code Execution in CouchDB (and Privilege Escalation in the Npm Registry)
We are using many CouchDB servers and I can confirm that we got a heads-up plus a patch several days before the 1.7.0 release. The CouchDB team and the Hoodie team did a great job handling this issue.
js4all··on Simple React Patterns
Fetching data directly in components is bad advice and leads to a program with cluttered data access becoming more and more unmaintainable as the app grows. You need to encapsulate fetching and storage in redux or a similar state management solution.
js4all··on Persisting state between AWS EC2 spot instances
When you are using Kubernetes, you won't have to deal with this yourself. The Cluster will move pods from nodes that are stopped because the spot price is exceeded. Ideally place nodes at different bids. So there will be a performance hit but no outage. With the new AWS start/stop feature [1] nodes will come up again when the spot price sinks.

1) https://aws.amazon.com/about-aws/whats-new/2017/09/amazon-ec...

js4all··on Persisting state between AWS EC2 spot instances
Same happened to me. I "lost" my all my credit. It was not promotional, but something I had paid. They informed me on March 31th that I wouldn't be able to use that credit after May 1st. :-( P.S. They had no expiration policy in place when I added the credit.

Now I am happy with AWS.

js4all··on How we run NPM packages in the browser
Am I the only one who thinks running scripts on a site directly from npm is a bad idea? What happens when an incompatible change in any of the dependencies is pushed. What if a package owner had transferred his ownership und the new owner pushes whatever he wants.
js4all··on Google Web Starter Kit
Hmm, interestingly I got the foobar challenge when I visited the site.
js4all··on Show HN: A new way of blogging about Lua
Also works on current Chrome (v57.0.2987.110) on Mac. Nice.
js4all··on The target=“_blank” vulnerability by example
The risk is real. When some site has a link with _blank to your site, the opener site stays accessible for javascript code that is embedded in your site.
js4all··on Show HN: Secure Linux Apps on the Mac Desktop Through Docker
Also interesting are solutions using xpra, especially when are working over a remote connection. In this case you are not running X on the Mac, but a xpra client (a simple app).

For an example see Docker's blog: https://blog.docker.com/2013/07/docker-desktop-your-desktop-...

js4all··on Torus: A distributed storage system by CoreOS
Many thanks, that looks doable. I'll give it a try.
js4all··on Torus: A distributed storage system by CoreOS
That's interesting. When I was looking at it, it seemed overwhelming. Do you have some pointers for the basics?
js4all··on Torus: A distributed storage system by CoreOS
Despite all the negative sentiment here, I am super excited about this. I use CoreOS heavily and really like how everything just works. Running Kubernetes on it, is the first cluster solution for me that works without configuration orgies and is robust against machine outages. Torus seems to be the missing piece. For now we use local volumes with sidecar containers for r/o storage and nfs volumes for r/w storage.

All other solutions are not practical. GCE and EBS are only single mount. iSCSI is unsupported in the cloud. Leaving only Ceph and Glusterfs, both mentioned here, but needing heavy configuration.

js4all··on Now: realtime Node.js deployments
I got mine now. It took nearly an hour. Despite that, my early tests ran solid. The apps got hosted on AWS us-west-1.
js4all··on Now: realtime Node.js deployments
Same here. There seem to be problems with the current spike.
js4all··on Now: realtime Node.js deployments
Nice, is it meant for permanent hosting or just for prototyping and how does it compare to Cloudnode (https://cloudno.de)
js4all··on Introducing Cloudnode Developer Shell
We have added a shell that runs in your browser. All tools like cloudnode-cli, nodejs, redis-cli, mongo, docker are pre-installed. Work from everywhere, install nothing.
js4all··on Pingendo – Free, simple app for Bootstrap prototyping
Nice. It looks useful to me.
js4all··on Facebook is closing Parse
Coincidentally we recently added MongoDB to our range. So, if you don't want to do devops yourself, our fully managed stack may be an interesting migration path. First app is free. https://cloudno.de
js4all··on Google Cloud Shell – Free until end of 2016
Edit: Sorry for causing some confusion about if this is using docker or not. There is no reference to docker in the docs.
js4all··on Google Cloud Shell – Free until end of 2016
Does anyone known if the docker image for Cloud Shell is open source (or parts of it?)
js4all··on Trying out Let's Encrypt (beta)
I used their docker container in manual mode and the whole process was a great experience. No need to stop the main server. The steps were:

    1. Run the container without ports in manual mode
    2. Use the GUI to enter account data and URLs for the SAN certificate
    3. Let the client print out the challenges
    4. Copy the challenges to the webroots using the provided command
    5. Press ENTER and wait a few seconds. Certs and Keys are ready to be linked from the webserver.
Everything went as expected and I am a happy user of letsencrypt.

[1] https://letsencrypt.readthedocs.org/en/latest/using.html#run...

js4all··on Capsule Shield: A Docker Alternative for the JVM
Thanks for the explanation. I will definitely try Capsule.
js4all··on Capsule Shield: A Docker Alternative for the JVM
An, that's interesting. So can it be used to overcome the memory leak problems of traditional servlet containers, because every app is a system process whose memory is released by the OS and not by the container.
js4all··on Capsule Shield: A Docker Alternative for the JVM
So its basically a reinvention of the servlet container model. Shield equals tomcat or one of the other servlet container apps. Caplets equal war file packaged applications. Have I missed something?
js4all··on “Why does Chrome not have a good tab management system built in?”
I made a simple and effectve extension for that, because none of the existing ones worked for me or were spoiled with analytics / phoning home.

Manage Tabs - https://chrome.google.com/webstore/detail/manage-tabs/kijdih...

js4all··on Show HN: Caddy, a cross-platform HTTP/2 web server
Great job, but I noticed that the server gets just a B rating (ssllabs) due to:

    - rc4 acceptance
    - Session resumption (caching) No (IDs empty)
    - no OCSP stapling
    - Next Protocol Negotiation (NPN) Yes, but not signalling a http/1.1 fallback
I found no settings to change the TLS configuration. Is there any way to change it?
js4all··on On the Pricing of Apple Watch
I am really not sure, but maybe people will value the watch that way. We will see.
js4all··on On the Pricing of Apple Watch
This speculation is insane. An Apple watch is no mechanical masterpiece like luxury watches in this price region. No watch lover will pay such prices for cheap Chinese electronics. If Apple pulls that stunt, the are geniuses in marketing.
js4all··on Hello HTTP/2, Goodbye SPDY
Unfortunately, it has to be TCP. You can define other HTTP frontends thought, but then you lose SPDY for that frontend.

You can use the routing capabilities of nginx in the backend to break the traffic further down.

Page 1 of 12Next →