Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code:   DatasetGenerationError
Exception:    ChunkedEncodingError
Message:      ('Connection broken: IncompleteRead(8025876 bytes read, 2462693 more expected)', IncompleteRead(8025876 bytes read, 2462693 more expected))
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.12/site-packages/urllib3/response.py", line 779, in _error_catcher
                  yield
                File "/usr/local/lib/python3.12/site-packages/urllib3/response.py", line 925, in _raw_read
                  raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
              urllib3.exceptions.IncompleteRead: IncompleteRead(8025876 bytes read, 2462693 more expected)
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/usr/local/lib/python3.12/site-packages/requests/models.py", line 820, in generate
                  yield from self.raw.stream(chunk_size, decode_content=True)
                File "/usr/local/lib/python3.12/site-packages/urllib3/response.py", line 1091, in stream
                  data = self.read(amt=amt, decode_content=decode_content)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/urllib3/response.py", line 1008, in read
                  data = self._raw_read(amt)
                         ^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/urllib3/response.py", line 903, in _raw_read
                  with self._error_catcher():
                       ^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/contextlib.py", line 158, in __exit__
                  self.gen.throw(value)
                File "/usr/local/lib/python3.12/site-packages/urllib3/response.py", line 803, in _error_catcher
                  raise ProtocolError(arg, e) from e
              urllib3.exceptions.ProtocolError: ('Connection broken: IncompleteRead(8025876 bytes read, 2462693 more expected)', IncompleteRead(8025876 bytes read, 2462693 more expected))
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1779, in _prepare_split_single
                  for key, table in generator:
                                    ^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 609, in wrapped
                  for item in generator(*args, **kwargs):
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 197, in _generate_tables
                  batch = f.read(self.config.chunksize)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/utils/file_utils.py", line 844, in read_with_retries
                  out = read(*args, **kwargs)
                        ^^^^^^^^^^^^^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 728, in track_read
                  out = f_read(*args, **kwargs)
                        ^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/huggingface_hub/hf_file_system.py", line 1015, in read
                  return super().read(length)
                         ^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/fsspec/spec.py", line 1846, in read
                  out = self.cache._fetch(self.loc, self.loc + length)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/fsspec/caching.py", line 189, in _fetch
                  self.cache = self.fetcher(start, end)  # new block replaces old
                               ^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/huggingface_hub/hf_file_system.py", line 969, in _fetch_range
                  r = http_backoff(
                      ^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/huggingface_hub/utils/_http.py", line 310, in http_backoff
                  response = session.request(method=method, url=url, **kwargs)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/requests/sessions.py", line 589, in request
                  resp = self.send(prep, **send_kwargs)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/requests/sessions.py", line 724, in send
                  history = [resp for resp in gen]
                                              ^^^
                File "/usr/local/lib/python3.12/site-packages/requests/sessions.py", line 265, in resolve_redirects
                  resp = self.send(
                         ^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/requests/sessions.py", line 746, in send
                  r.content
                File "/usr/local/lib/python3.12/site-packages/requests/models.py", line 902, in content
                  self._content = b"".join(self.iter_content(CONTENT_CHUNK_SIZE)) or b""
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/requests/models.py", line 822, in generate
                  raise ChunkedEncodingError(e)
              requests.exceptions.ChunkedEncodingError: ('Connection broken: IncompleteRead(8025876 bytes read, 2462693 more expected)', IncompleteRead(8025876 bytes read, 2462693 more expected))
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1342, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                                                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 907, in stream_convert_to_parquet
                  builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1646, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1832, in _prepare_split_single
                  raise DatasetGenerationError("An error occurred while generating the dataset") from e
              datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

package
string
path
string
content
string
@!!!!!/elemental
main/.keep
@!!!!!/elemental
main/demo.html
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Test</title> </head> <script type="module"> // normal method: // const {html} = await import("https://cdn...
@!!!!!/elemental
main/deno_usage.js
// - import this file // - call a function, giving it a nearby main.jsx file // - the main.jsx imports elemental.createElement as html // - use deno's bundler to convert all the JSX into regular JS // - wrap the output inside of an index.html // - optionally start a server // - serve the index.html // - allow a...
@!!!!!/elemental
main/deno.bundle.js
var lu=[Uint16Array,Uint32Array,Uint8Array,Uint8ClampedArray,Int16Array,Int32Array,Int8Array,Float32Array,Float64Array,globalThis.BigInt64Array,globalThis.BigUint64Array].filter(u=>u),Eu=new Set([RegExp,Date,URL,...lu,globalThis.ArrayBuffer,globalThis.DataView]),Bu=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol....
@!!!!!/elemental
main/deno.js
import { toString, indent } from "https://deno.land/x/good@1.6.1.3/string.js" // import { toString, indent } from "/Users/jeffhykin/repos/good-js/source/string.js" import { allKeyDescriptions, } from 'https://deno.land/x/good@0.7.8/value.js' // minimized xhtm from: https://github.com/dy/xhtm const FIELD = "\ue0...
@!!!!!/elemental
main/main.bundle.js
// https://deno.land/x/good@1.6.1.3/value.js var typedArrayClasses = [ Uint16Array, Uint32Array, Uint8Array, Uint8ClampedArray, Int16Array, Int32Array, Int8Array, Float32Array, Float64Array, globalThis.BigInt64Array, globalThis.BigUint64Array ].filter((each) => each); var copyableClasses = /* @__P...
@!!!!!/elemental
main/main.js
// minimized xhtm from: https://github.com/dy/xhtm var e="",t="";function o(r){var p,a,l,s,c=arguments,i=this,n=0,d=[],h=0,u=[],f=0;d.root=!0;var g=function(e,o,r){void 0===o&&(o=[]);var p=0;return(e=r||e!==t?e.replace(/\ue001/g,e=>u[f++]):u[f++].slice(1,-1))?(e.replace(/\ue000/g,(t,r)=>(r&&o.push(e.slice(p,r)),p=r+1...
@!!!!!/elemental
package.json
{ "name": "@!!!!!/elemental", "version": "0.5.40", "description": "Control the elements using JS", "main": "main/main.bundle.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "git+https://github.com/jeff-hykin/elemental.git" }, ...
@!!!!!/elemental
README.md
# Try this library in the Browser Console on [Deno.land](https://deno.land/x/elementalist)! For VS Code use [this extension](https://marketplace.visualstudio.com/items?itemName=pushqrdx.inline-html) to get syntax highlighting. ```js var { html } = await import("https://deno.land/x/elementalist@0.5.39/main/deno.js?cod...
@!!!!!/elemental
main/html_attributes.txt
onabort onafterprint onbeforeprint onbeforeunload onblur oncanplay oncanplaythrough onchange onclick oncontextmenu oncopy oncuechange oncut ondblclick ondrag ondragend ondragenter ondragleave ondragover ondragstart ondrop ondurationchange onemptied onended onerror onfocus onhashchange oninput oninvalid onkeydown onkeyp...
@!!!!!/javascript
main/.keep
@!!!!!/javascript
settings/.cache/.keep
@!!!!!/javascript
settings/extensions/git/hooks/fsmonitor-watchman/.keep
@!!!!!/javascript
settings/extensions/git/hooks/post-merge/.keep
@!!!!!/javascript
settings/extensions/git/hooks/post-update/.keep
@!!!!!/javascript
settings/extensions/git/hooks/pre-applypatch/.keep
@!!!!!/javascript
settings/extensions/git/hooks/pre-commit/.keep
@!!!!!/javascript
settings/extensions/git/hooks/pre-merge-commit/.keep
@!!!!!/javascript
settings/extensions/git/hooks/pre-push/.keep
@!!!!!/javascript
settings/extensions/git/hooks/pre-receive/.keep
@!!!!!/javascript
settings/extensions/git/hooks/prepare-commit-msg/.keep
@!!!!!/javascript
settings/extensions/git/hooks/update/.keep
@!!!!!/javascript
settings/requirements/.keep
@!!!!!/javascript
settings/home/.zshenv
# # if you want to customize things, # change settings/automatic_setup/00100#setup_zsh.sh instead of editing this file # # don't let zsh update itself without telling all the other packages # instead use nix to update zsh DISABLE_AUTO_UPDATE="true" DISABLE_UPDATE_PROMPT="true" # # this shouldnt ever happen (PROJE...
@!!!!!/javascript
commands/tools/add_execute_permission
#!/usr/bin/env bash # if its a file if [[ -f "$1" ]]; then chmod ugo+x "$1" &>/dev/null || sudo chmod ugo+x "$1" fi # if its a directory if [[ -f "$1" ]]; then chmod -R ugo+r "$1" &>/dev/null || sudo chmod -R ugo+x "$1" fi # fail if the file/directory doesnt exist if ! [[ -e "$1" ]]; then return 0 fi
@!!!!!/javascript
commands/tools/add_to_gitignore
#!/usr/bin/env bash function escape_grep_regex() { sed 's/[][\.|$(){}?+*^]/\\&/g' <<< "$*" } function add_to_gitignore { if [[ -z "$PROJECTR_FOLDER" ]] then PROJECTR_FOLDER="$PWD" fi local ignore_file="$PROJECTR_FOLDER/.gitignore" # check if file exists if ! [[ -f ".gitignore" ]] ...
@!!!!!/javascript
commands/tools/automatic_setup
#!/usr/bin/env bash # # find and run all the startup scripts in alphabetical order # # this loop is so stupidly complicated because of many inherent-to-shell reasons, for example: https://stackoverflow.com/questions/13726764/while-loop-subshell-dilemma-in-bash for_each_item_in="$PROJECTR_FOLDER/settings/automatic_set...
@!!!!!/javascript
settings/extensions/nodejs/commands/check_node_modules
#!/usr/bin/env bash # if not in the standard env, try to make it work anyways if [[ -z "$PROJECTR_FOLDER" ]] then # check if file exists (standard project vars) if [[ -f "$PWD/settings/project.config.sh" ]] then source "$PWD/settings/project.config.sh" fi # check if file exists (custom proj...
@!!!!!/javascript
settings/extensions/python/commands/check_pip_modules
#!/usr/bin/env bash # if not in the standard env, try to make it work anyways if [ -z "$PROJECTR_FOLDER" ] then # check if file exists (standard project vars) if [ -f "$PWD/settings/project.config.sh" ] then source "$PWD/settings/project.config.sh" fi # check if file exists (custom project ...
@!!!!!/javascript
commands/project/clean
#!/usr/bin/env bash # summary # this just removes all of the can-be deleted files # can be useful for fixing corrupted setups mkdir -p "$PROJECTR_FOLDER/settings/when_cleaning" # this loop is so stupidly complicated because of many inherent-to-shell reasons, for example: https://stackoverflow.com/questions/13726...
@!!!!!/javascript
commands/project/commands
#!/usr/bin/env bash echo "commands:" echo " project" tree "$PROJECTR_COMMANDS_FOLDER/project" -C --dirsfirst -A -F --noreport | sed 's/^/ /' | sed -E 's/(\*|@)$/ /' | sed "1d" echo node -e 'try { Object.keys(require(process.env.PROJECTR_FOLDER+"/package.json").scripts).forEach(each=>conso...
@!!!!!/javascript
commands/tools/projectr/create_wrapped_command
#!/usr/bin/env bash # # find projectr if needed # if ! [ -d "$PROJECTR_FOLDER" ] then path_to_file="" file_name="settings/projectr_core" folder_to_look_in="$PWD" while : do # check if file exists if [ -f "$folder_to_look_in/$file_name" ] then path_to_file="$fol...
@!!!!!/javascript
commands/tools/string/escape_grep_regex
#!/usr/bin/env bash sed 's/[][\.|$(){}?+*^]/\\&/g' <<< "$*"
@!!!!!/javascript
commands/tools/string/escape_shell_argument
#!/usr/bin/env bash printf '%s' "'$(printf '%s' "$1" | sed 's/'"'"'/'"'"'"'"'"'"'"'"'/g')'"
@!!!!!/javascript
commands/tools/string/indent
#!/usr/bin/env bash __temp_var__indent="$2" if [ "$#" = "1" ] then __temp_var__indent=" {1,4}" fi printf '%s' "$1" sed 's/^/'"$__temp_var__indent"'/g' unset __temp_var__indent
@!!!!!/javascript
settings/extensions/nix/commands/lib_path_for
#!/usr/bin/env bash # example usage: # $ tools nix package_path_for 'glib' # >>> /nix/store/dcb3cyba5wl6qimv6vwdpbi0kg0g1nlb-glib-2.68.2/lib output="" # check if file exists if [ -f "$__PROJECTR_NIX_PATH_EXPORT_FILE" ] then # the sed part just removes the quotes output="$(cat "$__PROJECTR_NIX_PATH_EXPO...
@!!!!!/javascript
commands/ll
#!/usr/bin/env bash # this is just a helper command for listing files # it defaults to using "exa" but falls back on "ls" otherwise # if exa is not available, start going with backup plans if ! command -v "exa" &> /dev/null then # if mac if [[ "$OSTYPE" == "darwin"* ]] then # make use of BSD versi...
@!!!!!/javascript
settings/extensions/nix/commands/long_eval
#!/usr/bin/env bash # example usage: # $ tools nix long_eval 'a = 10; b = 11; return = a + b;' # >>> 21 nix-instantiate --eval -E '(rec { '"$1"' }).return'
@!!!!!/javascript
commands/tools/manual_setup
#!/usr/bin/env bash # # find and run all the startup scripts in alphabetical order # # this loop is so stupidly complicated because of many inherent-to-shell reasons, for example: https://stackoverflow.com/questions/13726764/while-loop-subshell-dilemma-in-bash for_each_item_in="$PROJECTR_FOLDER/settings/manual_setup/...
@!!!!!/javascript
commands/tools/mixin
#!/usr/bin/env bash git_mixin () { url="$1" branch="$2" commit="$3" if [[ -z "$url" ]] then echo "What is the url to the mixin?" read url fi if [[ -z "$branch" ]] then echo "What is the branch you want to mixin? (default=master)" read bra...
@!!!!!/javascript
settings/extensions/nix/commands/package_path_for
#!/usr/bin/env bash # example usage: # $ tools nix package_path_for 'glib' # >>> /nix/store/dcb3cyba5wl6qimv6vwdpbi0kg0g1nlb-glib-2.68.2/lib output="" # check if file exists if [ -f "$__PROJECTR_NIX_PATH_EXPORT_FILE" ] then # the sed part just removes the quotes output="$(cat "$__PROJECTR_NIX_PATH_EXPO...
@!!!!!/javascript
commands/pip
#!/usr/bin/env bash # summary # this only exists so that pip for-sure corrisponds to the python command python -m pip --disable-pip-version-check "$@"
@!!!!!/javascript
settings/projectr_core
# # NOTE: I wouldn't recommend adding new variables (or anything) here # # (but the existing vars can be changed, and you can add custom logic with settings/extensions/YOUR_THING/#initialize.sh) # # find this file # path_to_file="" file_name="settings/projectr_core" folder_to_look_in="$PWD" while : do # check...
@!!!!!/javascript
commands/project/purge
#!/usr/bin/env bash # summary # this is a nuclear cleaning option # - if its not part of the git repo # - and it will take a long time (>1min) to get the data back # => this command should get rid of it # useful when you're trying to reset a project back to 0 when debugging read -p "Are you sure? (y/n)" -n...
@!!!!!/javascript
settings/extensions/nix/commands/raw_find
#!/usr/bin/env bash find -L /run /nix -iname "$@" 2>/dev/null
@!!!!!/javascript
commands/tools/remove
#!/usr/bin/env bash if [ -f "$1" ] then rm -fv "$1" else rm -rfv "$1" fi
@!!!!!/javascript
commands/tools/string/remove_doublequotes
#!/usr/bin/env bash printf '%s' "$1" | sed -E 's/^"|"$//g'
@!!!!!/javascript
commands/shell
#! /usr/bin/env nix-shell #! nix-shell -i bash -p bash_5 -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/046f8835dcb9082beb75bb471c28c832e1b067b6.tar.gz # if no arguments (just starting the shell) give the welcome message export PROJECTR_ARGS="$@" # the comments above^ are special # they tell the system to proce...
@!!!!!/javascript
commands/start
#!/usr/bin/env bash # # summary # # this file is used to run commands # it loads the PROJECTR env variables first (./settings/projectr_core) # then in looks inside the commands folder for commands to run # no arguments will start the automatic environment # providing an argument (ex: clean) will ...
@!!!!!/javascript
commands/tools/storage
#!/usr/bin/env bash if [[ "$1" = "." ]] then du -sh "./"* GLOBIGNORE=".:.." du -sh "./."* else if [[ -d "$1" ]] then du -sh "$1" elif [[ -f "$1" ]] then ls -lh "$1" else echo "total remaining storage:" df -h / fi fi
@!!!!!/javascript
commands/tools/string/unindent
#!/usr/bin/env bash __temp_var__indent="$2" if [ "$#" = "1" ] then __temp_var__indent=" {1,4}" fi printf '%s' "$1" sed 's/^'"$__temp_var__indent"'//g' unset __temp_var__indent
@!!!!!/javascript
index.js
module.exports = evaler = { js: (strings, ...values)=>{ var safeNamespace = {Object, key:null, value:null, strings, values:[...values], eachValue: null, eachDefinition: null, overwrittenDefinition: undefined, evalString: ""} for (let each of strings) { safeNamespace.evalString += each ...
@!!!!!/javascript
package.json
{ "name": "@!!!!!/javascript", "version": "2.0.0", "description": "javascript > typescript", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "git+https://github.com/jeff-hykin/javascript.git" }, "keywords": [ ...
@!!!!!/javascript
poetry.lock
package = [] [metadata] lock-version = "1.1" python-versions = ">=3.7,<3.10" content-hash = "9bb64c4e388b0212ca6b8957dad730f771ae51e0d85efdda14e1fb74502c012e" [metadata.files]
@!!!!!/javascript
README.md
# How do I use it? `npm install '@!!!!!/javascript'` ``` let { js } = require("@!!!!!/javascript") let {a,b} = js` let b = 10 let a = 20 return { a, b } ` let g = ()=> { let localA = "I'm local" js`console.log(${{localA}})` } g() // works as expected ```
End of preview.

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

NPM registry dump, all code from all packages, WIP still dumping and formatting.

Downloads last month
-