<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: anticleiades</title><link>https://news.ycombinator.com/user?id=anticleiades</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Thu, 07 May 2026 17:34:56 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=anticleiades" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by anticleiades in "Show HN: Avoiding "if" makes Quicksort faster"]]></title><description><![CDATA[
<p>branch-less programming is a fascinating area.
you have used -O3. Possibly, the compiler is also vectorizing some parts of the code. I am curious to know the contribution of AVX/SIMD to the speed-up (i.e, how much speed-up avoiding branches "alone" yields)</p>
]]></description><pubDate>Thu, 07 May 2026 14:33:23 +0000</pubDate><link>https://news.ycombinator.com/item?id=48049969</link><dc:creator>anticleiades</dc:creator><comments>https://news.ycombinator.com/item?id=48049969</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48049969</guid></item><item><title><![CDATA[New comment by anticleiades in "Show HN: Native-Like 'two fingers' navigation gestures for Java Swing on macOS"]]></title><description><![CDATA[
<p>Note: I developed this in the pre-LLM/Code agents era</p>
]]></description><pubDate>Thu, 07 May 2026 14:26:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=48049904</link><dc:creator>anticleiades</dc:creator><comments>https://news.ycombinator.com/item?id=48049904</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48049904</guid></item><item><title><![CDATA[New comment by anticleiades in "Show HN: Native-Like 'two fingers' navigation gestures for Java Swing on macOS"]]></title><description><![CDATA[
<p>Project Link: <a href="https://github.com/anticleiades/swing-fluid-swipe" rel="nofollow">https://github.com/anticleiades/swing-fluid-swipe</a><p>IntelliJ Fork (the proof of concept): <a href="https://github.com/anticleiades/intellij-community/tree/poc-fluid-swipe" rel="nofollow">https://github.com/anticleiades/intellij-community/tree/poc-...</a>. Please use the poc-fluid-swipe branch.<p>Video Demo (if you don't want to recompile everything): <a href="https://drive.google.com/file/d/1ZjAy6LEEP4ASg1-Zx68pHYaPjBpZ-Z1B/view?usp=sharing" rel="nofollow">https://drive.google.com/file/d/1ZjAy6LEEP4ASg1-Zx68pHYaPjBp...</a>.<p>This library reduces the gap between native applications and AWT/Swing applications, providing a more consistent and pleasant UI/UX. Why this? Why Swing? Well, this might finally address JBR-4083 and IDEABKL-6039, issues that have been open for 15 years. Also, I wanted to build a feature I’ve always missed in JetBrains IDEs.<p>With this, we can use two fingers swipe gesture to navigate back/forward also within Swing applications on macOS, as we do on Xcode and Safari. This gesture is largely used for navigation in many AppKit-built programs, but the JDK only supports discrete gestures (namely, 3-finger swipe gestures via com.apple.eawt.event).<p>The video demo shows the library in action within IntelliJ IDEA (this is just a proof of concept, so the code might be suboptimal), providing a truly native-like experience—I implement 'two finger swipe' for back/forward navigation.<p>Currently, it operates as an application-level JNI bridge: it intercepts suitable NSEvents globally on the AppKit thread. This might not be the best, as ideally, you should not have to call (start/stop)EventMonitoring methods—you'd like to have this in libawt_lwawt.<p>The key challenge is disambiguating a logical fluid-swipe from a standard horizontal scroll, as trackpads trigger both via the same physical movement. For example, to implement the scroll/fluid-swipe coexistence mechanism, the library introduces a hierarchical veto mechanism. Any AWT/Swing component under the cursor can "block" (veto) an incoming fluid-swipe gesture by suitably implementing the method 'public boolean permitFluidSwipeGesture(FluidSwipeEvent e)' , which is queried on the EDT from the dispatcher. Ideally, fluid-swipe gestures should have a lower priority than scroll event. For example, a horizontally scrollable JScrollPane accepts the fluid-swipe iff there is no remaining scrollable content in that direction; otherwise, it vetoes the fluid-swipe, causing the dispatch of MouseWheelEvents. Note also that permitting an incoming fluid-swipe results in MouseWheelEvent not being dispatching as expected.<p>I am open to discuss any core aspect of the library and of the proof of concept, such as the scroll/fluid-swipe coexistence mechanism, and the API. Any feedback (and maybe help) would be greatly appreciated. What about extending this to Windows and Wayland?<p>I have tested it on macOS 26 (Tahoe) (Intel). Please test it on Apple Silicon and with Magic Mouse. The library has been sitting on GitHub and Maven Central for a couple of years (since 2024), but I've only now decided to dust it off, and ask for feedback.</p>
]]></description><pubDate>Thu, 07 May 2026 14:24:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=48049880</link><dc:creator>anticleiades</dc:creator><comments>https://news.ycombinator.com/item?id=48049880</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48049880</guid></item><item><title><![CDATA[Show HN: 'Safari-Like' 2-finger nav gesture for IntelliJ (Java Swing) on macOS]]></title><description><![CDATA[
<p>Article URL: <a href="https://github.com/anticleiades/swing-fluid-swipe">https://github.com/anticleiades/swing-fluid-swipe</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=48049872">https://news.ycombinator.com/item?id=48049872</a></p>
<p>Points: 2</p>
<p># Comments: 2</p>
]]></description><pubDate>Thu, 07 May 2026 14:23:41 +0000</pubDate><link>https://github.com/anticleiades/swing-fluid-swipe</link><dc:creator>anticleiades</dc:creator><comments>https://news.ycombinator.com/item?id=48049872</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48049872</guid></item><item><title><![CDATA[New comment by anticleiades in "The Vatican's Website in Latin"]]></title><description><![CDATA[
<p>> but it is a Latin-French dictionary<p>I can recommend the Lewis&Short that is Latin-English.</p>
]]></description><pubDate>Thu, 07 May 2026 14:16:56 +0000</pubDate><link>https://news.ycombinator.com/item?id=48049785</link><dc:creator>anticleiades</dc:creator><comments>https://news.ycombinator.com/item?id=48049785</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48049785</guid></item></channel></rss>