<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: richdougherty</title><link>https://news.ycombinator.com/user?id=richdougherty</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Thu, 30 Apr 2026 08:55:34 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=richdougherty" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by richdougherty in "Emulating Goto in Scheme with Continuations"]]></title><description><![CDATA[
<p>If you'll excuse the self-post, here's a blog post on goto with delimited continuations.<p><a href="https://rd.nz/2009/03/goto-in-scala.html" rel="nofollow">https://rd.nz/2009/03/goto-in-scala.html</a><p>It uses an experimental compiler plugin for the Scala compiler. It's typesafe at compile time. At runtime unfortunately it relies on exceptions for control flow.</p>
]]></description><pubDate>Mon, 23 Feb 2026 17:24:14 +0000</pubDate><link>https://news.ycombinator.com/item?id=47125431</link><dc:creator>richdougherty</dc:creator><comments>https://news.ycombinator.com/item?id=47125431</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47125431</guid></item><item><title><![CDATA[New comment by richdougherty in "Google scores six-year Meta cloud deal worth over $10B"]]></title><description><![CDATA[
<p>Seems likely because the article says "Meta’s deal with Google is mainly around artificial intelligence infrastructure, said one of the people".</p>
]]></description><pubDate>Fri, 22 Aug 2025 20:14:17 +0000</pubDate><link>https://news.ycombinator.com/item?id=44989273</link><dc:creator>richdougherty</dc:creator><comments>https://news.ycombinator.com/item?id=44989273</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44989273</guid></item><item><title><![CDATA[New comment by richdougherty in "Human study on AI spear phishing campaigns"]]></title><description><![CDATA[
<p>"The cost-effective nature of AI makes it highly plausible we're moving towards an agent vs agent future."<p>Sounds right. I assume we will all have AI agents triaging our emails trying to protect us.<p>Maybe we will need AI to help us discern what is really true when we search for or consume information as well. The amount and quality of plausible but fake information is only going to increase.<p>"However, the possibilities of jailbreaks and prompt injections pose a significant challenge to using language models to prevent phishing."<p>Gives a hint at the arms race between attack and defense.</p>
]]></description><pubDate>Sun, 05 Jan 2025 20:42:08 +0000</pubDate><link>https://news.ycombinator.com/item?id=42604842</link><dc:creator>richdougherty</dc:creator><comments>https://news.ycombinator.com/item?id=42604842</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42604842</guid></item><item><title><![CDATA[New comment by richdougherty in "Eye Contact Correction: Redirecting the eyes to look at the camera"]]></title><description><![CDATA[
<p>Kudos to the dev for coming up with the eye position fixing solution.<p>Building further on this idea, I wonder if instead of changing the image to look at the camera, we could change the "camera" to be where we're looking.<p>In other words we could simulate a virtual camera somewhere in the screen, perhaps over the eyes of the person talking.<p>We could simulate a virtual camera by using the image of the real camera (or cameras), constructing a 3D image of ourselves and re-rendering it from the virtual camera location.<p>I think this would be really cool. It would be like there was a camera in the centre of our screen. We could stop worrying about looking at the camera and look at the person talking.<p>Of course this is all very tricky, but does feel possible right now. I think the Apple Vision Pro might do something similar already?</p>
]]></description><pubDate>Wed, 16 Oct 2024 03:06:12 +0000</pubDate><link>https://news.ycombinator.com/item?id=41855210</link><dc:creator>richdougherty</dc:creator><comments>https://news.ycombinator.com/item?id=41855210</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41855210</guid></item><item><title><![CDATA[New comment by richdougherty in "Bypassing airport security via SQL injection"]]></title><description><![CDATA[
<p>So it's also vulnerable to a Helicopter Injection Attack?</p>
]]></description><pubDate>Thu, 29 Aug 2024 20:31:22 +0000</pubDate><link>https://news.ycombinator.com/item?id=41394966</link><dc:creator>richdougherty</dc:creator><comments>https://news.ycombinator.com/item?id=41394966</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41394966</guid></item><item><title><![CDATA[New comment by richdougherty in "Gemma 2: Improving Open Language Models at a Practical Size [pdf]"]]></title><description><![CDATA[
<p>If you have control of the tokenizer you could make sure it doesn't produce these tokens on user input. I.e. instead of the special "<eos>" token, produce something like "<", "eos", ">" - whatever the 'natural' encoding of that string is.<p>See for example, the llama3 tokenizer has options to control special token tokenization:<p>Tokenization method with args to control special token handling: <a href="https://github.com/meta-llama/llama3/blob/bf8d18cd087a4a0b3f61075b7de0b86cf6c70697/llama/tokenizer.py#L99-L128">https://github.com/meta-llama/llama3/blob/bf8d18cd087a4a0b3f...</a><p>And you can see how it is used combined with special tokens and user input here: <a href="https://github.com/meta-llama/llama3/blob/bf8d18cd087a4a0b3f61075b7de0b86cf6c70697/llama/tokenizer.py#L202-L229">https://github.com/meta-llama/llama3/blob/bf8d18cd087a4a0b3f...</a><p>If you don't have control of the tokenizer, I guess it needs to be sanitized in the input like you say.</p>
]]></description><pubDate>Fri, 28 Jun 2024 04:48:24 +0000</pubDate><link>https://news.ycombinator.com/item?id=40817821</link><dc:creator>richdougherty</dc:creator><comments>https://news.ycombinator.com/item?id=40817821</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40817821</guid></item><item><title><![CDATA[New comment by richdougherty in "More ARM Linux Laptops Are on the Way"]]></title><description><![CDATA[
<p>Source with more information: <a href="https://www.tuxedocomputers.com/en/TUXEDO-on-ARM-is-coming.tuxedo" rel="nofollow">https://www.tuxedocomputers.com/en/TUXEDO-on-ARM-is-coming.t...</a></p>
]]></description><pubDate>Fri, 21 Jun 2024 05:21:40 +0000</pubDate><link>https://news.ycombinator.com/item?id=40746413</link><dc:creator>richdougherty</dc:creator><comments>https://news.ycombinator.com/item?id=40746413</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40746413</guid></item><item><title><![CDATA[New comment by richdougherty in "Introducing Copilot+ PCs"]]></title><description><![CDATA[
<p>A few details here: "Recall leverages your personal semantic index, built and stored entirely on your device. Your snapshots are yours; they stay locally on your PC. You can delete individual snapshots, adjust and delete ranges of time in Settings, or pause at any point right from the icon in the System Tray on your Taskbar. You can also filter apps and websites from ever being saved. You are always in control with privacy you can trust."<p><a href="https://blogs.microsoft.com/blog/2024/05/20/introducing-copilot-pcs/" rel="nofollow">https://blogs.microsoft.com/blog/2024/05/20/introducing-copi...</a></p>
]]></description><pubDate>Mon, 20 May 2024 18:54:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=40418813</link><dc:creator>richdougherty</dc:creator><comments>https://news.ycombinator.com/item?id=40418813</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40418813</guid></item><item><title><![CDATA[New comment by richdougherty in "Viking 7B: open LLM for the Nordic languages trained on AMD GPUs"]]></title><description><![CDATA[
<p>I can't track down the citation (either Google or DeepMind I think), but I remember reading research from a year or two ago how adding extra languages (French, German) improved English language performance. There may have also been an investigation about multi modality too, which found that adding vision or audio helped with text as well.</p>
]]></description><pubDate>Wed, 15 May 2024 19:56:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=40371610</link><dc:creator>richdougherty</dc:creator><comments>https://news.ycombinator.com/item?id=40371610</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40371610</guid></item><item><title><![CDATA[New comment by richdougherty in "Vision Transformers Need Registers"]]></title><description><![CDATA[
<p>Related? "Let's Think Dot by Dot: Hidden Computation in Transformer Language Models"
<a href="https://arxiv.org/abs/2404.15758" rel="nofollow">https://arxiv.org/abs/2404.15758</a><p>>      Chain-of-thought responses from language models improve performance across most benchmarks. However, it remains unclear to what extent these performance gains can be attributed to human-like task decomposition or simply the greater computation that additional tokens allow. We show that transformers can use meaningless filler tokens (e.g., '......') in place of a chain of thought to solve two hard algorithmic tasks they could not solve when responding without intermediate tokens. However, we find empirically that learning to use filler tokens is difficult and requires specific, dense supervision to converge. We also provide a theoretical characterization of the class of problems where filler tokens are useful in terms of the quantifier depth of a first-order formula. For problems satisfying this characterization, chain-of-thought tokens need not provide information about the intermediate computational steps involved in multi-token computations. In summary, our results show that additional tokens can provide computational benefits independent of token choice. The fact that intermediate tokens can act as filler tokens raises concerns about large language models engaging in unauditable, hidden computations that are increasingly detached from the observed chain-of-thought tokens.<p>> In this work, we demonstrate that transformers trained on the next-token prediction objective can achieve improved performance on certain tasks when given filler tokens, achieving perfect accuracy whereas the no-filler, immediate-answer setting achieves only low accuracy.<p>--<p>I wonder if we could get benefits from adding special computation/register tokens to text LLMs?<p>More discussion:<p>- <a href="https://news.ycombinator.com/item?id=40182695">https://news.ycombinator.com/item?id=40182695</a><p>- <a href="https://www.reddit.com/r/LocalLLaMA/comments/1cf2w5a/transformers_can_use_meaningless_filler_tokens_eg/" rel="nofollow">https://www.reddit.com/r/LocalLLaMA/comments/1cf2w5a/transfo...</a></p>
]]></description><pubDate>Sat, 11 May 2024 19:59:38 +0000</pubDate><link>https://news.ycombinator.com/item?id=40330303</link><dc:creator>richdougherty</dc:creator><comments>https://news.ycombinator.com/item?id=40330303</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40330303</guid></item><item><title><![CDATA[New comment by richdougherty in "Under Attila's Gaze"]]></title><description><![CDATA[
<p>Anyone who enjoyed this, might also like "All the Horses of Iceland". It's a fictional work, but written by a medieval scholar. It's set in the 9th century where a Norse trader travels through an alternative central Asia.<p><a href="http://sarahtolmie.ca/horsesReviews.html" rel="nofollow">http://sarahtolmie.ca/horsesReviews.html</a></p>
]]></description><pubDate>Sun, 07 Apr 2024 03:49:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=39958050</link><dc:creator>richdougherty</dc:creator><comments>https://news.ycombinator.com/item?id=39958050</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39958050</guid></item><item><title><![CDATA[New comment by richdougherty in "My Clients, the Liars"]]></title><description><![CDATA[
<p><a href="http://ymeskhout.substack.com/p/eleven-magic-words-unlocked" rel="nofollow">http://ymeskhout.substack.com/p/eleven-magic-words-unlocked</a></p>
]]></description><pubDate>Sun, 10 Mar 2024 07:49:45 +0000</pubDate><link>https://news.ycombinator.com/item?id=39657462</link><dc:creator>richdougherty</dc:creator><comments>https://news.ycombinator.com/item?id=39657462</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39657462</guid></item><item><title><![CDATA[New comment by richdougherty in "Show HN: #!/usr/bin/env docker run"]]></title><description><![CDATA[
<p>Agree, nesting files with<p><pre><code>    cat >Dockerfile <<'EOF'
</code></pre>
and having a basic bash script seems way nicer than putting all the shell logic on the #! line.</p>
]]></description><pubDate>Mon, 15 Jan 2024 11:04:19 +0000</pubDate><link>https://news.ycombinator.com/item?id=38999481</link><dc:creator>richdougherty</dc:creator><comments>https://news.ycombinator.com/item?id=38999481</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38999481</guid></item><item><title><![CDATA[New comment by richdougherty in "Yann LeCun: "Please ignore the deluge of complete nonsense about Q*.""]]></title><description><![CDATA[
<p><a href="https://twitter.com/ylecun/status/1728126868342145481" rel="nofollow noreferrer">https://twitter.com/ylecun/status/1728126868342145481</a><p>"Please ignore the deluge of complete nonsense about Q<i>.
One of the main challenges to improve LLM reliability is to replace Auto-Regressive token prediction with planning.<p>Pretty much every top lab (FAIR, DeepMind, OpenAI etc) is working on that and some have already published ideas and results.<p>It is likely that Q</i> is OpenAI attempts at planning. They pretty much hired Noam Brown (of Libratus/poker and Cicero/Diplomacy fame) to work on that.<p>[Note: I've been advocating for deep learning architecture capable of planning since 2016]."</p>
]]></description><pubDate>Sat, 25 Nov 2023 23:36:01 +0000</pubDate><link>https://news.ycombinator.com/item?id=38417814</link><dc:creator>richdougherty</dc:creator><comments>https://news.ycombinator.com/item?id=38417814</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38417814</guid></item><item><title><![CDATA[New comment by richdougherty in "Nothing Phone says it will hack into iMessage, bring blue bubbles to Android"]]></title><description><![CDATA[
<p>Site not loading for me, but probably this: <a href="https://nothing.tech/pages/nothing-chats" rel="nofollow noreferrer">https://nothing.tech/pages/nothing-chats</a></p>
]]></description><pubDate>Thu, 16 Nov 2023 06:19:58 +0000</pubDate><link>https://news.ycombinator.com/item?id=38286307</link><dc:creator>richdougherty</dc:creator><comments>https://news.ycombinator.com/item?id=38286307</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38286307</guid></item><item><title><![CDATA[New comment by richdougherty in "Germany approves global minimum corporate tax"]]></title><description><![CDATA[
<p>Just speculating, but perhaps share prices would drop until the returns per dollar invested recovers to the desired level. So it might be like a one off shock to investors who hold shares now, since the new equilibrium has shares priced lower to get the same returns as before the tax.</p>
]]></description><pubDate>Sat, 11 Nov 2023 18:13:51 +0000</pubDate><link>https://news.ycombinator.com/item?id=38232863</link><dc:creator>richdougherty</dc:creator><comments>https://news.ycombinator.com/item?id=38232863</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38232863</guid></item><item><title><![CDATA[New comment by richdougherty in "Go, Containers, and the Linux Scheduler"]]></title><description><![CDATA[
<p>Supported in Java 10 (and backported to Java 8) since 2018. Not sure about .NET.<p>-
"The JVM has been modified to be aware that it is running in a Docker container and will extract container specific configuration information instead of querying the operating system. The information being extracted is the number of CPUs and total memory that have been allocated to the container."
 <a href="https://www.oracle.com/java/technologies/javase/8u191-relnotes.html" rel="nofollow noreferrer">https://www.oracle.com/java/technologies/javase/8u191-relnot...</a><p>-
