<FromGitter>
<me:ky.rs> just a wild guess from glancing at their api + all the api madness ive seen out there: maybe put `formdata.field("type", "dtg")` as the first field?
<FromGitter>
<mixflame> ok! i will try that
postmodern has joined #crystal-lang
jhass[m] has quit [Remote host closed the connection]
jhass[m] has joined #crystal-lang
Stephie has quit [Ping timeout: 268 seconds]
Stephie has joined #crystal-lang
postmodern has quit [Quit: Leaving]
Guest59 has joined #crystal-lang
<Guest59>
Hi
Guest59 has quit [Ping timeout: 250 seconds]
Guest1 has joined #crystal-lang
Guest1 has left #crystal-lang [#crystal-lang]
deavmi has joined #crystal-lang
deavmi has quit [Read error: Connection reset by peer]
deavmi_ has joined #crystal-lang
<FromGitter>
<naqvis> Hi
arestifo has joined #crystal-lang
deavmi_ has quit [Read error: Connection reset by peer]
deavmi has joined #crystal-lang
lanodan has quit [Ping timeout: 264 seconds]
lanodan has joined #crystal-lang
deavmi has quit [Ping timeout: 245 seconds]
deavmi has joined #crystal-lang
arestifo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<FromGitter>
<Daniel-Worrall> Can either use it in rpi docker, or use it to build for ubuntu without cross compile
<FromGitter>
<Daniel-Worrall> Okay, I don't have a Comp Sci background, so hopefully this isn't a dumb question. Would a binary cross compiled result in the same binary compiled locally assuming they're both static/release/etc/source version/target version
<FromGitter>
<mistergibson:matrix.org> the arm procedure didn't work for me -- I'll keep trying. Any idea when an *official* arm64 build will be forthcoming?
<FromGitter>
<Daniel-Worrall> If you check out the dockerfile, you can see the usual hardships with cross-compiling, specifically the compiler. libcrystal.a for example, which is being removed in future crystal builds
<FromGitter>
<Daniel-Worrall> Also uses alpine to avoid problems with dynamic linking
deavmi has quit [Ping timeout: 245 seconds]
<straight-shoota>
> Would a binary cross compiled result in the same binary compiled locally assuming they're both static/release/etc/source version/target version
<straight-shoota>
Yes, should have the same result AFAIK
<straight-shoota>
Code is generated by LLVM and that should operate the same way, whether it's building for the native architecture or a different one
<FromGitter>
<Daniel-Worrall> So, I had an answer in the crystal discord. Reproducability (byte-for-byte) is a complicated issue, but the programs will be "the same"
<FromGitter>
<elorest> Is there a better way to do line 2 of this? A way to take advantage of the fact that the compiler already knows what type the value is supposed to be. ⏎ https://carc.in/#/r/bb91
<FromGitter>
<wyhaines> Generally, reopening standard lib types to add things is risky business, especially when they depend on other implementation details.
<FromGitter>
<elorest> @wyhaines Yeah I generally try to avoid that. I was hoping there was something more general with types and aliases. Thanks though.
<FromGitter>
<sclee15> Will CrystalConf unvail videos on YouTube? I am a Crystal user from South Korea. Since the event time starts up at 12AM in my timezone. I cannot attend the live event.
<FromGitter>
<wyhaines> I don't know of any standard method that gives you the type that an array stores, unless you go and create one yourself as above. ⏎ ⏎ You could finagle something with a macro and *typeof*, which might also be reasonable if you are repeating the above pattern A LOT, but it also won't be particularly *pretty* in implementation).