News for hackers. Stuff that matters.
Re:Dark’s new backend will be in F# by jrumbut on Tuesday November 03, 2020 @10:00AM (#24980178)
This is a great article but I really wish that somewhere on the page it said what a Dark is and why I would want one.

I tried clicking homepage it wasn't there, I tried clicking demo and it tried to open YouTube which was not what I wanted to happen, then finally I found it in the documentation section. The first sentence or two from there, maybe as a subtitle or in the intro paragraph would help I think.

Re:Dark’s new backend will be in F# by kodah on Tuesday November 03, 2020 @10:14AM (#24980338)
I spent some time last night looking at it. Just to affirm what you're saying, there's hardly any information on their frontpage unless you go venturing into videos and blog posts.

Dark is basically a language that's designed to be serverless out of the box. They've baked their own engine into the language as well as dependencies for various cloud providers, databases (postgres was highlighted a lot), etc so that you can build serverless applications quickly while having no knowledge of operating systems, infrastructure, or really even computer science.

It reminds me of a number of the languages out there that are low-code or no-code. A regular programmer probably wouldn't even recognize some of the syntax and symbolization this language uses.

Here's some examples: https://blog.darklang.com/spin-up-a-slack-app-in-seconds-wit... Most of us have probably built a Slack app by now (or bot) so this is a good example to compare with IMO.

Dark has a mission of appealing to 1B people and they say the first step is to appeal to developers.

Re:Dark’s new backend will be in F# by mattmanser on Tuesday November 03, 2020 @12:18PM (#24981632)
Did you figure out what the greyed out "v1", "v4", etc. after certain calls was for? I clicked through a few pages but couldn't figure it out.

Internal versioning as they release new methods on their own libraries? So it doesn't break old ones?

Re:Dark’s new backend will be in F# by pbiggar on Tuesday November 03, 2020 @12:36PM (#24981842)
That's right, we version all stdlib functions. I talk about it a bit here: https://blog.darklang.com/how-dark-deploys-code-in-50ms/

When we add a new version of a function, all the calls to the old function are unchanged. The autocomplete shows new users the new version (and not the old version), while people who are calling the old version get shown both.

Re:Dark’s new backend will be in F# by steve_adams_86 on Tuesday November 03, 2020 @12:42PM (#24981910)
Is this what you refer to as feature flags in the FAQ?

> Q: Deployless seems dangerous! Won't I constantly break my application?

> A: ... snip ... With Dark's feature flags, you have precise control over how and when a specific feature or set of features becomes live, and for which part of your user base.

Re:Dark’s new backend will be in F# by pbiggar on Tuesday November 03, 2020 @12:48PM (#24981977)
No, feature flags are used to wrap an expression and conditionally choose another expression. Its a fancy if expression. In Dark you add one by selecting `add-feature-flag` from the command palette.
Re:Dark’s new backend will be in F# by inopinatus on Tuesday November 03, 2020 @05:01PM (#24984517)
The Segway of programming languages.
Re:Dark’s new backend will be in F# by jrumbut on Tuesday November 03, 2020 @12:35PM (#24981829)
Oh definitely an innovative project and I think F# is such a good choice for the purpose.

Hope it works out!

Re:Dark’s new backend will be in F# by DylanDmitri on Tuesday November 03, 2020 @11:28AM (#24981074)
To me, the most interesting part of Dark is their dedication to tightening the feedback loop in website development.

It caches recent requests to your site, and as you make changes it constantly re-runs those requests showing you the resulting live values in code. This is close to something like Excel where code changes are instantly and visually applied to the input data.

There's incredible promise here, and I believe similar fast-feedback paradigms will become the mainstream programming experience within 30-40 years. We've already had a taste of this with Jupyter Notebook's ubiquity across data science; despite its many flaws it lets people iterate just a little faster.

As for Dark itself, it feels they put too much emphasis on language and not enough on ecosystem. I wish they had focused on a fresh new IDE experience for Django or Rails rather than additionally building a entire language and syntax from scratch.

Re:Dark’s new backend will be in F# by pbiggar on Tuesday November 03, 2020 @10:45AM (#24980661)
Good point! I quickly updated the blog post with a blurb. Was not expecting this to be #1 on HN!

