Hacker Newsnew | past | comments | ask | show | jobs | submit | dakrone's commentslogin

We revisit the G1GC recommendation every once it a while. In fact, I am doing benchmarks and testing for G1GC versus CMS with Elasticsearch 6.0.0 right now, so that we have a better idea of where we stand.

Disclaimer: I'm an Elasticsearch dev employed by Elastic.


Cool, I've a pretty big cluster with some GC issues (p90 - 15s, p99 - 60s) during node failures, and would be super interested in those results! If there's anything a user can do to help, my email is on my user page :D


We observed in past that long GC is the cause of node failures. When long GC happens node doesn’t respond, master node decides that this node had left the cluster :\


Ya, we often see a node die of natural causes, and then the garbage produced from recovering the node and relocating the data ends up bringing down the rest of the cluster via long GC pauses.


> You may need to use a trigram index, which you cannot do with ElasticSearch and Lucene

You definitely can create an analyzer to generate trigrams in Elasticsearch. Unless you mean something different with "trigram index" than indexing trigrams?


While this is an awesome extension, it is annoying living in the EU to continually see "This site uses cookies, click 'accept' to acknowledge and continue to the site" every time I visit a site that has had its cookies cleared, since the acknowledgement is stored in a cookie that is subsequently cleared when the tab is closed.


The irony is fantastic.


You can block EU cookie notices with Adblock Plus if you add Prebake filter or you can manually add them to ABP (for that I use Element Hiding Helper) on pages you visit regularly.

Prebake filter: http://liamja.co.uk/Prebake/

Element Hiding Helper: https://addons.mozilla.org/en-US/firefox/addon/elemhidehelpe...


How came that crap to pass and become some EU thing anyway?

Whats the big deal about EU and cookies?


People complained that cookies were being used by advertisers to track them.

The EU decided to take action by mandating that companies make it visible when this was happening, in the Directive on Privacy and Electronic Communications[1].

Since it's technically impossible to allow the benefits of cookies without opening privacy holes, I don't really know what else privacy campaigners were hoping to achieve.

[1]: http://en.wikipedia.org/wiki/Directive_on_Privacy_and_Electr...


People used to care about privacy. The EU wants to protect people's privacy. Passing EU law takes a considerable length of time. By the ti e the law passed it had been made weird by bureaucrats and obsolete by time. Now there are many worse privacy invasions and most people don't care so much about privacy.


It's an example of why we are doomed.

The law was caused by a combination of dumb/naive politicians thinking they were preventing tracking/spying and self righteous political opportunists pretending they were in the first group. They had a vague understanding of what cookies are and how they work and made a law that is the equivalent of painting a second lock on a door for extra security.

The net result is that they have effectively mandated nag screens and done nothing to protect anyone's privacy.

Having politicians with a "high level understanding just doesn't work here. Cookies are controlled by the browser and the browser is controlled by the udder so the sensible solution is for the browser, not the law to make rules about who should be able to set them when.

I listened to some parliamentary comitee hearing once about parental controls online. It was being chaired by some arrogant and clueless parliamentarian playing the concerned mother. It was horrifying. Like listening to Pointy Haired Boss reprimanding Charles Darwin.

We're doomed!


I don't see any kind of privacy policy link on the site, could one be added spelling out how the email address will be used?


Yes - I need to do this. For now I can just spell it out: I will only use your email address to send you 1) an email when your library has been scanned, 2) an email maximum once a week when I find new releases from artists in your library, and 3) an email when there are recommendations for you to check out (if you opt in to receiving recommendations).

I have added this to my priority list - thanks.


I've stubbed in a quick one for now: http://beathound.com/privacy.


Software "Artificer"?

Artifice: "Clever or cunning devices or expedients, esp. as used to trick or deceive others: 'artifice and outright fakery'."

Not necessarily the greatest way to describe yourself...


Artificer: 1. a skilled craftsman 2. a clever or inventive designer



Thank you!


It's like calling "Digital Plumber" to sysadmins. Maybe etymologically incorrect but you have to admit that it sounds great.


Project-specific configs can be committed to a repo to override the default configuration.


A server is spun up and credentials given to all the invited users. Once a user logs in they can connect to a common tmux server and share a text-editor/cli/etc.


Why not use Eclim[1] instead, since it allows you to embed an actual vim editor into Eclipse if desired and get all of Vim's features?

[1]: http://eclim.org


I'm currently using Vrapper, and it's been a year or two since I tried Eclim. But as I recall, it's a question of which is primary.

With Eclim you get all of vim, as you say, but you lose a bit of the native eclipse editor functionality.

With Vrapper you get all of eclipse, and a subset of the core vim commands. It's not vim, but you get to keep all of the features of the native eclipse editor.


Here's the short list:

* NERD_tree - Nice tree list of files for project browsing

* NERD_commenter - Mapped to ,c<Spc> to toggle between commenting and uncommenting

* SimpleFold - Folding that doesn't suck courtesy of the eigenclass blog

* a.vim - quickly alternate between a .c and .h file

* ack - way better searching than vimgrep or regular grep

* vimclojure - A must-have for Clojure dev in Vim <3

* ctk - auto-compilation and syntax check for languages. I use it to check ruby files on save

* easytags - automatically generate the tags file for your buffers

* eclim - I develop enterprise Java, eclim keeps me sane by giving my almost all of Eclipse's useful features in Vim

* fuzzyfinder - great file-finding tool similar to Emacs' C-x C-f

* gist - automatically post your buffer to a gist, download gists etc, super handy

* localvimrc - allows me to have project-specific vimrcs

* matchit - for beter % matching

* narrow - Emacs'-style narrowing and widening

* netrw - edit files remotely over ftp/ssh/etc

* paredit - the paredit.vim file from the slimv plugin, doesn't work as well as Emacs' paredit, but it's semi-useful

* pastie - post your buffer to pastie

* rails - various helpers from the vim-ruby project for rails

* repeat - allows repeating things that aren't normally repeatable with '.'

* securemodelines - don't let people do mean things in modelines

* showmarks - I'm on the fence with this one, great if you use a lot of marks and want to show them

* slime - pipe text from a vim buffer to a screen session

* snipmate - Textmate-like snippets for various languages

* supertab - tab-completion that works pretty well, this + eclim is great for java dev

* surround - tools for messing with surroundings of files

* taglist - use ctags to display a tag list in a pane

* twitvim - seriously, why use a twitter client when you can use vim

* vimball - used to install a lot of vim plugins

* vimwiki - I store all of my tech-related text here

* visualstar - this lets you use '' to search for more than just a single word

yankring - a ring of yanks when doing copy/paste

If I had to pick just one for a favorite, it'd be a tie between fuzzyfinder and NERD_tree, way better than manually trying to find the file to edit.

In addition there are quite a few filetype plugins for better syntax highlighting for the variety of languages I work with.

My entire vim setup dir can be found here: http://github.com/dakrone/dakrone-dotfiles


From the FAQ:

Q: Why is it written in Mono/C#? A: Because I hate freedom.

:)


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

Search: