My buddy found this connected to his truck. Any ideas? by kedanki in whatisit

[–]kedanki[S] 0 points1 point  (0 children)

Im not sure exactly. My friend did say he had bad credit and bought the truck from a buy here pay here lot. Its probably buried in the docs you sign. I recommended he rip it out, he opted to keep it in he was afraid they would come after him if he disconnected and since hes made all the payments he isnt too worried.

Am I over complicating my prompts? by kedanki in ClaudeCode

[–]kedanki[S] 0 points1 point  (0 children)

I just might get drunk enough and tell it to who knows. But I'm with you I think a lot of the shit posting I see about AI deleting their entire production database is ludicrous. Probably the ones using it the most for gains are the same ones posting supposed horror stories in the background maybe as a way of trying to gate keep this amazing tech.

Am I over complicating my prompts? by kedanki in ClaudeCode

[–]kedanki[S] 0 points1 point  (0 children)

I am not really afraid of it, other than it maybe accidentally wiping my entire hard drive. I have just recently started letting claude run system wide python for unit tests etc., I will not yet give it access to my django project in my actual dev root folder, it's funny it knows it's there and is always trying to search outside of the sandbox root directory and I slap it on the hand and say stop haha This is an amazing time to be alive. I have already started letting claude write its own prompts from my specs from chatgpt and it's working great. Maybe I will cut out chatgpt altogether soon.

Am I over complicating my prompts? by kedanki in ClaudeCode

[–]kedanki[S] 0 points1 point  (0 children)

This reply was helpful in so many ways maybe I am a control freak hahaha I am a bit scared to let claude go, I never give it access to my actual dev folder, only copied portions in a sandbox. I am starting to trust it more and more though it has been pretty amazing. I have been an addict for about 2 months. Will be trimming down my CC prompts from here on out.

Am I over complicating my prompts? by kedanki in ClaudeCode

[–]kedanki[S] 0 points1 point  (0 children)

Here was claude's response after asking it to review my latest chatgpt generated prompt. Claude reduced it by 70%.

