Johan Walles

Results 75 issues of Johan Walles

I want to profile this command line: ``` riff < /tmp/glp.txt > /dev/null ``` How can I do that using `cargo instruments`? [Riff](https://github.com/walles/riff) is a filter that reads data from...

## Summary If `TESTIFY_COLOR=true` is in the environment, then `expected` and `actual` values will be coloured in green and red respectively. ## Motivation Stolen from #994: > 1. @boyan-soubachov says...

This text is now maintained here: -- At least on my Mac, if I want to copy something using the mouse i need to hold alt while marking for the...

According to some terminals support querying the actual background color of the terminal window. Unclear what happens with background images / transparency, but still. Example usage, text after the second...

``` Exception in thread Poller: Traceback (most recent call last): File "/usr/local/Cellar/[email protected]/3.10.4/Frameworks/Python.framework/Versions/3.10/lib/python3.10/threading.py", line 1009, in _bootstrap_inner self.run() File "/usr/local/Cellar/[email protected]/3.10.4/Frameworks/Python.framework/Versions/3.10/lib/python3.10/threading.py", line 946, in run self._target(*self._args, **self._kwargs) File "/usr/local/Cellar/px/3.0.0/libexec/lib/python3.10/site-packages/px/px_poller.py", line 114, in...

If you do `px 1234`, `px` should include in its output the list of deleted files being held open by this process, or at least a top-ten by size. Here's...

Assuming this path (with spaces in it) exists... ``` /Applications/IntelliJ IDEA CE.app/Contents/lib/idea_rt.jar ``` ... then this command line... ``` /Library/Java/JavaVirtualMachines/openjdk-11.jdk/Contents/Home/bin/java -javaagent:/Applications/IntelliJ IDEA CE.app/Contents/lib/idea_rt.jar=53441:/Applications/IntelliJ IDEA CE.app/Contents/bin Main ``` ... should be...

I'm getting this in the launch counts pane (`sudo sudo udo` is not a thing): ``` kernel -> launchd -> fctupdate -> sudo sudo udo(1) -> cscmd(1) ``` Probably caused...

If you `exec()` a process outputting lots of stuff, and forget to empty its `stdout` pipe (or `stderr` if that's where the output is), the process will block. This tends...

Given this command... `/Users/johan/.vscode/extensions/ms-vscode.cpptools-0.26.3/bin/Microsoft.VSCode.CPP.Extension.darwin` ... we call it `darwin`. We should call it `Microsoft.VSCode.CPP.Extension.darwin` or something, and not just `darwin`, which is just confusing.