<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: ahakanbaba</title><link>https://news.ycombinator.com/user?id=ahakanbaba</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Mon, 06 Apr 2026 07:04:16 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=ahakanbaba" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by ahakanbaba in "I am rich and have no idea what to do"]]></title><description><![CDATA[
<p>Consider having children. That will help with the “problems” of having too much money and time.</p>
]]></description><pubDate>Fri, 03 Jan 2025 16:54:35 +0000</pubDate><link>https://news.ycombinator.com/item?id=42587246</link><dc:creator>ahakanbaba</dc:creator><comments>https://news.ycombinator.com/item?id=42587246</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42587246</guid></item><item><title><![CDATA[New comment by ahakanbaba in "Ask HN: What is the best postmortem you've seen?"]]></title><description><![CDATA[
<p>I learned quite a lot from this <a href="https://blog.cloudflare.com/details-of-the-cloudflare-outage-on-july-2-2019/" rel="nofollow">https://blog.cloudflare.com/details-of-the-cloudflare-outage...</a></p>
]]></description><pubDate>Sun, 05 Mar 2023 23:51:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=35035577</link><dc:creator>ahakanbaba</dc:creator><comments>https://news.ycombinator.com/item?id=35035577</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35035577</guid></item><item><title><![CDATA[New comment by ahakanbaba in "Ask HN: How do you test SQL?"]]></title><description><![CDATA[
<p>Fair enough, agreed. 
It is tricky to “mock” as you said.<p>Our CICD platform and their owners get unhappy if we spawn an ad hoc spark session for testing purposes.<p>There is also a general expectation that unit tests are self contained and portable. So you could execute them in mac, linux, and arm ISA without much effort.<p>Another point was that we need to make this mocking or test setup easy because data scientist and ML Modellers are the most important persona who needs to write these tests ideally.<p>So mocking the data source with an abstraction layer and passing pandas dataframes, worked reasonably well for our use case.</p>
]]></description><pubDate>Wed, 01 Feb 2023 02:58:16 +0000</pubDate><link>https://news.ycombinator.com/item?id=34605750</link><dc:creator>ahakanbaba</dc:creator><comments>https://news.ycombinator.com/item?id=34605750</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34605750</guid></item><item><title><![CDATA[New comment by ahakanbaba in "Ask HN: How do you test SQL?"]]></title><description><![CDATA[
<p>The hard part about testing SQL is decoupling from infrastructure and big data sources. We use DuckDB, and pandas dataframes mock data sources to unit test SQL. Python testing frameworks (or simple assert statements) can be used to compare inputs and outputs.<p>When the tests pass, we can change from DuckDB to Spark. This helps decouple testing Spark pipelines from the SparkSession and infrastructure, which saves a lot of compute resources during the iteration process.<p>This setup requires an abstraction layer to make the SQL execution agnostic to platforms and to make the data sources mockable. We use the open source Fugue layer to define the business logic once, and have it be compatible with DuckDB and Spark.<p>It is also worth noting that FugueSQL will support warehouses like BigQuery and Snowflake in the near future as part of their roadmap. So in the future, you can unit test SQL logic, and then bring it to BigQuery/Snowflake when ready.<p>For more information, there is this talk on PyData NYC (SQL testing part): <a href="https://www.youtube.com/watch?v=yQHksEh1GCs&t=1766s">https://www.youtube.com/watch?v=yQHksEh1GCs&t=1766s</a><p>Fugue project repo:
<a href="https://github.com/fugue-project/fugue/">https://github.com/fugue-project/fugue/</a></p>
]]></description><pubDate>Wed, 01 Feb 2023 01:32:36 +0000</pubDate><link>https://news.ycombinator.com/item?id=34605111</link><dc:creator>ahakanbaba</dc:creator><comments>https://news.ycombinator.com/item?id=34605111</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=34605111</guid></item><item><title><![CDATA[A Kubernetes User Story Utilizing Events Api]]></title><description><![CDATA[
<p>Article URL: <a href="http://blog.kubernetes.io/2018/01/reporting-errors-using-kubernetes-events.html">http://blog.kubernetes.io/2018/01/reporting-errors-using-kubernetes-events.html</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=16234836">https://news.ycombinator.com/item?id=16234836</a></p>
<p>Points: 4</p>
<p># Comments: 0</p>
]]></description><pubDate>Thu, 25 Jan 2018 21:27:48 +0000</pubDate><link>http://blog.kubernetes.io/2018/01/reporting-errors-using-kubernetes-events.html</link><dc:creator>ahakanbaba</dc:creator><comments>https://news.ycombinator.com/item?id=16234836</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=16234836</guid></item><item><title><![CDATA[Show HN: Makefile.test for running your test executables]]></title><description><![CDATA[
<p>Article URL: <a href="https://github.com/box/Makefile.test">https://github.com/box/Makefile.test</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=15862939">https://news.ycombinator.com/item?id=15862939</a></p>
<p>Points: 7</p>
<p># Comments: 0</p>
]]></description><pubDate>Wed, 06 Dec 2017 17:28:43 +0000</pubDate><link>https://github.com/box/Makefile.test</link><dc:creator>ahakanbaba</dc:creator><comments>https://news.ycombinator.com/item?id=15862939</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=15862939</guid></item><item><title><![CDATA[New comment by ahakanbaba in "Simple alerts for missing metrics data with a focus on Wavefront"]]></title><description><![CDATA[
<p>I absolutely agree. For a service with any availability guarantees there has to be rigorous monitoring and alerting.<p>This also holds for services that have internal clients. In other words, if your output is consumed only by other services in the same company, the same high monitoring standards must apply. Otherwise failure detection becomes very delayed and the productivity of many teams gets affected. There is no worse buzzkill than explaining other service owners what is wrong with their application.<p>One other important lesson we have earned is that alerts require time to mature. The thresholds need to be trained, the alert formulation needs to be revised. Our alerts usually give couple of false positives in the first two weeks of their creation. During these two weeks we frequently improve the conditions of alerts.</p>
]]></description><pubDate>Thu, 17 Aug 2017 19:47:30 +0000</pubDate><link>https://news.ycombinator.com/item?id=15040187</link><dc:creator>ahakanbaba</dc:creator><comments>https://news.ycombinator.com/item?id=15040187</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=15040187</guid></item><item><title><![CDATA[Simple alerts for missing metrics data with a focus on Wavefront]]></title><description><![CDATA[
<p>Article URL: <a href="https://blog.box.com/blog/handling-missing-metrics-wavefront/">https://blog.box.com/blog/handling-missing-metrics-wavefront/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=15038737">https://news.ycombinator.com/item?id=15038737</a></p>
<p>Points: 22</p>
<p># Comments: 2</p>
]]></description><pubDate>Thu, 17 Aug 2017 17:17:15 +0000</pubDate><link>https://blog.box.com/blog/handling-missing-metrics-wavefront/</link><dc:creator>ahakanbaba</dc:creator><comments>https://news.ycombinator.com/item?id=15038737</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=15038737</guid></item></channel></rss>