ihp
penrose
Our great sponsors
ihp | penrose | |
---|---|---|
87 | 10 | |
3,310 | 2,522 | |
4.8% | 0.4% | |
9.9 | 6.6 | |
3 days ago | about 1 month ago | |
Haskell | Haskell | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ihp
-
Show HN: Feature flags on the edge, with Haskell and Rust
Hey everyone! I wanted to play with Haskell ([IHP](https://ihp.digitallyinduced.com/)), and Rust (Cloudflare workers), so I decided to make a product with them. This is the MVP I’ve come up with. It supports teams, projects, environments, flag variations, scheduling and expiry, and a reasonably complete targeting system that support Boolean logic combining user ID targets, arbitrary metadata targeting, rollout targets, and default fallthrough variations. There’s a typescript and react SDK, and swagger API docs. The website runs on IHP, and the actual flag resolving API is deployed on cloudflare workers, so response times are generally 40-100ms. Coming soon: reusable groupings of users, and a dashboard showing all the users that have been targeted, what flags they evaluated, and what they evaluated to.
Let me know what you think!
-
Thin Backend - Instant Postgres Backend for React/Vue/Svelte/... Apps with Realtime , Optimistic Updates & Auto-generated TypeScript Bindings
Thin is also open source already. The client code can be found here https://github.com/digitallyinduced/thin-backend and the server code can be found mostly here https://github.com/digitallyinduced/ihp/tree/master/IHP/DataSync
You might want to check out IHP https://ihp.digitallyinduced.com It’s the same design principles that power thin, but designed for Multi page apps.
-
thin.dev: Typesafe realtime backend for react/svelte/.. apps, 400+ Stars on GitHub
Yep exactly, you can find it mostly here https://github.com/digitallyinduced/ihp/tree/master/IHP/IDE/SchemaDesigner But no Haskell is needed for using Thin itself
- IHP v0.19.0 has been released 🎉
-
11 Companies That Use Haskell in Production
Haskell is famous for it's quite an academic nature. But the ecosystem has drastically improved in recent years, so that that image is really outdated by now.
E.g. with Haskell Language Server we have nice autocompletion. Recently dot-notation has been added, so you can now write `someValue.someField` as in other languages. And the documentation is improving as well.
If you're doing web development, a good starting point is IHP (https://ihp.digitallyinduced.com/). 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)
-
Introduction to Haskell Typeclasses
If this post got you interested in learning more about Haskell and you want to see type classes in some real code, a great starting point for Haskell is IHP :)
IHP is a new Haskell framework with a focus on actual building applications. Imagine the productiveness of rails combined with the typesafety of Haskell.
It's now already the biggest Haskell web framework, we just hit 3200 GitHub stars. I belive Haskell can reach a lot more than it's currently doing if we get things easy to use.
If you want to build a web app with Haskell and play with type classes check it out: https://ihp.digitallyinduced.com/ GitHub: https://github.com/digitallyinduced/ihp
-
Show HN: Thin Back end, a universal back end for making realtime React Apps
Do you think making it more open source would solve the issue?
Thin is mostly based on IHP DataSync. You can the source code here https://github.com/digitallyinduced/ihp/blob/master/IHP/Data... Thin itself is just a "thin" wrapper around IHP and IHP DataSync.
Hey there, Founder of digitally induced here. Happy to share what've been working on with Thin Backend over the last months.
Thin is a version of the [IHP Framework](https://ihp.digitallyinduced.com/), designed to be used by frontend developers. Instead of building APIs with low-level `fetch` calls, we provide high-level APIs like `createRecord('tasks', { title: 'Hello World' }`, `updateRecord(..)` and `deleteRecord(..)` to update your database.
To simplify state management (which is typically hard and lot's of boilerplate), we provide realtime APIs so that all app state is always in sync with the actual database. Previously your react app might have been rendered from the redux state, now it's rendered directly from the server state.
The Schema Designer and the migration tools make it really easy to get going with a project.
Happy to hear everyone's feedback! :)
-
Discussion Thread
u/Evidencebasedonly (did i get that right) you are a Haskell dev no? I saw this framework recently, it looks cool, has code generators and a integrated JSX style DSL and all
penrose
- Just few questions on Miso and GHCjs
-
Memory from finished thread is not getting reclaimed
I know, but I'm using GHCJS so I'm pretty much stuck with it (and using different compiler versions for development builds (which are native executables) and production doesn't seem like a good idea). There is hope though https://github.com/ghcjs/ghcjs/commits/ghc-8.10
Other than that, I ran into a GHCJS and Miso bug, but they weren't too hard to solve.
-
GHC Pluggable Backend?
There are a bunch of open branches. And yes, there is ghcjs support in haskell.nix, see this comment.
-
Is GHCJS stuck on GHC 8.6.5?
Default branch on ghcjs github is 8.6. 8.10 is a wip with commit from around a month ago.
When I compile the ghc-8.8 branch locally, I get a number of test failures from the test suite. I'm not sure exactly how to fix them and they aren't currently my highest hobby priority.
- [Not OC] 10,000 Double Pendulums Simulation in C++ Console
-
Haskell Frontend with HOTWire? What are your thoughts?
https://gitlab.com/platonic/shpadoinkle/-/issues/29 https://gitlab.com/platonic/shpadoinkle/-/issues/100 https://gitlab.com/fresheyeball/Compactable/-/issues/3 https://github.com/ghcjs/ghcjs/issues/775
-
Why supporting all programming languages is a bad idea
In theory it is possible to write applications that run in the web browser in Java or C# or C++. There are compilers to compile Java to JavaScript or C++ to JavaScript/WebAssembly and a C# runtime that runs in the browser. In practice these technologies are very niche and only used for very few applications. The Cardano Wallet Daedalus is written in JavaScript even though most of the software for Cardano is written in Haskell and there exists a Haskell to JavaScript compiler. Ask yourself why. The reason is that Haskell developers are not used to writing web applications and there is no big library ecosystem for writing web applications in Haskell.
- Haskell is a Bad Programming Language (2020)
What are some alternatives?
Ruby on Rails - Ruby on Rails
haskell-ux - Let's make Haskells error messages helpful :)
miso - :ramen: A tasty Haskell front-end framework
ghc-proposals - Proposed compiler and language changes for GHC and GHC/Haskell
Hobo - The web app builder for Rails (moved from tablatom/hobo)
purescript-flame - Fast & simple framework for building web applications
hascard - flashcard TUI with markdown cards
ascii-art-to-unicode - Small program to convert ASCII box art to Unicode box drawings.
Phoenix - Peace of mind from prototype to production
gitpod - Gitpod automates the provisioning of ready-to-code development environments.
aeson-serialize - Functions for serializing a type that is an instance of ToJSON
nixfmt - A formatter for Nix code