<crystal-gh>
[crystal] kostya opened pull request #2541: allow string split by char with yield (master...split_with_yield) https://git.io/vwDmq
soveran has joined #crystal-lang
soveran has quit [Ping timeout: 244 seconds]
A124 has quit [Read error: Connection reset by peer]
A124 has joined #crystal-lang
pawnbox has joined #crystal-lang
nakilon has quit [Ping timeout: 276 seconds]
pawnbox has quit [Ping timeout: 244 seconds]
nwmcsween_ has joined #crystal-lang
Guest53750 has quit [Ping timeout: 260 seconds]
betheynyx has quit [Max SendQ exceeded]
soveran has joined #crystal-lang
buggs1 has quit [Read error: Connection reset by peer]
buggs1 has joined #crystal-lang
|2701 has quit [Ping timeout: 260 seconds]
guilleiguaran__ has quit [Ping timeout: 260 seconds]
|2701 has joined #crystal-lang
guilleiguaran__ has joined #crystal-lang
soveran has quit [Ping timeout: 252 seconds]
buggs1 has quit [Read error: Network is unreachable]
buggs1 has joined #crystal-lang
nakilon has joined #crystal-lang
ismaelga has quit [Remote host closed the connection]
nakilon has quit [Ping timeout: 260 seconds]
soveran has joined #crystal-lang
pawnbox has joined #crystal-lang
soveran has quit [Ping timeout: 244 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
ponga has joined #crystal-lang
betheynyx has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
soveran has joined #crystal-lang
pawnbox_ has joined #crystal-lang
pawnbox has quit [Ping timeout: 246 seconds]
nakilon has joined #crystal-lang
nakilon has quit [Ping timeout: 260 seconds]
triangles has quit [Quit: Leaving]
ponga has quit []
pawnbox_ has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
soveran has quit [Read error: Connection reset by peer]
soveran has joined #crystal-lang
soveran has quit [Read error: Connection reset by peer]
soveran has joined #crystal-lang
pawnbox_ has joined #crystal-lang
pawnbox has quit [Ping timeout: 246 seconds]
pawnbox has joined #crystal-lang
pawnbox_ has quit [Ping timeout: 250 seconds]
pawnbox_ has joined #crystal-lang
pawnbox has quit [Ping timeout: 250 seconds]
<crystal-gh>
[crystal] will opened pull request #2542: Crypto::MD5 also allow Slice(UInt8) (master...md5) https://git.io/vwDEY
Philpax has quit [Read error: Connection reset by peer]
Philpax has joined #crystal-lang
nakilon has joined #crystal-lang
nakilon has quit [Ping timeout: 276 seconds]
pawnbox_ has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
nakilon has joined #crystal-lang
ome has joined #crystal-lang
trapped has joined #crystal-lang
pawnbox has quit [Ping timeout: 246 seconds]
pawnbox has joined #crystal-lang
maxpowa has quit [Ping timeout: 250 seconds]
pawnbox has quit [Remote host closed the connection]
ponga has joined #crystal-lang
soveran has quit [Remote host closed the connection]
<crystal-gh>
[crystal] jhass closed pull request #2534: Make page title dynamic (gh-pages...patch-2) https://git.io/vw1cj
pawnbox has joined #crystal-lang
ponga has quit []
ismaelga has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox_ has joined #crystal-lang
Sariyar has joined #crystal-lang
pawnbox has quit [Ping timeout: 276 seconds]
Philpax has quit [Ping timeout: 252 seconds]
soveran has joined #crystal-lang
soveran has quit [Changing host]
soveran has joined #crystal-lang
betheynyx has quit [Excess Flood]
soveran has quit [Ping timeout: 276 seconds]
betheynyx_ has joined #crystal-lang
olbat_ has joined #crystal-lang
buggs1 has quit [Ping timeout: 276 seconds]
olbat has quit [Ping timeout: 276 seconds]
buggs1 has joined #crystal-lang
<crystal-gh>
[crystal] MakeNowJust opened pull request #2543: Add IDNA support and integrate with DNS lookup (master...feature/punycode) https://git.io/vwDyP
nakilon has quit [Ping timeout: 260 seconds]
maxpowa has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Ping timeout: 244 seconds]
ponga has joined #crystal-lang
pawnbox_ has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
soveran has joined #crystal-lang
pawnbox has quit [Ping timeout: 244 seconds]
soveran has quit [Ping timeout: 244 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 240 seconds]
pawnbox has joined #crystal-lang
Sariyar has quit [Quit: Connection closed for inactivity]
jwaldrip has quit [Read error: Connection reset by peer]
jwaldrip has joined #crystal-lang
<crystal-gh>
[crystal] MakeNowJust opened pull request #2544: Fix to redirect corrected URL (master...fix/redirect-corrected-url) https://git.io/vwyUF
buggs1 is now known as buggs
LastWhisper____ has joined #crystal-lang
LastWhisper____ has quit [Read error: Connection reset by peer]
LastWhisper____ has joined #crystal-lang
trapped has quit [Read error: Connection reset by peer]
ome has quit [Ping timeout: 260 seconds]
betheynyx_ has quit [Excess Flood]
emmanueloga has quit [Ping timeout: 260 seconds]
ponga has quit [Ping timeout: 260 seconds]
ldlework has quit [Ping timeout: 260 seconds]
AckZ has quit [Ping timeout: 260 seconds]
toydestroyer has quit [Ping timeout: 260 seconds]
_whitelogger has joined #crystal-lang
AckZ_ is now known as AckZ
emmanueloga_ is now known as emmanueloga
soveran has joined #crystal-lang
jfontan has joined #crystal-lang
AckZ has quit []
soveran has quit [Ping timeout: 244 seconds]
Sariyar has joined #crystal-lang
bjmllr has joined #crystal-lang
sp4rrow has joined #crystal-lang
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
maxpowa has quit [Ping timeout: 276 seconds]
sp4rrow has joined #crystal-lang
sp4rrow has quit [Client Quit]
sp4rrow has joined #crystal-lang
<crystal-gh>
[crystal] asterite closed pull request #2473: Compiler: guess types from `obj.tap { ... }` (guess from `obj`) (master...feature/guess_tap) https://git.io/vwtdx
ismaelga has quit [Remote host closed the connection]
<crystal-gh>
[crystal] asterite pushed 3 new commits to master: https://git.io/vwyVx
<BlaXpirit>
|2701, do you want to manipulate bytes or pixels?
<|2701>
ultimately, I'll be writing to several different formats, so I'll need to work with bytes
<BlaXpirit>
|2701, contents of a file is an array of bytes. you can use Array(UInt8) or Slice(UInt8)
<|2701>
but is there builtin pixel manipulation already?
<BlaXpirit>
|2701, uh no?
<|2701>
ok, I hadnt seen any but I thought I'd ask
<asterite>
|2701: what do yo mean by "builtin pixel manipulation"?
<|2701>
no I thought he was saying that image manipulation was already a thing, I had looked through the API and didnt see anything that looked like it, so thats why I wondered
<|2701>
communication lapse, i guess
<sp4rrow>
is there a way to get access to an objects types as an array or something
<sp4rrow>
I want to be ables to access the types individually like `obj.types.each {|x| puts x}`
<asterite>
You mean, the instance variables?
<BlaXpirit>
asterite, I think like Int32|String -> [Int32, String]
<sp4rrow>
yeah I think so
<sp4rrow>
do you mean instance variables like in meta programming
<asterite>
I'm not sure, I don't know what "obj" and "obj.types" are
<BlaXpirit>
sp4rrow, note that an object has only one type (.class property) but you're looking at a compiletime concept that says "this could be an object of any of these classes"
<asterite>
maybe what BlaXpirit says
<RX14>
in macros you can do it
<sp4rrow>
union types right
<RX14>
type.union_types in a macro
<sp4rrow>
that make alot of sense
<RX14>
then you can stringify
<RX14>
and make an array
<RX14>
which you can use at runtime
<sp4rrow>
I true
<RX14>
of strings though
<RX14>
there isn't a runtime type for type is there
<sp4rrow>
I was looking at flatten and trying to wrap my head around the problem
<asterite>
I don't think there's an easier way to do that
<RX14>
wait what
<sp4rrow>
I was thinking of looking at the iterators type for flatten and pulling out all the nested types for a return type then I realized quickly that would not work
<asterite>
with T you get access to the type of x, then you inspect it with macros and return the union types. The type of a union type (or any type) is Class
<RX14>
crystal has runtime class types?
<BlaXpirit>
RX14, well yeah, like
<RX14>
idk i thought it didn't somehow
<BlaXpirit>
>> pp [Int32, Array]
<asterite>
RX14: kind of, it's Class. But classes can't be added at runtime