❌

Reading view

Why simple math offsets break Unicode font converters (and lessons from building a zero-dependency client tool)

Hey r/Frontend,

Over the weekend, I fell down a surprisingly deep Unicode rabbit hole while building a client-side text styler (creating Fraktur, double-struck, circled, and aesthetic bio glyphs) with zero external libraries.

I wanted to share two specific technical traps I ran into and how to solve them properly on the front end:

1. The "Letterlike Symbols" Offset Trap

When engineers try to convert standard ASCII characters (e.g. A-Z) into styled Unicode variants like Double-Struck (𝔸, 𝔹, ℂ) or Fraktur (𝔄, 𝔅, ℭ), the naive instinct is mathematical offset calculation: js // ❌ Naive implementation: breaks on specific glyphs const targetCodePoint = 0x1D538 + (char.charCodeAt(0) - 65); return String.fromCodePoint(targetCodePoint); Why this breaks: Unicode's Mathematical Alphanumeric Symbols block (U+1D400..U+1D7FF) has several historical "holes". Characters like Double-Struck C (ℂ, U+2102), H (ℍ, U+210D), N (ℕ, U+2115), P (ℙ, U+2119), Q (ℚ, U+211A), R (ℝ, U+211D), and Z (ℤ, U+2124) were already codified years earlier in the Letterlike Symbols block (U+2100..U+214F). If you rely on mathematical offsets, those letters either display as undefined tofu blocks (``) or completely unrelated symbols.

The Solution: Rather than writing messy conditional gap logic, an explicit static glyph map compiled ahead-of-time keeps the client runtime O(1) and guarantees 100% stable rendering across iOS, Android, macOS, and Windows.


2. Screen Reader Accessibility (a11y)

One huge UX oversight with "aesthetic font generators" is accessibility. Screen readers do not pronounce these glyphs as normal English letters; VoiceOver and NVDA pronounce 𝔄 as "Mathematical Fraktur Capital A". If users plaster this all over body text, it renders their profiles completely unusable for visually impaired users. We added an explicit accessibility notice right under the input reminding creators to reserve these purely for short bio tags/titles rather than body paragraphs.


Architecture & Specs:

  • Zero NPM dependencies: Pure Vanilla JS + CSS Glassmorphism.
  • Payload: The entire production bundle (HTML + CSS + full Unicode lookup dictionaries) compiles down to 26.4 KB.
  • Edge Deployment: Cloudflare Workers (sub-40ms edge TTFB).

If you'd like to test the real-time conversion and inspect the client-side implementation: 👉 Live site: https://fonts.100emoji.shop

Would love to hear how other frontend devs approach Unicode normalization and rare symbol handling!

submitted by /u/Both-Tart7460 to r/Frontend
[link] [comments]
  •  

what do you actually look at first when something breaks in prod?

im trying to get better at debugging production issues faster. right now when something goes wrong i kind of just grep through logs hoping something jumps out, which works eventually but feels inefficient

curious what other backend devs actually check first. like do you have a mental checklist you run through? specific log patterns you look for? or do you mostly rely on monitoring/alerting tools to point you in the right direction?

our setup is pretty basic (node backend, postgres, some redis) and im wondering if im missing obvious stuff that would speed up the "wtf just happened" phase

submitted by /u/quietcodelife to r/webdev
[link] [comments]
  •  

Good providers for hosting a basic html + js website?

I feel this may seem like a very strange question to ask given the circumstances, and hopefully this isn't breaking any rules. A few days ago I had a falling out with someone who happened to be hosting my website on their rented server. It's a very basic portfolio website with HTML and some JS for dynamically generating HTML elements from a Json file.

I'm pretty decent in HTML and JS but by no means a web developer, it's simply not my career. This means I can make a decent website but figuring out how to host it is beyond me. Are there any services that simplify this sort of thing, or is the process of renting and setting up my own basic server for a website straightforward? Github Pages maybe? Forms etc are not required.

I also own my domain, but it's currently still set up to link to that server. Once I get my own sorted out, will I have to worry about the two conflicting?

submitted by /u/nobaaaaaa to r/webdev
[link] [comments]
  •  

Self-hosted proxy for npm, PyPI and pub: new releases wait 7 days before anyone at work can install them

Self-hosted proxy for npm, PyPI and pub: new releases wait 7 days before anyone at work can install them

What it is: a self-hosted caching proxy (git-pkgs/proxy, one Go binary) between everyone at work and npm, PyPI, pub, Maven and Go. New releases stay hidden for a week, and every download is logged with who pulled it.

