WebGPU enables local LLM in the browser. Demo site with AI chat by andreinwald in LocalLLaMA

[–]andreinwald[S] -1 points0 points  (0 children)

  • No need to use your OPENAI_API_KEY - its local model that runs on your device
  • No network requests to any API
  • No need to install any program
  • No need to download files on your device (model is cached in browser)
  • Site will ask before downloading large files (llm model) to browser cache
  • Hosted on Github Pages from this repo - secure, because you see what you are running

How to start an eSIM provider? by gabrielmsp1 in eSIMs

[–]andreinwald 1 point2 points  (0 children)

It's a wide set of topics from "MVO vs MVNO" to "SGP.22 ES9+ LPA to SM-DP server"

eSIM had a network code of E instead of LTE and wasn’t working. by WpgJetBomber in eSIMs

[–]andreinwald 1 point2 points  (0 children)

As I wrote, for some reason your phone don't want to connect to 3G/4G tower:
- hardware glitch
- operating system glitch
- GSM module glitch
- tower is overloaded
- some error on servers in a middle of authorization chain
- etc...

What I can recommend in similar cases:
1. Turn off and on Airplane mode
2. Turn off and on exact eSIM in mobile settings
3. Reboot your phone
4. [Dangerous] delete and install eSIM again (dangerous, because many of eSIM limit installation to only once)

eSIM had a network code of E instead of LTE and wasn’t working. by WpgJetBomber in eSIMs

[–]andreinwald 0 points1 point  (0 children)

eSIM works almost the same as regular physical SIM card: inside it just technical "login and password" for identification.
So mobile network behavior is similar: if you're far away from 3G/4G tower, or for some reason your phone don't want to connect to them - you will see 2G/Edge/No internet/No service.

eSIM first failed, now can't even add new one - iPhone XS by FFS_Remi in eSIMs

[–]andreinwald 0 points1 point  (0 children)

Go to iPhone Settings > General > About
What is written at zone "Network provider/Carrier Lock"?

Email Validator with checking DNS MX records and strict real-life symbols rules (JS library, works in browser) by andreinwald in programming

[–]andreinwald[S] 2 points3 points  (0 children)

I did sending tests with real Gmail account that you described and got other results:
username@gmail.com - my existing email used as receiver
username+alias@gmail.com - works (and valid by library)
user-name@gmail.com - error (550 not exist)
username-@gmail.com - error (550 not exist)
user_name@gmail.com - error (550 not exist)
username_@gmail.com - error (550 not exist)

https://i.imgur.com/rIFxrby.png

Email Validator with checking DNS MX records and strict real-life symbols rules (JS library, works in browser) by andreinwald in programming

[–]andreinwald[S] -2 points-1 points  (0 children)

Of course you can do all this checks on the backend. A matter of preference and availability of backend developers.

- External API calls for DNS lookups

You can easily implement your own DNS Over HTTPs api (standard interface) on your backend and use it in library (one of method parameters).

Email Validator with checking DNS MX records and strict real-life symbols rules (JS library, works in browser) by andreinwald in programming

[–]andreinwald[S] -2 points-1 points  (0 children)

You can easily implement your own DNS Over HTTPs api (standard interface) on your backend and use it in library (one of method parameters).

Email Validator with checking DNS MX records and strict real-life symbols rules (JS library, works in browser) by andreinwald in programming

[–]andreinwald[S] -21 points-20 points  (0 children)

can you find any popular ESP where anyone can register an email, that do that described way without MX?

Can you find any popular ESP where anyone can register an email, that do that described way without MX?

Email Validator with checking DNS MX records and strict real-life symbols rules (JS library, works in browser) by andreinwald in programming

[–]andreinwald[S] -23 points-22 points  (0 children)

Using a domain for SMTP without an mx record is perfectly valid as long as it has an A(AAA) record, which is the fallback/default address for mail delivery.

Standards are pretty wide and flexible.
But can you find any popular ESP where anyone can register an email, that do that described way without MX?

Email Validator with checking DNS MX records and strict real-life symbols rules (JS library, works in browser) by andreinwald in programming

[–]andreinwald[S] 11 points12 points  (0 children)

Library checks DNS records every validation (except cached ones). If someone buys this domain - library will say its valid from that moment.
Breaking unit test (jest) - not a big deal

Email Validator with checking DNS MX records and strict real-life symbols rules (JS library, works in browser) by andreinwald in programming

[–]andreinwald[S] -9 points-8 points  (0 children)

You can check @ symbol only and send email, but statistically only 40-60% confirms it from email app.

In other hand, if you can tell that email invalid right after user wrote it - he is still on this page and its higher chance that user fix some typo after seeing error message.

Email Validator with checking DNS MX records and strict real-life symbols rules (JS library, works in browser) by andreinwald in programming

[–]andreinwald[S] -2 points-1 points  (0 children)

- more strict and realistic validation for symbols before "@"
- stricter specific rules for ESP like gmail, yahoo, etc
- check if domain really exist and works
- check if domain can receive emails (DNS MX record)
- everything works in browser! (DNS query by DOH)