Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
polyfractal
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
61.
▲
by
polyfractal
11y ago
Oh, sorry, I should have been clearer: I wasn't trying to disparage Nim at all (it's on my list of languages to play with). I was just clearing up some points about Rust :) Edit: > Well I was not talking about iterating thro
62.
▲
by
polyfractal
11y ago
It's not so much about "never nil" , but rather "never accidentally null" . Rust's compiler prevents you from moving data into a method which then nulls it out, leaving a dangling pointer in the calling code
63.
▲
by
polyfractal
11y ago
Yes, this. So much. And because I'm a biologist by training and can't resist: > Bacterias bring us health Unless it is e. coli, salmonella, listeria, botulism, etc etc. Some bacteria is helpful, most is neutral and some
64.
▲
by
polyfractal
12y ago
It would remove a lot of nice search features, however. If you just index tokens without positional information, you have a much harder time performing phrase matching. If you include positional information, you can probably crack the enc
65.
▲
by
polyfractal
12y ago
As other's have mentioned, it's entirely possible to have multiple fields with different analysis chains. Elastisearch handles multi-languages very well. You just have to start changing the defaults, since the defaults assume a
66.
▲
by
polyfractal
13y ago
FWIW, we didn't choose the animal. O'Reilly's design department does a voodoo incantation and choose an animal...the authors/editors have zero input :) I quite like the snake though, think it looks nice
67.
▲
by
polyfractal
13y ago
Unsure if you are talking about "The Definitive Guide" from the original link, or "Exploring Elasticsearch" from the OP. If you are talking about "The Definitive Guide", it is targeted to Elasticsearch 1.0. Mo
68.
▲
by
polyfractal
13y ago
> Systematic hard work can get you results in academia. This is not necessarily true. At least in life sciences, there is a big element of pure, dumb luck. Biological systems are inherently noisy, and no matter how diligent we try to b
69.
▲
by
polyfractal
13y ago
Not the OP, but GC issues in Elasticsearch basically boil down to memory pressure (obviously), which is usually caused by facets. Facets eat a lot of memory, especially if you are faceting high-cardinality fields - think fields like "
70.
▲
by
polyfractal
13y ago
The pre-Snapshot/restore method is: - Pause indexing - Issue a flush request - Rsync data directories somewhere - Resume indexing This is technically a very naive approach, since a simple rsync of the data dirs will include replicas to
71.
▲
by
polyfractal
13y ago
Regarding updates, you can use the Update API for partial updates, and include a script to do things like "counter += 1" or "add value to existing array" . Internally it is still reindexing the entire document, but fr
72.
▲
by
polyfractal
13y ago
FWIW, this is a place ES devs are spending a lot of time thinking about. For example, 1.0 introduces a new "Circuit Breaker" [1] feature which will help prevent over-eager facets from blowing out the heap. It's just one par
73.
▲
by
polyfractal
13y ago
In addition to the various geo filters/queries, there are also two aggregations for geo related stuff: Geohash Grid: http://www.elasticsearch.org/guide/en/elasticsearch/referenc... Geodistance: http:&#
74.
▲
by
polyfractal
13y ago
That was an April Fool's joke (posted on April 1st). And even if the date wasn't the first...the whole article reads like an over-the-top satire.
75.
▲
by
polyfractal
13y ago
Haha, what? That is the most bizarre insult? argument? that I've seen in a while. People use greater-than characters all the time for quotations. It's been used in email forever. But bonus points for trying to be edgy I guess.
76.
▲
by
polyfractal
13y ago
sigh Fine, here are more articles. If you don't want to believe in peer-reviewed academic literature, I'm not sure why I'm bothering. Statistically significant results can be obtained with few participants. Behold the p
77.
▲
by
polyfractal
13y ago
Result from a quick pubmed search (I haven't actually read the paper): http://www.ncbi.nlm.nih.gov/pubmed/24110034 > Effects of LED-backlit computer screen and emotional selfregulation on human melatonin produc
78.
▲
by
polyfractal
13y ago
I would really love if the reference docs pointed to the underlying code. Many times I'll skim through the reference docs looking for something that I need...then search github for the same section in code so that I can see how it is
79.
▲
by
polyfractal
13y ago
Another good example is the Aggregations issue, which details a new faceting framework coming out soonish: https://github.com/elasticsearch/elasticsearch/issues/3300
80.
▲
by
polyfractal
13y ago
Sure, but you can make that argument for virtually any substance. A particular combination of genetics and <insert molecular compound> will equal a bad reaction in some portion of the population. It's practically guaranteed due
81.
▲
by
polyfractal
13y ago
This is ridiculous. Acetaminophen is Tylenol. Are you seriously trying to make the argument that Tylenol is a poison? Arsenic is a poison. Lead is a poison. Cyanide is a poison. Tylenol becomes toxic at a certain threshold (like every
82.
▲
by
polyfractal
13y ago
Drosophila names are truly the best. Contrast that to C. elegans naming: dpy-5, let-37, unc-11, egl-2. The prefix means something ('unc' is uncoordinated) but otherwise very bland.
83.
▲
by
polyfractal
13y ago
Sure, but the query goes through the layer of functions that actually deals with the database connection. If an error occurs, that layer is responsible and the "higher" layers simply pass on the exception that is thrown. Point is
84.
▲
by
polyfractal
13y ago
Functions should be scoped appropriately so that they only deal with one thing at a time. A function that checks for network connectivity isn't going to be checking for missing rows. Those are different problems, and should be handle
85.
▲
by
polyfractal
13y ago
Here is one of my angular projects: https://github.com/polyfractal/elasticsearch-inquisitor I'm not sure I would classify this as a "big" app, but it has four tabs and is slowly growing in functionality.
86.
▲
by
polyfractal
13y ago
Thanks! It took me a few revisions...it's surprisingly hard to make a clear set of job listings with just ascii text. On a related note, if you are semi interested in the Web Dev position but think "pfft, wordpress?", we are
87.
▲
by
polyfractal
13y ago
Elasticsearch is hiring! Most of our positions are location-independent (remote), but a few are for the Los Altos area. Generic Hiring page: http://elasticsearch.com/about/jobs/ ----------------------------------
88.
▲
by
polyfractal
13y ago
Is a) not common? I use ING Direct (recently bought by Capital One and recoined "Capital One 360"). You can either wire directly from one checking account to another using an ACH transfer. Or you can do a Person2Person payment w
89.
▲
by
polyfractal
13y ago
To be fair, that is an optional extension and not bundled into PHP by default.
90.
▲
by
polyfractal
13y ago
NPR Planet Money has a great episode on the history of car dealerships: http://www.npr.org/blogs/money/2013/02/12/171814201/episode-... Basically, everyone in this thread is right. - Local dea
More ›