ned
banner
nedpals.xyz
ned
@nedpals.xyz
Open Sourc-erer / UICian
https://nedpals.xyz
right. many are racing om getting their quick fixes be pushed before fridays lol
January 23, 2025 at 3:35 PM
Reload the extension and voila. We now made InboxSDK work with vitejs-built web extension. Enjoy building gmail chrome extensions with vite :)
January 21, 2025 at 8:39 AM
Now we'll just copy the background.js code (which is just a webext code), replace `pageWorld.js` with the url import we just added, and recompile.
January 21, 2025 at 8:39 AM
We need to find a way to execute `pageWorld.js`. Because of the way vite works, we can't apply webpack-specific solution attached in the issue. Copying the entire file is a maintenance hassle.

Luckily there's a way to reference the file and that's by using vite's `?url` import suffix instead.
January 21, 2025 at 8:39 AM
For context:
- gmail-js does not work for me at all
- after migrating to inboxsdk, i read the last comment in github.com/InboxSDK/hel... and it only spits an error
- i look into `background.js` code and found out it is just trying to load `pageWorld.js`
Using npm MV3 version with your own background.js · Issue #10 · InboxSDK/hello-world
The current examples in documentation and this repository aren't every helpful in the sense that they use an imported background.js. Most extensions will be making use of this script and therefore ...
github.com
January 21, 2025 at 8:39 AM
this is different from newbies/non-techs understanding posts related to web dev wherein authors are trying their best to communicate as simple as the they can so that the readers can understand the impact and benefit it brings to their products.
January 15, 2025 at 2:15 AM
extra: thanks to this stackoverflow issue for pointing out the problem because i never saw in the docs that the service bus keys are gonna be expiring and also never expect that an outdated date/time machine would be the problem:

stackoverflow.com/questions/77...
Why Is My Azure Service Bus Client Token Expiring?
I have an application written in C# that processes messages placed on an Azure Service Bus Queue. This application is a BackgroundService running as a Windows service using the AddHostedService met...
stackoverflow.com
January 13, 2025 at 2:38 PM
lesson learned: always turn off the podman machine properly when hibernating (annoying but have to get used to this madness)
January 13, 2025 at 2:35 PM
this is something docker is also facing but eventually was able to fix it by making an internal ntp server that always syncs to the machine's current time (correct me if i'm wrong lol)

www.docker.com/blog/address...
Addressing Time Drift in Docker Desktop for Mac
Learn from Docker experts to simplify and advance your app development and management with Docker. Stay up to date on Docker events and new version
www.docker.com
January 13, 2025 at 2:35 PM