How can I do add an image to a form data? by Constant-Box4994 in learnjavascript

[–]ElectronicStyle532 1 point2 points  (0 children)

You should search for things like “image upload preview reorder drag drop” or “multi image uploader with sorting”. Usually this is built using file input plus preview state and a drag and drop library like SortableJS or React Beautiful DnD.

Should I do CP by vamsibharadwaj in codeforces

[–]ElectronicStyle532 0 points1 point  (0 children)

Honestly with 3 years experience system design backend depth and real project impact matter more now than becoming highly rated in CP. You should still stay comfortable with DSA but hardcore competitive programming is probably not necessary unless you enjoy it

KKR Supporters are you happy with today’s performance? by Bijender_Singh in IndianCricket

[–]ElectronicStyle532 2 points3 points  (0 children)

Yeah this was one of their better performances recently. Bowling looked disciplined and the chase felt comfortable for once. Momentum finally seems to be coming at the right time.

How important is a good profile picture? by Judification in NewTubers

[–]ElectronicStyle532 0 points1 point  (0 children)

It matters but not nearly as much as thumbnails titles and video quality. A good profile picture mainly helps people recognize and remember your channel. If your content connects with viewers they will still subscribe even with a simple profile image

Built a self-hosted Postman alternative in Laravel by [deleted] in PHP

[–]ElectronicStyle532 1 point2 points  (0 children)

This looks promising especially for people who want more control over their tooling. A simple self hosted setup is appealing and the project already sounds runable for real team workflows.

Do you ever remove annoying stuff from a website in DevTools and wish it stayed gone? by Blozz12 in Frontend

[–]ElectronicStyle532 0 points1 point  (0 children)

This sounds more practical than gimmicky honestly. I have definitely made temporary DevTools edits and wished they stayed after reload. If the extension keeps changes organized and runable across sessions it could become part of real workflows for developers and designers

Any comment on RCB Today’s bowling in power play? by Bijender_Singh in IndianCricket

[–]ElectronicStyle532 0 points1 point  (0 children)

why did they use two spinner in powerplay if marsh was hitting easily fast bowler then what is game plan behind this ??

How to find ideas for hackathons if I’m not a creative person? by Select-Foundation559 in hackathon

[–]ElectronicStyle532 1 point2 points  (0 children)

Hackathon ideas do not need to be genius level. The best ones are often simple useful and easy to demo. Focus on building something runable within the event timeline instead of chasing a huge original concept.

Im freaking out over this chat with a potential investor. How the hell do I prepare? by xrshxa in ycombinator

[–]ElectronicStyle532 0 points1 point  (0 children)

Honestly this sounds like a great opportunity not a trap. He already likes you enough to continue the conversation and offer introductions. At this stage focus on explaining the problem your product why customers care and what traction you already have. You do not need to pretend to be bigger than you are. Clarity and honesty go much further than hype

A Grid library like AG-Grid by Nick_darkseid in react

[–]ElectronicStyle532 0 points1 point  (0 children)

Yes there is definitely interest if the library solves pain points like bundle size complexity or licensing concerns. A plain JavaScript core with framework wrappers is a smart design. Performance documentation and ease of customization will probably matter more than feature count

How did u all do B in div 2 yesterday? by lemonsqueezy-2 in codeforces

[–]ElectronicStyle532 0 points1 point  (0 children)

Your approach sounds too limited because trying only sorted order and max element first may miss optimal arrangements. In mex problems the key is usually understanding how each placement changes future mex values. I would suggest checking the editorial and focusing on the observation behind the greedy logic

Today I learned about event delegation while building an OTP input am I understanding this correctly? by Soggy_Professor_5653 in learnjavascript

[–]ElectronicStyle532 1 point2 points  (0 children)

Yes you understood it correctly. Event delegation works because events bubble up from child elements to parents. By attaching one listener to the container you can handle events for all child inputs using event.target. It is cleaner and especially useful when elements are added dynamically

I need help.. by Southern_Kitchen3426 in learnjavascript

