190 karma · joined Dec 12, 2011 (14y ago) · 39 submissions
comment 1y ago · link · parent
comment 1y ago · link · parent
5.
The Ent Framework: Meta's ORM(youtube.com ↗)
3 points · by thomasballinger · 3y ago · discuss
comment 4y ago · link · parent
I got to sit in for a day during prototyping for user 2 and was impressed but intimidated: reinventing the web stack is a lot of work! The team won me over though. If you have the chance to pair program with JP I highly recommend it, and I expect to be impressed by this team again in the future.
[1]https://github.com/compose-run/client [2]https://composerun.notion.site/Jan-2022-17761ede06f94e2abc42...
comment 4y ago · link · parent
But maybe it increases the odds of a "Let's understand Playwright!" post in the future!
comment 5y ago · link · parent
There's an outdated post about what was hard about the port at http://ballingt.com/porting-endless-sky/ – with Emscripten as good as it is, it really wasn't bad!
comment 5y ago · link · parent
12.
Offering a solution for Terminal Wide Character issues(jeffquast.com ↗)
3 points · by thomasballinger · 6y ago · discuss
13.
Inside a Hello World executable on OS X (2018)(adrummond.net ↗)
1 points · by thomasballinger · 6y ago · discuss
comment 6y ago · link · parent
But it's only available for Office 365 Education accounts, which is a product it seems I can't purchase as an individual.
Are there any educational institutions that I can pay to give me a accounts I could use for this? Or does anyone know what's involved in spinning up your own educational institution that Microsoft will sell Office 365 for education to?
15.
Observable for Jupyter Users(observablehq.com ↗)
3 points · by thomasballinger · 6y ago · discuss
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
I found Colin's posts real helpful when writing some WebAssembly by hand for the first few days of Advent of Code: https://observablehq.com/collection/@ballingt/advent-of-wasm
comment 7y ago · link · parent
comment 8y ago · link · parent
We tried plugging in the rlundo tool https://github.com/thomasballinger/rlundo to IPython, it works ok, see http://ballingt.com/interactive-interpreter-undo/ for the long story.
I wanted something like this for live programming and felt like I needed to write my own interpreter because the behavior you need is so different: http://dalsegno.ballingt.com
comment 8y ago · link · parent
comment 9y ago · link · parent
The render function here can be stateful, React vdom-style: diff with previous output, efficiently update output based on the perf characteristics of a terminal. But it's an entirely separate domain, which is great for the developer.
comment 9y ago · link · parent
This library looks real neat, a declarative TUI with an api already familiar to many developers. I've thought this would be a neat thing to exist since I started using React after having written a similar declarative, redraw-only-as-necessary terminal rendering library for bpython (http://ballingt.com/bpython-curtsies/).
In it (http://curtsies.readthedocs.io/en/latest/) the only rendering optimization was a line cache. For the specific use case of an interactive interpreter this worked pretty well: once a line is changing, it's probably changing a lot. But you could go further using the output of diffing of arrays of terminal text.
edit: whoa https://github.com/Yomguithereal/react-blessed looks awesome for this
comment 10y ago · link · parent
I'd be really interested to hear about other similar implementations of JavaScript in JavaScript. I stopped working on https://github.com/thomasballinger/hotswapping-js-interp#js-... partially because copying the state of the interpreter was relatively slow. I'd be interested in implementations that would handle this better by using a more bytecode-like VM or immutable data structures.
comment 10y ago · link · parent
Python Prompt Toolkit is pretty stellar, enough so to motivated writing a command line interface in Python instead of another language in my opinion.
comment 11y ago · link · parent
Docs for shortcut keys, for anyone F1 doesn't work for: http://docs.bpython-interpreter.org/configuration.html#keybo...
The F1 issue with GNOME terminal is frustrating, I agree a cheatsheet-style help page on the site would be good. I've been meaning to do this for a while and might finally get time to work through backlog next week :)
comment 11y ago · link · parent
See https://github.com/bpython/bpython for source, http://ballingt.com/bpython-curtsies for some (old) gifs.
More generally, build your own tools like this with the excellent Python Prompt Toolkit! (https://github.com/jonathanslenders/python-prompt-toolkit)
29.
Not everything is an expression(codewords.recurse.com ↗)
125 points · by thomasballinger · 11y ago · 53 comments