It's not cheating, it just doesn't really help you. There's a lot of noise. You have to use grep, sed, etc. to find the text that's actually important.
I rarely use join and it never occurred to me. For combining the one file that had records spanning several lines, I used awk instead of grep -A as the hints suggest. Where the hints suggest a head/tail combination, I used sed. I also used sort piped to uniq in one case; combinations of those two are very often useful.
Yes, I agree - I think the name of the suspect should form part of the key required to decipher the solution file, so that you cannot see the solution unless your suspect is the perpetrator.
The frustration for me was gur haerfbyirq vapbafvfgrapl orgjrra gur pbssrr pyhr ng gur pevzr fprar naq Naanory'f jvgarff fgngrzrag.
Gur onevfgn ng gur pevzr fprar ercbegrqyl fnvq gung "n jbzna yrsg evtug orsber gurl urneq gur fubgf".
Zl haqrefgnaqvat: Pevzr fprar jnf gur fgerrg va sebag bs gur pbssrr cynpr.
Gur jvgarff vf gur ynfg crefba gung yrsg orsber gur fubgf (bhgfvqr) jrer sverq.
Gung fur ena nf fbba nf fur urneq gur fubgf svgf dhvgr va?
I'm a bit peeved that much of what is ROT13-ed in this thread isn't spoilers. I went through the trouble to decode it, and typically didn't find it worth the effort.
Hah, I had a similar idea a few months back [0]. Of course, being the lazy person that I am, I tweeted about it, wrote about it in my ideas notebook, and never implemented anything.
I recall a database query tutorial on the Apple Mac in the early 90s that took the form of a detective game. With clues, you gradually refined your query. I can't find any references to it now though.
Hah, that's awesome- if anyone knows of it, would love to know the name!
I'm definitely familiar with tutorials for programming languages/tools/environments using the medium itself, as you just described - but have never seen anything in game form. Further examples appreciated!
It started out like a game. There was a grey background, then footsteps appeared, marching across the screen to gravel-crunch noises. And the queries were for guests in a hotel, IIRC.
I'm not sure about on the Mac, but that sounds like the MS Works 1.0 tutorial for the database component. The scenario was for a ski field where there had been a murder, and you had to whittle down the suspects based on the clues found.
I believe the same one was available for DOS, though my memories of the details were vague. It was for either Works or Lotus 1-2-3 and was the culmination of a series of spreadsheet training scenarios.
Hey, I'm the one who made this. Glad you guys liked it! This one was a bit quick and dirty, done for a workshop at the Mozilla Festival last year, I'm going to try to do another installment though!
47 comments
[ 4.5 ms ] story [ 143 ms ] threadIt's a really neat idea and a cool way to give people some command-line practice.
V nz snzvyvne jvgu Fpbbol Qbb, gung jnf fb cerqvpgnoyr vg jbhyq qevir zr hc gur jnyy... "naq V jbhyq unir tbggra njnl jvgu vg, gbb, vs vg unqa'g orra sbe lbh zrqqyvat xvqf!"
The frustration for me was gur haerfbyirq vapbafvfgrapl orgjrra gur pbssrr pyhr ng gur pevzr fprar naq Naanory'f jvgarff fgngrzrag.
Gur onevfgn ng gur pevzr fprar ercbegrqyl fnvq gung "n jbzna yrsg evtug orsber gurl urneq gur fubgf".
Ohg Naanory Puhepu'f vagreivrj erpbeqf ure fnlvat gung fur "ena njnl nf fbba nf gur fubgf jrer sverq", gung vf, nsgre gur fubgf jrer sverq.
Vg znl or cbffvoyr gb erpbapvyr be rkcynva gubfr fgngrzragf, ohg gurl frrzrq gb zr gb jneenag ng yrnfg fbzr vairfgvtngvba.
Gung fur ena nf fbba nf fur urneq gur fubgf svgf dhvgr va?
Puts ROT13 encoders and decoders in your context menu, along with a lot of other good stuff.
Checking this out right now!
[0] https://twitter.com/gardaud/status/402608968029057027
I recall a database query tutorial on the Apple Mac in the early 90s that took the form of a detective game. With clues, you gradually refined your query. I can't find any references to it now though.
I'm definitely familiar with tutorials for programming languages/tools/environments using the medium itself, as you just described - but have never seen anything in game form. Further examples appreciated!
It started out like a game. There was a grey background, then footsteps appeared, marching across the screen to gravel-crunch noises. And the queries were for guests in a hotel, IIRC.
There's no Walton Street under streets. Same for a few others I checked. What gives?
https://github.com/veltman/clmystery/issues/1
https://github.com/veltman/clmystery/archive/master.zip
https://github.com/veltman/clmystery/issues/4 - I opened an issue about it, just in case the author did not realize this.