News for hackers. Stuff that matters.

mordrax

Re:Elm 0.19.1 on Monday October 21, 2019 @07:29PM (#21318731)
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.

Re:Asset minification with Elm (2018) on Wednesday August 28, 2019 @08:21AM (#20819030)
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.

Re:Elm at Pacific Health Dynamics on Tuesday April 10, 2018 @12:04AM (#16798901)
> 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.

Re:Elm at Pacific Health Dynamics on Monday April 09, 2018 @11:05PM (#16798712)
That was also a good read, thanks for sharing it!
Re:Elm at Pacific Health Dynamics on Monday April 09, 2018 @11:03PM (#16798705)
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.
Re:Elm at Pacific Health Dynamics on Monday April 09, 2018 @11:00PM (#16798695)
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.
Re:Elm at Pacific Health Dynamics on Monday April 09, 2018 @09:47PM (#16798413)
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.

Re:The Lucrative Art of Chicken Sexing (2017) on Friday March 09, 2018 @06:35PM (#16556052)
Welcome... to the real world.
Re:Three words that changed me on Tuesday March 21, 2017 @05:33AM (#13920809)
> 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.

Ask HN: I've been asked to sign a IP Assignment Deed as an employee

So I used to work for a company, being one of two employees that created a piece of software.I was hired as an employee of the company with no share holding, and signed a fairly standard contract where my time and anything I created during the time I was employed belonged to the company.Just recently, the company is selling it's product and the purchasing company has asked that all employees...

( Read More... | 43 comments | 39 points | on HN )
Re:Crying on Friday May 27, 2016 @11:03PM (#11790418)
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.

Re:Sherpa: They Die, We Go Home on Monday March 28, 2016 @04:22PM (#11377077)
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.

Re:My Passion Was My Weak Spot on Monday March 21, 2016 @04:39PM (#11331778)
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.

Re:Ask HN: How happy are you working as a programmer? on Monday February 01, 2016 @03:53PM (#11015334)
4/6 is 66%, and yes there are some really bad environments to work in, mostly related to people.
Re:GitHub Outage on Wednesday January 27, 2016 @07:39PM (#10984904)
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.

Re:Amazon Underground on Wednesday August 26, 2015 @09:30PM (#10127010)
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.

Re:Amazon Underground on Wednesday August 26, 2015 @08:31PM (#10126838)
> 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.

Re:John Carmack's son's game in Racket on Tuesday August 25, 2015 @04:11AM (#10115115)
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.

Re:There's More to Life Than Being Happy (2013) on Friday August 21, 2015 @05:51AM (#10096684)
> 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...

Re:Meteor forums is down on Thursday July 30, 2015 @12:58AM (#9973242)
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.
Re:FDA approves Theranos test for HSV-1 on Friday July 03, 2015 @06:57AM (#9824732)
I started reading this article and ended up reading Meditations by Marcus Aurelius... totally forgot about the original article

Older »