<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: gthompson512</title><link>https://news.ycombinator.com/user?id=gthompson512</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Tue, 22 Sep 2026 03:55:47 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=gthompson512" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by gthompson512 in "I Wrote a Compiler"]]></title><description><![CDATA[
<p>@dang I feel like this is getting close to the lowest level of discourse and occurs somewhat often these days where people overly reference the output of some AI and then are challenging the results without googling. I feel a proper hacker ethos would spur someone to find a real answer. So in honor of the name of the site maybe disallow refutations or other dismissals of a submission based on the output of an AI or overly long discussion that is offtopic about an AI?</p>
]]></description><pubDate>Thu, 19 Jun 2025 01:45:23 +0000</pubDate><link>https://news.ycombinator.com/item?id=44314734</link><dc:creator>gthompson512</dc:creator><comments>https://news.ycombinator.com/item?id=44314734</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44314734</guid></item><item><title><![CDATA[New comment by gthompson512 in "“Secret Mall Apartment,” a Protest for Place"]]></title><description><![CDATA[
<p>Sorry I read about this way long ago, what is meant by "worked for me" "project", "behind my back" and such. I didn't get the connotations for most of that from reading articles about this. What is the real story?</p>
]]></description><pubDate>Fri, 23 May 2025 02:24:36 +0000</pubDate><link>https://news.ycombinator.com/item?id=44069277</link><dc:creator>gthompson512</dc:creator><comments>https://news.ycombinator.com/item?id=44069277</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44069277</guid></item><item><title><![CDATA[New comment by gthompson512 in "AI in my plasma physics research didn’t go the way I expected"]]></title><description><![CDATA[
<p>There is a bunch of new phrases people have been using around AI topics, so it can be hard to tell what exactly is being talked about, like "Roko's Basilisk", the "lottery card hypothesis?"(not quite remembering the phrasing on this one), "the bitter lesson", "paperclip maximizing", "stochastic parrot", etc.. Thank you for clarifying. I was kind of hoping there was a fun blog or story with a "banana zone".</p>
]]></description><pubDate>Thu, 22 May 2025 20:18:00 +0000</pubDate><link>https://news.ycombinator.com/item?id=44066409</link><dc:creator>gthompson512</dc:creator><comments>https://news.ycombinator.com/item?id=44066409</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44066409</guid></item><item><title><![CDATA[New comment by gthompson512 in "A simple search engine from scratch"]]></title><description><![CDATA[
<p>I have been thinking a bit lately about how much sense that makes compared to just using word vectors, since traditional queries are super short and often keyword based(like searching for "ground beef" when wanting "ground beef recipes I can cook easily tonight") and so lack most of the context that BERT or similar gives you.  I know there are methods like using seperate embeddings for queries and such, but maybe a basic word based search could be more useful, especially with something like fastText for out of vocabulary terms.</p>
]]></description><pubDate>Tue, 20 May 2025 18:15:58 +0000</pubDate><link>https://news.ycombinator.com/item?id=44044321</link><dc:creator>gthompson512</dc:creator><comments>https://news.ycombinator.com/item?id=44044321</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44044321</guid></item><item><title><![CDATA[New comment by gthompson512 in "AI in my plasma physics research didn’t go the way I expected"]]></title><description><![CDATA[
<p>> "the start of the banana zone"<p>What does this mean? Is it some slang for exponential growth, or is it a reference to something like the "paperclip maximizer"?</p>
]]></description><pubDate>Tue, 20 May 2025 13:55:51 +0000</pubDate><link>https://news.ycombinator.com/item?id=44041752</link><dc:creator>gthompson512</dc:creator><comments>https://news.ycombinator.com/item?id=44041752</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44041752</guid></item><item><title><![CDATA[New comment by gthompson512 in "Poll: How often do you bathe?"]]></title><description><![CDATA[
<p>I usually exercise ~5 days a week and on those days will shower or bathe twice.  On days when I am doing yard work or grilling it might bathe 3 times depending on how poorly I planned out my day.</p>
]]></description><pubDate>Tue, 20 May 2025 13:46:04 +0000</pubDate><link>https://news.ycombinator.com/item?id=44041628</link><dc:creator>gthompson512</dc:creator><comments>https://news.ycombinator.com/item?id=44041628</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44041628</guid></item><item><title><![CDATA[New comment by gthompson512 in "Show HN: I modeled the Voynich Manuscript with SBERT to test for structure"]]></title><description><![CDATA[
<p>Sorry if I missed it, but what about keeping the suffixes and trying to do some finetuning on the source then clustering sentences or at least pages which given the media should be consistent-ish</p>
]]></description><pubDate>Mon, 19 May 2025 02:24:14 +0000</pubDate><link>https://news.ycombinator.com/item?id=44026068</link><dc:creator>gthompson512</dc:creator><comments>https://news.ycombinator.com/item?id=44026068</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44026068</guid></item><item><title><![CDATA[New comment by gthompson512 in "Show HN: Model2vec-Rs – Fast Static Text Embeddings in Rust"]]></title><description><![CDATA[
<p>Sorry, looking more, it doesn't seem like you are doing what you are saying.  This is just poorly breaking text into bad chunks with no regard for semantics and is like ~200 lines of actual code. What is this for? Most models can handle fairly large contexts.<p>Edit: That wasn't intended to be mean, although it may come off that way, but what is this supposed to be for?  Myself I have text >8k tokens that need to be embedded and test things regularly.</p>
]]></description><pubDate>Mon, 19 May 2025 02:18:25 +0000</pubDate><link>https://news.ycombinator.com/item?id=44026027</link><dc:creator>gthompson512</dc:creator><comments>https://news.ycombinator.com/item?id=44026027</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44026027</guid></item><item><title><![CDATA[New comment by gthompson512 in "Show HN: Model2vec-Rs – Fast Static Text Embeddings in Rust"]]></title><description><![CDATA[
<p>How does it handle documents longer than the context length of the model?  Sorry there are a ton of these regularly and they don't usually think about this.<p>Edit: it seems like it just splits in to sentences which is a weird thing to do given in English only 95%ish percent agreement is even possible on what a sentence is.
```
 // Process in batches
        for batch in sentences.chunks(batch_size) {
            // Truncate each sentence to max_length * median_token_length chars
            let truncated: Vec<&str> = batch
                .iter()
                .map(|text| {
                    if let Some(max_tok) = max_length {
                        Self::truncate_str(text, max_tok, self.median_token_length)
                    } else {
                        text.as_str()
                    }
                })
                .collect();
```</p>
]]></description><pubDate>Mon, 19 May 2025 02:10:58 +0000</pubDate><link>https://news.ycombinator.com/item?id=44025977</link><dc:creator>gthompson512</dc:creator><comments>https://news.ycombinator.com/item?id=44025977</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44025977</guid></item><item><title><![CDATA[New comment by gthompson512 in "COBOL front-end added to GCC"]]></title><description><![CDATA[
<p>This has been planned for a while, is this news?</p>
]]></description><pubDate>Tue, 06 May 2025 02:18:15 +0000</pubDate><link>https://news.ycombinator.com/item?id=43901233</link><dc:creator>gthompson512</dc:creator><comments>https://news.ycombinator.com/item?id=43901233</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43901233</guid></item><item><title><![CDATA[New comment by gthompson512 in "Phi-4 Reasoning Models"]]></title><description><![CDATA[
<p>Sorry if this comment is outdated or ill-informed, but it is hard to follow the current news.  Do the Phi models still have issues with training on the test set, or have they fixed that?</p>
]]></description><pubDate>Thu, 01 May 2025 01:57:04 +0000</pubDate><link>https://news.ycombinator.com/item?id=43852954</link><dc:creator>gthompson512</dc:creator><comments>https://news.ycombinator.com/item?id=43852954</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43852954</guid></item><item><title><![CDATA[New comment by gthompson512 in "Migrating away from Rust"]]></title><description><![CDATA[
<p>> So in D, is it now natural to mix borrow checking and garbage collection?<p>I think "natural" is a bit loaded, there is native support in the frontend for doing both.  You have to go out of your way to annotate functions with @live and it is still experimental(<a href="https://dlang.org/spec/ob.html" rel="nofollow">https://dlang.org/spec/ob.html</a>). The garbage collection is natural and happens if you do nothing, but you can turn it off with proper annotations like @nogc(<a href="https://dlang.org/spec/function.html#nogc-functions" rel="nofollow">https://dlang.org/spec/function.html#nogc-functions</a>) or using betterC(<a href="https://dlang.org/spec/betterc.html" rel="nofollow">https://dlang.org/spec/betterc.html</a>).  There is also @safe, @system and @trusted(<a href="https://dlang.org/spec/memory-safe-d.html" rel="nofollow">https://dlang.org/spec/memory-safe-d.html</a>).<p>So natural is a stretch at the moment, but you can use all kinds of different techniques, what is needed is more community and library standardization around some solutions.</p>
]]></description><pubDate>Tue, 29 Apr 2025 12:18:43 +0000</pubDate><link>https://news.ycombinator.com/item?id=43831587</link><dc:creator>gthompson512</dc:creator><comments>https://news.ycombinator.com/item?id=43831587</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43831587</guid></item><item><title><![CDATA[New comment by gthompson512 in "Are polynomial features the root of all evil? (2024)"]]></title><description><![CDATA[
<p>There is a simple corollary to Stone-Weierstrass that extends to infinite intervals, but requires the use of rational functions.</p>
]]></description><pubDate>Wed, 23 Apr 2025 20:14:23 +0000</pubDate><link>https://news.ycombinator.com/item?id=43776188</link><dc:creator>gthompson512</dc:creator><comments>https://news.ycombinator.com/item?id=43776188</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43776188</guid></item><item><title><![CDATA[New comment by gthompson512 in "Show HN: I rewrote few of the common core string.h functions"]]></title><description><![CDATA[
<p>Depending on what exactly you are trying to learn from this, I would recommend looking at the source for musl like <a href="https://git.musl-libc.org/cgit/musl/tree/src/string" rel="nofollow">https://git.musl-libc.org/cgit/musl/tree/src/string</a> and trying to understand why it looks so much more complicated than the simple implementation.</p>
]]></description><pubDate>Mon, 21 Apr 2025 15:24:36 +0000</pubDate><link>https://news.ycombinator.com/item?id=43753003</link><dc:creator>gthompson512</dc:creator><comments>https://news.ycombinator.com/item?id=43753003</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43753003</guid></item><item><title><![CDATA[New comment by gthompson512 in "Hacktical C: practical hacker's guide to the C programming language"]]></title><description><![CDATA[
<p>Minor correction, macros CANT have newlines, you need to splice them during preprocessing using \ followed by a new line, the actual code has these:<p>from <a href="https://github.com/codr7/hacktical-c/blob/main/macro/macro.h">https://github.com/codr7/hacktical-c/blob/main/macro/macro.h</a><p>#define hc_align(base, size) ({      \
      __auto_type _base = base;      \
      __auto_type _size = hc_min((size), _Alignof(max_align_t)); \
      (_base) + _size - ((ptrdiff_t)(_base)) % _size;   \
    })         \<p>After preprocessing it is a single line.</p>
]]></description><pubDate>Mon, 14 Apr 2025 14:17:27 +0000</pubDate><link>https://news.ycombinator.com/item?id=43681600</link><dc:creator>gthompson512</dc:creator><comments>https://news.ycombinator.com/item?id=43681600</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43681600</guid></item><item><title><![CDATA[New comment by gthompson512 in "Stop using e for compound interest"]]></title><description><![CDATA[
<p>> - "My name is Hardy, G.H. Hardy.": A unique function satisfies exp(x+y) = exp(x)exp(y).<p>This has nothing to do with e and is satified by 2^x or any a^x, so this wouldn't work for introducing e in particular.<p>- "The Classic": There exists a unique function equal to its own derivative up to a constant.<p>Same for this, but if you fix the constant to be 1, then e^x is the only one that works.<p>I will give the series works too.</p>
]]></description><pubDate>Fri, 11 Apr 2025 21:11:54 +0000</pubDate><link>https://news.ycombinator.com/item?id=43658640</link><dc:creator>gthompson512</dc:creator><comments>https://news.ycombinator.com/item?id=43658640</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43658640</guid></item><item><title><![CDATA[New comment by gthompson512 in "PEP 750 – Template Strings"]]></title><description><![CDATA[
<p>This led to the OpenD language fork (<a href="https://opendlang.org/index.html" rel="nofollow">https://opendlang.org/index.html</a>) which is led by some contributors who had other more general gripes with D.  The fork is trying to merge in useful stuff from main D, while advancing the language.  They have a Discord which unfortunately is the main source of info.</p>
]]></description><pubDate>Fri, 11 Apr 2025 12:17:33 +0000</pubDate><link>https://news.ycombinator.com/item?id=43652959</link><dc:creator>gthompson512</dc:creator><comments>https://news.ycombinator.com/item?id=43652959</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43652959</guid></item><item><title><![CDATA[New comment by gthompson512 in "A love letter to the CSV format"]]></title><description><![CDATA[
<p>This forces each field to be quoted, and it assumes that each row has the same fields in the same order.  A library can handle the quoting issues and fields more reliably. Not sure why you went with a generator for this either.<p>Most people expect something like
`12,,213,3`
instead of 
`"12","213","3"`
which yours might give.<p><a href="https://en.wikipedia.org/wiki/Comma-separated_values#Basic_rules" rel="nofollow">https://en.wikipedia.org/wiki/Comma-separated_values#Basic_r...</a></p>
]]></description><pubDate>Thu, 27 Mar 2025 19:23:20 +0000</pubDate><link>https://news.ycombinator.com/item?id=43497101</link><dc:creator>gthompson512</dc:creator><comments>https://news.ycombinator.com/item?id=43497101</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43497101</guid></item><item><title><![CDATA[New comment by gthompson512 in "A love letter to the CSV format"]]></title><description><![CDATA[
<p>> It's just that people tend to use specialized tools for encoding and decoding it instead of like ",".join(row) and row.split(",")<p>You really super can't just split on commas for csv. You need to handle the string encodings since records can have commas occur in a string, and you need to handle quoting since you need to know when a string ends and that string may have internal quote characters.  For either format unless you know your data super well you need to use a library.</p>
]]></description><pubDate>Wed, 26 Mar 2025 20:49:06 +0000</pubDate><link>https://news.ycombinator.com/item?id=43487152</link><dc:creator>gthompson512</dc:creator><comments>https://news.ycombinator.com/item?id=43487152</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43487152</guid></item></channel></rss>