det.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mastodon Server des Unterhaltungsfernsehen Ehrenfeld zum dezentralen Diskurs.

Administered by:

Server stats:

1.8K
active users

#c

44 posts30 participants1 post today
Lobsters<p>OpenZFS Bug Ported to C <a href="https://lobste.rs/s/apenjf" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">lobste.rs/s/apenjf</span><span class="invisible"></span></a> <a href="https://mastodon.social/tags/c" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>c</span></a> <a href="https://mastodon.social/tags/zig" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>zig</span></a><br><a href="https://flak.tedunangst.com/post/OpenZFS-Bug-Ported-to-C" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">flak.tedunangst.com/post/OpenZ</span><span class="invisible">FS-Bug-Ported-to-C</span></a></p>
Debacle<p><span class="h-card" translate="no"><a href="https://ottawa.place/@plantarum" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>plantarum</span></a></span></p><p>Works for me in <a href="https://framapiaf.org/tags/JavaScript" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JavaScript</span></a>, <a href="https://framapiaf.org/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a>, and <a href="https://framapiaf.org/tags/Rust" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Rust</span></a> buffers, but not in <a href="https://framapiaf.org/tags/C" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>C</span></a>, where I get:</p><p>rx--translate-bounded-repetition: rx ‘**’ range error</p><p>This works for me, though:</p><p>(defun my-latex-preview (&amp;optional ARG)<br> (interactive "P")<br> (let ((the-mode major-mode))<br> (org-mode)<br> (org-latex-preview ARG)<br> (funcall the-mode)))</p><p><a href="https://framapiaf.org/tags/elisp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>elisp</span></a> <a href="https://framapiaf.org/tags/Emacs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Emacs</span></a> <a href="https://framapiaf.org/tags/TeXLaTeX" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TeXLaTeX</span></a> <a href="https://framapiaf.org/tags/orgmode" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>orgmode</span></a></p>
Tanquist<p><a href="https://masto.ai/tags/Windows" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Windows</span></a> <a href="https://masto.ai/tags/C" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>C</span></a>++ question:<br>I learned long ago not to trust equality tests between doubles "if(a ==b)" but I thought "&lt;" and "&gt;" were safe.<br>A function in a program I maintain which has worked reliably for years has begun to malfunction. It tests if the decimal portion of a calculated value is less than 0.2</p><p>In this case, the decimal value d= 0.2</p><p>When I debug and test (d &lt; 0.2) the answer is "true".<br>Can anyone explain this?</p>
Ortwin Pinke<p>Ich suche eine funktionierende <a href="https://mastodon.online/tags/library" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>library</span></a> für einen <a href="https://mastodon.online/tags/RB4" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RB4</span></a> Cluster von <a href="https://mastodon.online/tags/Audi" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Audi</span></a> in <a href="https://mastodon.online/tags/Golang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Golang</span></a> oder <a href="https://mastodon.online/tags/C" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>C</span></a><br>Das Net-Tool von Github erkennt meine Kombiinstrumente nicht korrekt, und kann daher auch keine Dumps erstellen.</p>
Lobsters<p>Initial implementation of the experimental C++ Lifetime Safety Analysis (-Wexperimental-lifetime-safety) has just landed in Clang <a href="https://lobste.rs/s/pohsem" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">lobste.rs/s/pohsem</span><span class="invisible"></span></a> <a href="https://mastodon.social/tags/c" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>c</span></a>++<br><a href="https://discourse.llvm.org/t/announcing-the-lifetime-safety-breakout-group/87333" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">discourse.llvm.org/t/announcin</span><span class="invisible">g-the-lifetime-safety-breakout-group/87333</span></a></p>
Hacker News<p>C++ Coroutines Advanced: Converting std:future to asio:awaitable</p><p><a href="https://www.ddhigh.com/en/2025/07/15/cpp-coroutine-future-to-awaitable/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">ddhigh.com/en/2025/07/15/cpp-c</span><span class="invisible">oroutine-future-to-awaitable/</span></a></p><p><a href="https://mastodon.social/tags/HackerNews" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>HackerNews</span></a> <a href="https://mastodon.social/tags/C" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>C</span></a>++ <a href="https://mastodon.social/tags/Coroutines" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Coroutines</span></a> <a href="https://mastodon.social/tags/Advanced" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Advanced</span></a> <a href="https://mastodon.social/tags/std" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>std</span></a>::future <a href="https://mastodon.social/tags/asio" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>asio</span></a>:awaitable <a href="https://mastodon.social/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a> <a href="https://mastodon.social/tags/async" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>async</span></a> <a href="https://mastodon.social/tags/await" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>await</span></a> <a href="https://mastodon.social/tags/C" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>C</span></a>++</p>
Lobsters<p>The Best C++ Library <a href="https://lobste.rs/s/alrfrd" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">lobste.rs/s/alrfrd</span><span class="invisible"></span></a> <a href="https://mastodon.social/tags/c" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>c</span></a>++<br><a href="https://mcyoung.xyz/2025/07/14/best/#fnref:terrible-people" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">mcyoung.xyz/2025/07/14/best/#f</span><span class="invisible">nref:terrible-people</span></a></p>
IT News<p>Coroutines in C - It is virtually a rite of passage for C programmers to realize that they can write... - <a href="https://hackaday.com/2025/07/14/coroutines-in-c/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">hackaday.com/2025/07/14/corout</span><span class="invisible">ines-in-c/</span></a> <a href="https://schleuss.online/tags/softwaredevelopment" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>softwaredevelopment</span></a> <a href="https://schleuss.online/tags/protothreads" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>protothreads</span></a> <a href="https://schleuss.online/tags/coroutine" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>coroutine</span></a> <a href="https://schleuss.online/tags/c" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>c</span></a></p>
Lobsters<p>C-: A Portable Assembly Language (1997) via <span class="h-card" translate="no"><a href="https://fantastic.earth/@abnv" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>abnv</span></a></span> <a href="https://lobste.rs/s/olsvyy" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">lobste.rs/s/olsvyy</span><span class="invisible"></span></a> <a href="https://mastodon.social/tags/assembly" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>assembly</span></a> <a href="https://mastodon.social/tags/c" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>c</span></a> <a href="https://mastodon.social/tags/compilers" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>compilers</span></a><br><a href="https://www.microsoft.com/en-us/research/publication/c-a-portable-assembly-language/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">microsoft.com/en-us/research/p</span><span class="invisible">ublication/c-a-portable-assembly-language/</span></a></p>
Ada S<p>Just submitted a patch to <a href="https://mastodon.social/tags/Guix" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Guix</span></a> adding Sourcetrail[1]! (PR #1129 [2]) It's a cool little tool and it was fun packaging it. Walking around a C/C++ project with a graphical tool is a great way to try and get a handle on what the big important functions and data structures are.</p><p>[1] <a href="https://github.com/OpenSourceSourceTrail/Sourcetrail" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/OpenSourceSourceTra</span><span class="invisible">il/Sourcetrail</span></a><br>[2] <a href="https://codeberg.org/guix/guix/pulls/1229" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">codeberg.org/guix/guix/pulls/1</span><span class="invisible">229</span></a></p><p> <a href="https://mastodon.social/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a> <a href="https://mastodon.social/tags/c" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>c</span></a> <a href="https://mastodon.social/tags/cplusplus" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cplusplus</span></a> <a href="https://mastodon.social/tags/cpp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cpp</span></a> <a href="https://mastodon.social/tags/packaging" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>packaging</span></a></p>

Hey #mastodon 👋. Enlight me with your knowledge.

You know in programming languages like #python, #c/c++, etc., you could just create a variable in another file and call it into the main file directly. Like in Python -> `import dataset as ds`. What I wanted to know is how the interpreter and/or compiler does it. And can I do it myself ?