Better HN
topnewbestaskshowjobs
Log inSign up

goerch

26 karma · joined Oct 12, 2017 (9y ago) · 30 submissions

Submissions

comment 3mo ago · link · parent

I'm slowly finding my way back to testing local LLMs (out of fear of price spikes). Currently positively surprised by OpenVINO. But my private benchmarks indicate not to trust edge models too much.

comment 3mo ago · link · parent

One question I'm asking myself is: can LLMs be bored?

comment 7mo ago · link · parent

both

comment 7mo ago · link · parent

Maybe you are unconsciously doing the right thing(TM) already? So try doing it with SQLite instead :)

comment 7mo ago · link · parent

Agree with your assessment of small and reliable for SQLite. Disagree with your baseline requirement. ACID is more important for me and does not contain `No crashes`.

comment 7mo ago · link · parent

> Search the issues of the duckdb GitHub there’s at least 110 open and closed oom (out of memory) and maybe 400 to 500 that reference “memory”.

Ah, missed this the first time around. Will check this out. And yes, I noticed that DuckDB rather aggressively tries to use the resources of your computer.

comment 7mo ago · link · parent

Understood: SQLite is to Postgres as DuckDB is to ClickHouse.

comment 7mo ago · link · parent

That sounds like a rather serious application. Did you file an issue?

comment 7mo ago · link · parent

Hm, only anecdotal evidence, but page rank computation for Wikipedia works on my laptop (https://github.com/idesis-gmbh/WikiExperiments) where `NetworkX` fails. And it uses some joins like here: https://github.com/idesis-gmbh/WikiExperiments/blob/0b108f3f...

comment 7mo ago · link · parent

Interesting: I transferred the idea of a matrix being stored row or column wise to the database world and assumed this was a more physical than theoretical feature (not a native speaker here)?

Looking forward to check out `pg_duckdb`, yes.

comment 7mo ago · link · parent

https://github.com/rilldata/rill, Apache 2.0 license

comment 7mo ago · link · parent

Hm, our internal benchmarking shows something like a 30x speedup compared to SQLite (https://github.com/ClickHouse/ClickBench shows an even greater speedup due to not considering cache size). Calculating back on the envelope I'd estimate 8x for multithreading and 4x for SIMD. Should we expect even more?

comment 7mo ago · link · parent

> For most of the data the sizes we often deal with it's perfect.

Interested here: for me it works for out of core work. Where is the limit? On a related note: do you need to handle concurrency restrictions?

comment 7mo ago · link · parent

Theoretically I would agree, but practically I still wonder why we need different database engines for row and columnar storage if supporting different types of indices is trivial(TM) for Postgres?

comment 7mo ago · link · parent

It is a educational/R&D type project. We are more of backend developers and `rill` worked fine as a rapid visualization frontend with low learning curve for us.

Edit: still realizing that I can't use markdown on HN...

comment 7mo ago · link · parent

If you start with Excel, I'll counter with Postgres: https://github.com/duckdb/pg_duckdb. I haven't found the time to check this on one of our installation, though.

comment 7mo ago · link · parent

I'm using DuckDB in another project (on my laptop) where `NetworkX` fails due to the memory limit of 32 GB. So yes, as soon as you are doing out of core work I'd assume the combination to be quite powerful. Knowledge in SQL would be a plus, though.

comment 7mo ago · link · parent

Can confirm: together with `dbt` and `rill` I'm able do to [this](https://github.com/idesis-gmbh/GitHubExperiments/blob/master...) on my laptop.

comment 7mo ago · link · parent

Is this what we do with education in general?

comment 7mo ago · link · parent

About what?

comment 7mo ago · link · parent

But then you'll get two files to join?

comment 7mo ago · link · parent

Sorry, this I think is a dangerous attitude: for me it is not about onboarding. Every newcomer reading `Huh, neat` is poised to repeat the mistakes of us and our ancestors.

comment 7mo ago · link · parent

And crashes you can exclude? Good luck!

comment 7mo ago · link · parent

Yes, but you are probably a bit too polite. And I'm not sure how to do justice to SQLite, Postgres and my new favourite toy DuckDB.

comment 7mo ago · link · parent

Hm, I somewhat understand your point of `making wise decisions`. But doesn't that concern all kinds of software development? For me, it does.

comment 7mo ago · link · parent

Pretty sure the origin should be `dbunpro.app`, no? I'd think the consensus should be: do you even need the file system?

comment 7mo ago · link · parent

a) Just heard today: JOINs are bad for performance b) How many columns can (an Excel) table have: no need for JOINs

comment 7mo ago · link · parent

Hm, sometimes opening a book could do wonders? But these were the old times...

comment 7mo ago · link · parent

Nice, so we are already covering the A of ACID. And don't get me started about what OLAP databases like DuckDB can do for out of core workloads.

comment 7mo ago · link · parent

Computing page rank on par with NetworkX: https://github.com/idesis-gmbh/WikiExperiments Educational local DW from Github Archive events: https://github.com/idesis-gmbh/GitHubExperiments

It is quite fast for OLAP applications. It works on low cost hardware.