Better HN
topnewbestaskshowjobs
Log inSign up

da_rob

182 karma · joined Sep 1, 2019 (7y ago) · 37 submissions

Submissions

comment 5mo ago · link · parent

> I still miss the ability to "Reveal Codes" and see exactly where it had placed the non-printing codes to turn on/off bold, italics, to change margins, etc. [...]

Not a full replacement for WordPerfect, but Pure has "Reveal Codes" (F9): https://github.com/roblillack/pure

comment 7mo ago · link · parent

Well-written article!

I wish there was some kind of standard to tell CLI apps what features to expect from the system pager, so they can act accordingly …

Right now, apps can talk to the terminal to check for feature support, but all of that falls apart when the output is piped to a pager. (Do we support inline links? ANSI colors? Sixel support??)

Shameless plug, specifically regarding Sixel support: I needed a pager with better image support than just less -r and made https://github.com/roblillack/lessi

comment 7mo ago · link · parent

Yes, there is imgap: https://github.com/roblillack/imgap

You can use it to create delta images for git diff but also to interactively compare changes via git difftool.

comment 9mo ago · link · parent

Wow, this project (and actually the whole thread here) is awesome. Love it! Our (iPad-based) kitchen timetable[1] is nothing compared to the work (and money) Joel sank into this.

If someone wants to go the easy route towards something like this: iPad (Air 1, I think) is connected to the charger 24/7 and runs in Kiosk mode. Application is just a React website hosted on Vercel, client credentials are stored in localStorage …

[1]: https://roblillack.net/unser-stundenplan-family-timetable-vi...

5.

I Accidentally Built a Web Browser(roblillack.net ↗)

2 points · by da_rob · 1y ago · discuss

comment 1y ago · link · parent

It’s not PIC and not really suitable for complex diagrams, yet, but you can use Vizzlo’s Chart Vizzard to create a subset of the supported chart types (let’s say a Gantt) and then continue editing it using the chart editor: https://vizzlo.com/ai

comment 1y ago · link · parent

Author posted a screenshot here: https://bsky.app/profile/zaphar.bsky.social/post/3lc67gecky2...

8.

TUI spreadsheet app in Rust based on IronCalc engine(github.com ↗)

15 points · by da_rob · 1y ago · 4 comments

comment 2y ago · link · parent

OpenBSD support is quite a bit further: https://roblillack.net/openbsd-arm64-on-the-thinkpad-t14s

comment 2y ago · link · parent

IIRC it's the Calculator. :(

comment 2y ago · link · parent

> On both Windows and macOS, windows are clearly delimited by drop shadows.

https://www.threads.net/@roblillack/post/DBYOuivOPFV

comment 2y ago · link · parent

That did the trick, thank you!

comment 2y ago · link · parent

Screenshot:

https://imgur.com/hoOlRDy

Happy that this will finally be a feature of FF. Still pretty useless for me, though, for these reasons:

- There's an empty tab bar shown at the top of the window.

- Currently, there's now way to enable a wider sidebar that shows tab titles, too.

comment 2y ago · link · parent

Went through the list, all listed services are SaaS apps. :(

Granted, most of them are self-hosted (not all!), but this list needs to be called norecurringfee.com ….

comment 2y ago · link · parent

Geez, look at the build instructions! It all went downhill when they switched from Motif to GTK.

comment 2y ago · link · parent

The virtual component tree is needed as there is no 1:1 mapping of components to widgets.

Using the virtual tree, you are able to build components which dynamically change the rendered subtree based on the current state.

comment 2y ago · link · parent

Perfect use-case, IMHO! Looking forward to hear your thoughts ocne you tried it.

comment 2y ago · link · parent

For complex scenarios (i.e. the user interacting with the UI while there are some long-running processes in the backround doing this, too), managing the state quickly gets unwiedly: You need to write callback code everywhere that carefully has to inspect the current status of all other activities and might then updates 10s of widgets accordingly.

With the reactive approach you are able to write a single rendering function that describes the interface for any given state and the framework takes care of the rest (when to call that function, what "input" to give it).

It's just way easier to wrap my head around this and after working with React it is hard to go back. Hence the experiment to see if something comparable could be done in Go.

comment 2y ago · link · parent

Given the right C compiler and everything, Spot should work without changes on Windows (and select the FLTK) backend.

My (low prio, though) goal is to implement a Win32-based backend, though, the first step is done: https://github.com/roblillack/spot/pull/4

comment 2y ago · link · parent

Big fan of WxWindows, I'm just too invested into Go these days. :)

Self-contained Spot "Hello World" is 2.3MiB on my Mac. Not pretty, but works for me.

comment 2y ago · link · parent

No, it just means that the main goroutine should not be moved onto another OS thread to ensure that it is always the same OS thread which will run UI updates.

This is necessary for most UI libraries and in Spot's case implemented for both the FLTK and the Cocoa backend.

comment 2y ago · link · parent

The backends (FLTK/Gocoa) are using CGo, which currently does not support cross-compiling as far as I know.

So you still need to have a build pipeline with multiple operating systems, signing/notarization tools, etc. :(

comment 2y ago · link · parent

While I agree, that the virtual widget tree has a certain overhead, the typical desktop app you would create with Spot probably does not have 1000s of components—more like ten to twenty probably. Compare that to the immediate mode GUIs that currently are en vogue, that re-render all controls all the time.

Spot does not have any optimizations regarding render performance at the moment and it might never be necessary to add them.

On the other hand, due to the reactive programming model, I really like how state management get a lot clearer—especially when working with multiple goroutines.

24.

Show HN: Spot – Simple, cross-platform, reactive desktop GUI toolkit for Go(github.com ↗)

309 points · by da_rob · 2y ago · 57 comments

25.

2y ago · discuss

comment 3y ago · link · parent

The possibility to use dprint plugins (Dockerfile, TOML, Markdown, custom ones) would be awesome.

comment 3y ago · link · parent

Congrats to the team, the rebrand was overdue!

I'd love to see some kind of collaboration or interoperability with dprint in the future.

comment 3y ago · link · parent

I seem to be the last remaining user of Foursquare/Swarm in my city and really miss this openly crowdsourced approach to curating places. Yelp/Google Maps/TripAdvisor just feels too "commercial" for me.

Official announcement by Josh Williams here: https://twitter.com/jw/status/1634178431008247808

29.

GoWalla location tracking app returns(gowalla.framer.website ↗)

2 points · by da_rob · 3y ago · 1 comment

comment 4y ago · link · parent

Built something like this a few years ago: https://github.com/roblillack/vim-bufferlist
12