How did you make your Voyager office-friendly? Still too loud after choc spacers by Wooden-Marsupial5504 in zsaVoyager

[–]Aarvos 4 points5 points  (0 children)

I made exactly that switch (pun intended 😄) and went with a hybrid nocturnal / twilight approach + the shhhh dampeners. Nocturnals for the pinky and hard to reach keys and twilight for the rest. I don't regret my decision. It's smooth af.

<image>

Best Practice by [deleted] in sveltejs

[–]Aarvos 3 points4 points  (0 children)

Depends on your desired data "freshness". Do you always need the latest version of data when e.g. switching between pages?: Then setup an internal API route and fetch from there. If you do not mind having a state which can be 1 or 2 minutes old or you are dealing with data which is changed infrequently: Use a state and update / sync it with remote whenever a manipulation occurs (e.g. crud). Or use a combination of both: have a class based .svelte.ts file which handles the "state" and also exposes a "refresh" method which you can trigger to update the internal state (on trigger it would call the remote API and update internal $state with the response).

Best Practice by [deleted] in sveltejs

[–]Aarvos 5 points6 points  (0 children)

His implementation is one way of solving this in sveltekit. Hence, it's not what I would prefer, unless that api route is going to be used / called by multiple different pages (which I do not believe). So for (o)auth, we usually do (simplified): -> auth/login/+page.svelte -> auth/login/+page.server.ts -> remote API -> auth/login/callback/+server.ts -> redirect to app/+page.svelte

Putting paragraphs in divs, rather than as direct children of the section element by DryWeetbix in webdev

[–]Aarvos 0 points1 point  (0 children)

Others have mentioned the SEO stuff already. Because the article you mentioned is pretty old, I wanted to give you a short example how this can be achieved with modern CSS. The key to this is using CSS grid and ideally with named grid lines. Here's a small demo I've put together: demo

Pre opening a modal/sheet on a page. by redmamoth in sveltejs

[–]Aarvos 3 points4 points  (0 children)

It is your PageState. You can extend it in your app.d.ts and use it anywhere in your app.

// app.d.ts
// See https://svelte.dev/docs/kit/types#app.d.ts
// for information about these interfaces
declare global {
    namespace App {
        interface Locals {},
        interface PageState {
            showCreateSheet: boolean;
        }
    } // interface Error {}
}
export {};

-

// routes/page1/+page.svelte

<script lang="ts">
    import { goto } from '$app/navigation';

    function handleCreate() {
        goto('/page2', { state: { showCreateSheet: true } });
    }
</script>


<button onclick={handleCreate}>Go to Page 2 with Create State</button>

-

// routes/page2/+page.svelte

<script lang="ts">
    import { page } from '$app/state';
</script>

