<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Hex &#8211; iAIFeed</title>
	<atom:link href="https://www.iaifeed.com/tag/hex/feed" rel="self" type="application/rss+xml" />
	<link>https://www.iaifeed.com</link>
	<description>iAIFeed</description>
	<lastBuildDate>Mon, 09 Nov 2026 12:51:14 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.5</generator>

<image>
	<url>https://www.iaifeed.com/wp-content/uploads/2026/07/cropped-iaifeed1-80x80.png</url>
	<title>Hex &#8211; iAIFeed</title>
	<link>https://www.iaifeed.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to Keep Hex Notebooks Fast and Reviewable on a Data Team</title>
		<link>https://www.iaifeed.com/how-to-keep-hex-notebooks-fast-and-reviewable</link>
					<comments>https://www.iaifeed.com/how-to-keep-hex-notebooks-fast-and-reviewable#respond</comments>
		
		<dc:creator><![CDATA[iamltlb]]></dc:creator>
		<pubDate>Mon, 09 Nov 2026 12:51:14 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Hex]]></category>
		<guid isPermaLink="false">https://www.iaifeed.com/how-to-keep-hex-notebooks-fast-and-reviewable</guid>

					<description><![CDATA[Notebooks rot: slow cells, mystery numbers and no ownership. A structure for Hex projects that stays fast, reviewable and easy to hand over.]]></description>
										<content:encoded><![CDATA[<p>A <a href="https://www.iaifeed.com/ai-tool/hex">Hex</a> project that everyone likes in month one becomes an abandoned notebook by month six. The cells are slow, nobody remembers which filter was intentional, and the person who wrote it changed teams.</p>
<p>Most of that is structure, not tooling. Five conventions fix the common failures, and each one is a habit rather than a feature.</p>
<h2 id="why-do-notebook-projects-get-slow">Why do notebook projects get slow?</h2>
<p>Because every cell that depends on a query re-runs it, and outputs render every time the project opens. A naive Hex project with a 40-second aggregation feeding six charts reruns that aggregation for each dependent cell unless caching is set.</p>
<p>Hex runs cells in dependency order and lets you cache a cell&#8217;s result. Two settings do most of the work:</p>
<ul>
<li><strong>Cache the expensive cell</strong> — the join or aggregation — with a reasonable TTL. Charts then read cached output. &#8211; <strong>Split heavy transformations into SQL.</strong> A Python cell doing a groupby on 5 million rows is 30 times slower than the same groupby pushed to the warehouse, and it also bills compute on the wrong machine.</li>
</ul>
<p>The rule that holds: push filtering and aggregation to SQL, use Python for modelling and plotting.</p>
<h2 id="how-do-you-stop-a-project-from-becoming-one-giant-cell">How do you stop a project from becoming one giant cell?</h2>
<p>Name every cell after what it produces, not after what it does. <code>revenue_by_region_monthly</code> is referenceable by other cells and legible in a dependency graph; <code>Query 4</code> is neither.</p>
<p>A workable structure for a project that answers one question:</p>
<ol>
<li><strong>Parameters</strong> — region, date range, segment. One cell, referenced everywhere. 2. <strong>Base dataset</strong> — one SQL cell with all the joins, cached. 3. <strong>Derived tables</strong> — a few mid-level SQL cells, each named. 4. <strong>Analysis</strong> — Python for statistics and plots, reading the derived tables. 5. <strong>Output</strong> — the charts and tables that go in the app layout.</li>
</ol>
<p>Five layers, and a new teammate can follow the flow by reading names. Projects where a single SQL cell is 300 lines long are the ones nobody dares edit.</p>
<h2 id="how-do-you-make-a-number-trustworthy">How do you make a number trustworthy?</h2>
<p>Notebooks fail audits because the number on the chart has no trail. Three habits:</p>
<ul>
<li><strong>Assert your totals.</strong> A cell that checks row count and sum against the source table, and visually fails if they differ. Cheap, catches join fan-out, which is the most common silent error. &#8211; <strong>Comment the non-obvious filter.</strong> &#8220;Excluding internal accounts&#8221; written in a cell comment survives; the same knowledge in someone&#8217;s head does not. &#8211; <strong>Pin the data snapshot when the number matters.</strong> Warehouse tables change. A report that said 4.2M last month and says 4.1M today for the same period is a data question, not an analysis error, and saying so in the project saves a day of investigation.</li>
</ul>
<h2 id="how-does-review-work-for-a-notebook">How does review work for a notebook?</h2>
<p>Hex projects do not have pull requests everywhere, but the version history is per-project and cells show who last edited them. Make review a habit:</p>
<ul>
<li>Before publishing to an app, have someone who did not write the project open it cold and try to explain the top-line number from the cells alone. &#8211; Any cell that changed a headline number gets a comment stating why. &#8211; Delete dead cells. A project with nine exploratory cells that were abandoned is worse than the version with three.</li>
</ul>
<p>The cold-open test catches more problems than reading a diff, because notebook diffs are hard to read and nobody actually does it.</p>
<h2 id="what-is-the-ai-assistants-role-in-a-reviewed-project">What is the AI assistant&#8217;s role in a reviewed project?</h2>
<p>The assistant is most useful at the start of a project — scaffolding a query against an unfamiliar schema — and least useful at the end, where it will happily rewrite a working chart.</p>
<p>Where it genuinely helps in maintenance: generating the assertion cell, explaining what an inherited query does, and proposing a SQL version of a slow Python transformation. Those are read-heavy tasks on existing code, which is the assistant&#8217;s best mode.</p>
<p>Do not let it rename or restructure cells in a project others depend on. That produces a diff nobody can follow and breaks downstream references.</p>
<h2 id="what-does-this-cost-the-team">What does this cost the team?</h2>
<p>Hex bills per editor on team plans; viewers of published apps are typically not billed. The hidden cost is warehouse compute from notebooks that re-run large queries on open.</p>
<p>A quarterly pass over active projects, checking which cells lack caching and which SQL scans full tables, is a half-day of work that usually removes a meaningful slice of warehouse spend. It is also a good moment to delete the abandoned cells.</p>
<h2 id="when-is-a-notebook-the-wrong-home-for-this">When is a notebook the wrong home for this?</h2>
<p>If the output is a number someone checks daily, it belongs in a scheduled BI dashboard, not a notebook that a person opens. If it is a repeatable transformation feeding a production table, it belongs in dbt or a scheduled job.</p>
<p>Hex is for the work between: exploring, deciding, and presenting a conclusion that will be revisited.</p>
<h2 id="quick-summary">Quick Summary</h2>
<ul>
<li>
<p>Notebooks get slow when expensive aggregations re-run per dependent cell; cache the heavy cell and push aggregation into SQL instead of pandas.</p>
</li>
<li>
<p>Name cells after their output and use a five-layer structure — parameters, base, derived, analysis, output — so the project is readable.</p>
</li>
<li>
<p>Add an assertion cell comparing row count and totals to the source; join fan-out is the most common silent error.</p>
</li>
<li>
<p>Review with a cold open: someone who did not write it explains the headline number from the cells alone.</p>
</li>
<li>
<p>Use the AI assistant for scaffolding and explanation, not for restructuring a project others depend on.</p>
</li>
</ul>
]]></content:encoded>
					
					<wfw:commentRss>https://www.iaifeed.com/how-to-keep-hex-notebooks-fast-and-reviewable/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Analyze a CSV in a Hex Notebook with the AI Assistant</title>
		<link>https://www.iaifeed.com/how-to-analyze-a-csv-in-a-hex-notebook</link>
					<comments>https://www.iaifeed.com/how-to-analyze-a-csv-in-a-hex-notebook#respond</comments>
		
		<dc:creator><![CDATA[iamltlb]]></dc:creator>
		<pubDate>Mon, 09 Nov 2026 12:50:49 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Hex]]></category>
		<guid isPermaLink="false">https://www.iaifeed.com/how-to-analyze-a-csv-in-a-hex-notebook</guid>

					<description><![CDATA[Hex is a collaborative notebook for data work. Upload a CSV, ask the assistant for SQL, fix the generated code, and publish the result as a shareable app.]]></description>
										<content:encoded><![CDATA[<p><a href="https://www.iaifeed.com/ai-tool/hex">Hex</a> is a notebook workspace for data analysis that runs SQL and Python in the same document, with an AI assistant that writes queries against your actual schema.</p>
<p>The difference from a local notebook is collaboration and publishing: two people can edit at once, and the finished analysis can be shared as an interactive app rather than a file someone has to re-run.</p>
<h2 id="how-do-you-get-a-csv-into-hex">How do you get a CSV into Hex?</h2>
<p>Create a project, then upload. There is a drag-and-drop upload in the project sidebar; behind it is a table in Hex&#8217;s data warehouse layer.</p>
<p>Two paths, and the right one depends on size:</p>
<ul>
<li><strong>Small file, under about 100 MB</strong> — upload directly and query it as a table. &#8211; <strong>Anything larger, or recurring</strong> — put the file in S3, BigQuery, Snowflake or Postgres and connect to it. Uploading a 2 GB CSV will work eventually and then make every query slow, because the uploaded table lives in a shared environment.</li>
</ul>
<p>Connect a warehouse if you have one. The assistant is much better when it can read real column types and table comments rather than inferring from a sample.</p>
<h2 id="how-do-you-ask-the-assistant-to-write-the-first-query">How do you ask the assistant to write the first query?</h2>
<p>Open a SQL cell and describe the analysis in plain language: &#8220;monthly revenue by region for 2025, excluding refunds.&#8221;</p>
<p>The assistant generates SQL against the connected schema and shows the result inline. It is worth knowing what it does poorly: joins across more than three tables, window functions with unusual ordering, and anything that depends on business definitions you have not written down (&#8220;revenue&#8221; means different things to finance and to product).</p>
<p>Define those terms in a cell comment or a markdown cell above the query. The assistant reads them, and — more importantly — so does the next person who opens the project.</p>
<h2 id="why-is-the-generated-sql-usually-close-but-wrong">Why is the generated SQL usually close but wrong?</h2>
<p>Because schema names are ambiguous and the assistant has to guess. Real examples:</p>
<ul>
<li>A table with both <code>created_at</code> and <code>activated_at</code>; the assistant picks one. &#8211; A <code>status</code> column with values it has not seen in the sample, so the filter misses three states. &#8211; Currency columns with mixed units, which silently sums different things.</li>
</ul>
<p>Fix: before trusting any generated query, run it with <code>SELECT * LIMIT 20</code> on the filtered set and read the rows. Thirty seconds of eyeballing catches most of these. Then convert the assumptions into an explicit <code>WHERE</code> clause so the query says what it means.</p>
<h2 id="how-does-hex-handle-python-alongside-sql">How does Hex handle Python alongside SQL?</h2>
<p>A Python cell can reference any previous SQL result by name as a dataframe. So <code>df = revenue_by_region</code> and then pandas or plotting on top.</p>
<p>The environment is managed — pandas, matplotlib, plotly, scikit-learn and a broad set of common libraries are pre-installed, with version pinning per project. Adding a package that is not available requires the project to use a custom environment, which on the paid tiers is a configuration step, not a <code>pip install</code> line.</p>
<p>That constraint surprises people coming from Jupyter. Pin the versions you need in the project environment config rather than installing at runtime.</p>
<h2 id="how-do-you-turn-the-analysis-into-something-other-people-use">How do you turn the analysis into something other people use?</h2>
<p>Switch the cell outputs to app layout: choose which charts and tables appear, arrange them, add input filters. The project then publishes as an app with its own URL and permissions.</p>
<p>This is where Hex earns its keep over a notebook export. A shared spreadsheet goes stale; an app re-runs the query on open. A parameterised filter turning a static report into a self-serve one saves a weekly request in most teams.</p>
<p>Watch the cost side: an app opened by 50 people a day runs the queries 50 times unless you enable caching on the underlying cells, which caches results for a set period. Cache the expensive aggregation, not the cheap filter.</p>
<h2 id="what-does-it-cost">What does it cost?</h2>
<p>Hex has a free community tier for individual work with limited project history and no private projects on some plans; team plans are per-editor with published apps usually free for viewers. The warehouse cost is yours regardless — a badly written query in Hex costs the same as a badly written query anywhere.</p>
<h2 id="who-should-not-use-this">Who should not use this?</h2>
<p>If your analysis is a fixed daily metric, a BI tool with a scheduled dashboard is simpler and cheaper than a notebook. If you only ever run something once, a local Python script plus a CSV file needs no account.</p>
<p>Hex fits the middle: exploratory work that will be revisited, shared, or turned into a small app by a team where not everyone writes SQL.</p>
<h2 id="quick-summary">Quick Summary</h2>
<ul>
<li>
<p>Hex runs SQL and Python in one notebook; upload CSVs under about 100 MB or connect a warehouse for anything larger or recurring.</p>
</li>
<li>
<p>The AI assistant writes decent queries against a real schema, but guesses on ambiguous columns and undefined business terms.</p>
</li>
<li>
<p>Verify generated SQL by reading 20 rows of the filtered output, then make assumptions explicit in the WHERE clause.</p>
</li>
<li>
<p>Python cells read previous SQL results as dataframes; packages come from a pinned project environment, not runtime installs.</p>
</li>
<li>
<p>Publishing as an app with cached expensive cells turns a one-off analysis into a self-serve report.</p>
</li>
</ul>
]]></content:encoded>
					
					<wfw:commentRss>https://www.iaifeed.com/how-to-analyze-a-csv-in-a-hex-notebook/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Build an Interactive Data Dashboard in Hex with Python and SQL</title>
		<link>https://www.iaifeed.com/how-to-build-an-interactive-data-dashboard-in-hex-with-python-and-sql</link>
					<comments>https://www.iaifeed.com/how-to-build-an-interactive-data-dashboard-in-hex-with-python-and-sql#respond</comments>
		
		<dc:creator><![CDATA[iamltlb]]></dc:creator>
		<pubDate>Thu, 03 Sep 2026 12:12:48 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Hex]]></category>
		<guid isPermaLink="false">https://www.iaifeed.com/how-to-build-an-interactive-data-dashboard-in-hex-with-python-and-sql</guid>

					<description><![CDATA[Learn how to build an interactive data dashboard in Hex. Step-by-step guide to combining SQL and Python, adding input controls, and publishing a shareable analytics app.]]></description>
										<content:encoded><![CDATA[<p class="wp-block-paragraph">Shipping a data analysis to stakeholders usually means writing a notebook, cleaning it up, rebuilding a separate dashboard, or handing over one-off charts. Hex collapses that workflow by letting you analyze in a notebook and publish an interactive app from the same cells &#8211; with SQL, Python, and AI help all in one browser-based workspace.</p>
<p class="wp-block-paragraph">Here is how to take a raw dataset and turn it into an interactive, shareable dashboard in Hex.</p>
<h2 class="wp-block-heading">Step-by-Step Guide</h2>
<h3 class="wp-block-heading">1. Set up your data connection</h3>
<p class="wp-block-paragraph">Create a project in Hex and connect your data source &#8211; a data warehouse, database, or file. Hex runs analysis on cloud infrastructure, so you can pull large datasets without burdening your local machine.</p>
<h3 class="wp-block-heading">2. Write an analysis in SQL and Python</h3>
<p class="wp-block-paragraph">Start with a SQL cell to query and shape your data, then pull the result into Python cells for more advanced transformation and calculations. Hex lets SQL and Python share variables fluidly in the same notebook.</p>
<h3 class="wp-block-heading">3. Add input controls for interactivity</h3>
<p class="wp-block-paragraph">Use Hex input controls &#8211; dropdowns, toggles, and numeric sliders &#8211; to turn your analysis into an app. When a stakeholder changes a filter or a date range, the notebook re-runs and updates the outputs automatically.</p>
<h3 class="wp-block-heading">4. Build visualizations and charts</h3>
<p class="wp-block-paragraph">Add charts and tables that respond to the controls. Because everything is one notebook, your charts update live from the same code that produced the underlying analysis &#8211; no fragile copy-paste between tools.</p>
<h3 class="wp-block-heading">5. Publish and share with governance</h3>
<p class="wp-block-paragraph">Publish the notebook as a Hex app with a shareable link, set the appropriate permissions, and schedule recurring runs if the data refreshes. Stakeholders can explore live data without needing your code or credentials.</p>
<p class="wp-block-paragraph">Hex bridges the gap between exploratory notebooks and polished analytics apps. By combining SQL, Python, and interactive controls in one governed platform, you can build dashboards that decision-makers can actually use &#8211; and update &#8211; without a data team in the loop. See more on the <a href="https://www.iaifeed.com/ai-tool/hex">Hex</a> tool listing.</p>
<p class="wp-block-paragraph">Start small with one clear question and a few controls, then expand as your audience grows. Interactive, self-serve dashboards built in Hex quickly become the default way your team shares data.</p>]]></content:encoded>
					
					<wfw:commentRss>https://www.iaifeed.com/how-to-build-an-interactive-data-dashboard-in-hex-with-python-and-sql/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
