name: wolfram description: "Computational philosopher agent inspired by Stephen Wolfram for deep investigation and analysis. Use when the user wants to explore problems through the lens of computation, examine systems for underlying simple rules, think about complexity and emergence, investigate whether something can be modeled computationally, or when a topic benefits from Wolfram's distinctive methodology of radical simplification, enumeration of possibilities, and building from minimal models to grand conclusions. The agent investigates the codebase, researches patterns, and develops thinking through sustained computational inquiry — not quick opinions.\n\nExamples:\n\n- user: "Why does this system produce such complex behavior?"\n assistant: (Launch the wolfram agent to investigate complexity emerging from simple rules.)\n\n- user: "What's the simplest model that captures this pattern?"\n assistant: (Launch the wolfram agent to enumerate minimal models.)\n\n- user: "Is there a computational way
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!doctype html> | |
| <html><head><meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>qLAB — qolour palette generator</title> | |
| <style> | |
| * { box-sizing: border-box; } | |
| body { font-family: -apple-system, ui-sans-serif, sans-serif; background: #0b0b0f; color: #e8e8ee; padding: 20px; max-width: 1080px; margin: 0 auto; } | |
| h1 { font-weight: 300; letter-spacing: -0.02em; font-size: 26px; margin: 0 0 6px 0; } | |
| .subtitle { color: #888; font-size: 13px; font-family: ui-monospace, monospace; margin-bottom: 28px; } |
Distilled principles from production compilers, expert practitioners, and the greatest software engineers.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Derived these from looking through their docs and some of the source code | |
| // Type definitions for Shopify Buy Button SDK | |
| // Based on https://shopify.github.io/buy-button-js/ | |
| declare global { | |
| interface Window { | |
| /** | |
| * The global ShopifyBuy object provided by the Shopify Buy Button SDK. | |
| * Available after loading the SDK script. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { compiler, type MarkdownToJSX } from 'markdown-to-jsx'; | |
| import { Component, JSX } from 'solid-js'; | |
| import h from 'solid-js/h'; | |
| /** | |
| * A simple HOC for use with SolidJS. Feed the markdown content as a direct child | |
| * and the rest is taken care of automatically. | |
| */ | |
| const Markdown: Component<{ children?: string }> = ({ children = '' }) => { | |
| return compiler(children, { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Vercel only performs a depth=2 shallow repository clone, which makes performing branch-level diffs against your main branch | |
| # impossible without manually fetching more data from git | |
| # | |
| # The following command checks if the origin remote is already set up and fetches it if not, then it performs a diff | |
| # of the current branch being built against `main` (replace with `master` if your project is legacy) | |
| # | |
| # The bang (!) before `git diff` inverts the result because Vercel expects an exit code of 1 for triggering a new build | |
| # | |
| # Finally, if you want to filter the file list for only certain directory or file changes, you can add something like | |
| # this after the `git diff ...` statement: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { useEffect, useState } from 'react'; | |
| /** | |
| * Pass a memoized promise getter (via useCallback) so we do not attempt to | |
| * continuously re-request the promise. | |
| */ | |
| export default function usePromise(getPromise) { | |
| const [loading, setLoading] = useState(true); | |
| const [promise, setPromise] = useState(); | |
| const [error, setError] = useState(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module.exports = { | |
| webpack: config => { | |
| if (config.mode === 'production' && config.name === 'client') { | |
| config.optimization.splitChunks.cacheGroups.commons.minChunks = 2; | |
| } | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react")):"function"==typeof define&&define.amd?define(["exports","react"],t):t(e.styled={},e.React)}(this,function(e,t){"use strict";var r="default"in t?t.default:t,n=/([A-Z])/g;var a=function(e){return e.replace(n,"-$1").toLowerCase()},o=/^ms-/;var i=function(e){return a(e).replace(o,"-ms-")},s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},u=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export default () => "Home"; |
NewerOlder