10 comments

  • 9o1d5 minutes ago
    Plot twist: the publisher just looked into the future. I’m currently building an EBNF parser for my project, C³ (C cubed), which allows you to define arbitrary grammar at the very beginning of a file to seamlessly mix strings and syntax from Python, JS, or any custom DSL.<p>While C++ was just a simple iteration, C³ aims to be a paradigm shift. If you see JavaScript DOM manipulation code on a C++ book cover, it’s not a stock photo blunder anymore — it’s just a valid source file after a custom EBNF header. The project is currently in private development, but I&#x27;m considering launching it as an online service. Stay tuned!<p><a href="https:&#x2F;&#x2F;gitlab.com&#x2F;9o1d&#x2F;C3v3" rel="nofollow">https:&#x2F;&#x2F;gitlab.com&#x2F;9o1d&#x2F;C3v3</a>
  • seanhunter5 hours ago
    It reminds me of an incident involving an old colleague of mine at some kind of graduate recruitment fair thing. He walked past a stand which was trying to hire engineers which had some code on the wall when the following exchange happened:<p><pre><code> Recruiter: Hey there! &lt;indicates the code&gt; Do you know what this is? Colleague: Err, &lt;looks…thinks for a bit&gt;… It *looks* like some sort of network protocol Recruiter: &lt;smug&gt; No, it’s *COMPUTER CODE*</code></pre>
    • fiedzia2 hours ago
      I like to pause movies when some code is shown and see what it is. Apparently you can break into pentagon by knowing basic sql and high-level employees have alternate life writing tcp implementations and graphics libraries.
      • cout1 hour ago
        Occasionally there are some real treats in those snippets. I remember being floored when Trinity exploited a real ssh v1 bug in Matrix Reloaded.
      • sunrunner1 hour ago
        I always liked the code Easter egg in Ex Machina. A scene with Caleb has a Python script visible on screen that, when run, prints:<p><pre><code> ISBN = 9780199226559 </code></pre> This is Murray Shanahan’s Embodiment and the inner life: Cognition and Consciousness in the Space of Possible Minds, quite relevant to the film.
      • TACD2 hours ago
        There’s a Tumblr for that: <a href="https:&#x2F;&#x2F;www.tumblr.com&#x2F;moviecode" rel="nofollow">https:&#x2F;&#x2F;www.tumblr.com&#x2F;moviecode</a>
      • sureglymop2 hours ago
        Do we actually think you couldn&#x27;t though? Probably unintentionally accurate.
        • fiedzia2 hours ago
          I guess there might be Bobby &#x27;insert into EMPLOYEES...&#x27; tables somewhere.
      • ikari_pl2 hours ago
        I felt like a movie hacker when doing literal<p>SELECT * FROM military_bases<p>On a public dataset :)
        • sunrunner1 hour ago
          I paused the film to catch Lisbeth Salander, brilliant hacker and investigator, doing exactly this kind of complex query.<p>I guess the brilliant hacking was the bit you don’t see getting access to the super secure database in the first place?
      • ramon1562 hours ago
        Render your local file tree, win a free pentagon entry
    • bad_username4 hours ago
      I wish &lt;smug&gt;&lt;&#x2F;smug&gt; was a real HTML tag
      • kstrauser4 hours ago
        It&#x27;s a semantic div tag, and it&#x27;s spelled &quot;&lt;actually&gt;&quot;.
      • sscaryterry1 hour ago
        This is tongue in cheek, but those who can&#x27;t do, teach, and those who can teach, recruit.
  • 20k5 hours ago
    Its crazy to me how little effort publishers put into the basic parts of their job sometimes. Its even funnier that raymond chen of all people is the one calling this out
    • defrost5 hours ago
      On the matter of book back text, <i>The Profit</i> by Kehlog Albran has a rear blurb that likens the style of the author to that of a man with a much larger brain.
    • Bolwin5 hours ago
      Also is this an official Microsoft dev blog?<p>Probably not a good look back at publishing hq
      • mcherm1 hour ago
        If you don&#x27;t want to be called out for putting zero effort into the books that you publish, you probably shouldn&#x27;t put zero effort into the books you publish!
      • windward3 hours ago
        It is, and it&#x27;s a famous and popular blog too. Lots of older submissions have been highly upvoted here.
  • _kst_3 hours ago
    I wonder if the book itself is actually any good.<p>My understanding is that authors often have little or not control over the covers chosen by their publishers.<p>It&#x27;s at least possible that the book itself is excellent, but I&#x27;m not going to spend $90+ on a hardcover copy to find out.
  • koolala4 hours ago
    At least the JavaScript image is excusable since most implementations are made in C++.
    • pjmlp3 hours ago
      And some of us expect that candidates have at least read the C++ addons documentation chapter.
  • block_dagger4 hours ago
    A clear case of human slop.
    • hmry3 hours ago
      This 9 year old publisher still slops the old-fashioned way
  • taneq3 hours ago
    This post discusses the topic and makes several key observations.
  • uwagar2 hours ago
    i so wanted it to be the cover of stroustrup book :P<p>fwiw, i stopped keepin up with c++ in 2003. saved my sanity!
  • haeseong3 hours ago
    [flagged]
  • gruntled-worker5 hours ago
    auto get_xyz_position() -&gt; std::unordered_map&lt;std::string, double *&gt; { ... }
    • hmry4 hours ago
      You&#x27;ll need to elaborate
      • klez3 hours ago
        It&#x27;s probably the C++ version of the tired EnterpriseBuilderPatternWhateverFactory jokes about java verbosity.