Why: this year's big hijacks were all pulled within a few hours, so a week means you basically never see them.

The post has the config, what broke, and the built-in settings if you'd rather not run a proxy.

submitted by /u/iApexxx to r/selfhosted
[link] [comments]
  •  

How many apps have non-engineers at your company built with Claude/Cursor/Lovable, and who owns them when they break?

I’m an ML engineer. Last month I got a Slack from marketing asking why “their dashboard” stopped updating. Nobody on my team knew it existed. It was a Lovable app hitting our Supabase with a service key, deployed to Vercel under someone’s personal account, and the person who built it had left.

That got me wondering how common this is. So, for people on platform/eng/IT teams:

  • Roughly how many of these are running in your company right now? Could you actually list them?
  • When one breaks, who finds out, and who fixes it?
  • Have you tried to get a handle on it (inventory, policy, blocking, importing into Retool/Superblocks), and what happened?

Not selling anything. Trying to understand whether this is a real problem or just my company

submitted by /u/lightninja987 to r/devops
[link] [comments]
  •  

Exploring new opportunities in WordPress and web development

Exploring new opportunities in WordPress and web development

Hello everyone!

I've been working with website development, online stores, and hosting for several years. More recently, I've started exploring AI and its potential applications in web development.

I'm curious to know what other services or technologies WordPress professionals are currently working with.

Are you incorporating AI into your projects? Have you expanded into areas such as automation, integrations, SEO, or other digital solutions?

I'd love to hear about your experiences and what new opportunities you're exploring in this industry.

submitted by /u/Abject_Show_8256 to r/Wordpress
[link] [comments]
  •  

¿Recuerda el caso de la chica que fue "violinizada" en la asamblea? Hay algo turbio en todo esto.

¿Alguien sabe algo al respecto?

Esto pasó en 2023. Nunca se supo quienes fueron los culpables, la madre no salió a hablar mas y actualmente la familia de la chica ostenta un nivel económico muy superior al que tenían antes.

No puede mencionar nombres ni poner cuentas personales aquí por un tema de politicas de privacidad, pero si saben quienes son, realmente la familia se la pasa viajando, comprando casa en Estados Unidos y carros de buenas marcas..

submitted by /u/Top-Bed6440 to r/Panama
[link] [comments]
  •  

Launching Make My Shop: An Open-Source Telegram E-Commerce & CRM Platform

Launching Make My Shop: An Open-Source Telegram E-Commerce & CRM Platform
I’m excited to share Make My Shop — an open-source Telegram e-commerce platform and lightweight CRM designed to launch fully functional online stores directly within Telegram in minutes.
While Telegram is becoming a primary sales channel for many businesses, managing orders, catalogs, and customer communication manually often creates unnecessary friction. Make My Shop solves this by providing a complete automated storefront out of the box.
Core Capabilities
Product Catalog & Search: Category-based navigation, real-time product search, rich media cards, and direct manager communication routing.
Interactive Shopping Cart: Live cart item counter, structured multi-step checkout, shipping address capture, and automated order total calculation.
Payment Verification: Streamlined customer receipt uploading (photo/text) paired with real-time admin payment confirmation workflows.
Embedded Order Chat: Isolated 1-on-1 messaging thread embedded directly within each order detail card for seamless customer-manager clarification.
Merchant Control Panel: Complete CRUD interface for product catalog management, order status tracking, and instant new order event notifications.
Native Localization: On-the-fly, edit-in-place interface switching across English, Spanish, and Russian.
Technical Architecture
Backend & Framework: Python 3.12, aiogram 3.x, Pydantic v2
Persistence & Database: Async SQLAlchemy 2.0 (PostgreSQL / SQLite), Alembic schema migrations
Execution Model: Fully non-blocking background task execution (asyncio), structured service layer, and comprehensive integration testing.
The project is completely open-source, lightweight, and ready for self-hosting.

submitted by /u/MakeMyShop to r/CRM
[link] [comments]
  •  

AI taking over Devops.

Hello. i am Starting to learn IT and i still have time to choose my carreer choice. is it wise to try and learn devops or cloud engineering because of AI? im scared that by the time im done with my degree these jobs wont exist.

submitted by /u/Glittering_Ad4197 to r/devops
[link] [comments]
  •  

País de indignación selectiva

País en el que si se descubre un caso como el senniaf no ocurre nada, país en el que si se descubre blanqueo, auxilio económicos no pasa nada, en el que si tienes dinero, da igual que hagas o a quien mates, no iras a prisión (Latorraca, no hemos olvidado lo que hiciste), pero el tema es que nada de esto genera indignación suficiente para mandar a la gente a la calle.

