adren123
Re:ClickHouse matches PG for single-row UPDATEs and 4000 x faster for ...
on Sunday August 17, 2025 @06:53PM (#44935660)
I wonder how ClickHouse would compare against DuckDB given that the latter usually performs very well on OLAP benchmarks such as TPC-H
Re:Show HN: IMDb SQL Best Movie Finder
on Tuesday November 05, 2024 @10:54AM (#42052454)
Wikidata.org the database behind Wikipedia is a good alternative as a general database including films and related crew
for instance with Avatar (2009)
https://www.wikidata.org/wiki/Q24871
Although is cannot be queried in SQL, but SPARQL instead https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service
Indeed, the 2013 Spike Jonze movie is the first idea that popped-up to my mind when I saw those videos
amazing to see this movie 10 years after it was released in the light of those "futuristic" tools (AI assistant and such)
Re:Ripgrep is faster than grep, ag, Git grep, ucg, pt, sift (2016)
on Friday December 01, 2023 @07:40AM (#38486039)
If you want to win on both counts (no buggy pipes and coloring), and if you're certain of the order, you can use the following:
rg nokogiri.*linux
Re:Solving duplicate data with performant deduplication
on Wednesday November 22, 2023 @10:12AM (#38380307)
An initial import with DuckDB from all the 15 files takes only 36 seconds on a regular (6 years old) desktop computer with 32GB of RAM and 26 seconds (5 times quicker than QuestDB) on a Dell PowerEdge 450 with 20 cores Intel Xeon and 256GB of RAM.
Here is the command to input the files:
CREATE TABLE ecommerce_sample AS SELECT * from read_csv_auto('ecommerce_*.csv');
Re:Scrumdog – a program to download Jira Issues to a local database
on Friday July 15, 2022 @03:58PM (#32112112)
There is also git-bug [1], an offline bug tracker fully embedded in git which can bridge to Github, Gitlab, Jira
Re:New(ish) command line tools
on Wednesday April 13, 2022 @08:28AM (#31013834)
I also use regularly miller/mlr with files having 1M+ lines and I never had problems with the hardcoded processing (i.e. "verbs") nor the DSL language which is know to be much less efficient compared to verbs.
Both visidata and miller are essential tools to process/view CSV/TSV files, way better than LibreOffice or Excel in terms of performance on large files.
Re:You can do a lot with an empty file
on Thursday April 07, 2022 @03:56AM (#30941855)
What is also interesting is that while strace seems to report much less overhead in "./empty" compared to /bin/true
$ strace -c ./empty
strace: exec: Erreur de format pour exec()
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
0,00 0,000000 0 1 1 execve
------ ----------- ----------- --------- --------- ----------------
100,00 0,000000 0 1 1 total
$ strace -c /bin/true
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
54,05 0,000060 15 4 mprotect
24,32 0,000027 27 1 set_tid_address
10,81 0,000012 12 1 set_robust_list
8,11 0,000009 9 1 munmap
2,70 0,000003 3 1 prlimit64
0,00 0,000000 0 1 read
0,00 0,000000 0 2 close
0,00 0,000000 0 8 mmap
0,00 0,000000 0 1 brk
0,00 0,000000 0 4 pread64
0,00 0,000000 0 1 1 access
0,00 0,000000 0 1 execve
0,00 0,000000 0 2 1 arch_prctl
0,00 0,000000 0 2 openat
0,00 0,000000 0 2 newfstatat
------ ----------- ----------- --------- --------- ----------------
100,00 0,000111 3 32 2 total
the multiple execution seems to be much slower with the empty executable than with /bin/true using the multitime tool https://tratt.net/laurie/src/multitime/ $ multitime -n 10 ./empty
===> multitime results
1: ./empty
Mean Std.Dev. Min Median Max
real 0.006 0.000 0.005 0.006 0.006
user 0.001 0.001 0.000 0.002 0.002
sys 0.000 0.001 0.000 0.000 0.002
$ multitime -n 10 /bin/true
===> multitime results
1: /bin/true
Mean Std.Dev. Min Median Max
real 0.002 0.000 0.001 0.002 0.003
user 0.001 0.000 0.001 0.001 0.001
sys 0.000 0.000 0.000 0.000 0.000
Re:Clear Your Terminal in Style
on Thursday March 05, 2020 @07:41AM (#22493033)
the full monty:
alias c='echo -e "\033c" ; stty sane; setterm -reset; reset; tput reset; clear'
doesn't only clear the screen, but also escape any "broken" terminal configuration such as output of a binary on the tty