port-forward
relies on socat
which is not available on CoreOS.
To start a unit you would request the desired state to be launched
.
io.Reader
interface awesomeness: http://play.golang.org/p/Nlf1OzK9WN
The ACI file layout and a simple way to create them without actool
:
https://github.com/coreos/rocket/blob/master/app-container/SPEC.md#image-layout
I've been frustrated with the lack of per-window environment variables. It renders my Go workflow nearly impossible.
In my most recent attempt to fix it, I discovered the init.coffee
hook. This runs after each window is loaded. Perfect!
Take a look at my first stab at CoffeeScript to solve my problem:
This reads a file in the project directory and sets the environment. I added a quick hack for resolving relative paths inside the project.
Works like a charm!
Hold down Option when clicking on sound menu bar item. It allows you to change the input and output devices from the menu bar.
It took me two times to get a successful transaction. The first time it said Done on the phone, but no beep from the terminal. The store employee looked puzzled at first then said it didn't work. I tried again and I heard the beep. All was good.
It still feels a little awkward using my iPhone 6 to pay. I think this is just due to the infancy this technology has on me.
The path xcrun
resolves swift
to:
/Applications/Xcode6-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
If @jtauber and I are present we may cause the place to explode.
Streams by this user that have been favorited by others.
Absolutely love this:
"Programming to me is a craft and I code for many of the reasons someone might go build furniture in their backyard workshop or fix old cars in their garage."
http://blog.pinaxproject.com/2015/12/08/pinax-developer-profiles-james-tauber/
Current crazy thought: write a Node.js API in Python with PyV8.
Really loving the new site changes especially the new /latest/ page.
Absolutely love this:
"Programming to me is a craft and I code for many of the reasons someone might go build furniture in their backyard workshop or fix old cars in their garage."
http://blog.pinaxproject.com/2015/12/08/pinax-developer-profiles-james-tauber/
port-forward
relies on socat
which is not available on CoreOS.
Compiling Kubernetes for Linux on OS X using docker-machine requires telling the build you don't use boot2docker directly:
DOCKER_NATIVE=true build/run.sh hack/build-go.sh
Running Kubernetes on CoreOS on Google Compute Engine and using persistent disk volume mounting requires a custom compiled kubelet binary.
See https://github.com/GoogleCloudPlatform/kubernetes/issues/7042
To start a unit you would request the desired state to be launched
.
Another important aspect to a unit is the Machine ID. This is largely handled by Fleet based on criteria given in the X-Fleet
section of the unit options.
A unit describes something you want to do within systemd and its desired state. The desired state can be either:
inactive
loaded
launched
Fleet works out how to go from the current state to the desired state.
One of the most powerful aspects to Go are its interfaces. See http://talks.golang.org/2015/json.slide for some mind blowing ideas for JSON decoding.
A perfect example of how lovely Go can be:
This code is from Gondor's router during spin (being ported from original Python so not complete yet.)
The ACI file layout and a simple way to create them without actool
:
https://github.com/coreos/rocket/blob/master/app-container/SPEC.md#image-layout
It occurs to me that I can build an ACI without using actool
. An ACI is just a tarball.
After reading some Hacker News comments (ignoring 90% of them because they talk about Docker) I found this little gem from Brandon:
It isn't tied to systemd. The stage1 that is in the current prototype uses systemd to monitor and fork processes but we would love to see other stage1's that configure other process runners. For example configure and run a qemu-kvm filesystem as the container.
Also, even though it is using systemd to monitor and fork processes a design goal is to run on all Linux's that have a modern Kernel.
I had done everything in the trusty guide on precise, but it didn't work. My best guess is due to kernel support in precise isn't on par with trusty.
Edit: I am back to having the same error on trusty as precise. It likely did work on precise, but something else is going on.
Edit 2: it appears I am not the only one with the issue: https://github.com/coreos/rocket/issues/158
I tried to compile Rocket myself on an Ubuntu 12.04 VM, but have failed to get it running a container. Not sure if this is a host machine issue or bugs in the software.
I've often been thinking about container systems like Rocket. Of course there is Docker. Docker is growing so fast that it has been hard to keep up with its development.
Rocket is very young and now is a good time to start following along. I've read through the specs and code. I really like the minimalism (which is largely due to its infancy.)
I am a fan of the ACI format, but less so of systemd. I'll just get over it.
I've been frustrated with the lack of per-window environment variables. It renders my Go workflow nearly impossible.
In my most recent attempt to fix it, I discovered the init.coffee
hook. This runs after each window is loaded. Perfect!
Take a look at my first stab at CoffeeScript to solve my problem:
This reads a file in the project directory and sets the environment. I added a quick hack for resolving relative paths inside the project.
Works like a charm!
Hold down Option when clicking on sound menu bar item. It allows you to change the input and output devices from the menu bar.
It took me two times to get a successful transaction. The first time it said Done on the phone, but no beep from the terminal. The store employee looked puzzled at first then said it didn't work. I tried again and I heard the beep. All was good.
It still feels a little awkward using my iPhone 6 to pay. I think this is just due to the infancy this technology has on me.
This was my first experience using Apple Pay NFC.
Hannah and I were ready to checkout and I pulled out my phone for payment. The store employee asked me, "Are you going to pay with your phone?" She sounded like this has not happened yet at her store. I said, "Yes."
She asked if my credit card was in my phone. I said it wasn't stored on the phone, but that a unique token for this transaction was used. She was so impressed.
The experience of using Apple Pay itself was not nearly entertaining as the excitement shared with the store employee.
Current crazy thought: write a Node.js API in Python with PyV8.
Thoughts by this user that have been liked by others.
This was my first experience using Apple Pay NFC.
Hannah and I were ready to checkout and I pulled out my phone for payment. The store employee asked me, "Are you going to pay with your phone?" She sounded like this has not happened yet at her store. I said, "Yes."
She asked if my credit card was in my phone. I said it wasn't stored on the phone, but that a unique token for this transaction was used. She was so impressed.
The experience of using Apple Pay itself was not nearly entertaining as the excitement shared with the store employee.
Hold down Option when clicking on sound menu bar item. It allows you to change the input and output devices from the menu bar.
Running Kubernetes on CoreOS on Google Compute Engine and using persistent disk volume mounting requires a custom compiled kubelet binary.
See https://github.com/GoogleCloudPlatform/kubernetes/issues/7042
Absolutely love this:
"Programming to me is a craft and I code for many of the reasons someone might go build furniture in their backyard workshop or fix old cars in their garage."
http://blog.pinaxproject.com/2015/12/08/pinax-developer-profiles-james-tauber/