Live data from Hacker News

Harlequin: DuckDB IDE for the terminal

harlequin.sh

31–40 of 61 posts

Re: Harlequin: DuckDB IDE for the terminal

#31
post #28
post #20

I'm not in love with this style of UI design in terminals: https://harlequin.sh/_app/immutable/assets/export.a0e81d27.p... Every item in the form takes 4 lines (I think?) whereas in more traditional curses UI they would be packed to one line per item, the scrollbar could have easily been avoided here. Smaller nitpick but that style of toggle switches is also form over function; I'd find traditional [X] far more clear…

+1. Lazygit is one of the few tools that does the TUI just right. Super functional UI + Easy discoverability = Chef's kiss.

TIL about LazyGit. Looks excellent. Thanks for the tip, and the UI feedback

Re: Harlequin: DuckDB IDE for the terminal

#32
post #20

I'm not in love with this style of UI design in terminals: https://harlequin.sh/_app/immutable/assets/export.a0e81d27.p... Every item in the form takes 4 lines (I think?) whereas in more traditional curses UI they would be packed to one line per item, the scrollbar could have easily been avoided here. Smaller nitpick but that style of toggle switches is also form over function; I'd find traditional [X] far more clear…

Agree. The best curses interfaces make liberal use of highlighting and color, rather than box drawing characters, which take up too much real estate. Besides lazygit, which rocks, I would even point to the old DOS versions of MS Word, which had popups that were information dense but readable.

Re: Harlequin: DuckDB IDE for the terminal

#35

what are the benefits of DuckDB?

In addition to the other examples given, it's a quick way to run sql commmands against a CSV, and lets you quickly export to Parquet as well run queries against Parquet files. If you're going to be using Parquet but want to run some quick tests (think setting up an Athena database) it's nice to do it ad hoc rather than having to setup a full ETL process first.

Re: Harlequin: DuckDB IDE for the terminal

#37

If anyone here is using DuckDB in production i'd love to hear what your stack looks like over the entire lifecycle of extract->transform->load.

We use it to sort parquets out of core and then the arrow interface to read into Python and export as geoparquets

Re: Harlequin: DuckDB IDE for the terminal

#38
I love this and will definitely try it out! Although I admit I'm a little puzzled when people simultaneously want to do a TUI but also design things so there is generous (excessive, actually) whitespace around everything to create the illusion of "minimalism" or "comfort".

It's a TUI! It should be buzzing with numbers, packed with information, sparing with space and using every pixel possible. btop[1] is a great example imo — one of the best.

[1]: https://github.com/aristocratos/btop

Re: Harlequin: DuckDB IDE for the terminal

#40

I need this but for C++, I kinda miss the old borland turbo C++ ide. mostly what I care about is terminal access and code navigation but other than some vim + plugins monstrosity I cant find any.

Same. Thousands text editors, but not a single IDE.

And they all get SO close, just give a look to SetEdit screenshots: https://setedit.sourceforge.net/

I don't know if it can be of any help for you, but at the moment on the terminal I mostly use:

- Tilde: https://github.com/gphalkes/tilde

- Textadept: https://github.com/orbitalquark/textadept

Or "Geany IDE" on desktop environment (while waiting for lapce.dev to get better), I tend to stay away as much as possible from VS Codium, but everyone else seems to love it and already forgot about Atom, few seems to realise how Microsoft really is.

Maybe the plot twist is that you have to accept in your heart that "writing text on anything, is the real IDE", and transcend to writing on nano!

Post reply on HN