-
11 votes
-
Intimate and immense – remembering Kaija Saariaho, one of the greatest composers of our time
7 votes -
What's your thoughts on vaporwave as a genre?
Personally I thought it sounds interesting, with the stutter and grainy effects. But I've also heard it has a reputation of being lazily produced with the original samples doing most of the work...
Personally I thought it sounds interesting, with the stutter and grainy effects. But I've also heard it has a reputation of being lazily produced with the original samples doing most of the work of making it sounds good. Since there are people who are very passionate about music here (some even have music making experiences if I'm not mistaken), I'd love to hear your opinions.
For people who haven't listened to vaporwave before, I found this playlist on Youtube, you can also give it a try and share your impression of them too.
25 votes -
UEFA Champions League: Inter Milan vs Manchester City
Do we have any football fans here that are following the Champions League? Who do you folks think will win? For how successful Man City have been this year, I am hoping that they can secure the...
Do we have any football fans here that are following the Champions League? Who do you folks think will win?
For how successful Man City have been this year, I am hoping that they can secure the Treble. I still feel like Inter is going to give them a lot of issues.
I’m thinking a 2-1 win for City.
19 votes -
What are some of your favourite, lesser-known mobile apps?
Two of my personal favourites are NexTrain and Radio Garden (the latter of which is also available online).
126 votes -
Looking for sustainably designed anti-fast fashion brands
Hey all! Most clothing and fashion brands that you can find in your local shops or online are fast-fashion: cheap to produce in mass quantities, using cheap materials and don’t last very long. For...
Hey all! Most clothing and fashion brands that you can find in your local shops or online are fast-fashion: cheap to produce in mass quantities, using cheap materials and don’t last very long. For example, I currently buy my t-shirts from Banana Republic Factory for around $10-$15 and they last maybe 8-12 months before they shrink in the wash or discolor.
I’m looking for some alternatives! I’m okay paying a little bit more for stuff that’s going to last a long time. Open to any suggestions for a more sustainable, long-lasting wardrobe!
44 votes -
Ted Kaczynski, known as the Unabomber, has died in federal prison at 81
32 votes -
I bought an e-mountain bike
I had often considered an e-bike and whilst I don't consider myself particularly good at cycling I have always enjoyed going on a bike ride. I live in a mountainous area and I am overweight and...
I had often considered an e-bike and whilst I don't consider myself particularly good at cycling I have always enjoyed going on a bike ride.
I live in a mountainous area and I am overweight and late 50's with arthritis and so cycling was becoming harder for me (I resisted an uphill battle). Cycling has always had health benefits both mental and physical but now it was a struggle.
I therefore started to look at the different models that were available. My requirements were for a hobby cyclist and enough range for a few hours ride.
I dont know what it is like elsewhere but blimey they are expensive here in the UK. 1500 - 2000GBP for a base model. So I kept my eyes open for a second hand model and finally picked up an E-MTB for 300GBP which fit none of my criteria.
A Coyote Edge 650 which was sold by a shop called Halfords here in the UK. 36v rear hub driven and a 7 gear rear cog setupi have only ever ridden hybrids or tourers before but MTB's are an eye opener and if they are as much fun without the electrics then I really did miss out on some fun in the past.
I have now done 500+ miles and it has been nothing but fun. I sometimes only get out for an hour after work but for my head that is usually good enough. I can also get to the top of the mountain and just sit and admire the view then follow the trail back down (and dont tell the wife but I am getting quicker and quicker on that down hill track)
There is no real point to this other than to share my experience as a first time e cyclist
Downsides, it is expensive. The e bike, the helmet and gloves can be quite expensive and the bits that you need just in case, pump, water bottle, spare inner tube, glasses for when the sun is low. Also when the battery starts to go that is a huge expense, in my case we are looking 300 to 400GBP.
On the other side though it has re-opened some routes I haven't done in years, my mental state is a lot better I'm losing weight, and I am having fun. Do you know how many flies you can catch when you are smiling!
Top tips I have found though is that Ali-Express is awesome for tools and parts and that charity shops (Thrift shops in the US) have been excellent for sportswear, I got some good base layers a while ago and the wife brought me home 2 MuddyFox cycling jerseys the other day, one which had a shops label still in.
If you are still contemplating whether to get one, do so and then make the time to ride it. You won't regret it.
p.s. Im not buying Lycra
16 votes -
Has anyone tried 4DX movies?
Apparently, it's like 3D D-Box but with atmospheric effects, scents and even leg ticklers.
15 votes -
Any Tildes users in college? Dorm or off-campus living for the first year?
I’m attending college this fall and moving cross country for this move. I wanted to ask everyone who’s currently in college or graduated not too long ago on whether if it’s worth it to stay...
I’m attending college this fall and moving cross country for this move. I wanted to ask everyone who’s currently in college or graduated not too long ago on whether if it’s worth it to stay on-campus in the dorms.
I heard you get assigned a roommate and some dorms, depending on which one you get, can have 1-3 additional roommates.
I’ve always had my own room and the closest thing I’ve had to a roommate was my little sister…but she had her own room as well.
I know staying on campus it’s easier to get to class and I get to live the traditional college experience. I don’t mind having a roommate but I heard if you have a shitty one, it’s not gonna be fun.
The perks of having your own apartment you get the ability of having your own space and doing whatever you want with no dorm monitors right? Only downside is paying rent?
If you have any insight or experience to share I'd love to hear them! 🙏
11 votes -
Ted Kaczynski has died
36 votes -
Housing market rate hikes. Media doom and gloom or real hard times ahead?
Rate hikes. "COVID mortgages" up for renewal at much higher rates. Wondering how badly the current rate environment is affecting people IRL. How much of this do you think (or know) is actual bad...
Rate hikes. "COVID mortgages" up for renewal at much higher rates.
Wondering how badly the current rate environment is affecting people IRL. How much of this do you think (or know) is actual bad news vs. just media doom and gloom?
21 votes -
Report: Avowed, Fable and Persona 3 remake to be in the Xbox Games Showcase
7 votes -
Anyone else trying out Warhammer 40k for the first time?
19 votes -
Cozy games
Ever since I caught the FromSoftware bug in 2020 it's been difficult for me to enjoy action games anymore, but on the plus side, it has led me to spend more time exploring and enjoying cozy games!...
Ever since I caught the FromSoftware bug in 2020 it's been difficult for me to enjoy action games anymore, but on the plus side, it has led me to spend more time exploring and enjoying cozy games! In particular, I love cozy games that don't involve any kind of violence or death mechanics.
It seems to me like these games are what people think of as being targeted towards kids, but kids these days aren't really interested in them because they are very calm, slow, relaxing and meditative, and everything kids actually consume in the "Screen Era" tends to be the exact opposite.
For me, these cozy games are a great way for me to get in touch with my inner child as an adult and they help me a lot with emotional regulation, making sense of my own childhood, all sorts of stuff, really.
Do you play cozy games? Are you interested in exploring cozy games? Do you stream cozy games? I'd love to hear from you and your experiences playing cozy games as an adult! Everything from recommendation requests, to reviews, to let's plays, and beyond.
59 votes -
Is anyone else just fed up with companies being greedy?
It feels like in the last few years so many companies are becoming incredibly greedy in a chance to try and raise profits and please the shareholders, companies hoping that people will comply as...
It feels like in the last few years so many companies are becoming incredibly greedy in a chance to try and raise profits and please the shareholders, companies hoping that people will comply as they have no choice and give away more of their money to allow these companies to make record levels of profits.
It seems like people are getting less and less and what they have left the companies just want more and more from everyone. I'm not referencing any specific company here but I have seen these trends in the last couple of years get a lot worse.
Customer Impact
- Raising prices there is some valid reasons to raise prices, but sometimes prices are raised just as a way to make more money quickly.
- Quality reduction it feels like companies are asking more money for less quality goods more than ever.
- Excessive manipulative marketing especially on social media and other playes which can misleed people.
- Data explotation companies mis-using peoples data just so they can make some quick money.
Employee Impact
- Wage stagnation Despite the soaring profits many companies refusing to increase wages, leading to financial insecurity.
- Unfair labor practices Companies expecting more from their employees for less money basically.
- Job insecurity replacing workers with automation and outsourcing to cut costs.
- Mental health high pressure enviroments to force profit-driven companies causing record levels of mental health issues.
Society and Enviromental Impact
- Polluting Companies prioritising profits over the enviroment leading to pollution, waste etc
- Economic Inequality Coporate greed leading to income disparities, undermining social coheison.
- Unfair influence on policy Companies using their power and wealth to influence policy making
My question is, when is enough is enough? At what stage should something be done? Anything? to stop corporate greed from runing society?
102 votes -
So, is anyone making use of the 25% off Epic Games coupon/mega sale?
I have picked up Dead Island 2, which was already 20% off, Kingdoms of Amalur: Rereckoning. I'm thinking about getting Killing Floor 2, Observer System Redux and Dead Space 2 as well. Anyone else?
7 votes -
How to change motorcycle spark plugs and oil - Do It Yourself Drunk vol.9
5 votes -
Denver Nuggets has been dominating the Miami Heat in the NBA finals, and this feed inside to Gordon really sums it all up. Who's been watching the NBA? Predictions for Monday?
14 votes -
How to analyze movies – Film studies 101
3 votes -
The Legend of Zelda: Tears of the Kingdom - Discussion thread
I've had a bunch of different bits of conversation about TotK across the site, but it's mostly been in passing in other topics. Since I know there's a lot of (entirely justified) enthusiasm for...
I've had a bunch of different bits of conversation about TotK across the site, but it's mostly been in passing in other topics. Since I know there's a lot of (entirely justified) enthusiasm for the game, let's talk about it! What's your favorite thing to fuse to a shield? (Ice breath) Have you developed any particularly clever machines you want to share? (I made a massively overcomplicated fish-shocker and scoop, like this, but worse.) What's your favorite (Air) and least favorite (Water) temples?
29 votes -
Any espresso enthusiasts here?
What kind of setup/equipment do you have? Preferred roasts? Maybe you don't have equipment, but a favorite drink or place? My setup isn't anything special, but it works for me. I have an Expobar...
What kind of setup/equipment do you have? Preferred roasts? Maybe you don't have equipment, but a favorite drink or place?
My setup isn't anything special, but it works for me. I have an Expobar Office Lever that I bought in 2017. Daily use and a bit of minor maintenance along the way, and it's been a solid machine. Paired with a Quamar M80E grinder.
Also have a second, more entry-level machine at our cabin - Gaggia Classic Pro (which is having some issues right now) and a DF64P grinder.
For beans, I've been using a subscription from Bottomless for the last 1.5 years and have been super happy with it. I enjoy trying different roasters from all over the country and the service has been super reliable and not all that expensive for the fact that you get just-in-time freshly roasted beans at your doorstep.
Anyway, what are you guys drinking?
33 votes -
Found a hole-in-the-wall gem and wanted to share
Was looking for the best club house sandwich in Vancouver, BC. Found “Green’s and Beans Deli” across from Royal Colombian Hospital in New West. Not only were their sandwiches priced as if it was...
Was looking for the best club house sandwich in Vancouver, BC. Found “Green’s and Beans Deli” across from Royal Colombian Hospital in New West.
Not only were their sandwiches priced as if it was still 20 years ago, but the owner new everyone’s preferences and their urgency to go back to work (“Sorry, let me take her order first - she’s only got 15 minutes.”). When it came time to pay (credit card tap), there was NOT TIP SCREEN. If you’re from the area you’ll know what I mean and probably fall out of your chair.
Oh, and the sandwiches were obviously amazing. Highly recommend.
Any places you recently found worth raving about?
12 votes -
For backpackers and campers, here's a delicious lightweight dehydrated lentil curry recipe
4 votes -
Anyone into drone landscape videography? I'm looking to upgrade my current setup and am looking for comparisons. Here's a video I shot last year with my air 1.
5 votes -
Are there any plans to publish an official API?
I understand there are no plans to develop an official app, which is understandable to me as that would require a lot of time and resources for a project like this. But it's clear that there are...
I understand there are no plans to develop an official app, which is understandable to me as that would require a lot of time and resources for a project like this.
But it's clear that there are lots of devs eager to chime in and create an app by themselves, just like they did for Reddit. There's even one iOS app already in progress, although it relies on HTML parsing to retrieve the data obviously.
So is there any official stance on this? Why not publish the API and let the community do its magic? Any thoughts?
56 votes -
How "Will & Grace" beat "Ellen's" gay curse
3 votes -
Linux gamers? If so, what games?
Curious how many of you use Linux as your main gaming OS? I started 3 years ago and switched to Arch about a year and a half ago. I play a lot of total war (mainly historical). Recently got into...
Curious how many of you use Linux as your main gaming OS? I started 3 years ago and switched to Arch about a year and a half ago.
I play a lot of total war (mainly historical). Recently got into Isonzo which has been a lot of fun.
61 votes -
Elliot Page: Embracing my trans identity saved me
30 votes -
Today is my 11th Reddit Cakeday, and it is likely to be my last as an always-on user
With the death of third party apps, I'm gone. Way over 90% of my interactions are on RIF Is Fun, and I don't see myself changing over. (Ironically, I'm typing this on my laptop, but this is...
With the death of third party apps, I'm gone. Way over 90% of my interactions are on RIF Is Fun, and I don't see myself changing over. (Ironically, I'm typing this on my laptop, but this is definitely the exception.)
The u/spez "AMA" (quotes because it was anything but an AMA) yesterday made clear that there was no vision, no plan, no grand strategy, no genius behind the scenes trying to make a bad situation better. There is next-quarterism,
venturevulture capital destruction, and a fundamental misunderstanding of where Reddit gets its value. Without the users, the mods, and the developers who make this insane place work, it will never turn a profit.Who wants to advertise on a website when there is random nsfw spam? Or where there is rampant racism without folks to clean it up? Or where nobody goes because there is no content? Developers, mods, and users provide (in order) the methods of interaction that then get applied to lead to the economic driver of the company. In the "AMA," the most damning comment in my mind was "we’ll continue to be profit-driven until profits arrive". You can't cut costs out of a budget hole when most of the work done comes from free labor, and when the content that drives eyeballs to the site is free too.
Reddit is cutting the legs off of the 1% and <0.1% of users by seeking short-sighted profits off the backs of third-party developers. Reddit is gaslighting and libelling and doing a pretty shit job of it, because we all can see what's done and said here...And it is just going to accelerate the decline of the site.
I'm not going to be deleting, because I have unreasonable hope that things can change for the better, I'll just not coming on nearly as much. I'll probably sleep or something with the extra time. Or maybe I'll read books on my phone, or develop a new strange addiction.
Here lies Reddit, a hive of scum and villainy to rival Mos Eisley. It was home. So long, and thanks for all the fish.
85 votes -
Debian 12 "bookworm" released
14 votes -
Steam Deck or ASUS ROG Ally?
I'm interested in buying one of the new PC gaming handhelds, and I'm torn. If I went for the Steam Deck I'd be buying the 512GB version, so the price difference between it and the ASUS is only...
I'm interested in buying one of the new PC gaming handhelds, and I'm torn. If I went for the Steam Deck I'd be buying the 512GB version, so the price difference between it and the ASUS is only about £50/£100 more. The ASUS seems to do a lot better in benchmarks, has a nicer screen, and comes with Windows 11. I love Linux but there's several games I'd want to play on it that the anti cheat just won't work with Linux. I know you can dual boot the Steam Deck, so that could also be an option. The main thing that is making the decision more difficult is that the Steam Deck has touchpads, and the ASUS apparantly has inferior thumbsticks and D-pad. But then again the ASUS is sleeker and lighter, so potentially more portable? Sorry for the ramble, I just wanted to express my thoughts so far, and hear what you all think. Help me decide!
35 votes -
Just One's "land mine" cards
My friends and I have been striving for the perfect score of 13 in Just One, and there's almost always one or two cards which make it seemingly impossible unless you're very lucky. Just One if...
My friends and I have been striving for the perfect score of 13 in Just One, and there's almost always one or two cards which make it seemingly impossible unless you're very lucky.
Just One if you're unfamiliar, is a game where your teammate wants to guess a word -- and you each independently give a one-word clue, "Donkey", "Dreamworks", "Ogre". If two or more players write the same word, all those clues get hidden -- so your clues can't be too obvious.
The words vary absurdly in difficulty from words like "Wine" and "Snake" where you can basically break the game by listing wines and snakes -- to words like "Mexico" and "Strawberry" where you can come at them from a few directions. ...But about 10% of the words are things like "Grotto", "Couscous" and "Ramses" where honestly, you could possibly sit down with someone for 30 minutes describing them in excruciating detail, and they might still not come up with those particular words. Could you describe "Couscous" to your 10-year-old nephew who lives on Chick-fil-A and Mcdonalds? Could you disambiguate a "Grotto" from a cave, cavern, bunker or lair? Sometimes it's a vocabulary thing but more often, it's just words with a lot of synonyms.
I call these "land mine" cards and I'm curious if anyone else has noticed this phenomenon. Have any of you gotten a perfect score in Just One? If so did you randomly dodge these land mines or did you overcome them with a really perfect clue?
5 votes -
Australian governments impose recycling rules after the packaging industry fails on waste
7 votes -
CMYK's new two player abstract game, Lacuna, available for preorder
5 votes -
Meta label for comments?
Just popped in my head, with the massive influx of users, there's been a lot more meta discussion happening in regular threads. Perhaps it might be useful to have that as a label on comments. I'd...
Just popped in my head, with the massive influx of users, there's been a lot more meta discussion happening in regular threads.
Perhaps it might be useful to have that as a label on comments. I'd almost go so far as to have the label highlighted like Exemplary for new users to help highlight when discussion function and culture of the site.
6 votes -
Likely the last Mod post that I'll make in /r/videos. We're shutting down
248 votes -
Tove Jansson's unseen Moomin sketches to go on show in Paris – exhibition focuses on life and career of brave and uncompromising Finnish artist and writer
8 votes -
Share your favorite musicians/bands! I want to discover some new music.
My favorite band is Caamp. If you like American Folk, definitely check them out. I’d recommend these: Vagabond (most popular) No Sleep 26 Lavender Girl Strawberries (slow/sad song) I’m looking for...
My favorite band is Caamp. If you like American Folk, definitely check them out. I’d recommend these:
- Vagabond (most popular)
- No Sleep
- 26
- Lavender Girl
- Strawberries (slow/sad song)
I’m looking for new music so I want to hear what everyone else listens to. Here are some more musicians/bands I love: The Lumineers, Jack Johnson, Tyler Childers, Eric Clapton, John Mayer, and Greta Van Fleet.
37 votes -
Pets 2!
In light of our 4th 5thish? anniversary here, I believe it is time for another thread on those beloved furry/scaly/feathered friends we all know and are beholden to. So fellow Tilderinos, share...
In light of our
4th5thish? anniversary here, I believe it is time for another thread on those beloved furry/scaly/feathered friends we all know and are beholden to.So fellow Tilderinos, share your pets! Photos! Stories! Antics! Attitudes! How they've changed your life! How you've changed theirs!
Inspired by this thread
37 votes -
Bickle - Big Blues (2023)
2 votes -
Geocachers in the house?
Hello Tildes geocachers! Found any good caches lately? Going in any good trips? Going to the Greater Bay Area Mega at the end of the month? I would love to know, and meet you online! I’d love to...
Hello Tildes geocachers! Found any good caches lately? Going in any good trips? Going to the Greater Bay Area Mega at the end of the month? I would love to know, and meet you online! I’d love to learn more about any interesting caches you’ve found lately and maybe we can discuss puzzles and challenges here.
32 votes -
Film and feelings: Stalker (1979)
I recently acquired the criterion release of Stalker (1979), a film I have not seen since I was a teenager. I remember liking it back then, but I didn't appreciate how much it would simultaneously...
I recently acquired the criterion release of Stalker (1979), a film I have not seen since I was a teenager. I remember liking it back then, but I didn't appreciate how much it would simultaneously wash over me as well as work it's way into the back of my mind, like an eel of a tone poem.
For those who have not seen Stalker, it is a journey of three men into a mysterious and beautiful "Zone" in search of their deepest desires.
I full throatedly recommend. Gorgeous film.While the symbolism has been thoroughly discussed elsewhere on the internet, a less talked about aspect (of this and other films) is how it makes the viewer feel.
For me personally, the three moments that most affected me on a visceral level all involve people lying down.
Why, I'm not sure.
But they are: The scene where The Stalker lays in the tall grass, I felt such a calm bliss as he soaked in the lush green nature of The Zone;
The scene where The Stalker sleeps on a tiny dry piece of ground in a large flooded canal, I felt a sense of sublime misery. The only thing I could compare it to is when you get suddenly awoken when you haven't had enough sleep, and have to go out into the cold early morning still nodding off, and nothing feels real;
and third is the lingering shot of the dog sitting guard over the entwined bodies near The Room.
I felt a profound longing sadness. I imagined that the entwined lovers died together in some relation to their deepest desire.I really love films that wash over the viewer in this way like a tide, and I hope that some of you do as well.
Another film that has a similar aspect is Upstream Color (2013), and while the creative mind behind that film is....perhaps a mentally unwell abuser, I can't dismiss the art he has created. I guess my relationship with his work is complicated.
How do you Feel about stalker?
Are there any films that had a similar effect on you as this one did to me?
Always looking for recommendations!
19 votes -
Casper Ruud made it back-to-back French Open final appearances after cruising to a win over Alexander Zverev
3 votes -
Anyone have any good theories for the show From?
Really into From right now. Sure, it's lost and has some shit writing, but I'm still addicted. Didn't know if anyone has any good theroies?
10 votes -
They Might Be Giants - Older (1999)
11 votes -
Injuries on set of Gladiator 2
8 votes -
Does anyone else listen to any D&D podcasts?
20 votes -
Looking for beta testers for my Tildes.net iOS app!
Happy Friday everyone! I'm making a post to see if anyone wants to beta test my Tildes.net iOS app Backtick. Background I've been wanting to create a Reddit app for quite a while, and just when I...
Happy Friday everyone! I'm making a post to see if anyone wants to beta test my Tildes.net iOS app Backtick.
Background
I've been wanting to create a Reddit app for quite a while, and just when I got started, the API change chaos happened. Thankfully, I remembered signing up for Tildes.net a few years ago and decided to pivot to make an app for this site instead! The app is still a work in progress, but I believe releasing early and getting as many eyes on it during development results in a better end product (and it's more fun for me 😊).
Features
Here are the current features of Backtick:
- Light mode/dark mode
- Login to Tildes.net (suports 2FA)
- Front page feed with sorting support
- View, vote, and comment on posts
- Reply and vote on comments
- Collapse comments
- View notifications
- Full markdown rendering
- Text-to-speech for posts and comments
Here is a video demo of the app in its current state (updated for v1.8.1): https://youtube.com/shorts/iukQJyJbtw8?feature=share
I know there missing features, but as I mentioned before, I would love to get as many people in as early as possible to help shape Backtick's future.
Testing
If you're interested in testing the app as I continue to work on it during my free time you will need:
- An iOS 16 device
- TestFlight (Apple's testing app)
You can access the beta here: https://testflight.apple.com/join/gNH18NE9. If you have any issues please DM me your Apple ID email and I will send you an invite manually.
Thanks, everyone! Have a great weekend.
- AshEdit:
Getting some great feedback! I'll be tracking bugs and potential features here if anyone is curious: https://chatter-brick-3d3.notion.site/Backtick-Tracker-888150b641ae4c0ab39dc0345783bc50?pvs=4Edit2:
I created the Discord server to help facilitate better collaboration with those who wish to be more involved. It will be a place for discussion around potential features, bugs, and general chat. I will still be taking in feedback via TestFlight and Tildes.net, so it's perfectly fine if you don't want to join.
Join here: https://discord.gg/aah7nkfpBY194 votes -
Making infinite scrollable lists for web without a constantly expanding DOM
A common theme in web development, and the crux of the so-called "Web 2.0" is scrolling through dynamic lists of content. Tildes is such an example: you can scroll through about 50 topics on the...
A common theme in web development, and the crux of the so-called "Web 2.0" is scrolling through dynamic lists of content. Tildes is such an example: you can scroll through about 50 topics on the front page before you reach a "next" button if you want to keep looking.
There's a certain beauty in the simplicity of the next/previous page. When done right it's fast, it's easy, and fits neatly into a server-side rendered model. However, it does cause that small bit of friction where you need to hit the next button to go forward -- taking you out of the "flow", so-to-speak. It's slick, but it could be slicker. Perhaps more importantly, it's an interesting problem to solve.
A step up from the next/previous button is to load the next page of content when you reach the end of the list, inserting it below. If the load is pretty fast, this will hardly interrupt your flow at all! The ever-so-popular reddit enhancement suite does precisely that for reddit: instead of a next button, when you reach the bottom, the next page of items simply plops into place. If the loading isn't fast enough, perhaps instead of loading when they reach the last item, you might choose to load when they hit the fifth from last item, etc.
To try to keep this post more concrete, and more helpful, here's how this type of pagination would work in practice, in typescript and using the Intersection Observer API but otherwise framework agnostic:
/** * Allows the user to scroll forever through the given list by calling the given loadMore() * function whenever the bottom element (by default) becomes visible. This assumes that * loadMore is the only thing that modifies the list, and that the list is done being modified * once the promise returned from loadMore resolves * * @param list The element which contains the individual items * @param loadMore A function which can be called to insert more items into the list. Can return * a rejected promise to indicate that there are no more items to load * @param triggerLoadAt The index of the child in the list which triggers the load. Negative numbers * are interpreted as offsets from the end of the list. */ function handlePagination(list: Element, loadMore: () => Promise<void>, triggerLoadAt: number = -1) { manageIntersection(); return; function handleIntersection(ele: Element, handler: () => void): () => void { let active = true; const observer = new IntersectionObserver((entries) => { if (active && entries[0].isIntersecting) { handler() } }, { root: null, threshold: 0.5 }); observer.observe(ele); return () => { if (active) { active = false; observer.disconnect(); } } } function manageIntersection() { const index = triggerLoadAt < 0 ? list.children.length + triggerLoadAt : triggerLoadAt; if (index < 0 || index >= list.children.length) { throw new Error(`index=${index} is not valid for a list of ${list.children.length} items`); } const child = list.children[index]; const removeIntersectionHandler = handleIntersection(child, () => { removeIntersectionHandler(); loadMore().then(() => { manageIntersection(); }).catch((e) => {}); }); } }If you're sane, this probably suffices for you. However, there is still one problem: as you scroll,
the number of elements on the DOM get longer and longer. This means they necessarily take up
some amount of memory, and browsers probably have to do some amount of work to keep
track of them. Thus, in theory, if you were to scroll long enough, the page would get slower and
slower! How long "long enough" is would depend mostly on how complicated each item is: if each one
is a unique 20k element svg, it'll get slow pretty quickly.The trick to avoid this, and to get a constant overhead, is that when adding new items below, remove the same number of items above! Of course, if the user scrolls back up they'll be expecting those items to be there, but no worries, the
handlePaginationfrom before works just as well for loading items before the first item.However, this simple change is where a key problem arises: inserting elements below doesn't cause any layout shift, but inserting an item above ought to--right?
The answer is: it depends on the browser! Back in 2017 chrome realized that it's often convenient to be able to insert items into the dom above the viewport, and implemented scroll anchoring, which basically ensures that if you insert an item 50px tall above the viewport, then scroll 50px down so that there's no visual layout shift. Firefox followed suite in 2019, and edge got support in 2020. But alas, safari both on mac and ios does not support scroll anchoring (though they expressed interest in it since 2017)
Now, there's two responses to this:
- Surely Safari support is coming soon, they've posted on that bug as recently as April! Just use simpler pagination for now
- Pshhhh, just implement scroll anchoring ourself!
Of course, I've gone and done #2, and it almost perfectly works. Here's the idea:
- Right before
loadMore, find the first item in the list which is inside the viewport. This is the item whose position we don't want to move. Use getBoundingClientRect to find it's top position. - Perform the DOM manipulation as desired
- Use getBoundingClientRect again to find the new top of that item.
- Insert (or remove) the appropriate amount of blank space at the top of the list to offset the change in client rect (note that if there's scroll anchoring support in the browser this should always be zero, which means this effectively works as progressive enhancement)
Now, the function to do this is a tad too long for this post. I implemented it in React, however, and combined it with some stronger preloading object (we don't need all the items we've fetched from the API on the DOM, so we can use before, onTheDom, after lists to avoid getting a bunch of api requests just from scrolling down and up within the same small number of items).
What's interesting is that it still works perfectly on chrome even with scroll-anchoring disabled (via
overflow-anchor: none), but on Safari there is still, sometimes, 1 frame where it renders the wrong scroll position before immediately adjusting. Because I implemented it in react, however, my current hypothesis is I have a mistake somewhere which causes the javascript to yield to the renderer before all the manipulations are done, and it only shows up on Safari because of the generally higher framerates thereIf it's interesting to people, I could extract the infinite list component outside of this project: I certainly like it, and in my case I do expect people to want to quickly scroll through hundreds to thousands of items, so the lighter DOM feels worth it (though perhaps it wouldn't if I had known, when starting, how painful getting it to work on Safari would be!).
What do you think of this type of "true" infinite scrolling for web? Good thing, neutral thing, bad thing? Would you use it, if the component were available? Would you remove it, if you saw someone doing this? Are there other questions about how this was accomplished? Is this an appropriate post for Tildes?
11 votes