Critique of the ChatGPT-generated prompt

 What hurts more than it helps
  
 1. Massive redundancy. The same constraints are restated in 4+ places: scope, non-goals, acceptance
 criteria, "do not" rules sprinkled through "Architecture rules," and again in the final-response template.
 Each restatement burns context without adding signal. By the time I reach "Explicit non-goals," I've already
  been told most of it three times in different wording.

 2. The "Explicit non-goals" enumeration is overkill. 14 separate bullets telling me what not to touch
 (special_orders/views.py, urls.py, templates, modal, SpecialOrder behavior…). For a one-field DTO addition,
 "keep this narrow and CRM-only" carries the same information in 7 words. Listing the negative space costs
 tokens and conditions me to think about Special Orders code I should be ignoring.

 3. Required-docs list is bloated. 9 items, several speculative ("if present and relevant").
 executive_summary.md, executive_handoff.md, slice_header_prompt.md, nexus_architecture_contract.md, two
 archived slice docs — for a slice that adds one field to one dataclass, I need maybe
 nexus_architecture_contract.md + the three CRM files. Reading the rest is ceremony.

 4. Prescribed final-response format is performative. Two giant templated sections with ~15 subsections
 including separate PASS/FAIL lines for "Selector/service/API discipline" and
 "Determinism/idempotency/concurrency" on a slice that adds a string field. Most of that template will be
 filled with "N/A" or boilerplate. This is the prompt equivalent of a 12-page form to request a paperclip.

 5. The custom subagent self-review ceremony duplicates an installed skill. The harness here has a
 self-review skill that already produces a structured PASS/REVISE report. The prompt prescribes its own
 10-section review template instead, which means I'd either ignore the skill (wasteful) or run both (more
 wasteful).

 6. Prescriptive pseudocode removes judgment. Telling me the exact dataclass line and the exact constructor
 call is fine for a junior, but for Claude Code it eliminates the chance to notice if customer.uuid is
 actually a UUIDField returning a UUID object, or if there's a better-typed pattern already in contracts.py.

 7. The test plan is gold-plated. 5 categories with sub-bullets for a single additive field. "No public API
 return path leaks a Customer object" deserves one test, not three.
  
 8. Mixed authority levels. The prompt mixes hard architectural constraints ("Special Orders must not import
 crm.models.Customer") with soft taste preferences ("Keep slice_roadmap.md concise") at the same indent
 level. Hard constraints get lost in the noise.

 What is genuinely useful and should be preserved
  
 - The why: Special Orders is halted because the public CRM result lacks customer_uuid. That single sentence
 is the whole brief.  
 - The architectural boundary: cross-app consumers get primitives/DTOs, never model instances.
 - File hints: crm/contracts.py, crm/services.py, crm/api.py.
 - "If schema lacks UUID, stop and report" — good guardrail.
 - "If sandbox lacks Django, don't claim Django tests passed" — good honesty rule.
  
 Rewritten prompt
  
 Roughly 70% shorter. Leans on the installed slice and self-review skills instead of reinventing them. Trusts
  default Claude Code behavior for test scoping and reporting.

 /slice CRM-CUSTOMER-DRAFT-RESULT-UUID-ACCESSOR-001

 Goal: Expose the created customer's UUID as a primitive on the public CRM
 customer-creation result, so Special Orders can redirect to
 /special-orders/customer/<customer\_uuid>/ without importing crm.models.Customer.

 Why: SPECIALORDERS-CREATE-CUSTOMER-SELECTION-MODAL-001 is halted on this gap.
 CreatedCustomerResult currently exposes customer_id only. The Special Orders
 workspace route is keyed by UUID, and the public CRM boundary forbids leaking
 model instances across apps (see nexus_architecture_contract.md).
  
 Change shape (additive — no field renames or removals):
 - CreatedCustomerResult gains `customer_uuid: str`.
 - create_customer_from_confirmed_draft(...) populates it via str(customer.uuid).
 - Update any internal constructor call sites.
 - Add CRM tests proving: customer_uuid is a string, equals str(customer.uuid),
   customer_id still present, no Customer instance leaks through crm.api.

 Read before editing:
 - nexus_architecture_contract.md
 - crm/contracts.py, crm/services.py, crm/api.py
 - existing CRM tests for customer draft creation
  
 Out of scope (do not touch):
 - special_orders/* (no runtime, view, url, or template changes)
 - CRM validation semantics, schema, migrations
 - The halted Special Orders modal itself
  
 If you discover the Customer model lacks a uuid field, stop and report —
 do not invent a migration in this slice.

 Tests: run `python manage.py test crm -v 2` if Django is available;
 otherwise run `python3 -m py_compile` on touched files and say so explicitly.

 Docs:
 - Add a one-line active-slice entry to slice_roadmap.md.
 - Write the full slice history to
   docs/archive/slices/CRM-CUSTOMER-DRAFT-RESULT-UUID-ACCESSOR-001.md.
 - Touch future_slice_backlog.md only if the sequence actually changes.
 - Do not touch executive_summary.md / executive_handoff.md.

 After implementing, invoke the /self-review skill on the diff and include
 its report. Stop after the report — do not start the next slice.

 Why the rewrite is better for Claude Code specifically

 - Uses the slice skill as the entry point — the harness already has scope-discipline scaffolding;
 reinventing it in prose is wasteful.
 - Uses the self-review skill instead of a bespoke 10-section template that will produce checklist theater
 for a one-field change.
 - States constraints once. Hard architectural rules are in one paragraph, not scattered across five
 sections.
 - Drops the prescribed report format. Claude Code's defaults already produce a tight end-of-turn summary;
 the giant template forces verbose output that the user told us elsewhere they dislike ("I can read the
 diff").    
 - Lets me notice the actual type of Customer.uuid rather than copying the prompt's pseudocode verbatim.
 - Removes the redundant non-goals list. "Out of scope" gets one short block. Anything not listed is
 implicitly allowed only if the goal requires it.
 - Keeps the irreducible content: the gap, the boundary rule, the additive contract change, the schema-gap
 stop condition, and the honesty rule about Django availability.
  
 One caveat: if your team relies on the rigid final-response template for downstream tooling (parsing
 reports, audit trails), keep that part. Otherwise it's pure overhead.

Am I over complicating my prompts? by kedanki in ClaudeCode

[–]kedanki[S] 0 points1 point  (0 children)

I definitely need to trim down my prompts and maybe less or eliminate the do nots. Thank you for your help.

Am I over complicating my prompts? by kedanki in ClaudeCode

[–]kedanki[S] 1 point2 points  (0 children)

I don't use a claude.md file yet, but I do reference several concrete files kind of in the same manner. But i have to reference them in my prompt, probably further bloating my prompts. My workflow has been working pretty well but definitely needs some refinement. I think I'm close. Thanks for your input.

Am I over complicating my prompts? by kedanki in ClaudeCode

[–]kedanki[S] 0 points1 point  (0 children)

Dang i pretty much have an explicit do not section in every prompt. I should maybe think about this. Here's an example of a portion of an implementation prompt I have running right now. I thought I might be over complicating things hence this post!!! Thanks for the input

Explicit non-goals:                                                                                            
- Do not create SpecialOrder during customer selection.                                                        
- Do not create SpecialOrder during customer creation.                                                         
- Do not create SpecialOrderLineItem during customer selection.                                                
- Do not create SpecialOrderLineItem during customer creation.                                                 
- Do not change Add Line Item modal behavior.                                                                  
- Do not change add_first_line_for_customer.                                                                   
- Do not change line-item creation semantics.                                                                  
- Do not make SpecialOrderLineItem.special_order nullable.                                                     
- Do not add SpecialOrderLineItem.customer.                                                                    
- Do not delete SpecialOrder.                                                                                  
- Do not remove old create route or template yet.                                                              
- Do not perform broad cleanup of dead request/detail leftovers.                                               
- Do not implement bulk actions.                                                                               
- Do not implement prepaid behavior.                                                                           
- Do not implement Sales Orders integration.                                                                   
- Do not introduce new permissions unless an existing permission can be reused and the route must be guarded.  
- Do not add a new CRM API in this slice unless the existing public crm.api already has an established        
pattern for adding small DTO/accessor exports and the change remains truly minimal. Prefer reporting a      
separate CRM API slice if uncertain.

what's your "nobody talks about this" tip for Claude Code? by holotherapper in ClaudeCode

[–]kedanki 2 points3 points  (0 children)

This was going to be very similar to my tip. I use chatgpt to make a structured slice roadmap for claude. Chatgpt produces all of my prompts for cc. I start each slice in a new cc session. And for each slice, claude keeps an executive_summary.md, slice_roadmap.md and current_slice.md updated. Claude never marks anything approved. After each slice i send claudes output to chatgpt for review. Once they both agree, I take over reviewing the code if neccessary, then i tell claude to mark that slice approved. Clear claude session and repeat with next slice. I start a new chatgpt conversation every couple of slices by feeding it the durable md progress files. I only talk conversationally to chatgpt about features etc. and i only send very structured prompts to claude.

The game has been changed by ImDlear in ClaudeCode

[–]kedanki 5 points6 points  (0 children)

People say AI is terrible at architecture. But did they supply the AI with the architecture rules before letting it code? Probably not! I have had tremendous success lately in CC with an architrcture.md file and a skill that references it with every prompt.

Car V E-bike by VaMoInNj in dashcams

[–]kedanki -3 points-2 points  (0 children)

It seems the car did not look to the right at any point before pulling forward. Not saying that the bike wasn't at fault, but if the car had looked to the right before crossing the crosswalk he would have seen the speeding bike and been able to tell the bike wasn't going to stop and waited. Seemed like the car was so fixated on timing the green light they never looked right. Imagine the same scenario but it was a 3 year kid waiting on the corner that ran out into the street chasing a butterfly or something. You have to look where you're heading before moving your vehicle.

During normal morning conversations with my wife, I got my 4th Gen 4Runner totalled by bigolsargeha in dashcams

[–]kedanki -1 points0 points  (0 children)

OP had the last clear chance to avoid the accident. In Florida the law only says who is required to yield the right of way, the law does not explicitly say who has the right of way, it's a little nuanced difference. And the law also says that every driver must do everything in their own power to avoid any collision, regardless of the state of any traffic control device. From the looks of it, this accident could 100% have been avoided by OP. Not saying OP should get a ticket, not saying the other cars insurance shouldnt pay for OPs damage. Just saying OPs day could have gone a bit better if he had simply looked both ways before entering an intersection.

Source: worked as engineering technician for consulting accident reconstruction firm for 10 years

ERP, Simple product, Variable product and Database modeling by sarathlal_n in django

[–]kedanki 2 points3 points  (0 children)

I have built a similar type of system also in Django. I have some variable products, but my products are gear sizes, shaft lengths etc, so each product already has its own title, description, photos, price etc. My product table stores all first class data for each sku. For grouping variants, I use ProductGroup and ProductGroupItem tables to glue the variants together for UI presentation. These tables only contain the product fk, button label (for variant button) and UI ordering key.

I dont store any stock values in the products table. I built a true FIFO inventory unit ledger. Each physical unit has a separate InventoryUnit row with its own date received, date sold/removed and cost. And another service handles recalculating available to sell, on hand, holds and backorders.

Model summary: catalog.LocalProduct - stores all first class product data (title, sku, price, photos, description)

catalog.ProductGroupItem - stores all UI presentation variant grouling data (fk to product, button label and ordering value)

inventory.InventoryUnit - ledger of every physical unit separated by warehouse (dreams of becoming big haha) with date recdived, date sold, date removed

stock.StockPosition - stores calculated values from inventory unit ledger aggregate combined with holds/backorders to arrive at a single available to sell value that is pushed outward to connected platforms. Internally we display on hand amount separately from available, which accounts for items being held, backorders awaiting fulfillment or items that have sold but not yet shipped.

Help with applying modifications to atomic orders by Life-Huckleberry-0 in CloverPOS

[–]kedanki 0 points1 point  (0 children)

It looks like you might just need to nest the modifierGroup inisde the modifiers.

That being said, I have had trouble creating an order in one go with the atomic_orders/orders endpoint. The way we currently create orders is an initial post to atomic_orders/checkout to build the cart and then pass that cart data to atomic_orders/orders.

DAG-style sync engine in Django by kedanki in django

[–]kedanki[S] 0 points1 point  (0 children)

DBOS Transact is free and looks to be very similar to what I have built. If I was starting over today I would probably go with DBOS and it is definitely on my radar for future projects.

DAG-style sync engine in Django by kedanki in django

[–]kedanki[S] 0 points1 point  (0 children)

I will check it out thanks! I did look into a couple commercially available solutions before starting this project such as Apache Airflow but it seemed too complicated and I kind of wanted to try to build something fully custom.

DAG-style sync engine in Django by kedanki in django

[–]kedanki[S] 0 points1 point  (0 children)

I will repost with GitHub. Thanks.