There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

lemmy.ml

DODOKING38 , to memes in No regret.

At a glance it looks like a fried chicken wing 🍗

toastal , to programmerhumor in Single-Page Application

What some folks are missing is that SPAs are great for web applications & unsuitable for web pages. There is more nuance than “SPA bad”.

Then dealing with a lot of dynamic content, piping thru a virtual DOM DSL is 100× nicer for a developer than having to manually manipulate the DOM or hand write XML where it’s easy to forget all the closing tags (XML is better as a interchange format IMO & amazing when you need extensibility
 also JSX just makes it worse). That developer experience (DX) often can lead to faster iteration & less bugs even with a cost to the user experience (UX). But it’s not always a negative impact to the UX–SPAs can be used to keep things like a video or music player on while still browser & using the URL bar as a state reference to easy send links to others or remember your own state.

It’s equally silly that a landing page whose primary purpose is to inform users of content takes 40s to load & shows “This applications requires JavaScript” to the TUI browser users & web crawlers/search indexers that don’t have the scale of Google to be executing JavaScript in headless browser just to see what a site has to say.

The trick is knowing how & when to draw these lines as there’s even a spectrum within the two extremes for progressive enhancement. React isn’t the solution to everything. Neither is static sites. Nor HTMX. Nor LiveView. Nor Next/Nuxt/NĂĄxt/NĂŒxt/NƓxt/Nàž­xt.

madcaesar ,

What is a web page vs web application? The web is so complex with features these days that pretty much everything is an application.

expr ,

Gmail is a (bad) web application. A marketing website or even an ecommerce store are not.

toastal ,

I admitted it was a spectrum, but this recent article in particular does a good job explaining the axes of static vs. dynamic : online vs. offline. I think you will appreciate it. :)

foobaz ,

I don’t agree with this hard split between SPAs and MPAs anymore (ie. SPAs for apps, MPAs for websites/content). In my opinion SPAs are simply a progressive enhancement for MPAs which allow even faster page navigation. All frameworks now come with SSR solutions and if a website still requires JS to show content that’s a skill issue.

Looking at Astro the line between SPA/MPA is getting really blurry. Just slap a View Transition element on your page and you got a MPA which acts like a SPA when JS is enabled.

toastal ,

In my opinion SPAs are simply a progressive enhancement for MPAs which allow even faster page navigation.

While I agree that there is a spectrum (hinting at that with the last paragraph), this is where I hard disagree. To construct something like this, you are making an application massively complex by trying to re-implement everything on both ends. Using something like Astro is only hiding that complexity but it’s still there, & probably full of bugs & tons of JavaScript that most developers wouldn’t even understand their stack or know how to jump into the Astro code. The amount of time saved is largely minuscule in most cases with the assets cached when navigating to a new page. In fact, I just tested two of their showcased sites which loaded slower with JavaScript enabled & the content was pretty obviously 95% static. There’s probably some niche use cases for this, but it’s not a good default IMO.

EpicVision , to programmerhumor in Single-Page Application

I understand the point of static websites, but Vue Router is pretty nice

intensely_human ,

If you’re using a router you can still support opening in new tab, history, etc.

EpicVision ,

Sure, but I don’t want to. SPAs are nice, but I also try to include a JS-free fallback solution that is loaded when the client doesn’t support Javascript. I think this is the best approach to web development. A good example for this is LocalMonero’s No-JS mode. You can use the toggle in the upper-left corner to disable all Javascript on the website, and it will still have most features. I love it.

intensely_human , to programmerhumor in Single-Page Application

Every single page app should still be using the path to represent resources, so that history and linking work.

Shawdow194 , to risa in "Now, if you are holding on to some temporal equivalent of that directive, then isn't it possible that you have an occasion here to make an exception"
@Shawdow194@kbin.social avatar

Haha fantastic

europa_will_live , to programmerhumor in A week of fprintfs has me wanting to code rust next week

deleted_by_moderator

  • Loading...
  • meliaesc ,

    There’s no parent at all. Maybe a tiny confused baby sea turtle.

    europa_will_live ,

    deleted_by_moderator

  • Loading...
  • gamingdexter , to memes in No regret.
    @gamingdexter@lemmy.ml avatar

    Has it really been that long?

    Willdrick , to memes in No regret.

    Took the poop challenge to heart đŸ«Ą

    Tarkcanis , to memes in Gotta get it right

    Yeah
 there’s a lot of reverse threaded stuff at my work.

    NigelFrobisher , to programmerhumor in Single-Page Application

    I was done with these the day I saw a one page sign-in form rewritten in react to “modernise” it.

    trucy , to programmerhumor in Single-Page Application

    I FUCKING LOVE STATIC HTML PAGES

    I LOVE NOT HAVING TO RELY ON SCRIPTS TO DISPLAY CONTENT

    xthexder ,
    @xthexder@l.sw0.com avatar

    Welcome to our homepage! We have implemented the navigation menu in Adobe Flash Player to maximize your audio visual experience.

    veganpizza69 ,
    @veganpizza69@lemmy.world avatar

    that’s some PTSD comment right there, I’m getting flashbacks.

    Thcdenton ,

    Ayyyy

    grue , to programmerhumor in Single-Page Application

    Building “applications” out of HTML documents – a single one or otherwise – is the sort of thing that belongs in one of those “stop doing X” memes, unironically.

    ris ,

    Why? I like that the Webplatform gives more Freedom to the Users.

    veganpizza69 ,
    @veganpizza69@lemmy.world avatar

    No. Users should be forced to install hundreds of apps, with two thirds of apps running simultaneously. And if they don’t have memory left on the device for that, they should uninstall apps and reinstall them when necessary.

    ^/s^

    Neato , to memes in "Patriots"
    @Neato@ttrpg.network avatar

    Loyalists were definitely a thing then. Also called Tories, Royalists, or King’s Men.

    Prominent Loyalists repeatedly assured the British government that many thousands of them would spring to arms and fight for the Crown. The British government acted in expectation of that, especially during the Southern campaigns of 1780 and 1781. Britain was able to effectively protect the people only in areas where they had military control, and in return, the number of military Loyalists was significantly lower than what had been expected.

    Lol. That sounds familiar.

    DaMonsterKnees ,

    Came here to say this, so thank you for the coverage. Also interesting, I mean, aren’t crown loyal people still called Tories or some such? Forgive my ignorance, I’m West Atlantic (omg, I just made that up to say American, and I think I’m sticking with it.)

    “It may just be my poor, West Atlantic education, but
