1,106 karma · joined July 23, 2013
github.com/craigds koordinates.com
We begrudgingly use Solr instead (we started before ES was really a thing and haven't found a need to switch yet)
When you get more than about two different types of filters (e.g. types of filters could be 'tags', 'categories', 'geotags', 'media type', 'author' etc), the combinatorial explosion of Postgres queries required to provide facet counts gets unmanageable.
For example, when I do a query filtered by `?tag=abc&category=category1`, I need to do these queries:
- `... where tag = 'abc' and category_id = 1` (the current results)
- `count(*) ... where tag = 'def' and category_id = 1` (for each other tag present in the results)
- `count(*) ... where tag = 'abc' and category_id = 2` (for each other category present in the results)
- `count(*) ... where category_id = 1`
- `count(*) ... where tag = 'abc'`
- `count(*)`
There are certainly smarter ways to do this than lots of tiny queries, but all this complexity still ends up somewhere and isn't likely to be great for performance.Whereas solr/elasticsearch have faceting built in and handle this with ease.
that's essentially what this article is doing, but where is the readable tag stored; is it im source control somewhere? it needs to be, otherwise how can I understand it and update it locally?
16 thousand people follow him. That's way more than enough to be considered a 'public person'
I'll be typing some code and realise I need to check whether the imports at the top of the file are correct.
So I'll Cmd+Up (go to the top of the file) and see that yes, they are correct. Now I have to get back to where I was.
A quick Cmd+Z,Cmd+Shift+Z does the trick - Undo (takes me back to the code I was editing, and undoes some of it) and Redo to put it back to how it was. Works well, but would mess up this researcher's statistics.
(I absolutely do also use the undo stack for looking at the last few minutes of history too, that's really valuable)
In most other languages where unwanted extra arguments raise an error instead of being silently ignored, this mostly isn't a problem
https://engineering.mit.edu/engage/ask-an-engineer/is-there-... discusses the idea a bit. TLDR is: it probably isn't worth it :/
This is a weird article because its main point is about the 'Trending page', which is something I've never heard of in the last 10 years of using github heavily.
I'm vaguely aware there are some social features of github (you can apparently star repos, for instance) but I'd assume hardly anyone uses that stuff...
We forked some things into a private DevPI instance at present for that reason (well, also for latency)
I'd expect to pay maybe a dollar or two for a font; it really doesn't seem like it would provide enough value to be worth more than that.
Also, it's times like these I'm really glad docker exists. Trying that out before docker would have been a way bigger drama
Was this maybe added in a recent version, and perhaps they just haven't updated?
I have to assume that's coming to other languages soon, in github itself. Looking forward to Python getting it
Normal security support is over for Ubuntu 14.04.