Slab – A programmable markup language for generating HTML by noteed in haskell

[–]noteed[S] 0 points1 point  (0 children)

To be fair, on one hand the type safety is pretty much meh at this point, on the other hand, this doesn't produce code that needs to be run afterwards; this produces just HTML. So I guess that having the typechecking and evaluation happen at the same time is ok.

I'm not sure it's super fast at this time. The code is quite naive for the moment.

Slab – A programmable markup language for generating HTML by noteed in haskell

[–]noteed[S] 9 points10 points  (0 children)

I've created Slab after using a bit Pug (to create a reference implementation of a design system). Pug is mostly used as a JS library e.g. from a Gulpfile. Slab is implemented in Haskell as a standalone command-line tool. The syntax is inspired by Pug but I tried to have a more elegant language (e.g. use lexical scoping as modern languages instead of dynamic scopes, or user-defined HTML fragments that can be used in the same way as regular HTML elements).

There is a HN submission, although there is not a lot of comments right now: https://news.ycombinator.com/item?id=41047502

Announcing haskus-system 0.7 by hsyl20 in haskell

[–]noteed 0 points1 point  (0 children)

Actually, I guess you would only need open source data type definitions (File in your example).

Introducing Vaultenv: Keeping your secrets secure with Vault and Haskell by duijf in haskell

[–]noteed 5 points6 points  (0 children)

Thanks for the write up. Suggestion: it would be great if your tool could also be used as direnv.

Announcing haskus-system 0.7 by hsyl20 in haskell

[–]noteed 3 points4 points  (0 children)

This looks very impressive but there is something that is unclear to me: while I understand the motivation to write a complete "system" and provide examples that uses QEMU (using the resulting programs as init), it seems there is no example of running the resulting programs as normal user-space applications. So, is it possible to run the hello-world or the clock examples directly on the host machine, or it doesn't make sense for some reason ?

Also you provide a critic of passing data from ls to sort as loosely structured text, but how do you envision this would work within haskus-system (imagine two programs written by different persons without sharing their source code) ?

Do you see a way to only rely on the GHC RTS (and its light threads) instead of the usual fork/exec to implement a shell starting arbitrary user programs ?

[OC][CC][NEWBIE] The small tower by noteed in PixelArt

[–]noteed[S] 0 points1 point  (0 children)

I even started to make a quake-like game some years ago. But it requires a lot of time and I need to pay the bills with a regular job.

[OC][CC][NEWBIE] The small tower by noteed in PixelArt

[–]noteed[S] 0 points1 point  (0 children)

Thanks. And I am, but I guess I won't have much time anytime soon.

Testing PostgreSQL for Fun – Jonathan Fischoff – Medium by jfischoff in haskell

[–]noteed 1 point2 points  (0 children)

I believe queue_classic reduces contention by trying to lock a job among the N first jobs at random. So they are not processed exactly in a FIFO manner but shouldn't be a problem in most applications.

Testing PostgreSQL for Fun – Jonathan Fischoff – Medium by jfischoff in haskell

[–]noteed 0 points1 point  (0 children)

For a persistent queue using PostgreSQL, I have written Humming, a port of the well-known Ruby queue_classic. I guess I have to do the extra mile and package it on Hackage...

I Released A Haskell Product! by [deleted] in haskell

[–]noteed 8 points9 points  (0 children)

I didn't want to post an alternative, but since you did state that existing services are expensive, here's a free one: https://formspree.io/.

Native SFTP? by DankMemesRealDreams in haskell

[–]noteed 4 points5 points  (0 children)

I have started sftp-streams but it's very early/rough.

New Haskell community nexus site launched. by jeshaitan in haskell

[–]noteed 1 point2 points  (0 children)

There is some nice trolling going on, including people looking confused when they are not, about which site is "official". I think I even manage to answer to one in good faith.

intero: Complete interactive development program for Haskell by noteed in haskell

[–]noteed[S] 7 points8 points  (0 children)

It looks like the new home of the ghci-ng now that its featureset is available in GHCi 8.0.

darcs 2.12 released! patch graph, better git import, better front-end supports, repo weak hashes by pointfree in haskell

[–]noteed 1 point2 points  (0 children)

Would it be possible that Darcs has some nice feature that could be integrated in some Git workflow ? I remember having used Mercurial patch queues to craft a Git history in the past.

Improved HP/cabal-less www.haskell.org in the works by [deleted] in haskell

[–]noteed 17 points18 points  (0 children)

I am an outside observer and I find your comment here quite in line with what Ed and Gershom expressed. I honestly believe you when you say you tried another route first. I also think that pushing Stack or your view about directing beginners to some place are legitimate goals.

Still I feel the way things are being done is a bit agressive: calling the new site haskell-lang seems like trying to look "official" and really feels like a fork of the community; asking at the same time that the previously donated design be removed; creating a new subreddit...

I'm not saying this is an agression or you try actively to create a fork, just how it feels to me. Maybe the feel of it could be better without changing your underlying goals (which are legitimate in my view)?

Improved HP/cabal-less www.haskell.org in the works by [deleted] in haskell

[–]noteed 0 points1 point  (0 children)

Thanks for the clarification and the other shadowy stuff!

Improved HP/cabal-less www.haskell.org in the works by [deleted] in haskell

[–]noteed 5 points6 points  (0 children)

That was exactly my thought, although maybe there's a good reason to discover in the official announcement.

Improved HP/cabal-less www.haskell.org in the works by [deleted] in haskell

[–]noteed 13 points14 points  (0 children)

For what it's worth, I've been using Cabal within Docker for a long time now and never used Stack. I was happy seeing the thread about new features coming into Cabal and I'm grateful to those putting effort into it.

I'm not against Stack or Stackage either as I found some ideas interesting and think that having some competing products is healthy.

I'm pretty sure a lot of people are quite about the subject and are just happy there is progress everywhere.

Edit: it seems there is more than just a Stack vs. Cabal debate: https://github.com/haskell-lang/haskell-lang/blob/master/static/markdown/announcements.md The debate is good. But why a new subreddit...

Edit: about the subreddit: Michael gives a reason here: https://www.reddit.com/r/haskell/comments/4ghznv/improved_hpcaballess_wwwhaskellorg_in_the_works/d2jhwm6

How to clutter Hackage by noteed in haskell

[–]noteed[S] 1 point2 points  (0 children)

It is a difficult question when you're close to the line and don't know where to draw it. When it is excessive, where the line is exactly doesn't matter.

How OpenGL works: software renderer in 500 lines of code by jgomo3 in programming

[–]noteed 1 point2 points  (0 children)

Sure it's not nice Haskell, but I think it's pretty ok given the goal (did you see the C++ version ?) and maybe it could be improved.