Nick on Nostr: In the lab just now, with a student tearing their hair out over screenfuls of ...
In the lab just now, with a student tearing their hair out over screenfuls of compiler error messages - too much for the terminal buffer, so scrolling back won't take us to the origin of the issue.
I say "Let's redirect all the compiler output to a file and have a look at that". 'wc -l' tells me this file is 33,000 lines long.
We have a look and quickly identify the problem. One / from the // comment prefix on line 1 had been accidentally deleted.
Gotta love C++.
Published at
2024-11-21 16:47:13Event JSON
{
"id": "3cfcb08e9823a38c7c388558c738e6d63049a46c54bd64c738f83ec16d14df7b",
"pubkey": "6f1b7711073734c42c0025f806ddc157683c73df7ff28714977a890c9f6f5ea1",
"created_at": 1732207633,
"kind": 1,
"tags": [
[
"proxy",
"https://cyberplace.social/users/pythoneer/statuses/113521959499111911",
"activitypub"
]
],
"content": "In the lab just now, with a student tearing their hair out over screenfuls of compiler error messages - too much for the terminal buffer, so scrolling back won't take us to the origin of the issue.\n\nI say \"Let's redirect all the compiler output to a file and have a look at that\". 'wc -l' tells me this file is 33,000 lines long.\n\nWe have a look and quickly identify the problem. One / from the // comment prefix on line 1 had been accidentally deleted.\n\nGotta love C++.",
"sig": "3a1a676891d4554f84d106e4d2116b2f6ee4cc054086f2f5b188a763e6b4fd6bb215d1d12642050255ac7c1d6c612fa15be2c2d2b44a68f7a312504f28d99d67"
}