Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nitely
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
nitely
6y ago
It doesn't. RE2 searches for a prefix of literals. If the regex doesn't start with one or more literals, then the full regex engine is ran.
32.
▲
by
nitely
6y ago
Yeah, nim-regex is based on NFA. I'm not aware of a pure DFA that is correct and also supports those. I built an hybrid a while ago[0], but it's slower than nim-regex when it needs to capture/assert, I should profile it and f
33.
▲
Regex literals optimization (or how to cheat on benchmarks)
(nitely.github.io)
42 points
by
nitely
6y ago
|
11 comments
34.
▲
Regex literals optimization (or how to cheat on benchmarks)
(nitely.github.io)
1 points
by
nitely
6y ago
|
0 comments
35.
▲
Regex Literals Optimization
(nitely.github.io)
3 points
by
nitely
6y ago
|
0 comments
36.
▲
by
nitely
6y ago
They either haven't experience the pain or are oblivious to it. Pip old resolver is borked[0]: > [The new resolver] will reduce inconsistency: it will no longer install a combination of packages that is mutually inconsistent. At the
37.
▲
by
nitely
6y ago
Adding unnecessary joins.
38.
▲
by
nitely
6y ago
One application not mention in this thread is to traverse trees, like in the old forums where you had many levels of categories/subcategories. AKA hierarchical query. SQLite already has support for this[0]. It seems they are supporting
39.
▲
by
nitely
7y ago
The SDK could have a command line tool (or option) to dump the config in JSON format, if that config is meant to be consumed by other tools. I can come up with examples where config files are a bad idea all day long. Bottom line is neither
40.
▲
by
nitely
7y ago
> I've seen some outright tragic Django setups with major companies. Well, the same thing can be said about pretty much anything. I've seen good and bad Django setups, so what?. The point is configuration as code works well if
41.
▲
by
nitely
7y ago
> Having a programmable config is how you end up with horrible interdependencies where function f() does foo, and you can't figure out why it's not blowing up, until you realize the only caller is dynamically configured in stag
42.
▲
by
nitely
7y ago
As well as every company using Django (the most popular Python web framework)...
43.
▲
by
nitely
7y ago
TBH, the real problem is AWS bills cannot be capped in any way (you can setup an alarm, though). It's unreasonable to expect a programmer won't make mistakes.
44.
▲
by
nitely
7y ago
> complex/nested responsive grids are not simple, unfortunately. How does utilities make complex/nested responsive grid simple, again? I'm arguing semantic css is simpler than using utilities all over the HTML, not that it
45.
▲
by
nitely
7y ago
Sass removes most of the cruft. I made a semantic flex grid many years ago, and the result was a lot more clean than using utilities, even in the css side [0]. This was before CSS Grid Layout was widely supported, nowadays you can use plain
46.
▲
by
nitely
7y ago
The many blog posts (from people doing it) suggesting working remote and traveling the world is as easy as getting a remote job and travel the world: https://www.theladders.com/career-advice/how-i-perfected-tra... htt
47.
▲
by
nitely
7y ago
Isn't the promise of working fully remote that you can be a "digital nomad"? What if I just want to visit poor countries while my home is in the US?
48.
▲
by
nitely
7y ago
You still need to know that range starts at 0 and the end is not inclusive. Also, the second example is not the same as the first one, unless the second is non-inclusive.
49.
▲
by
nitely
7y ago
I agree. Scrum is about self-organized teams. Managers are not part of the Scrum team, in fact, they are not allowed to speak in any of those meetings (if they choose to assist at all). I think the main problem here is a lot of companies do
50.
▲
by
nitely
7y ago
Run `certbot renew --force-renewal`. That's what it says in the email they sent me. But if you didn't get an email, then your domains should not be affected.
51.
▲
A DFA based Regex engine for submatch extraction
(nitely.github.io)
3 points
by
nitely
7y ago
|
0 comments
52.
▲
by
nitely
7y ago
> if you perform them in parallel switching between them, you get the benefit that at time 51 you can show both of the recipients that you are 25% complete, but you deliver A at time 199 and B at time 200. That's not parallelism, th
53.
▲
by
nitely
7y ago
Assuming you care about taking on more responsibility. That's not the path for everyone, though. I'm fine being just a very experienced programmer. I couldn't care less about "leading".
54.
▲
by
nitely
7y ago
Fortnite started as a cooperative tower defence kind of game, it's still out there with a name I can't remember, but it was not a good game. AFAIK, the battle royale mode was someone's side project, thanks to PUBG being all t
55.
▲
by
nitely
7y ago
If you follow GP's convention then yes, and it's not a bad convention.
56.
▲
by
nitely
7y ago
Sorry, I can only speak for myself.
57.
▲
by
nitely
7y ago
You seem to be under the impression a side-project means spending every spare time working on it. > There is a risk though that after ten years you could be a great programmer with a great portfolio, but with a failing body and unhappy s
58.
▲
by
nitely
7y ago
> Building a side project is work I'd say it's nothing like work. There's no stress, no deadlines, no fixed hours, no team work, etc. For many people programming is a hobby, something that's fun and they are not paid
59.
▲
by
nitely
7y ago
> at the beginning or end of the day? or before or after lunch break? That could work if everyone gets at work at the same time (+/-30m) or if everyone takes lunch at the same time (+/-30m), which has not been the case in most
60.
▲
by
nitely
7y ago
5 minutes or 5 hours, an interruption is an interruption. My ideal day to be fully productive would've no meetings at all. I don't need each day to be an ideal day, just once a week (or more if at all possible). However, when ther
More ›