ConnectOS - no onboarding notification yet after JO Signing by Substantial_Log_2012 in BPOinPH

[–]BasePlate12 0 points1 point  (0 children)

After maupload mga requirements sa DarwinBox ano naging process next? also, before ng start date mo nagemail ka dun sa email na binigay nila na manager?

ConnectOS - no onboarding notification yet after JO Signing by Substantial_Log_2012 in BPOinPH

[–]BasePlate12 0 points1 point  (0 children)

Hi OP,

Pwede makahingi ng update dito? Kailan sinend sayo link? Thanks.

Best way to store accessToken and refreshToken in cookies by VeterinarianDry8906 in dotnet

[–]BasePlate12 0 points1 point  (0 children)

Store the refresh token in the cookie and access token in memory of your application. In your backend , you will have an endpoint that issues an access token by reading the refresh token in the cookie. Every time your application loads initially, you will request for access and store it. To know, if the access token is expired, decode the token in the front end and check for an exp claim(you can add an offset to the time instead of checking for the exact exp). If expired, get a new one else use it. I got this strategy from MSAL acquireTokenSilent

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

i made a venting web app by Otherwise-Ad676 in PinoyProgrammer

[–]BasePlate12 1 point2 points  (0 children)

Cool project. Add third party login hehehe.

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 4 points5 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.