HNHacker News
TopNewBestAskShowJobs

bthornbury

422 karma · joined October 16, 2013

https://github.com/brthor https://www.youtube.com/channel/UC4mmZUMvTNzzz2sS_tgbKVQ
submissionscomments
bthornbury··on Show HN: Plash – Build and run containers
https://github.com/projectatomic/bubblewrap

This is the most promising one I've seen.

bthornbury··on Show HN: Plash – Build and run containers
Some comparisons between the cli of plash and equivalent commands in docker (only because I'm already familiar with it) would be pretty helpful.
bthornbury··on US takes first step toward a quantum computing workforce
Seconded, how do you get started with quantum algorithms, architecture, etc...
bthornbury··on Show HN: Command Line Tool to push Docker images to a server over ssh
As I understand it, push only goes to a registry. So even with an ssh tunnel to the docker host tcp port, there's no obvious way to transport the image from your localhost.

You should be able to "docker build" the image on the remote host that way. Downside there is that you are transporting the entire build context rather than just the layers. IMO most cases will be less efficient.

bthornbury··on Ask HN: Is a computer science degree worth it or should I learn on my own?
Good, maintainable code has it's place in the engineering cycle.

But so does quick, slapped-together code from late last night.

Depending on the complexity and impact of either, you can progress in your career.

College won't teach you either, but it gives you an (otherwise very difficult to obtain/justify) opportunity to study full-time for four years on complex subjects and a foot in the door.

bthornbury··on Show HN: Command Line Tool to push Docker images to a server over ssh
A little bit on how this tool works.

Usually you can easily push your local docker images by calling docker save, scp the tar file, then docker load on the remote host. The downside here is that you are pushing every layer of the entire image every time (maybe GBs).

An alternative is to set up your own private registry or use a public one like dockerhub. This can be undesirable or cumbersome for a number of reasons, especially for code you prefer to keep private.

So this tool essentially establishes a private registry on your host which is only bound to localhost (no outside access), establishes an ssh tunnel from your host to the remote to access that private registry, pushes only the layers which don't yet exist on the host, and then cleans up after itself (closing down the registry, ssh tunnel, etc...).

bthornbury··on Taking back control of my digital life
Very cool, would love to see more content on this topic. Setup guides of individual services, issues you've run into, more on hardware choices, and definitely more on your smart home setup.
bthornbury··on Show HN: Axax – Async iterator extensions for JavaScript
What advantage does this have over enumerating the iterable and using the regular `map` and other such calls.

In my mind, I'm thinking this creates something like a chain of generators in python, but would love if someone could explain in JS terms.

bthornbury··on Complete Patents of Nikola Tesla [pdf]
Seemingly working link: http://electrical-engineering-portal.com/download-center/boo...
bthornbury··on There's no limit to longevity, says study that revives human lifespan debate
My interpretation:

Death rates increase every year due to naturally occurring mechanisms in the body. Consider those mechanisms as a function with the body as a parameter and the output as a more aged body (or rather a body with higher probability of failure).

If the body reaches a point where the death rate ceases to increase year per year, it would suggest that those same naturally occuring mechanisms, thought of as a function, approaches some asymptote.

Note this doesn't necessarily mean you stop aging (in appearance), just that your body's rate of failure no longer increases. This suggests that if the reasons for failure can be treated properly, perhaps the body can remain in that equilibrium state indefinitely.

This study provides some preliminary evidence that such an asymptote may exist in the body's natural mechanisms. Both controversial and exciting. Worth exploring further.

bthornbury··on Pulumi – A new open-source cloud development platform
Been looking forward to the launch, congrats to all involved on pulumi team!
bthornbury··on We Are Typists First, Programmers Second (2008)
I think realistically the "transcribing" portion takes the bulk of the time. It's not just typing out the code, but the realizations of all the gaps in your mental model and false assumptions always seem to come during this stage.
bthornbury··on How to Quit a Top Tier Tech Job
> That said, you're going to be unemployable after 2 years.

This is just BS. I quit about 2 years ago, and am turn down recruiters quite often, very employable.

Stop trying to scare people on the fence.

bthornbury··on How to Quit a Top Tier Tech Job
Fundamentally this is true, but bringing yourself to the point where you "just quit" is quite difficult.

I think you're ignoring a lot of human things like that a lot developers are quite isolated and working 60+ hours a week. Their social group is quite likely just their co-workers. Especially for new devs who have relocated.

bthornbury··on Ask HN: Have Google's search changes made finding solutions harder for you?
I've noticed this too.

Also the more popular answers are coming up over the more relevant results.

Seems like changes that would be valuable for most instances of casual searching, but when it's an off-the-wall blog you've never heard of that has the answer you seek, it's a problem.

bthornbury··on Ask HN: Have Google's search changes made finding solutions harder for you?
For example, I've been working with Haproxy this week and it feels like every search is turning up the same 5 unrelated, but unhelpful articles.

Not sure what changed, are other devs experiencing the same?

bthornbury··on Facebook denies it collects call and SMS data from phones without permission
iOS is pretty good. The onus for dealing with rejected permissions (in many cases) is put onto the app developer.

For example, if you make a photo editing app, you need to request access to the user's photo gallery at runtime of the app.

If they refuse, it's fully expected that your app will continue to work with reduced functionality. IIRC you will have trouble getting approved for the app store if your app breaks after permissions are refused.

bthornbury··on Thundra: AWS Lambda Observability for Java, Go and Node.js
As an interested user, what is the difference here between traditional instrumentation like Application Insights?

I understand this is intended for AWS Lambda, but what is it doing that makes it more suited?

bthornbury··on Linux Raw Sockets
Not to mention raw sockets bypass docker's default inter-container-communication blocking.

https://github.com/brthor/docker-layer2-icc

bthornbury··on AWS Lambda and .zip is a recipe for serverless success
It's straightforward logic.

Serverless platforms increase convenience.

Throwing them away decreases convenience and increases developer time to learn and launch.

Many great inventions, like writing, automobiles, all increased convenience.

Throwing away inventions that increase convenience, decreases convenience.

bthornbury··on AWS Lambda and .zip is a recipe for serverless success
www.coherenceapi.com

Makes the OP's scenario much easier. Code upload and configuration all handled for you. You run code online the same way you call a local function.

Disclaimer: I am the founder/dev/designer of CoherenceApi.

bthornbury··on AWS Lambda and .zip is a recipe for serverless success
Might as well throw away the automobiles and go back to horses, they're cheaper on gas.

Forget that they take more time to care for, and to learn how to ride, and how to feed properly.

bthornbury··on Show HN: Coherence API – Modern Serverless Code. Pass a func and it runs online
How do you usually purchase things online?
bthornbury··on Show HN: Coherence API – Modern Serverless Code. Pass a func and it runs online
This is common feedback I'm getting for those interested in hobbyist tier.

I'm thinking we'll put something in place for free frictionless small evaluation after we think about fraud management a little bit.

Thanks for the feedback here everyone this is really invaluable!

bthornbury··on Show HN: Coherence API – Modern Serverless Code. Pass a func and it runs online
Can you describe what are the limitations you might be willing to live with on a frictionless sign up?

For example, if you only had 2 compute hours, would it be enough for your evaluation?

bthornbury··on Show HN: Coherence API – Modern Serverless Code. Pass a func and it runs online
I'm aware this is going to turn a significant number of people away.

The fact is in the early stage, this will help restrict fraud and bring in more engaged customers to ensure their expectations are met.

It's not something we plan to require forever.

bthornbury··on Show HN: Coherence API – Modern Serverless Code. Pass a func and it runs online
Hey Thanks!

This is the most common question! Other FaaS solutions require your code or your workflow to be structured in some way to fit in with their system, not to mention requiring you to use their tools.

Coherence integrates with the programming language to make it a lot simpler on the developer. Just pass a func and it's getting run. Structure your code however you like and use your favorite tools!

EDIT: One example, it's going to be a lot easier to run your web crawlers on Coherence.

EDIT 2: Yes I worked on .NET Core and am a python enthusiast for over 9 years. This is why they are the first supported languages.

bthornbury··on Show HN: Coherence API – Modern Serverless Code. Pass a func and it runs online
Hey, we could do this but I'm curious why you would prefer this? More solid payment expectations?
bthornbury··on Show HN: Coherence API – Modern Serverless Code. Pass a func and it runs online
I'm going to decompress part of your comment here:

- scaling the function

This is where we've invested most of our effort. We're envisioning a load test demo soon.

- monitoring the function (billing, errors, throughput, latency)

This is something which we will need to invest more in. Great feedback here. We don't have much in the way of monitoring yet, but everything is there and we just need to expose it to the users.

- moving data between two functions, storing data

Traditional solutions like Redis and Postgres seem like a good solution here. You can't host them on Coherence yet, but it's something that we're working on.

- signaling a function, upgrading a function, downgrading a function

Versioning is particularly interesting here. A lot of time we've thought of these functions as ephemeral.

Send me an email (bryan at coherenceapi . com) I'm really interested to talk more about the use cases you're envisioning.

bthornbury··on Show HN: Coherence API – Modern Serverless Code. Pass a func and it runs online
This is great feedback, and initially I had a calculator for this. We removed it because we felt it would be intuitive but you're right we built it and it's easy to lose that outside perspective.

It's really just the running time of your program (you control this) plus a less than a second of setup / tear down time. If your job is set to consume 1GB that's it, you've consumed that many GB-seconds. If it's a 128MB job, then you've only consumed 1/8th of that many GB-seconds.

Let me know if this example is getting it across, it's a simplified version of the pricing of other serverless platforms.

← PreviousPage 2 of 7Next →