Better HN
topnewbestaskshowjobs
Log inSign up

jitans

15 karma · joined Mar 17, 2018 (8y ago) · 24 submissions

Submissions

comment 1y ago · link · parent

Why don't use fu2? https://naios.github.io/function2/

comment 5y ago · link · parent

I would have used CockroachDB, it has all the requirements listed and you don't need to know in advance the queries you will perform when deciding the database schema.

comment 5y ago · link · parent

not even all the "traditional" databases, each Engine has his own peculiarities.

comment 5y ago · link · parent

And why don't you make a FB account?

comment 5y ago · link · parent

So basically what we needed was a different email client?

comment 5y ago · link · parent

Do you realize WhatsApp privacy hasn't changed?

comment 5y ago · link · parent

And leaking a mail (with real names) is much better?

comment 5y ago · link · parent

Just because this is the new trend (for no reason) ?

9.

Cockroach Goes for Vectorized Execution Engine(cockroachlabs.com ↗)

3 points · by jitans · 6y ago · discuss

10.

State of Postgres(stateofpostgres.com ↗)

26 points · by jitans · 6y ago · 10 comments

comment 7y ago · link · parent

This should have been: PostgGRPC

comment 7y ago · link · parent

Why your application doesn't use a view? Or even better a table function?

comment 7y ago · link · parent

This is one of those features to not use ever, unless you have another problem that is an application touching directly a table instead of a view.

comment 8y ago · link · parent

If you use a compiler do not ignor ever ever the warning messages. Aim, from day 1 to have a compilation warning free. Write code to be read by humans, and do not ignore writing testing code, more or less you should have twice code in testing than real code under test.

comment 8y ago · link · parent

There is who cares about his data and who uses MySQL

comment 8y ago · link · parent

They haven't any custom driver, CRDB is binary compatible with postgresql drivers, are marked as beta because "maybe" there is feature they haven't implemented. So far using pqxx (C++ driver) I haven't seen any issue.

comment 8y ago · link · parent

In postgres you can choose if the replication is synchronous or asynchronous. For cascade replication (a slave uses as a master for another slave) the replica is always async.

comment 8y ago · link · parent

Instead to improve the "use" they had to remove it and enable only namespace renaming

comment 8y ago · link · parent

well the demo then is broken indeed it shows still an "a" inside the multiset. Having say that I would never use a cuckoo in a multiset, indeed it becomes a bounded multiset. Also about the K-hashing for a bloom filter is not exact. You just need need a K-bit hashing function. If the goal is to support deletion then I would go for a Counting Bloom filter

comment 8y ago · link · parent

Add five "a", now remove four "a" Cuckoo claims there are no "a" in the multiset...

comment 8y ago · link · parent

That's not the point. Trying to squeeze the code in less lines as much possible is not the way to go if you loose clarity. Python coders keep repeting the mantra "less line of code" but in the mean time they keep typing: self. self. self.

comment 8y ago · link · parent

As you can see we are the only one thinking this is absurd :D

comment 8y ago · link · parent

how stupid is to measure code in terms of lines?

Make all that a library then you can claim:

A static site generator in only 3 lines of Python

Measuring lines of codes is completely wrong. See the Scala trend were people race to find the shortest way to express something generating hard to understand code. 1) Code has to be written to be maintenable. 2) Code has to be written to be read by your coworkers. 3) The bottleneck while coding is not the keyboard.