This isn't accurate you can use shared memory. There are a few modules that implement this. In addition, you can offload the JSON.parse to the dedicated "caching" process that updates the shared memory.
792 karma · joined January 16, 2014
This isn't accurate you can use shared memory. There are a few modules that implement this. In addition, you can offload the JSON.parse to the dedicated "caching" process that updates the shared memory.
If you are a web shop you have javascript. Using node.js allows you to eliminate one extra language.
Is it perfect? Definitely not. Is it best for everything? Probably not the best for anything. But, it's good enough for most stuff. It doesn't make sense to incur the burden of another language for a one off task.
*My favorite is "what does `this` point to when running `eval()`"? The current context. "What if you assign `eval` to a variable and then use that?" The global context.
This is why I heartily recommend to anyone trying to learn to pick-up a mid-range guitar used. You get much higher quality and the price is usually comparble to a "cheap" beginner one.
You shouldn't store persistent data in the container. However, you can mount external storage and read/write to it from inside the container. The most simple example of this is mapping a path from the host.
EDIT:
In fact, the MS documentation gives an example of exactly this. https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-...
> sudo docker run –e 'ACCEPT_EULA=Y' –e 'SA_PASSWORD=<YourStrong!Passw0rd>' -p 1433:1433 -v <host directory>:/var/opt/mssql -d microsoft/mssql-server-linux
Just in time to see the antagonist right in front of them.
IMHO, code reviews should be clear and concise. They aren't a place to go out of your way to soften blows. I expect the same when my code is reviewed.
Edit:
It occurs to me the parent may have been referring to an informal review or one with the intent of mentoring. Asking questions, like the sibling mentioned is a great way. My comment is geared more towards a formal review.
"Start with supporting stdin/stdout as the only input and output. This ensures that it is composable with other utilities. You may find you never need anything else"
Need to read a file? `my-cli < file`
Need to write a file? `my-cli > file`
How about read from a URL? `curl url | my-cli`
As I get more environmentally conscientious, here's what I really want to know: What is better for the environment manufacturing a branch new EV and driving it around for 5 years or picking up an existing junker that's going to be scrapped and doing the same.
https://github.com/mailcheck/mailcheck
If you really need to validate, the only way I know how is to send them an email and click a link to confirm.
http://martinfowler.com/articles/microservices.html http://martinfowler.com/eaaDev/EventSourcing.html
"Not using a hadoop is like cutting down a forest with a single chainsaw. Using it is like cutting a forest down with unlimited hatchets. It will usually be faster and cheaper with the chainsaw."
Along with other ridiculous prices, like $40 for a standard tape measure.
For that behavior, you can make some minor tweaks swapping out the checkbox elements for radio buttons.