nrw.social ist einer von vielen unabhängigen Mastodon-Servern, mit dem du dich im Fediverse beteiligen kannst.
Wir sind eine freundliche Mastodon Instanz aus Nordrhein-Westfalen. Ob NRW'ler oder NRW-Sympathifanten, jeder ist hier willkommen.

Serverstatistik:

2,8 Tsd.
aktive Profile

#hashbangcode

0 Beiträge0 Beteiligte0 Beiträge heute
#! code<p>From the archive! Colour Sorting In PHP: Part 6</p><p>This the final part (so far) of a series of posts from <span class="h-card" translate="no"><a href="https://fosstodon.org/@philipnorton42" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>philipnorton42</span></a></span> about how to sort colours.</p><p>In this part Phil creates a very simplified 3D engine in PHP in order to show the RGB values of a number of colours in a 3D space, using the RBG values as coordinates in the scene.</p><p>This results in drawing a cube of colours and then rotating it to show the cube corner on.</p><p><a href="https://www.hashbangcode.com/article/colour-sorting-php-part-6" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">hashbangcode.com/article/colou</span><span class="invisible">r-sorting-php-part-6</span></a></p><p><a href="https://fosstodon.org/tags/php" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>php</span></a> <a href="https://fosstodon.org/tags/colour" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>colour</span></a> <a href="https://fosstodon.org/tags/hashbangcode" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>hashbangcode</span></a></p>
#! code<p>Happy pi day!</p><p>To celebrate, here's an old article where I calculate the value of pi by plotting random points on an image with two colours, using PHP.<br> <a href="https://www.hashbangcode.com/article/approximating-pi-using-circle-and-square" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">hashbangcode.com/article/appro</span><span class="invisible">ximating-pi-using-circle-and-square</span></a></p><p><a href="https://fosstodon.org/tags/php" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>php</span></a> <a href="https://fosstodon.org/tags/hashbangcode" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>hashbangcode</span></a></p>
#! code<p>New! DrupalCamp England 2025</p><p>The first DrupalCamp in England was held this weekend (1st March 2025) in Cambridge. I drove down on the Friday with Chris Maiden to attend (and speak!) at the event.</p><p>We arrived early at the event and and started the day with a much needed coffee (or two) and started chatting with the other attendees.</p><p><a href="https://www.hashbangcode.com/article/drupalcamp-england-2025" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">hashbangcode.com/article/drupa</span><span class="invisible">lcamp-england-2025</span></a><br><a href="https://fosstodon.org/tags/drupal" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>drupal</span></a> <a href="https://fosstodon.org/tags/drupalCampEngland2025" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>drupalCampEngland2025</span></a> <a href="https://fosstodon.org/tags/drupalCamp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>drupalCamp</span></a> <a href="https://fosstodon.org/tags/hashbangcode" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>hashbangcode</span></a></p>
#! code<p>New! Programming Using AI</p><p>Over the last couple of years the term "AI" has become a sort of marketing term that is banded about (and abused) by all sorts of companies with the intent of trying to make life easier</p><p>In this article we will define the term AI in the context of programming, look at some services that you can use to produce code, and go through some pros and cons of using AI systems to code.</p><p><a href="https://www.hashbangcode.com/article/programming-using-ai" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">hashbangcode.com/article/progr</span><span class="invisible">amming-using-ai</span></a></p><p><a href="https://fosstodon.org/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a> <a href="https://fosstodon.org/tags/hashbangcode" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>hashbangcode</span></a></p>
#! code<p>From the archive! Extracting Data From An MP3 With PHP</p><p>I was looking at a media player on my phone the other day and was watching the waveform of the music shown on screen.</p><p>After a bit of research into the MP3 file format I found that the file format is complex, but straight forward enough to process, so I decided to try and extract the data using PHP.</p><p><a href="https://www.hashbangcode.com/article/extracting-data-mp3-php" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">hashbangcode.com/article/extra</span><span class="invisible">cting-data-mp3-php</span></a><br><a href="https://fosstodon.org/tags/PHP" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PHP</span></a> <a href="https://fosstodon.org/tags/audio" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>audio</span></a> <a href="https://fosstodon.org/tags/mp3" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>mp3</span></a> <a href="https://fosstodon.org/tags/hashbangcode" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>hashbangcode</span></a></p>
#! code<p>New! Drupal 11: Creating Custom Queues<br>There are some situations where the core Drupal queue system needs to be altered in some way.<br>In this article we will look at how to create a custom queue, along with the queue factory needed to integrate that queue with Drupal.<br><a href="https://www.hashbangcode.com/article/drupal-11-creating-custom-queues" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">hashbangcode.com/article/drupa</span><span class="invisible">l-11-creating-custom-queues</span></a><br><a href="https://fosstodon.org/tags/drupal" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>drupal</span></a> <a href="https://fosstodon.org/tags/drupal11" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>drupal11</span></a> <a href="https://fosstodon.org/tags/drupalDevelopment" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>drupalDevelopment</span></a> <a href="https://fosstodon.org/tags/hashbangcode" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>hashbangcode</span></a></p>
#! code<p>From the archive! Creating A Word Clock With Python And Tkinter</p><p>The clock was essentially a wall of letters with lights behind that light up depending on what time it is as a sentence.</p><p>Without the lights the clock looks like a jumble of letters, it is only when the relevant letters are "lit" from behind is on that the relevant time is displayed.</p><p><a href="https://www.hashbangcode.com/article/creating-word-clock-python-and-tkinter" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">hashbangcode.com/article/creat</span><span class="invisible">ing-word-clock-python-and-tkinter</span></a></p><p><a href="https://fosstodon.org/tags/python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python</span></a> <a href="https://fosstodon.org/tags/tkinter" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>tkinter</span></a> <a href="https://fosstodon.org/tags/hashbangcode" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>hashbangcode</span></a> <a href="https://fosstodon.org/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a></p>
#! code<p>After some deliberation we have decided to turn off the adverts on the site tomorrow.<br>The small amount of money it brings to the site isn't enough to offset the stain the adverts bring to the site. After all, the most important thing for us is the content.<br>At the same time the cookie consent will be removed since there will be no analytics on the site.<br>If you want to help keep the site running then you can find our patreon page at <a href="https://www.patreon.com/hashbangcode" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">patreon.com/hashbangcode</span><span class="invisible"></span></a><br><a href="https://fosstodon.org/tags/hashbangcode" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>hashbangcode</span></a></p>