<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: CapriciousCptl</title><link>https://news.ycombinator.com/user?id=CapriciousCptl</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Fri, 17 Apr 2026 06:09:10 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=CapriciousCptl" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by CapriciousCptl in "A cross-platform GUI for YouTube-dl"]]></title><description><![CDATA[
<p>Neat! Seeing this I'm considering making a similar project that takes a search and drops the preview pictures. No post-video-watching suggest + no 1 minute video shorts + no clickbaity preview pictures + setting a watch timer or something like that might get me back on youtube.</p>
]]></description><pubDate>Fri, 10 Sep 2021 13:27:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=28481224</link><dc:creator>CapriciousCptl</dc:creator><comments>https://news.ycombinator.com/item?id=28481224</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=28481224</guid></item><item><title><![CDATA[New comment by CapriciousCptl in "How We Went All In on sqlc/pgx for Postgres and Go"]]></title><description><![CDATA[
<p>Personally, I tried pgtyped in a greenfield project but ended up switching to Slonik. Both are brilliant packages-- if you ever peak at the source of pgtyped it basically parses SQL on its own from what I could understand. The issues I had were-- 1) writing queries sometimes felt a little contrived in order to prevent multiple roundtrips to the database and back and 2) pgtyped gave weird/non-functioning types from some more complex queries. I've had better luck with Slonik and just writing types by hand.</p>
]]></description><pubDate>Thu, 09 Sep 2021 00:21:08 +0000</pubDate><link>https://news.ycombinator.com/item?id=28464685</link><dc:creator>CapriciousCptl</dc:creator><comments>https://news.ycombinator.com/item?id=28464685</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=28464685</guid></item><item><title><![CDATA[New comment by CapriciousCptl in "TikTok overtakes YouTube for average watch time in US and UK"]]></title><description><![CDATA[
<p>Note that this is watch time *per active user* lest anyone interprets the title as TikTok having more total active user-time.</p>
]]></description><pubDate>Mon, 06 Sep 2021 14:06:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=28433752</link><dc:creator>CapriciousCptl</dc:creator><comments>https://news.ycombinator.com/item?id=28433752</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=28433752</guid></item><item><title><![CDATA[TypeScript Deep Dive]]></title><description><![CDATA[
<p>Article URL: <a href="https://basarat.gitbook.io/typescript/">https://basarat.gitbook.io/typescript/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=28419580">https://news.ycombinator.com/item?id=28419580</a></p>
<p>Points: 3</p>
<p># Comments: 0</p>
]]></description><pubDate>Sat, 04 Sep 2021 21:44:42 +0000</pubDate><link>https://basarat.gitbook.io/typescript/</link><dc:creator>CapriciousCptl</dc:creator><comments>https://news.ycombinator.com/item?id=28419580</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=28419580</guid></item><item><title><![CDATA[New comment by CapriciousCptl in "FSNotes: Notes manager for macOS and iOS – native, open source"]]></title><description><![CDATA[
<p>This is nice! Quiver was my previous go-to, but it's all but abandonware in 2021.</p>
]]></description><pubDate>Sun, 22 Aug 2021 18:03:31 +0000</pubDate><link>https://news.ycombinator.com/item?id=28267855</link><dc:creator>CapriciousCptl</dc:creator><comments>https://news.ycombinator.com/item?id=28267855</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=28267855</guid></item><item><title><![CDATA[New comment by CapriciousCptl in "How database indexing works internally"]]></title><description><![CDATA[
<p>I was curious so I tried it in postgres 13. Postgres, at least, uses the index to form a bitmap and scans that when aggregating in the first case (10% rows in the bitmap) and not in a second case WHERE "createdAt" BETWEEN '1990-01-01 00:00:00' AND '2020-12-31 23:59:59'; (100% rows in the bitmap, obviating the need for the intermediate step). I also tried ~20% rows (2019-2020) and the planner skipped the index.
'''<p>CREATE TABLE temp (id SERIAL PRIMARY KEY, amount MONEY, "createdAt" TIMESTAMPTZ);  
CREATE INDEX ON temp ("createdAt");<p>INSERT INTO temp(id, "createdAt", amount) SELECT generate_series(1,1000000) AS id, NOW() + (random() * (interval '10 years')) - interval '10 years' AS createdAt, random() * 100::money AS amount.<p>EXPLAIN SELECT sum(amount) FROM temp WHERE "createdAt" BETWEEN '2020-01-01 00:00:00' AND '2020-12-31 23:59:59';<p>Aggregate  (cost=10286.06..10286.07 rows=1 width=8)
  ->  Bitmap Heap Scan on temp  (cost=2148.00..10033.48 rows=101032 width=8)
        Recheck Cond: (("createdAt" >= '2020-01-01 00:00:00-05'::timestamp with time zone) AND ("createdAt" <= '2020-12-31 23:59:59-05'::timestamp with time zone))
        ->  Bitmap Index Scan on "temp_createdAt_idx"  (cost=0.00..2122.75 rows=101032 width=0)
              Index Cond: (("createdAt" >= '2020-01-01 00:00:00-05'::timestamp with time zone) AND ("createdAt" <= '2020-12-31 23:59:59-05'::timestamp with time zone))<p>And when running a longer query:
Finalize Aggregate  (cost=14596.71..14596.72 rows=1 width=8)
  ->  Gather  (cost=14596.49..14596.70 rows=2 width=8)
        Workers Planned: 2
        ->  Partial Aggregate  (cost=13596.49..13596.50 rows=1 width=8)
              ->  Parallel Seq Scan on temp  (cost=0.00..12620.00 rows=390597 width=8)
                    Filter: (("createdAt" >= '1990-01-01 00:00:00-05'::timestamp with time zone) AND ("createdAt" <= '2020-12-31 23:59:59-05'::timestamp with time zone))</p>
]]></description><pubDate>Fri, 20 Aug 2021 19:17:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=28250204</link><dc:creator>CapriciousCptl</dc:creator><comments>https://news.ycombinator.com/item?id=28250204</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=28250204</guid></item><item><title><![CDATA[New comment by CapriciousCptl in "Endless Sky: an open source space trading and combat game"]]></title><description><![CDATA[
<p>Sweet! An MMORPG element would be the bees knees here. Years ago there was a similar (though-MMORPG) game called Diaspora from a small studio[1]. I still remember waking up at all hours of the night to play inconspicuously (without tying up the phone line). It was freeware and featured in PC Gamer. Eventually cheaters/bots overtook the game, literally DDOSing the thing as each "node" could only support maybe 50 ships because of how they were displayed in game (~5x10 grid or so). Ultimately, the studio didn't have a solid monetization strategy and the project disappeared off the face of the earth when its users spiked. They would have made a killing with micro-transactions, but online payments weren't ubiquitous then. Instead these poor devs spent all this time/money developing the game, maintaining the servers and fighting cheaters for free before the whole thing crumbled under its own weight. It lived on in clones (Rillaspora, Xiaspora and The Reunion) but they all died within a year or two.<p>[1] <a href="https://en.wikipedia.org/wiki/Diaspora_(video_game)" rel="nofollow">https://en.wikipedia.org/wiki/Diaspora_(video_game)</a></p>
]]></description><pubDate>Tue, 17 Aug 2021 01:42:43 +0000</pubDate><link>https://news.ycombinator.com/item?id=28205138</link><dc:creator>CapriciousCptl</dc:creator><comments>https://news.ycombinator.com/item?id=28205138</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=28205138</guid></item><item><title><![CDATA[New comment by CapriciousCptl in "Rails 6 with Webpacker 6, Tailwind 2 with JIT, Postcss 8 and some default setup"]]></title><description><![CDATA[
<p>I could be wrong but didn’t phoenix just switch to webpack from some other package manager? I guess that was 3ish years ago so a lifetime more or less in JS.</p>
]]></description><pubDate>Sun, 15 Aug 2021 15:49:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=28189713</link><dc:creator>CapriciousCptl</dc:creator><comments>https://news.ycombinator.com/item?id=28189713</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=28189713</guid></item><item><title><![CDATA[New comment by CapriciousCptl in "Amazon Web Services In Plain English (2019)"]]></title><description><![CDATA[
<p>I think SQS was the first AWS offering. In that context “simple” means simple compared to other offerings of the 2000s/rolling it out yourself. I agree it’s a little convoluted for newcomers in 2021 although probably unintentional.</p>
]]></description><pubDate>Sun, 25 Jul 2021 12:29:14 +0000</pubDate><link>https://news.ycombinator.com/item?id=27948677</link><dc:creator>CapriciousCptl</dc:creator><comments>https://news.ycombinator.com/item?id=27948677</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=27948677</guid></item><item><title><![CDATA[New comment by CapriciousCptl in "Google broke a conditional statement that verifies passwords on Chrome OS"]]></title><description><![CDATA[
<p>The bug, which used a single & in an if statement instead of a double && reminds me of this one from years ago<i>-- <a href="https://lwn.net/Articles/57135/" rel="nofollow">https://lwn.net/Articles/57135/</a><p></i> In that case it was a single = versus a double == but also in if statement.</p>
]]></description><pubDate>Fri, 23 Jul 2021 00:22:08 +0000</pubDate><link>https://news.ycombinator.com/item?id=27925943</link><dc:creator>CapriciousCptl</dc:creator><comments>https://news.ycombinator.com/item?id=27925943</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=27925943</guid></item><item><title><![CDATA[New comment by CapriciousCptl in "An app for M1 Macs that plays the sound of a fan as CPU usage goes up"]]></title><description><![CDATA[
<p>This is useful! Every so often Docker acts up or a Youtube video hidden in a tab somewhere or some silly mistake opens tons of Postgres connections on my M1. Previously the only cue was hitting the critically low power (10%?) at 6 hours instead of 12. Now there's this app. Thank you!</p>
]]></description><pubDate>Sun, 18 Jul 2021 19:27:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=27875826</link><dc:creator>CapriciousCptl</dc:creator><comments>https://news.ycombinator.com/item?id=27875826</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=27875826</guid></item><item><title><![CDATA[New comment by CapriciousCptl in "Postgres sequences can skip 32 unexpectedly"]]></title><description><![CDATA[
<p>Good writeup! It's an interesting gotcha because Postgres and SQLite docs expressly disclaim that their sequences/AUTOINCREMENT are gapless but experienced and talented programmers still use them as such. Is the type of thing that doesn't bite you until production.<p>Postgres docs--  
<a href="https://www.postgresql.org/docs/13/sql-createsequence.html" rel="nofollow">https://www.postgresql.org/docs/13/sql-createsequence.html</a>
> Because nextval and setval calls are never rolled back, sequence objects cannot be used if “gapless” assignment of sequence numbers is needed. It is possible to build gapless assignment by using exclusive locking of a table containing a counter; but this solution is much more expensive than sequence objects, especially if many transactions need sequence numbers concurrently.</p>
]]></description><pubDate>Fri, 16 Jul 2021 19:14:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=27860078</link><dc:creator>CapriciousCptl</dc:creator><comments>https://news.ycombinator.com/item?id=27860078</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=27860078</guid></item><item><title><![CDATA[New comment by CapriciousCptl in "Show HN: Unlimited, free intraday stock data API"]]></title><description><![CDATA[
<p>Thanks, what about getting historical values from the API? It’d be very nice to get more historical data from the fianancial statements</p>
]]></description><pubDate>Sat, 10 Jul 2021 08:10:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=27791936</link><dc:creator>CapriciousCptl</dc:creator><comments>https://news.ycombinator.com/item?id=27791936</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=27791936</guid></item><item><title><![CDATA[New comment by CapriciousCptl in "Show HN: Unlimited, free intraday stock data API"]]></title><description><![CDATA[
<p>Hey, this looks pretty neat. You even have some financials data. I see that all the financials data is in terms of “growth,” is there any chance you could expose the raw numbers? Also, cash flow? Emphasis on free cash flow.</p>
]]></description><pubDate>Sat, 10 Jul 2021 06:54:37 +0000</pubDate><link>https://news.ycombinator.com/item?id=27791643</link><dc:creator>CapriciousCptl</dc:creator><comments>https://news.ycombinator.com/item?id=27791643</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=27791643</guid></item><item><title><![CDATA[New comment by CapriciousCptl in "All public GitHub code was used in training Copilot"]]></title><description><![CDATA[
<p>Does intent not matter? Pasting code for explanatory reasons and citing the source seems different than silently incorporating it directly into a commercial work product.</p>
]]></description><pubDate>Fri, 09 Jul 2021 11:37:47 +0000</pubDate><link>https://news.ycombinator.com/item?id=27782625</link><dc:creator>CapriciousCptl</dc:creator><comments>https://news.ycombinator.com/item?id=27782625</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=27782625</guid></item><item><title><![CDATA[New comment by CapriciousCptl in "Ask HN: Is this the most quoted quote on HN?"]]></title><description><![CDATA[
<p>This isn't exactly a quote but fits in the sense of "general ideas mentioned frequently on HN and not frequently elsewhere"--<p>Gell-Mann Amnesia<p><a href="https://hn.algolia.com/?dateRange=all&page=0&prefix=false&query=Gell-Mann%20Amnesia&sort=byPopularity&type=comment" rel="nofollow">https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...</a></p>
]]></description><pubDate>Thu, 08 Jul 2021 13:38:48 +0000</pubDate><link>https://news.ycombinator.com/item?id=27771786</link><dc:creator>CapriciousCptl</dc:creator><comments>https://news.ycombinator.com/item?id=27771786</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=27771786</guid></item><item><title><![CDATA[New comment by CapriciousCptl in "Robinhood S-1 IPO"]]></title><description><![CDATA[
<p>ctrl+f arpu  
ctrl+f churn  
ctrl+f key performance<p>etc</p>
]]></description><pubDate>Fri, 02 Jul 2021 00:43:25 +0000</pubDate><link>https://news.ycombinator.com/item?id=27706711</link><dc:creator>CapriciousCptl</dc:creator><comments>https://news.ycombinator.com/item?id=27706711</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=27706711</guid></item><item><title><![CDATA[New comment by CapriciousCptl in "Robinhood S-1 IPO"]]></title><description><![CDATA[
<p>Per-user revenue was $109 for 2020. My goodness payment for order flow and cryptocurrency rebates are lucrative.</p>
]]></description><pubDate>Thu, 01 Jul 2021 21:49:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=27705318</link><dc:creator>CapriciousCptl</dc:creator><comments>https://news.ycombinator.com/item?id=27705318</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=27705318</guid></item><item><title><![CDATA[New comment by CapriciousCptl in "Ask HN: Why Poetry did not become a mainstream package manager for Python?"]]></title><description><![CDATA[
<p>I can speak for myself— venv is good enough for most things and conda works for everything else (pandas/numpy/tensorflow on Mac m1).<p>For production code I’m more worried about minimizing surprises then elegance which means it’s really hard to replace something that works. Poetry only hit 1.0 in 12/2019, so maybe I’ll try it if the api remains stable for another few years. Contrast that to JS where we’re now on webpack 5 I think and there’s really no long term support available.</p>
]]></description><pubDate>Sat, 19 Jun 2021 12:50:46 +0000</pubDate><link>https://news.ycombinator.com/item?id=27560026</link><dc:creator>CapriciousCptl</dc:creator><comments>https://news.ycombinator.com/item?id=27560026</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=27560026</guid></item><item><title><![CDATA[New comment by CapriciousCptl in "80% of orgs that paid the ransom were hit again"]]></title><description><![CDATA[
<p>Hmm, I dug further. The story probably comes from Plutarch (Lives),  "[Crassus] would buy houses that were afire, and houses which adjoined those that were afire, and these their owners would let go at a trifling price owing to their fear and uncertainty"[1].<p>Plutarch was closer to Crassus than I am so I guess I can't argue.<p>[1] <a href="https://penelope.uchicago.edu/Thayer/e/roman/texts/plutarch/lives/crassus*.htm" rel="nofollow">https://penelope.uchicago.edu/Thayer/e/roman/texts/plutarch/...</a></p>
]]></description><pubDate>Fri, 18 Jun 2021 19:41:40 +0000</pubDate><link>https://news.ycombinator.com/item?id=27554103</link><dc:creator>CapriciousCptl</dc:creator><comments>https://news.ycombinator.com/item?id=27554103</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=27554103</guid></item></channel></rss>