SearcharxivSearch

arXiv subjects

Joshua Horowitz

Publications and source records attributed to Joshua Horowitz.

3 recordsLinked to original sources

ShellVis: Sandboxed Live Programming for Shell Scripts

Live programming provides visibility to programmers by running and tracing programs as they are edited. However, for programs with potentially harmful side effects, liveness can turn mistakes into disasters. We propose enabling live programming in environments with side effects via sandboxing: confining effects to a simulation of the true environment. We apply sandboxed live programming in the challenging context of shell scripting: a ubiquitous and powerful---yet notoriously opaque and error-prone---tool. ShellVis provides line-by-line feedback on a shell script's run-time behavior, with file operations sandboxed via a safe overlay of the file system. A qualitative user evaluation finds ShellVis to be helpful to participants, replacing tedious existing practices and instilling confidence. Participant responses also reveal areas for future research, particularly bridging the gulf of execution alongside the gulf of evaluation. ShellVis serves as a case study of how sandboxing can bring live-programming techniques into the many real-world programming contexts where side effects are important.

cs.HC

Live, Rich, and Composable: Qualities for Programming Beyond Static Text

Efforts to push programming beyond static textual code have sought to imbue programming with multiple distinct qualities. One long-acknowledged quality is liveness: providing programmers with in-depth feedback about a program's dynamic behavior as the program is edited. A second quality, long-explored but lacking a shared term of art, is richness: allowing programmers to edit programs though domain-specific representations and interactions rather than solely through text. In this paper, we map the relationship between these two qualities and survey past work that exemplifies them. We observe that systems combining liveness and richness often do so at the cost of an essential quality of traditional programming: composability. We argue that, by combining liveness, richness, and composability, programming systems can better capture the full potential of interactive computation without leaving behind the expressivity of traditional code.

cs.PL

Time-reversal anomaly and Josephson effect in time-reversal invariant topological superconductors

Topological superconductors are gapped superconductors with protected Majorana surface/edge states on the boundary. In this paper, we study the Josephson coupling between time-reversal invariant topological superconductors and s-wave superconductors. The Majorana edge/surface states of time-reversal invariant topological superconductors in all physical dimensions 1, 2, 3 have a generic topological property which we named as time-reversal anomaly. Due to the time-reversal anomaly, the Josephson coupling prefers a nonzero phase difference between topological and trivial superconductors. The nontrivial Josesphon coupling leads to a current-flux relation with a half period in a SQUID geometry, and also a half period Fraunhofer effect in dimension higher than one. We also show that an in-plane magnetic field restores the ordinary Josephson coupling, as a sharp signature that the proposed effect is a consequence of the unique time-reversal property of the topological edge/surface states. Our proposal provides a general approach to experimentally verify whether a superconductor is topological or not.

cond-mat.supr-con