shakedown.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A community for live music fans with roots in the jam scene. Shakedown Social is run by a team of volunteers (led by @clifff and @sethadam1) and funded by donations.

Administered by:

Server stats:

266
active users

#polymorphism

0 posts0 participants0 posts today
PLOS Biology<p>The kākāpō is an endangered <a href="https://fediscience.org/tags/parrot" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>parrot</span></a> endemic to NZ. @LaraUrban42 @HernMoral &amp; co's study of most living <a href="https://fediscience.org/tags/kakapo" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>kakapo</span></a> shows that their green vs olive <a href="https://fediscience.org/tags/feather" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>feather</span></a> color <a href="https://fediscience.org/tags/polymorphism" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>polymorphism</span></a> has a structural basis and may result from past predation <a href="https://fediscience.org/tags/PLOSBiology" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PLOSBiology</span></a> <a href="https://plos.io/4daSv1Z" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">plos.io/4daSv1Z</span><span class="invisible"></span></a></p>
Charrvein<p>Now moving to the anadromous charr</p><p>What is the ancestral state of Craniofacial morphology in Arctic charr?</p><p>And how variable are the putative ancestral populations?</p><p>Bones from anadromous <br>Pictured the 4 sympatric morphs </p><p><a href="https://mastodon.online/tags/evolution" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>evolution</span></a> <a href="https://mastodon.online/tags/Craniofacial" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Craniofacial</span></a> <a href="https://mastodon.online/tags/divergence" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>divergence</span></a> <a href="https://mastodon.online/tags/adaptation" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>adaptation</span></a> <a href="https://mastodon.online/tags/sympatric" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>sympatric</span></a> <a href="https://mastodon.online/tags/polymorphism" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>polymorphism</span></a></p>
billseipel<p><a href="https://fosstodon.org/tags/specification" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>specification</span></a> pattern versus eliminating conditional logic via polymorphism. </p><p>Discuss. </p><p><a href="https://fosstodon.org/tags/designpatterns" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>designpatterns</span></a> <a href="https://fosstodon.org/tags/specification" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>specification</span></a> <a href="https://fosstodon.org/tags/polymorphism" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>polymorphism</span></a> <a href="https://fosstodon.org/tags/oop" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>oop</span></a> <a href="https://fosstodon.org/tags/dotnet" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dotnet</span></a></p>
billseipel<p>We have a database "rules engine" that I greatly dislike. The maintenance of it is especially troubling.</p><p>It is essentially a huge Conditional statement. Which leads me to Martin Fowler's solution: conditionals as polymorphism.</p><p>Which led me to use JSON schemas to define the polymorphed classes at runtime. But <a href="https://fosstodon.org/tags/polymorphism" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>polymorphism</span></a> in <a href="https://fosstodon.org/tags/json" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>json</span></a> isnt quite that simple. </p><p>I've also considered the <a href="https://fosstodon.org/tags/specification" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>specification</span></a> pattern. But maintaining specifications is the issue.</p><p>Still thinking.</p><p><a href="https://fosstodon.org/tags/designpatterns" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>designpatterns</span></a> <a href="https://fosstodon.org/tags/dotnet" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dotnet</span></a></p>
Somē<p>My CLI tool Depo, which aims to manage dependencies for <a href="https://tech.lgbt/tags/Clojure" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Clojure</span></a> projects, which conveniently has many different formats of configurations, seems to be the perfect place to use <a href="https://tech.lgbt/tags/protocols" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>protocols</span></a> <br> and <a href="https://tech.lgbt/tags/multimethods" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>multimethods</span></a>.</p><p>After rewriting the dispatch flow three times, I feel like this is the cleanest my abilities have been able to get it. Would be cool if someone would take a look-see and let me know if protocols/multimethods makes sense in this context!</p><p><a href="https://tech.lgbt/tags/jvm" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>jvm</span></a> <a href="https://tech.lgbt/tags/polymorphism" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>polymorphism</span></a> <a href="https://tech.lgbt/tags/code" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>code</span></a> <a href="https://tech.lgbt/tags/codereview" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>codereview</span></a> </p><p><a href="https://github.com/somecho/depo/blob/master/src/depo/dispatch.clj#L33" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/somecho/depo/blob/m</span><span class="invisible">aster/src/depo/dispatch.clj#L33</span></a></p>