> Welcome HN! If this is your first time hearing about Dark, check out the website[1], our What is Dark [2] post, and How Dark deploys in 50ms [3] to understand what we're about. Thanks for checking us out!

[1] https://darklang.com [2] https://blog.darklang.com/what-is-dark/ [3] https://blog.darklang.com/how-dark-deploys-code-in-50ms/

Re:Dark’s new backend will be in F# by UncleOxidant on Tuesday November 03, 2020 @01:50PM (#24982670)
> This is a great article but I really wish that somewhere on the page it said what a Dark is and why I would want one.

I feel exactly the same. It looks like you have to watch some videos that explain what it is and what it's for and I don't have time. If they can't describe it in a concise paragraph then I'm not sure why I would care. Why is this ending up on the front page of HN 2 days in a row - apparently it's only because they're dropping OCaml. Ok, fine you're dropping OCaml and moving to F# for your... whatever it is.

Re:Dark’s new backend will be in F# by markburns on Wednesday November 04, 2020 @12:58AM (#24986684)
I’ve used it quite a bit and you make a valid point.

The appeal it had to me was watching one of the videos in which he talks about inherent versus accidental complexity.

I’d say eliminating all the extraneous accidental complexity you see in the entire process of building software is what it aims to do. That really resonated with me.

Deployment, code versioning, IDEs, infrastructure. So many of these things can be replaced by a simpler holistic toolset.

I’d say for simple use cases they’re well past the 80% mark. And it really is enjoyable building something in this paradigm.

The challenges are obviously the next 20% which will be where all the really hard edge case parts come.

I’m really looking forward to seeing it evolve.

It’s worth watching the introductory talk, even if you never intend to build something with it.

Accidental complexity is something I’m sure all engineers battle with. It’s nice seeing a genuine attempt to eliminate it. Even if it has ironically come along with some of its own accidental complexity. (E.g. not having enough libraries)

I’m hopeful that they’ll continue to battle all the right parts of accidental complexity and stay aware (as they are) of where they’re introducing it

Re:Dark’s new backend will be in F# by Cthulhu_ on Tuesday November 03, 2020 @10:05AM (#24980255)
idk, I clicked Homepage and the blurb was right there. Looks like a language / environment to build serverless apps.
Re:Dark’s new backend will be in F# by kev009 on Tuesday November 03, 2020 @10:20AM (#24980395)
One thing that makes it hard to grok is how large the scope seems to be and the cognitive bias many devs have developed against new platforms due to being burned in the past. It reminds me of a throwback to 90s era RADs that wanted to encompass everything for everyone without really having clear intent or at least a platform company backing them to snare enough users to become a new platform. Sometimes there are gems in the rough in things like that like Delphi, and I don't mean to dismiss any of the ideas or dreams, but IMO platform companies are going to continue to monopolize the language space (for instance, I see great irony in they are using .NET because Microsoft basically does what they are trying to do). So that's why I bring up Delphi above, it seems this could be an opinionated framework on top of a .NET language instead of yet another language?
Re:Dark’s new backend will be in F# by seibelj on Tuesday November 03, 2020 @10:25AM (#24980447)
It looks like Dark is trying to be a new language, a backend server, a CI solution, and an IDE! Then there is a blog post that everyone churns:

> Currently, we get 10 user signups a day, and on average, 0 of them stick. We do have developers who love Dark, but not enough. https://roadmap.darklang.com/goals-of-dark-v2

I think the company should focus on just one of those things and it would still be an enormous lift given their size.

> The problems and fixes are across the product. One problem is that undo is slow, another is that you can't put a minus sign in front of an integer, another is that we need to define how namespaces will work in the package manager. The fixes range from adding tooltips in the UI, to adding a type-checker, to making the package manager public.

https://blog.darklang.com/dark-v2-roadmap/

Ayeeeee... this is like trying to carve Mount Rushmore using a spoon.

