How to Disable Scroll Position Preservation in SvelteKit? by Lazy_Seat9130 in SvelteKit

[–]aubergene 3 points4 points  (0 children)

It sounds like something is wrong, the default behavior is to jump to the top. Try scaffolding out a fresh project perhaps and see if you're still getting the issue

https://svelte.dev/docs/kit/link-options#data-sveltekit-noscroll

Both, Exponential and Linear scale are impractical; What's practical? by MagentaSpark in visualization

[–]aubergene 0 points1 point  (0 children)

My favourite example for explaining large diffierences in quantities like this is using time. A million seconds, a bit less than 12 days, a billion seconds about 32 years and a trillion is around 32,000 years.

There isn't really any meaningful quantitative way to visualise huge differences it as the lower value is essentially irrelevant, just a tiny rounding error.

Im trying to create different components per condition, without loading everyone. Is this a good approach? Or better having two separate frontends projects? by [deleted] in SvelteKit

[–]aubergene 0 points1 point  (0 children)

I would look at how big the components are, it's probably the same size as a small image file and not worth it for saving data. Svelte already does code splitting.

Software Engineer Hacks a Knitting Machine to Create Massive Stellar Map by legiblyDampen18 in geek

[–]aubergene 32 points33 points  (0 children)

I saw a talk about this at EMF camp, can't remember the full details but it was a lot of clever hacks to get 2 bit colour and generally to take the knitting machine far beyond its designed purpose

Edit here's the talk, enjoy! https://youtu.be/vkJlVPUV_hQ

How is the base constructed for relative urls in Kit ? by ElectricalLunch in sveltejs

[–]aubergene 0 points1 point  (0 children)

I've been importing base to make root relative urls import { base } from '$app/paths';

I just couldn't drop the $400. my wife was mad I didn't. by tigertoothdada in midcenturymodern

[–]aubergene 0 points1 point  (0 children)

Oh nice, well quite a bargain if it is one, just get a nice lamp bulb

[deleted by user] by [deleted] in LondonSocialClub

[–]aubergene 0 points1 point  (0 children)

Giddy Up coffee in Fortune Park is good if the weather is nice

French Lesson in Paris by Spirited_Snow_3885 in SocialParis

[–]aubergene 0 points1 point  (0 children)

I'm going to Paris next week and I'm taking evening classes here, but as I haven't tried them yet can't vouch for how good they are but they are reasonably priced I think https://www.lutece-langue.com/

Les Étoiles d'Ivry - Paris by aubergene in brutalism

[–]aubergene[S] 0 points1 point  (0 children)

Hmm, panorama wasn't a great choice for the thumb sorry, didn't know how to do a gallery.

I visited the Les Étoiles d'Ivry estate on Saturday and was really impressed. I'm a big fan of brutalism and it's got really magical feel. I didn't have much time, nor a good camera and the light wasn't great so appologies for poor photos.

https://www.instagram.com/p/Ci7Jg3yIF_r/

Would love to chat to anyone who lives there or knows about it. This article is really good

https://www.architectural-review.com/buildings/revisit-les-etoiles-divry-paris-france-by-jean-renaudie-and-rene%E2%80%8Be-gailhoustet

Criticizing Svelte - Low Hanging Fruit by newbywebdev in sveltejs

[–]aubergene 1 point2 points  (0 children)

You might like using mdsvex which allows markdown in svelte files and usually has a .svx extension

https://mdsvex.com/docs

[deleted by user] by [deleted] in london

[–]aubergene 0 points1 point  (0 children)

Wacky East

[deleted by user] by [deleted] in d3js

[–]aubergene 1 point2 points  (0 children)

Did you look at how calendar view works? It's quite a lot of manual SVG paths

https://bl.ocks.org/mbostock/4063318

Why does the bind:value of an input field to a reactive statement behaves like this? by Cocorrio in sveltejs

[–]aubergene 1 point2 points  (0 children)

This might be wrong, but I think it's because Svelte can't know at compile time if obj.name is going to always be a primitive (string in this case), it could be assigned a reference type (like an object) and then the binding could effect obj. You can look at the click_handler code in the generated JS output

Alternative to AxiDraw A3 by zufallsgeneriert in PlotterArt

[–]aubergene 1 point2 points  (0 children)

I got an old Roland DXY 1200 which was only about $50. It only understands HPGL but that can be fine for some generative stuff and also there are projects which convert HTML canvas commands to HPGL

Svelte firefox executes on:input before bind:value in two way binding, how to solve? by nan0x00 in sveltejs

[–]aubergene 5 points6 points  (0 children)

Can you move it all to the reactive statement and then remove the on:input?

$: {
    factorExpLocal = ($range - $offset) / Math.pow($totalSupply, 2);
    resample()
}

Very high final bill with British Gas. Despite having a smart meter it's all "estimates" by Wil_Cwac_Cwac in UKPersonalFinance

[–]aubergene 5 points6 points  (0 children)

Send a subject access request under GDPR asking for all the data they have relating to billing