<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: jshxr</title><link>https://news.ycombinator.com/user?id=jshxr</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Fri, 24 Apr 2026 10:14:18 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=jshxr" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by jshxr in "Use Your Type System"]]></title><description><![CDATA[
<p>Unfortunately, this can be somewhat awkward to implement in certain structural typed languages like TypeScript. I often find myself writing something along the lines of<p><pre><code>  type UserID = string & { readonly __tag: unique symbol }
</code></pre>
which always feels a bit hacky.</p>
]]></description><pubDate>Thu, 24 Jul 2025 15:43:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=44672097</link><dc:creator>jshxr</dc:creator><comments>https://news.ycombinator.com/item?id=44672097</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44672097</guid></item><item><title><![CDATA[New comment by jshxr in "Use Your Type System"]]></title><description><![CDATA[
<p>I've seen it being referred to as "New Type Pattern" or "New Type Idiom" in quite some places. For example in the rust-by-example book [1].<p>[1] <a href="https://doc.rust-lang.org/rust-by-example/generics/new_types.html" rel="nofollow">https://doc.rust-lang.org/rust-by-example/generics/new_types...</a></p>
]]></description><pubDate>Thu, 24 Jul 2025 15:32:36 +0000</pubDate><link>https://news.ycombinator.com/item?id=44671965</link><dc:creator>jshxr</dc:creator><comments>https://news.ycombinator.com/item?id=44671965</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44671965</guid></item><item><title><![CDATA[New comment by jshxr in "Show HN: Hyvector – A fast and modern SVG editor"]]></title><description><![CDATA[
<p>Very cool! A few notes:<p>- I really like the level of fine-grained control, even for changes that don't visibly affect the output, like reversing a path. For that case, some visual feedback would help, since it's hard to tell if it worked<p>- Copying a selection to the clipboard seems to include all fonts used in the scene (even if not selected) as base64 in the SVG, leading to a bloated output<p>Do you plan to keep the strict 1:1 mapping with SVG, or are you open to some abstractions? I still use Figma for creating SVGs because of one killer feature I can't work without anymore: Vector Networks [1]. They'd need some internal conversion to valid path data, but it's an abstraction that could add real value.<p>On the technical side, I'm surprised the editor uses SVG for rendering. Although of course it makes sense, I half expected it to use canvas under the hood.  Lately I've been experimenting with rendering simple 3D objects using SVG and ran into performance issues pretty quickly, though I'm not yet sure what exactly' is causing them.<p>Did you do any stress testing yet, especially on older devices?<p>[1] <a href="https://www.figma.com/blog/introducing-vector-networks/" rel="nofollow">https://www.figma.com/blog/introducing-vector-networks/</a></p>
]]></description><pubDate>Sat, 10 May 2025 14:07:34 +0000</pubDate><link>https://news.ycombinator.com/item?id=43945753</link><dc:creator>jshxr</dc:creator><comments>https://news.ycombinator.com/item?id=43945753</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43945753</guid></item><item><title><![CDATA[Ask HN: Why is the source folder called 'src'?]]></title><description><![CDATA[
<p>Many languages and frameworks advocate (or even enforce) a standard folder structure that includes a 'src' folder.
I always found 'src' to be quite "ugly" and also possibly confusing to beginners, who might think it's an abbreviation of a multi-word phrase instead of a contraction. In the end, it only reduces the word by 3 letters.
Why isn't it simply called 'source'? Does it have historic reasons? Or is it just laziness?</p>
<hr>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=31122343">https://news.ycombinator.com/item?id=31122343</a></p>
<p>Points: 7</p>
<p># Comments: 15</p>
]]></description><pubDate>Fri, 22 Apr 2022 14:55:44 +0000</pubDate><link>https://news.ycombinator.com/item?id=31122343</link><dc:creator>jshxr</dc:creator><comments>https://news.ycombinator.com/item?id=31122343</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=31122343</guid></item></channel></rss>