Here's a more detailed explanation and even a shared library that can be used to patch container unaware versions of Java. I wonder if the same could be done for Go?<p>"LD_PRELOAD=/path/to/libproccount.so java <args>"<p><a href="https://stackoverflow.com/a/64271429" rel="nofollow noreferrer">https://stackoverflow.com/a/64271429</a><p><a href="https://gist.github.com/apangin/78d7e6f7402b1a5da0fa3abd93811f36" rel="nofollow noreferrer">https://gist.github.com/apangin/78d7e6f7402b1a5da0fa3abd9381...</a><p>-<p>There are more recent changes to Java container awareness as well:<p><a href="https://developers.redhat.com/articles/2022/04/19/java-17-whats-new-openjdks-container-awareness#" rel="nofollow noreferrer">https://developers.redhat.com/articles/2022/04/19/java-17-wh...</a></p>
]]></description><pubDate>Wed, 08 Nov 2023 04:48:17 +0000</pubDate><link>https://news.ycombinator.com/item?id=38186923</link><dc:creator>richdougherty</dc:creator><comments>https://news.ycombinator.com/item?id=38186923</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38186923</guid></item><item><title><![CDATA[New comment by richdougherty in "Cleo, the Mysterious Math Menace"]]></title><description><![CDATA[
<p><a href="https://math.stackexchange.com/users/97378/cleo" rel="nofollow noreferrer">https://math.stackexchange.com/users/97378/cleo</a></p>
]]></description><pubDate>Thu, 19 Oct 2023 08:42:45 +0000</pubDate><link>https://news.ycombinator.com/item?id=37940173</link><dc:creator>richdougherty</dc:creator><comments>https://news.ycombinator.com/item?id=37940173</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37940173</guid></item><item><title><![CDATA[New comment by richdougherty in "Google changed ad auctions, raising prices 15%, witness says"]]></title><description><![CDATA[
<p><a href="https://en.m.wikipedia.org/wiki/Generalized_second-price_auction" rel="nofollow noreferrer">https://en.m.wikipedia.org/wiki/Generalized_second-price_auc...</a></p>
]]></description><pubDate>Mon, 09 Oct 2023 18:29:13 +0000</pubDate><link>https://news.ycombinator.com/item?id=37823554</link><dc:creator>richdougherty</dc:creator><comments>https://news.ycombinator.com/item?id=37823554</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37823554</guid></item><item><title><![CDATA[New comment by richdougherty in "Mozilla.social mastodon waitlist"]]></title><description><![CDATA[
<p>Agreed, it needs to be Android based - the other option would be to implement iOS APIs, but Android would be a lot easier.<p>An analogy would be if you make a browser, to use standard HTML and HTTP, not try to invent your own thing.</p>
]]></description><pubDate>Fri, 06 Oct 2023 10:09:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=37788868</link><dc:creator>richdougherty</dc:creator><comments>https://news.ycombinator.com/item?id=37788868</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37788868</guid></item></channel></rss>