Lurker News

Comments (117) 43 threads

Earlier comments
spprashant1 reply#
There is a minor issue on Chapter 16.

The comment in the Answer section, uses the value "Recovered" but the value of interest is "Returned". This is correct in the actual story description, but wrong in the Answer comment.
Took me a few tries to figure it out.

trollmasterd1 reply#
Came here to post this, as well. It frustrated me for a few tries until I looked closer at what was actually in the data. Maybe it's meant to teach players to look at the data more critically. ;) Also noted that the "Learn" section on this chapter seems to end prematurely.

Other than this frustration, it's been fun so far!

robinLord#
A charitable read! Just a screw up on my part. A lot of this ended up quite hard-coded so when I updated tables sometimes I missed updating some instructions. Thanks for spotting!

And very glad you've been enjoying it aside from that! :-)

wdiamond#
I guess future games will work like this, just with more dolls on screen and maybe with natural language (but in fact sql). The range of actions is huge.
kroltan1 reply#
I got up to chapter 12, but on step 2 there seems to be some error in the preamble, I always get:

    Error: Query failed: SelectSQL: queryAll: near "With": syntax error
Even if my query is a trivial

    select * from crew
(Which is obviously not a correct solution, but should be valid SQL)
robinLord1 reply#
Thanks for this! Hmm might be something odd coming in with the way I'm smushing together the steps using with.

Could you share what you wrote for step 1? I thought I had a fix in place for anything ending in ; but there could be other things that are causing errors when put into with

kroltan1 reply#
I lost the contents because I closed the window since then, but it was something like

    select staff_name, pod_group, weight_kg
    from crew
    where status != "deceased";
Interestingly, running this now gives me a different error on step 2, which definitely did not happen before:

    Error: Query failed: SelectSQL: queryAll: near ";": syntax error
My step 2 is:

    select
      staff_name,
      pod_group,
      case
        when weight_kg > 10 then weight_kg
        else weight_kg * 10
      end as fixed_weight
    from filtered_crew
robinLord1 reply#
Erk, the most frustrating of bugs - an inconsistent one! I think you're hitting errors because in the background I'm adding the queried together in "with" statements and "with" can't have a ; at the end inside the brackets... but the thing is I came across that issue in testing and now I automatically strip out any trailing ; when I pro ess...

Just tested it, even added a bunch of spaces and line breaks at the end to see if that was confusing things but I still seemed to get through ok.
I want to fix this but for now could you try the steps without putting a semicolon at the end? Hopefully your patience/enthusiasm hasn't totally worn out at this point but even if you don't feel like reporting back I'm keen for you to be able to get past the frustration if you're still interested! :-)

Continue this thread — 1 reply

natemcintosh1 reply#
FYI, in the learning mission, it often asks something like "Get all of the columns from the "pods_list" table where status is 'functioning', and range is more than 1500."

I think it really means "Get all of the rows from ..."

robinLord#
Thanks! TBH I'm specifying all columns because the output will be expecting certain columns and even if the where clause is correct the test will fail unless the columns are right :-)

Load more comments