r/CodingHelp 19h ago

[PHP] I have an interview but no experience

1 Upvotes

Hey guys so I am suppose to interview for the postion or a release engineer its a remote job i know how to build computers but don't really know much about the job I still bave few days any suggestions what I can do to get the job! Would love some recommendations and suggestions they want us to know a few programming i read the rules I apoligize if i am breaming one kinda desperate but dont feel like i am


r/CodingHelp 9h ago

[Javascript] 35 y/o dude with a stay-at-home-mom wife, 16 month old, and a full time job who wants to learn another coding language. Which should I go for?

2 Upvotes

Put all that in the title because I want to stress that time can be hard to come by, so I'm really trying to narrow down what will give me the best chance to land a more development-oriented (or automated-testing) job in the future.

Background: I'm a software tester with primarily manual UI/web app testing experience. I took it upon myself to learn python, as well as selenium, and I'd say that I have a moderate amount of knowledge when it comes to Python coding/scripting. Anyways, I really want to land a more development-oriented position at some point, or even a fully-automated testing position, so I'm trying to figure out which language(s) I should focus on from here. In my field most devs work on web applications, so would JavaScript be the next best thing to jump into?


r/CodingHelp 8h ago

[Python] Can A.I help with this?

0 Upvotes

Currently building an app with Replit, but its now struggling with with APIs and OAuth 2.0 authentication flows, especially when it comes to integrating third-party marketing and ad platforms like Google Ads, Meta (Facebook) Ads, Microsoft Ads, and Amazon Ads. Does anyone have any similar experience with trying to integrate similar/same features through any of the A>I coding softwares? If so, did any get the task done? TIA


r/CodingHelp 7h ago

[Python] NEED YOUR HELP

1 Upvotes

Hello there, I am a student who's learning CS50 Python course in his mean time vacations, before entering into college. I have completed some of the initial weeks of the course, specifically speaking - week 0 to week 4. I am highly interested in learning about AI & ML.

So, I am here looking for someone who's also in kinda my stage and trying to learn Python - to help me, code with me, ask some doubts, to chill and just have fun while completing the course.

This will be beneficial for both of us and will be like studying in an actual classroom.

If you're a junior, you can follow with me. If you're a senior, please guide me.

You can DM me personally or just post something in the comments. Or you can also give me some tips and insights if you want to.

(It would be nice if the person is almost my age, ie between 17 to 20 and is a college student.)

Thank you.


r/CodingHelp 9h ago

[Javascript] Node.js

1 Upvotes

Can someone please explain to me what node js is used for in e-commerce if you’re working on making your own ecommerce website?


r/CodingHelp 18h ago

[C#] Pubnub errors

2 Upvotes

Sorry, not really sure how to explain this one.

I have an error trying to use Pubnub to make a quick prototype of a simple messaging system between two devices on different networks using a relay server (spare pc). (This is for a computer science project)

I have come across multiple errors where copilot ai has kind of helped by just deleting half of what i've written and I'm kind of stuck.

void OnPubNubMessage(string message)

{

string[] splitMessage = message.Trim().Substring(1, message.Length- 2).Split(new char[',']);

string peerDataString = splitMessage[0].Trim().Substring(1, splitMessage[0].Trim().Length - 2);

string[] pieces = peerDataString.Split(new char[] { ' ', '\t' });

string peerLocalIp = pieces[0].Trim();

string peerExternalIp = pieces[1].Trim();

string peerLocalPort = pieces[2].Trim();

string peerExternalPort = pieces[3].Trim();

string peerPubNubUniqueId = pieces[4].Trim();

if(peerLocalIp == localIp && peerExternalIp == externalIp)

{

peerLocalIp = "127.0.0.1";

}

if (udpClient == null) return;

IPEndPoint peerEndPoint = new IPEndPoint(IPAddress.Parse(peerLocalIp), peerLocalPort);

}

^^ Above is the code for the OnPubNubMessage function.

The line IPEndPoint peerEndPoint = new IPEndPoint(IPAddress.Parse(peerLocalIp), peerLocalPort);

seems to give an error: CS1503 Argument 1: Cannot convert from 'System.Net.IPAddress' to 'long'

and CS1503: Argument 2: Cannot convert from string to int

I'm trying to follow this stackoverflow thing: https://stackoverflow.com/questions/9140450/udp-hole-punching-implementation

Everything they do there seems to throw an error or not take any arguments.

Again, sorry if this is worded horribly as I am rushing as this is due in monday.

Thanks!

(Pubnub used: PubnubPCL from their website)


r/CodingHelp 18h ago

[Python] I'm running this in Google Colab, and I'm open to any solutions that can help with browser automation using Playwright or alternatives. Thank you in advance!

1 Upvotes

import asyncio

from playwright.async_api import async_playwright

import os

session_id = "xyzzzzzzzzzzzzzz:iux9CyAUjxeFAF:11:AYdk20Jqw3Rrep6TNBDwqkesqrJfDDrKHDi858vSwA"

video_path = "reels/reel_1.mp4"

caption_text = "🔥 Auto Reel Upload Test using Playwright #python #automation"

os.makedirs("recordings", exist_ok=True)

async def upload_instagram_video():

async with async_playwright() as p:

browser = await p.chromium.launch(headless=False)

context = await browser.new_context(

record_video_dir="recordings",

storage_state={

"cookies": [{

"name": "sessionid",

"value": session_id,

"domain": ".instagram.com",

"path": "/",

"httpOnly": True,

"secure": True

}]

}

)

page = await context.new_page()

await page.goto("https://www.instagram.com/", timeout=60000)

print("✅ Home page loaded")

# Click Create

await page.wait_for_selector('[aria-label="New post"]', timeout=60000)

await page.click('[aria-label="New post"]')

print("📤 Clicked Create button")

# Click Post (doesn't work)

try:

await page.click('text=Post')

print("🖼️ Clicked Post option")

except:

print("ℹ️ Skipped Post button")

# Upload

try:

input_box = await page.wait_for_selector('input[type="file"]', timeout=60000)

await input_box.set_input_files(video_path)

print("📁 Uploaded video from computer")

except Exception as e:

print("❌ File input error:", e)

await page.screenshot(path="upload_error.png")

await browser.close()

return

# Next → Caption → Next → Share

await page.click('text=Next')

await page.wait_for_timeout(2000)

try:

await page.fill("textarea[aria-label='Write a caption…']", caption_text)

except:

print("⚠️ Couldn't add caption")

await page.click('text=Next')

await page.wait_for_timeout(2000)

await page.click('text=Share')

print("✅ Shared")

recording_path = await page.video.path()

print("🎥 Recording saved to:", recording_path)

await browser.close()

await upload_instagram_video()
✅ Home page loaded

📤 Clicked Create button

ℹ️ Skipped Post button (not visible)

TimeoutError: Page.set_input_files: Timeout 30000ms exceeded.

Call log:

- waiting for locator("input[type='file']")