4853
Part of @thedevs Rules: @rulesforthedevs Join other dev groups https://thedevs.network
"import attributes" is simpler approach that won't fail on runtime.
import loginTemplate from "./login.html" with { type "text" };
//use loginTemplate accordingly
Читать полностью…
This is an expression not merely a "string".
Also, "I have a string file" is misleading if it's a normal JavaScript module file.
Create a function which takes url and returns a string of body or an object containing subject and body
Does anyone want to collaborate with me to generate income?
Читать полностью…
I meant its interesting to note that they rewrote the image decoder in rust.
Читать полностью…
SI will take care of that.
It's very efficient than humans in checking latest updates > checking vulnerabilities with new updates > ensuring deps are not broken.
Hi everyone! 😊 Could you please help me with my research project by filling out this short Google Form? 🙏
📝 Only 8 questions, all MCQ-based — it’ll take just a few minutes!
🔗 https://docs.google.com/forms/d/e/1FAIpQLSdTns9ZXSvwkqvxlZphIVM98beEUTDb7U1sKs6sm7cR2kciBg/viewform?usp=sharing
Your response would really mean a lot to me. ❤️ Thank you for your time and support! 😊
Classical user thing to never switch locations ever
Читать полностью…
I think you're using MongoDB and there is a distanceWithin operator? I don't remember properly
This solution was kind of right even though the question was not proper
Читать полностью…
Yeah that would need another line of destructuring the object.
Читать полностью…
That would need another function fo its own then.
export const ver_subject = `Please verify email for food_app`,
ver_body = `
<p>Hi there,</p>
<p>Click the link below to verify your email address:</p>
<p><a href="${url}">Verify Email</a></p>
<p>This link expires in 1 hour.</p>
<p>If you didn't create an account, you can safely ignore this email.</p>
`;
I have a string file to keep all strings in one place. Need to pass other variables in one of the string. Is there a way to do that?
Читать полностью…
I hope all of you who been using containerization for isolation/security have already migrated to MicroVMs.
The kernel sandbox escapes are getting more and more common accelerated by AI.
Here is CVE-2026-99999 with 9.3 score.
https://pwn.ai/blog/pwnescape
Far better reply than whatever you had sent and deleted. Thanks
Читать полностью…
What do you mean (lol, it's written in rust) ? I don't understand
Читать полностью…
jxl image format was finally shipped by chrome (lol, it's written in rust).
https://developer.chrome.com/blog/jpeg-xl-in-chrome
it's best time they merge these together, not much devs reads their docs anymore lol
Читать полностью…
No, it's not.
It's only a simple vuln at face value .
I love it when a company fixes a vulnerability with a "fix" commit/ release notes and most importantly without raising a CVE.
JS devs should do this more often.
https://beaksec.github.io/posts/telegram-desktop-one-click-account-takeover/
But again I think, distance is nto correct because there can be cases where a user requests two locations but like separate rooms or floors like thing so that will be technically correct.
Читать полностью…
I don't think you need to stop duplicate requests here at all
Читать полностью…
Maybe we can just compare the coordinates and say if it is very close then not allowed.
Читать полностью…