You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>All calculations should update in real time as inputs change. UI Requirements Use SwiftUI Clean, minimal, Apple-native design Large readable typography Card-style layout sections Proper spacing and padding Support light and dark mode Use iOS system colors Use keyboard type .decimalPad for money input Add a toolbar “Done” button to dismiss keyboard</p>
<p>Use MVVM architecture Create: ContentView BillViewModel Use <span class="citation" data-cites="StateObject">(<a href="#/references" role="doc-biblioref" onclick><strong>StateObject?</strong></a>)</span> for ViewMode Validate numeric input safely Prevent crashes from invalid text input Use computed properties for calculations Format currency using NumberFormatter Avoid UIKit unless absolutely necessary Bonus Features (if possible) Round up per-person amount toggle Persist last used tip percentage using <span class="citation" data-cites="AppStorage">(<a href="#/references" role="doc-biblioref" onclick><strong>AppStorage?</strong></a>)</span> Add subtle animation when totals change Add haptic feedback when calculation updates</p>
1937
+
<p>Use MVVM architecture Create: ContentView BillViewModel Use @StateObjectfor ViewMode Validate numeric input safely Prevent crashes from invalid text input Use computed properties for calculations Format currency using NumberFormatter Avoid UIKit unless absolutely necessary Bonus Features (if possible) Round up per-person amount toggle Persist last used tip percentage using @AppStorage Add subtle animation when totals change Add haptic feedback when calculation updates</p>
1938
1938
<h3 id="deliverables">Deliverables</h3>
1939
1939
<p>Provide: Full Swift code (ready to paste into Xcode) File structure explanation Brief explanation of architecture decisions Comments in code explaining key logic Make the code production-quality, clean, and well-structured.</p>
1940
1940
</section>
@@ -2293,11 +2293,11 @@ <h2>Download and Install Ollama</h2>
2293
2293
<h1>Qwen 3.5</h1>
2294
2294
<p>Qwen 3.5 was in the news last week for running on small local installations and rivalling much larger models</p>
<p>This downloads the 9B Qwen 3.5 model (which is 6.6GB). If you’re interested in a specific distilled variant (e.g., 1.5B, 7B, 14B), or the full 671B parameter model (671b, which is 404GB) just specify its tag, obtained from <a href="https://ollama.com/library/qwen3.5">https://ollama.com/library/qwen3.5</a></p>
2300
+
<p>This downloads the 9B Qwen 3.5 model (which is 6.6GB). If you’re interested in a specific distilled variant, or the full model just specify its tag, obtained from <a href="https://ollama.com/library/qwen3.5">https://ollama.com/library/qwen3.5</a></p>
<p>We now turn our attention to the <code>localRAGchatbot.qmd</code> file. You must download that file from Canvas, along with <code>Xiao2025.pdf</code>. This latter file is a book, <span class="citation" data-cites="Xiao2025">Xiao and Zhu (<a href="#/references" role="doc-biblioref" onclick>2025</a>)</span>.</p>
2350
2350
<p>The first thing to do is to copy and paste the <code>pip install ...</code> commands into a terminal window. Then you can try to render the <code>localRAGchatbot.qmd</code> file in RStudio.</p>
2351
-
<p>If you can’t render the file, there may be several reasons. The first thing to try is to download the <code>localRAGchatbot.py</code> file and try to run that in Python by saying <code>python localRAGchatbot.py</code> at a terminal prompt. It takes about seven minutes to run on my machine. If that doesn’t work, the problem may be in your Python installation. If it does work, the problem may be in your RStudio installation.</p>
2351
+
<p>If you can’t render the file, there may be several reasons. The first thing to try is to download the <code>localRAGchatbot3.py</code> file and try to run that in Python by saying <code>python localRAGchatbot3.py</code> at a terminal prompt. It takes about seven minutes to run on my machine. If that doesn’t work, the problem may be in your Python installation. If it does work, the problem may be in your RStudio installation.</p>
0 commit comments