HackerTrans
TopNewTrendsCommentsPastAskShowJobs

cha42

no profile record

Submissions

JavaScript vs. Python class fields handling

1 points·by cha42·2 वर्ष पहले·0 comments

comments

cha42
·पिछला वर्ष·discuss
I use PostgreSQL full text search and GIN indexing and often find it to be good enough and fast enough without the hassle to have to handle a second engine just for search.
cha42
·पिछला वर्ष·discuss
If I may:

Their is a huge conflict of ingerest of giving this power to a major economical actor that vastly depends on public investment and under public scrutinity.

Executive should have the audit right and in some measure probably it should be widespread to all citizens up to sensitive data not being leaked. But what good is there to give this power solely to one of the richest and more powerful man in the world? This is crazy.
cha42
·2 वर्ष पहले·discuss
Logging is static in CLI world but you can reproduce this easily with pdb in python
cha42
·2 वर्ष पहले·discuss
Recently I found myself happy to find bug in code I have writtdn for those reasons.
cha42
·2 वर्ष पहले·discuss
It can be useful for improving ingestion pipeline: put your pdf collection in a temp table and then extract with pure SQL the information you want.
cha42
·2 वर्ष पहले·discuss
Or toothpath dynamic.
cha42
·2 वर्ष पहले·discuss
Any syntax with a let operator to name stuff or a lambda abstraction.
cha42
·2 वर्ष पहले·discuss
I don't understand at all my kids choices in game or way of spending time at all

It seems completely random but in a coherent way. It is wonderful.

Anyway, you are right and not pedantic at all.
cha42
·2 वर्ष पहले·discuss
The largest fancy math object I know is probably the proof of the following theorem:

https://link.springer.com/chapter/10.1007/978-3-030-51074-9_...

The proof is 200Gb large. I am quiet sure now even larger proof exists, in particular thet exhaust some combinatorial property on graphs.
cha42
·2 वर्ष पहले·discuss
Sealable spreadsheet is also awesome ! Congrats for the delivery.
cha42
·2 वर्ष पहले·discuss
Do you have any simd-optim in parsing all those large files ?

I have read that you write some of your own parser for perf boost.

(I am one of the author of https://github.com/V0ldek/rsonpath)
cha42
·2 वर्ष पहले·discuss
So who build an hackernews room for fun ?
cha42
·2 वर्ष पहले·discuss
If you have an infra that need to scale so much then Postgresql isn't the right tool indeed. The right tools for your use case probably doesn't even exists and you will have to build one.

It is not a mystery why all webscale companies endup designing their own DB technology.

That being said, most of the DB in the wild are not remotely at those scale. I have seen my share of Postgresql/ElasticSearch combo to handle below TB data and just collapsing because of the overeng of administrating two DB in one app.
cha42
·2 वर्ष पहले·discuss
you can certainly encode queue in many ways. mkfifo just work. But integrating the queue in the DB isn't a bad idea if you want to have both the queue and the db in a shared state.

I am happy that my queue inherit ACID properties.

SQLite simply doesn't allow concurrent write so it is a no go for a queue.

I don't know much about SQL Server and MySQL but I wouldn't favor a lockin closed source software or anything remotely connected to Oracle.

At the end, only Postgresql remains I guess. Also, Postgresql is super solid and the closest to SQL standard.