<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: pwnna</title><link>https://news.ycombinator.com/user?id=pwnna</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Wed, 22 Apr 2026 20:17:15 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=pwnna" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by pwnna in "Framework Laptop 13 Pro"]]></title><description><![CDATA[
<p>HW video decoding is now available and by default on in Chrome on at least Ubuntu with my Intel iGPU. I was also surprised when they turned it on under the radar. I saw this the other day debugging a problem and saw others see it too: <a href="https://www.reddit.com/r/Ubuntu/comments/1ojydv9/comment/nm8fp8f/" rel="nofollow">https://www.reddit.com/r/Ubuntu/comments/1ojydv9/comment/nm8...</a></p>
]]></description><pubDate>Tue, 21 Apr 2026 20:06:17 +0000</pubDate><link>https://news.ycombinator.com/item?id=47853842</link><dc:creator>pwnna</dc:creator><comments>https://news.ycombinator.com/item?id=47853842</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47853842</guid></item><item><title><![CDATA[Detecting camera on/off events for Linux and controlling lights with eBPF]]></title><description><![CDATA[
<p>Article URL: <a href="https://shuhaowu.com/blog/2026/02-camera-coordinator.html">https://shuhaowu.com/blog/2026/02-camera-coordinator.html</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=47549722">https://news.ycombinator.com/item?id=47549722</a></p>
<p>Points: 2</p>
<p># Comments: 0</p>
]]></description><pubDate>Fri, 27 Mar 2026 23:28:52 +0000</pubDate><link>https://shuhaowu.com/blog/2026/02-camera-coordinator.html</link><dc:creator>pwnna</dc:creator><comments>https://news.ycombinator.com/item?id=47549722</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47549722</guid></item><item><title><![CDATA[New comment by pwnna in "GrapheneOS will remain usable by anyone without requiring personal information"]]></title><description><![CDATA[
<p>I actually made this patch a while ago on lineageos but lost the patch. It is a very invasive change where I filtered for the world amber and the French equivalent...</p>
]]></description><pubDate>Mon, 23 Mar 2026 03:27:00 +0000</pubDate><link>https://news.ycombinator.com/item?id=47485198</link><dc:creator>pwnna</dc:creator><comments>https://news.ycombinator.com/item?id=47485198</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47485198</guid></item><item><title><![CDATA[New comment by pwnna in "Micron Announces Exit from Crucial Consumer Business"]]></title><description><![CDATA[
<p>Does this impact the western digital and SanDisk brands too? IIRC those brands got folded into Crucial.</p>
]]></description><pubDate>Wed, 03 Dec 2025 23:51:08 +0000</pubDate><link>https://news.ycombinator.com/item?id=46141945</link><dc:creator>pwnna</dc:creator><comments>https://news.ycombinator.com/item?id=46141945</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46141945</guid></item><item><title><![CDATA[New comment by pwnna in "Async Mutexes"]]></title><description><![CDATA[
<p>For single-threaded, cooperative multitasking systems (such as JavaScript and what OP is discussing), async mutexes[1] IMO are a strong anti pattern and red flag in the code. For this kind of code, every time you execute code it's always "atomic" until you call an await and effectively yield to the event loop. Programming this properly simply requires making sure the state variables are consistent before yielding. You can also reconstruct the state at the beginning of your block, knowing that nothing else can interrupt your code. Both of these approaches are documented in the OP.<p>Throwing an async mutex to fix the lack of atomicity before yielding is basically telling me that "i don't know when I'm calling await in this code so might as well give up". In my experience this is strongly correlated with the original designer not knowing what they are doing, especially in languages like JavaScript. Even if they did understand the problem, this can introduce difficult-to-debug bugs and deadlocks that would otherwise not appear. You also introduce an event queue scheduling delay which can be substantial depending on how often you're locking and unlocking.<p>IMO this stuff is best avoided and you should just write your cooperative multi-tasking code properly, but this is does require a bit more advanced knowledge (not that advanced, but maybe for the JS community). I wish TypeScript would help people out here but it doesn't. Calling an async function (or even normal functions) does not invalidate type narrowing done on escaped variables probably for usability reasons, but is actually the wrong thing to do.<p>[1]: <a href="https://www.npmjs.com/package/async-mutex" rel="nofollow">https://www.npmjs.com/package/async-mutex</a></p>
]]></description><pubDate>Sat, 15 Nov 2025 03:23:49 +0000</pubDate><link>https://news.ycombinator.com/item?id=45934787</link><dc:creator>pwnna</dc:creator><comments>https://news.ycombinator.com/item?id=45934787</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45934787</guid></item><item><title><![CDATA[Does Wayland fractional scaling work with games in 2025?]]></title><description><![CDATA[
<p>Article URL: <a href="https://shuhaowu.com/blog/2025/01-fractional-scaling.html">https://shuhaowu.com/blog/2025/01-fractional-scaling.html</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=45858011">https://news.ycombinator.com/item?id=45858011</a></p>
<p>Points: 3</p>
<p># Comments: 2</p>
]]></description><pubDate>Sat, 08 Nov 2025 16:43:35 +0000</pubDate><link>https://shuhaowu.com/blog/2025/01-fractional-scaling.html</link><dc:creator>pwnna</dc:creator><comments>https://news.ycombinator.com/item?id=45858011</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45858011</guid></item><item><title><![CDATA[New comment by pwnna in "Modern CI is too complex and misdirected (2021)"]]></title><description><![CDATA[
<p>This is like fighting complexity with even more complexity. Nix and bazel are definitely not close to actually achieving hermetic build at scale. And when they break the complexity increases exponentially to fix.</p>
]]></description><pubDate>Wed, 20 Aug 2025 17:09:43 +0000</pubDate><link>https://news.ycombinator.com/item?id=44963776</link><dc:creator>pwnna</dc:creator><comments>https://news.ycombinator.com/item?id=44963776</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44963776</guid></item><item><title><![CDATA[New comment by pwnna in "Ancient X11 scaling technology"]]></title><description><![CDATA[
<p>So I don't understand where the meme of the blurry super-resolution based down sampling comes from. If that is the case, what is super-resolution antialiasing[1] then? Images when rendered at higher resolution than downsampled is usually sharper than an image rendered at the downsampled resolution. This is because it will preserve the high frequency component of the signal better. There are multiple other downsampling-based anti-aliasing technique which all will boost signal-to-noise ratio. Does this not work for UI as well? Most of it is vector graphics. Bitmap icons will need to be updated but the rest of UI (text) should be sharp.<p>I know people mention 1 pixel lines (perfectly horizontal or vertical). Then they go multiply by 1.25 or whatever and go like: oh look 0.25 pixel is a lie therefore fractional scaling is fake (sway documentation mentions this to this day). This doesn't seem like it holds in practice other than from this very niche mental exercise. At sufficiently high resolution, which is the case for the display we are talking about, do you even want 1 pixel lines? It will be barely visible. I have this problem now on Linux. Further, if the line is draggable, the click zones becomes too small as well. You probably want something that is of some physical dimension which will probably take multiple pixels anyways. At that point you probably want some antialiasing that you won't be able to see anyways. Further, single pixel lines don't have to be exactly the color the program prescribed anyway. Most of the perfectly horizontal and vertical lines on my screen are all grey-ish. Having some AA artifacts will change its color slightly but don't think it will have material impact. If this is the case, then super resolution should work pretty well.<p>Then really what you want is something as follows:<p>1. Super-resolution scaling for most "desktop" applications.<p>2. Give the native resolution to some full screen applications (games, video playback), and possibly give the native resolution of a rectangle on screen to applications like video playback. This avoids rendering at a higher resolution then downsampling which can introduce information loss for these applications.<p>3. Now do this on a per-application basis, instead of per-session basis. No Linux DE implements this. KDE implements per-session which is not flexible enough. You have to do it for each application on launch.<p>[1]: <a href="https://en.wikipedia.org/wiki/Supersampling" rel="nofollow">https://en.wikipedia.org/wiki/Supersampling</a></p>
]]></description><pubDate>Wed, 25 Jun 2025 01:44:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=44372948</link><dc:creator>pwnna</dc:creator><comments>https://news.ycombinator.com/item?id=44372948</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44372948</guid></item><item><title><![CDATA[New comment by pwnna in "Formal Verification of Zero-Downtime Database Migration in PlusCal"]]></title><description><![CDATA[
<p>Neat! I worked on a similar formal verification of Ghostferry, which is a zero downtime data migration tool that powers the shard balancing tool at Shopify, also using TLA+:<p><a href="https://github.com/Shopify/ghostferry/blob/main/tlaplus/ghostferry.tla" rel="nofollow">https://github.com/Shopify/ghostferry/blob/main/tlaplus/ghos...</a><p>I also was able to find an concrrency bug before a single line of code was written with the TLC which saved a lot of time. It took about 4 weeks to design and verify the system in spec and about 2 weeks to write the initial code version, which mostly survived to this day and reasonably resembles the TLA+ spec. To my knowledge (I no longer work there) the correctness of the system was never violated and it never had any sort of data corruption. Would be a much harder feat without TLA+.</p>
]]></description><pubDate>Sun, 09 Mar 2025 18:06:37 +0000</pubDate><link>https://news.ycombinator.com/item?id=43311904</link><dc:creator>pwnna</dc:creator><comments>https://news.ycombinator.com/item?id=43311904</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43311904</guid></item><item><title><![CDATA[The Pixel Buds Pro no longer let you 'touch and hold' to hear notifications]]></title><description><![CDATA[
<p>Article URL: <a href="https://www.theverge.com/2024/9/17/24247500/google-pixel-buds-pro-touch-and-hold-hear-notifications">https://www.theverge.com/2024/9/17/24247500/google-pixel-buds-pro-touch-and-hold-hear-notifications</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=41740253">https://news.ycombinator.com/item?id=41740253</a></p>
<p>Points: 2</p>
<p># Comments: 0</p>
]]></description><pubDate>Fri, 04 Oct 2024 11:23:42 +0000</pubDate><link>https://www.theverge.com/2024/9/17/24247500/google-pixel-buds-pro-touch-and-hold-hear-notifications</link><dc:creator>pwnna</dc:creator><comments>https://news.ycombinator.com/item?id=41740253</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41740253</guid></item><item><title><![CDATA[New comment by pwnna in "EU privacy regulator fines Meta 91M euros over password storage"]]></title><description><![CDATA[
<p>Devil's advocate: my bridge fell down because I didn't know the concrete didn't meet spec still seem like negligence?</p>
]]></description><pubDate>Sat, 28 Sep 2024 06:20:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=41678294</link><dc:creator>pwnna</dc:creator><comments>https://news.ycombinator.com/item?id=41678294</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41678294</guid></item><item><title><![CDATA[Earth rotation limits in-body image stabilization to 6.3 stops (2020)]]></title><description><![CDATA[
<p>Article URL: <a href="https://thecentercolumn.com/2020/01/17/earths-rotation-limits-ibis-performance-to-6-3-stops/">https://thecentercolumn.com/2020/01/17/earths-rotation-limits-ibis-performance-to-6-3-stops/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=40374879">https://news.ycombinator.com/item?id=40374879</a></p>
<p>Points: 166</p>
<p># Comments: 105</p>
]]></description><pubDate>Thu, 16 May 2024 03:17:08 +0000</pubDate><link>https://thecentercolumn.com/2020/01/17/earths-rotation-limits-ibis-performance-to-6-3-stops/</link><dc:creator>pwnna</dc:creator><comments>https://news.ycombinator.com/item?id=40374879</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40374879</guid></item><item><title><![CDATA[Ordered back to the office, top tech talent left instead, study finds]]></title><description><![CDATA[
<p>Article URL: <a href="https://www.washingtonpost.com/business/2024/05/12/rto-microsoft-apple-spacex/">https://www.washingtonpost.com/business/2024/05/12/rto-microsoft-apple-spacex/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=40339852">https://news.ycombinator.com/item?id=40339852</a></p>
<p>Points: 134</p>
<p># Comments: 102</p>
]]></description><pubDate>Mon, 13 May 2024 04:43:58 +0000</pubDate><link>https://www.washingtonpost.com/business/2024/05/12/rto-microsoft-apple-spacex/</link><dc:creator>pwnna</dc:creator><comments>https://news.ycombinator.com/item?id=40339852</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40339852</guid></item><item><title><![CDATA[New comment by pwnna in "Apple apologizes for iPad 'Crush' ad that 'missed the mark'"]]></title><description><![CDATA[
<p>There is the kawai novus5 which is a digital piano with the action and soundboard of a real upright piano and enough speakers to sound almost exactly like a real piano. There are also some new roland models I haven't tried. Many dealers lump these into their acoustic piano offering and don't market them differently because they are that good.<p>See <a href="https://m.youtube.com/watch?v=4DaaafyAUqA" rel="nofollow">https://m.youtube.com/watch?v=4DaaafyAUqA</a> and <a href="https://m.youtube.com/watch?v=oLsPK2ATJcY" rel="nofollow">https://m.youtube.com/watch?v=oLsPK2ATJcY</a>. He is a pianist and he bought a novus5 to replace his own upright piano...</p>
]]></description><pubDate>Fri, 10 May 2024 13:13:40 +0000</pubDate><link>https://news.ycombinator.com/item?id=40318579</link><dc:creator>pwnna</dc:creator><comments>https://news.ycombinator.com/item?id=40318579</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40318579</guid></item><item><title><![CDATA[New comment by pwnna in "Is robotics about to have its own ChatGPT moment?"]]></title><description><![CDATA[
<p>If I want to learn about this field and is somewhat familiar with only the classical approach to robotics, how should I get started?</p>
]]></description><pubDate>Sat, 04 May 2024 12:38:38 +0000</pubDate><link>https://news.ycombinator.com/item?id=40257205</link><dc:creator>pwnna</dc:creator><comments>https://news.ycombinator.com/item?id=40257205</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40257205</guid></item><item><title><![CDATA[New comment by pwnna in "Plastic bag bans work"]]></title><description><![CDATA[
<p>Comparing gas vs electric seems incorrect. Should be comparing with induction instead. It is way more energy efficient (altho not necessarily more cost efficient). It produces no combustion byproduct like gas (which your air quality meter may or may not be able to detect), and it is way faster and gives you better control. It also is safer without flames or leaks, and less likely to burn you. It is the way to cook in 2024 imo.</p>
]]></description><pubDate>Sun, 04 Feb 2024 21:04:39 +0000</pubDate><link>https://news.ycombinator.com/item?id=39254461</link><dc:creator>pwnna</dc:creator><comments>https://news.ycombinator.com/item?id=39254461</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39254461</guid></item><item><title><![CDATA[New comment by pwnna in "Amazon and iRobot call off their planned acquisition"]]></title><description><![CDATA[
<p>I think people focus on protectionism because that is the traditional tool to fight things like foreign government's unfair subsidy practices. However, you cant just have protectionism without fostering competition and innovation in order to succeed in creating a more competitive product/market. Example would be USA protectionism against Canada's bombardier. It only protected Boeing but didn't actually make Boeing make better planes, as we can see from all the recent issues.<p>So I think protectioism is fine as long as we properly setup an environment that allows for and encourages competition and innovation. However, that doesn't seem to be a path we are used to taking .</p>
]]></description><pubDate>Mon, 29 Jan 2024 22:25:14 +0000</pubDate><link>https://news.ycombinator.com/item?id=39183603</link><dc:creator>pwnna</dc:creator><comments>https://news.ycombinator.com/item?id=39183603</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39183603</guid></item><item><title><![CDATA[New comment by pwnna in "Amazon and iRobot call off their planned acquisition"]]></title><description><![CDATA[
<p>You're exactly right. I'm not asking for people to choose an inferior, pricier product. My thoughts is that China has the environment to have extreme competition which is leading to better product. This is distinctly not the case here. This is the structural problem that will eventually lead to a loss of competitive edge.<p>Your call out to BYD is a good one, because it is conceivable that even western-made cars will be made non competitive in 10 years and it seems that we are sleeping through the news (or even encouraging it). I hope I'm wrong, but the road ahead is filled with challenge because the direction is fundamentally wrong, and it will take a lot of effort to reverse course, if that is even possible.</p>
]]></description><pubDate>Mon, 29 Jan 2024 19:51:45 +0000</pubDate><link>https://news.ycombinator.com/item?id=39181520</link><dc:creator>pwnna</dc:creator><comments>https://news.ycombinator.com/item?id=39181520</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39181520</guid></item><item><title><![CDATA[New comment by pwnna in "Amazon and iRobot call off their planned acquisition"]]></title><description><![CDATA[
<p>The progressive loss in consumer robotics company in the West to their Chinese counter parts has been disappointing. Much like drones, I suspect this is short sighted as the underlying technology eventually have national security concerns.<p>Now maybe these companies are likely just mismanaged and the cost of North American engineering is too high? That said, it still seems like there is a structural problem here that very few hybrid software-hardware companies succeed.</p>
]]></description><pubDate>Mon, 29 Jan 2024 15:27:43 +0000</pubDate><link>https://news.ycombinator.com/item?id=39177327</link><dc:creator>pwnna</dc:creator><comments>https://news.ycombinator.com/item?id=39177327</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39177327</guid></item><item><title><![CDATA[Picking the Widevine Locks: Acquiring and Using an L3 CDM]]></title><description><![CDATA[
<p>Article URL: <a href="https://web.archive.org/web/20240109062934/https://www.ismailzai.com/blog/picking-the-widevine-locks">https://web.archive.org/web/20240109062934/https://www.ismailzai.com/blog/picking-the-widevine-locks</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=38963187">https://news.ycombinator.com/item?id=38963187</a></p>
<p>Points: 6</p>
<p># Comments: 0</p>
]]></description><pubDate>Fri, 12 Jan 2024 03:09:55 +0000</pubDate><link>https://web.archive.org/web/20240109062934/https://www.ismailzai.com/blog/picking-the-widevine-locks</link><dc:creator>pwnna</dc:creator><comments>https://news.ycombinator.com/item?id=38963187</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38963187</guid></item></channel></rss>