Hacker Newsnew | past | comments | ask | show | jobs | submit | denysonique's commentslogin

postgres.js leverages pipelining.


Possibly related: "Ask HN: Do people not have hobbies anymore?" https://news.ycombinator.com/item?id=33343603 (177 points, October 2022)



For node.js users there is postgres.js that can listen to the Postgres WAL and emit node events that can be handled by application code.


Electron App authors must stop overriding the native wm's window title bar, or when they do they should still offer the option of being able to switch to using the native title bar.


I plan to add this option, it works well on Windows but shows uggly on mac and linux.


Why didn't they move to MariaDB instead? A faster than MySQL 8 drop-in replacement.


While it is indeed often faster, it isn't drop-in. MySQL and MariaDB have diverged over the years, and each has some interesting features that the other lacks.

I wrote a summary of the DDL / table design differences between MySQL and MariaDB, and that topic alone is fairly long: https://www.skeema.io/blog/2023/05/10/mysql-vs-mariadb-schem...

Another area with major differences is replication, especially when moving beyond basic async topologies.


Wow, I hadn't realized that MySQL and MariaDB diverged so much! In the last year I've started seeing some prominent applications like Apache Superset and Apache AirFlow claiming they don't support—or even test on—MariaDB at all.


With regards to QML, I believe KDE could benefit from offering a React/JSX-based API (similarly to what ReactNative does).

This could potentially boost the KDE extension ecosystem by lowering the entry barrier for existing React devs familiar with the JSX syntax.


QML already uses js?

If you want to use the same API of an existing web framework, I'm sure that wouldn't work, since QML is exposing C++ objects to js code, so the API is set.


But it's still an extra overhead that you need to first understand, instead of just writing a JS file with your code and then loading it.


> instead of just writing a JS file with your code and then loading it

If your js does no I/O at all, you can write pure js. But if you want to show some results, there is no way that you can do it without learning the relevant API to do that.


Every library is overhead that you need to first understand. There's no "just writing a JS file" or just writing a C++/C#/Java/Python/etc. file.


Maybe not implement React, but Qt would benefit from using something like Facebook’s Flux architecture, where state flows down from parent objects to children.

With Qt Widgets, it is annoying to create models (QAbstractItemModel), they are more difficult to implement than what it should and prone to errors. I haven’t done much QML beyond simple sample apps, but it seemed you still have to create Qt models for a lot of use cases.


Even if you have the exact same extensions the fact that you have an old Firefox profile may be hindering the results. Try comparing with a fresh Firefox profile with the same extensions.


The Firefox profile I'm using is no more than 3 weeks old. Fresh install of Windows was done around that time.


Every industry is different. Having the same 5-day, 4-day, x-day or x-hour workweek across all industries doesn't make any sense.

More diversity in this area could bring a worldwide increase of productivity, wellbeing and result in an economic boost.


4 day work weeks will be required to compete as structural demographics compresses the working age population [1] [2]. For example, over 1000 school districts in the US have moved to a 4 day week to retain teachers, as they have no other choice [3]. There is evidence it works in many industries (office work, manufacturing, law enforcement, government) [4]; it might not work everywhere, but it can work where it works.

There is no reason not to ratchet down the work week as productivity has increased, and most people work to live, not live to work (as indicated by the satisfaction indicators in these 4 day week trials).

[1] https://www.bloomberg.com/news/articles/2024-02-29/japan-s-t... | https://archive.today/jXo6a

[2] https://www.theguardian.com/business/2023/apr/13/uk-worst-pe...

[3] https://www.google.com/search?q=us+school+districts+4+day+we...

[4] https://news.ycombinator.com/item?id=39261177 | https://news.ycombinator.com/item?id=39254455 (citations)


There already is diversity. My in-law works 12 hour days 7 days for a week in mining for instance.


Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: