paintedsky,
@paintedsky@mastodon.gamedev.place avatar

Holy shit, I'm looking at the output HTML for a app for the first time in my life and it's a goddamn MESS

paintedsky,
@paintedsky@mastodon.gamedev.place avatar

Why have semantic HTML when you could have a fucking explosion of nonsense, probably in the name of DRM I guess idk

paintedsky,
@paintedsky@mastodon.gamedev.place avatar

Also this app has lag. A goddamn website has lag. What are we doing

BigTheDave,
@BigTheDave@mastodon.gamedev.place avatar

@paintedsky Never look at the generated HTML for Facebook...

Just don't.

paintedsky,
@paintedsky@mastodon.gamedev.place avatar

deleted_by_author

  • Loading...
  • BigTheDave,
    @BigTheDave@mastodon.gamedev.place avatar

    @paintedsky I had looked into it when my adblocker stopped working a few years back.

    They had literally a set of DIVs with the individual letters of SPONSORED in them, with randomly generated, but hidden, letters. Which weren't 'hidden' or 'display:none', no, they were offset vertically by -100px.

    How did I get around it? I targeted all the parent DIVs, grabbed the text of it's children, and saw if they could make the word 'sponsored' out of it.

    And it's been even more obfuscated since then.

    jake4480,
    @jake4480@c.im avatar

    @paintedsky 😂 oh, frameworks. I'm a super vanilla guy when it comes to web dev stuff. That's why I only do it as a hobby. That shit drives me nuts. Like, I'm not learning fuckin React. Even Tailwind I'm dragging my heels. Am I gonna just do my own CSS? Probably. Website lag. It's like fuckin Flash sites all over again

    jake4480,
    @jake4480@c.im avatar

    @paintedsky like, I want my sites to look okay, make sense, and work. That's all I ask. And 90 percent of sites don't do that these days

    joey_needs_sleep,

    @paintedsky what renderer are using? If you use canvas kit it really only generates a handful of web components. 99% of the ui is rendered using canvas.

    The html renderer is much slower and not recommended anymore.

    Granted the canvaskit renderer isn’t necessarily “fast” by today’s standards, but for most applications that call for flutter, it’s good enough in my experience. (If you write your code right)

    dbat,
    @dbat@mastodon.gamedev.place avatar

    @paintedsky am sure flutter describes an atrial heart condition when you see the source.

    erik,
    @erik@iam.reasonably.social avatar

    @paintedsky Modern frontend is an atrocity. And remarkably difficult and expensive as well.

    zeh,
    @zeh@mastodon.gamedev.place avatar

    @paintedsky I don't think it's trying to be deliberately obfuscated, more that the way Flutter is engineered (Skia, etc) follows its own pixel perfect rendering, and the HTML output is an afterthought, full of hacks to make it look the same. The UI constructs used by Flutter don't match HTML/CSS well.

    I think for the longest time it was even canvas based, and it's only now starting to use HTML elements. But I wouldn't bet on it getting much better; the main focus seems to be standalone apps.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • Flutter
  • Durango
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • osvaldo12
  • khanakhh
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • everett
  • ngwrru68w68
  • kavyap
  • InstantRegret
  • JUstTest
  • GTA5RPClips
  • cubers
  • ethstaker
  • normalnudes
  • tacticalgear
  • cisconetworking
  • tester
  • Leos
  • modclub
  • megavids
  • provamag3
  • anitta
  • lostlight
  • All magazines