<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: wojtek1942</title><link>https://news.ycombinator.com/user?id=wojtek1942</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Fri, 03 Jul 2026 15:53:41 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=wojtek1942" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by wojtek1942 in "Show HN: 18yo first iOS app: blocks distracting apps and unlocks with QR/barcode"]]></title><description><![CDATA[
<p>The API was released in 2020. It amazes me how many of these kinds of apps are successful simultaneously, while doing nearly the exact same thing.<p><a href="https://developer.apple.com/documentation/screentime" rel="nofollow">https://developer.apple.com/documentation/screentime</a></p>
]]></description><pubDate>Sun, 19 Oct 2025 22:27:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=45638606</link><dc:creator>wojtek1942</dc:creator><comments>https://news.ycombinator.com/item?id=45638606</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45638606</guid></item><item><title><![CDATA[New comment by wojtek1942 in "Cloudflare is sponsoring Ladybird and Omarchy"]]></title><description><![CDATA[
<p>Why build a new browser in C++ when safer and more modern languages are available? [1]<p>> Ladybird started as a component of the SerenityOS hobby project, which only allows C++. The choice of language was not so much a technical decision, but more one of personal convenience. Andreas was most comfortable with C++ when creating SerenityOS, and now we have almost half a million lines of modern C++ to maintain.<p>> However, now that Ladybird has forked and become its own independent project, all constraints previously imposed by SerenityOS are no longer in effect.<p>> We have evaluated a number of alternatives, and will begin incremental adoption of Swift as a successor language, once Swift version 6 is released.<p>[1] <a href="https://ladybird.org/#faq:~:text=Why%20build%20a%20new%20browser%20in%20C++%20when%20safer%20and%20more%20modern%20languages%20are%20available" rel="nofollow">https://ladybird.org/#faq:~:text=Why%20build%20a%20new%20bro...</a>?</p>
]]></description><pubDate>Mon, 22 Sep 2025 20:17:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=45338899</link><dc:creator>wojtek1942</dc:creator><comments>https://news.ycombinator.com/item?id=45338899</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45338899</guid></item><item><title><![CDATA[New comment by wojtek1942 in "Behind the scenes of Bun Install"]]></title><description><![CDATA[
<p>> However, this mode switching is expensive! Just this switch alone costs 1000-1500 CPU cycles in pure overhead, before any actual work happens.<p>...<p>> On a 3GHz processor, 1000-1500 cycles is about 500 nanoseconds. This might sound negligibly fast, but modern SSDs can handle over 1 million operations per second. If each operation requires a system call, you're burning 1.5 billion cycles per second just on mode switching.<p>> Package installation makes thousands of these system calls. Installing React and its dependencies might trigger 50,000+ system calls: that's seconds of CPU time lost to mode switching alone! Not even reading files or installing packages, just switching between user and kernel mode.<p>Am I missing something or is this incorrect. They claim 500ns per syscall with 50k syscalls. 500ns * 50000 = 25 milliseconds. So that is very far from "<i>seconds</i> of CPU time lost to mode switching alone!" right?</p>
]]></description><pubDate>Thu, 11 Sep 2025 22:08:31 +0000</pubDate><link>https://news.ycombinator.com/item?id=45216619</link><dc:creator>wojtek1942</dc:creator><comments>https://news.ycombinator.com/item?id=45216619</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45216619</guid></item><item><title><![CDATA[New comment by wojtek1942 in "Show HN: Online Ruler – Measuring in inches/centimeters"]]></title><description><![CDATA[
<p>Cool! Even though, my iPhone 15 Pro was misidentified as iPhone 16.</p>
]]></description><pubDate>Wed, 30 Jul 2025 06:46:17 +0000</pubDate><link>https://news.ycombinator.com/item?id=44731467</link><dc:creator>wojtek1942</dc:creator><comments>https://news.ycombinator.com/item?id=44731467</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44731467</guid></item><item><title><![CDATA[New comment by wojtek1942 in "docker2exe: Convert a Docker image to an executable"]]></title><description><![CDATA[
<p>Why the disappointment with Deno compile? I have not used it but from the website it seems that the end user does not need Deno to be installed. What is the shortcoming you are referring to?</p>
]]></description><pubDate>Wed, 07 May 2025 08:07:33 +0000</pubDate><link>https://news.ycombinator.com/item?id=43913260</link><dc:creator>wojtek1942</dc:creator><comments>https://news.ycombinator.com/item?id=43913260</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43913260</guid></item><item><title><![CDATA[New comment by wojtek1942 in "Swift Container Plugin"]]></title><description><![CDATA[
<p>Seems like it can run on standard container runtimes so you don't specifically need macOS and the container is Linux based. So there is no need to involve macOS at all since you can develop Swift programs on Linux for example.</p>
]]></description><pubDate>Fri, 25 Apr 2025 07:33:18 +0000</pubDate><link>https://news.ycombinator.com/item?id=43791160</link><dc:creator>wojtek1942</dc:creator><comments>https://news.ycombinator.com/item?id=43791160</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43791160</guid></item><item><title><![CDATA[New comment by wojtek1942 in "Show HN: I built an image optimization tool based on Google's new Jpegli encoder"]]></title><description><![CDATA[
<p>It took a bit of time for me to respond because I wanted to make sure I wrote down the info in a nice detailed way. I will update the descriptions on the website to include the information I am proving here to give visitors a better understanding of the options. To be clear, I am not an expert on all this image coding stuff. I just wanted to make a simple tool to let people try out Jpegli because I thought it was interesting even though I don't know so much about the topic.<p>Progressive Rendering
There are 3 options on the website. None, Basic and Enhanced. There correspond respectively to options 0, 1 and 2 for the JXL_ENC_FRAME_SETTING_PROGRESSIVE_DC option [1].<p>"Set the progressive mode using lower-resolution DC images for VarDCT. Use -1 for the encoder default, 0 to disable, 1 to have an extra 64x64 lower resolution pass, 2 to have a 512x512 and 64x64 lower resolution pass."<p>So "Basic" provides 1 scan and "Enhanced" provides 2 scans. Here is a detailed description on progressive loading: <a href="https://www.thewebmaster.com/progressive-jpegs/" rel="nofollow">https://www.thewebmaster.com/progressive-jpegs/</a><p>DCT Method
I can't really find documentation about DTC Method in libjxl but the options seems to be very similar to the options offered in mozjpeg [2]. They have a detailed explanation on that page I referenced which I won't all copy here. Seems like slow integer is the preferred method as the others are marked as legacy. Maybe I should just remove the options? From my testing the slow integer method has slightly worse compression but it is accurate.<p>XYB colorspace
TBH, the library I am using only supports a few color spaces and it does not include XYB and I have not looked into it much further. Also as you can see I did not really bother to add colorspace settings in general but I might do it later.<p>[1] <a href="https://libjxl.readthedocs.io/en/latest/api_encoder.html#_CPPv4N24JxlEncoderFrameSettingId36JXL_ENC_FRAME_SETTING_PROGRESSIVE_DCE" rel="nofollow">https://libjxl.readthedocs.io/en/latest/api_encoder.html#_CP...</a><p>[2] <a href="https://github.com/mozilla/mozjpeg/blob/6c9f0897afa1c2738d7222a0a9ab49e8b536a267/usage.txt#L168">https://github.com/mozilla/mozjpeg/blob/6c9f0897afa1c2738d72...</a></p>
]]></description><pubDate>Mon, 20 May 2024 10:17:49 +0000</pubDate><link>https://news.ycombinator.com/item?id=40413969</link><dc:creator>wojtek1942</dc:creator><comments>https://news.ycombinator.com/item?id=40413969</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40413969</guid></item><item><title><![CDATA[New comment by wojtek1942 in "Show HN: I built an image optimization tool based on Google's new Jpegli encoder"]]></title><description><![CDATA[
<p>I'm not so great with design so I didn't really know how to do it near the headline since there is already a subtitle there.<p>Took me about 2 days to make everything from start to deployment.<p>Main thing was to get the WASM stuff working but that didn't take too long. I found this git repo [1] that already compiled the stuff I needed to WASM. UI took the most time in the end.<p>[1] <a href="https://github.com/gen2brain/jpegli">https://github.com/gen2brain/jpegli</a></p>
]]></description><pubDate>Fri, 17 May 2024 21:24:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=40394346</link><dc:creator>wojtek1942</dc:creator><comments>https://news.ycombinator.com/item?id=40394346</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40394346</guid></item><item><title><![CDATA[New comment by wojtek1942 in "Show HN: I built an image optimization tool based on Google's new Jpegli encoder"]]></title><description><![CDATA[
<p>It's on there now</p>
]]></description><pubDate>Fri, 17 May 2024 11:58:42 +0000</pubDate><link>https://news.ycombinator.com/item?id=40388922</link><dc:creator>wojtek1942</dc:creator><comments>https://news.ycombinator.com/item?id=40388922</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40388922</guid></item><item><title><![CDATA[New comment by wojtek1942 in "Show HN: I built an image optimization tool based on Google's new Jpegli encoder"]]></title><description><![CDATA[
<p>Thanks! I will try to find a nice place to put it on the home page.</p>
]]></description><pubDate>Fri, 17 May 2024 08:38:37 +0000</pubDate><link>https://news.ycombinator.com/item?id=40387714</link><dc:creator>wojtek1942</dc:creator><comments>https://news.ycombinator.com/item?id=40387714</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40387714</guid></item><item><title><![CDATA[New comment by wojtek1942 in "Show HN: I built an image optimization tool based on Google's new Jpegli encoder"]]></title><description><![CDATA[
<p>Hey HN,<p>I’m a CS student studying in Amsterdam. Usually, I like making native apps as side projects but here is a small web app for a change.<p>Recently, Google released Jpegli [1]. You might have seen their blog post posted here on HN ~1 month ago [2]. It’s a new JPEG coding library that can compress high-quality images 35% more than traditional JPEG codecs. When I searched for a tool to try this new technique, I was surprised to find nothing. That is why I created this website.<p>The encoder runs on WebAssembly making it possible to do all the image processing in the browser. This allows for fast results and optimal privacy since images are never sent to my server or anything like that.<p>Please let me know what you think or if you have any questions!<p>[1] <a href="https://opensource.googleblog.com/2024/04/introducing-jpegli-new-jpeg-coding-library.html" rel="nofollow">https://opensource.googleblog.com/2024/04/introducing-jpegli...</a><p>[2] <a href="https://news.ycombinator.com/item?id=39920644">https://news.ycombinator.com/item?id=39920644</a></p>
]]></description><pubDate>Fri, 17 May 2024 07:03:33 +0000</pubDate><link>https://news.ycombinator.com/item?id=40387219</link><dc:creator>wojtek1942</dc:creator><comments>https://news.ycombinator.com/item?id=40387219</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40387219</guid></item><item><title><![CDATA[Show HN: I built an image optimization tool based on Google's new Jpegli encoder]]></title><description><![CDATA[
<p>Article URL: <a href="https://optimize.photos">https://optimize.photos</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=40387214">https://news.ycombinator.com/item?id=40387214</a></p>
<p>Points: 11</p>
<p># Comments: 10</p>
]]></description><pubDate>Fri, 17 May 2024 07:03:07 +0000</pubDate><link>https://optimize.photos</link><dc:creator>wojtek1942</dc:creator><comments>https://news.ycombinator.com/item?id=40387214</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40387214</guid></item></channel></rss>