Complexities of e-mail validation logic
Nope, you don't know how to validate an email address. Even if you think you'd get the domain part right, fuggeddabout the local part. Seriously.
Posts that commenters keep linking to, ranked by how many different people have cited them in Hacker News comments. 6,985 posts.
Nope, you don't know how to validate an email address. Even if you think you'd get the domain part right, fuggeddabout the local part. Seriously.
Update 10 Feb 2011 : Tim Bray has written a much shorter, clearer and less technical explanation of the broken use of hash-bangs URLs . I thoroughly recommend reading and referencing it.
Ben Horowitz is a cofounder and general partner at the venture capital firm Andreessen Horowitz. He is the author of the New York Times bestsellers, The
(This essay is a companion piece to Gitlet, my implementation of Git in JavaScript.)
This is an introduction to data structure flattening, a special case of arena allocation that is a good fit for programming language implementations. We build a simple interpreter twice, the normal way and the flat way, and show that some fairly mechanical code changes can give you a 2.4× speedup.
This is an introductory overview post for the Linux Graphics Stack, and how it currently all fits together. I initially wrote it for myself after having conversations with people like Owen Taylor, Ray Strode and Adam Jackson about this stack. I had to go back to them every month or so and learn the stuff from the…
In 1995, El Salvador had an intentional homicide rate of 139 per 100,000, the highest in the world and one of the highest rates recorded in modern history. Like all educated middle-class Americans,…
I’ve extended James Friend’s in-browser Basilisk II port to create a full-featured classic 68K Mac in your browser. You can see it in action at system7.app or macos8.app . For a taste, see also this screencast:
The MIT Challenge My friend Scott Young recently finished an astounding feat: he completed all 33 courses in MIT’s fabled computer science curriculum, from Linear ... Read more
We spent one day 1 building a system that immediately found a mid 7 figure optimization (which ended up shipping). In the first year, we shipped mid 8 figures per year worth of cost savings as a result. The key feature this system introduces is the ability to query metrics data across all hosts and all services and…
My family wasn’t poor by any stretch of the imagination, but I was raised to avoid spending money whenever possible. I was also taught “it’s a poor craftsman that blames their tools”, which apparen...
This paper reflects work done in late 2022 and 2023 to audit for vulnerabilities in terminal emulators, with a focus on open source software. The results of this work were 10 CVEs against terminal emulators that could result in Remote Code Execution (RCE), in addition various other bugs and hardening opportunities…
Elm 0.19 was released yesterday. There were a significant number of breaking changes at every level:...
This article is now available in Vietnamese Bộ sạc iPhone của Apple . Disassembling Apple's diminutive inch-cube iPhone charger reveals ...
Khám phá những chuyển động mới nhất của thể thao thế giới với tin tức, sự kiện, giải đấu, màn trình diễn ấn tượng và câu chuyện nổi bật từ nhiều bộ môn hấp dẫn.
7 years ago I wrote an article about speed reading. Turns out I made a lot of mistakes. Discover why speed reading might not be as useful as expected.
Yesterday I covered the OpenAI technical report on the HuggingFace hack. That report had one key new piece of information, and some good prosaic steps OpenAI will be taking to strengthen its alignm…
We’ll spend the rest of this book illuminating every dark and sundry corner of the Lox language, but it seems cruel to have you immediately start grinding out code for the interpreter without at least a glimpse of what we’re going to end up with.
Does the standard say whether or not “char” is “unsigned char” or “signed char”? (I guess not from what you wrote above.)
Success in most things boils down to a simple, but easily ignored distinction: do the real thing and stop doing fake alternatives instead.
Over a year ago siguza published a write-up about Apple’s APRR - a custom ARM extension that redefines pagetable permissions and protects certain parts of the kernel from itself. Since then Apple has released their M1 chip which not only features an updated version of APRR but also easily allows to run bare-metal code…
I think there’s something messed up about the startup culture in the USA. The belief is that you have to work 6-7 days a week and spend all your mental cycles on your company. Nothing but pledging your soul to your startup yields success, right?
Why did mental health fall off a cliff at the same time and in the same way in the USA, The UK, Canada, Australia, and New Zealand? Part 1 of 3.
This is my personal site, where I write about Ruby, programming, and any of my varied fascinations.
I decided today to take a look at CloudFlare’s new OAuth provider library, which they apparently coded almost entirely with Anthropic’s Claude LLM: This library (including the schema do…
>25% of the Tor network’s exit capacity has been attacking Tor users