HN user

mordrax

167 karma
Posts6
Comments40
View on HN
Elm 0.19.1 7 years ago

We here at Pacific Health Dynamics, Sydney, Down Under want to give a big thanks to Evan and the core team for all your hard, free, work!

We've recently hit 100k loc for our main frontend written all in Elm. The journey from inception 2.5 yrs ago has been amazing and now we're in full production mode, reaping the rewards of purity and the type system.

I've had a hobby game in Elm which I worked on for about a year and a half and I was the second engineer ( frontend lead ) hired to 'rescue' a greenfield project with Elm as the frontend. That is now at 100k+ LOC, 2.5 years later. Our team has grown from 3 to 9, we have 3 frontend devs all writing in Elm and looking for our 4th.

The company now has 4 production projects with Elm as the sole frontend tech.

where it describes design choices driven specifically by compile time

I'd like to point out two things here:

1. There are common library functions that we put in single files. These are imported by a lot of other files. The fact that these incur a large recompile cost is unfortunate and I think it doesn't have to be this way if dependencies were calculated at a more granular level.

2. The far larger implication to compile time becoming exponential is coupling of concerns. This is solely in the developer's responsibility. For a type system that guarantees correctness of code, there is no way around the fact that all affected modules must recompile. eg, if a fundamental law of physics were to change, the whole universe would have to recompute.

So I think for a 'substantial group of developers', the focus should be on helping people to recognise what is coupling and how to design de-coupled systems.

It's definitely an issue for larger, coupled projects in 0.18 but don't let it scare you. The trick is to decouple your modules by focusing them on a single responsibility. Then the compile time is a non-issue.

It definitely scales. There is an 'adjustment period' where I went from a nested to a flat, decoupled architecture. But as most things are one to two levels deep (state), complexity also grows fairly linearly. This is really great from a developer's pov when trying to grapple with how to add new features.

Correct, the initial 16k LoC was not complete. In fact ( no metrics ), I deleted large portions of redundant files/code and at one stage we were back at about 11k LoC.

The comment about 16k -> 45k LoC was to give an idea of how much we had added to the product over the last 10 months.

the absence of my mouth not moving?

Is the absence of my mouth being still, is the presence of my mouth not being still, is the presence of my mouth moving.

I think you meant to say, the absence of my mouth moving.

Thank you all for the wide range of thoughtful responses.

I don't want to leave the impression that this company with a private owner is a bad company. The employer did look out for me when I had difficult family issues and at one point, being way over-burdened with the workload, I told him to either fire me and get a support person at half my salary or give me more resources.

Being laid off there was quite good for me. I felt indebted to keep the product afloat but it was burning me out constantly so after I left, I got a higher paid, much more reasonable hours job with peers that also have passion for coding.

But I still remembered him looking out for me so I want to do the right thing and help him get some closure on this business. To that end, I think getting a IP lawyer to put any of my worries to rest at a small expense to him or the purchasing company is the most reasonable option as someone else had said below.

I guess my angle isn't: What is there to gain for me. Even though I was made redundant, the employer is nice and I'd have no problems signing it.

But it's the first time I'm asked to sign one of these things and some of the things I'd be agreeing to doesn't even sound like it's in english. I don't want to inadvertently sign over any side project I was working on in that time or IP for the industry I was working in or even future IP as some of it seems to be worded without time constraints. But take all that with a grain of salt, no legal background.

The sale of the business is predicated on all former employees signing the deed.

Crying 10 years ago

Let it out, don't hold it in. Close your eyes, focus on your intense emotions, breath in and let it out, gently and fully.

I try to do this with all intense emotions be it overwhelming sadness, fury, despair. Feels better than holding back or forcing it out.

True our paychecks may not be, however, the goods and services that we consume from developing nations will most definitely be 'drenched in blood, sweat and tears'.

This is also capitalism is it not?

I think the previous guy was trying to say that there is no morality in capitalism and therefore words such as extreme and pure do not apply. Capitalism is only concerned with money, nothing else.

I think this post has less about passion than about youth and naievity.

If you truly enjoy what you do, the value you receive from that shouldn't just be measured in dollar terms.

I'm passionate about what I do and I do it during work, after hours and on the weekend. But during work, I get paid a sensible salary to support my family. At home, I get to explore my interests.

Passion is fuel, wisdom is direction. Don't confuse the two.

GitHub Outage 10 years ago

Does this have something to do with the constant DoS attacks they've been getting from a certain country for hosting certain open source projects that defy the censorship authority of said certain country?

