190 karma · joined December 12, 2011
Edit: simultaneous post with my manager
--rename-properties WARNING: renaming properties requires deeper analysis, considered compilation in the US
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...
But maybe it increases the odds of a "Let's understand Playwright!" post in the future!
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!
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?
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
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
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.
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
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.
Python Prompt Toolkit is pretty stellar, enough so to motivated writing a command line interface in Python instead of another language in my opinion.
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 :)
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)
I felt very fortunate to have the money lying around to take three months off of work to attend Hacker School, and I imagine there is a large pool of entirely qualified candidates who are financially unable to make this work (several of them posted on HN last time around). If we assume happening to have the money socked away and being a passionate hacker are a bit independent, then this need-based aid for women will increase the number of entirely qualified women who are able to attend. This is the right, least-artificial way to "[encourage] the community of women programmers to apply to Hacker School on their own," as is possible for an organization that doesn't happen to run a k-12 educational program or other major institutional social change agent.
Although 5k for three months will modify the incentive structure, it's less than the average American income for that period, and your living expenses are going to increase if you're moving to NYC unless you're coming from Paris or similar. The only expected changes in the applicant pool are qualities I don't give a lick about, having to do with educational loans, having a job that can be done remotely for a few days a week, having money saved up, or personal financial conservatism (willingness to spend money on an unknown 3-month commitment). From what I've observed, Nick, Dave and Sonali are 100% about maintaining the excellent quality of people in their program, and I trust they will ensure that financial aid for women in no way undermines that.
This hopefully will "artificially inflate" (what wouldn't be artificial? just waiting until the problem is solved by someone else?) the number of women applying, some of whom will be accepted and hopefully become better hackers, contributing in a small way to fixing the problem. Should more drastic steps be taken at a primary / secondary / college education level to attempt to "organically" grow the community of women programmers? Sure, and I'll continue to vote for elected officials who say they'll try to fix this as I always have, but in the meantime the Etsy scholarships are trying to make concrete progress growing that community right now.