Nate Walck

Results 13 comments of Nate Walck

For context, what are the goals for this particular endpoint? I get the gist from looking at the code, but want to make sure I understand it all correctly. Is...

@jessepeterson Ah yep! @mosen pinged me on slack. Exciting :D

👍 for this. It is badly needed so you don't need to run a launchd just to dump the logs to disk for Filebeat to pick up.

I didn't make this or even commit code to this. Don't blame me! :D

If the function is only ever instantiated once, we can use a much simpler pattern for memoization: Note: This is psuedo-swift ```swift func getInfo() -> () -> String { var...

I think if ws1 becomes a class, it should be *outside* of `node`.

Another fun discussion is if we should *ever* be overloading `node` with custom classes or if we should break it all out into a `CPE` class. :D

I agree. One thing that we need to test out is can a class access node by default? I believe that answer is no...so if we want to use node...

The default for host should likely be any host rather than current. For host, they map as follows: `kCFPreferencesCurrentHost` is `~/Library/Preferences/ByHost/com.example.MyApp.HARDWARE_UUID_HERE.plist` - Only a few settings *need* to be set...

> @natewalck - that seems like the change we're making here - host=any is what you are suggesting. So I think we're on agreement on the host settings, yes? >...