adam12 changed the topic of #ruby to: Rules: https://ruby-community.com | Ruby 3.0.2, 2.7.4, 2.6.8: https://www.ruby-lang.org | Paste 4+ lines to: https://gist.github.com | Books: https://goo.gl/wpGhoQ
kwilczynski has joined #ruby
Rounin has quit [Ping timeout: 268 seconds]
bandithijo has joined #ruby
drincruz_ has quit [Read error: Connection reset by peer]
drincruz_ has joined #ruby
shrub is now known as psb
reset has joined #ruby
ur5us has quit [Ping timeout: 245 seconds]
elf_fortrez has quit [Quit: Client closed]
goldfish has quit [Ping timeout: 255 seconds]
orbyt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ur5us has joined #ruby
elf_fortrez has joined #ruby
ua_ has quit [Quit: Leaving]
drincruz_ has quit [Ping timeout: 265 seconds]
jetchisel has joined #ruby
drincruz_ has joined #ruby
drincruz_ has quit [Ping timeout: 265 seconds]
drincruz_ has joined #ruby
drincruz_ has quit [Ping timeout: 272 seconds]
easbarbosa has joined #ruby
elf_fortrez has quit [Ping timeout: 246 seconds]
lunarkitty has quit [Quit: Connection closed for inactivity]
lucf117 has quit [Remote host closed the connection]
ua_ has joined #ruby
easbarbosa has quit [Remote host closed the connection]
elf_fortrez has joined #ruby
elf_fortrez has quit [Client Quit]
ur5us has quit [Ping timeout: 255 seconds]
drincruz_ has joined #ruby
drincruz_ has quit [Ping timeout: 246 seconds]
_ht has joined #ruby
lunarkitty has joined #ruby
aeris has quit [Remote host closed the connection]
aeris has joined #ruby
splud has quit [Ping timeout: 240 seconds]
aeris has quit [Remote host closed the connection]
aeris has joined #ruby
splud has joined #ruby
aeris has quit [Remote host closed the connection]
aeris has joined #ruby
teclator has joined #ruby
riceandbeans has quit [Read error: Connection reset by peer]
riceandbeans has joined #ruby
belak51 has joined #ruby
legahc- has joined #ruby
belak has quit [Ping timeout: 252 seconds]
legahc has quit [Read error: Connection reset by peer]
legahc- is now known as legahc
Bounga has joined #ruby
goldfish has joined #ruby
elf_fortrez has joined #ruby
goldfish has quit [Ping timeout: 252 seconds]
teclator has quit [Read error: Connection reset by peer]
teclator has joined #ruby
Garb0 has joined #ruby
gr33n7007h has quit [Quit: WeeChat 3.2]
chris- has joined #ruby
Rounin has joined #ruby
drincruz_ has joined #ruby
elf_fortrez has quit [Quit: Client closed]
drincruz_ has quit [Ping timeout: 258 seconds]
elf_fortrez has joined #ruby
<rapha> hi all
<rapha> when nokogiri's #to_xml outputs "xmlEscapeEntities : char out of range", is there a way to get it to tell you _which_ of the potentially hundreds of thousands of chars in the written document was out of range?
<Cork> rapha: simplest is prob to check what .encoding you have on the different strings you add to the document
<Cork> cause one of them is prob in a none compatible encoding
elf_fortrez has quit [Ping timeout: 246 seconds]
drincruz_ has joined #ruby
jacktar has quit [Ping timeout: 244 seconds]
jacktar has joined #ruby
lunarkitty has quit [Quit: Connection closed for inactivity]
chris- has quit [Ping timeout: 255 seconds]
gr33n7007h has joined #ruby
elf_fortrez has joined #ruby
drincruz_ has quit [Ping timeout: 272 seconds]
<rapha> Cork: all come back as UTF-8.
<rapha> it's 72000 strings though.
<Cork> rapha: then you shouldn't get entity encoding error...
<rapha> Cork: why can't a string be declared as utf8 while one of the characters in said string has a number code outside of unicode? seems like a legit problem...
darkxploit has quit [Quit: darkxploit]
<Cork> rapha: strings is just repeated numbers, without encoding you have nothing
<Cork> rapha: btw what encoding have you told nokogiri to use?
<Cork> that is separate from the strings you use with it
<Cork> so it might be your using utf-8 encoded strings but tell nokogiri to use iso-5596 or something
nakilon8 has joined #ruby
rhe4 has joined #ruby
sagax_ has joined #ruby
explorier8 has joined #ruby
nyuszika7h_ has joined #ruby
ikonia_ has joined #ruby
nullheroes has joined #ruby
JayDoubleu_ has joined #ruby
lesihctej has joined #ruby
darkxploit has joined #ruby
rg1 has joined #ruby
lesihctej has quit [Client Quit]
ged_ has joined #ruby
nyuszika7h has quit [Killed (lithium.libera.chat (Nickname regained by services))]
nyuszika7h_ is now known as nyuszika7h
mahlon_ has joined #ruby
jetchisel has quit [*.net *.split]
ged has quit [*.net *.split]
mahlon has quit [*.net *.split]
weaksauce has quit [*.net *.split]
dvu has quit [*.net *.split]
rg has quit [*.net *.split]
sagax has quit [*.net *.split]
rhe has quit [*.net *.split]
ikonia has quit [*.net *.split]
JayDoubleu has quit [*.net *.split]
nakilon has quit [*.net *.split]
explorier has quit [*.net *.split]
rhe4 is now known as rhe
nakilon8 is now known as nakilon
explorier8 is now known as explorier
ged_ is now known as ged
JayDoubleu_ is now known as JayDoubleu
Byteflux is now known as Bitflux
Bitflux is now known as Byteflux
elf_fortrez has quit [Quit: Client closed]
drincruz_ has joined #ruby
chris- has joined #ruby
chris- has quit [Ping timeout: 255 seconds]
<aesthetikx> is there anyone here who has been writing ruby since before say 2005
<xyhuvud> yes
ua_ has quit [Ping timeout: 268 seconds]
sagax_ is now known as sagax
lucasb has joined #ruby
ua_ has joined #ruby
<rapha> Cork: its default is utf-8, which is the correct encoding, and which i didn't change. the strings also identify as utf-8. but as you say, strings are nothing but sequences of numbers. either a number means something or it doesn't. what i'm suspecting is that one of the strings mostly consists of numbers that do mean something in the context of utf8, except for at least one, which doesn't.
<rapha> aesthetikx: sure
Bounga has quit [Ping timeout: 258 seconds]
<aesthetikx> pretty cool rapha. I've been doing ruby since around 2009 but its hard for me to imagine the language + community from 95-2005
teclator has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<aesthetikx> presumably the ruby codebase would have started in SVN or CVS becuase git didn't even exist yet?
<jidar> https://gist.github.com/1d544cd84a9b5f636069c189a1e96108 for the git show of the first git commit
<jidar> svn was used over ssh
<rapha> hmm i was just a (fledgling) user, so no idea about that :)
finsternis has quit [Remote host closed the connection]
<rapha> and i'm a little ashamed to say i came for rails (must have been winter 2004/05 or sometime thereabouts) ... at least i managed to ditch that and stay for ruby :)
<jidar> I started with puppet, doesn't change much imho
<aesthetikx> so looks like cvs then svn then git lol
ua_ has quit [Ping timeout: 265 seconds]
chris- has joined #ruby
finsternis has joined #ruby
ua_ has joined #ruby
hexreel has joined #ruby
weaksauce has joined #ruby
orbyt has joined #ruby
chris- has quit [Ping timeout: 246 seconds]
rhe has quit [Quit: Ping timeout (120 seconds)]
rhe has joined #ruby
lucasb has quit [Quit: Connection closed for inactivity]
<orbyt> https://pastebin.com/SdB9wj7G Any nifty Ruby tricks to streamline this refresh_plan_info method?
<ruby[bot]> orbyt: we in #ruby do not like pastebin.com, it loads slowly for most, has ads which are distracting and has terrible formatting. Please use https://gist.github.com
hexreel has quit [Quit: nyaa~]
<weaksauce> orbyt could force the benefit avail param into an array and match on that
<weaksauce> make it accept a slug or an array of slugs
<weaksauce> but i mean is it worth it?
<orbyt> So make the benefit_available method take an array?
<orbyt> Yea, probably not worth it
<weaksauce> normalize the input into an array form
<weaksauce> it's already pretty simple and clear so any tricks would be something that obfuscates a bit i think
elf_fortrez has joined #ruby
elf_fortrez has quit [Client Quit]
<orbyt> weaksauce Cool, thanks
bandithijo has quit [Ping timeout: 255 seconds]
lucf117 has joined #ruby
CrazyEddy has quit [Ping timeout: 255 seconds]
CrazyEddy has joined #ruby
drincruz has joined #ruby
drincruz_ has quit [Ping timeout: 268 seconds]
drincruz_ has joined #ruby
drincruz has quit [Ping timeout: 265 seconds]
<nakilon> why to use jekyll?
drincruz_ has quit [Ping timeout: 258 seconds]
graywolf has joined #ruby
<nakilon> why not another gem -- nanoc; or just a three lines long loop thatconverts haml fiels into html files, etc.
drincruz_ has joined #ruby
<rg1> i'm building an ebook using just ruby but if i were doing a site id use nanoc
bandithijo has joined #ruby
_ht has quit [Remote host closed the connection]
drincruz_ has quit [Ping timeout: 255 seconds]
orbyt has quit [Quit: Textual IRC Client: www.textualapp.com]
ur5us has joined #ruby
ur5us has quit [Remote host closed the connection]
lunarkitty has joined #ruby
ur5us has joined #ruby
drincruz_ has joined #ruby
gr33n7007h has quit [Ping timeout: 255 seconds]
drincruz_ has quit [Ping timeout: 255 seconds]
gr33n7007h has joined #ruby
Artyom has joined #ruby
<Artyom> Do you how do
Artyom has quit [Client Quit]
gr33n7007h has quit [Ping timeout: 258 seconds]
lucf117 has quit [Remote host closed the connection]
gr33n7007h has joined #ruby
Rounin has quit [Ping timeout: 252 seconds]
ur5us has quit [Ping timeout: 255 seconds]