Better HN
topnewbestaskshowjobs
Log inSign up

ajstarks

27 karma · joined Apr 18, 2010 (16y ago) · 35 submissions

Submissions

1.

Show HN: Decksh – a DSL for presentations and data visualizations(github.com ↗)

2 points · by ajstarks · 1y ago · 1 comment

comment 1y ago · link · parent

FYI, I use decksh [1][2] a DSL (aka "little language") for decks, information displays and charts decksh generates deck[3] markup that is rendered as PDF, SVG, or PNG.

[1] https://speakerdeck.com/ajstarks/decksh-a-little-language-fo...

[2] https://speakerdeck.com/ajstarks/decksh-object-reference

[3] https://github.com/ajstarks/deck/blob/master/README.md

comment 1y ago · link · parent

See related thread at the Unix Heritage Society mailing list: https://www.tuhs.org/pipermail/tuhs/2024-December/031185.htm...

comment 2y ago · link · parent

Re: #2, use

"buffer_font_weight": 600

in the settings.json to fix the font rendering.

comment 2y ago · link · parent

https://www.flickr.com/photos/ajstarks/albums/72157631470798...

comment 2y ago · link · parent

deck (https://github.com/ajstarks/deck), with its DSL decksh (https://github.com/ajstarks/decksh)

comment 2y ago · link · parent

See: https://speakerdeck.com/ajstarks/decksh-object-reference

comment 3y ago · link · parent

See: https://flickr.com/photos/ajstarks/albums/72157631470798870

comment 4y ago · link · parent

Not a GUI, per se, but there is decksh [1] and dchart: [2]

[1] https://speakerdeck.com/ajstarks/decksh-object-reference [2] https://speakerdeck.com/ajstarks/dchart-charts-from-deck-mar...

comment 4y ago · link · parent

Linux: mupdf, Windows: Sumatra PDF

comment 6y ago · link · parent

fyne: https://fyne.io/

comment 6y ago · link · parent

See: https://twitter.com/CharlieEatonPhD/status/12708573955105095...

comment 6y ago · link · parent

Digital re-creations: https://github.com/ajstarks/dubois-data-portraits

Presentation: https://speakerdeck.com/ajstarks/recreating-the-dubois-data-...

comment 7y ago · link · parent

See: https://twitter.com/ajstarks/status/1076694459717480448?s=20

comment 8y ago · link · parent

I use pdfdeck, a client of the Deck package [1,2]. Samples [3,4]

pdfdeck reads deck markup, and generates the PDF. The markup is created by hand or generated by other programs, for example the dchart [5,6] client.

I tend to avoid templates and work from a blank canvas.

[1] https://github.com/ajstarks/deck [2] https://speakerdeck.com/ajstarks/deck-a-go-package-for-prese... [3] https://speakerdeck.com/ajstarks/go-for-information-displays [4] https://speakerdeck.com/ajstarks/a-view-of-design-and-user-e... [5] https://github.com/ajstarks/deck/tree/master/cmd/dchart [6] https://speakerdeck.com/ajstarks/dchart-charts-from-deck-mar...

comment 9y ago · link · parent

I used this library to build the PDF client[1] for the deck [2] Go package. Here are some examples [3, 4, 5]

[1] https://github.com/ajstarks/deck/

[2] https://github.com/ajstarks/deck/tree/master/cmd/pdfdeck

[3] https://speakerdeck.com/ajstarks/the-other-side-of-go-progra...

[4] https://speakerdeck.com/ajstarks/a-view-of-design-and-user-e...

comment 9y ago · link · parent

where it happened: https://www.flickr.com/photos/ajstarks/albums/72157631470798...

comment 9y ago · link · parent

Here is a Go library for SVG generation:

https://github.com/ajstarks/svgo https://speakerdeck.com/ajstarks/svgo-code-plus-picture-exam...

comment 10y ago · link · parent

An alternative to to hand-written SVG is to use a (Go) library like svgo [1] to generate the markup programmatically. More info is also at [2] and [3]

[1] http://github.com/ajstarks/svgo [2] https://speakerdeck.com/ajstarks/the-other-side-of-go-progra... [3] https://www.youtube.com/watch?v=nuDO1oQxARs

comment 11y ago · link · parent

Now part of the SVGo package: https://github.com/ajstarks/svgo/blob/master/shotchart/shotc... get data from the network or local files)

comment 11y ago · link · parent

A version in Go: https://twitter.com/ajstarks/status/628262271026876416

comment 11y ago · link · parent

See also: gift (Go image filtering toolkit), and its command line tool:

https://github.com/disintegration/gift

https://github.com/ajstarks/gift

comment 11y ago · link · parent

I use the deck package [1, 2, 3], and the pdfdeck[4] client. As stated earlier, using PDFs simplifies both presenting and distribution.

The deck packages uses a simplified markup that is portable, easy to machine-generate, facilitates source control, and not locked to a vendor.

[1] https://speakerdeck.com/ajstarks/deck-a-go-package-for-prese...

[2] http://godoc.org/github.com/ajstarks/deck

[3] http://godoc.org/github.com/ajstarks/deck/generate

[4] https://github.com/ajstarks/deck/tree/master/cmd/pdfdeck

comment 11y ago · link · parent

Unassuming yet momentous line item on page 1-2:(j) EVA for 2 hours 40 minutes

comment 12y ago · link · parent

Here's another: deck, a Go package for presentations

http://github.com/ajstarks/deck https://speakerdeck.com/ajstarks/deck-a-go-package-for-prese...

comment 13y ago · link · parent

contains offensive and racist "vintage" content -- "Confederate Honey"

27.

Mars Code(usenix.org ↗)

6 points · by ajstarks · 13y ago · discuss

comment 14y ago · link · parent

If Go is your thing, consider SVGo (http://github.com/ajstarks/svgo). For samples, see: http://www.flickr.com/photos/ajstarks/sets/72157623441699483...

comment 14y ago · link · parent

I created SVGo, a Go package for generating SVG. (http://github.com/ajstarks/svgo) I use it for programming visualizations, and other creative coding tasks. For example, I use the goplay command and a browser, to "sketch with code", showing the code and resulting picture in one view -- I make a change, hit a keystroke and immediately see the result. (http://www.flickr.com/photos/ajstarks/6198774781/in/set-7215...)

SVGo paper from SVG Open 2011: (https://www.svgopen.org/2011/papers/34-SVGo_a_Go_Library_for...)

Samples: (http://www.flickr.com/photos/ajstarks/sets/72157623441699483...)

comment 15y ago · link · parent

Here's another one in 178 lines of Go: https://gist.github.com/1371135
12