<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: mathiasgredal</title><link>https://news.ycombinator.com/user?id=mathiasgredal</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Tue, 14 Apr 2026 10:07:27 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=mathiasgredal" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by mathiasgredal in "Run Ruby on Rails in the browser using WebAssembly"]]></title><description><![CDATA[
<p>Not exactly related to Ruby on Rails, but why doesn’t there exist a way to run a Python TKinter app in the browser using WASM?<p>I have a medium sized dependency-free TKinter program written in Python, and AFAIK there is no way to run it in the browser.</p>
]]></description><pubDate>Mon, 17 Feb 2025 17:09:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=43081087</link><dc:creator>mathiasgredal</dc:creator><comments>https://news.ycombinator.com/item?id=43081087</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43081087</guid></item><item><title><![CDATA[New comment by mathiasgredal in "Women who make Samsung semiconductors are striking"]]></title><description><![CDATA[
<p>In a society where the abuse of human labour was factored into the cost of the product, the 8-inch fab line would have been shut down, since the cost of the 8-inch wafers would now be prohibitive and not be competitive with the wafers from the 12-inch line. This in-turn would mean that customers would have to switch over to the 12-inch wafers.<p>We are not supposed to compete on who can abuse their workers the most to improve efficiency and to cut costs. Thankfully, knowledge work does not seem to scale the same way as manual labour, meaning that more abuse of the workers does not mean more output over the long-term.</p>
]]></description><pubDate>Tue, 16 Jul 2024 03:04:26 +0000</pubDate><link>https://news.ycombinator.com/item?id=40973371</link><dc:creator>mathiasgredal</dc:creator><comments>https://news.ycombinator.com/item?id=40973371</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40973371</guid></item><item><title><![CDATA[New comment by mathiasgredal in "Bend: a high-level language that runs on GPUs (via HVM2)"]]></title><description><![CDATA[
<p>We have a replacement for CUDA, it is called C++17 parallel algorithms. It has vendor support for running on the GPU by Intel, AMD and NVIDIA and will also run on all your cores on the CPU. It uses the GPU vendors compiler to convert your C++ to something that can natively run on the GPU. With unified memory support, it becomes very fast to run computations on heap allocated memory using the GPU, but implementations also support non-unified memory<p>Vendor support:<p>- <a href="https://www.intel.com/content/www/us/en/developer/articles/guide/get-started-with-parallel-stl.html" rel="nofollow">https://www.intel.com/content/www/us/en/developer/articles/g...</a><p>- <a href="https://rocm.blogs.amd.com/software-tools-optimization/hipstdpar/README.html" rel="nofollow">https://rocm.blogs.amd.com/software-tools-optimization/hipst...</a><p>- <a href="https://docs.nvidia.com/hpc-sdk/archive/20.7/pdf/hpc207c++_par_alg.pdf" rel="nofollow">https://docs.nvidia.com/hpc-sdk/archive/20.7/pdf/hpc207c++_p...</a></p>
]]></description><pubDate>Fri, 17 May 2024 21:01:08 +0000</pubDate><link>https://news.ycombinator.com/item?id=40394173</link><dc:creator>mathiasgredal</dc:creator><comments>https://news.ycombinator.com/item?id=40394173</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40394173</guid></item><item><title><![CDATA[New comment by mathiasgredal in "Porting HPC Applications to AMD Instinct MI300A Using Unified Memory and OpenMP"]]></title><description><![CDATA[
<p>Having looked briefly at the code I still think C++17 parallel algorithms are more ergonomic compared to OpenMP: <a href="https://rocm.blogs.amd.com/software-tools-optimization/hipstdpar/README.html" rel="nofollow">https://rocm.blogs.amd.com/software-tools-optimization/hipst...</a></p>
]]></description><pubDate>Sat, 04 May 2024 21:13:25 +0000</pubDate><link>https://news.ycombinator.com/item?id=40260324</link><dc:creator>mathiasgredal</dc:creator><comments>https://news.ycombinator.com/item?id=40260324</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40260324</guid></item><item><title><![CDATA[New comment by mathiasgredal in "C++17 Parallel Algorithms and Hipstdpar"]]></title><description><![CDATA[
<p>GPGPU programming seems to be in a really good spot with the widespread adoption of C++17 parallel algorithms by GPU vendors.<p>Now, I can just program against this API using standard C++ code, that interacts with CPU heap allocated memory, and get really performant computation on it using standard map-filter-reduce semantics.</p>
]]></description><pubDate>Sun, 28 Apr 2024 00:07:36 +0000</pubDate><link>https://news.ycombinator.com/item?id=40184751</link><dc:creator>mathiasgredal</dc:creator><comments>https://news.ycombinator.com/item?id=40184751</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40184751</guid></item><item><title><![CDATA[C++17 Parallel Algorithms and Hipstdpar]]></title><description><![CDATA[
<p>Article URL: <a href="https://rocm.blogs.amd.com/software-tools-optimization/hipstdpar/README.html">https://rocm.blogs.amd.com/software-tools-optimization/hipstdpar/README.html</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=40184677">https://news.ycombinator.com/item?id=40184677</a></p>
<p>Points: 8</p>
<p># Comments: 1</p>
]]></description><pubDate>Sat, 27 Apr 2024 23:52:48 +0000</pubDate><link>https://rocm.blogs.amd.com/software-tools-optimization/hipstdpar/README.html</link><dc:creator>mathiasgredal</dc:creator><comments>https://news.ycombinator.com/item?id=40184677</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40184677</guid></item><item><title><![CDATA[New comment by mathiasgredal in "Physically attractive attorneys tend to have greater success in federal court"]]></title><description><![CDATA[
<p>Which begs the question, if attractiveness is such a big predictor of success, why hasn’t everyone evolved to become very attractive? The evolutionary pressure for increased attractiveness should be very high, since it affects so many areas of your life, from career success, to getting partners etc.<p>Is it that the speed at which we evolve to become more attractive is superseeded by our ability to become better at discriminating for attractiveness?</p>
]]></description><pubDate>Sat, 13 Apr 2024 19:18:54 +0000</pubDate><link>https://news.ycombinator.com/item?id=40025306</link><dc:creator>mathiasgredal</dc:creator><comments>https://news.ycombinator.com/item?id=40025306</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40025306</guid></item><item><title><![CDATA[New comment by mathiasgredal in "Low Cost Robot Arm"]]></title><description><![CDATA[
<p>That was why OP suggested to have 2 motors on each joint, going in opposite direction. The problem with this is that you now have twice the amount of motors.</p>
]]></description><pubDate>Wed, 03 Apr 2024 20:00:28 +0000</pubDate><link>https://news.ycombinator.com/item?id=39922322</link><dc:creator>mathiasgredal</dc:creator><comments>https://news.ycombinator.com/item?id=39922322</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39922322</guid></item><item><title><![CDATA[New comment by mathiasgredal in "Build Initramfs Rootless"]]></title><description><![CDATA[
<p>Just use bsdtar, which will convert a tar archive to cpio: <a href="https://unix.stackexchange.com/a/581014" rel="nofollow">https://unix.stackexchange.com/a/581014</a><p>I have used it to convert docker images to Linux bootable initramfs archives for Rpi4.</p>
]]></description><pubDate>Fri, 08 Mar 2024 15:30:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=39641941</link><dc:creator>mathiasgredal</dc:creator><comments>https://news.ycombinator.com/item?id=39641941</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39641941</guid></item><item><title><![CDATA[New comment by mathiasgredal in "Go Enums Suck"]]></title><description><![CDATA[
<p>If you are already using gRPC in your codebase, then you can define your enums with Protobuf, which does much of the same as the tool shown in this article.</p>
]]></description><pubDate>Fri, 01 Mar 2024 18:45:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=39565220</link><dc:creator>mathiasgredal</dc:creator><comments>https://news.ycombinator.com/item?id=39565220</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39565220</guid></item><item><title><![CDATA[New comment by mathiasgredal in "The KDE desktop gets an overhaul with Plasma 6"]]></title><description><![CDATA[
<p>Looks like great changes overall. Sadly they haven’t added columns to Dolphin, which is my only complaint from switching to KDE from macOS.</p>
]]></description><pubDate>Thu, 29 Feb 2024 12:01:06 +0000</pubDate><link>https://news.ycombinator.com/item?id=39548276</link><dc:creator>mathiasgredal</dc:creator><comments>https://news.ycombinator.com/item?id=39548276</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39548276</guid></item><item><title><![CDATA[New comment by mathiasgredal in "Microdot: A Web Framework for Microcontrollers"]]></title><description><![CDATA[
<p>You can get an S2 mini dev board for a $1 including shipping[1, 2]<p>[1]: <a href="https://imgur.com/HUt2qLY" rel="nofollow">https://imgur.com/HUt2qLY</a>
[2]: <a href="https://www.aliexpress.us/item/3256804697715980.html" rel="nofollow">https://www.aliexpress.us/item/3256804697715980.html</a>?</p>
]]></description><pubDate>Sun, 04 Feb 2024 01:43:26 +0000</pubDate><link>https://news.ycombinator.com/item?id=39246699</link><dc:creator>mathiasgredal</dc:creator><comments>https://news.ycombinator.com/item?id=39246699</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39246699</guid></item><item><title><![CDATA[New comment by mathiasgredal in "Damn Small Linux 2024"]]></title><description><![CDATA[
<p>Not possible, unless you want to do it using an emulator and external memory. The lowest you can go for Linux is probably an ESP32:<p><a href="https://web.archive.org/web/20230515075935/http://wiki.osll.ru/doku.php/etc:users:jcmvbkbc:linux-xtensa:esp32s3" rel="nofollow">https://web.archive.org/web/20230515075935/http://wiki.osll....</a><p><a href="https://github.com/jcmvbkbc/linux-xtensa/commits/xtensa-6.4-esp32/">https://github.com/jcmvbkbc/linux-xtensa/commits/xtensa-6.4-...</a></p>
]]></description><pubDate>Thu, 01 Feb 2024 16:55:51 +0000</pubDate><link>https://news.ycombinator.com/item?id=39218090</link><dc:creator>mathiasgredal</dc:creator><comments>https://news.ycombinator.com/item?id=39218090</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39218090</guid></item><item><title><![CDATA[New comment by mathiasgredal in "Is it insider trading if I bought Boeing puts while inside the wrecked airplane?"]]></title><description><![CDATA[
<p>Well, if I found an unpatchable zero-click RCE exploit on an iPhone, then that would have a major effect on the stockprice when the news is announced. It definitely seems like it would be insider trading if i used that knowledge to do options trading.</p>
]]></description><pubDate>Sat, 27 Jan 2024 20:02:22 +0000</pubDate><link>https://news.ycombinator.com/item?id=39159254</link><dc:creator>mathiasgredal</dc:creator><comments>https://news.ycombinator.com/item?id=39159254</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39159254</guid></item><item><title><![CDATA[New comment by mathiasgredal in "Saving Linux"]]></title><description><![CDATA[
<p>Yeah, but regular package binaries get nuked pretty quickly to make space for new ones, especially on mirrors.</p>
]]></description><pubDate>Sat, 20 Jan 2024 08:38:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=39065738</link><dc:creator>mathiasgredal</dc:creator><comments>https://news.ycombinator.com/item?id=39065738</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39065738</guid></item><item><title><![CDATA[New comment by mathiasgredal in "Saving Linux"]]></title><description><![CDATA[
<p>Sure, but how useful is that when you can’t install any packages, since the package repositories only host packages for supported versions.<p>When a distro goes EOL, the package repositories typically move to the next supported version and delete all of the old packages.</p>
]]></description><pubDate>Fri, 19 Jan 2024 13:30:28 +0000</pubDate><link>https://news.ycombinator.com/item?id=39055142</link><dc:creator>mathiasgredal</dc:creator><comments>https://news.ycombinator.com/item?id=39055142</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39055142</guid></item><item><title><![CDATA[New comment by mathiasgredal in "RSA is deceptively simple and fun"]]></title><description><![CDATA[
<p>Could someone enlighten me on how one goes about testing whether a particular crypto implementation is vulnerable to side-channel attacks?<p>In high school I implemented a basic ECDH  key exchange algorithm, which I compiled to WASM, and it can be tested at the bottom of my blog: <a href="https://gredal.dev/projects/elliptic-curves" rel="nofollow">https://gredal.dev/projects/elliptic-curves</a><p>Using only the WASM blob, without looking at the source code for exploits, how would Alice find Bobs private key?</p>
]]></description><pubDate>Fri, 19 Jan 2024 03:28:04 +0000</pubDate><link>https://news.ycombinator.com/item?id=39051247</link><dc:creator>mathiasgredal</dc:creator><comments>https://news.ycombinator.com/item?id=39051247</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39051247</guid></item><item><title><![CDATA[New comment by mathiasgredal in "Apple hiring compiler developers for improving Swift / C++ interoperability"]]></title><description><![CDATA[
<p>Just because a compiler cannot prove whether or not a given set of C/C++ is safe, doesn’t mean that an expert in the language can’t write safe C++ and prove that it is actually safe.</p>
]]></description><pubDate>Sat, 13 Jan 2024 19:09:08 +0000</pubDate><link>https://news.ycombinator.com/item?id=38983398</link><dc:creator>mathiasgredal</dc:creator><comments>https://news.ycombinator.com/item?id=38983398</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38983398</guid></item><item><title><![CDATA[New comment by mathiasgredal in "Discord is laying off 17 percent of employees"]]></title><description><![CDATA[
<p>Why not just tax stock buybacks the same or higher than regular profits? This would force companies to either increase R&D/CAPEX spending or lower prices.</p>
]]></description><pubDate>Thu, 11 Jan 2024 19:26:53 +0000</pubDate><link>https://news.ycombinator.com/item?id=38957497</link><dc:creator>mathiasgredal</dc:creator><comments>https://news.ycombinator.com/item?id=38957497</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38957497</guid></item><item><title><![CDATA[New comment by mathiasgredal in "Vcc – The Vulkan Clang Compiler"]]></title><description><![CDATA[
<p>Will C++17 parallel algorithms be supported?<p><a href="https://on-demand.gputechconf.com/supercomputing/2019/pdf/sc1936-gpu-programming-with-standard-c++17.pdf" rel="nofollow">https://on-demand.gputechconf.com/supercomputing/2019/pdf/sc...</a><p>Edit: Nevermind, I think I have misunderstood the purpose of this project. I thought it was a CUDA competitor, but it seems like it is just a shading language compiler for graphics.</p>
]]></description><pubDate>Wed, 10 Jan 2024 16:41:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=38940474</link><dc:creator>mathiasgredal</dc:creator><comments>https://news.ycombinator.com/item?id=38940474</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38940474</guid></item></channel></rss>