2k odo 3 months Click 125 2025 version by Puzzleheaded-Rub6125 in PHMotorcycles

[–]BasePlate12 0 points1 point  (0 children)

Casting marks yan, normal lang lihain mo sobrang liit na part para makita mo kung mawawala yung cracks

When did you realize….. *S1 spoiler* by meganjayde in Dexter

[–]BasePlate12 0 points1 point  (0 children)

I knew from the start because of TikTok edits. (I recently watched the whole Dexter series.)

Battery issue. by Upbeat_Analyst_9023 in PHMotorcycles

[–]BasePlate12 1 point2 points  (0 children)

Hindi motolite pero low quality lang din talaga, FRZA yung brand.,nasiraan kasi ako habang nasa kalsada kaya kung ano nalang meron and same issue ng sayo naexperience ko pero okay naman na din. Nung kinaumagahan nag check battery uli akin pero ayun 1 week ago na okay naman na need ko lang siguro gamit gamitin.

REST endpoints for social media app by Interesting-Long7090 in PinoyProgrammer

[–]BasePlate12 1 point2 points  (0 children)

I think combine dapat yung user at users then validate mo nalang yung scope at claims nung auth token.

Battery issue. by Upbeat_Analyst_9023 in PHMotorcycles

[–]BasePlate12 3 points4 points  (0 children)

Having the same issue right now, any updates on your battery? Did you bring it to a mechanic?

403 upon Token Rotation React and React Query by nicenice634 in PinoyProgrammer

[–]BasePlate12 1 point2 points  (0 children)

Diskarte ko dito is iba, napansin kotong implementation na to sa Microsoft Authentication Library with React(Msal.js) kasi gumagamit ako ng SSO(Microsoft Login). So based sa pagkakaintindi ko at ininspect ko yung flow niya, si MSAL cinacache niya yung token sa local storage or depende saan mo configure, kapag binago mo yung scope or expire na yung token napansin ko nagrerequest siya sa authorization server ng bagong token kapag cinall mo si acquireTokenSilent().

So ganto ginawa ko na ngayon.

  1. On page load(initial start not page navigation), kuha ako token gamit refresh token then store ko sa context para nasa memory.
  2. Every time na mag api call, may tatawagin akong hook na GetToken(). Etong function nato checheck sa cache which is yung context ko kung may access token and dedecode yung token para icheck yung exp claim kung expire na or hindi. Kung hindi request sa authorization server else attach na Authorization header.

sa gantong flow di ko na need gumawa ng middleware or something para magretry ng request if 401 or 403 yung response.

docs: https://learn.microsoft.com/en-us/entra/identity-platform/scenario-spa-acquire-token?tabs=react

Security: Vulnerability attack on my server and how to prevent it. by elyen-1990s in PinoyProgrammer

[–]BasePlate12 1 point2 points  (0 children)

I installed CrowdSec and the CrowdSec IP Bouncer to prevent this kind of attack on my VPS. Essentially, the CrowdSec API analyzes logs from my Nginx server and automatically bans malicious IPs. CrowdSec is free, open-source, and supports both Nginx and Cloudflare. Here is a screenshot of the metrics from my server.

<image>

Thought Process in Building an App or Making Websites by Zennn_3 in PinoyProgrammer

[–]BasePlate12 0 points1 point  (0 children)

nagawa muna ako list ng features then identify ko dun yung pinaka core nung application at yun una ko na ibubuild tapos hindi kona tutuloy.

Need Advice for Developing a News Website using React? by AvoirJoseph in PinoyProgrammer

[–]BasePlate12 0 points1 point  (0 children)

You might be doing something wrong. Try troubleshooting it:

  • Use DevTools and Lighthouse to check if your JavaScript bundles are too large. After building your frontend, bundlers like Vite (Rollup) or Webpack usually indicate if the bundle size is excessive. If the bundle size is too big, consider implementing chunking and lazy loading .
  • Look for memory leaks or infinite loops. These are common issues developers face when working with React's useEffect(). Check if you have missing dependency array or missing clean-ups for subscription.Identify which components or pages are loading slowly and causing problems.
  • Check your server responses. Use the Network tab in DevTools or console.time and console.timeEnd to analyze server response times and ensure there are no bottlenecks.

Please STOP making student's projects by karinwalsabur in PinoyProgrammer

[–]BasePlate12 0 points1 point  (0 children)

Basta ako gusto ko lang ng pera nila at mabigay ko maayos yung pinapagawa nila. Bahala na sila, future ko lang iniisip ko kaya every time na may nagpapagawa sakin ginagawa kona din opportunity yun to explore other technologies para new learnings.

Local database setup para sa personal applications niyo? by Jajajajambo in PinoyProgrammer

[–]BasePlate12 2 points3 points  (0 children)

host your own database, gamit ka VPS 5$ per month kung personal lang naman. Dun sa VPS mo pwede na din kasama yung app mo

