r/CodingHelp

I understand now and I am sorry if I have ever whined about a missing feature

I will preface by apologizing for vibe coding for my first project. AI made it more accessible for me to try making a browser plugin that I thought would be really cool.

At the beginning I got most of the functionality done in the first couple hours. It seemed like wow, this is crazy powerful! Then came the edge cases. Edge cases upon edge cases in a never ending fractal of edge cases.

I apologize if I ever said a feature should already be out, or why is something being ignored.

reddit.com
u/TrantaLocked — 2 days ago

Theoretically speaking, how hard would it be to create a smaller maps app?

I want to know from a technical standpoint, how hard would it be to create a small scaled down version of a google or apple maps.

I'm brand new to the world of software, so I just want to know if this is something even worth considering, or is it like asking if I can build TSMC in my basement. Thanks.

reddit.com
u/67things — 6 days ago

How did or where you learn to develop apps/games

I am wondering as i want to make my own game but i dont know where to go as every tutorial i watch just confuses me even more and alot of the tutorials only explain lets say what a variable is and not actual code.

reddit.com
u/MrCockRoachEater — 7 days ago

Hi Everyone , i need your help.

I am currently learning JavaScript and running into a bit of a roadblock. I'm starting to understand and master the syntax well, and I generally grasp the logic of what I want to do, but I still struggle with knowing how to practically use the language's features in a real-world situation. Your advice would be very welcome to help me solidify my overall understanding of the language. Thanks in advance to those who reply.

u/muapull — 11 days ago
▲ 4 r/CodingHelp+2 crossposts

How can I use Supabase Authentication in html form?

I'm not entirely new but still at a low level with programming, I want to add Supabase authentication on my app but I can't work out how to do it correctly. I probably have some rookie mistakes in here.

I changed it to match my account keys (unless there is a separate one for auth that I don't know about?) and I put a local "success.html" redirect page. When I submit the form nothing happens

I am trying to get it to work on this simple form

 <form>
            <span id="error-message" class="hidden">Password must be 9-16 alphanumeric characters.</span>
            <input id="email" type="email" placeholder="email">
            <input id="password" type="password" placeholder="password">
        <section>
            <button class="login" id="login" onclick="login()">
                Login
            </button>



            <button type="button" class="login" id="back" onclick="window.location.href='../index.php';">
                Back
            </button>
            </section>
        </form> 

The website provides this code for javascript:

Sign Up

import { createClient } from '@supabase/supabase-js'
const supabase = createClient('https://your-project-id.supabase.co', 'sb_publishable_...')
// ---cut---
async function signUpNewUser() {
  const { data, error } = await supabase.auth.signUp({
    email: 'valid.email@supabase.io',
    password: 'example-password',
    options: {
      emailRedirectTo: 'https://example.com/welcome',
    },
  })
}
import { createClient } from '@supabase/supabase-js'
const supabase = createClient('https://your-project-id.supabase.co', 'sb_publishable_...')
// ---cut---
async function signUpNewUser() {
  const { data, error } = await supabase.auth.signUp({
    email: 'valid.email@supabase.io',
    password: 'example-password',
    options: {
      emailRedirectTo: 'https://example.com/welcome',
    },
  })
}

Log In

import { createClient } from '@supabase/supabase-js'
const supabase = createClient('https://your-project-id.supabase.co', 'sb_publishable_...')
// ---cut---
async function signInWithEmail() {
  const { data, error } = await supabase.auth.signInWithPassword({
    email: 'valid.email@supabase.io',
    password: 'example-password',
  })
}import { createClient } from '@supabase/supabase-js'
const supabase = createClient('https://your-project-id.supabase.co', 'sb_publishable_...')
// ---cut---
async function signInWithEmail() {
  const { data, error } = await supabase.auth.signInWithPassword({
    email: 'valid.email@supabase.io',
    password: 'example-password',
  })
}
reddit.com
u/Adamstrad — 12 days ago
▲ 1 r/CodingHelp+1 crossposts

Need to Cram for Python Final

Let me preface this by saying that I have bad ADHD. I only recently found out about it, and I have not been able to get on the right medication or accommodations yet.

I have a coding final in about 3 days. 60% covers everything up to classes and objects. I only have a somewhat limited understanding of function design and related concepts, but I'm somewhat lost beyond that.

I'm planning on remembering as many methods as I can for each data type, but I don't know how exactly I should cram or even try to approach this. I just need to pass the exam; I'm not really a CS major.

This was the kind of example exam questions she provided (had to put it through ai cuz im stupid):

  1. Parse a string into structured data — split a comma-separated string, validate the format, and return computed totals (parse_inventory).
  2. Analyze a nested list — compute row/column sums and an overall count across a 2D list structure, with validation that it's rectangular (analyze_strings).
  3. Debug a class — find and fix bugs in a working class without changing its signatures or doctests (Student).

Would appreciate any advice. Especially from anyone else who struggles with ADHD.

reddit.com
u/luvlimeade — 12 days ago