| Site | seva.rocks |
| Site | seva.rocks |
The Cursor editor is pretty impressive. I had to deal with a smaller GPU provider that had a poorly documented API, but I managed to whip up an SDK, a CLI tool, and a Prometheus exporter in just three days.
I’m not sure I’d want to use it for production closed-source stuff, but it seems super useful for open-source projects or anything that might become open-source down the line.
This commit replaces every instance of `assert`, `preconditionFailure`, and `fatalError` with calls to a custom implementation that logs the crash reason before terminating the process. Why? Because the geniuses who...
Here are a few more simple examples:
sequential read; parallel execution
```bash
cat <(log_with_sleep 1) <(log_with_sleep 2)
# 10:10:05.529 starting1
# 10:10:06.538 end1
# 10:10:05.529 starting2
# 10:10:06.537 end2
```
parallel read; parallel execution
```bash
(log_with_sleep "-1" & log_with_sleep "-2"& wait) | cat
# 10:11:43.079 starting-1
# 10:11:43.080 starting-2
# 10:11:44.094 end-1
# 10:11:44.094 end-2
```