Re:Dark’s new backend will be in F# by robertlagrant on Tuesday November 03, 2020 @10:52AM (#24980713)
Also only one person is working on it - everyone else in the dev team seems to have been let go/fired. https://blog.darklang.com/dark-and-the-long-term/
Re:Dark’s new backend will be in F# by seibelj on Tuesday November 03, 2020 @11:23AM (#24981027)
Oh my goodness! This is something that I think you need a sizable open source community to build and maintain. This platform is not close to something you can rely on to build your new startup / business. I don't want to denigrate the efforts of the founders / devs but this is just an insanely huge amount of effort. Entire companies are built to just to provide a small subset of what Dark is trying to accomplish. The employees must be super stressed out! I would focus on maybe just the IDE and deployment. I don't see why you need an entire new language. I could see this being an advanced IDE to churn out server-less APIs plus some closed-source packages to provide magic. But this is just... woah!
Re:Dark’s new backend will be in F# by benjaminjosephw on Tuesday November 03, 2020 @11:55AM (#24981377)
Large teams/communities can build good software but I'd argue that great software is created by small teams and by massively talented and motivated individuals. Those are the contexts where people are more open to seeing beyond the incremental improvements towards new paradigms and previously unimagined possibilities.

Dark definitely is ambitious and you're entitled to be skeptical. Personally, I'm really glad this isn't just a fancy IDE on top of a conventional stack. I think we should be doing everything we can to support loonshots and crazy new ideas like this because these are the kinds of things that could change the game for all of us.

Re:Dark’s new backend will be in F# by divtiwari on Tuesday November 03, 2020 @11:02AM (#24980809)
Lol
Re:Dark’s new backend will be in F# by pbiggar on Tuesday November 03, 2020 @11:20AM (#24980997)
Really wasn't that funny
Re:Dark’s new backend will be in F# by robertlagrant on Tuesday November 03, 2020 @11:38AM (#24981197)
It reads that there are some remaining millions of dollars, which now support a single employee. Is that a correct reading?
Re:Dark’s new backend will be in F# by pbiggar on Tuesday November 03, 2020 @11:55AM (#24981375)
A little over a million. While that should last 5 years, I expect to hire again in the new year, once I have an actual plan figured out.
Re:Dark’s new backend will be in F# by NomDePlum on Tuesday November 03, 2020 @01:20PM (#24982354)
Good luck. Better to recognise the problem and try to adjust than to just plow on.
Re:Dark’s new backend will be in F# by robertlagrant on Tuesday November 03, 2020 @12:01PM (#24981447)
Fair. Good luck :-)

Happy CircleCI customer.

Re:Dark’s new backend will be in F# by alexashka on Tuesday November 03, 2020 @11:39AM (#24981218)
> To put it more bluntly, we have been focusing on growth of a product that has not yet reached product-market fit.

I remember communicating with Ellen (the co-founder that has left the company) back in April (2 months before they let everyone go) when they asked for feedback. I said pretty much the gist of this blog post and received a one line answer of 'well, that's like, your opinion, maaan'.

I should feel vindicated, instead I feel sad. Dark got 3.5 million in funding - I'd be very curious to know where that money went (specifically how much the founder and co-founder have paid themselves) because it sure sounds like the founders got to 'try ocaml lol' with 3.5 million of someone else's money and then write blog posts about it that routinely show up on HackerNews, telling the rest of us of their 'lessons learned'.

Re:Dark’s new backend will be in F# by convolvatron on Tuesday November 03, 2020 @01:41PM (#24982579)
I interviewed at Dark and spoke with Paul and Ellen. I was pretty impressed by how forthright they were. If you were going to score startups about how clueless they were and how unqualified to gamble with other people money, I would put them near the bottom.
Re:Dark’s new backend will be in F# by hjalle on Tuesday November 03, 2020 @12:37PM (#24981856)
Quite a shitty accusation, isn't it?

Without knowing anything regarding the specific details, I would be pretty surprised if investors wouldn't be ready for both ups and downs.

Re:Dark’s new backend will be in F# by ABS on Tuesday November 03, 2020 @12:07PM (#24981518)
are you accusing them of stealing money without any proof?
Re:Dark’s new backend will be in F# by ensiferum on Tuesday November 03, 2020 @11:39AM (#24981212)
So no product marker fit and apparently no clear idea who the customer is. On the road to failure unfortunately.