HN user

rossmohax

1,009 karma

Email: u947d2ybo@mozmail.com

Posts17
Comments379
View on HN

Please use neither. Reason is as number of lookups varies, you'll have to template query as a string adding either values to IN list or `OR` conditions. Not only it causes excessive string concatenation on your app side, these queries are also seen as distinct queries which has following drawbacks:

- every query has to be planned

- your DB driver can't prepare query as they are all different

- collecting per query stats becomes nightmare if number of arguments per query varies in wide range. metrics cardinality is a problem.

Correct way to handle it is pass all args as single parameter of type array and use `= ANY($1)` or if there are multiple columns build a virtual table and join:

  SELECT a,b FROM table 
  NATURAL JOIN ROWS FROM (
    unnest($1::type_of_a[]),
    unnest($2::type_of_b[])
  ) t(a,b)

There was a company I can't recall its name, but they took VC funding for one round, retained voting control, built successfull business and then refused to go for another VC round. VC still owns company, but can't exit and founders are happy with the way things are.

Does ZFS or any other FS offer special operations which DB engine like RocksDB, SQLite or PostgreSQL could benefit from if they decided to target that FS specifically?

I like the appeal of model being bidirectional. Also modelling sequence of actions is really not solved problem in Terraform & Pulumi: canary change, check metrics, rollout to the rest of the region, check metrics, then all regions, if they solved it all while being "declarative" and high level it can be the next tool of choice for me.

I am not worried about UI representation of the model like many comments, it is not the main point of this project as I understand. UI just that - a representation, same relationships might as well be coded in HCL or the like of it.

TLDR; it is a Google search proxy for Mullvad customers with 50 searches per 24 limit. There is an option to do unlimited number of searches in their cache.

There is still no good support for io_uring in Rust. AFAIK none of existing solutions fully support multishot ops, zerocopy ops with delayed buffer release, sending messages to another ring with IORING_OP_MSG_RING or convenient ops linking

Is it accurate to mentally model this feature as browser mounting/applying CSS not to the document, but to the arbitrary DOM element in it?

Despite all the effort, benchrmak results are still not consistent. The other day I wanted to check how Ryzen 7600 compares to i13600k in code compilation. Ratio in time between these 2 processors reported by different authors were wildly different:

LTT: 129% GN: 160% Techpowerup: 105%

With results fluctuating up to 2 generational differences it is hard to make sense, despite all the authors effort. This leaves that kind of content more of entertainment rather than informational and from that perspective low effort doesn't bother me.

IPv6 only is still unusuable :( I bought new Sony TV and allocated it a new VLAN with IPv6 only network just to see how it works TV couldn't even detect that it connected to the internet, despite it receiving ipv6 address from my router. It looks like it couldn't use IPv6 DNS servers. If I try to configure IP address statically it wont let me enter IPv6 address at all.

Do you have exmoles to support claim that there is no compatibility between versions of the same compiler? your linked pdf is from 2014, exact time when compilers stopped breaking things.

AFAIK MSVC compilers explicitly guarantee ABI compatibility since 2015 https://learn.microsoft.com/en-us/cpp/porting/binary-compat-...

as for other platforms, all compilers adhere to Itanium ABI and didnt introduce breaking changes for many years now. Standard libraries, libc++ has explicit ABI guarantee as well (https://libcxx.llvm.org/DesignDocs/ABIVersioning.html).

Libstdc++ uses symbol versioning and only nasty thing happened to it was problem with std::string CoW decade ago, but even that was done neatly and in compatible manner https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_a...

Author keeps saying that Roles are identities,but they are exactly opposite. Role is a set of permissions token issued for that role will have. Whether identity can issue token for that role or not is governed separately. Role is not identity , nor service accounts nor principal.

To get Rocky Linux to deliver on the same performance of Red Hat for us was a 13-month process. It was not trivial…

I wonder why is that, if Rocky is repackaging RHEL source performance should be identical, no?

Article mentions realtime kernel. It seems they were working with RH on custom kernel (that's the support contract he mentioned), but started to be asked to pay for RHEL license to use it, which understandably pisses him off

It uses several techniques for this, of which the most notable is that it takes advantage of the priority queues provided by modern switches.

I'd understand if they said routers, but switches? Do L2 switches have any notion of priority and if yes how does it work?