There will be no singularity – Telegram
There will be no singularity
1.99K subscribers
248 photos
15 videos
5 files
995 links
Smartface, technologies and decay
@antonrevyako
Download Telegram
Clickhouse cloud public beta

https://clickhouse.cloud/signUp
At what conference for the second year in a row was the author of this channel not invited to speak? :)
Lads - check out our super serious (no) reel for Techcrunch Disrupt!

https://youtu.be/RxijVdlUBZk

Ps: no sound needed :)
MySQL HeatWave Performance Comparison
- 11X faster than Redshift
- 9X faster than Snowflake
- 9X faster than BigQuery
- 3X faster than Synapse

https://www.oracle.com/mysql/heatwave/performance/
A few PG hacks from Alibaba (thx to @olegkovalov)

1) PostgreSQL Graph Search Practices - 10 Billion-Scale Graph with Millisecond Response
https://www.alibabacloud.com/blog/postgresql-graph-search-practices---10-billion-scale-graph-with-millisecond-response_595039

2) Social Friend Relationship System Practice in PostgreSQL - Accelerating Queries of Positive and Negative Relationships
https://www.alibabacloud.com/blog/595043
Any of you in St. Petersburg now? Let me know, there is a surprise for you :)
Coffee machine + php + mysql
duckdb going mad...

UNION Type
CREATE TABLE messages(u UNION(num INT, error VARCHAR));
INSERT INTO messages VALUES (42);
INSERT INTO messages VALUES ('oh my globs');

FROM-first
-- SELECT clause is optional, SELECT * is implied (if not included)
FROM tbl;

-- first 5 rows of the table
FROM tbl LIMIT 5;

-- SELECT can be used after the FROM
FROM tbl SELECT l_orderkey;

-- insert all data from tbl1 into tbl2
INSERT INTO tbl2 FROM tbl1;


BTW SQL standard already has special syntax for it:
TABLE tbl;

COLUMNS Expression
SELECT MIN(COLUMNS(*)), COUNT(*) from obs;
SELECT COLUMNS('val[0-9]+') from obs;

List comprehension support
SELECT [x + 1 for x in [1, 2, 3]] AS l;