Hacker News new | past | comments | ask | show | jobs | submit | zufallsheld's comments login

Are you sure this is the best regex for validation?

There is this regex: https://emailregex.com/

Seeing the amount of code let's me think of left-pad. Minimal code that should just be part of your own project instead of using a third party dependency.

Also obligatory: don't validate emails, just send the user an email and make them confirm by clicking a link in the mail.


No, this is not the best regex. This is just to set up the initial phase of the project, in the future it will be improved.

This, combined with the possibility to also show events from gitlab would be really nice, since for work I work with gitlab (which I like better than github).

Gitlab also has an api to do this: https://docs.gitlab.com/ee/api/events.html - so should probably be doable to add it.


Anyone knows how it compares to owntracks?


It has more features :)



i have an incredibly obnoxious commit alias that just sha's the unix epoch and uses it as a commit message.


Why? If it’s “incredibly obnoxious”, why do you use it?


At least on mobile Firefox for Android, that's not true. It's there by default.


You can change between ones that you have a search tools extension for, https://addons.mozilla.org/en-US/firefox/extensions/category..., but you can't just put your own custom search engine in.

That said, keyword searches are awesome and I use them for a whole lot of things, including effectively custom search engines. I have keyword searches against, e.g., internal confluence docs so I only have to enter "con <thing I'm searching for>" and firefox will load the confluence search page, or "people <name>" to bring up our internal phonebook with a search for the employee. I don't think I've ever needed to add my own entirely custom search engine to the browser.


I have UI to enter a custom URL for search in Firefox for Android, with no extensions beyond Privacy Badger, Unhook, and uBlock Origin- interesting.


Double checked mine, same. How bizarre. Desktop doesn't have it by default but mobile does.


Isn't what you did also gitOps, except that it's push based and not pull based?


What's really a True Scotsman? But I wouldn't really say so, no. I think [0] represent what I would consider a gitops pushed based approach, the way we did it differed in two main ways:

- (1) We didn't have any "environment repository". The manifest files were in the same repository as the application code

- (2) Perhaps more importantly: The manifest files did not _exactly_ represent what was deployed. We had a template-variable in the Deployment yaml file, where the Github action substituted the tag that had just been built. To see which version was deployed you either had to look in the cluster, or the Github Action logs.

[0]: https://www.gitops.tech/#push-based-deployments


Can you elaborate why it's performance is bad and what the reason is?


it simply stores objects as files on the disk. Then it distributes the chunks around the place (so you need to reassemble it when reading) and lastly, when you read the file, it's not O(1). There is some "discovery" process to locate the objects where the servers chat with each other rather than have the location stored somewhere and be O(1).



There are docker files in the front end and backend folders:https://github.com/Worklenz/worklenz/blob/main/worklenz-fron...


we have updated the docker file.


15 spam mails do seem quite much to me. I blacklisted addresses for less.


If they're getting filtered, who cares?


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: