<norc>
Gives you enough information to remain portable.
Wompy has joined #ruby
<norc>
Ox0dea: Also, reliable has a different connotation to me ever since I got involved with PDH/SDH technology.
<norc>
:-)
<norc>
That is just me.
<Ox0dea>
Fair.
<Ox0dea>
Why the patronization a
<Ox0dea>
about the constants?
DeXterbed has quit [Ping timeout: 250 seconds]
<norc>
What do you mean
workmad3 has quit [Ping timeout: 240 seconds]
<Ox0dea>
Well, I mean, you just linked me to Fiddle's documentation...
<norc>
You make a fair point.
RegulationD has quit [Remote host closed the connection]
ornerymoose has joined #ruby
Wompy has quit [Client Quit]
<Ox0dea>
I'm genuinely interested in why you did so.
shock_one has joined #ruby
rdavila has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<norc>
Ox0dea: I am really unsure. Sleep deprived after 3 days of being hammered with obscure TelCo technologies, being a idiot and a dick.Take a pick. :-)
shock_one has quit [Ping timeout: 256 seconds]
ss_much has joined #ruby
<Ox0dea>
norc: In any case, https://eval.in/483957 seems to plainly demonstrate that something is quite amiss; `bytes` changes every run, which makes no sense if this is in fact the proper way to access `bn.as.heap`.
<Ox0dea>
That code is intended to be run on your 64-bit system, mind. 'Q*' + 32-bit didn't go so well.
<norc>
Ox0dea: I told you, it is a pointer. You need to deference it with #ptr
atomical_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Ox0dea>
Ooh, this looks promising.
<norc>
Indeed
<Ox0dea>
Danke.
<norc>
As long as you forget about the incident before its all good
<Ox0dea>
No permanently hard feelings. :P
<norc>
Just for a while, I see. :P
CloCkWeRX has left #ruby [#ruby]
minimalism has quit [Remote host closed the connection]
ethe has quit [Quit: *.net *.split]
f00bar-32 has joined #ruby
stannard has quit [Remote host closed the connection]
<hxegon>
I feel like I'm considering the builder pattern for the wrong case. Different distributor CSVs sort of conforming to a format, that needs to be converted to a different format. Any recommendations?
_SenpaiSilver_ has quit [Quit: Leaving]
ornerymoose has quit [Quit: ornerymoose]
<Ox0dea>
hxegon: Forgive my not using fancy terminology, but it sounds like you want a pipeline. https://github.com/thbar/kiba
SenpaiSilver has joined #ruby
<hxegon>
Ox0dea: only reason I'm using those terms is that they are the only ones I know :'(, just starting my OOP design journey
blackms has joined #ruby
f00bar-32 has quit [Ping timeout: 240 seconds]
<ljarvis>
jhass: yeah i saw that (pry/slop) it's a bit of a shame for me but helpful for pry/people on old software
mary5030 has joined #ruby
Spami_ has quit [Quit: This computer has gone to sleep]
<Ox0dea>
> i noticed that Bignum like others are fixed, so thats not so easily possible ...
<Ox0dea>
He was half-right. ;)
dlitvak has joined #ruby
<Ox0dea>
Really, though, 6277101735386680763835789423207666416102355444464034512896 is a pretty hefty figure.
desmondhume has quit [Remote host closed the connection]
<Ox0dea>
Err, make that a 5 on the end.
reaVer has joined #ruby
<norc>
With a 5 on the end its not that pretty hefty anymore though.
<Ox0dea>
inorite?
davedev24 has joined #ruby
<norc>
What you could do - and this would be performance wise pretty fast because it just ends up longjmping without any stack unwinding - is raise an exception and tell the user to use Haskell already.
<Ox0dea>
Heh.
pandaant has quit [Remote host closed the connection]
<nerium>
The problem is that config is bind to the Base class and not the inherited one. How would I fix this?
nocd has quit [Ping timeout: 272 seconds]
DLSteve has joined #ruby
<jhass>
nerium: you learned why @@vars are evil :P
<nerium>
jhass: Any other solution?
<jhass>
let me think
bronson has joined #ruby
DLSteve has quit [Client Quit]
bronson has quit [Remote host closed the connection]
Beverage has joined #ruby
bronson has joined #ruby
kmckelvi1 has quit [Ping timeout: 250 seconds]
n_blownapart has quit []
favadi has joined #ruby
Ox0dea has quit [Read error: Connection reset by peer]
_stu_ has joined #ruby
<jhass>
nerium: you should be able to do the following: def self.config(&block); if block_given?; @config = Config.new; @config.instance_exec(&block); else; @config; end; end;
<jhass>
nerium: since This' singleton class will inherit the method from Base's singleton class, the instance variable will live in This' singleton class
<jhass>
or That's respectively
n_blownapart has joined #ruby
Aasha has quit [Ping timeout: 250 seconds]
jbrhbr has quit [Quit: Leaving.]
JDiPierro has joined #ruby
<jhass>
nerium: and then you can have the instance level def config; self.class.config; end; if you want
jbrhbr has joined #ruby
<nerium>
jhass: Hmm, I just get a blank object back
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
baweaver has joined #ruby
hololeap has joined #ruby
beast has quit [Remote host closed the connection]
baweaver has quit [Ping timeout: 256 seconds]
<al2o3-cr>
Go duck a summy
DavidDudson has joined #ruby
JakFrist has joined #ruby
<wolffles>
?
<al2o3-cr>
wolffles: savoury duck, owd jk :)
arooni has quit [Ping timeout: 250 seconds]
kmckelvi1 has joined #ruby
tenderlove has joined #ruby
tenderlove has joined #ruby
<Ox0dea>
wolffles: So, what's a block?
kmckelvi1 has quit [Ping timeout: 240 seconds]
<wolffles>
a nameless function
<Ox0dea>
Negative.
<al2o3-cr>
X
<wolffles>
:[
<wolffles>
what is it?
yashinbasement has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Contigi has joined #ruby
tenderlove has quit [Ping timeout: 250 seconds]
noobie123556 has joined #ruby
<noobie123556>
hey, I have a Node script running at the same time as a Ruby script, what's the most efficient way to pass json/yaml from one to the other?
calderonroberto has joined #ruby
<Ox0dea>
noobie123556: Have them write and read to and from the same resource.
<Ox0dea>
wolffles: Blocks are *essentially* anonymous functions, with the crucial stipulation that they may only occur as the final argument of a method call.
devbug_ has quit [Ping timeout: 250 seconds]
S01780 has quit [Quit: Connection closed for inactivity]
hxegon has quit [Ping timeout: 250 seconds]
tildes has quit [Ping timeout: 256 seconds]
ta has joined #ruby
shock_one has joined #ruby
<wolffles>
im re watching the video you showed me, blocks and procs sound the same
<Ox0dea>
They're very similar.
<Ox0dea>
Interchangeable, even, but still slightly different.
<Ox0dea>
There is, for instance, no Block class, and you cannot pass more than one block to a method; neither statement is true for Procs.
<Ox0dea>
Those're about the only distinctions of note.
DavidDudson has quit [Ping timeout: 240 seconds]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nocd has quit [Ping timeout: 256 seconds]
shock_one has quit [Ping timeout: 250 seconds]
bronson has joined #ruby
ta has quit [Ping timeout: 250 seconds]
jhn has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
djbkd has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 256 seconds]
<wolffles>
im to tired to make sense of any of this lol
Bloomer has joined #ruby
calderonroberto has quit [Ping timeout: 264 seconds]
shinenelson has quit [Quit: Connection closed for inactivity]
wolffles has quit [Quit: wolffles]
favadi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
whippythellama has joined #ruby
baweaver has quit [Ping timeout: 250 seconds]
favadi has joined #ruby
inteq has joined #ruby
Cantaberry has quit [Ping timeout: 260 seconds]
ibouvousaime has quit [Ping timeout: 272 seconds]
calderonroberto has joined #ruby
lxsameer has joined #ruby
lxsameer has quit [Changing host]
lxsameer has joined #ruby
diego1 has joined #ruby
diego1 has quit [Changing host]
diego1 has joined #ruby
brendan- has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
diegoviola is now known as Guest19999
diego1 is now known as diegoviola
Guest19999 has quit [Ping timeout: 272 seconds]
Meow-J has joined #ruby
favadi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
favadi has joined #ruby
DavidDudson has quit [Read error: Connection reset by peer]
DavidDudson has joined #ruby
diegoviola has quit [Ping timeout: 240 seconds]
rdavila has joined #ruby
nanoz has joined #ruby
ta has joined #ruby
sucks has quit [Remote host closed the connection]
diego1 has joined #ruby
nerium has quit [Quit: nerium]
DavidDudson has quit [Read error: Connection reset by peer]
trwyth has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
DavidDudson has joined #ruby
diego1 has quit [Changing host]
diego1 has joined #ruby
diego1 is now known as diegoviola
speakingcode has quit [Ping timeout: 256 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
howdoico1 has quit [Ping timeout: 272 seconds]
DavidDudson has quit [Read error: Connection reset by peer]
DavidDud_ has joined #ruby
kmckelvi1 has joined #ruby
speakingcode has joined #ruby
AnoHito_ has joined #ruby
DavidDud_ has quit [Read error: Connection reset by peer]
DavidDudson has joined #ruby
diego1 has joined #ruby
yfeldblum has joined #ruby
diego1 has quit [Changing host]
diego1 has joined #ruby
kmckelvi1 has quit [Ping timeout: 250 seconds]
AnoHito has quit [Ping timeout: 264 seconds]
diegoviola has quit [Ping timeout: 272 seconds]
DavidDud_ has joined #ruby
DavidDudson has quit [Read error: Connection reset by peer]
rdavila has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
diego1 is now known as diegoviola
waka has quit [Remote host closed the connection]
BTRE has joined #ruby
nXqd has joined #ruby
htmldrum has joined #ruby
diegoviola has quit [Ping timeout: 272 seconds]
houhoulis has quit [Remote host closed the connection]
DavidDud_ has quit [Read error: Connection reset by peer]
waka has joined #ruby
diego1 has joined #ruby
diego1 has quit [Changing host]
diego1 has joined #ruby
diego1 is now known as diegoviola
justbleed has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
elton has joined #ruby
govg has joined #ruby
nXqd has quit [Quit: leaving]
nXqd has joined #ruby
bnagy has quit [Ping timeout: 245 seconds]
bnagy has joined #ruby
DavidDudson has joined #ruby
rippa has joined #ruby
yfeldblum has quit [Remote host closed the connection]
iateadonut has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby
bronson has joined #ruby
elton has quit [Ping timeout: 272 seconds]
triangles has joined #ruby
bronson has quit [Ping timeout: 256 seconds]
blackgoat has quit [Ping timeout: 250 seconds]
nXqd has quit [Quit: leaving]
shock_one has quit [Remote host closed the connection]
ledestin has joined #ruby
codeurge has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
DavidDudson has quit [Ping timeout: 256 seconds]
CloCkWeRX has joined #ruby
spider-mario has joined #ruby
<TomyLobo>
has anyone ever used ruby on cygwin? i'm having trouble building ffi since there's no ruby.h. any idea which package that might be in? there's no ruby-dev or ruby-devel or anything and i cant find a feature to search by file name. https://cygwin.com/cgi-bin2/package-grep.cgi?grep=ruby%5C.h&arch=x86_64 maybe this, but that doesnt seem right
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
citrusfizz has quit [Read error: Connection reset by peer]
citrusfizz_ has joined #ruby
citrusfizz_ is now known as citrusfizz
codeurge has joined #ruby
baweaver has joined #ruby
htmldrum has quit [Ping timeout: 256 seconds]
Coldblackice has quit [Ping timeout: 272 seconds]
skade has joined #ruby
calderonroberto has quit [Ping timeout: 240 seconds]
jbrhbr has joined #ruby
polysics has joined #ruby
Tempesta has quit [Ping timeout: 256 seconds]
codeurge has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Grey_H has quit [Ping timeout: 256 seconds]
diegoviola has quit [Ping timeout: 250 seconds]
firstdayonthejob has quit [Quit: WeeChat 1.4-dev]
firstdayonthejob has joined #ruby
kmckelvi1 has joined #ruby
TomPeed has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
baweaver has quit [Remote host closed the connection]
lele has quit [Ping timeout: 264 seconds]
DavidDudson has joined #ruby
DavidDudson has quit [Max SendQ exceeded]
DavidDudson has joined #ruby
kmckelvi1 has quit [Ping timeout: 250 seconds]
sepp2k has joined #ruby
diegoviola has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
diegoviola has quit [Changing host]
diegoviola has joined #ruby
kmckelvi1 has joined #ruby
crystalmaiden has quit [Ping timeout: 256 seconds]
lele has joined #ruby
passerine has left #ruby [#ruby]
BaroMeter has joined #ruby
Coldblackice has joined #ruby
elton has joined #ruby
elaptics`away has joined #ruby
Cohedrin has joined #ruby
<TomyLobo>
I'm trying to install the nokogiri gem on cygwin. I get "Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options." Here's what's in that file: https://gist.github.com/TomyLobo/cb78eeeb54a2298fd36f#file-mkmf-log-L52-L56
<TomyLobo>
as you can see, It links these libraries: -lruby220 -lpthread -lgmp -ldl -lcrypt
wildlander has joined #ruby
wildlander has quit [Max SendQ exceeded]
<TomyLobo>
no iconv and still it expects to find iconv symbols. What's broken here?
wildlander has joined #ruby
wildlander has quit [Max SendQ exceeded]
jackcom has joined #ruby
elton has quit [Ping timeout: 256 seconds]
wildlander has joined #ruby
jackcom has left #ruby [#ruby]
Cohedrin has quit [Client Quit]
agit0 has joined #ruby
Coldblackice has quit [Ping timeout: 240 seconds]
skade has quit [Quit: Computer has gone to sleep.]
CloCkWeRX has quit [Ping timeout: 272 seconds]
lele has quit [Ping timeout: 240 seconds]
tildes has joined #ruby
thejamespinto has quit [Remote host closed the connection]
postmodern has quit [Quit: Leaving]
lele has joined #ruby
brt has joined #ruby
SCHAAP137 has joined #ruby
diegoviola has quit [Ping timeout: 250 seconds]
shock_one has joined #ruby
diego1 has joined #ruby
diego1 has quit [Changing host]
diego1 has joined #ruby
psy_ has joined #ruby
diego1 is now known as diegoviola
f00bar-32 has joined #ruby
Meow-J has quit [Quit: Connection closed for inactivity]
polysics has quit []
AnoHito has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<TomyLobo>
oh, now i get it
<TomyLobo>
it tries with and without -liconv
AnoHito_ has quit [Ping timeout: 250 seconds]
shock_one has quit [Ping timeout: 240 seconds]
firstdayonthejob has quit [Quit: WeeChat 1.4-dev]
edwinvdgraaf has joined #ruby
CloCkWeRX has joined #ruby
cornerma1 has joined #ruby
nanoz has quit [Quit: <3]
diegoviola has quit [Ping timeout: 240 seconds]
zanzarel has joined #ruby
<TomyLobo>
ok i needed a cygwin bsdtar
<TomyLobo>
if you ever try this, export a PATH that doesnt include any mingw or msys[git] stuff
cornerman has quit [Ping timeout: 256 seconds]
cornerma1 is now known as cornerman
jbrhbr has quit [Quit: Leaving.]
charliesome has joined #ruby
amclain has quit [Quit: Leaving]
Jackneill has joined #ruby
iateadonut has joined #ruby
last_staff has joined #ruby
triangles2 has joined #ruby
flak has joined #ruby
KnownSyntax has joined #ruby
KnownSyntax has quit [Changing host]
KnownSyntax has joined #ruby
stannard has joined #ruby
devoldmx_ has joined #ruby
bMalum_ has joined #ruby
citrusfizz_ has joined #ruby
yfeldblu_ has joined #ruby
hakunin_ has joined #ruby
blub` has joined #ruby
jevs_ has joined #ruby
TomyLobo has quit [Disconnected by services]
bxoixkfaugegxlhw has joined #ruby
bxoixkfaugegxlhw is now known as zljlskiwfoluddxp
zljlskiwfoluddxp is now known as TomyLobo
benlakey_ has joined #ruby
_Suntzu has joined #ruby
NeverDie_ has joined #ruby
avdi_ has joined #ruby
_joes___ has joined #ruby
moeabdol2 has joined #ruby
PhilK_ has joined #ruby
tildes_ has joined #ruby
cbednarski_ has joined #ruby
HashNuke_ has joined #ruby
mg^^ has joined #ruby
aibot_ has joined #ruby
juddey_ has joined #ruby
voker57_ has joined #ruby
jxf_ has joined #ruby
axisys_ has joined #ruby
cornerma1 has joined #ruby
devyn_ has joined #ruby
hackeron_ has joined #ruby
A124 has quit [Disconnected by services]
A124 has joined #ruby
raddazong has joined #ruby
jjwright has joined #ruby
joevandy1 has joined #ruby
grilled-cheese_ has joined #ruby
G_ has joined #ruby
thomasfedb_ has joined #ruby
fumduq- has joined #ruby
stannard has quit [Ping timeout: 256 seconds]
crankhar1er has joined #ruby
d0nn1e_ has joined #ruby
ghoti_ has joined #ruby
heidar_ has joined #ruby
adam^ has joined #ruby
xdc has joined #ruby
kmckelvin has joined #ruby
diegoviola has joined #ruby
bweston92- has joined #ruby
vondruch_ has joined #ruby
leat1 has joined #ruby
bahar_ has joined #ruby
NeverDie has quit [Read error: Connection reset by peer]
lancetw has quit [Ping timeout: 240 seconds]
cbednarski has quit [Ping timeout: 240 seconds]
heidar has quit [Ping timeout: 240 seconds]
M-Kodo has quit [Ping timeout: 240 seconds]
PhilK has quit [Ping timeout: 240 seconds]
DeafGamer has quit [Ping timeout: 240 seconds]
bahar has quit [Ping timeout: 240 seconds]
WizJin has quit [Ping timeout: 240 seconds]
moei has quit [Ping timeout: 240 seconds]
gnarf has quit [Ping timeout: 240 seconds]
callumacrae has quit [Ping timeout: 240 seconds]
PlasmaStar has quit [Ping timeout: 240 seconds]
thejoecarroll has quit [Ping timeout: 240 seconds]
fumduq has quit [Ping timeout: 240 seconds]
NET||abuse has quit [Ping timeout: 240 seconds]
Shidash has quit [Ping timeout: 240 seconds]
bMalum has quit [Ping timeout: 240 seconds]
HashNuke has quit [Ping timeout: 240 seconds]
cornerman has quit [Ping timeout: 240 seconds]
yfeldblum has quit [Ping timeout: 240 seconds]
al2o3-cr has quit [Ping timeout: 240 seconds]
Suntzu has quit [Ping timeout: 240 seconds]
hohenfall has quit [Ping timeout: 240 seconds]
jevs has quit [Ping timeout: 240 seconds]
hackeron has quit [Ping timeout: 240 seconds]
lele has quit [Ping timeout: 240 seconds]
peteyg has quit [Ping timeout: 240 seconds]
mozzarella has quit [Ping timeout: 240 seconds]
jxf has quit [Ping timeout: 240 seconds]
jschmid has quit [Ping timeout: 240 seconds]
twistedpixels has quit [Ping timeout: 240 seconds]
avdi has quit [Ping timeout: 240 seconds]
yorickpeterse has quit [Ping timeout: 240 seconds]
_joes__ has quit [Ping timeout: 240 seconds]
G has quit [Ping timeout: 240 seconds]
blub has quit [Ping timeout: 240 seconds]
DanKnox[away] has quit [Ping timeout: 240 seconds]
leat has quit [Ping timeout: 240 seconds]
linduxed has quit [Ping timeout: 240 seconds]
zapata has quit [Ping timeout: 240 seconds]
benlakey has quit [Ping timeout: 240 seconds]
citrusfizz has quit [Ping timeout: 240 seconds]
triangles has quit [Ping timeout: 240 seconds]
whippythellama has quit [Ping timeout: 240 seconds]
epitron has quit [Ping timeout: 240 seconds]
juddey has quit [Ping timeout: 240 seconds]
devoldmx has quit [Ping timeout: 240 seconds]
joast has quit [Ping timeout: 240 seconds]
matp has quit [Ping timeout: 240 seconds]
djellemah has quit [Ping timeout: 240 seconds]
d0nn1e has quit [Ping timeout: 240 seconds]
Voker57 has quit [Ping timeout: 240 seconds]
ByronJohnson has quit [Ping timeout: 240 seconds]
adam_ has quit [Ping timeout: 240 seconds]
KnownSyntax_ has quit [Ping timeout: 240 seconds]
madhatter has quit [Ping timeout: 240 seconds]
Guest41064 has quit [Ping timeout: 240 seconds]
epochwolf has quit [Ping timeout: 240 seconds]
boxofrox has quit [Ping timeout: 240 seconds]
Evan_ has quit [Ping timeout: 240 seconds]
bweston92 has quit [Ping timeout: 240 seconds]
grilled-cheese has quit [Ping timeout: 240 seconds]
thomasfedb has quit [Ping timeout: 240 seconds]
rippa has quit [Ping timeout: 240 seconds]
BTRE has quit [Ping timeout: 240 seconds]
beast has quit [Ping timeout: 240 seconds]
Ox0dea has quit [Ping timeout: 240 seconds]
crazydiamond has quit [Ping timeout: 240 seconds]
woodruffw has quit [Ping timeout: 240 seconds]
vondruch has quit [Ping timeout: 240 seconds]
axisys has quit [Ping timeout: 240 seconds]
icbm has quit [Ping timeout: 240 seconds]
mg^ has quit [Ping timeout: 240 seconds]
kalz has quit [Ping timeout: 240 seconds]
kalzz has quit [Ping timeout: 240 seconds]
hakunin has quit [Ping timeout: 240 seconds]
programmerq has quit [Ping timeout: 240 seconds]
User458764 has joined #ruby
ByronJohnson has joined #ruby
devyn has quit [Ping timeout: 240 seconds]
tildes has quit [Ping timeout: 240 seconds]
charliesome has quit [Ping timeout: 240 seconds]
kmckelvi1 has quit [Ping timeout: 240 seconds]
sepp2k has quit [Ping timeout: 240 seconds]
speakingcode has quit [Ping timeout: 240 seconds]
moeabdol1 has quit [Ping timeout: 240 seconds]
gregf has quit [Ping timeout: 240 seconds]
aibot has quit [Ping timeout: 240 seconds]
joevandyk has quit [Ping timeout: 240 seconds]
ghoti has quit [Ping timeout: 240 seconds]
jjwright_ has quit [Remote host closed the connection]
crankharder has quit [Remote host closed the connection]
dstarh has quit [Ping timeout: 240 seconds]
speakingcode has joined #ruby
moei has joined #ruby
NET||abuse has joined #ruby
peteyg has joined #ruby
Evan_ has joined #ruby
ByronJohnson has joined #ruby
beast_ has joined #ruby
grilled-cheese_ is now known as grilled-cheese
ByronJohnson has quit [Changing host]
thejoecarroll_ has joined #ruby
yorickpeterse has joined #ruby
crazydiamond_ has joined #ruby
_Suntzu is now known as Suntzu
citrusfizz_ is now known as citrusfizz
charliesome has joined #ruby
cbednarski_ is now known as cbednarski
jevs_ is now known as jevs
PhilK_ is now known as PhilK
djellemah has joined #ruby
bMalum_ is now known as bMalum
cornerma1 is now known as cornerman
Ox0dea has joined #ruby
benlakey_ is now known as benlakey
boxofrox has joined #ruby
f00bar-32 has quit [Ping timeout: 256 seconds]
M-Kodo has joined #ruby
epochwolf has joined #ruby
gnarf_ has joined #ruby
codecop has joined #ruby
DanKnox[away] has joined #ruby
HashNuke_ is now known as HashNuke
crazydiamond_ has quit [Max SendQ exceeded]
ndancer has joined #ruby
programmerq has joined #ruby
PlasmaStar has joined #ruby
ndancer is now known as Guest98078
lele has joined #ruby
jxf_ is now known as jxf
avdi_ is now known as avdi
bestie has quit [Ping timeout: 245 seconds]
callumacrae has joined #ruby
Rutix has quit [Remote host closed the connection]
twistedpixels has joined #ruby
twistedpixels has quit [Changing host]
twistedpixels has joined #ruby
kies has quit [Ping timeout: 256 seconds]
frankS2 has quit [Ping timeout: 245 seconds]
linduxed has joined #ruby
sami has quit [Ping timeout: 260 seconds]
charliesome_ has joined #ruby
Rutix has joined #ruby
Rutix has quit [Changing host]
Rutix has joined #ruby
WizJin has joined #ruby
ByronJoh1son has joined #ruby
sami has joined #ruby
evan- has joined #ruby
Bugboy1028 has joined #ruby
User4587_ has joined #ruby
favadi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
speaking1ode has joined #ruby
NET||abu- has joined #ruby
bestie has joined #ruby
mozzarella has joined #ruby
User458764 has quit [Ping timeout: 240 seconds]
Evan_ has quit [Ping timeout: 240 seconds]
speakingcode has quit [Ping timeout: 240 seconds]
NET||abuse has quit [Ping timeout: 240 seconds]
mozzarella has quit [Ping timeout: 240 seconds]
peteyg has quit [Ping timeout: 240 seconds]
moei has quit [Ping timeout: 240 seconds]
ByronJohnson has quit [Ping timeout: 240 seconds]
Symbiosisz has quit [Ping timeout: 240 seconds]
charliesome has quit [Ping timeout: 240 seconds]
moei has joined #ruby
epitron has joined #ruby
epitron has quit [Changing host]
epitron has joined #ruby
matp has joined #ruby
Symbiosisz has joined #ruby
iateadonut has quit [Ping timeout: 272 seconds]
mozzarella has joined #ruby
frankS2 has joined #ruby
BaroMeter has quit [Ping timeout: 250 seconds]
sepp2k has joined #ruby
jschmid has joined #ruby
Shidash has joined #ruby
hohenfall has joined #ruby
peteyg has joined #ruby
whippythellama has joined #ruby
Tempesta has joined #ruby
al2o3-cr has joined #ruby
BTRE has joined #ruby
lancetw has joined #ruby
elton has joined #ruby
kalzz has joined #ruby
kalz has joined #ruby
beast_ has quit [Remote host closed the connection]
bronson has joined #ruby
elton has quit [Ping timeout: 240 seconds]
woodruffw has joined #ruby
solars has joined #ruby
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
BaroMeter has joined #ruby
bronson has quit [Ping timeout: 256 seconds]
Shidash has quit [Ping timeout: 264 seconds]
devoldmx_ has quit [Remote host closed the connection]
gregf has joined #ruby
x0f has quit [Ping timeout: 264 seconds]
iamdevnul has quit [Ping timeout: 264 seconds]
iamdevnul_ has joined #ruby
DH__ has joined #ruby
DH__ has left #ruby [#ruby]
workmad3 has joined #ruby
GBrawl has joined #ruby
yqt has joined #ruby
x0f has joined #ruby
_joes___ has quit [Ping timeout: 264 seconds]
Shidash has joined #ruby
User4587_ has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
benlakey has quit [Read error: Network is unreachable]
iamdevnul_ has quit [Read error: Connection reset by peer]
nateberkope has quit [Read error: Connection reset by peer]
nateberkopec has joined #ruby
BaroMeter has quit [Ping timeout: 250 seconds]
zapata has joined #ruby
govg has joined #ruby
elton has joined #ruby
ethe has joined #ruby
CloCkWeRX has quit [Ping timeout: 256 seconds]
berserk_ren has quit [Ping timeout: 272 seconds]
elton has quit [Ping timeout: 264 seconds]
rodfersou has joined #ruby
colegatron has joined #ruby
BaroMeter has joined #ruby
sadewi has joined #ruby
sadewi has left #ruby [#ruby]
kp666 has joined #ruby
zanzarel has quit [Quit: Leaving.]
zanzarel has joined #ruby
<norc>
shevy: Honestly that is really a boring one
<Papierkorb>
Is there a list somewhere for GUI toolkits for use with ruby? Bindings are fine too
<Papierkorb>
Doesn't even have to be super pretty, so Gtk is also ok ..
blackms has quit [Remote host closed the connection]
<shevy>
norc it looks like an ascii guy
<shevy>
you coul embed a whole ascii game in these!
<shevy>
Papierkorb we have.. ruby-gnome, ruby-kde (sorta), wxruby aka hanmac ... we have shoes-variants... we used to have fxruby ... hmm ... I think I forgot one or two... does not jruby also have some swing or something, I forgot the name
devbug_ has joined #ruby
<Papierkorb>
is ruby-kde outdated, or why 'sorta'?
<shevy>
Papierkorb dunno, I think there were a few different competing implementations, #qtruby here on freenode was managed by rdale for instance
<shevy>
I don't know how complete the bindings are
<Papierkorb>
shevy: it's for a small'ish tool. As long it has buttons, text inputs outputs and context menus I should be fine
<shevy>
and in order to compare ruby-gnome, which is also not fully complete for all gnome things, one would have to compare ruby-qt with ruby-kde. no idea how complete ruby-kde is
<shevy>
yeah that will work
<djellemah>
ruby-gtk and qtbindings will both be sufficient. Biggest difference is if you need a grid - ruby-gtk doesn't support custom models for that afaik.
devbug has quit [Ping timeout: 264 seconds]
CloCkWeRX has joined #ruby
<Papierkorb>
djellemah: 'qtbindings' is Qt4.8 (sadly), but I did Qt for years so I'm more or less a home game for me :)
<Papierkorb>
it's *
<shevy>
you want qt5?
devoldmx has quit [Ping timeout: 272 seconds]
<Papierkorb>
If possible, sure
<Papierkorb>
ruby-kde hasn't seen a change for 4 years, at least for the github I found
* djellemah
once again, notices time marching on...
quaristice has joined #ruby
rdark has joined #ruby
brendan- has joined #ruby
zanzarel has quit [Ping timeout: 264 seconds]
<Papierkorb>
qtbindings seems to just-work. Thanks shevy, djellemah !
<shevy>
yeah that ruby-kde is probably abandoned
<Papierkorb>
Oh have you heard that IBM released their (internal?) ruby VM with JIT and whizzles?
kp666 has quit [Ping timeout: 250 seconds]
wmdrossard has joined #ruby
<chrisseaton>
Yeah looks interesting doesn't it?
<Papierkorb>
wasn't able to really comprehend it at 2am on a mobile phone. can't even find it now
<Papierkorb>
but if that magically makes MRI really fast, then bring it on!
<chrisseaton>
the actual docker image is on DockerHub
<chrisseaton>
it doesn't look very fast at the moment, but maybe it will be in the future
<Papierkorb>
> The OMR [is] to develop reusable and easily consumable core components for building all kinds of language runtimes, from Java to Ruby to Smalltalk and beyond.
<Papierkorb>
No one ever told them about LLVM?
<chrisseaton>
Papierkorb: LLVM is demonstrably not easy to use in dynamic languages - Rubinius tried and I think it didn't go well
<chrisseaton>
you need a whole system of speculation, profiling and deoptimisation above LLVM for it to work well, and that's what a JVM does really well
<Papierkorb>
Yeah, albeit the JVM is statically typed ..
<Papierkorb>
Although, if everything is an object, and you always use dynamic-lookup calls .. then it you get JRuby I guess? No idea how that works
<chrisseaton>
Papierkorb: Java is statically typed, but the JVM internals are actually designed for just the kind of type speculation needed for Ruby
<chrisseaton>
Papierkorb: a Java call to an interface is very much like a Ruby method call, and can be optimised in the same way
puria has quit [Ping timeout: 256 seconds]
moeabdol2 has quit [Ping timeout: 272 seconds]
tildes_ has quit [Ping timeout: 256 seconds]
blub` is now known as blub
baweaver has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
favadi has joined #ruby
baweaver has quit [Ping timeout: 264 seconds]
maia_ has joined #ruby
maia_ has left #ruby [#ruby]
ht__ has joined #ruby
puria has joined #ruby
FooMunki has joined #ruby
f00bar-32 has quit [Ping timeout: 272 seconds]
BaroMeter has quit [Quit: Leaving]
skade has quit [Quit: Computer has gone to sleep.]
kobain has joined #ruby
skade has joined #ruby
null3 has quit [Ping timeout: 245 seconds]
favadi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kmckelvin has quit [Ping timeout: 256 seconds]
elton has joined #ruby
kmckelvin has joined #ruby
<shevy>
Papierkorb, when you are done with your GUI, are you able to publish it?
nfk|laptop has joined #ruby
yfeldblum has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
elton has quit [Ping timeout: 264 seconds]
BSaboia has quit [Ping timeout: 256 seconds]
ht__ has quit [Quit: Konversation terminated!]
shock_one has joined #ruby
kmckelvin has quit [Ping timeout: 256 seconds]
prateekp has joined #ruby
<prateekp>
hello,
pandaant has joined #ruby
ht__ has joined #ruby
Ishido has joined #ruby
<prateekp>
is it possible that on my machine a gem is getting successfully built
<prateekp>
but on other's machine(using rbenv), its giving some loaderror on requiring the gem
<prateekp>
i am using rbenv ruby
<prateekp>
the gem is native extension
<jhass>
yes
kmckelvin has joined #ruby
shock_one has quit [Ping timeout: 256 seconds]
<prateekp>
jhass: any reason for that ?
<jhass>
plentiful
<jhass>
too many to list them out into the blue
<prateekp>
ohh
<prateekp>
related to mkmf ?
<jhass>
too
<shevy>
if it is a loaderror then the gem was not installed
<prateekp>
error I have is c++: error: unrecognized command line option '-Wshorten-64-to-32'
<prateekp>
you are getting this error
<shevy>
yeah
<prateekp>
this is rather related to source error right ?
<shevy>
I have cmake version 3.4.1
<shevy>
CMakeLists.txt: -Wshorten-64-to-32
<shevy>
dunno why the author wants this
<jhass>
prateekp: did you confirm you're getting this error too on the machine where it doesn't work or are we just wasting time here?
<prateekp>
ohh i need to confirm, but on my machine i am not getting this error
<prateekp>
could you shevy raise an issue related to that error ??
<prateekp>
it would be helpful
<jhass>
prateekp: we can't debug the issue if you don't have access to the machine where it's happening
<jhass>
send somebody that has access instead
<prateekp>
hmm i understand but as as hevy said the error is related to some cmake error
bMalum has quit [Quit: bMalum]
<prateekp>
because on my machine (mcosx) its getting installed and working perfectly. And i will be checking on linux
<apeiros>
"native gem x builds fine on my machine" is a useless information prateekp
<jhass>
we didn't confirm yet that "the error" is the same error you're getting
<shevy>
prateekp I don't know the gem enough to really judge what the author is doing. What I know is that it does not work on my system, most other native gems that I use on my system do work so I assume that the author might have done something wrong
nocd has joined #ruby
<prateekp>
and by wrong u mean on ruby side of the code or c++ side of the code
<apeiros>
we can can safely assume that any published gem builds fine on *some* machine. so that's not useful information to solve the problem of it *not building fine* on a *different* machine.
<shevy>
prateekp it tries to compile something, so of course this is the c++ code that failed; you need to find out why it fails, just download the .gem manually if you can't find it, it is in the cache/ directory; you can unpack it, then try to install it, that is what I usually do when a gem fails to install
myztic has left #ruby [#ruby]
bMalum has joined #ruby
<prateekp>
hmm shevy i agree.
<prateekp>
but sad part for now i dont have access to that failing machine
puria has quit [Ping timeout: 272 seconds]
<prateekp>
on my machine its getting built
<shevy>
yeah you hit a dead end
ht__ has quit [Quit: Konversation terminated!]
<prateekp>
whats ur ruby version by the way shevy?
<prateekp>
why does on installing through the command `gem install mygem` does not throw errors which came while unable to install native extension successfully
<prateekp>
in ur case as well shevy, u installed from source right ?
<prateekp>
and then you found an error
<shevy>
gem install will always download the .gem unless it already is installed
<shevy>
and since it is a gem that requires native extensions, you have to compile it. in principle, after it compiled, you could just upload the compiled stuff to any remote machine
favadi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<prateekp>
hmm right
<prateekp>
but on that native extension failing to successfully getting installed, it should say that your gem dint get installed
ht__ has joined #ruby
<prateekp>
isnt it?
favadi has joined #ruby
<shevy>
for instance the gtk2 bindings for ruby reside in SITE_RUBY dir, 2.2.0, arch, the file gtk2.so
<shevy>
of course it says so
FernandoBasso has joined #ruby
<shevy>
but I get more information when I do it manually
bMalum has quit [Quit: bMalum]
<shevy>
this is moot though since without access you can't solve your problem
<prateekp>
hmm right
ibouvousaime has joined #ruby
nfk|laptop has quit [Ping timeout: 272 seconds]
bMalum has joined #ruby
<prateekp>
you checked manually by doing a running extconf.rb ?
<prateekp>
just asking
<prateekp>
shevy^
<shevy>
no
<prateekp>
then?
xet7 has quit [Quit: Leaving]
<shevy>
there is no extconf.rb at the base dir of the gem
dlitvak has joined #ruby
<shevy>
the three directories it had were ruby/ src/ and CMakeFiles/
<shevy>
which is rather atypical altogether
zarubin has joined #ruby
<prateekp>
there is one inside ruby/ext/extconf.rb
<shevy>
since there was a cmakefile I did "cmake ."
<shevy>
nope there is not
quaristice has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy>
as I said before, download the .gem, extract it, have a look
<shevy>
v8eval-0.2.1/ruby/ext/ has only one entry, which is a directory called v8eval/ so your path mentioned above ruby/ext/extconf.rb is not part of the gem. I have no idea how you came to this conclusion anyway
<prateekp>
but if its not there how am i getting it installed
radgeRayden has joined #ruby
ht__ has quit [Quit: Konversation terminated!]
<shevy>
???
<prateekp>
sorry, path is v8eval-0.2.1/ruby/ext/v8eval/extconf.rb
favadi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy>
k
<prateekp>
i mistyped it
ethe has quit [Quit: *.net *.splot]
<shevy>
I'll not run this though
<prateekp>
hehe
<shevy>
Cloning into 'depot_tools'...
<shevy>
it wants to fetch some weird addons
<prateekp>
haha yeah it takes time
<shevy>
are you sure that the author is competent?
<prateekp>
i think so
<prateekp>
but cmake is failing as you said
Rickmasta has joined #ruby
<shevy>
the gem seems not old, 2 months
<shevy>
give the project a while
Biohazard has quit [Ping timeout: 260 seconds]
<prateekp>
hmm yeah
ht__ has joined #ruby
zarubin has quit [Ping timeout: 240 seconds]
xet7 has joined #ruby
ElFerna has joined #ruby
Biohazard has joined #ruby
<prateekp>
i think this is something related on the cmake side, because on my machine cmake . throws no error
f00bar-32 has joined #ruby
<shevy>
perhaps it compiles for you
dlitvak_ has joined #ruby
BSaboia has joined #ruby
ht__ has quit [Quit: Konversation terminated!]
ht__ has joined #ruby
greister has joined #ruby
dlitvak has quit [Ping timeout: 240 seconds]
greister has quit [Client Quit]
f00bar-32 has quit [Ping timeout: 264 seconds]
quaristice has joined #ruby
greister has joined #ruby
quaristice has quit [Read error: Connection reset by peer]
greister has quit [Client Quit]
greister has joined #ruby
azgil has left #ruby ["Leaving"]
dlitvak has joined #ruby
daivyk has joined #ruby
agit0 has quit [Quit: zzzZZZ….]
OrbitalKitten has joined #ruby
agit0 has joined #ruby
agit0 has quit [Client Quit]
ElFerna has quit [Quit: WeeChat 1.3]
dlitvak_ has quit [Ping timeout: 264 seconds]
ht__ has quit [Quit: Konversation terminated!]
ht__ has joined #ruby
favadi has joined #ruby
<Papierkorb>
shevy: it's a tool to control a running QEMU instance through its RPC interface to add/remove USB devices (mainly). So it's more of a hack-it-till-it-works and I won't really invest time in testing it. but sure, I could shove it onto my github. Can't tell you any estimate though.
ht__ has quit [Client Quit]
ht__ has joined #ruby
ht__ has quit [Client Quit]
ht__ has joined #ruby
devoldmx has joined #ruby
ElFerna has joined #ruby
ethe has joined #ruby
berserk_ren has joined #ruby
f00bar-32 has joined #ruby
devoldmx has quit [Ping timeout: 240 seconds]
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jgt1 has quit [Ping timeout: 256 seconds]
berserk_ren has quit [Ping timeout: 240 seconds]
ElFerna has quit [Quit: WeeChat 1.3]
ElFerna has joined #ruby
dviola has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ht__ has quit [Quit: Konversation terminated!]
ht__ has joined #ruby
shanemcd has joined #ruby
tenderlove has joined #ruby
houhoulis has joined #ruby
kirun has joined #ruby
Mia has quit [Read error: Connection reset by peer]
DeXterbed has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
shanemcd has quit [Remote host closed the connection]
shanemcd has joined #ruby
ht__ has quit [Quit: Konversation terminated!]
ht__ has joined #ruby
psy_ has quit [Read error: No route to host]
ht__ has quit [Client Quit]
f00bar-32 has quit [Ping timeout: 240 seconds]
tenderlove has quit [Ping timeout: 250 seconds]
baweaver has joined #ruby
ht__ has joined #ruby
edwinvdgraaf has quit [Ping timeout: 256 seconds]
favadi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ruboto>
imperator # => /tmp/execpad-a46d75bf3058/source-a46d75bf3058:2: syntax error, unexpected tIDENTIFIER, expecting key ...check link for more (https://eval.in/484133)
s00pcan has joined #ruby
jgt1 has joined #ruby
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wildlander has quit [Remote host closed the connection]
devoldmx has quit [Ping timeout: 256 seconds]
<adaedra>
that's not really it, isn't it?
tenderlove has quit [Ping timeout: 272 seconds]
<imperator>
probably not, i was lazy
jawa_ has joined #ruby
jgt1 has quit [Ping timeout: 272 seconds]
ht__ has quit [Quit: Konversation terminated!]
nertzy has quit [Quit: This computer has gone to sleep]
shanemcd has quit [Remote host closed the connection]
ethe has joined #ruby
prateekp has quit [Ping timeout: 252 seconds]
<imperator>
welp, guess i'll just have to modify the parser
nocd has joined #ruby
Suntzu has quit [Ping timeout: 272 seconds]
ht__ has joined #ruby
ht__ has quit [Client Quit]
ht__ has joined #ruby
dlitvak has joined #ruby
minimalism has joined #ruby
sumark has quit [Remote host closed the connection]
sumark has joined #ruby
zeroDivisible has joined #ruby
symm- has joined #ruby
ht__ has quit [Client Quit]
ElFerna has joined #ruby
<shevy>
imperator are you still using ruby on windows by the way?
<imperator>
not in actual production, but i still maintain the libs for people
shanemcd has joined #ruby
ht__ has joined #ruby
baweaver has joined #ruby
kmckelvin has quit [Ping timeout: 256 seconds]
nateberkopec has quit [Quit: Leaving...]
mokha has joined #ruby
<shevy>
:)
ht__ has quit [Client Quit]
shanemcd has quit [Remote host closed the connection]
minimalism has quit [Remote host closed the connection]
baweaver has quit [Ping timeout: 250 seconds]
kies has joined #ruby
shock_one has joined #ruby
ht__ has joined #ruby
<shevy>
hmm .. in ruby, suppose you have a file called foobar.rb and this has some options such as --help now a user may invoke a non-existing option such as --gummybears, what is the proper ruby way to deal with that?
nocd has left #ruby [#ruby]
wildlander has joined #ruby
codeurge has joined #ruby
zly has quit [Changing host]
zly has joined #ruby
dionysus69 has joined #ruby
RobertBirnie has joined #ruby
ht__ has quit [Client Quit]
ht__ has joined #ruby
voodo has quit [Quit: Leaving...]
ornerymoose has joined #ruby
ht__ has quit [Client Quit]
<imperator>
typically you would use an option parser of some sort, and let the user know that was an invalid option
ht__ has joined #ruby
kp666 has joined #ruby
kp666 has quit [Max SendQ exceeded]
<shevy>
should the main program continue, and just report that it is unknown, or should it fail?
sepp2k1 has quit [Read error: Connection reset by peer]
<havenwood>
shevy: Implement --gummybears, of course!
<adaedra>
shevy: non-existing option usually means the usage is printed before quitting with an error status.
tenderlove has joined #ruby
user1138 has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 250 seconds]
user1138 has joined #ruby
<shevy>
ok
user1138 has quit [Remote host closed the connection]
sucks has joined #ruby
<shevy>
havenwood yeah in this case though, I don't have support for the gummybears! but I realized that in one program, I was simply ignoring invalid input, and thought that this was not so good, thanks for the replies
user1138 has joined #ruby
dlitvak has joined #ruby
zeroDivisible has quit [Quit: WeeChat 1.3]
darkxploit has joined #ruby
tenderlove has quit [Ping timeout: 240 seconds]
dlitvak has quit [Remote host closed the connection]
zeroDivisible has joined #ruby
<HANJIN>
havenwood: thank you, still i can’t solve this problem, at lease, now i knew why this error occurred. :)) for now i’ll try to solve this problem
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
atumzin has quit [Read error: Connection reset by peer]
dr_Poggs has joined #ruby
hinbody has quit [Disconnected by services]
camilasann has joined #ruby
hinbody_ is now known as hinbody
skmp_ has joined #ruby
ELCALOR_ has joined #ruby
PhilK_ has joined #ruby
jtdowney_ has joined #ruby
DoYouKnow_ has joined #ruby
iamdevnul__ has joined #ruby
atumzin has joined #ruby
colstrom_ has joined #ruby
Mekkis_ has joined #ruby
catbusters_ has joined #ruby
pipecloud has joined #ruby
machty_ has joined #ruby
Hobbyboy|BNC has joined #ruby
tenderlove has quit [Ping timeout: 272 seconds]
countryHick_ has joined #ruby
ornerymoose has quit [Quit: ornerymoose]
Downtime has joined #ruby
minimali1m has joined #ruby
yo61_ has joined #ruby
<Fire-Dragon-DoL>
any alternative to thor? I'm about to burn that gem
sfr^^ has joined #ruby
jsrn_ has joined #ruby
TheTFEF has joined #ruby
[BNC]BLuEGoD has joined #ruby
bougyman_ has joined #ruby
cbeer has joined #ruby
schaary_ has joined #ruby
minimalism has quit [Disconnected by services]
hollywood has joined #ruby
soahccc_ has joined #ruby
minimali1m is now known as minimalism
tejasmanohar_ has joined #ruby
dlitvak has quit [Ping timeout: 240 seconds]
rgrmatt has quit [*.net *.split]
joast has quit [*.net *.split]
aspire has quit [*.net *.split]
Zamerick has quit [*.net *.split]
zly has quit [*.net *.split]
kirun has quit [*.net *.split]
houhoulis has quit [*.net *.split]
greister has quit [*.net *.split]
daivyk has quit [*.net *.split]
ibouvousaime has quit [*.net *.split]
tildes has quit [*.net *.split]
Ishido has quit [*.net *.split]
pandaant has quit [*.net *.split]
c355E3B has quit [*.net *.split]
skmp has quit [*.net *.split]
iamdevnul_ has quit [*.net *.split]
hohenfall has quit [*.net *.split]
kalz has quit [*.net *.split]
kalzz has quit [*.net *.split]
jschmid has quit [*.net *.split]
WizJin has quit [*.net *.split]
G has quit [*.net *.split]
jxf has quit [*.net *.split]
HashNuke has quit [*.net *.split]
PhilK has quit [*.net *.split]
avdi has quit [*.net *.split]
ta has quit [*.net *.split]
threh has quit [*.net *.split]
hahuang65 has quit [*.net *.split]
Hien has quit [*.net *.split]
cjk101010 has quit [*.net *.split]
null__ has quit [*.net *.split]
jordanm has quit [*.net *.split]
huddy has quit [*.net *.split]
tonini has quit [*.net *.split]
jhill has quit [*.net *.split]
sfr^ has quit [*.net *.split]
halfdan has quit [*.net *.split]
braderhart has quit [*.net *.split]
mjc_ has quit [*.net *.split]
tejasmanohar has quit [*.net *.split]
mroth has quit [*.net *.split]
chandlerbing has quit [*.net *.split]
Didac has quit [*.net *.split]
pipework has quit [*.net *.split]
TDJACR has quit [*.net *.split]
johnny56 has quit [*.net *.split]
cookiez has quit [*.net *.split]
Ikri has quit [*.net *.split]
lacrosse has quit [*.net *.split]
Trieste has quit [*.net *.split]
jtdowney has quit [*.net *.split]
soahccc has quit [*.net *.split]
Hobbyboy has quit [*.net *.split]
colstrom has quit [*.net *.split]
crayfishx has quit [*.net *.split]
artmann has quit [*.net *.split]
Uptime has quit [*.net *.split]
camilasan has quit [*.net *.split]
joaomdmoura_ has quit [*.net *.split]
thesheff17 has quit [*.net *.split]
Guest85414______ has quit [*.net *.split]
heyimwill has quit [*.net *.split]
krasnus has quit [*.net *.split]
aphprentice has quit [*.net *.split]
Fluent_ has quit [*.net *.split]
sorah has quit [*.net *.split]
heftig has quit [*.net *.split]
contradictioned has quit [*.net *.split]
drPoggs has quit [*.net *.split]
bttf has quit [*.net *.split]
jmcc____ has quit [*.net *.split]
ramblinpeck has quit [*.net *.split]
golgaroth has quit [*.net *.split]
amitchellbullard has quit [*.net *.split]
rfv has quit [*.net *.split]
charles81 has quit [*.net *.split]
Guest4184__ has quit [*.net *.split]
jlyndon has quit [*.net *.split]
ELCALOR has quit [*.net *.split]
schaary has quit [*.net *.split]
DoYouKnow has quit [*.net *.split]
Lloyd has quit [*.net *.split]
countryHick has quit [*.net *.split]
prosody has quit [*.net *.split]
mrsolo has quit [*.net *.split]
bove has quit [*.net *.split]
yo61 has quit [*.net *.split]
machty has quit [*.net *.split]
im0b has quit [*.net *.split]
mighty_gorilla has quit [*.net *.split]
Mekkis has quit [*.net *.split]
Elysia has quit [*.net *.split]
Nanuq has quit [*.net *.split]
borkdude has quit [*.net *.split]
bauruine has quit [*.net *.split]
BLuEGoD has quit [*.net *.split]
jokke has quit [*.net *.split]
LoganG has quit [*.net *.split]
tobiasvl has quit [*.net *.split]
jsrn has quit [*.net *.split]
bougyman has quit [*.net *.split]
jhass has quit [*.net *.split]
Nightmare has quit [*.net *.split]
saneax_AFK has quit [*.net *.split]
iooner has quit [*.net *.split]
Y_Ichiro has quit [*.net *.split]
guest192123 has quit [*.net *.split]
ohcibi has quit [*.net *.split]
_whitelogger_ has quit [*.net *.split]
Kamilion has quit [*.net *.split]
dellavg has quit [*.net *.split]
gremax has quit [*.net *.split]
catbusters has quit [*.net *.split]
ruurd has quit [*.net *.split]
yosafbridge has quit [*.net *.split]
shanemcd has joined #ruby
Hobbyboy|BNC is now known as Hobbyboy
LoganG_ is now known as LoganG
tvl is now known as tobiasvl
amitchellbullard has joined #ruby
pipecloud is now known as pipework
user1138 has quit [Remote host closed the connection]
c355E3B_ has joined #ruby
<shevy>
Fire-Dragon-DoL hehe
cbeer has left #ruby ["Quit"]
amitchellbullard has quit [Changing host]
amitchellbullard has joined #ruby
<shevy>
Fire-Dragon-DoL that's how I feel about the stdlib option parser!
zly has joined #ruby
skmp_ is now known as skmp
devoldmx has joined #ruby
user1138 has joined #ruby
cwong_on_irc has quit [Quit: Leaving.]
Kamilion has joined #ruby
null__ has joined #ruby
null__ has quit [Changing host]
null__ has joined #ruby
<shevy>
we have slop... we also have some other newer gem I think... but I forgot the name
<Fire-Dragon-DoL>
shevy: class Whatever::Foo#foo ends up having command whatever:foo:foo, can't find a way to have whatever:foo -.-
<shevy>
Fire-Dragon-DoL what exactly are your requirements?
codeurge has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kalzz has joined #ruby
aspire has joined #ruby
jbrhbr has joined #ruby
<Fire-Dragon-DoL>
shevy: thor was fine if it had some proper documentation but it doesn't. I want plain old ruby classes, bind a command to a method in one of those classes and option parsing was fine like thor, so nothing special...
SOLDIERz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
machty_ is now known as machty
sorah has joined #ruby
jgt1 has quit [Ping timeout: 240 seconds]
lacrosse has joined #ruby
mrtomme has quit [Ping timeout: 246 seconds]
braderhart has joined #ruby
Lloyd has joined #ruby
Guest85414______ has joined #ruby
Didac has joined #ruby
mrtomme has joined #ruby
mroth has joined #ruby
baweaver has joined #ruby
TDJACR has joined #ruby
nateberkopec has joined #ruby
pandaant_ has quit [Remote host closed the connection]
jlyndon has joined #ruby
krobzaur has joined #ruby
nateberkopec has quit [Client Quit]
nonjs has joined #ruby
<nonjs>
non native english speaker here, What exactly we call a software which developed with out considering too many use cases? like it works well if it meets all required conditions
johnny56 has joined #ruby
cookiez has joined #ruby
johnny56 has quit [Max SendQ exceeded]
Hien has joined #ruby
ruurd has joined #ruby
baweaver has quit [Ping timeout: 272 seconds]
ruurd is now known as Guest5103
johnny56 has joined #ruby
<jhass>
not sure there's a canonical term for that
<hxegon>
prototype kind of fits
<jhass>
"not bloated"?
<Fire-Dragon-DoL>
prototype fits I believe
<jhass>
dunno, a prototype doesn't have all of the desired features yet IMO
<hxegon>
eh, it is by definition the first or preliminary in a series, but it gets some of it across
krasnus has joined #ruby
c355E3B_ has quit []
c355E3B_ has joined #ruby
nibbo has joined #ruby
shock_one has quit [Remote host closed the connection]
shock_one has joined #ruby
n008f4g_ has joined #ruby
<nonjs>
not that word, or may a software without enough foundation? without following best practices?
Nanuq has joined #ruby
al2o3-cr has quit [Quit: WeeChat 1.3]
<blub>
whats the opposite of robust
<nickjj>
mvp?
<havenwood>
tsubor
kies has quit [Ping timeout: 256 seconds]
<havenwood>
blub: fragile
govg has quit [Ping timeout: 272 seconds]
rakm has joined #ruby
c355E3B_ is now known as c355e3b
c355e3b has quit []
BSaboia has quit [Read error: Connection reset by peer]
c355e3b has joined #ruby
govg has joined #ruby
snguyen has joined #ruby
nibbo has quit [Ping timeout: 272 seconds]
n008f4g_ has quit [Ping timeout: 240 seconds]
zast has joined #ruby
joast has joined #ruby
lxsameer has joined #ruby
kobain has quit [Ping timeout: 240 seconds]
lxsameer has quit [Changing host]
lxsameer has joined #ruby
codeurge has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<nonjs>
blub: not exactly, may be a software with too much duct tapes? the phrase is quite common.
rakm has quit [Client Quit]
sepp2k has joined #ruby
jgt1 has joined #ruby
tomphp has joined #ruby
Mon_Ouie has joined #ruby
mokha has quit [Ping timeout: 252 seconds]
dlitvak has joined #ruby
Coldblackice has joined #ruby
rippa has joined #ruby
<hxegon>
nonjs: cludge?
<hxegon>
or kludge
RegulationD has joined #ruby
<jhass>
nonjs: what's your native language and which term would you use there?
<blub>
a kludge is much more localised
guest192123 has joined #ruby
Yzguy has joined #ruby
nibbo has joined #ruby
yardenbar has quit [Ping timeout: 256 seconds]
tildes_ has quit [Ping timeout: 256 seconds]
tenderlove has joined #ruby
RegulationD has quit [Ping timeout: 256 seconds]
cdg has joined #ruby
nibbo has quit [Remote host closed the connection]
<havenwood>
blub: Are you trying to say a thing is incomplete or brittle or something else?
al2o3-cr has joined #ruby
shock_one has quit [Remote host closed the connection]
<blub>
i was just trying to figure out nonjs' word
<havenwood>
blub: Aha!
FernandoBasso has joined #ruby
<havenwood>
I totally missed the context. Time for coffee!
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tildes has joined #ruby
goodcodeguy has joined #ruby
<havenwood>
nonjs: Maybe myopic and brittle.
<havenwood>
And incomplete. :P
tenderlove has quit [Ping timeout: 240 seconds]
<hxegon>
schwifty?
shock_one has joined #ruby
elton has joined #ruby
<nonjs>
didn't got the word I'm looking, but learned many new words :)
<havenwood>
nonjs: What word would it be in your native lang?
User458764 has quit [Ping timeout: 256 seconds]
<Ox0dea>
nonjs: Spaghetti? Hodgepodge?
rakm has joined #ruby
User458764 has joined #ruby
<Ox0dea>
Rube Goldberg machine?
heyimwill has joined #ruby
dlitvak has quit [Remote host closed the connection]
<nonjs>
havenwood: we usually use something like "paper castle" in my native language, but there was picture of house which demonstrate this software development problem, with small foundation, un expected extenstion from the middle and all, and there was word/phrase with that image
elton has quit [Ping timeout: 240 seconds]
<hxegon>
nonjs: house of cards is the english equivalent
<havenwood>
Aye, a house of cards.
dlitvak has joined #ruby
<hxegon>
you breathe wrong near it and the whole thing comes down, YOU HEAR THAT SECOND GRADE TEACHER, YOU FREAK
jgt1 has quit [Ping timeout: 240 seconds]
<havenwood>
straw house
kalopsian has joined #ruby
<nonjs>
I guess that's the word I'm looking, thanks a lot blub, hxegon, havenwood and evryone :)
symm- has quit [Ping timeout: 256 seconds]
dlitvak has quit [Remote host closed the connection]
User458764 has quit [Ping timeout: 272 seconds]
thejamespinto has joined #ruby
arian0n has joined #ruby
berserk_ren has quit [Remote host closed the connection]
<Shapeshifter>
Hi. How can I define a method to pass to sort? i.e. instead of doing .sort { |a, b| ... } I want to do sort(my_function) and specify my_function(a,b) somewhere.
nerium has quit [Quit: nerium]
kobain has joined #ruby
_stu_ has quit [Quit: _stu_]
freerobby has joined #ruby
nerium has joined #ruby
<jhass>
.sort(&method(:there_are_no_functions_so_this_is_a_method)) # though what does it do? Sure you don't want sort_by?
devoldmx has quit [Remote host closed the connection]
brt has joined #ruby
skade has joined #ruby
<jhass>
or SORTER = -> a, b { a <=> b }; .sort(&SORTER)
dorei has joined #ruby
<Ox0dea>
Shapeshifter: I'm pretty sure you do want #sort_by, but you won't be able to use jhass's &method(:foo) recommendation without defining your custom sort method to take an Array instead of two individual elements.
<jhass>
uh, duh
shock_one has joined #ruby
<Ox0dea>
Still, it'd be neat if there were a way to splat that.
chipotle has joined #ruby
kies has joined #ruby
<Shapeshifter>
Thanks. It's a bit daft, really, I have this domain object that doesn't support an ordering, and I want to order specific instances. There are only 4 instances and I need to sort them in a view so I didn't think it was reasonable to make it comparable etc.
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
brt has quit [Ping timeout: 272 seconds]
skweek has joined #ruby
baroquebobcat has quit [Read error: Connection reset by peer]
nwhirschfeld has quit [Remote host closed the connection]
<user1138>
how many hours of studying would it take to be able to code in ruby?
baroquebobcat has joined #ruby
<Ox0dea>
4.
<Shapeshifter>
Ox0dea: well yeah but I'm not sorting them by name alphabetically. Nor by any other alphabetical or numerical order. I need a specific order.
<adaedra>
between 1 and 8275983465723469823905837028956438754.7
<Ox0dea>
Shapeshifter: Name was just an example?
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Ox0dea>
It's just a method like any other in that demonstration.
shock_one has quit [Remote host closed the connection]
<Shapeshifter>
Ox0dea: what if I want these to be sorted specifically like ["Carol", "Bob", "Alice"]
<Shapeshifter>
Ox0dea: and assume that sometimes one of them could be missing
<Ox0dea>
I don't follow.
<Shapeshifter>
but if "bob" is there, it should come after "carol" and before "alice"
nwhirschfeld has joined #ruby
kies has quit [Ping timeout: 240 seconds]
User458764 has quit [Ping timeout: 250 seconds]
dionysus69 has joined #ruby
<Shapeshifter>
as in "Alice" > "Bob" > "Carol" that's the ordering I want
<Ox0dea>
Shapeshifter: I'm not sure you properly understand sorting. Why should some element's absence affect the order of the others?
howdoico1 has joined #ruby
<Shapeshifter>
Ox0dea: no... It's so trivial it's hard to explain :D
agit0 has joined #ruby
agit0 has quit [Client Quit]
rgrmatt has joined #ruby
User458764 has joined #ruby
<Ox0dea>
Shapeshifter: Are you sure you need to bother with extracting this out to a method? `foo.sort_by { |x| x.some_property }` is probably what you want.
slact has quit [Quit: ChatZilla 0.9.92 [Firefox 45.0a1/20151114030404]]
agent_white has quit [Ping timeout: 240 seconds]
atomical has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Shapeshifter>
Ox0dea: but how can I define a specific ordering like that. I mean, this just sorts alphabetically. I want to give possible instances (names) a specific order.
karidoe has quit [Remote host closed the connection]
falkhan has joined #ruby
bigmac has joined #ruby
kies has joined #ruby
<user1138>
jhass, whats the best resource for someone wanting to learn ruby with no programming experience?
agit0 has quit [Client Quit]
<jhass>
user1138: Chris Pine's Learn to program
<hxegon>
Shapeshifter: Like define that x goes before y goes before z, not because of a specific property of x y or z?
<user1138>
what about khan academy?
<jhass>
user1138: it shows the syntax and structures but not the mindset
<Shapeshifter>
Ox0dea: my desired order would be ["Alice", "Carol", "Bob", "Jim"] but it's not working like that
rgrmatt has quit [Remote host closed the connection]
falkhan has quit [Quit: Leaving]
<Ox0dea>
Shapeshifter: I still don't get it. :<
Mon_Ouie has quit [Ping timeout: 256 seconds]
<Shapeshifter>
Ox0dea: The people array contains 4 instances. Of those instances (could be any number), some need to be in a specific place (i.e. before others)
<jhass>
Shapeshifter: a.name
<Shapeshifter>
those that need to be before/after each other are listed in order
<Shapeshifter>
jhass: no that would be alphabetically again
<Diabolik>
what would be the regex matcher for a phone number
<Diabolik>
so for exampel
<Diabolik>
(123) 456-7890
<havenwood>
Diabolik: Always in that format?
<Diabolik>
yes
ruid has quit [Ping timeout: 256 seconds]
<Diabolik>
including the space after first 3 numbers
freerobby has quit [Quit: Leaving.]
ta has joined #ruby
* Platonides
remembers Diabolik that many people don't have phone numbers with such format
<Diabolik>
thanks Platonides its for specific use casd
<Diabolik>
e
<jhass>
Diabolik: rubular.com
<havenwood>
Diabolik: So open parens, three digits, close parens, a space, three digits, a dash and four digits? Escape everything! Do you know how to digits? Or multiple digits?
<Diabolik>
what do you mean how to digits?
<Platonides>
I hope so, but I have seen a good number of X-Y problems :)
<havenwood>
Diabolik: See Rubular ^
n_blownapart has quit [Remote host closed the connection]
<havenwood>
Diabolik: "Any digit"
<jhass>
Diabolik: show us your attempt
<havenwood>
Diabolik: escape the parens and dash with \ (backslashes)
<Diabolik>
i started with (/\d[0-9]\)*\z/)
<jhass>
havenwood: no need to escape the dash in that context
<havenwood>
jhass: ah, right
<jhass>
Diabolik: \d is equal to [0-9]
<Platonides>
this would work: /^\([0-9]{3}\) [0-9]{3}-[0-9]{4}$/
<Platonides>
\d is already a number
<havenwood>
Platonides: From the docs: /\d/ - A digit character ([0-9])
<Platonides>
you were matching two digits inside the parents
<jhass>
Platonides: \A & \z if you want to anchor to start & end of string
ta has quit [Ping timeout: 240 seconds]
<Platonides>
jhass: good point
<Platonides>
this would faile with multiline
<havenwood>
(Different than `/[[:digit:]]/ `.)
<havenwood>
" For instance, /\d/ matches only the ASCII decimal digits (0-9); whereas /[[:digit:]]/ matches any character in the Unicode Nd category."
<Platonides>
havenwood: not all regex flavors support \d, while all support [0-9]
<Diabolik>
it's not working but hmm
<Diabolik>
il figure it out
<havenwood>
Platonides: #ruby
krobzaur has quit [Ping timeout: 256 seconds]
<Ox0dea>
Platonides: 2015
<havenwood>
Platonides: :P
* apeiros
for some reason prefers the \p classes over the [[::]] classes
<apeiros>
i.e. \p{digit}
underplank has joined #ruby
* Platonides
just explains the choice, \d is obviously fine for a ruby regex
myztic has quit [Ping timeout: 256 seconds]
<apeiros>
Platonides: uh, I think even oracle's regex engine supports \d, and that is so far my standard for "worst possible regex engine"
<adaedra>
[[:\p{digit}:]]
<jhass>
mh, are there actually equivalent \p's for all [[::]]'s?
<Ox0dea>
Should be.
<apeiros>
I wish \p understood set semantics
<apeiros>
\p{Digits & Otherthing}
<underplank>
Hi all. Is there a way with optparse to have dynamic parameters? I basically want to convert say “—bar baz —foo bar” into {“bar”: “baz”, “foo”, “bar”}
<underplank>
so I can then pass that into an erb template to render?
<apeiros>
same for |, - and ^
<underplank>
Also if there is a better way to do this, let me know. just starting at ruby
myztic has joined #ruby
<Ox0dea>
>> '-foo bar -baz quux'.scan(/-(\w+) (\w+)/).to_h # underplank
<jhass>
Diabolik: you want to learn about seed values for PRNGs
<stevenxl>
Ox0dea: Why does the Ruby interpreter store all names within a symbol table? For example. If I type :abc into an Ruby REPL, it will add that symbol into a an array that I can access via Symbol.all_symbols.
bahar_ has quit [Ping timeout: 250 seconds]
<stevenxl>
And it does this for all "names" - I can type in name = "Steven" and that table will now contain the symbol :name.
<stevenxl>
I'm interested in what the point of doing all of that is.
<Ox0dea>
stevenxl: It's essentially just an implementation detail.
_stu_ has quit [Quit: _stu_]
sucks has quit [Ping timeout: 256 seconds]
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Diabolik>
Ox0dea I don't understand
n_blownapart has quit []
<Ox0dea>
Diabolik: Which number would you like me to make `rand 100` generate?
<shevy>
42
<Diabolik>
within that kata i can only edit guess
<Diabolik>
i think
n_blownapart has joined #ruby
<jhass>
Diabolik: did you research the terms I've given you yet?
<Diabolik>
yeah
<blub>
does ruby have uninterned symbols
<Diabolik>
im reading atm
<jhass>
Diabolik: what did you learn?
<Ox0dea>
blub: No.
zarubin has quit [Ping timeout: 272 seconds]
<Diabolik>
The PRNG-generated sequence is not truly random, because it is completely determined by a relatively small set of initial values, called the PRNG's seed (which may include truly random values)
<havenwood>
Diabolik: gem install pry pry-doc && pry # then try entering `? rand` or `? srand`
<Ox0dea>
Diabolik: shevy asked me to make it spit out 42, and I did so. Was it magic?
<Diabolik>
no
<Ox0dea>
You are allowed to edit more than `guess`.
<Ox0dea>
The point of the exercise is to teach you about seeding a PRNG.
<shevy>
blub hmm I thought that symbols don't need to be stored anywhere
fexilal has quit [Ping timeout: 240 seconds]
felixal has joined #ruby
sucks has joined #ruby
rgrmatt has joined #ruby
<Ox0dea>
stevenxl: Symbol.all_symbols isn't an Array that gets appended to; it's a convenience that walks the internal table to find all the Symbols each time you call it.
skweek has joined #ruby
<Ox0dea>
That assignment creates a Symbol is, again, an implementation detail.
printf has quit [Ping timeout: 250 seconds]
n_blownapart has quit []
<underplank>
stevenxl: I imagine the reason it keeps it in a symbol table is because each symbol is a reference to something. And if in a few lines you go to reference that again, it needs somewhere to look it up, to see what you are trying to reference
colegatron has joined #ruby
lxsameer has quit [Quit: Leaving]
TomyLobo has quit [Ping timeout: 256 seconds]
nateberkopec has joined #ruby
printf has joined #ruby
printf has quit [Disconnected by services]
kaka__ has joined #ruby
jottr has joined #ruby
bronson has joined #ruby
charliesome has joined #ruby
metredigm has joined #ruby
DavidDudson has joined #ruby
spider-mario has quit [Remote host closed the connection]
kiez0rd has quit [Ping timeout: 256 seconds]
<metredigm>
when running `gem install em-websocket`, i get a ton of gcc multiple definition errors when it tries to link ruby_http_parser.so; this is running on a 32bit machine with gem version 2.5.0 and gcc version 5.3.0
solars has quit [Ping timeout: 272 seconds]
bronson has quit [Ping timeout: 256 seconds]
grilled-cheese has quit [Ping timeout: 256 seconds]
SCHAAP137 has quit [Remote host closed the connection]
thejamespinto has joined #ruby
SCHAAP137 has joined #ruby
weemsledeux has joined #ruby
<underplank>
Is there a way to work out which configuration file irb is using when it starts? I’ve created an ~/.irbrc file but it doesnt look like its using it. (OSX btw)
thejamespinto has quit [Ping timeout: 240 seconds]
grilled-cheese has joined #ruby
iateadonut has joined #ruby
jottr has quit [Quit: WeeChat 1.3]
tenderlove has quit [Remote host closed the connection]
rgrmatt has quit [Remote host closed the connection]