HN user

steveadoo

78 karma
Posts0
Comments27
View on HN
No posts found.
Major Azure Outage 7 years ago

When I tell my clients Azure had another outage they're going to demand we move to another cloud service. Looks like I'm in for a looong couple weeks.

Headphones plus a couple beers in my backpack, can never forget those.

I notice once I get a few beers in me I'm much better.

My car does this on the dash in front of my steering wheel. It will switch to an overhead of the lanes and highlight the one you have to take when you get close to your turn as well.

Much easier to process this than the full map on something like my phone or the map on the center console.

I had some trouble using ReadOnlySequence in a library I am writing (mostly because of no documentation). After looking through how Kestrel uses it(they started using Pipelines in ASP.NET Core 2.1) I found their BufferReader[1] class. It made using ReadOnlySequence much easier.

Overall, pipelines have been really solid for me so far. Working out how to use it without documentation was a total pain though, hopefully they get that out soon. If anyone is interested I can throw the library up on GitHub if anyone wants some real world examples of using pipelines.

[1] https://github.com/aspnet/Common/blob/master/shared/Microsof...

I just started one of my first open source projects in the last few months and I've fixed ~3 issues so far. A thank you would be amazing. I'm not going to STOP fixing issues, but a thank you would really motivate me to keep it up. Kudos to this guy.

If you could AOT compile the templates into bytecode, which has to be parsed, why not just AOT compile the templates straight to JavaScript(like Angular 2/4)?

True, but Unity is still using an old Mono runtime.

I think they actually just released a new version that supports a more newer runtime but I doubt KSP upgraded.

Learn to Read Code 9 years ago

You use async/await when you are doing any sort of IO in an application that needs to be responsive. Example: your ASP.NET thread pool is starved because all your request threads are waiting on IO. It's useless to have those threads waiting there for IO when they could be processing other requests to your server.

You're obviously going to see some overhead from the state machines generated, but that's negligible compared to the gains you'll see in throughput and code readability(compared to the older ways of doing async code).

The same reasoning extends to UWP, don't block your main thread with IO so it can still process input. Obviously there's other ways to handle async in a desktop app, but async/await just make it so much easier to reason about your async code. It looks exactly like you're writing synchronous code.

Google Jobs Search 9 years ago

Off topic - but I haven't been able to right click text and bring up the context menu on google's blog for a few months now..

Can't you just have Facebook and only use it for the events/photos? I've got a Facebook but never use it for posting/looking at other people's posts. Every now and then I'll get an invitation to an event which is really all I use it for.

I'm not sure the Angular 2 AOT bit belongs here. Angular 2's AOT just parses your HTML into the backing angular component classes. It's still all Javascript that has to be loaded and parsed.