”

    TIN ,

    In the UK we still use Tories as a nickname for the conservative party, one of the two main parties in our political system and a kind of pound store republican party. They do indeed still feign royalism when it suits their purposes, some things never change.

    HawlSera ,

    As an American, I always assumed Tories was the actual name of the Conservative Party, not their nickname
 learn something new every day

    nikita ,

    It’s derived from Irish, originally meaning thieves or bandits if I recall correctly.

    HawlSera , (edited )

    That still sounds accurate to the modus operandi of what I’m used to from a Conservative Party.

    Though it infuriates me that a party can literally call themselves and be regularly referred to as “The thieves who want to eat your baby!”, by EVEN THEIR SUPPORTERS, and still not only be considered a viable party, but have more or less become the majority party of their country


    It’s got real “They call themselves Decepticons and you thought they’d honor a deal?” energy

    Nikko882 ,

    I mean, in Norway we have the Pirate Party (that’s their official name) and they seem like an alright bunch. It’s a political party trying to champion online privacy.

    Neato ,
    @Neato@ttrpg.network avatar

    Unsure about in the US. But the conservative party is nicknamed Tories in the UK.

    InputZero ,

    Tories nowadays is typically used to describe a party which supports the establishment the most. So in the United Kingdom’s the Tories typically support the Crown the most. In Commonwealth countries the Tories are usually synonymous with right-wing parties who are typically the most nationalist. However in many Commonwealth countries the right-wing is often more left leaning than the American left. This is of course trying to describe a wide array of political beliefs in broad strokes so I may be accurate but I’m sure as hell not precise.

    Switchblade ,

    In Canada we call the conservatives Tories.

    AngryCommieKender ,

    I dunno if you know it, but that really chipper dapper announcer voice from the 30s to 50s is referred to as the “Mid-Atlantic Accent.”

    en.m.wikipedia.org/wiki/Mid-Atlantic_accent

    BananaOnionJuice ,
    @BananaOnionJuice@lemmy.dbzer0.com avatar

    Most recent example: Expect 40.000 trucks at the border, something like 20 appears near the border and then it dissolves into nothing.

    DmMacniel , to programmerhumor in Single-Page Application

    Remember when websites had a built-in loading indicator, and you didn’t have to implement it yourself via JavaScript?

    riskable ,
    @riskable@programming.dev avatar

    I remember when the web didn’t have JavaScript.

    Honestly, though it was much worse back then. I prefer the variety and features of modern browsing over (mostly) plain text.

    What I wish we could do away with on the web is videos. Let’s go back to just images and text, thanks. Animations are fine though 👍

    sbv ,

    What I wish we could do away with on the web is videos. Let’s go back to just images and text

    Seconded. I really enjoyed pre-video Internet.

    DmMacniel ,

    I third that. Videos are so incredible inaccessible. Want an easy-to-follow tutorial or heck a searchable document? nah mate video is all you get, and ads with it!

    sbv ,

    The ads make it even worse. I totally get the Gemini folks for wanting to simplify. But I do enjoy me a good webapp.

    DmMacniel ,

    Okay, Gemini seems a bit hardline. Not even Tables or Images?

    micka190 ,

    I kind of get it.

    • No images is because they want it to work in a plaintext environment.
    • No tables because you just know someone is going to use it to format stuff that isn’t tabular data, though I guess there isn’t a way to actually render tabular data either

    DmMacniel ,

    Mhm I disagree with your second point. Since you can’t use any styling on Gemini objects, you won’t get table layout as we had in dark ages of Html. With tables like in Markdown you can just lay out tabular data in an actual table.

    Mhm I guess with the plaintext environment we still can link to external resources like images and other multimedia or interactives.

    micka190 ,

    you won’t get table layout as we had in dark ages of Html

    left right
    All they have to do
    is use empty cells with spaces
    Where there’s a will
    There’s a way
    And people who use
    tables for layouts
    are fucking crazy
    enough
    to try
    DmMacniel ,

    Jesus Christ


    neo ,
    @neo@lemmy.comfysnug.space avatar

    Sir, this is a Wendy’s.

    Ephera OP ,

    Well, you can link to images and individual clients can then choose to directly embed those images inline, where the link is placed.

    NotJustForMe ,

    You do get searchable auto-transcripts of videos now, so that’s a good thing. Some people work better with videos and find them more accessible. Best of both worlds. As long as they are not auto-playing and pre-caching, I’m fine with them existing.

    Lemmygizer , to memes in Trolley Problem Solution
    Sabre363 ,

    Yeah, this only works if the two tracks are farther apart than the trolley’s trucks

    onion ,

    No they mean flipping between the wheels of one truck

    Sabre363 ,

    That makes more sense, lol. It would probably just derail and kill everyone then, highly ethical outcome.

    Nomecks ,

    Nuh uh

    Gabu ,

    The KANSEI-DORIFTO energy generated by the trolley will distort the tracks into an appropriate shape

    Paradachshund ,

    M-M-M-M-MONSTER KILL

    TimeSquirrel ,
    @TimeSquirrel@kbin.social avatar

    VEHICULAR MANSLAUGHTER

    pomfritten ,

    *death finds a way.

    knorke3 ,

    “life finds a way [to end]” is valid here :)

    Mango ,

    Came here for this.

    Cramulh ,

    Gah, you beat me to it.

    Breve ,

    DEJA VU!

    sukhmel ,

    I have been in this place before

    Tarkcanis ,

    I love how a manga shows the reality of the situation.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • ‱
  • random
  • lifeLocal
  • goranko
  • All magazines