Skip to content

Instantly share code, notes, and snippets.

View MegaMoonBear's full-sized avatar
:atom:
Learning React from Oct.

MoonBear_Nagano MegaMoonBear

:atom:
Learning React from Oct.
View GitHub Profile
@MegaMoonBear
MegaMoonBear / Shapes_Triangles3Types.py
Created October 31, 2025 14:40
# Shape prep for 3 shapes: Circle, triangle, square - 3 triangle shapes not share beyond side (only equilat.), area, perimeter
# Shape prep for 3 shapes: Circle, triangle, square
import math
import random
class Shape:
def area(self):
pass # PASS statement used as a placeholder for future code
def perimeter(self):
pass # PASS statement used as a placeholder for future code
@MegaMoonBear
MegaMoonBear / Pet_Nutri__PREP_CrowdSourced_ChatGPT.md
Last active November 4, 2025 00:14
Pet Nutrition – Crowd-Sourced Data -- ChatGPT
  1. Read below
  2. Next-step
  • Pick Version A or B for week 1... I recommend Version A to learn full-stack basics (Flask + SQLite).
  • Make decisions like these: Dog (before cat); healthy, top 5-10 breeds & mutt, 3-7yo); Actual or fake data before public crowd-sourcing

PROMPT: Based on the "nutrition" and "proposal" prompts and responses, review the info on the proposal titled, "Dog & Cat Nutrition – Crowd-Sourced Data". Based on that review: (1) List 3 adjustments to the proposal for a novice coder; (2) Suggest 2 versions of initial project, until crowd-sourced data can be gathered. (3) List updated characteristics of that proposal, including SMART objective components and the overall objective, based on 3 weeks with 10 hours per week investment in coding, testing, etc. (4) Provide 2 versions of a table that outlines the first week's 10-hour investment across 5 days with detailed tasks, tools, methods, and syntax. Syntax should only be CSS, HTML, JavaScript, Python, and SQL. If a key syntax languag

@MegaMoonBear
MegaMoonBear / Pet_Nutri__PREP_CrowdSourced_MSCopilot.md
Last active November 4, 2025 00:15
Pet Nutrition – Crowd-Sourced Data -- Copilot_MS

Review adjustments for a novice coder

  1. Shrink the MVP to one clear user flow

    • Build a single submission flow: species (dog/cat), breed (dropdown with top 10 + mutt), age range (3–7), food name (text), reaction (happy / sick / neutral), date, optional photo URL, and consent checkbox.
    • Keep validation minimal (required fields + simple client-side checks) so you can complete end-to-end quickly.
  2. Prefer synthetic or curated seed data first

    • Start with a fixed synthetic seed (200–500 rows) that matches the form schema so front-end, back-end, and analysis can be built and tested before public crowdsourcing.
    • Mark seeded rows with a boolean flag (is_seed = true) so they’re treated differently when analyzing or publishing.
@MegaMoonBear
MegaMoonBear / Pet_Nutri__PREP_CrowdSourced_GooGemini.md
Last active November 4, 2025 00:15
Pet Nutrition – Crowd-Sourced Data -- Gemini_Google

This is a solid and ambitious 30-hour plan. The existing advice to scope down is excellent. Here are my suggestions to improve the schedule, tasks, and approach to make it even more manageable for a novice coder and ensure a successful prototype.

1. The Novice Coder Approach (A "Version A-Lite")

The jump to a full Flask + SQLite stack (Version A) is a significant hurdle for a novice in 10 hours. Setting up the database, defining a schema, and writing SQL INSERT statements is a common failure point.

  • My Suggestion: I propose a "Version A-Lite" for Week 1.
  • How: Instead of SQLite, have the Python Flask app write the form data to a simple CSV file.
  • Why:
  • Removes SQL: This completely removes the database setup and SQL syntax from Week 1, allowing the novice to focus on the core "web app" loop: HTML (form) $\rightarrow$ Python (Flask route) $\rightarrow$ Data (CSV).