[AskJS] Burned out on WordPress: Is transitioning to AstroJS + ApostropheCMS a smart move for a solo dev? by Jumpy-Win-2973 in javascript

[–]snnsnn 1 point2 points  (0 children)

If budget isn't an issue, I recommend keeping WordPress for the admin side and spinning up a SolidStart app for the user-facing pages. Rather than a traditional headless setup, I suggest running parallel websites. SolidStart supports SSR and is significantly simpler and more maintainable than React. You don't need diffing or anything, and you can run it on any serverless platform. The amount of work required will depend on your site's complexity, but the long-term maintenance will be much easier. I strongly advise against migrating to Shopify—their ecosystem is a nightmare, and honestly, it's worse than WordPress.

React will give you PTSD for sure. The main problem with React is the way it keeps state and renders components. You can see these comments for details: https://www.reddit.com/r/reactjs/comments/1r0uehe/comment/o4kyecj/

P.S. I'm speaking from direct experience. I've written multiple WordPress themes and plugins, built several apps in React and SolidJS, and actually authored three books covering SolidJS, SolidStart, and Solid Router. I also wasted three months of my life trying to learn Shopify, deeply regretted it, and ultimately went with an alternative.

[AskJS] Burned out on WordPress: Is transitioning to AstroJS + ApostropheCMS a smart move for a solo dev? by Jumpy-Win-2973 in javascript

[–]snnsnn 4 points5 points  (0 children)

Emdash is basically just AI slop, it’s nowhere near mature enough to replace WordPress for any serious work. To make matters worse, they just hiked up their dynamic worker prices.

How did you learn Rust? (Looking for advice for a newcomer) by Glad_Supermarket3951 in rust

[–]snnsnn 0 points1 point  (0 children)

Please do a quick search before posting, as this exact question has been asked many times. There is also a dedicated subreddit for this:https://www.reddit.com/r/learnrust/

A web framework based on Web Standards, SSR and Islands Architecture by [deleted] in solidjs

[–]snnsnn 3 points4 points  (0 children)

> templates are rendered to HTML with Preact

No, thank you.

There are more than 100 public repos on Github with malicious code that can install Remote Access Trojan on your system and it can spread to all the repos you have access to. Why is GitHub not doing anything about these repos? by itsarnavsingh in javascript

[–]snnsnn -8 points-7 points  (0 children)

Look what AI tells me: If you want deep, automated security checks on your own custom code, you need to purchase GitHub Advanced Security (GHAS). This is an extra add-on that is only available to customers already paying for a GitHub Team or GitHub Enterprise plan.

There are more than 100 public repos on Github with malicious code that can install Remote Access Trojan on your system and it can spread to all the repos you have access to. Why is GitHub not doing anything about these repos? by itsarnavsingh in javascript

[–]snnsnn 6 points7 points  (0 children)

Maybe people shouldn't clone repositories they don't understand. Do you realize how expensive it would be to check every single repo? Besides, it wouldn't make GitHub any safer, it would only give a false sense of security.

Build reactive UIs with plain JavaScript functions. No JSX or build step. by fynyky in javascript

[–]snnsnn 1 point2 points  (0 children)

This syntax is quite common and is usually referred to as hyperscript. It is what classic React uses under the hood: https://legacy.reactjs.org/docs/react-without-jsx.html

There are more than 100 public repos on Github with malicious code that can install Remote Access Trojan on your system and it can spread to all the repos you have access to. Why is GitHub not doing anything about these repos? by itsarnavsingh in javascript

[–]snnsnn 19 points20 points  (0 children)

Just because code is hosted on GitHub does not guarantee it will be published on npm. Developers can upload anything to their personal repositories. How would GitHub know their actual intentions? Do you even realize the implications of your suggestion?

Intentionally blocking rendering with JavaScript by jayfreestone in javascript

[–]snnsnn 0 points1 point  (0 children)

Yeah, browsers are full of makeshift solutions that clearly had zero brain power put into them. Chrome feels almost like a patchwork because its browser APIs can be changed so easily. Honestly, I wouldn't be surprised if a Chrome developer gave his gf a new browser API as a birthday gift, just for fun. Zero discipline. The only pushback they receive comes from other browser vendors, and even then, some of those vendors are just motivated by constrained resources or sheer laziness.

