Brian Rosner

Brian Rosner

55 thoughts; 9 streams
last posted Dec. 8, 2015, 5:19 p.m.
0

Chief Architect at Eldarion, Inc.

My primary focus to build well-architected web applications and backend systems.

Denver, CO
Joined on Sept. 3, 2012, 8:01 a.m.
get recent cards as: atom

port-forward relies on socat which is not available on CoreOS.

3 thoughts
updated May 5, 2015, 7:02 p.m.

To start a unit you would request the desired state to be launched.

3 thoughts
updated March 12, 2015, 4:10 p.m.

Go

io.Reader interface awesomeness: http://play.golang.org/p/Nlf1OzK9WN

7 thoughts
updated Feb. 5, 2015, 2:54 p.m.

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

10 thoughts
updated Dec. 4, 2014, 4:11 p.m.

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!

20 thoughts
updated Nov. 22, 2014, 12:43 a.m.

TIL

Hold down Option when clicking on sound menu bar item. It allows you to change the input and output devices from the menu bar.

1 thought
updated Nov. 18, 2014, 4 p.m.

Panera

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.

2 thoughts
updated Nov. 12, 2014, 2:15 p.m.

The path xcrun resolves swift to:

/Applications/Xcode6-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
4 thoughts
updated June 8, 2014, 6:19 p.m.

566

If @jtauber and I are present we may cause the place to explode.

1 thought
updated Dec. 7, 2013, 10:36 p.m.
3 thoughts
updated May 5, 2015, 7:02 p.m.
3 thoughts
updated March 12, 2015, 4:10 p.m.
10 thoughts
updated Dec. 4, 2014, 4:11 p.m.

TIL

1 thought
updated Nov. 18, 2014, 4 p.m.
2 thoughts
updated Nov. 12, 2014, 2:15 p.m.
4 thoughts
updated June 8, 2014, 6:19 p.m.

Go

7 thoughts
updated Feb. 5, 2015, 2:54 p.m.
20 thoughts
updated Nov. 22, 2014, 12:43 a.m.

566

1 thought
updated Dec. 7, 2013, 10:36 p.m.

Streams by this user that have been favorited by others.

Go

1
7 thoughts
updated Feb. 5, 2015, 2:54 p.m.
3 thoughts
updated May 5, 2015, 7:02 p.m.
20 thoughts
updated Nov. 22, 2014, 12:43 a.m.
4 thoughts
updated June 8, 2014, 6:19 p.m.
2

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/

0

Current even crazier thought: use trireme with Jython (wait, this may not be crazy at all.)

0

Current crazy thought: write a Node.js API in Python with PyV8.

0

Really loving the new site changes especially the new /latest/ page.

paltman liked brosner's thought #9712
9 years ago
jtauber liked brosner's thought #9712
9 years ago
2

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/

jtauber favorited brosner's stream Kubernetes
9 years, 7 months ago
0

port-forward relies on socat which is not available on CoreOS.

jean liked brosner's thought #8225 on Kubernetes
9 years, 7 months ago
0

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
1

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

9 years, 9 months ago
0

To start a unit you would request the desired state to be launched.

0

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.

0

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.

brosner liked morois's thought #7404
9 years, 9 months ago
abhishekl favorited brosner's stream Go
9 years, 10 months ago
Brian Rosner
Go
0

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.

0

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.)

0

It occurs to me that I can build an ACI without using actool. An ACI is just a tarball.

0

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.

See https://news.ycombinator.com/item?id=8682960

0

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

0

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.

0

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.

0

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!

paltman liked brosner's thought #6845 on TIL
10 years, 1 month ago
1

Hold down Option when clicking on sound menu bar item. It allows you to change the input and output devices from the menu bar.

0

Panera

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.

10 years, 1 month ago
1

Walgreens

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.

0

Current even crazier thought: use trireme with Jython (wait, this may not be crazy at all.)

0

Current crazy thought: write a Node.js API in Python with PyV8.

brosner liked jtauber's thought #5623
10 years, 4 months ago
brosner favorited nyergler
10 years, 4 months ago
brosner liked nyergler's thought #5790 on golang
10 years, 4 months ago
jtauber favorited brosner's stream Atom Editor
10 years, 5 months ago
10 years, 5 months ago

Thoughts by this user that have been liked by others.

1

Walgreens

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.

1

Hold down Option when clicking on sound menu bar item. It allows you to change the input and output devices from the menu bar.

1

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

2

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/