<mps>
but when I already started, 'while x' is more appropriate in counting while 'while true' in 'eventing' (so to say), I feel
<FromGitter>
<HertzDevil> i'm referring mainly to their semantics
<FromGitter>
<HertzDevil> most importantly, scoping and type inference
<mps>
aha, I read it 'in general' (and as wrote my first answer was on wrong channel)
<mps>
uh, even 1.0.0 failed compiler test on aarch64 and musl libc, runs subcommand in preference to a filename Invalid memory access (signal 11) at address 0xfff6f096a2d8
<mps>
so, if it pass this on M1 then it is not arm64 problem related but musl related, tend to think
<straight-shoota>
mps, yeah there are still some issues with aarch64 and musl (independently) unfortunately
<mps>
straight-shoota: yes, and I'm not sure is it related to musl or gc (boehm GC)
<mps>
because on x86_64 it segfaults in one specific spec (didn't noted which one) but on aarc64 it segfaults at the compiler spec
DTZUZU has quit [Read error: Connection reset by peer]
DTZUZU has joined #crystal-lang
<straight-shoota>
I think x86_64 fails on different locations
andremedeiros has quit [Read error: Connection reset by peer]
DTZUZU has quit [Ping timeout: 245 seconds]
<mps>
this morning I tried 1.0.0 on x86_64, but had to delete build log because need to do some urgent fixes on other package
andremedeiros has joined #crystal-lang
<mps>
will try to find some time this evening and upload build log somewhere for reference, probably on dev.alpinelinux.org/~mps/
postmodern has joined #crystal-lang
<FromGitter>
<asterite> @HertzDevil oh, that's a great observation. It means there would be no special logic needed for the "while condition". I think right now there are some issues with it. I think the two snippets should be equivalent. Or... try it, and if all the compiler and std specs pass, there's a really high chance they are equivalent :-)
DTZUZU_ has joined #crystal-lang
<dfdx>
hi everyone. I just started looking into Crystal yesterday because of the post on the HN frontpage yesterday. Looks really cool. One question I haven't been to answer yet is on whitespace -- is it enforced? Or could I, for example, put this all on one line: class CurrencyConversion def initialize(@amount, @target_currency) end
<yxhuvud>
so, what does "Error in shard.yml: Missing resolver for dependency "crystal" at line 20, column 3" actually mean?
<FromGitter>
<oprypin:matrix.org> yxhuvud, uhhhh can you provide the shard.yml and the versions
<FromGitter>
<oprypin:matrix.org> i suspect that this happens when you wrote it nested like `dependencies: crystal:` but actually it's just `crystal:`
<yxhuvud>
seems to be. Hmm. Do you see anything in https://github.com/yxhuvud/ior/blob/master/shard.yml that would block installation? I get No shard.yml was found for shard "ior" at commit 63fe85562673fbe, but that commit literally only contains a change to shard.yml
<FromGitter>
<Blacksmoke16> shouldnt the repo have tags for the version?
<yxhuvud>
it worked to install in the previous version at 209260a
<straight-shoota>
yxhuvud, that shard.yml is invalid
<straight-shoota>
you need to put the version in restriction in quotes
<yxhuvud>
I see. thanks.
<FromGitter>
<alexherbo2> is there a cross platform way to play system bell sound?
<FromGitter>
<alexherbo2> on linux there is libcanberra and mac cocoa
duane has joined #crystal-lang
<FromGitter>
<hugopl> if it's a terminal application, printing `"\a"` does that IIRC, and my guess is that it also works on windows.
<straight-shoota>
I don't know how dnf works, but rpm packages are also available
<FromGitter>
<roduquen> I don't know how I change package I search and try to change stable to 0.36.1 but didn't work
<straight-shoota>
Just tell DNF wich version you want. I don't know how that works, though, but surely there is a way...
<FromGitter>
<roduquen> I guess it is not the way
<straight-shoota>
if nothing works you can just grab the .rpm directly from bintray or github release
<FromGitter>
<roduquen> I'll not lie I don't really know how works this docker I just use the one we paid a devops to do and then copy paste from the web the little changes that had to be done
<FromGitter>
<roduquen> I ll try with no version check
<FromGitter>
<roduquen> if it doesn't work I ll have to work on the docker
<FromGitter>
<roduquen> thanks anyway
<FromGitter>
<ezrast_gitlab> I think you can change `dnf install crystal` to `dnf install crystal-0.36.1`. Works for me noodling around in `centos:latest` from the command line anyway.
f1refly has joined #crystal-lang
<vasanth>
straight-shoota, I am trying to start looking into the internals of Crystal to understand the language more. I am trying to figure out how basic things like the equivalents of Ruby's Module#include and Module#extend are implemented in Crystal.
<FromGitter>
<Blacksmoke16> is where it happens at least
<f1refly>
good job on hackernews today guys
<f1refly>
I think you got a hell of a lot exposure
<vasanth>
Thanks!
<FromGitter>
<Blacksmoke16> however there are somethings crystal doesnt have, e.g. `Object#send` being the main one
<straight-shoota>
on time with Crystal 1.0 my mouse died :(
<straight-shoota>
it was 10 years old
<straight-shoota>
So I don't have any fresh experience. Any advise on a good replacement? I was thinking just to grab the same Logitech M500 or upgrade to an MX Master...
<FromGitter>
<erdnaxeli:cervoi.se> the mx master is nice, if you accept a bluetooth device that need to be charged
<straight-shoota>
but they're holding out quite long these days, right?
<FromGitter>
<roduquen> > I think you can change `dnf install crystal` to `dnf install crystal-0.36.1`. Works for me noodling around in `centos:latest` from the command line anyway. โ โ Thanks man
<FromGitter>
<oprypin:matrix.org> straight-shoota, i use Logitech G203. very high quality and no frills
<FromGitter>
<Daniel-Worrall> Just recently bought a SS rival 310. Very solid. Bit of a gamer. Personally, I recommend going in store and feeling the mice, but 'rona.
sorcus has quit [Ping timeout: 240 seconds]
<straight-shoota>
Well, stores are actually open again here in Germany. You just have to make an appointment.
<FromGitter>
<erdnaxeli:cervoi.se> yes, I am not sure but maybe two weeks?ย that's long enough so Iย forget ^^
<FromGitter>
<erdnaxeli:cervoi.se> maybe one month
<FromGitter>
<erdnaxeli:cervoi.se> I really don't know
<straight-shoota>
recharging over USB also seems nicer than switching AAA batteries on the MS Bluetooth Mouse I had before
<FromGitter>
<RespiteSage> I recently got the Logitech M720. It's definitely the nicest wireless mouse I've ever used; uses batteries, but makes it really easy to switch between the one USB dongle input and the two bluetooth inputs.
<FromGitter>
<Daniel-Worrall> stores may be open, but whether or not you're able to touch the stock is another question
<FromGitter>
<Daniel-Worrall> Also, wireless mice are fantastic these days. I don't trust them for fps games yet though
<straight-shoota>
true. but it seems the sanitziation madness is over
<FromGitter>
<erdnaxeli:cervoi.se> I though `{{debug}}` was outputing a formatted version on my macro generated code, but it isn't anymore