Better HN
topnewbestaskshowjobs
Log inSign up

skotzko

897 karma · joined Jul 8, 2009 (17y ago) · 100 submissions

Product leader and podcaster. I tweet at: http://twitter.com/askotzko I write longer, less inane thoughts at: www.andrewskotzko.com
Submissions

1.

How to know if you're interviewing at a product-led company(andrewskotzko.com ↗)

4 points · by skotzko · 5y ago · discuss

2.

Introducing NBench – Automated Perf Testing Framework for .NET Apps(petabridge.com ↗)

35 points · by skotzko · 10y ago · discuss

3.

Unit Testing Akka.NET Actors with Akka.TestKit(petabridge.com ↗)

3 points · by skotzko · 11y ago · discuss

4.

Intro to Clustered and Networked Apps Using Akka.NET(petabridge.com ↗)

1 points · by skotzko · 11y ago · discuss

comment 11y ago · link · parent

Was gonna ask the same — had a really good experience w/ IceComm when I tested it out a few weeks ago

6.

Akka.NET v1.0 Releases(petabridge.com ↗)

8 points · by skotzko · 11y ago · discuss

comment 11y ago · link · parent

I'm a contributor on the Akka.NET project (http://getakka.net) and one of the things we made that has really helped people understand the framework was a Bootcamp (https://github.com/petabridge/akka-bootcamp).

Sure, there is a lot of code in the Bootcamp, but most of it is clearly explaining concepts and helping developers understand what is really going on, with no jargon.

Anything you can do like that is a MASSIVE help to an OSS project.

8.

No More FoundationDBs(petabridge.com ↗)

16 points · by skotzko · 11y ago · 2 comments

comment 11y ago · link · parent

I should elaborate on ActorSelection: while this is how you look up an actor reference, it's not inherently a 1-1 lookup to a single actor.

Technically, ActorSelection does not point to a specific ActorRef, it points to every ActorRef that matches the expression given. Wildcards are supported in this expression. So it's an expression that selects 0+ actors

ActorSelection will also match two different ActorRefs with the same name if the first one dies and is replaced by another (not restarted, in which case it would be the same ActorRef).

comment 11y ago · link · parent

Great question, thanks for asking it. We'll also be reworking the docs on the way to 1.0 to make a lot of this much clearer.

The short answer is that these things enable various nice features of the framework, like automatically scaling out your actors, safely managing actor restarts, and managing message delivery for you.

Just to cover a few of those briefly:

What is an ActorRef?

An ActorRef is a reference or handle to an actor. The purpose of an ActorRef is to support sending messages to an actor through the ActorSystem. You never talk directly to an actor—you send messages to its ActorRef and the ActorSystem takes care of delivering those messages for you.

What are Props?

Think of Props as a recipe for making an actor. Technically, Props is a configuration class that encapsulates all the information needed to make an instance of a given type of actor.

One of the reasons Props encapsulate the entire recipe for making an actor (including deployment info) is so the system can manage restarts/lifecycle safely. It also can be serialized so that you can remotely deploy actors to other machines in a cluster -- BUT, this is invisible to you (location transparency, AKA you don't care if your actors are all in one process or on 10 machines spread around the planet).

What is an ActorPath?

Actor path == actor position in hierarchy.

Actors form intrinsic supervision hierarchies. This means there are "top level" actors, which essentially report directly to the ActorSystem itself, and there are "child" actors, which report to other actors.

Every actor in this hierarchy has an address. To send a message from one actor to another, you just have to know it's address (AKA its "ActorPath"). This is what a full actor address looks like: akka.tcp://MyActorSystem@localhost:9001/user/a1/b2.

What is ActorSelection?

This is using the actor path to get an ActorRef (handle to an actor). So instead of getting a handle to an actor by creating it, you're "looking up" the handle by its address. Kind of like looking up someone on Skype by their username.

####

You may find this post interesting to go in depth on actor hierarchies / paths / supervision: http://petabridge.com/blog/how-actors-recover-from-failure-h...

Also, if you're interested in learning Akka.NET, we're launching a free, self-paced bootcamp this Saturday. Details are here: http://learnakka.net

Hope this helps.

comment 12y ago · link · parent

I didn't see an announcement but I've been waiting for the MX Clears to be available for like 3 months. Figured HN would want to know.

12.

CODE Keyboard with MX Clear switches back in stock(wasdkeyboards.com ↗)

2 points · by skotzko · 12y ago · 1 comment

comment 12y ago · link · parent

(author here) A) Thanks for sharing this @mdsandler. B) I added a lot of resource links and downloads in the FAQ at the end. If I've missed something good, let me know and I'll add it.

