Better HN
topnewbestaskshowjobs
Log inSign up

_query

1,262 karma · joined Mar 7, 2014 (12y ago) · 293 submissions

Founder, digitally induced GmbH

https://www.digitallyinduced.com/

marc a t digitallyinduced com

Submissions

31.

How and why I got started with Haskell(wasp-lang.dev ↗)

1 points · by _query · 4y ago · discuss

32.

IHP: Haskell Web Framework(ihp.digitallyinduced.com ↗)

4 points · by _query · 4y ago · discuss

comment 4y ago · link · parent

In recent years the Haskell ecosystem has drastically improved.

With Haskell Language Server (HLS) there's now great autocompletion and inline error reporting for e.g. VSCode and other editors.

We've recently got dot-notation, so you can type `myRecord.myField` instead of `myField myRecord`, which makes Haskell code feel more familiar when switching from other languages.

With IHP we now even have a Haskell version of Rails/Laravel. It's really a superpower to have Haskell's type system combined with the rapid development approach of Rails :) Check it out here: https://ihp.digitallyinduced.com/ (I'm founder of IHP)

Serokell also has a great blog section on people using Haskell in the industry, e.g. recently there was an interview with the CTO of Mercury. https://serokell.io/blog/haskell-in-production

34.

IHP Haskell Framework v0.20 has been released(github.com ↗)

9 points · by _query · 4y ago · discuss

comment 4y ago · link · parent

Yes, it's possible to build a traditional web company with Haskell. We've made IHP exactly for that :) It's like Rails/Django but for Haskell. https://ihp.digitallyinduced.com/ We specifically try to be batteries-includes (like rails), so you don't have to think too much about what libraries to use, the core of IHP can get you very far without needing to manually decide between libraries.

IHP even won a G2 badge, which is kind of funny and ironic for a Haskell project :D https://www.g2.com/products/ihp/reviews

comment 4y ago · link · parent

Thanks to reintroduction of deep subsumption we could finally update IHP to the GHC 9 series. So really happy about the recent GHC releases :)

