med-mastodon.com is one of the many independent Mastodon servers you can use to participate in the fediverse.
Medical community on Mastodon

Administered by:

Server stats:

373
active users

#xxhash

0 posts0 participants0 posts today
Felix Palmen :freebsd: :c64:<p>Still working on <a href="https://mastodon.bsd.cafe/tags/swad" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>swad</span></a>, and currently very busy with improving quality, most of the actual work done inside my <a href="https://mastodon.bsd.cafe/tags/poser" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>poser</span></a> library.</p><p>After finally supporting <a href="https://mastodon.bsd.cafe/tags/kqueue" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>kqueue</span></a> and <a href="https://mastodon.bsd.cafe/tags/epoll" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>epoll</span></a>, I now integrated <a href="https://mastodon.bsd.cafe/tags/xxhash" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>xxhash</span></a> to completely replace my previous stupid and naive hashing. I also added a more involved <a href="https://mastodon.bsd.cafe/tags/dictionary" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dictionary</span></a> class as an alternative to the already existing <a href="https://mastodon.bsd.cafe/tags/hashtable" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>hashtable</span></a>. While the hashtable's size must be pre-configured and collissions are only ever resolved by storing linked lists, the new dictionary dynamically nests multiple hashtables (using different bits of a single hash value). I hope to achieve acceptable scaling while maintaining also acceptable memory overhead that way ...</p><p><a href="https://mastodon.bsd.cafe/tags/swad" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>swad</span></a> already uses both container classes as appropriate.</p><p>Next I'll probably revisit poser's <a href="https://mastodon.bsd.cafe/tags/threadpool" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>threadpool</span></a>. I think I could replace <a href="https://mastodon.bsd.cafe/tags/pthread" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pthread</span></a> condition variables by "simple" <a href="https://mastodon.bsd.cafe/tags/semaphores" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>semaphores</span></a>, which should also reduce overhead ... </p><p><a href="https://github.com/Zirias/swad" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">github.com/Zirias/swad</span><span class="invisible"></span></a></p><p><a href="https://mastodon.bsd.cafe/tags/c" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>c</span></a> <a href="https://mastodon.bsd.cafe/tags/coding" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>coding</span></a></p>
Todd A. Jacobs | Rubyist<p>Other than supporting legacy systems or implementing cryptographic password functions that *should* be slow, why aren't your teams using GNU or BSD tar with <a href="https://ruby.social/tags/zstd" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>zstd</span></a> compression and <a href="https://ruby.social/tags/xxHash" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>xxHash</span></a> or <a href="https://ruby.social/tags/Blake3" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Blake3</span></a> checksums yet? If time is money, please stop wasting either with legacy algorithms when there are faster, more secure, and more trusted options currently available.</p>
𝖆𝖒𝖆𝖗𝖔𝖐 🇨🇿🇪🇺<p>Today <a href="https://mastodonczech.cz/tags/PHP" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PHP</span></a> has built-in support for 60 hash algorithms 😎 <br>One of the new ones is <a href="https://mastodonczech.cz/tags/xxHash" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>xxHash</span></a>. <br>Ultra fast, portable, cool. Why do people still use MD5 or SHA1 for file checksums?<br><a href="https://mastodonczech.cz/tags/Debian" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Debian</span></a> package: `apt install xxhash`<br>PHPwatch article ➡️ <a href="https://php.watch/versions/8.1/xxHash" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">php.watch/versions/8.1/xxHash</span><span class="invisible"></span></a><br>Official home ➡️ <a href="https://xxhash.com/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">xxhash.com/</span><span class="invisible"></span></a></p>
Todd A. Jacobs | Rubyist<p>I'm curious to know what other people do. I know I've asked before, and QT or GTK have been suggested, but are there better options especially for <a href="https://ruby.social/tags/macOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>macOS</span></a>? I don't think <a href="https://ruby.social/tags/RubyMotion" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RubyMotion</span></a> is still maintained, and even if I switch to <a href="https://ruby.social/tags/CrystalLang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CrystalLang</span></a> I still have a <a href="https://ruby.social/tags/UI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>UI</span></a> issue to solve for.</p><p>I'm also curious to know if anyone knows of a better <a href="https://ruby.social/tags/xxHash" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>xxHash</span></a> <a href="https://ruby.social/tags/RubyGem" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RubyGem</span></a> or wrapper than digest-xxhash-ruby, which is a relatively new project that doesn't seem to have wide adoption.</p><p>What says the <a href="https://ruby.social/tags/RubyHiveMind" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RubyHiveMind</span></a> on this?</p>
Todd A. Jacobs | Rubyist<p>I'm really giving thought to building a <a href="https://ruby.social/tags/crossplatform" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>crossplatform</span></a> but <a href="https://ruby.social/tags/macOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>macOS</span></a> friendly <a href="https://ruby.social/tags/GUI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GUI</span></a> for doing file manifests with <a href="https://ruby.social/tags/xxHash" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>xxHash</span></a> and focused on <a href="https://ruby.social/tags/XXH3" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>XXH3</span></a>. However, I'm still unhappy with the options for GUIs; I could do it as a <a href="https://ruby.social/tags/RoR" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RoR</span></a> or <a href="https://ruby.social/tags/Sinatra" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Sinatra</span></a> app with a database, but I'm not a fan of having to run a <a href="https://ruby.social/tags/webserver" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webserver</span></a> just to have a GUI. Still, that seems like the easiest path, since (as an example) Shoes4 last released in Nov. 2017, scarpe is pretty new, and no one but me likes Tk and the bindings have poor docs. …</p>