Better HN
topnewbestaskshowjobs
Log inSign up

fractalsea

227 karma · joined Dec 1, 2012 (13y ago) · 119 submissions

Platform Engineer at Pusher. Interested in category theory, complexity theory, programming languages, graph theory, AI, big data....

http://willsewell.com/

Submissions

comment 10y ago · link · parent

This startup was created to solve just this problem: https://nugget.one

One of the founders is the host of the Techzing podcast http://techzinglive.com. You can hear some of the background on Nugget if you listen to the more recent episodes.

comment 10y ago · link · parent

The documentation is amazing. One problem I find with rendered literate haskell is that it because quickly unclear how the indentation across blocks of code fits together. It would be nice if there was some kind of renderer that kept the indentation in the docs, or had some kind of "indentation guide".

comment 10y ago · link · parent

In the intro you say that data from >1000 interviews shows:

> men were getting advanced to the next round 1.4 times more than women

> men [...] had an average technical score of 3 out of 4, as compared to a 2.5 out of 4 for women

The conclusion of your experiment was

> masking gender had no effect on interview performance

So the question is: why do women perform worse (by the above metrics) even if the interviewer does not know they are a women?

Unfortunately you spend the remainder of the article showing that women are more likely to quit after bad interviews, and hypothesise that this is due to lower self confidence. This is interesting and all, but it does nothing towards explaining the discrepancy you described in the introduction!

4.

Fuzz testing distributed systems with QuickCheck(blog.pusher.com ↗)

1 points · by fractalsea · 10y ago · discuss

5.

3 Approaches to Monadic API Design in Haskell(blog.pusher.com ↗)

2 points · by fractalsea · 10y ago · discuss

6.

Making Efficient use of memory in Haskell(blog.pusher.com ↗)

2 points · by fractalsea · 10y ago · discuss

comment 10y ago · link · parent

Hi, I'm the author of this post. I found it hard to get good information about this topic in Haskell compared to other languages, so I'm hoping this post will help people get started if they are in a similar situation to where I was. This is a topic I'm still actively learning about, so I'm eager to hear about any suggestions or feedback you might have.

8.

Memory profiling in Haskell(blog.pusher.com ↗)

5 points · by fractalsea · 10y ago · 1 comment

comment 11y ago · link · parent

From https://developer.wordpress.com/calypso/

"If you run your own self-hosted WordPress site, you can install the Jetpack plugin to use the Calypso-based editing and management tools."

comment 11y ago · link · parent

This is what I thought when I first saw the parent comment. It looks like an interesting alternative approach, but from the example I am not clear on why it is more flexible than the version using typeclasses.

I reckon I will need to re-implement my mocks using the technique you describe to really understand the motivation.

11.

Unit testing IO in Haskell(blog.pusher.com ↗)

69 points · by fractalsea · 11y ago · 10 comments

12.

Unit testing IO in Haskell(blog.pusher.com ↗)

1 points · by fractalsea · 11y ago · discuss

comment 11y ago · link · parent

> know your worth

How?

I think this wouldn't be so hard if you are in the valley (or other large tech cities in the US), or targeting large companies (Glassdoor). But how do you do this if you are in a different situation?

comment 11y ago · link · parent

Have you tried the FP Haskell Center IDE[1]? It's completely web based, and should make it very easy to set up projects, bring in stable libraries and do builds. I would imagine this would be very useful for beginners.

There's more information in the linked Communities Report.

[1] https://www.fpcomplete.com/business/haskell-center/overview/

comment 11y ago · link · parent

For those interested in why this land is unclaimed, this video provides a nice visualisation:

http://www.youtube.com/watch?v=3ZdkqqjosCM&t=6m49s

Essentially the river has changed, but the two countries claimed land at different times.

comment 11y ago · link · parent

Someone mentioned that in a comment on the blog post itself too. It definitely looks like a good pattern to adopt here.

comment 11y ago · link · parent

We currently do not have plans to release this code, mainly because it is very specific to our system. Having said that we are working on another large Haskell project, and we do have plans to open source a central component of it.

comment 11y ago · link · parent

I don't deny that the test could be written in much the same way in Ruby too, the key point of the post was that in Haskell you get flexibility comparable to a highly dynamic language, while also getting a lot safety guarantees.

As for the previous tests, they probably a product of many small changes rather than design. There was a reason we were re-writing them.

comment 11y ago · link · parent

Interesting. I think I will have to play around this before I get my head around it, but thanks for the suggestion.

comment 11y ago · link · parent

By "combining" I just meant an operator that takes multiple functions and returns a new function based on those arguments. I guess these "functions" are a special case because they are constant monadic functions. Do you mean to say composition rather than combination when you are about >=>?

comment 11y ago · link · parent

Author here. Thanks for the feedback!

I agree that the do notation does look nice. The on thing that I like about the >> operator is that it's clear that you are performing a combining two functions. But to be honest I don't feel strongly either way.

I definitely agree with your point on monads. I tried to keep this post more accessible, but I hope to go into a more technical post in the future on how we used monad transformers when writing these tests. We ended up using WriterT, ReaderT, LoggingT, EitherT for the "test components". Unfortunately the websocket library we used did not play well with this (it is callback based).

And I also agree with your final points. Having said that, I had very low expectations in this area going in, and it actually turned out to be not nearly as bad as I expected.

comment 11y ago · link · parent

https://www.youtube.com/watch?v=tILlZRLhBJE&t=6m2s

comment 11y ago · link · parent

How much did you sell Texts.com for, and when did you sell it? Assuming you've sold it.

comment 11y ago · link · parent

In my experience this is a terrible metric. The demographics that McDonalds is marketed in different countries varies enormously. I find in Western countries it is seen as unglamorous, cheap and quick food. Whereas when I was in India, for example, it is much more expensive than cheap food you can buy there, and therefore is seen much more as a nice place to go with your family (or girlfriends/boyfriend), and it tends to be middle class people who go there.

I was trying to think of a good alternative product for this index, but I really couldn't think of any single product that is marketed at exactly the same demographic in each country, as well as having comparable market penetration, and being desired by people to the same degree.

comment 11y ago · link · parent

That would have made this article so much more useful to me.

Without screenshots it was difficult to see why I might want one of these plugins.

It would also have been nice to have some written motivation for using them, as well as a description of what they do and the problem they solve.

comment 11y ago · link · parent

The way the original poster phrased it made it sound like he was referring to three waves of startups.

comment 11y ago · link · parent

I hear this very often, but the difference with me is that I don't feel very confident in any language. I have a mediocre experience in 4 or 5, but I don't know any one language in serious depth.

You might argue that this doesn't matter, and it's the overall programming mindset that counts. The problem is that the interviewers tend to want me to write the answers to algorithmic problems in a real programming languages, and because I am out of practice, I spend too much time thinking about how to write the language, rather than the problem itself.

I should also add that in the interviews I've had, it's been quite common that interviewers ask quite advanced-knowledge questions about a specific programming language. E.g. I was recently asked by a very well-respected company to explain what a Future was in Java, and I had no idea.

Those are the reasons I think it would be good to really explore a single language.

comment 11y ago · link · parent

In what sense? Do you mean expensive to learn?

29.

Ask HN: Which programming language should I learn for interviews?

3 points · by fractalsea · 11y ago · 5 comments

comment 12y ago · link · parent

I recently spoke to a recruiter at Skyscanner, and he mentioned that they have also adopted a similar model to Spotify. He called the model "Squads and tribes".
1234