If you're curious about Haskell, IHP is a good starting point (https://ihp.digitallyinduced.com/ https://github.com/digitallyinduced/ihp). IHP is Haskell's version of Laravel/Rails/Django. It's really a superpower to have Haskell's type system combined with the rapid development approach of Rails :) (Disclaimer: I'm founder of the company that makes IHP)

37.

What's That Typeclass: Functor(serokell.io ↗)

3 points · by _query · 4y ago · discuss

38.

Open-Source Haskell: 21 Projects, Tools, and Libraries(serokell.io ↗)

7 points · by _query · 4y ago · discuss

39.

IHP: Haskell Framework for Type-Safe Web Applications(github.com ↗)

4 points · by _query · 4y ago · discuss

comment 4y ago · link · parent

Check out https://thin.dev/ :) It's similar, supports self-hosting and uses postgres. Quick demo video here: https://www.youtube.com/watch?v=-jj19fpkd2c&t=3s

(I'm founder of Thin)

41.

IHP: Haskell Web Framework(ihp.digitallyinduced.com ↗)

5 points · by _query · 4y ago · discuss

comment 4y ago · link · parent

Thanks! If you have feedback or questions once you tried it out, reach out any times :)

comment 4y ago · link · parent

Real-time by default for everything is really a fun way to write web apps. A little bit inspired by Meteor we've build Thin Backend, which provides a real-time API for querying data and writing to a postgres database. If you're interested, check it out at https://thin.dev/ or check the demo video https://www.youtube.com/watch?v=-jj19fpkd2c

44.

An Alternative Approach to State Management with Redux(thin.dev ↗)

1 points · by _query · 4y ago · discuss

comment 4y ago · link · parent

If you're new to IHP, here's a few links to get you started:

- Watch the intro video to get a rough overview of the framework: https://www.youtube.com/watch?v=UbDtS_mUMpI

- You can see all Features of IHP described on the website https://ihp.digitallyinduced.com/

If you want to play with IHP and build your first Haskell app:

- Installing IHP: https://ihp.digitallyinduced.com/Guide/installation.html

- Creating your First Project: https://ihp.digitallyinduced.com/Guide/your-first-project.ht...

- Building a Single Page App? Check Thin Backend (https://thin.dev/), it's basically IHP for Frontend :)

comment 4y ago · link · parent

Most of IHP is available open source and free. Like 99% of it. The IHP Pro features are mostly targeted at people making money with IHP (e.g. companies and freelancers). The idea is that the Pro plan provides a longterm incentive for maintaining the framework. When we make a great framework that creates a lot of value for developers, we will have a lot of paying customers. When we have a lot of paying customers, we can be sure that IHP will be actively developed far into the future.

If you want to learn a bit more about the ideas why we added the paid plan to IHP, check the initial announcement post here https://ihp.digitallyinduced.com/blog/6392ad84-e96a-46ce-9ab... :)

47.

Deploying an IHP Project to Fly.io(nathanjaremko.com ↗)

61 points · by _query · 4y ago · 18 comments

48.

Thin Back End: Instant TypeScript API for Your Postgres DB(github.com ↗)

2 points · by _query · 4y ago · discuss

comment 4y ago · link · parent

Hey, Founder of Thin here. Thanks for mentioning us :)

On RethinkDB: The post-mortem of RethinkDB is a good read https://www.defmacro.org/2017/01/18/why-rethinkdb-failed.htm...

If anyone has questions regarding Thin I'm happy to answer.

comment 4y ago · link · parent

IHP is mostly an open source project.

I comment on most Haskell threads about IHP because I would love to see more Haskell adoption. Most people think Haskell is about Monads and Math, with IHP we want to show that Haskell can be used in a very productive way to build things. The comments are typically well received, so I don't see any problem with this.

comment 4y ago · link · parent

Mysql support is not implemented at the moment. If there's someone paying for the development we could have it. You're of course also free to contribute it yourself to the open source version, then it wouldn't need to be part of the commercial version.

Some more background on why IHP has a paid variant can be found here: https://ihp.digitallyinduced.com/blog/6392ad84-e96a-46ce-9ab...

comment 4y ago · link · parent

If you want to do web development with Haskell beyond building a blog generator, a good starting point is IHP (https://ihp.digitallyinduced.com/ https://github.com/digitallyinduced/ihp). IHP is Haskell's version of Laravel/Rails/Django. It's really a superpower to have Haskell's type system combined with the rapid development approach of Rails :) (Disclaimer: I'm founder of the company that makes IHP)

comment 4y ago · link · parent

We have a couple users recently that are switching from different GraphQL services, so I expect this to be relevant for people checking out GraphJin :)

Thin was on the Frontpage of HN around a month ago: https://news.ycombinator.com/item?id=31164799

comment 4y ago · link · parent

This is basically the idea behind [Thin Backend](https://thin.dev/). Instead of exposing raw SQL strings we have a few high level functions to compose queries in a nice way and to do all kind of CRUD operations. These functions map 1:1 to SQL.

We use a WebSocket connection to keep all queries fast. Auth is solved with row level security.

It's even in the name: The backend layer is just a "thin" layer over the database. Most of the business logic is then implemented in a "rich" client/frontend.

comment 4y ago · link · parent

If you're looking for something like GraphJin, PostGraphile or Hasura but with less boilerplate and complexity, more end-to-end typesafe approach and optimistic updates, check out Thin Backend https://thin.dev/ (https://github.com/digitallyinduced/thin-backend)

Thin Backend takes a bit more of a higher level approach to database operations than services like GraphJin, but solves fundamentally the same problem. Doing things in a more structured way also allows us to do things like optimistic updates by default that require manual work with GraphQL tools.

To see some code examples, here's a small example project done with thin-backend: https://github.com/digitallyinduced/thin-backend-todo-app It's running on Vercel here: https://thin-backend-todo-app.vercel.app/

If you're interested in how building a small demo app with Thin looks like, check this video https://youtu.be/-jj19fpkd2c

comment 4y ago · link · parent

Check out Thin Backend https://thin.dev/

comment 4y ago · link · parent

Have you checked out thin.dev? We provide optimistc updates, local cache and realtime is the default for everything (offline persistence has not been the focus as we're not targeting mobile for now)

comment 4y ago · link · parent

ihp-backend was the "old" name before it was called thin backend. You can find the source code here https://github.com/digitallyinduced/thin-backend and here https://github.com/digitallyinduced/ihp/tree/master/lib/IHP/... (Thin is based on IHP)

comment 4y ago · link · parent

Yeah, initially we didn't have this. During beta our main servers were in europe, and while I was in SF I saw what a difference this made to the overall UX of our kind of realtime apps. Everything took like 200ms more :) With the optimistic updates it's now fast everywhere on the world.

comment 4y ago · link · parent

If you're looking for something like Appwrite or Supabase but with a more end-to-end typesafety approach + optimistic updates, check out Thin Backend https://thin.dev/ (https://github.com/digitallyinduced/thin-backend) It takes a bit more of a higher level approach to database operations than appwrite, supabase or firebase, which allows us to do things like optimistic updates that are hard to do in other tools.

To see some code examples, here's a small example project done with thin-backend: https://github.com/digitallyinduced/thin-backend-todo-app/bl... It's running on Vercel here: https://thin-backend-todo-app.vercel.app/

12345
10