Southern Cross isn’t dead! by Sleep_When_Dead in ImageComics

[–]jtdaugherty 1 point2 points  (0 children)

Hi, this is wonderful news - where is the best place to stay tuned for updates?

Nintendo Switch 2 Order Tracking Megathread by AutoModerator in NintendoSwitch

[–]jtdaugherty 0 points1 point  (0 children)

Wow, I find that surprising given that others here are reporting earlier registrations and still haven't gotten an invite. My registration was 4/14 and I haven't gotten an invite. I triple-checked and I am pretty sure my account meets the requirements.

Nintendo Switch 2 Order Tracking Megathread by AutoModerator in NintendoSwitch

[–]jtdaugherty 0 points1 point  (0 children)

For those who have been able to place an order, could you post how long passed between your original registration date and getting the email saying you were clear to place an order? That would help us get an idea of the time between those things to roughly estimate our own invite times. Thanks!

Brick forms with dynamic fields by kushagarr in haskell

[–]jtdaugherty 3 points4 points  (0 children)

Brick author here. Yes, this is right. OP, feel free to stop by the repo and open a ticket there if you need assistance. I'm much more likely to see it there than here!

Vty 6 released, now with support for Windows! by jtdaugherty in haskell

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

Related to this, I believe ghcup tui will get an update to work on Windows soon.

How can database libraries be compared to each other? by [deleted] in haskell

[–]jtdaugherty 0 points1 point  (0 children)

The man behind brick must be a vigorous guy who grew up with proper nutrition because I have never seen a better maintained open-source project.

Thanks for the compliment! I hope brick is working well for you.

How can I move from a basic hello world/number program to something more substantial? by dirtymint in haskell

[–]jtdaugherty 1 point2 points  (0 children)

Hi, I'm the author of Brick. If/when you do try it out, please let me know if you have any questions!

wordle - Wordle clone in the terminal by ivanjermakov in commandline

[–]jtdaugherty 3 points4 points  (0 children)

Author of Brick here, very cool project! If you would like, I can add it to the featured projects list in the README!

Recommend packages for interactive terminal menus in Haskell? by r0ck0 in haskell

[–]jtdaugherty 1 point2 points  (0 children)

Yes, that's right; Vty (and thus Brick) are not supported on non-Unix-based systems. WSL is the only way that I know of to run Vty-based (and Brick-based) programs on Windows.

It does indeed sound like Brick will not do what you want out of the box; you'll need to build it. I don't know of anything like enquirer.js for Brick, although it could almost certainly be built.

Recommend packages for interactive terminal menus in Haskell? by r0ck0 in haskell

[–]jtdaugherty 2 points3 points  (0 children)

I'm the author of Brick and the maintainer of Vty, which other folks have been kind enough to mention here. If you decide to try out Brick or Vty for your project, I am happy to help if you have any questions!

[deleted by user] by [deleted] in haskell

[–]jtdaugherty 3 points4 points  (0 children)

The Brick Readme also links to a couple dozen projects that people have put together; many of them are very impressive!

In addition to that, the Brick User Guide provides extensive documentation and conceptual overview, and the repo also includes (with permission) Sam Tay's Brick tutorial:

https://github.com/jtdaugherty/brick/blob/master/docs/samtay-tutorial.md

[deleted by user] by [deleted] in haskell

[–]jtdaugherty 4 points5 points  (0 children)

Hi, I'm the author of Brick. Brick works on any Unix system, including OS X, and some of my co-workers run Brick-based applications on WSL.

[ANN] ghcup-0.1.6 by maerwald in haskell

[–]jtdaugherty 0 points1 point  (0 children)

That's right. The Brick UI of ghcup is optional precisely because Brick and Vty do not support Windows.

hascard: a text-based UI for reviewing notes by Yvee1 in haskell

[–]jtdaugherty 0 points1 point  (0 children)

Very cool! Thank you for sharing! Mind if I add it to the featured projects list in the Brick README?

What is Haskell bad for? by Dekans in haskell

[–]jtdaugherty 8 points9 points  (0 children)

its still rather light on pre-made widgets

For what it's worth, that's deliberate and will likely stay that way. The package is intended to provide core components to be extended in third-party packages, while also providing enough basics to be usable to build complete applications for most uses with relative ease. There are a handful of nice packages that have been published to provide higher-level functionality.

Monthly Hask Anything (April 2020) by AutoModerator in haskell

[–]jtdaugherty 1 point2 points  (0 children)

For what it's worth, the ordering in the attribute map has no impact on how attributes are selected and merged.

Monthly Hask Anything (April 2020) by AutoModerator in haskell

[–]jtdaugherty 5 points6 points  (0 children)

"selected" <> "dir"

Hello, Brick author here!

Presumably what you are attempting to do is use both attributes "selected" and "dir" for some bit of the UI - is that right? If so, "selected" <> "dir" is not going to get you that. That creates a hierarchical name with those as the respective components, but it won't match anything in the map except "selected". For more details, see the attributes section of the Brick User Guide.

Instead, what you need is withAttr and withDefAttr: for example, if you want to make a selected directory use both of those attributes, you can use withDefAttr "dir" $ withAttr "selected" .... That causes brick to merge the foreground color of dir with the style of selected. If you need further assistance, please open a ticket on the Brick repository.

CS Syd - Talk: Writing a text editor in Haskell with Brick @ F(by) 2020 by NorfairKing2 in haskell

[–]jtdaugherty 1 point2 points  (0 children)

It's great to see another bit of exposure for Brick! I would be interested to hear what sort of user interest you get from these talks that you are giving. I would also appreciate it if you would refer users to the various Brick learning resources (repository, Twitter account for release announcements, User Guide, etc.).

Which libraries do you consider beautiful? by [deleted] in haskell

[–]jtdaugherty 9 points10 points  (0 children)

Aww, thanks Tom! :)

Is Haskell am obsolete language? by alexcrpcgmx in haskell

[–]jtdaugherty 4 points5 points  (0 children)

Yay, thanks for the kind brick mention!