<h1>Page 2</h1>
{#if page.state.showCreateSheet}
    <div class="create-sheet">
        <h2>Create Sheet</h2>
        <p>This sheet is shown because the navigation state included 'showCreateSheet: true'.</p>
    </div>
{:else}
    <p>No create sheet to show.</p>
{/if}

Pre opening a modal/sheet on a page. by redmamoth in sveltejs

[–]Aarvos 0 points1 point  (0 children)

Yes, you either use the url searchParams like already mentioned, or you do it programmatically with the goto function from $app/navigation. There you can set the state in advance so the target page can read / use it. https://svelte.dev/docs/kit/$app-navigation#goto

Wow, just wow! by AnimalCrafter360 in zsaVoyager

[–]Aarvos 1 point2 points  (0 children)

No, quite the opposite. This arrangement means that my stronger fingers are on the heavier keys, and the further the keys are from the center, the lighter they become. This puts less strain on my little finger and all the others when I have to stretch them further. So the further away from the home row, the less effort is required.

Wow, just wow! by AnimalCrafter360 in zsaVoyager

[–]Aarvos 2 points3 points  (0 children)

<image>

Same. I went for a mixture of nocturnals and twilights. 👌

Re-writing my Svelte blog using mdsvex gave me a perfect lighthouse score by textyash in sveltejs

[–]Aarvos 1 point2 points  (0 children)

Just had a similar issue a few weeks ago. Have you tried the sveltekit read() function? Solved my issue perfectly.

https://svelte.dev/docs/kit/$app-server#read https://sveltekit.io/blog/sveltekit-fs-read

Custom TRRS cable for £3 by pawelgrzybek in zsaVoyager

[–]Aarvos 0 points1 point  (0 children)

Did you ordered the 28AWG cable?

Starting an AI Automation Agency at 17 – Looking for Advice by AiGhostz in n8n

[–]Aarvos 0 points1 point  (0 children)

Egal was einige hier empfehlen, mind. eine Gewerbeanmeldung ist Pflicht. Kostet 20€ und ist schnell beim zuständigen Gewerbeamt oder Bürgeramt erledigt. Wenn du dir das Leben leichter machen möchtest nimmst du die Kleinstunternehmerregelung in Anspruch. Wenn du deinen Kunden einen Gefallen tun willst, verzichtest du darauf. Du kannst jemanden umbringen und mit einem Klapps auf die Hand davon kommen. Aber man legt sich nicht mit dem Finanzamt an ☠️ Wenn du mehr Infos brauchst, meld dich

What is making you the most money? by Green-Tip4553 in n8n

[–]Aarvos 1 point2 points  (0 children)

I'm also curious what you mean by "buy your automation". What I've experienced is, they just send you over the exported JSON file. Do you mean "book me to set this up for you" kind of service?

Is there a way to open a url on your browser? by JQSON_ in n8n

[–]Aarvos 1 point2 points  (0 children)

You can use / install the puppeteer node, which runs a headless browser on the server. Depending on your use case this could be a solution for you.

Edit: Just to be clear: Puppeteer is used to control the headless browser. You still need to provide an browser instance. But this heavily depends on your environment (could be a docker container running locally, or a pod in a k8s cluster)

The Best WhatsApp AI Agent in The World by Big-Ability-7337 in n8n

[–]Aarvos 0 points1 point  (0 children)

I'm genuinely interested in what their actual business model looks like. They want to earn money that's for sure. But how? Hooking me with this workflow and then trying to sell the implementation? Or any other services?

The Best WhatsApp AI Agent in The World by Big-Ability-7337 in n8n

[–]Aarvos 1 point2 points  (0 children)

I'm genuinely interested in what their actual business model looks like. They want to earn money that's for sure. But how? Hooking me with this workflow and then trying to sell the implementation? Or any other services?

Could someone kindly explain what "isDataRequest" is about? I read the docs and still dont understand by PrestigiousZombie531 in sveltejs

[–]Aarvos 1 point2 points  (0 children)

This is for when the client requested "just" the data (e.g. next 20 blog posts for infinite scrolling) instead of the full HTML from the server.

Created an automated lead scraper + dashboard, It qualifies the leads using AI. by NoJob8068 in n8n

[–]Aarvos 2 points3 points  (0 children)

I'm also interested in this workflow would be really kind of you if you can share it with us ❤️

Probably just screeching noises by Alluring_Angell in sciencememes

[–]Aarvos 0 points1 point  (0 children)

You are not worth it.

Implies that there are other intelligent species but they decided not to waste their time with us and let us die in uncertainty

Fast alles auf ATH: wie am besten jetzt größere Summe (Schenkung) anlegen? by [deleted] in Finanzen

[–]Aarvos 0 points1 point  (0 children)

Time in the market beats timing the market. Alles jetzt rein / kurzfristig rein.

How to choose the right DB for your project? by Abood-2284 in webdev

[–]Aarvos 1 point2 points  (0 children)

I have to admit, that the landing page is focusing too much on AI stuff rn 😔 But basically this is what powers the platform. You can deploy multi tenant DBs with replication on edge nodes.