Ary Borenszweig

Results 76 issues of Ary Borenszweig

Hi! Every time I want to use SDL I can get most of what I need but then I always add these things: https://github.com/asterite/crystal_sdl2_examples/blob/master/src/sdl_ext.cr Do you think it's worth adding...

Fixes https://github.com/crystal-lang/crystal/issues/8237 # What's this? This PR allows unlimited levels of block unpacking. For example, taking #8237 as a reference, this now works: ```crystal boxes = [ { {0, 0},...

kind:feature
topic:compiler

This code crashes the interpreter: ```crystal x = LibPCRE.free x.call(Pointer(Void).new(0)) ``` The problem is that `LibCPRE.free`'s type is `Proc(Void*)`. Right now Crystal returns that type from `LibPCRE.free`, which is 16...

kind:bug
topic:compiler:interpreter

Take this benchmark: ```crystal require "benchmark" require "compress/zlib" string = "The quick brown fox jumps over the lazy dog" n = 100_000 Benchmark.bm do |bm| bm.report("deflating") do n.times do deflated...

topic:stdlib
performance

Some specs in `spec/std/http/server/server_spec.cr`, when ran in interpreted mode, timeout. This doesn't make much sense because even though the interpreter is slower than compiled mode, it's not that much slower...

kind:bug
kind:specs

#### Input [→ View on sorbet.run](https://sorbet.run/#%23%20typed%3A%20true%0Adef%20foo%0A%20%20%5B%0A%20%20%20%20%7Bx%3A%201%2C%20partial%3A%20false%7D%2C%20%0A%20%20%20%20%7Bx%3A%202%2C%20partial%3A%20true%7D%2C%0A%20%20%5D.each%20do%20%7Cx%3A%2C%20partial%3A%7C%0A%20%20%20%20if%20partial%0A%20%20%20%20%20%20puts%20%22Hello%22%0A%20%20%20%20end%0A%20%20end%0Aend) ```ruby # typed: true def foo [ {x: 1, partial: false}, {x: 2, partial: true}, ].each do |x:, partial:| if partial puts "Hello" end...

bug

Hi! Thank you for this nice little gem 🙏 According to some sources, like [this one](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite), it seems if "SameSite=None" is specified then "Secure" must also be specified, otherwise the...

Hi! First of all, thank you so much for this project! I have some ideas of how to provide autocompletion that wouldn't take that much time, although it might not...

enhancement

Extracted from #53 Right now autocompletion and other features (like the hierarchy tree that's shown at the top of the file) doesn't work if the source isn't valid Crystal code...

enhancement

# How operators work right now Right now you can do: ```crystal typeof(1 + 2_i64) # => Int32 typeof(1_i64 + 2) # => Int64 typeof(1 + 2_i8) # => Int32...

status:discussion
community:help-wanted
breaking-change
topic:stdlib:numeric