Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dvirsky
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
41 ms
·
391.
▲
by
dvirsky
9y ago
Israeli here. We get false rocket alerts every once in a while. Usually it's a bug or a badly calibrated radar picking up something else, sometimes a human error.
392.
▲
by
dvirsky
9y ago
what's the underlying search engine?
393.
▲
by
dvirsky
9y ago
What I find odd/funny is that a significant chunk of people have "never heard" of using no framework. Either it's a mistake or there are that many people who've never just written some JS code.
394.
▲
by
dvirsky
9y ago
There's also CRDB, a CRDT based version of Redis (closed source, and disclosure - I work for Redis Labs) https://redislabs.com/redis-enterprise-documentation/adminis...
395.
▲
by
dvirsky
9y ago
Yes, most fatalities in Israel were people suffocating by not removing the sealing cap off their gas masks (and probably attributing their suffocation to being gassed, thus not removing the mask), or heart attacks. 95 people died from such
396.
▲
by
dvirsky
9y ago
The Israeli army is responsible for the civilian gas kits (they also include Atropine shots), and they're calling people to replace their masks every few years. If the parent commenter still has a mask, it's almost certainly not t
397.
▲
by
dvirsky
9y ago
Same here. And I have new gas masks from 4-5 years ago for my family in the closet. The gulf war was some crazy time. I was in high school back then, and we helped the army hand the masks to people before the war. It didn't seem like s
398.
▲
by
dvirsky
9y ago
This. I tanked an interview once because the problem was phrased in a way that it wasn't apparent to me that it's basically a graph. Once I realised that it was also clear why a simple BFS would solve that problem. Sadly this happ
399.
▲
by
dvirsky
9y ago
A trie and a ternary search tree are two very different beasts. Tries can are very memory efficient, as common prefixes in terms are bunched together, and nodes are not split on every letter.
400.
▲
by
dvirsky
9y ago
Even if you are doing this with redis, there are two far better methods of doing it - with lexical ranges, or with RediSearch's autocomplete, which is way more powerful - uses a compact trie, has fuzzy matching with a Levenshtein autom
401.
▲
by
dvirsky
9y ago
I've never tried it. I'm moving between Mac and Linux so I need a web based client.
402.
▲
by
dvirsky
9y ago
I really hope Google won't abandon Inbox and continue developing it, I'd really hate to go back to Gmail.
403.
▲
by
dvirsky
9y ago
And if ids are timestamps, maybe we can define it as MAXTIME as well.
404.
▲
by
dvirsky
9y ago
Rule 3 is even more important today, with modern CPU cache. Running a simple O(n) scan of a (small-ish) bunch of integers (and often strings) will be significantly faster than storing them in some map or even binary search in some cases.
405.
▲
by
dvirsky
9y ago
Yeah, I was also thinking about adding execution cap to a single query, that's not hard to add as there is a simple scheduler that checks their progress constantly. So just terminating a long running query is simple.
406.
▲
by
dvirsky
9y ago
In terms of redis being single threaded, we put a lot of work into making the search concurrent, see here for details: https://redislabs.com/blog/making-redis-concurrent-with-modu... . Basically we rotate between long q
407.
▲
by
dvirsky
9y ago
Great post. I'm working on another open source search engine on top of Redis ( http://redisearch.io ), mostly focused on index building and serving, and real-time updates of the data. The part about queries being highly varyi
408.
▲
by
dvirsky
9y ago
You are implying/assuming that the programmer has free will. That is nonsense.
409.
▲
by
dvirsky
9y ago
The Anatomy of a Large-Scale Hypertextual Web Search Engine, by Brin and Page. Not only for the historical value of changing the world, and for the fact that it's very interesting and readable; It has personal value to me: the first CS
410.
▲
by
dvirsky
9y ago
Israeli here - not sure how common it is, but sweet tahini (with honey usually) is a toddler favorite, and young kids also eat hummus a lot. Not sure it's as popular as Bamba, but pretty commonplace.
411.
▲
by
dvirsky
9y ago
I love Gnome, I'm now using Mac OS for my day to day desktop, but I would argue (subjectively, though) that Gnome is the best desktop environment, period, including Windows and Mac. I totally agree with all the points in the post - the
412.
▲
Never Stop Serving: Making Redis Concurrent with Modules
(redislabs.com)
2 points
by
dvirsky
9y ago
|
0 comments
413.
▲
by
dvirsky
9y ago
While I don't personally use Krita, I've been following its development for years and really admire the work that's gone into the app. Just donated a few Euros, good luck!
414.
▲
From Reds to RediSearch
(medium.com)
1 points
by
dvirsky
9y ago
|
0 comments
415.
▲
by
dvirsky
9y ago
Sort of - the model it supports is not really multi-threaded. The modules can spawn threads, and acquire a "GIL" when they want to touch actual Redis data - thus only one thread at a time actually "owns" the entire Redis
416.
▲
by
dvirsky
9y ago
As long as your data will fit in RAM in a cost-effective way, and you can scale your cluster when it exhausts its memory. AFAIK Netflix are using it as a "real database", but of course not for everything - https://mediu
417.
▲
by
dvirsky
9y ago
Re the first question - enterprise Redis includes, besides the management utilities you can expect from such a product - a different cluster architecture (that actually predates Redis cluster) and cluster manager; It doesn't require a
418.
▲
by
dvirsky
9y ago
Yes, of course it is (I work for Redis Labs as well).
419.
▲
by
dvirsky
9y ago
Yes. Full disclosure: I work for Redis Labs, but prior to that I designed the back-end of a server-heavy mobile app (EverythingMe launcher) with Redis as its "front-end database". Meaning it wasn't the only source of truth, b
420.
▲
by
dvirsky
9y ago
Go can detect data races as well, not sure it's the reason. Probably performance.
More ›