Who are the people that can fix complex systems? If a group of people like this exists then why do we still have broken complex systems?

I think that the more influence and wealth you wield, the better your chances are of 'fixing' a system and I think what they are trying to do is more commendable than what the majority of us do with our spare time and cash.

Amazon Underground 11 years ago

From the author's pov, it's an interesting proposition. Take sorcery for example: http://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Dba...

I bought this and played it for about an hour to completion. For my hour, I'd have made them $0.12. Instead, I paid $4.64.

So for them to get to the same profit using this model, they'd have to attract $4.62/$0.12 = 38 times more users. i.e instead of having 1000+ downloads, they'd need to be in the 38k+ downloads range and for everyone to have played it to completion.

I see two problems for this particular game. 1. Fighting fantasy based games are a niche market so is there going to be a large enough user base to support this? 2. I'd say that the length of a typical gamebook shouldn't be more than 1-2 hours as it will get very complex. So they're kind of capped re per player usage.

Since it's a niche market, I don't imagine there would be hundreds of thousands of people trying this out for 5 minutes each.

Amazon Underground 11 years ago

Actually free

I'm feeling a bit sad that I'm overjoyed to hear that this category exists.

Paid, Free, Actually free

I like how they explain up-front that they pay the authors instead of perhaps another hidden payment model within 'Actually free' that ends up charging users.

As a Chinese, this is pretty normal. In fact I'd push him to perform in sports and academics as well.

On a more serious note, sadly the majority of Chinese/Asian parents i know would take the first sentence seriously.

Having children, for example, is associated with the meaningful life and requires self-sacrifice, but it has been famously associated with low happiness among parents, including the ones in this study.

I have to either strongly disagree with the outcome of this research or disagree with the definition of happiness used here. If you were to ask parents (myself included), if having children makes you happier in life, I think you would get a resounding yes it does! Having kids is stressful at times, and you can be constantly tired and stretched to your limits but the heights of joy one experiences as a parent has no bounds. I'd hate to think that the majority of parents think of child rearing as some sort of meaningful suffering...

[dead] 11 years ago

No news, no notification, nothing... I'm a bit of an addict right now, need my fix. Stackoverflow isn't cutting it, need the real stuff, pure stuff.

They don’t want to hear the answer “no.” In fact, it may not occur to them to ask a question that may yield a no.

So the author's obviously never heard of sanity checking, in fact that's the second thing that I always do once I confirm a solution is to confirm it's not a fallacy.

Having said that, my solutions were -10 -20 -40 -10 -8 -4 1024 1026 1030

and I said it was +2, +4 and got it wrong!

I asked myself that question 2 years ago and there were alot of occasions where I picked up a project but then would lose interest a few months into it when the going got hard.

I think this is a good question that everyone at some stage of their life will need to ask to grow beyond what society and peers demands of you, but don't make this out to be the silver bullet like I did because I'm still on that path and I have no idea if I'm getting any closer to an answer... damn! hehe

So he lost alot of money, that's motive for getting it back. I can't see the link from 'i want my money back' to 'i'm going to blow you to smithereens'. If the plan had worked out, it wouldn't have mattered real or fake, he'd have his $3M. And it'll take alot less time, less risk of accidental detonation and be easier to implant.

Unless you're saying that he took the loss personally and there is only one part which alludes to it, where he was 'humiliated' by the hotel staff asking him to vacate the room that was reserved for him as a former high roller.

I'm not saying everything's unicorns and fairies but I didn't get the motivation to cause actual harm and therefore the plan felt wasteful to me to have a real bomb. And why would he say that if 'there was a double cross, I'll come back at a later date to do it again'. That just totally ignores what he said at the beginning of the letter about not giving instructions of there was any deviations to the plan and also contradicted to the bomb being real and destined to go off anyway with a unstoppable 3rd timer.

I don't know guys... spent the last 15 minutes with js turned off, github didn't work (graphs don't load), meteor/atmosphere/any single page app doesn't work, ebay didn't work, i'm not a fb fan but i'm pretty sure that wouldn't work, staticice worked, but half of the merchants on it didn't. alot of the blog sites HN links to were ok, however, comments are the gold nuggets and alot of them depends on pulling in cloud services via js.. It was kind of cool to see google work in a limited fashion...

But that's 15 minutes of my life I won't get back, and alot more if I was to start whitelisting sites (which at this rate, would be every site I visit) and wearing a tin foil on my head, just saying... (<-- light hearted joke for the too religious :)