mateu
Recent Actions
-
Posted Elasticsearch Custom Scoring to Mateu
Elasticsearch has a builtin scoring algorithm which works quite well in practice, but sometimes you want to roll your own scoring algorithm. Let's examine how to create a custom…
-
Posted Elasticsearch Token Filters to Mateu
We recently saw an example of an elasticsearch token filter called the catalan_stemmer. The Catalan language has other token filters available:
- catalan_stop
- catalan_elision …
-
Posted Elasticsearch Templates to Mateu
When dealing with elasticearch, one has to consider how they want to manage the analysis of the content that is ingested. The use of templates is a way to ease this burden of managing analyzer settings. Let's learn by example...
Catalan Stemmer
Here's a template that defines an…
-
Posted Token - Elasticsearch Analyze API to Mateu
Yesterday we looked at an example of how to both index and search using elasticsearch. Today, we'll talk a little about what takes place during indexing, particularly tokenization. For example, what…
-
Posted Un Exemple Senzill d'Elasticsearch to Mateu
Un Exemple Senzill d'Elasticsearch
Elasticsearch és un motor de cerca. Fem un petit exemple com es pot utilitzar-ho. Necessitem unes dades per cercar, per tant agafem unes receptes d'internet, gràcies a http://receptes.cat. Un cop tenim les receptes, llavors les podem indexar en elasti…
-
Commented on GitHub is an amazing service that much of the Perl community has...
It's also probably worth mentioning bitbucket. They support git and they have an advantage over github in that they provide private repos for free....
-
Posted grep in Perl - filter in Haskell to Mateu
By using the the
grep
function in Perl, one can pick elements from a list that match a certain condition. Haskell uses thefilter
function to do the same work. -
Posted Mojito Simply Does MojoMojo to Mateu
I've been working on a document engine called Mojito. It supports a subset of the MojoMojo formatters. I was thinking it might be cool to see how my MojoMojo documents look like through the eye of Mojito. The idea being that I tap the documents in a MojoMojo store and render them with…
-
Posted Merging Hash to Mateu
Cyber jacked ya, eh?
Merge Hash
sub merge_hash { my ($self, $precedent, $subordinate) = @_; my @not = grep !exists $precedent->{$_}, keys %{$subordinate}; @{$precedent}{@not} = @{$subordinate}{@not}; return $precedent; }
-
Commented on Merging Hash
Pardon the noise. This was mostly a test (with a does of sarcasm). I figured it needed at least some piece of code, and so I grabbed the closet snippet around. Yeah something like my %merged = (%subordinate, %precedent); would...
Comment Threads
-
Mark Allen commented on
GitHub is an amazing service that much of the Perl community has...
Very cool!!
-
perldreamer commented on
GitHub is an amazing service that much of the Perl community has...
Whether you like github or not, none of those other services that y'all have mentioned decided to sponsor YAPC::NA. It seems like awfully bad manners to be mentioning alternatives in the very thread that announces their contribution.
-
Joel Berger commented on
GitHub is an amazing service that much of the Perl community has...
I love GitHub and use it for all my development. Check me out https://github.com/jberger. Thanks for sponsoring YAPC::NA, see you there!
-
Olaf Alders commented on
GitHub is an amazing service that much of the Perl community has...
I was pleasantly surprised to see Github on board as a sponsor. YAPC::NA 2012 is already shaping up very nicely. :)
-
Steven Haryanto commented on
GitHub is an amazing service that much of the Perl community has...
@perldreamer: Well said.
Besides, for public git repos it shouldn't matter which one you choose. They're sort of like offsite-backups. I've so far used github, bitbucket, gitorious, repo.or.cz, and it's just a matter of adding a couple of lines in your .git/config. But so far I'm most pleased with github (the attention to details in UI, the availability, the features). So go github!
About blogs.perl.org
blogs.perl.org is a common blogging platform for the Perl community. Written in Perl with a graphic design donated by Six Apart, Ltd.