Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
linkdd
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
70 ms
·
781.
▲
by
linkdd
6y ago
And yet, the successfully parsed e-mail can still be inexistant and therefore invalid :)
782.
▲
by
linkdd
6y ago
Exactly. The worst regex would be: /^[a-zA-Z0-9\-_]+@[a-zA-Z0-9\-_]+\.[a-zA-Z0-9\-_]+$/ Because it would invalidates `my-email+custom-inbox@example.com`. And that's a pattern I use to automatically sort incoming mails.
783.
▲
by
linkdd
6y ago
Which was the point of my first message.
784.
▲
by
linkdd
6y ago
Your regex would validate: this-is-not-a-valid-address@ @this-is-not-valid-either @
785.
▲
by
linkdd
6y ago
My favorite regex is the E-Mail Regex[1]. Works 99.99% of the time, is unreadable/unmaintainable, makes you understand that the only true way to verify an e-mail is to send an e-mail to that address. [1] - https://emailregex
786.
▲
by
linkdd
6y ago
Your decade of history means nothing to a maintainer, nor it means that you won't, one day, misuse the maintainer's resources. > Why should my PR not run CI if I make a change to a new repository? Because the maintainer doesn&#
787.
▲
by
linkdd
6y ago
With pip or npm, I have a single config file to change to point to another registry. With the vendoring, I have to mirror the dependency tree on my build infrastructure.
788.
▲
Ask HN: What will happen to the Go ecosystem if one day GitHub closes
1 points
by
linkdd
6y ago
|
2 comments
789.
▲
by
linkdd
6y ago
This kind of comments are forgetting all the good that C did bring in the last 50 years of computer history. <sarcasm>Too bad those shitty engineers in the 70s didn't think of Rust...</sarcasm>
790.
▲
Kubevisor renamed to Kubirds, fully automated cloud-native supervision
(david-delassus.medium.com)
3 points
by
linkdd
6y ago
|
0 comments
791.
▲
by
linkdd
6y ago
I don't have the same experience. At my previous job, the developers were only expected to provide a Docker image with a list of requirements to run it (volumes, environment, configuration). Then it was my job to write the Helm chart a
792.
▲
by
linkdd
6y ago
> However, behind this simple and intuitive API there is still a massively complex and mostly unintuitive system And that's a good thing! You can't expect such a complex use case to be resolved by something simple. Having such
793.
▲
GitHub Actions Roadmap, including organization workflows and manual approvals
(github.com)
2 points
by
linkdd
6y ago
|
0 comments
794.
▲
by
linkdd
6y ago
> OS upgrades, deprecations, maintenance are a thing that makes your binary stop working all of a sudden. Good thing I deploy with Docker/Kubernetes and I have a CI/CD pipeline that will warn me about such cases. > It's
795.
▲
by
linkdd
6y ago
If you're not doing `set -euo` and if you run your scripts as root before testing them, you're asking for something wrong to happen. EDIT in response to your EDIT: My users get either: - a tar.gz archive - a binary - a doc
796.
▲
by
linkdd
6y ago
This problem is not exclusive to bash, try copy-pasting python 2 code into python 3. Or ES2020 code in a browser. Or ASM z80 into an x86 program. When you're copy-pasting, you should be aware of what you're copying, and where you&
797.
▲
by
linkdd
6y ago
That's what shebangs are for: #!/usr/bin/env bash If it's not there, it will fail. I expect every script with `#!/bin/sh` as shebang to be POSIX shell only.
798.
▲
by
linkdd
6y ago
Who talked about "resume builder"? I could not care less about a resume for 2 reasons, First, I'm trying to decide if Elixir would be a viable option for my business, based on its ecosystem. Secondly, the skills I look for in
799.
▲
by
linkdd
6y ago
How is that a problem? The source code for that binary is in the same repository. I expect developers to know more than one language, especially if one of them is Erlang/Elixir. It's not a stretch to expect a backend/fullstac
800.
▲
by
linkdd
6y ago
Hasura handles auth quite well (row level AND column level). See this doc[1]. But in general, I either let the reverse proxy handles auth so my backend doesn't have to do anything, or I use the ORY stack[2]. [1] - https://
801.
▲
by
linkdd
6y ago
The external binary serves only one purpose (UNIX style), therefore its source code is almost 50 LOC. This is not a problem.
802.
▲
by
linkdd
6y ago
> libraries can be created and not need constant breaking updates. Yeah, but I've been traumatized by the Javascript ecosystem where a library can end up abandoned any day without warning. > As an Elixir developer, I never go to
803.
▲
by
linkdd
6y ago
IMHO, the engineering needed to build a webapp capable of handling millions of users is out of reach for a small business trying to release a MVP. If the company have potentially millions of users, the income should be large enough so that
804.
▲
by
linkdd
6y ago
The quicker you get the MVP, the quicker you can put your product in the hands of potential customers, then the quicker you get feedback about it. When you pivot, you're not developing from scratch, the whole R&D has already been d
805.
▲
by
linkdd
6y ago
Whenever I'm working on a Kubernetes Operator (like Kubevisor[1]), it's useful for testing. Also, in a Github Actions workflow, to run full E2E tests. [1] - https://kubevisor.io
806.
▲
by
linkdd
6y ago
Erlang/OTP can evolve as much as it wants (and I'm glad it does), if the ecosystem does not follow it will slow down its adoption/usefulness. OTP does not cover all the use cases, you may still need to talk to a database/
807.
▲
by
linkdd
6y ago
> it looks esoteric and interesting. Esoteric maybe, interesting definitely, mainly because: Elixir compiles to Erlang bytecode, executed by the BEAM (the Erlang VM). The BEAM provides an implementation of the Actor Model, and Er
808.
▲
by
linkdd
6y ago
who said i haven't the tar.gz on a usb stick ready to deploy? :D
809.
▲
by
linkdd
6y ago
tmux is literally the first program I install on a new setup, even before wget.
810.
▲
by
linkdd
6y ago
Over the years, here is the tools that answered all of my needs. Backend: - Apollo Server (GraphQL, Javascript/Typescript) - Hasura (GraphQL frontend to PostgreSQL, translating GraphQL queries directly to SQL) - Erlang/Eli
More ›