Si mañana saliera que la asamblea quiere aprobar el aborto o el matrimonio igualitario, los grupos que ya sabemos harian un alboroto como nunca, la de protestas que harían hasta que la asamblea se eche para atras, la tipica marcha de la familia en la que van vestidos de blanco (la cual nunca hacen cuando hay casos de violaciones o abusos a menores), estos mismos grupos que pegan el grito al cielo con el aborto pero el senniaf y los orfanatos están abarrotados de niños que viven en condicciones pauperrimas pero eso jamas les ofende tanto para marchar, estos mismos no quieren educacion sexual pero tienen a 5 hijos de diferente padre y tienen a 2 amantes aparte lol.

Otra contradiccion son sus argumentos, los tipos adoran a Trump (alguien condenado por abuso sexual por cierto) pero estos se indignan si ven a alguien subiendo un estado de hallowen, nunca se me olvida una vecina que tuve, una señora super religiosa, era la que más iba a la iglesia pero esta misma cuando llegaba era el demonio, le daba unas golpizas al perro de terror, varias veces la reportamos y nunca se hacia nada hasta que nos mudamos, y esta experiencia se que no es solo mia, gente que un dia hacen lo más malvado que se te ocurre pero ven en el metro a una pareja gay y quieren armar un show.

Algo que me alegra es ver como este Octubre fue en el que más se celebró Halloween, ver como las parejas gays se atreven cada vez más a mostrarse, como se tocan temas de educacion sexual de forma mas abierta, se les acaba el tiempo en el que ellos mandaban que se hacia y que no.

submitted by /u/ConejoCapitalista2 to r/Panama
[link] [comments]
  •  

How do agencies handle data privacy when working with clients’ CRMs?

I recently learned that some agencies work directly inside their clients’ CRMs, and it got me wondering how data confidentiality works in practice. You’re basically handling customer information, sales records, and other business data that don’t belong to you.
For those who do this, what safeguards do you typically have in place? Do clients set specific rules around access, data handling, governance and confidentiality, or is it mostly handled informally, especially with smaller businesses? What scale of businesses even do this mostly?

submitted by /u/lusionice2424 to r/CRM
[link] [comments]
  •  

Me ha robado un influyente de la sociedad panameña.

Contexto: el director de una famosa organización benéfica me ha robado poco menos de 20000$ de un abono inicial para la compra de un apartamento. Le hice mejoras por casi 7000$ y me quiere estafar literal. Devolviéndome solo 1500$ porque quiere poner el apartamento en el estado en que yo lo había conseguido. (El absurdo más absurdo del mundo). Ósea desmejorarlo, considerando que todo lo que se iba a remodelar fue notificado y autorizado. Ya hace más de un año de eso. Solo conseguí abogados que estuviesen dispuestos a ganar el 50% de lo que recuperen. Pero yo me negué a aceptar la oferta de los 1500$ ahora procede ir a juicio y allí sí que me toca empezar a gastar de mi bolsillo los honorarios.
Pregunta/ cumplí con todo lo establecido en el contrato. Incluyendo la notificación por escrito y el motivo de porque renunciaba a mi intención de compra. El lo aceptó y pues en más de 1 año el ciudadano. Prefirió bloquearme de todos lados y negarse a conversar como ciudadanos honestos y llegar a un acuerdo.
Salgo perdiendo si me voy a juicio? O existe alguna ley q lo proteja a él de que yo empiece a viralizar el Caso? Nota: en el contrato (que nunca se registró, solo ante un notario) una de las cláusulas decía que me devolvía mi dinero cuando vendiese el apartamento. Y aparentemente así fue. Porque ya el número de finca a cambiado de propietario.

submitted by /u/WonderfulText7010 to r/Panama
[link] [comments]
  •  

Local Wordpress dev on macos

Hey folks,

I come from localwp for local Wordpress dev on macOS, but I just feel its too bloated for my MacBook Air m4 with 16gb ram.

So I was looking for alternatives and came across https://github.com/anchorhost/cove thanks to Brian's newsletter from woorkup.

That said, I am curious as to why the tool isn't more popular when it seems really interesting and capable? has anyone heard about it? tried it? have any opinions on it?

thanks, curious to hear. currently contemplating switching to it.

submitted by /u/WeekendSea2382 to r/Wordpress
[link] [comments]
  •  
❌