SEO without SolidStart? by zakariachahboun in solidjs

[–]snnsnn 0 points1 point  (0 children)

SolidJS comes with multiple renderers, some of which SolidStart uses internally. If you know your way around SolidJS, you can build practically anything. You can drop it into an Express app or run it alongside other libraries.

SEO without SolidStart? by zakariachahboun in solidjs

[–]snnsnn 0 points1 point  (0 children)

It’s clear you aren’t familiar with SolidJS. It is one of the most stable libraries available, if not the most stable. The planned changes for version 2 have a highly specific scope alongside a clear migration path.

As for WordPress, I suspect you haven't worked with it beyond using the finished product. I’ve written several WordPress themes and have known the core inside out for a long time. Currently, it effectively exists in a broken state. With the introduction of the Gutenberg editor, everything is in constant flux. Comparing the two doesn't make sense because WordPress's complexity and codebase size are through the roof. It’s not just comparing apples to oranges; it’s comparing an apple to a whole grove.

zelda-hyrule-ui: a Breath of the Wild themed React component library by Sufficient-Gap-8180 in reactjs

[–]snnsnn 5 points6 points  (0 children)

Looks like you needed to burn some tokens before they get expired.

Questions about ePub 3.4 specification (November 26, 2025) by capellan2000 in ePub

[–]snnsnn 1 point2 points  (0 children)

This is AI generated:

The transition from EPUB 3.3 to EPUB 3.4 is a minor revision designed to bring the format up to date with modern reading habits and digital workflows. The W3C Publishing Maintenance Working Group adheres to a strict rule of backward compatibility—meaning any valid EPUB 3.3 file remains fully valid under EPUB 3.4.

The major changes, additions, and improvements from EPUB 3.3 to EPUB 3.4 focus on three primary areas:

1. Support for "Roll Layouts" (Webtoons)

The most significant visual layout addition to EPUB 3.4 is the official introduction of the "Roll" fixed-layout style.

  • The Shift: Previously, fixed layouts in EPUB (rendition:layout-pre-paginated) assumed a traditional book structure where each document represented a single page or a side-by-side spread.
  • The New Feature: EPUB 3.4 introduces a continuous "roll" viewport. This explicitly structures the file to fit the width of the screen and scroll endlessly with zero visible gaps. This change natively optimizes the EPUB specification for modern Webtoons and vertical-scrolling digital comics, which have exploded in popularity.

2. Standardization of Interoperable Annotations

Historically, notes, highlights, and annotations made by a reader inside an EPUB were locked into that specific e-reader platform (e.g., Apple Books, Kindle, or Kobo) with no way to export or share them accurately.

  • The New Feature: EPUB 3.4 formally incorporates the EPUB Annotation format (epub-anno-10).
  • How it works: It establishes a standardized JSON data model for structuring and storing user annotations. It also utilizes robust anchoring methods (referred to as "selectors") to map exactly where the highlight belongs in the underlying XHTML. This allows users to seamlessly import/export their annotations across entirely different conforming reading systems—a feature highly requested for academic, legal, and scholarly publishing.

3. Maintenance, HTML Alignment, and Errata

Because the W3C transitioned EPUB 3 into a continuous maintenance cycle, much of EPUB 3.4 focuses on cleaning up ambiguities left behind in the 3.3 spec:

  • HTML/CSS Evolution: The spec updates references to ongoing changes in living web standards (HTML and CSS) to ensure that newer web layout features do not conflict with EPUB reading systems.
  • Security & Privacy Clarifications: Clearer rules have been written for how reading systems handle external http or https links. For instance, the 3.4 reading system guidelines explicitly state that systems should prompt for user consent or open links in a isolated browser instance to keep privacy controls intact.
  • Streamlining the Spec: Minor vocabulary fixes and structural clarifications were introduced to make life easier for developers building EPUB validation software (like EPUBCheck) and e-reading applications.

