the github gist url below contains a csv file. edit main.tsx to query this table. let's call the table solutions.
- for now, i want the results of the query
select * from solutions limit 10but scructure the file so it is easy for me to continue to develop a more complex sql query by hand.
here is the url: https://gist.githubusercontent.com/a-lexwein/e3e6a0817c71d57c063c238f519f8b45/raw/9a06a1e2f5e4c479bb653ff39dbb65f77cd60cff/thinkOfWords.csv
here are the first few rows on the csv id,rule,word,n_letters 1,starts with HI,histocompatibilities,20 1,starts with HI,histopathologically,19 1,starts with HI,historiographically,19 1,starts with HI,histocompatibility,18 1,starts with HI,histophysiological,18
below is the error I got when I ran main.tsx please fix. before you run any code, also edit main.tsx so that it errors out faster than 10m (start with 45s)
error: Uncaught (in worker "") (in promise) ReferenceError: require is not defined
at eval (eval at nodeWrap (blob:https://875ed3cd-ae4b-40bb-a45f-6a1970e11689.019c0171-8d01-73a9-9144-f04b5297179b.ecc8e214-b717-4354-824d-7c86172ade02.val.town/cfae58d9-eae3-44a4-9f74-868d0dd54fe5:1:11093), <anonymous>:1:1)
at nodeWrap (blob:https://875ed3cd-ae4b-40bb-a45f-6a1970e11689.019c0171-8d01-73a9-9144-f04b5297179b.ecc8e214-b717-4354-824d-7c86172ade02.val.town/cfae58d9-eae3-44a4-9f74-868d0dd54fe5:1:11093)
at createMethod (blob:https://875ed3cd-ae4b-40bb-a45f-6a1970e11689.019c0171-8d01-73a9-9144-f04b5297179b.ecc8e214-b717-4354-824d-7c86172ade02.val.town/cfae58d9-eae3-44a4-9f74-868d0dd54fe5:1:10843)
at blob:https://875ed3cd-ae4b-40bb-a45f-6a1970e11689.019c0171-8d01-73a9-9144-f04b5297179b.ecc8e214-b717-4354-824d-7c86172ade02.val.town/cfae58d9-eae3-44a4-9f74-868d0dd54fe5:1:18987
at blob:https://875ed3cd-ae4b-40bb-a45f-6a1970e11689.019c0171-8d01-73a9-9144-f04b5297179b.ecc8e214-b717-4354-824d-7c86172ade02.val.town/cfae58d9-eae3-44a4-9f74-868d0dd54fe5:1:19267
at blob:https://875ed3cd-ae4b-40bb-a45f-6a1970e11689.019c0171-8d01-73a9-9144-f04b5297179b.ecc8e214-b717-4354-824d-7c86172ade02.val.town/cfae58d9-eae3-44a4-9f74-868d0dd54fe5:1:494
at blob:https://875ed3cd-ae4b-40bb-a45f-6a1970e11689.019c0171-8d01-73a9-9144-f04b5297179b.ecc8e214-b717-4354-824d-7c86172ade02.val.town/cfae58d9-eae3-44a4-9f74-868d0dd54fe5:11:24907
at blob:https://875ed3cd-ae4b-40bb-a45f-6a1970e11689.019c0171-8d01-73a9-9144-f04b5297179b.ecc8e214-b717-4354-824d-7c86172ade02.val.town/cfae58d9-eae3-44a4-9f74-868d0dd54fe5:24:8746
info: Deno supports CommonJS modules in .cjs files, or when the closest
package.json has a "type": "commonjs" option.
hint: Rewrite this module to ESM,
or change the file extension to .cjs,
or add package.json next to the file with "type": "commonjs" option,
or pass --unstable-detect-cjs flag to detect CommonJS when loading.
docs: https://docs.deno.com/go/commonjs
ErrorEvent { bubbles: false, cancelable: true, composed: false, currentTarget: Worker { onerror: null, onmessage: null, onmessageerror: null }, defaultPrevented: false, eventPhase: 2, srcElement: null, target: Worker { onerror: null, onmessage: null, onmessageerror: null }, returnValue: true, timeStamp: 0, type: "error", message: "Uncaught (in promise) ReferenceError: require is not defined", filename: "blob:https://875ed3cd-ae4b-40bb-a45f-6a1970e11689.019c0171-8d01-73a9-9144-f04b5297179b.ecc8e214-b717-4354-824d-7c86172ade02.val.town/cfae58d9-eae3-44a4-9f74-868d0dd54fe5", lineno: 1, colno: 11093, error: null }
error in duckdb worker: Uncaught (in promise) ReferenceError: require is not defined
null