Wednesday, April 10

Geek

Daily News Stuff 10 April 2019

It's A Spreadsheet And Therefore Technically I'm Working Edition

Tech News



Ruby Ballroom

  • So today I ventured out beyond the Crystal standard library and...  Uh, yeah, things immediately got rather bumpy.

    Trying to do a shards install of crystal-lmdb failed until I had the bright idea of removing the version specification.  Compiling it failed because it couldn't find liblmdb.a located in /usr/local/lib.

    (LMDB was in /usr/local/lib because I had to build it manually because the version that comes with Ubuntu 18.04 crashes when you run the test script bundled with crystal-lmdb.  Well, good for the test script.

    Fixed that and shards build can't find the library I just installed with shards install. I have no idea why.  It congratulates me on finding a compiler bug.  Yay.
    Error: you've found a bug in the Crystal compiler. Please open an issue, including source code that will allow us to reproduce the bug: https://github.com/crystal-lang/crystal/issues
    I can just drop crystal-lmdb into my source directory and build it - and I did and it works and I can read and write a million (small) database records per second.  But the build tools and their error messages need, let's just say, a little TLC.


Social Media News


Disclaimer: You went full [Orwellian Ministry].  Never go full [Orwellian Ministry].

Posted by: Pixy Misa at 11:59 PM | No Comments | Add Comment | Trackbacks (Suck)
Post contains 525 words, total size 6 kb.




Apple pies are delicious. But never mind apple pies. What colour is a green orange?




52kb generated in CPU 0.0228, elapsed 0.1251 seconds.
56 queries taking 0.1147 seconds, 339 records returned.
Powered by Minx 1.1.6c-pink.