<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: vcdk</title><link>https://news.ycombinator.com/user?id=vcdk</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Tue, 26 May 2026 19:18:53 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=vcdk" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by vcdk in "Using AI to write better code more slowly"]]></title><description><![CDATA[
<p>Whenever Anthropic is down, I switch to my other alternative AI provider. If that is also unavailable, or no more tokens left, then I can switch to my local AI. Not the same in terms of quality and speed, but good enough for an experienced engineer to still be more productive than falling back to doing it by hand. For my principal activity I do not want to be dependent on a sole provider. Besides that, I expect that the pending token price increases are going to hurt a lot of people/companies.</p>
]]></description><pubDate>Tue, 26 May 2026 06:42:59 +0000</pubDate><link>https://news.ycombinator.com/item?id=48275933</link><dc:creator>vcdk</dc:creator><comments>https://news.ycombinator.com/item?id=48275933</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48275933</guid></item><item><title><![CDATA[New comment by vcdk in "Int a = 5; a = a++ + ++a; a =? (2011)"]]></title><description><![CDATA[
<p>I was just replying to the comment ¯\_(ツ)_/¯</p>
]]></description><pubDate>Fri, 15 May 2026 06:26:36 +0000</pubDate><link>https://news.ycombinator.com/item?id=48145209</link><dc:creator>vcdk</dc:creator><comments>https://news.ycombinator.com/item?id=48145209</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48145209</guid></item><item><title><![CDATA[New comment by vcdk in "Int a = 5; a = a++ + ++a; a =? (2011)"]]></title><description><![CDATA[
<p>Well... tried it on macOS using vanilla gcc, the results surprised me:<p><pre><code>  $ /bin/cat x.c; gcc -w -o x x.c; ./x
  #include <stdio.h>
  
  int main()
  {
      int a = 5;
      a += a++ + a++;
      printf("a = %d\n", a);
  }
  a = 18
</code></pre>
Not what I expected.
This must be how it works:<p>- The first  a++ expression results in 5, after a = 6
- The second a++ expression results in 6, after a = 7
- Only then the LHS a is evaluated for the addition-assignment, so we get:
    a = 7 + 5 + 6 = 18</p>
]]></description><pubDate>Thu, 14 May 2026 21:28:42 +0000</pubDate><link>https://news.ycombinator.com/item?id=48141513</link><dc:creator>vcdk</dc:creator><comments>https://news.ycombinator.com/item?id=48141513</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48141513</guid></item></channel></rss>