<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: rossmohax</title><link>https://news.ycombinator.com/user?id=rossmohax</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Tue, 28 Apr 2026 21:08:43 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=rossmohax" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by rossmohax in "When should you use the IN instead of the OR operator in Postgres?"]]></title><description><![CDATA[
<p>It does, but AFAIk only for prepapred queries and cache is local to the backend serving query. See `plan_cache_mode` param.</p>
]]></description><pubDate>Thu, 31 Aug 2023 11:54:30 +0000</pubDate><link>https://news.ycombinator.com/item?id=37335776</link><dc:creator>rossmohax</dc:creator><comments>https://news.ycombinator.com/item?id=37335776</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37335776</guid></item><item><title><![CDATA[New comment by rossmohax in "When should you use the IN instead of the OR operator in Postgres?"]]></title><description><![CDATA[
<p>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:<p>- every query has to be planned<p>- your DB driver can't prepare query as they are all different<p>- collecting per query stats becomes nightmare if number of arguments per query varies in wide range. metrics cardinality is a problem.<p>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:<p><pre><code>  SELECT a,b FROM table 
  NATURAL JOIN ROWS FROM (
    unnest($1::type_of_a[]),
    unnest($2::type_of_b[])
  ) t(a,b)</code></pre></p>
]]></description><pubDate>Thu, 31 Aug 2023 11:43:02 +0000</pubDate><link>https://news.ycombinator.com/item?id=37335671</link><dc:creator>rossmohax</dc:creator><comments>https://news.ycombinator.com/item?id=37335671</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37335671</guid></item><item><title><![CDATA[New comment by rossmohax in "Don't Take VC Funding – It Will Destroy Your Company"]]></title><description><![CDATA[
<p>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.</p>
]]></description><pubDate>Sun, 09 Jul 2023 16:58:33 +0000</pubDate><link>https://news.ycombinator.com/item?id=36656196</link><dc:creator>rossmohax</dc:creator><comments>https://news.ycombinator.com/item?id=36656196</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36656196</guid></item><item><title><![CDATA[New comment by rossmohax in "ZFS 2.2.0 (RC): Block Cloning merged"]]></title><description><![CDATA[
<p>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?</p>
]]></description><pubDate>Tue, 04 Jul 2023 19:21:38 +0000</pubDate><link>https://news.ycombinator.com/item?id=36591435</link><dc:creator>rossmohax</dc:creator><comments>https://news.ycombinator.com/item?id=36591435</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36591435</guid></item><item><title><![CDATA[New comment by rossmohax in "Tesla Gives New UK Owners a ‘Reacher’ Stick to Deal with Left-Hand Drive Cars"]]></title><description><![CDATA[
<p>Life would be easier if UK switched driving sides.</p>
]]></description><pubDate>Sun, 02 Jul 2023 18:12:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=36564009</link><dc:creator>rossmohax</dc:creator><comments>https://news.ycombinator.com/item?id=36564009</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36564009</guid></item><item><title><![CDATA[New comment by rossmohax in "Everything that uses configuration files should report where they're located"]]></title><description><![CDATA[
<p>this will work 0% of the time if app closes config after reading</p>
]]></description><pubDate>Sun, 25 Jun 2023 09:57:04 +0000</pubDate><link>https://news.ycombinator.com/item?id=36466522</link><dc:creator>rossmohax</dc:creator><comments>https://news.ycombinator.com/item?id=36466522</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36466522</guid></item><item><title><![CDATA[New comment by rossmohax in "System Initiative: Second Wave DevOps"]]></title><description><![CDATA[
<p>This talk is must see to understand what SI tries to achieve.</p>
]]></description><pubDate>Wed, 21 Jun 2023 19:59:39 +0000</pubDate><link>https://news.ycombinator.com/item?id=36423550</link><dc:creator>rossmohax</dc:creator><comments>https://news.ycombinator.com/item?id=36423550</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36423550</guid></item><item><title><![CDATA[New comment by rossmohax in "System Initiative: Second Wave DevOps"]]></title><description><![CDATA[
<p>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.<p>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.</p>
]]></description><pubDate>Wed, 21 Jun 2023 19:58:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=36423532</link><dc:creator>rossmohax</dc:creator><comments>https://news.ycombinator.com/item?id=36423532</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36423532</guid></item><item><title><![CDATA[New comment by rossmohax in "PostgreSQL reconsiders its process-based model"]]></title><description><![CDATA[
<p>This project could borrow a lot from unikernels. If they mandate running it as a VM, there is no HW to support.</p>
]]></description><pubDate>Tue, 20 Jun 2023 07:00:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=36400625</link><dc:creator>rossmohax</dc:creator><comments>https://news.ycombinator.com/item?id=36400625</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36400625</guid></item><item><title><![CDATA[New comment by rossmohax in "Mullvad Leta (Search Engine)"]]></title><description><![CDATA[
<p>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.</p>
]]></description><pubDate>Tue, 16 May 2023 17:27:15 +0000</pubDate><link>https://news.ycombinator.com/item?id=35965024</link><dc:creator>rossmohax</dc:creator><comments>https://news.ycombinator.com/item?id=35965024</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35965024</guid></item><item><title><![CDATA[New comment by rossmohax in "Fibonacci Hashing: An optimization that the world forgot (2018)"]]></title><description><![CDATA[
<p>TLDR; hash the hash with fast function, like fibonacci hash which is just single multiplication by a constant, then take lower bits as your bucket index.</p>
]]></description><pubDate>Sun, 30 Apr 2023 09:40:28 +0000</pubDate><link>https://news.ycombinator.com/item?id=35761040</link><dc:creator>rossmohax</dc:creator><comments>https://news.ycombinator.com/item?id=35761040</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35761040</guid></item><item><title><![CDATA[New comment by rossmohax in "Office of the President of Mongolia: Top to bottom text on the web"]]></title><description><![CDATA[
<p>How does Mongolian IDE look like?</p>
]]></description><pubDate>Fri, 21 Apr 2023 12:32:03 +0000</pubDate><link>https://news.ycombinator.com/item?id=35652738</link><dc:creator>rossmohax</dc:creator><comments>https://news.ycombinator.com/item?id=35652738</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35652738</guid></item><item><title><![CDATA[New comment by rossmohax in "Using io_uring for network I/O"]]></title><description><![CDATA[
<p>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</p>
]]></description><pubDate>Thu, 13 Apr 2023 05:02:12 +0000</pubDate><link>https://news.ycombinator.com/item?id=35551165</link><dc:creator>rossmohax</dc:creator><comments>https://news.ycombinator.com/item?id=35551165</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35551165</guid></item><item><title><![CDATA[New comment by rossmohax in "Key takeaways from the quest design of Cyberpunk 2077 and The Witcher 3"]]></title><description><![CDATA[
<p>I thought Witcher 3 had a good story until I played Disco Elysium.</p>
]]></description><pubDate>Sun, 02 Apr 2023 23:06:14 +0000</pubDate><link>https://news.ycombinator.com/item?id=35416285</link><dc:creator>rossmohax</dc:creator><comments>https://news.ycombinator.com/item?id=35416285</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35416285</guid></item><item><title><![CDATA[New comment by rossmohax in "Tracking the Fake GitHub Star Black Market"]]></title><description><![CDATA[
<p>More than once I've seen when number of stars was an argument to decide whether to pull dependency or write our own.</p>
]]></description><pubDate>Sat, 18 Mar 2023 10:39:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=35207891</link><dc:creator>rossmohax</dc:creator><comments>https://news.ycombinator.com/item?id=35207891</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35207891</guid></item><item><title><![CDATA[New comment by rossmohax in "Gitlab loses one-third of its value after company issues weak forecast"]]></title><description><![CDATA[
<p>Gitlab CI pipelines are miles ahead from Github Actions or Circle CI.</p>
]]></description><pubDate>Mon, 13 Mar 2023 23:25:36 +0000</pubDate><link>https://news.ycombinator.com/item?id=35144721</link><dc:creator>rossmohax</dc:creator><comments>https://news.ycombinator.com/item?id=35144721</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35144721</guid></item><item><title><![CDATA[New comment by rossmohax in "Better alternatives to git submodules"]]></title><description><![CDATA[
<p>It is a great and more ergonomic alternative, can't recommend enough.</p>
]]></description><pubDate>Fri, 03 Mar 2023 13:00:53 +0000</pubDate><link>https://news.ycombinator.com/item?id=35008982</link><dc:creator>rossmohax</dc:creator><comments>https://news.ycombinator.com/item?id=35008982</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35008982</guid></item><item><title><![CDATA[New comment by rossmohax in "Declarative Shadow DOM"]]></title><description><![CDATA[
<p>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?</p>
]]></description><pubDate>Mon, 13 Feb 2023 21:36:41 +0000</pubDate><link>https://news.ycombinator.com/item?id=34780970</link><dc:creator>rossmohax</dc:creator><comments>https://news.ycombinator.com/item?id=34780970</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34780970</guid></item><item><title><![CDATA[New comment by rossmohax in "U.S. military shoots down suspected Chinese surveillance balloon"]]></title><description><![CDATA[
<p>If it was flying at 80000ft as initially reported, how did they shot it down? No fighter planes can fly that high. Did they wait until it lowered to the operating altitude?</p>
]]></description><pubDate>Sun, 05 Feb 2023 10:40:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=34663722</link><dc:creator>rossmohax</dc:creator><comments>https://news.ycombinator.com/item?id=34663722</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34663722</guid></item><item><title><![CDATA[New comment by rossmohax in "Testing Noctua’s NH-P1 with Ryzen 7700x and Intel’s i9-13900K"]]></title><description><![CDATA[
<p>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:<p>LTT: 129%
GN: 160%
Techpowerup: 105%<p>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.</p>
]]></description><pubDate>Sun, 29 Jan 2023 18:43:00 +0000</pubDate><link>https://news.ycombinator.com/item?id=34571233</link><dc:creator>rossmohax</dc:creator><comments>https://news.ycombinator.com/item?id=34571233</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34571233</guid></item></channel></rss>