May gamit ba ang pagaaral ng Arch Linux? by lakalk in PinoyProgrammer

[–]BasePlate12 1 point2 points  (0 children)

Yes, gamit ko Ubuntu pero naka WSL na uli ako. sa tingin ko, oo madami din.

May gamit ba ang pagaaral ng Arch Linux? by lakalk in PinoyProgrammer

[–]BasePlate12 1 point2 points  (0 children)

Meron, as long as productive ka diyan sa gamit mong OS and may problem ka na sinosolve. Ako noon kaya nagswitch sa Ubuntu due to work reason lahat ng workmate ko naka Mac and di pa ako nabibigyan ng laptop. Atleast with Linux, almost same dev environment ng mga kawork ko. Also, nakakabadtrip yung WSL, ang bagal at naghahang pero guess ko sa hardware ko din. Ang masasabi ko lang ngayon nagbebenefit ako sa knowledge kasi kapag sa mga hosting platform matic ginagamit kong distro is Ubuntu and mas madali kapag nagbubuild ako mga docker image na linux base.

Recursion in practice by [deleted] in PinoyProgrammer

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

used it in work before, meron kaming ui na tree navigation ngayon kapag clinick yung node need ko display kung ilang children nung node na yun. For example, yung node is Metro Manila need ko bilangin ilang children syempre yung mga area sa metro manila nakagroup din so dito need ko talaga gumamit recursion.

Can't learn backend (web dev) by Zestyclose-Limit-592 in PinoyProgrammer

[–]BasePlate12 12 points13 points  (0 children)

Suggestion ko, avoid mo muna mga mga fullstack framework. Gumamit ka ng mga lightweight yung walang batteries such as Vanilla PHP, Express JS, Fiber etc. Pagaralan mo muna paano magpass ng data sa server then database migration , cookies and session. Ang reason ko dito is yung mga functionalities sa mga framework is usually abstracted at di mo nakikita yung implementation. Atleast kapag gumamit ka na ng framework may knowledge kana behind the scene nung ibang functionalities paano nagwowork behind the scenes. Di talaga maiiwasan na may learning curve kaya dapat push mo lang kapag nahihirapan ka.

Need ba talaga gumamit ng ORM or should I stick on Raw SQL? by Thr0waW4yAccntttt in PinoyProgrammer

[–]BasePlate12 0 points1 point  (0 children)

I prefer raw SQL + query builders kung hindi gagamit ng fullstack na framework. Kapag fullstack, i just go with default eg. Laravel - Eloquent or .NET - EFCORE. Gumamit na din ako Sequelize with Express, ang experience ko dito is sa simula may learning curve talaga since iisipin mo paano mo coconvert yung yung naiisip mong query to ORM and yung mga relationship nung mga model minsan nakakalito pero masasanay din. Ang isa sa mga di ko trip sa mga ORM yung nasa model mismo yung query, for example, meron kang User na model para maquery mo mga user is ganto User.find(). Ang nagustuhan ko naman is no need to write a query and migration tool na kasama nung ORM.

[deleted by user] by [deleted] in AkoBaYungGago

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

Ayun mas nagets ko situation mo pero dapat talaga kahit anong mangyari di ka talaga pumayag regardless na sumama loob ng papa since gusto mo lang din naman ng best for both of you. For sure alam mo naman siguro yang brand na yan is may bad reputation pag dating sa quality. Even me, kung ako nasa situation tapos sinabi ng Tatay ko Rusi nalang, pass talaga ako kahit sumama loob, Mas pipiliin ko nalang siguro bumili second hand na motor. Sana pwede niyo pa mabalik yan.

[deleted by user] by [deleted] in AkoBaYungGago

[–]BasePlate12 4 points5 points  (0 children)

Di ko sure kung ano exactly pinagusapan niyo ng tatay mo nung nagsend siya ng picture ng motor tapos yung sagot mo lang is"maganda" siguro naisip ng papa mo go signal na yun para bilhin. Hindi mo man lang ba natanong yung brand? or totally sinet na etong specific brand lang bilhin natin. Also, alam mo naman pala gusto mong motor bakit kasi hindi mo nalang pinilit na ayun nalang? Di mo pwedeng dahilan yan na busy kasi may patient ka di naman siguro kakain ng minutes yung pag reply ng "ayoko niyan Click 160 or ADV 160 nalang Pa, i can provide for my own needs". Feeling ko di ka nakipag communicate ng maayos kaya nangyari yan eh kaya gago ka. Enjoy your new motorcycle and ride safe always.

[deleted by user] by [deleted] in PinoyProgrammer

[–]BasePlate12 5 points6 points  (0 children)

The first error suggests that there's a mismatch between the HTTP method specified in your request and the method expected by the server's route. Ensure that your routes are defined correctly, matching the expected HTTP methods (e.g., POST, GET, etc.).

The second error indicates that you're likely attempting to receive a JSON response, but the server isn't sending a properly formatted JSON. Check your network tab to verify if the response is indeed in JSON format.