veganism.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Veganism Social is a welcoming space on the internet for vegans to connect and engage with the broader decentralized social media community.

Administered by:

Server stats:

230
active users

#pointers

0 posts0 participants0 posts today
andie :oh_no_bubble:<p>TIL: C array subscript operators are handled in such a way that `letters[i]` is equivalent to `*(letters + i)` and because addition is commutative, that expression is identical to `*(i + letters)`, which means that `i[letters]` is the same as `letters[i]`.</p><p>```<br><a href="https://tech.lgbt/tags/include" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>include</span></a> &lt;stdio.h&gt;<br><a href="https://tech.lgbt/tags/include" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>include</span></a> &lt;stddef.h&gt;</p><p>int main() {<br> char letters[3] = "abc";<br> size_t i = 2;<br> printf("letters: %p\n", (void *)&amp;letters);<br> printf("i[letters] (%p): %c\n", (void*)&amp;(i[letters]), i[letters]);<br> printf("letters[i] (%p): %c\n", (void*)&amp;(letters[i]), letters[i]);<br> return 0;<br>}<br>```</p><p>Which outputs:<br>```<br>letters: 0x7ffc68ec7bb9<br>i[letters] (0x7ffc68ec7bbb): c<br>letters[i] (0x7ffc68ec7bbb): c<br>```</p><p>Mind blown... :neofox_floof_explode: <br><a href="https://tech.lgbt/tags/til" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>til</span></a> <a href="https://tech.lgbt/tags/clang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>clang</span></a> <a href="https://tech.lgbt/tags/pointers" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pointers</span></a> <a href="https://tech.lgbt/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a></p>
Paul Houle<p>👇 Falsehoods programmers believe about null pointers</p><p><a href="https://purplesyringa.moe/blog/falsehoods-programmers-believe-about-null-pointers/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">purplesyringa.moe/blog/falseho</span><span class="invisible">ods-programmers-believe-about-null-pointers/</span></a></p><p><a href="https://mastodon.social/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a> <a href="https://mastodon.social/tags/software" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>software</span></a> <a href="https://mastodon.social/tags/pointers" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pointers</span></a> <a href="https://mastodon.social/tags/zero" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>zero</span></a> <a href="https://mastodon.social/tags/null" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>null</span></a> <a href="https://mastodon.social/tags/errors" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>errors</span></a> <a href="https://mastodon.social/tags/billiondollarmistake" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>billiondollarmistake</span></a></p>
André Machado :debian:<p>Discover the Unique World of PUNKX.org Card Games</p><p>PUNKX.org is a hub for intellectually stimulating and entertaining card games, perfect for those who love programming, problem-solving, or just a good challenge.</p><p>Read More: <a href="https://machaddr.substack.com/p/discover-the-unique-world-of-punkxorg" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="ellipsis">machaddr.substack.com/p/discov</span><span class="invisible">er-the-unique-world-of-punkxorg</span></a></p><p><a href="https://mastodon.sdf.org/tags/Programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Programming</span></a> <a href="https://mastodon.sdf.org/tags/Cards" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Cards</span></a> <a href="https://mastodon.sdf.org/tags/Game" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Game</span></a> <a href="https://mastodon.sdf.org/tags/Pointers" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Pointers</span></a> <a href="https://mastodon.sdf.org/tags/Encode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Encode</span></a> <a href="https://mastodon.sdf.org/tags/Decode" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Decode</span></a> <a href="https://mastodon.sdf.org/tags/Punkx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Punkx</span></a> <a href="https://mastodon.sdf.org/tags/UNIX" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>UNIX</span></a> <a href="https://mastodon.sdf.org/tags/Linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Linux</span></a> <a href="https://mastodon.sdf.org/tags/OpenSource" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OpenSource</span></a> <a href="https://mastodon.sdf.org/tags/Computer" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Computer</span></a> <a href="https://mastodon.sdf.org/tags/Science" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Science</span></a></p>
Steve's Place<p>I'm unraveling an Unreal Engine editor crash bug.</p><p>When the crash happened, the editor got confused internally between 2 characters. One has a set of pointers that the other does not.</p><p>When the game starts, and it's time to head to work, a vendor instead sprints to (0,0,0), and the log says one of those pointers is missing. It is not. It is missing in the other character because they are of 2 different base classes, and it doesn't have those pointers. That character with the "missing" pointer was once spawned in the game, but not as a vendor. What they have in common is the same skeletal meshes and animation blueprints.</p><p>Somewhere, somehow, it thinks both skeletal meshes use the vendor base class. Uh... no.</p><p>I saw the confusion when I was deleting the location markers. It showed both characters were using the location marker that it can't find when the game is running. Uh... no again.</p><p>About to delete the character it's confused about. Not the vendor. Yet. I may delete both of them and start over. If this breaks it all, well, thank goodness for backups.</p><p><a href="https://mastodon.stevesworld.co/tags/GameDev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GameDev</span></a> <a href="https://mastodon.stevesworld.co/tags/UE5" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>UE5</span></a> <a href="https://mastodon.stevesworld.co/tags/RPG" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RPG</span></a> <a href="https://mastodon.stevesworld.co/tags/pointers" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pointers</span></a></p>
ko kāihe ahauThe <a href="https://pixelfed.nz/discover/tags/SouthernCross?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#SouthernCross</a> and the <a href="https://pixelfed.nz/discover/tags/Pointers?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#Pointers</a> in late <a href="https://pixelfed.nz/discover/tags/April?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#April</a>, 2024.<br> <br> <a href="https://pixelfed.nz/discover/tags/ShotOniPhone?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#ShotOniPhone</a> <a href="https://pixelfed.nz/discover/tags/iPhone15ProMax?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#iPhone15ProMax</a> <a href="https://pixelfed.nz/discover/tags/iPhoneography?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#iPhoneography</a> <a class="u-url mention" href="https://pixelfed.nz/usedarkroom" rel="nofollow noopener" target="_blank">@usedarkroom</a> <a href="https://pixelfed.nz/discover/tags/Palmy?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#Palmy</a> <a href="https://pixelfed.nz/discover/tags/NightSky?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#NightSky</a> <a href="https://pixelfed.nz/discover/tags/Stars?src=hash" class="u-url hashtag" rel="nofollow noopener" target="_blank">#Stars</a>