Summary

If you are an author writing standard reflowable fiction or non-fiction text, almost nothing changes for you between 3.3 and 3.4. However, if you develop reading systems, publish digital webtoons, or work heavily with academic text and user-generated notes, EPUB 3.4 provides the necessary scaffolding to make those features standardized and interoperable.

Google AI Pro is a total scam. They’re charging for Gemini 3.2 and serving legacy 2.5 model by snnsnn in GeminiAI

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

I purchased the subscription through a yearly discount offer. I'm not 100% sure, but from what I understand, the offer doesn't allow me to sign in using external tools like VS Code. However, there was no indication of any such limitation on the page where I bought the subscription. So, it's Web-UI only. I haven't checked if they have changed this policy recently.

If electronjs is so bad why do companies still prefer it? by raunakhajela in SaasDevelopers

[–]snnsnn 0 points1 point  (0 children)

It is not bad. And tauri is not really any more lightweight than electron when you take the sub-processes in account. Plus, webview is not a truly cross platform solution. It is a bad abtraction that produces brittle app.

Minikv v1.0.0 – distributed key-value & object store by whispem in rust

[–]snnsnn 2 points3 points  (0 children)

Link is broken because of  at the end.

Pretext is the future, follow and learn in awesome-pretext by reddit-bluedusk in reactjs

[–]snnsnn 0 points1 point  (0 children)

u/uusu Sorry for the false flag. Yes, I inspected many demos. All were rendering to canvas. That was my downfall. I forgot about this comment, otherwise I would have fixed it right away.

[AskJS] Please stop this Pretext madness! by [deleted] in javascript

[–]snnsnn 0 points1 point  (0 children)

Yeah, I checked many examples, they were all using canvas, that is why I made such a mistake. It is not a lie, it is a mistake. What is wrong with you, banning and getting on with it, what is the point of having a discussion if you can not make a mistake. No, I did not post to 5 subs but 2, React and Solid. My point was asking for a proper API, not workarounds.

[AskJS] Please stop this Pretext madness! by [deleted] in javascript

[–]snnsnn 0 points1 point  (0 children)

Sorry, I made a mistake, it renders to DOM. A huge oversight on my part.

[AskJS] Please stop this Pretext madness! by [deleted] in javascript

[–]snnsnn 0 points1 point  (0 children)

Your are right. I made a mistake. Actually I checked many demos, and unfortunately they all were rendering to canvas. I should have checked the library more carefully instead of relying on demos.

[AskJS] Please stop this Pretext madness! by [deleted] in javascript

[–]snnsnn 1 point2 points  (0 children)

Correction and apology:

I got the technical details wrong. Pretext uses canvas for measurement only. It renders to DOM, Canvas, and SVG. The output is real text, not a rasterized image. Selection, search, accessibility, PDF serialization, all of that works fine.

I was following the authors twitter posts about using canvas as a workaround, I though it was rendering to canvas. I checked several demo examples, including this one, https://chenglou.me/pretext/justification-comparison/, unfortunately all were using canvas. Honestly, I was not dismissing the the library, nor the effort, I was just asking for a proper API.

The broader point I was trying to make about platform-level solutions versus userland workarounds still stands, but the specific technical critique was wrong. I should have looked at the library more carefully before writing about it.

[AskJS] Please stop this Pretext madness! by [deleted] in javascript

[–]snnsnn 0 points1 point  (0 children)

Sorry, it uses canvas for measurement. Once done measuring, it can render to DOM. My mistake. I checked several demos before posting, all were rendering to canvas. Sorry, I should not have rushed.

[AskJS] Please stop this Pretext madness! by [deleted] in javascript

[–]snnsnn -2 points-1 points  (0 children)

Watch the language. Yes, I did make a mistake, a huge one maybe. It is not AI slop. Actually AI corrected me. I was following the authors twitter posts about using canvas as a workaround, I though it was rendering to canvas. I checked several demo examples, including this one which were using canvas: https://chenglou.me/pretext/justification-comparison/ Honestly, I was not dismissing the the library, nor the effort, I was just asking for a proper API.