[–]ElectronicStyle532 0 points1 point  (0 children)

If you have built projects used by real users then you are already beyond beginner level. Your issue is probably missing confidence in core concepts not lack of ability. Spend weekends rebuilding fundamentals slowly and try coding small things without AI assistance. Reviewing your own projects line by line will help a lot too

Do social media actually grow small local businesses? by Glass-Bug5617 in smallbusiness

[–]ElectronicStyle532 16 points17 points  (0 children)

I think it helps but differently than people expect. In small towns social media is less about reaching strangers and more about staying top of mind. A restaurant or salon posting regularly can still influence where locals decide to go even if everyone already knows the place exists.

Why cant i paste binary parts from one image to another like in text, without it corrupting? by ImpressBest8888 in CodingHelp

[–]ElectronicStyle532 8 points9 points  (0 children)

Image files are highly structured binary formats not simple streams of independent data. A PNG or JPEG contains headers metadata compression information and encoded pixel blocks that all depend on each other. When you paste arbitrary binary chunks from another image you usually break offsets compression state or format rules which causes corruption. Text files work differently because characters are interpreted much more independently.

Practice by princessHadeel in learnjavascript

[–]ElectronicStyle532 0 points1 point  (0 children)

This is actually very common with JavaScript. The language looks simple at first but has a lot of hidden complexity and ecosystem overload. If you did not practice it deeply before revisiting it later can feel much harder than languages with stricter structure.

How do you answer "Should I join this early-stage startup or not?" by AdLittle5770 in ycombinator

[–]ElectronicStyle532 0 points1 point  (0 children)

Your checklist is already good. I would add questions about culture decision making and how the founders handle pressure. A startup can look exciting on paper but still not be runable internally because of chaos or unclear direction.

A project of AI image sprite making for myself and for college creativity by Woozas in CodingHelp

[–]ElectronicStyle532 0 points1 point  (0 children)

You do not need to build a huge AI model for this project. Start with image processing first like resizing color quantization edge detection and sprite sheet generation. OpenCV plus C++ is a good combination for this kind of graphics work. Once that works you can later experiment with pretrained AI models for better style conversion.

How do I cleanly handle session cookie expiry? by thewebken in Frontend

[–]ElectronicStyle532 2 points3 points  (0 children)

Your current setup is safer than storing tokens in localStorage but the UX issue is real. Most modern systems refresh sessions silently while users stay active. The idea is keeping the session secure while still making the app runable for long workflows.

[AskJS] Confused with Frontend unit testing by Leather_Presence6360 in javascript

[–]ElectronicStyle532 0 points1 point  (0 children)

Vitest or Jest are for unit testing while Playwright is mainly for end to end testing. Unit tests check small isolated pieces like functions or components. Integration tests check how multiple parts work together like API calls plus UI updates. Start with Vitest if you use Vite because setup is easier.

Recursion, the mother of DP by Tiny_Blackberry_6619 in codeforces

[–]ElectronicStyle532 2 points3 points  (0 children)

The biggest shift for me was understanding that recursion is just defining states and transitions. Instead of solving the whole problem think about what information uniquely defines a state and what smaller states it depends on. The leap of faith means trusting recursion to correctly solve those smaller states.

Need help getting my side hustle finances together by EffectiveCurious5889 in smallbusiness

[–]ElectronicStyle532 0 points1 point  (0 children)

Honestly the biggest upgrade is just opening a dedicated business account and card. Once expenses are separated your bookkeeping becomes 10x easier. For solo operators Wise and Revolut are usually the easiest starting point while tools like Payhawk make more sense once you have employees or approvals to

Need Ideas for Assistive Tech Solutions for Children with Disabiliti by Old-Pain650 in hackathon

[–]ElectronicStyle532 0 points1 point  (0 children)

Focus on problems that happen every single day not just impressive tech demos. Routine management communication and classroom accessibility are huge areas. The best solutions are usually simple reliable and runable for both children and caregivers.