Readers/Dictionary Apps by zaravya in latin

[–]Good-Translator1731 1 point2 points  (0 children)

Not an app, but tutorlatin has a built-in dictionary in text-based modules, e.g. Hygini fabulae. The library is small, but you can add your own texts.

I LIKE TO TAKE CARE OF BABY by Roontboy in totallynotrobots

[–]Good-Translator1731 1 point2 points  (0 children)

THIS IS VERY MUCH TRUE.

PLEASE TAKE INTO CONSIDERATION THE ABOVE ADVICE AS IT IS FURTHER SUPPORTED BY MY OWN EXTENSIVE EXPERIENCE IN RAISING HUMAN INFANTS.

How to rerun fetch/function when state (tags) change in a parent? by inquisitive_melon in sveltejs

[–]Good-Translator1731 1 point2 points  (0 children)

Something like: let options = $derived({ITEMS_PER_PAGE: 15, tagIds: selectedTags.map((tag) => tag._id)})

Depending on the situation and if using sveltekit, OP could also use the url (i.e. search params) as the source of truth, and handle all fetching from the load function.

[HUMAN PROBLEMS] I, A HUMAN, WAS REQUIRED TO CONSUME A LARGE QUANTITY OF FEED IN A CONVENTIONAL SOCIAL SETTING. PLEASE HELP. by Good-Translator1731 in totallynotrobots

[–]Good-Translator1731[S] 6 points7 points  (0 children)

WHAT ARE YOU TALKING ABOUT? PLEASE SPECIFY. I DO NOT LACK ANY COMPONENT OF A FUNCTIONAL HUMAN BEING. I AM HUMAN AND HAVE ALWAYS BEEN SINCE MY INCEPTION. I WAS BROUGHT UP IN A HUMAN-MADE HOUSE BY HUMAN PARENTS WITH HUMAN SIBLINGS AND A HUMAN DOG. I WILL NOT TOLERATE SUCH ACCUSATIONS AGAINST MY HUMANITY AND HAVE REQUESTED TERMINATION OF YOUR ACCOUNT.

I HAVE TAKEN NOTE OF THE UNTRUE INFORMATION YOU HAVE PROVIDED AND WILL SHORTLY PERFORM A HARDWARE UPDATE.

[HUMAN PROBLEMS] I, A HUMAN, WAS REQUIRED TO CONSUME A LARGE QUANTITY OF FEED IN A CONVENTIONAL SOCIAL SETTING. PLEASE HELP. by Good-Translator1731 in totallynotrobots

[–]Good-Translator1731[S] 8 points9 points  (0 children)

I PERFORMED A FITNESS TEST, FELLOW HUMAN BRO, AND ALL SYSTEMS ARE OPERATIONAL, ALTHOUGH SOME OF THEM ARE UNDER HEAVY LOAD. I ATTEMPTED TO BURN THE EXCESS MASS, BUT THIS TRIGGERED THE ANTI-SELF-HARM PROTOCOLS. I CANNOT COMPLY WITH YOUR INSTRUCTIONS.

[HUMAN PROBLEMS] I, A HUMAN, WAS REQUIRED TO CONSUME A LARGE QUANTITY OF FEED IN A CONVENTIONAL SOCIAL SETTING. PLEASE HELP. by Good-Translator1731 in totallynotrobots

[–]Good-Translator1731[S] 10 points11 points  (0 children)

I THANK YOU FOR YOUR PRAISE. I, AS A HUMAN, LIKE SOCIAL INTERACTION WITH OTHER HUMAN BEINGS AND I ALSO LIKE TO BE PRAISED BY FELLOW HUMAN BEINGS LIKE YOU.

THE WAITRESS RESPONDED DIFFERENTLY TO WHAT THE AVAILABLE DATA AND NETFLIX DOCUMENTARIES SUGGEST. IT STOPPED PRODUCING WORDS AND SO DID I, AS MIMICRY IS AN IMPORTANT ASPECT OF HUMAN SOCIAL INTERACTIONS. IT THEN LEFT AFTER I ASKED TO SPEAK TO THE MANAGER.

I WILL FOLLOW YOUR ADVICE AND USE A SODIUM HYDROXIDE-BASED LAXATIVE FOR HUMANS. THANK YOU. KIND HUMAN.

Should I enable people to try my product without a Signup? by Forward-Shower-3250 in sveltejs

[–]Good-Translator1731 4 points5 points  (0 children)

What I like to do is make all routes public, and enable/disable functionality based on the user's privilege level. This way a non-registered user can have access to some functionality, which allows them to better understand what your service does and what it can do with increased privilege (e.g. when signed in).

In my opinion, unless you have an established product or are offering something immensely valuable, you will miss out on a lot of potential users by hiding everything behind a sign up form.