14.

CodeCombat in Y Combinator(blog.nickwinter.net ↗)

224 points · by skotzko · 13y ago · 82 comments

comment 13y ago · link · parent

2 main reasons why I thought it was necessary:

1) It's not clear at all by reading minified code that this is what's going on -- I could only really see it when I got my hands on unminified code. Since not covered in the docs, it's just hard to know.

2) It has tightly coupled queueing and loading of the library, which I don't want: the snippet links instantiation / fetching of the library with the queueing function and wraps them all together so they can't be separated in the overall page load sequence. Combined with the fact that Mixpanel does not use as simple of a data structure as something like GA (simple array), I wanted a way to separate queueing (what my wrapper does) from later instantiation. Granted, the Mixpanel snippet is async but at the time of writing this, we didn't want to source our external JS in the head of our pages if at all possible. So even with the built in async / queueing structure, the Mixpanel snippet still doesn't fully meet what we're looking for (separation of queuing / instantiation).

comment 13y ago · link · parent

Ah, great point. Missed that. Updated and going to push update shortly. Thank you.

[EDIT] Pushed. Great catch, thanks again.

comment 13y ago · link · parent

This is my first open-source project. I was frustrated that Mixpanel did not natively include a queueing system for events (a la Google Analytics, KISSmetrics, etc) so I built one. Hope others find it useful and welcome any feedback.

18.

Show HN: Mixpanel Event Queueing Wrapper(github.com ↗)

9 points · by skotzko · 13y ago · 5 comments

comment 13y ago · link · parent

A poetic manifesto. Well done.

comment 13y ago · link · parent

Although you have browser support covered on a doc-by-doc basis, I would find it useful to have a rollup page by browser of gotchas. e.g. all the common JS gotchas for IE8 (e.g. no go on client.innerWidth), IE9 not supported opacity, etc.

Here's a ghetto example of a reference file I started after recent project that drove me nuts which would give you the sense of what I mean: https://docs.google.com/spreadsheet/ccc?key=0ApBq5nqLSn9MdER...

comment 13y ago · link · parent

Good question that most people face and are afraid to ask :)

Here are some resources to check out that have covered this well:

* Rand wrote a great post (http://moz.com/rand/understanding-stock-options-at-startups-...)

* Solid overview: http://www.danshapiro.com/blog/2010/11/how-much-are-startup-...

* This is a good book that doesn't get enough love (http://www.amazon.com/Engineers-Silicon-Valley-Startups-eboo...)

* Good high-level notes about equity in startups (part of an incredible series, read it all if you can - http://blakemasters.com/post/21742864570/peter-thiels-cs183-...)

* Venture Hacks on the "Option Pool Shuffle": http://venturehacks.com/articles/option-pool-shuffle

22.

Experiment 1: Do I need a hormone makeover?(andrewskotzko.com ↗)

3 points · by skotzko · 13y ago · discuss

comment 13y ago · link · parent

I think Nivi's point is that McDonald's — while certainly a successful business at scale — doesn't do much to improve humanity. Just a guess.

comment 14y ago · link · parent

I've had a really good experience with Sanebox for the last few months, actually. It seems to do a much better job filtering my inbox than priority inbox alone. Granted, it takes some initial training over the first week or so, but I've been a very happy customer.

25.

An "It Just Works" solution for email overload(techcrunch.com ↗)

5 points · by skotzko · 14y ago · 1 comment

26.

R/C SR-71(youtube.com ↗)

74 points · by skotzko · 14y ago · 24 comments

1234