Better HN
topnewbestaskshowjobs
Log inSign up

tgulacsi

1 karma · joined Jul 2, 2022 (4y ago) · 3 submissions

[ my public key: https://keybase.io/tgulacsi; my proof: https://keybase.io/tgulacsi/sigs/uo2zay8P5VLkoIAGPtZv6MiG5D_lD0yYR4bSXz1q0qQ ]
Submissions

comment 7mo ago · link · parent

5/9 - I've never been in London and never heard these sounds before :)

comment 2y ago · link · parent

Beside personal photo store, I use the storage part for file store at work (basically, indexing is off), with a simplifying wrapper for upload/download: github.com/tgulacsi/camproxy

With the adaptive block hashing (varying block sizes), it beats gzip for compression.

comment 3y ago · link · parent

This is the "set based" approach for the MAX: there does not exist a bigger element:

  SELECT article, dealer, price
    FROM   shop s1
    WHERE  NOT EXISTS (SELECT 1 FROM shop s2 
                         WHERE s2.price > s1.price AND
                               s2.article = s2.article)
    ORDER BY article;