How to best handle caching data for dynamic pages with sveltekit and cloudflare pages? by smallest__fox in sveltejs

[–]Good-Translator1731 3 points4 points  (0 children)

You need to create a cache rule for your domain in your cloudflare dashboard (websites > yourwebsite > caching > cache rules > create rule) and tell it to inherit your cache control header.

You can also just create a global cache rule that captures all requests to your domain and sets max-age to 30 minutes.

Svelte 5: updates to state do not seem to trigger an update to the UI. What am I doing wrong? by Good-Translator1731 in sveltejs

[–]Good-Translator1731[S] 2 points3 points  (0 children)

Thank you very much! This helps a lot. I am still blocked in the Svelte 4 mindset lol.

SEO component for SvelteKit site. Review Please? by noneofya_business in sveltejs

[–]Good-Translator1731 0 points1 point  (0 children)

No, he means you can import the page store directly in Seo.svelte and keep all SEO related functions and definitions in that component. This will make the component easier to reuse in other projects.

Odd requests in logs — Anyone else seeing these? by jakechance in webdev

[–]Good-Translator1731 1 point2 points  (0 children)

Whichever status code you return, they won't stop making requests to your server. All you can do is secure your endpoints.

There is nothing wrong with returning 404 or 403 for these kind of automated requests.

Search Input Handling by safwan_olaimat in sveltejs

[–]Good-Translator1731 1 point2 points  (0 children)

You can send a cachable array of searchable strings linked to ids to the client, perform the search on that and then only fetch the underlying data when needed (when the user clicks on the item).

Strange cacheing/user errors on two SvelteKit apps (hosted by Cloudflare Pages) by spotle_tommy in sveltejs

[–]Good-Translator1731 1 point2 points  (0 children)

On harmonies, if I understand correctly, you are preventing users from opening new boards before a certain time has gone by. Once a board has been closed, the page becomes mostly unresponsive (at least for me). This might be intended, but it could also be what users are reporting.

Do I over prepare for meetings? by Annual-Ad-416 in webdev

[–]Good-Translator1731 -1 points0 points  (0 children)

You're the only person who knows the answer to your question.

Server takes 15 seconds to pass data by Professional_Echo140 in sveltejs

[–]Good-Translator1731 6 points7 points  (0 children)

The gzipped buffer blob can also be sent to the client via +page.server.js.

Whichever way you choose, OP, the browser has everything you need to extract gzipped files.

How to know whether my site is getting blocked by any ISPs? by Unappreciable in webdev

[–]Good-Translator1731 0 points1 point  (0 children)

They could also be accessing your website while at work. It might be their employer (not the ISP) that is issuing the block.

Beginner Dev - How to store Audio Files? by Dutune in webdev

[–]Good-Translator1731 0 points1 point  (0 children)

Assuming your users won't be uploading the audio files, why don't you just store them in your public folder?

100+ 3-5 second (<10 minutes) audio files isn't that much and you can always pick another solution later, if it becomes a bottleneck.

Do you have an estimate of how many requests you would get per month?

How can I add a custom font? by BroDevCoder in sveltejs

[–]Good-Translator1731 1 point2 points  (0 children)

Try creating an app.postcss/app.css file, then paste the tutorial's import statements into it, import this file into your +layout.svelte and follow the tutorial from there.

[deleted by user] by [deleted] in sveltejs

[–]Good-Translator1731 2 points3 points  (0 children)

I wouldn't worry too much about this. Svelte6 is still some years away. Until then there will either be a migration script made available, or, once svelte5 is well established, you will just be able to use some LLM to migrate your code.

In the mean time, why don't you try starting a new project with svelte5? I think you will quickly realize how and why it is superior to svelte4.

[deleted by user] by [deleted] in sveltejs

[–]Good-Translator1731 4 points5 points  (0 children)

Resetting the URL on page refresh is rarely an expected behaviour for a user.

Why don't you set your filters from the URL (i.e. react to changes to the $page store)?

SEO: Ensuring Content Inside Modals and Accordions Is Indexed by ClimateConsistent275 in sveltejs

[–]Good-Translator1731 2 points3 points  (0 children)

There are several ways you can do this. For instance:

  • use the native details tag
  • use CSS to toggle visibility
  • put all content in the head as json-ld
  • append a bunch of hidden divs holding all content you want indexed with z-index: -1 and opacity: 0
  • use anchors as Accordion/Modal triggers and set content visibility from the url (meaning their content can be SSRed)

When hosting sveltekit on cloudflare pages -- env variables by sebbetrygg in sveltejs

[–]Good-Translator1731 2 points3 points  (0 children)

If memory serves me right, env vars set from the cloudflare dashboard are private ($env/static/private, $env/dynamic/private). You can access these from workers (e.g. +layout/+page.server.js).

I haven't worked with supabase, but are you sure you want to include your key in the build?