Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
Compare cell phone plans using Wirefly's innovative plan comparison tool ×

Comment Re:Docker is... (Score 1) 49

Some of your questions make more sense than others. In the context of deploying, docker looks a lot like a VM deployment - except instead of having to build up a VM using chef, and with all the luggage that usually entails, the docker image tends to only be running the service. Imagine a linux kernel with only one process running. So there aren't a lot of edges to harden. Usually the service image gets launched in something that looks like a DMZ behind a firewall with a loadbalancer in front of it.. In our case it's a little wild west.

But part of the joy/ease of docker is that you build on some particular image. It would be easy to imagine an organization that was more .. organized than ours specifying a few base image flavors that developers would have to build off of - then you could harden those images all you wanted. I don't know that I would be a big fan of that, however. You can see where redhat supplies a lot of images, for example (https://access.redhat.com/search/#/container-images).

Concrete (semi bogus) example: you want to run redis (maybe on windows - where it's not trivial). There is a redis docker image: https://hub.docker.com/_/redis...
"docker run -p 6379:6379 redis"
That will fire up a docker container running redis and will map the port on the image to the port on the docker host (usually localhost, these days). You can now connect to port 6379 and talk to redis. The container running redis is hard to describe - it's a full (stripped) linux system and it's only running that one process. You can fire up a shell on that container using another docker command and it has a bunch of the things you expect. Some shell (maybe bash or something lighter). Most of the filesystem stuff you expect. It's like a VM - if you built a VM to only run redis.

I don't know if any of this helps - it really is a weird concept - at least I had a really hard time wrapping my head around it. But I do love what I can do with it.

Comment Re:Docker is... (Score 4, Interesting) 49

Docker is a freeze dried VM with mappable ports and filesystem. It runs on several OSs on various platforms. I'm not sure what its killer feature is. It isn't just the ability to include libs with your program - it's a way to include the entire OS with your program - with all the libs and whatever else you need.

Things I do with docker:
* get rid of RVM/rbenv, NVM, and all those other version managers. Just fire up a docker container with the version of ruby/node/whaterver you want
* package up services for deployment (web apps in my case) and toss the image to devops/IT to deploy
* test tools/software I'm not familiar with - not sure if you want to install latest? fire up a docker container and take it for a spin. And when you're done testing, maybe just continue using the container.
* run things on platforms that don't support them. Want to run redis on windows? docker container. Want to run git hubflow on windows without installing extra stuff? docker container.

Comment WTF is Qubes? (Score 2) 73

https://www.qubes-os.org/ claims (tongue in cheek) to be "Reasonably secure." Really it loos like they are all about the security, so this is kind of a big deal for them.

https://www.qubes-os.org/tour/...
What is Qubes OS?
Qubes is a security-oriented operating system (OS). The OS is the software which runs all the other programs on a computer. Some examples of popular OSes are Microsoft Windows, Mac OS X, Android, and iOS. Qubes is free and open-source software (FOSS). This means that everyone is free to use, copy, and change the software in any way. It also means that the source code is openly available so others can contribute to and audit it.

Comment Re:That's 129.2F if you're interested. (Score 1) 355

Fahrenheit relates to things you're likely to experience in life. 0F is the temperature at which saltwater freezes. In other words, above 0, you probably won't die or get frostbite; below 0, you will get frostbite and could die. 0F is tits cold. 100F is approximately body temperature (it's actually roughly 98.6F, but 100 is close enough). It was actually the body temperature of Fahrenheit, I believe. Below 100F, you're totally fine as long as you're reasonably healthy. Above 100F, with normal levels of humidity for non-desert areas, you could die from hyperthermia. 100F is ass hot.

To summarize (to the nearest 10 degrees):
0F dangerously cold
30F freezing cold
70F room temp
100F dangerously hot

That's why Fahrenheit is good. All of the normally experienced temperatures are 2 digits. If you go to 3 digits or 1 digit (or negative), you're in the danger zone. If I, as an engineer, had to design a temperature scale for daily use, I'd design Fahrenheit.

Comment Re:That's 129.2F if you're interested. (Score 1) 355

You should come over to West Michigan. We're just like Wisconsin except we rarely go above 100F and rarely go below 0F (although, we did get to -10 or so last winter. That was weird.). The only problem with Grand Rapids is that we get the most snow for a sizable city in the US (according to Wikipedia). A couple of years ago we got more that 80 inches, although 30-40 is more normal. Northern Michgan and the UP are much snowier. East Michigan may as well be Wisconsin as far as snow is concerned. Also, our politicians are less crazy.

Comment Re:Even if you disagree with the judge . . . (Score 1) 150

You are never obliged to report crimes to the police unless you're a mandatory reporter (basically, doctors, social workers and teachers) and the crime is on the mandatory reporting list (child abuse, and that's about it). If you're not a mandatory reporter, then you don't have to report anything for any reason ever. It's actually constitutional, by the way. It's part of the fifth amendment. Basically, the fifth amendment means you can always keep your mouth shut in case you accidentally say something incriminating. In fact, the mandatory reporting requirement has never been tested, and I think is likely unconstitutional.

Additionally, your understanding of accessory is a bit off. To be an accessory, you must know about the crime and provide material aid toward the commission of that crime and there has to be an accessory statute for that crime. For example, if you give a ride to a dude who then commits a murder but you didn't know about the murder, you're fine. If you pick him up afterwards, find out about the murder, and hide him, you're now an accessory after the fact. Another example, you stand in front of a camera so your friend can shoplift, you're not an accessory. Why? Because there's not a statute making being an accessory to shoplifting a crime (in most states; some states have a more general accessory to a crime law which would cover it). You may, however, be guilty of something else like conspiracy to commit fraud, or may even be considered a shoplifter under some statutes, but not an accessory. Final example, you find out about a friend committing a robbery and don't report it to the cops. You're not an accessory, since there's no material aid.

Comment Re:Even if it is money, I get it.... (Score 2) 150

You are never obliged to report crimes to the police unless you're a mandatory reporter (basically, doctors, social workers and teachers) and the crime is on the mandatory reporting list (child abuse, and that's about it). If you're not a mandatory reporter, then you don't have to report anything for any reason ever. It's actually constitutional, by the way. It's part of the fifth amendment. Basically, the fifth amendment means you can always keep your mouth shut in case you accidentally say something incriminating. In fact, the mandatory reporting requirement has never been tested, and I think is likely unconstitutional.

Slashdot Top Deals

"It may be that our role on this planet is not to worship God but to create him." -Arthur C. Clarke

Working...