1,084 karma · joined April 27, 2013
[ my public key: https://keybase.io/jeltef; my proof: https://keybase.io/jeltef/sigs/ZMan3toJpggBpU3_dAtlav5NbAMU_TcEoMp4LaxqiwA ]
(I work at Microsoft, but not at Github)
For my understanding about the multi-region DR capability you would want: Do you want to be able to write to the DR region all the time? Or do you want to be able to switch over to the DR region in case the main DC is down?
(sadly the accompanying HN submission got marked as a duplicate from this submission)
At least this mistake is resolved now, and no new ones like it should occur, since we will only commit to the open source repo now.
And no worries about spoiling the announcement a bit. Seeing this on the frontpage of HN made my day!
To quote from the blogpost[1]:
What are the Benefits of Columnar?
- Compression reduces storage requirements - Compression reduces the IO needed to scan the table - Projection Pushdown means that queries can skip over the columns that they don’t need, further reducing IO - Chunk Group Filtering allows queries to skip over Chunk Groups of data if the metadata indicates that none of the data in the chunk group will match the predicate. In other words, for certain kinds of queries and data sets, it can skip past a lot of the data quickly, without even decompressing it!
Disclaimer: I work on the Citus team at Microsoft, but have not worked on the columnar storage.
[1]: https://www.citusdata.com/blog/2021/03/06/citus-10-columnar-...
The PR interface actually exposes this for force-pushes, but the UI discovery for this is horrible. It turns out that the "force-pushed" part in the little message in the github UI is actually a link. This link points to the diff between the old and the new HEAD of the branch.
As an example you can look at this PR:
https://github.com/JelteF/derive_more/pull/161
It has this little message somewhere down the page:
Monadic-Cat force-pushed the add-unwrap branch from e130dbe to 25235aa 4 months ago
If you then click "force-pushed" in that message you go to the "compare" page, which shows the diff between the two commits:
https://github.com/JelteF/derive_more/compare/e130dbe6b2a429...
Disclaimer: I'm a Micrsoft employee, but don't work on Github. I'm a daily user of Github though.
kubectl apply --kustomize manifests/ --prune --selector app=myapp
It cleans up old stuff from the cluster and also allows you to split your manifests across multiple files.
These cards don't have a 16 digit card number and CVV that you can in online shops and pay with those. This has the advantage that these numbers also cannot be "stolen" and then used by criminals to buy things.
Debit cards are really just for physical payment, where you either use contactless payment or by using a PIN. For online shopping, the shops talk to the banks by using an OAuth-like API that can be used to either pay once or set up a monthly payment. There's a few different of these APIs throughout Europe, in each country usually only 1 or 2 are used. Some examples of these APIs are: Bancontact, iDeal, Giropay and Sofort
European webshops usually only support the ones in the country that they are located in, and for all others they either support credit card or bank transfers (which are free and standardized within Europe). American webshops usually only support credit cards, so that's the most common reason for people to have one.
Searching through a map is much faster than you think. At 20 entries searching through a slice of strings is already slower than searching in a map. For ints this threshold is 100 entries. Feel free to test on your own machine, my benchmark code is here: https://gist.github.com/JelteF/1251f180966eb974d7732ea6c3d3b...
You can run it with:
go test -bench='.' -benchtime=1s slicemap_test.go
The benchmark code is based on the one from this blogpost: https://www.darkcoding.net/software/go-slice-search-vs-map-l...
After looking at that code though I didn't trust the results too much anymore, because of various issues with it. So I decided to fix those issues.
1: https://docs.microsoft.com/en-us/azure/azure-arc/data/what-i...
(The price of the Index definitely doesn't make it mainstream though. Just trying to get a sense of this issue)