nofxx has quit [Remote host closed the connection]
<mkvrick>
i have a question maybe someone could answer: i configured a prog, rake compiled it .. ending was: all done! Enjoy! .. but,
ResidentBiscuit has quit [Ping timeout: 245 seconds]
nofxx has joined #ruby
<mkvrick>
no program to be found ! only a shared library file with the name of the program instead of the .exe
<mkvrick>
any ideas ?? i am baffled
sedawkvim has left #ruby ["Leaving"]
milardovich has quit [Ping timeout: 256 seconds]
white_lilies has quit [Ping timeout: 240 seconds]
<mkvrick>
there were no errors for configure and no errors during the rake compile *shrug*
<maesitos>
a ruby exe?
<mkvrick>
no, the program was to make an .exe
bigblind has joined #ruby
<mkvrick>
ruby is installed to be able to use Rake
ResidentBiscuit has joined #ruby
<maesitos>
I can't help you there sorry
<mkvrick>
ah, ok, thank you very much for trying :)
Barrt has joined #ruby
<mkvrick>
i thought maybe someone here would have an idea ... many here are experts at ruby , i am a newbie
<maesitos>
I know ruby but don't know anything about your particular issu
<mkvrick>
is there another command that i omitted maybe ? like rake compile or rake build ???
<mkvrick>
i just typed configure ... when it finished, i typed rake ... all went smooth and well ... but no program to be found *baffled*
<mkvrick>
errors can be googled, but this one leaves me with little to go on
maesitos has quit [Remote host closed the connection]
ResidentBiscuit has quit [Remote host closed the connection]
<mkvrick>
sheesh, skeerd him off
<mkvrick>
... *hides* ...
n0m4d1c has joined #ruby
cschneid has joined #ruby
ResidentBiscuit has joined #ruby
<havenwood>
mkvrick: Can you use #find_or_create_by! there?
maesitos has joined #ruby
<havenwood>
mkvrick: oops, wrong person
<havenwood>
maesitos: ^was
cschneid has quit [Ping timeout: 256 seconds]
<havenwood>
mkvrick: what program was it? if it was a gem I'd know where to point you, but a rake task could do anything. share the code of the rake task?
herbmillerjr has joined #ruby
<mkvrick>
the program is mkvtoolnix, it uses configure, then rake to compile. what is puzzling is there were no errors.
<mkvrick>
i asked my question here, thinking maybe i omitted a rake command or something ... thank you for your help though
maum has joined #ruby
<maesitos>
I'm not sure
<maesitos>
run rake -T
<maesitos>
and maybe there you get more info about the task you run
drewmcmillan has joined #ruby
ResidentBiscuit has quit []
<maesitos>
maybe the exe file was put somewhere in your system...
<mkvrick>
ah, good idea, is rake -T the same as rake --trace ?
<mkvrick>
well i did do rake install and also rake destdir= , to find it only made some shared library files with no extention
mcr has quit [Ping timeout: 252 seconds]
white_lilies has quit [Ping timeout: 256 seconds]
<mkvrick>
the lib files were the correct name of the program it was supposed to make ... for kicks i added the .exe to the files, but they are lib files, not executables
<maesitos>
maybe it's better to read the documentation if you don't know ruby as they'll say what rake did exactly
<mkvrick>
i think that the rake -T command will lead me to some information for a fix ... thank you maesitos
<maesitos>
rake is just an app to move things and run certain commands
<maesitos>
it's a bundle for a set of commands
white_lilies has joined #ruby
<mkvrick>
what i have gathered is that rake is ruby make
<maesitos>
yeah it's he equivalent of C's make
<mkvrick>
i am more familiar with the makefiles, but never hurts to learn something new
<maesitos>
maybe the mkvtoolnix documentation...
marr has quit [Ping timeout: 256 seconds]
<mkvrick>
oh boy, the mkvtoolnix docs ... they are quite misleading
cdg has joined #ruby
clemens3 has quit [Ping timeout: 240 seconds]
<maesitos>
then open the rake file and inspect it
<maesitos>
there should be a line that says "task :install
<maesitos>
"
<mkvrick>
i see nothing wrong in the rakefile, besides it ran completely with zero errors
<mkvrick>
i shall look for that line : "task : install"
cdg has quit [Ping timeout: 245 seconds]
<mkvrick>
found it: ... task :install => targets
mcr has joined #ruby
Guest89063 has quit [Ping timeout: 240 seconds]
John_Ivan has quit [Ping timeout: 252 seconds]
mcr has quit [Ping timeout: 245 seconds]
seanypants has joined #ruby
n008f4g_ has quit [Ping timeout: 260 seconds]
seanypants has quit [Client Quit]
hndk has joined #ruby
<mkvrick>
thank you all for your help ... bye now
mkvrick has left #ruby [#ruby]
herbmillerjr has quit [Quit: Konversation terminated!]
sameerynho has joined #ruby
willmichael has quit [Ping timeout: 245 seconds]
willmichael has joined #ruby
gary has joined #ruby
gary is now known as Guest19103
Guest19103 has quit [Client Quit]
sameerynho has quit [Ping timeout: 248 seconds]
kapil___ has quit [Quit: Connection closed for inactivity]
Vapez has quit [Remote host closed the connection]
maesitos has quit []
shinnya has quit [Ping timeout: 252 seconds]
s3nd1v0g1us has joined #ruby
workmad3 has joined #ruby
phaul has quit [Ping timeout: 245 seconds]
Exuma has joined #ruby
workmad3 has quit [Ping timeout: 252 seconds]
n0m4d1c has quit [Remote host closed the connection]
n0m4d1c has joined #ruby
Gnut has quit [Ping timeout: 240 seconds]
cschneid has joined #ruby
hndk has quit [Quit: Leaving]
Gnut has joined #ruby
n0m4d1c has quit [Ping timeout: 252 seconds]
n0m4d1c_ has joined #ruby
gil_ has quit [Ping timeout: 248 seconds]
alfiemax has quit [Remote host closed the connection]
gil_ has joined #ruby
gil_ has joined #ruby
gil_ has quit [Changing host]
cschneid has quit [Remote host closed the connection]
cschneid has joined #ruby
bigblind has quit [Ping timeout: 252 seconds]
cschneid has quit [Remote host closed the connection]
cschneid has joined #ruby
minimalism has quit [Quit: minimalism]
char_var[buffer] has quit [Quit: There is no System but GNU and Linux is one of its Kernels]
Barrt has quit [Quit: Leaving]
bigblind has joined #ruby
desperek has quit [Quit: xoxo]
cschneid has quit [Remote host closed the connection]
cschneid has joined #ruby
gizmore|2 has joined #ruby
gizmore has quit [Ping timeout: 245 seconds]
cschneid has quit [Ping timeout: 248 seconds]
drewmcmillan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cschneid has joined #ruby
cschneid has quit [Ping timeout: 240 seconds]
cdg has joined #ruby
n0m4d1c_ has quit [Remote host closed the connection]
<bratchley>
I'm trying to find a website I only vaguely recall. It's called like "Is Ruby Still Slow?" and it contains a bunch of graphs of benchmarks from the various versions
n0m4d1c has quit [Remote host closed the connection]
AJA4350 has quit [Remote host closed the connection]
white_lilies has quit [Ping timeout: 260 seconds]
AJA4350 has joined #ruby
uptime has joined #ruby
Dimik has quit []
karapetyan has quit [Remote host closed the connection]
AJA4350 has quit [Quit: AJA4350]
karapetyan has joined #ruby
n0m4d1c has joined #ruby
bigblind has quit [Ping timeout: 248 seconds]
alfiemax has quit [Remote host closed the connection]
char_var[buffer] has joined #ruby
karapetyan has quit [Remote host closed the connection]
uptime has quit [Ping timeout: 252 seconds]
karapetyan has joined #ruby
mcr has quit [Ping timeout: 252 seconds]
orbyt_ has joined #ruby
trautwein has quit [Quit: ZNC 1.6.5 - http://znc.in]
trautwein has joined #ruby
shinnya has quit [Ping timeout: 240 seconds]
karapetyan has quit [Remote host closed the connection]
uptime has joined #ruby
gix has joined #ruby
arescorpio has quit [Excess Flood]
nadir has joined #ruby
gix- has quit [Ping timeout: 260 seconds]
karapetyan has joined #ruby
psmolen has joined #ruby
n0m4d1c has quit [Remote host closed the connection]
jordanm has quit [Remote host closed the connection]
karapetyan has quit [Ping timeout: 240 seconds]
drewmcmillan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cagmz has quit [Quit: Leaving]
benjen has left #ruby ["*Goes ranging*"]
bigblind has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
rcs has joined #ruby
mcr has joined #ruby
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
workmad3 has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
milardovich has joined #ruby
minimalism has joined #ruby
milardovich has quit [Ping timeout: 245 seconds]
Gnut has quit [Ping timeout: 245 seconds]
alfiemax has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
darkhanb has joined #ruby
Azure has quit [Quit: Oops.]
Joufflu has joined #ruby
Joufflu has quit [Client Quit]
anisha has joined #ruby
jamesaxl has joined #ruby
lytol has joined #ruby
Gnut has joined #ruby
kapil___ has joined #ruby
dviola has quit [Quit: WeeChat 2.0.1]
_aeris_ has quit [Ping timeout: 255 seconds]
rahul_bajaj has joined #ruby
rabajaj has quit [Read error: Connection reset by peer]
_aeris_ has joined #ruby
oleo has quit [Quit: Leaving]
rabajaj has joined #ruby
troys has quit [Quit: Bye]
rahul_bajaj has quit [Ping timeout: 245 seconds]
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
sundhell_away is now known as sundhell
jeffreylevesque has quit [Ping timeout: 240 seconds]
alfiemax has quit [Ping timeout: 260 seconds]
darkhanb has joined #ruby
darkhanb has quit [Client Quit]
Dimik has joined #ruby
howdoi has joined #ruby
darkhanb has joined #ruby
alfiemax has joined #ruby
eroux has quit [Ping timeout: 240 seconds]
alfiemax has quit [Ping timeout: 245 seconds]
jordanm has joined #ruby
Gnut has quit [Ping timeout: 240 seconds]
bl4ckn1nj4 has quit [Quit: Leaving]
ta_ has quit [Remote host closed the connection]
roshanavand has joined #ruby
mtkd has joined #ruby
roshanavand has quit [Quit: Leaving.]
roshanavand has joined #ruby
rrichardsr3 has joined #ruby
anisha has quit [Ping timeout: 252 seconds]
anisha has joined #ruby
alex`` has joined #ruby
ledestin has joined #ruby
<dminuoso>
havenwood: I really gotta run some benchmarks on my FP idioms on truffle.
<dminuoso>
havenwood: By the way, do you know why TCO is not enabled by default?
apeiros has quit [Remote host closed the connection]
Burgestrand has joined #ruby
aufi has joined #ruby
anisha_ has joined #ruby
anisha has quit [Ping timeout: 240 seconds]
despai has joined #ruby
anisha__ has joined #ruby
workmad3 has joined #ruby
conta has joined #ruby
anisha_ has quit [Ping timeout: 240 seconds]
conta has quit [Remote host closed the connection]
conta has joined #ruby
anisha_ has joined #ruby
alfiemax has joined #ruby
ShekharReddy has joined #ruby
anisha__ has quit [Ping timeout: 256 seconds]
anisha has joined #ruby
workmad3 has quit [Ping timeout: 276 seconds]
anisha_ has quit [Ping timeout: 252 seconds]
alfiemax has quit [Ping timeout: 240 seconds]
duderonomy has joined #ruby
KeyJoo has joined #ruby
duderonomy is now known as Guest43016
anisha_ has joined #ruby
anisha__ has joined #ruby
milardovich has joined #ruby
despai has quit [Quit: ...]
anisha has quit [Ping timeout: 252 seconds]
someuser has joined #ruby
anisha_ has quit [Ping timeout: 252 seconds]
<Mon_Ouie>
dminuoso: I think it has to do with losing some debugging ability due to losing (part of) the stacktrace
milardovich has quit [Ping timeout: 240 seconds]
alfiemax has joined #ruby
anisha has joined #ruby
anisha__ has quit [Ping timeout: 240 seconds]
andikr has joined #ruby
vondruch has quit [Ping timeout: 252 seconds]
rrichardsr3 has quit [Quit: He who dares .... wins.]
mtkd has quit []
mtkd has joined #ruby
n008f4g_ has joined #ruby
amatas has joined #ruby
Guest43016 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
herbmillerjr has joined #ruby
monazu has joined #ruby
TomyWork has joined #ruby
schneider has joined #ruby
ta_ has joined #ruby
vondruch has joined #ruby
vondruch has quit [Client Quit]
vondruch has joined #ruby
schneider has quit [Ping timeout: 240 seconds]
quobo has joined #ruby
bigblind has quit [Ping timeout: 248 seconds]
clemens3 has joined #ruby
n008f4g_ has quit [Ping timeout: 240 seconds]
avelldiroll has quit [Quit: WeeChat 1.6]
schneider has joined #ruby
TomyWork has quit [Remote host closed the connection]
claudiuinberlin has joined #ruby
avelldiroll has joined #ruby
yohji has joined #ruby
TomyWork has joined #ruby
mtkd has quit []
monazu has quit [Quit: Leaving]
Dimik has quit [Ping timeout: 245 seconds]
sqbell_ has quit [Ping timeout: 248 seconds]
mtkd has joined #ruby
rahul_bajaj has joined #ruby
rabajaj has quit [Ping timeout: 252 seconds]
aupadhye has joined #ruby
bigblind has joined #ruby
minimalism has quit [Quit: minimalism]
rabajaj has joined #ruby
rahul_bajaj has quit [Ping timeout: 240 seconds]
mikecmpbll has joined #ruby
maum has quit [Remote host closed the connection]
jenrzzz has joined #ruby
Silthias has joined #ruby
roshanavand has quit [Ping timeout: 245 seconds]
alfiemax has quit [Remote host closed the connection]
beauby has joined #ruby
workmad3 has joined #ruby
clemens3 has quit [Ping timeout: 248 seconds]
workmad3 has quit [Ping timeout: 245 seconds]
InfinityFye has joined #ruby
clemens3_ has joined #ruby
sameerynho has joined #ruby
ShekharReddy has quit [Quit: Connection closed for inactivity]
sylario has joined #ruby
clemens3_ has quit [Quit: WeeChat 1.0.1]
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Silthias has quit [Read error: Connection reset by peer]
alfiemax has joined #ruby
clemens3 has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
clemens3 has quit [Client Quit]
anisha_ has joined #ruby
clemens3 has joined #ruby
alfiemax has quit [Remote host closed the connection]
anisha has quit [Ping timeout: 260 seconds]
Silthias has joined #ruby
devil_tux has joined #ruby
alfiemax has joined #ruby
anisha__ has joined #ruby
anisha_ has quit [Read error: Connection reset by peer]
alfiemax has quit [Ping timeout: 248 seconds]
Guest56964 has quit [Ping timeout: 248 seconds]
sameerynho has quit [Ping timeout: 240 seconds]
bigblind has quit [Ping timeout: 245 seconds]
marr has joined #ruby
tvw has joined #ruby
Bish has quit [Quit: yo]
Beams has joined #ruby
bigblind has joined #ruby
riotjones has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
dionysus69 has joined #ruby
Asher has joined #ruby
tomphp has joined #ruby
riotjones has quit [Remote host closed the connection]
riotjones has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
workmad3 has joined #ruby
tomphp has joined #ruby
Blackraider has joined #ruby
schneider has quit [Ping timeout: 276 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
tomphp has quit [Ping timeout: 240 seconds]
LJNZXWZMB has quit [Ping timeout: 256 seconds]
Blackraider has quit [Client Quit]
jenrzzz has joined #ruby
schneider has joined #ruby
bigblind has quit [Ping timeout: 256 seconds]
jenrzzz has quit [Ping timeout: 245 seconds]
cdg has joined #ruby
jaruga has joined #ruby
drewmcmillan has joined #ruby
amelliaa has joined #ruby
bigblind has joined #ruby
jenrzzz has joined #ruby
cdg has quit [Ping timeout: 245 seconds]
foxxx0 has quit [Quit: foxxx0]
jenrzzz has quit [Ping timeout: 248 seconds]
foxxx0 has joined #ruby
adlerdias has joined #ruby
anisha_ has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
anisha__ has quit [Ping timeout: 245 seconds]
alfiemax has joined #ruby
mtkd has quit [Ping timeout: 245 seconds]
rabajaj has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 245 seconds]
mtkd has joined #ruby
phaul has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
GodFather has quit [Read error: Connection reset by peer]
drewmcmillan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
GodFather has joined #ruby
alfiemax has quit [Ping timeout: 252 seconds]
rabajaj has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
Silthias has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
Sina has joined #ruby
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
A124 has joined #ruby
A124 has quit [Ping timeout: 240 seconds]
conta1 has joined #ruby
A124 has joined #ruby
InfinityFye has quit [Ping timeout: 252 seconds]
InfinityFye has joined #ruby
conta has quit [Ping timeout: 256 seconds]
conta1 is now known as conta
A124 has quit [Ping timeout: 245 seconds]
halbbalda has joined #ruby
alfiemax has joined #ruby
schneider has quit [Ping timeout: 240 seconds]
alfiemax has quit [Ping timeout: 276 seconds]
bigblind has quit [Ping timeout: 248 seconds]
ldnunes has joined #ruby
Silthias has joined #ruby
nowhere_man has joined #ruby
nowhereman_ has quit [Ping timeout: 248 seconds]
Psybur has joined #ruby
rabajaj has quit [Ping timeout: 240 seconds]
schneider has joined #ruby
tcopeland has quit [Quit: tcopeland]
bigblind has joined #ruby
AJA4350 has joined #ruby
aupadhye has quit [Remote host closed the connection]
aupadhye has joined #ruby
KeyJoo has quit [Quit: KeyJoo]
jenrzzz has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
Azure has joined #ruby
A124 has joined #ruby
Cavallari has joined #ruby
rabajaj has joined #ruby
A124 has quit [Ping timeout: 276 seconds]
alfiemax has joined #ruby
SynSynack has left #ruby ["Не разучиться мечтать... любить..."]
kapil___ has joined #ruby
mcr has quit [Ping timeout: 245 seconds]
mostlybadfly has joined #ruby
alfiemax has quit [Ping timeout: 260 seconds]
jaruga has quit [Ping timeout: 245 seconds]
jenrzzz has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
dinfuehr has quit [Quit: ZNC 1.6.3+deb1 - http://znc.in]
drewmcmillan has joined #ruby
dinfuehr has joined #ruby
mcr has joined #ruby
mtkd has quit [Ping timeout: 248 seconds]
raynold has quit [Quit: Connection closed for inactivity]
mtkd has joined #ruby
Cthulu201 has quit [Quit: Nowhere special. I always wanted to go there.]
Serpent7776 has joined #ruby
_zach has quit [Ping timeout: 248 seconds]
_zach has joined #ruby
za1b1tsu has joined #ruby
yonah_w has joined #ruby
synthroid has joined #ruby
yonahw has quit [Ping timeout: 256 seconds]
Silthias1 has joined #ruby
Silthias has quit [Ping timeout: 245 seconds]
kobain has joined #ruby
Cthulu201 has joined #ruby
John_Ivan has joined #ruby
John_Ivan has joined #ruby
John_Ivan has quit [Changing host]
karapetyan has joined #ruby
rwb has quit [Ping timeout: 240 seconds]
k0mpa has joined #ruby
thinkpad has quit [Quit: lawl]
matchaw has joined #ruby
raynold has joined #ruby
tcopeland has joined #ruby
theRoUS has left #ruby ["Off to another part of the maze of twisty little passages"]
thinkpad has joined #ruby
karapetyan has quit [Remote host closed the connection]
John_Ivan has quit [Ping timeout: 260 seconds]
cabotto has joined #ruby
za1b1tsu has quit [Quit: Leaving]
alfiemax has joined #ruby
tomphp has joined #ruby
alfiemax has quit [Ping timeout: 252 seconds]
tomphp has quit [Client Quit]
jenrzzz has quit [Ping timeout: 240 seconds]
za1b1tsu has joined #ruby
mikecmpbll has quit [Read error: Connection reset by peer]
mikecmpbll has joined #ruby
bmurt has joined #ruby
memo1 has joined #ruby
jaruga has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
karapetyan has joined #ruby
schneider has quit [Ping timeout: 268 seconds]
<dminuoso>
>> class Λ; end
<ruby[bot]>
dminuoso: # => /tmp/execpad-7255f2f7f2c5/source-7255f2f7f2c5:2: class/module name must be CONSTANT ...check link for more (https://eval.in/963068)
<dminuoso>
y u hate me.
cdg has joined #ruby
<dminuoso>
>> Object.const_set(:Λ, 1)
<ruby[bot]>
dminuoso: # => wrong constant name Λ (NameError) ...check link for more (https://eval.in/963069)
<dminuoso>
ruby[bot]: Dont lie to me. There's nothing wrong about Λ.
matchaw has quit [Read error: Connection reset by peer]
<ruby[bot]>
dminuoso: # => 6.283185307179586 ...check link for more (https://eval.in/963071)
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
<dminuoso>
>> def σ; puts "Unicode works hooray"; end; σ
<ruby[bot]>
dminuoso: # => Unicode works hooray ...check link for more (https://eval.in/963072)
<dminuoso>
I want capital greek letters.
<dminuoso>
For constants.
karapetyan has quit [Ping timeout: 265 seconds]
zapata has quit [Read error: Connection reset by peer]
zapata has joined #ruby
mcr has quit [Ping timeout: 240 seconds]
beauby has quit [Ping timeout: 248 seconds]
matchaw_ has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jcalla has joined #ruby
A124 has joined #ruby
bmurt has joined #ruby
bmurt has quit [Client Quit]
matchaw has quit [Ping timeout: 240 seconds]
matchaw has joined #ruby
bmurt has joined #ruby
sundhell is now known as sundhell_away
tomphp has joined #ruby
matchaw_ has quit [Ping timeout: 265 seconds]
A124 has quit [Ping timeout: 240 seconds]
jeffreylevesque has joined #ruby
tomphp has quit [Client Quit]
shinnya has joined #ruby
someuser has quit [Ping timeout: 245 seconds]
beauby has joined #ruby
roshanavand has joined #ruby
dviola has joined #ruby
duderonomy has joined #ruby
duderonomy is now known as Guest65005
amatas has quit [Quit: amatas]
amatas has joined #ruby
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
alfiemax has joined #ruby
AgentVenom has joined #ruby
adlerdias has quit [Quit: adlerdias]
beauby has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
adlerdias has joined #ruby
JoshL- is now known as JoshL
JoshL is now known as JoshL_
oleo has joined #ruby
amelliaa has quit [Quit: -]
rwb has joined #ruby
cdg has quit [Remote host closed the connection]
jottr has joined #ruby
beauby has joined #ruby
kobain has quit [Ping timeout: 256 seconds]
memo1 has quit [Quit: WeeChat 1.4]
memo1 has joined #ruby
krawchyk has joined #ruby
mtkd has quit [Ping timeout: 265 seconds]
rrutkowski has joined #ruby
rrutkowski has quit [Read error: Connection reset by peer]
mtkd has joined #ruby
mcr has joined #ruby
JoshL_ has quit [Quit: ZNC 1.6.1+deb1~ubuntu14.04.0 - http://znc.in]
rrutkowski has joined #ruby
Guest16356 has quit [Ping timeout: 240 seconds]
hanmac has quit [Ping timeout: 252 seconds]
synthroid has quit [Remote host closed the connection]
kobain has joined #ruby
rrutkowski has quit [Client Quit]
ta_ has quit [Remote host closed the connection]
rrutkowski has joined #ruby
mcr has quit [Ping timeout: 248 seconds]
pastorinni has joined #ruby
alfiemax has quit [Remote host closed the connection]
herbmillerjr has quit [Ping timeout: 268 seconds]
Cavallari has quit [Quit: Cavallari]
bratchley has quit [Remote host closed the connection]
synthroid has joined #ruby
bigblind has quit [Ping timeout: 245 seconds]
A124 has joined #ruby
pastorinni has quit [Remote host closed the connection]
conta has quit [Ping timeout: 240 seconds]
schneider has joined #ruby
chat has joined #ruby
conta has joined #ruby
chat is now known as Guest83894
karapetyan has quit [Remote host closed the connection]
Silthias1 has quit [Ping timeout: 260 seconds]
pastorinni has joined #ruby
A124 has quit [Ping timeout: 248 seconds]
netherwolfe has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
hanmac has joined #ruby
A124 has joined #ruby
pastorinni has quit [Remote host closed the connection]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
karapetyan has joined #ruby
pastorinni has joined #ruby
Rapture has joined #ruby
alfiemax has joined #ruby
sammi`_ has joined #ruby
A124 has quit [Ping timeout: 240 seconds]
matchaw has quit [Read error: Connection reset by peer]
matchaw_ has joined #ruby
mcr has joined #ruby
matchaw_ has quit [Remote host closed the connection]
matchaw_ has joined #ruby
alfiemax has quit [Remote host closed the connection]
mcr has quit [Ping timeout: 240 seconds]
shinnya has quit [Ping timeout: 252 seconds]
anisha_ has quit [Quit: This computer has gone to sleep]
tomphp has joined #ruby
sammi` has quit [Quit: Lost terminal]
tomphp has quit [Client Quit]
matchaw has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
WhereIsMySpoon has quit [Disconnected by services]
chouhoulis has joined #ruby
dionysus69 has quit [Remote host closed the connection]
chouhoulis has quit [Remote host closed the connection]
matchaw_ has quit [Ping timeout: 256 seconds]
dionysus69 has joined #ruby
chouhoulis has joined #ruby
WhereIsMySpoon_ has joined #ruby
matchaw_ has joined #ruby
karapetyan has quit [Remote host closed the connection]
matchaw has quit [Ping timeout: 245 seconds]
alfiemax has joined #ruby
cabotto has quit []
Gnut has joined #ruby
hanmac has quit [Ping timeout: 240 seconds]
alfiemax has quit [Ping timeout: 245 seconds]
troys has joined #ruby
karapetyan has joined #ruby
_aeris_ has quit [Remote host closed the connection]
za1b1tsu has quit [Quit: Leaving]
sammi` has joined #ruby
_aeris_ has joined #ruby
rrutkowski has quit [Quit: rrutkowski]
karapetyan has quit [Ping timeout: 256 seconds]
DaveTaboola has joined #ruby
nowhere_man has quit [Remote host closed the connection]
karapetyan has joined #ruby
nowhere_man has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
rikkipitt has joined #ruby
sammi`_ has quit [Quit: Lost terminal]
karapetyan has quit [Remote host closed the connection]
mcr has joined #ruby
rrutkowski has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jottr has quit [Ping timeout: 276 seconds]
cschneid has joined #ruby
hanmac has joined #ruby
devil_tux has quit [Quit: leaving]
karapetyan has joined #ruby
minimalism has joined #ruby
konsolebox has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
cdg has joined #ruby
John_Ivan has joined #ruby
John_Ivan has joined #ruby
John_Ivan has quit [Changing host]
judofyr has joined #ruby
cdg has quit [Remote host closed the connection]
trautwein has quit [Quit: ZNC 1.6.5 - http://znc.in]
creeg has quit [Remote host closed the connection]
cdg has joined #ruby
drewmcmillan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cdg_ has joined #ruby
A124 has joined #ruby
karapetyan has joined #ruby
cdg has quit [Ping timeout: 260 seconds]
A124 has quit [Ping timeout: 260 seconds]
herbmillerjr has joined #ruby
rapha has left #ruby ["WeeChat 2.0-dev"]
mcr has quit [Read error: Connection reset by peer]
mcr has joined #ruby
karapetyan has quit [Ping timeout: 252 seconds]
creeg has joined #ruby
John_Ivan has quit [Ping timeout: 252 seconds]
rrutkowski has quit [Quit: rrutkowski]
Fusselgesicht has joined #ruby
karapetyan has joined #ruby
jottr has joined #ruby
desperek has joined #ruby
dionysus69 has quit [Ping timeout: 265 seconds]
jenrzzz has quit [Ping timeout: 276 seconds]
karapetyan has quit [Remote host closed the connection]
synthroid has quit [Remote host closed the connection]
schneider has quit [Ping timeout: 245 seconds]
alfiemax has joined #ruby
sundhell_away is now known as sundhell
conta has quit [Ping timeout: 240 seconds]
alfiemax has quit [Ping timeout: 260 seconds]
synthroid has joined #ruby
jim94 has joined #ruby
<jim94>
when is ruby 3 coming out?
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
andikr has quit [Remote host closed the connection]
judofyr has quit []
govg has quit [Ping timeout: 245 seconds]
pastorinni has quit [Remote host closed the connection]
tomphp has joined #ruby
hackeron_ has joined #ruby
jottr has quit [Ping timeout: 240 seconds]
Cavallari has joined #ruby
tomphp has quit [Client Quit]
bentlema has quit [Ping timeout: 256 seconds]
John_Ivan has joined #ruby
John_Ivan has joined #ruby
John_Ivan has quit [Changing host]
matchaw has joined #ruby
milardovich has joined #ruby
matchaw_ has quit [Ping timeout: 240 seconds]
matchaw has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 240 seconds]
matchaw has joined #ruby
<clemens3>
I hope never
<clemens3>
(if true what I heard about backwards compatibility...)
<havenwood>
jim94: On or after Christmas 2020.
<havenwood>
clemens3: What did you hear? Matz has spoken at length about preserving compatibility.
aScottishBoat has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
j2k has joined #ruby
aScottishBoat is now known as skeeba
<havenwood>
clemens3: They're being very careful to avoid a Python 2/3 situation.
skeeba is now known as aScottishBoat
<aScottishBoat>
what's going on havenwood?
<havenwood>
aScottishBoat: o/
cthulchu has joined #ruby
duracrisis has joined #ruby
<clemens3>
havenwood: glad to hear they learned something from that fiasco
<aScottishBoat>
"They're being very careful to avoid a Python 2/3 situation."
<clemens3>
python3 does not run python version 2 code
<havenwood>
aScottishBoat: Breaking compatibility must come with a cookie.
<aScottishBoat>
ah, we're talking about BC
<havenwood>
We demand cookies.
<aScottishBoat>
yeah, don't do it.
quobo has quit [Quit: Connection closed for inactivity]
<aScottishBoat>
+ milk**
<havenwood>
?cookie
<ruby[bot]>
here's your cookie: 🍪
<clemens3>
in a commercial environment, you are not spending years to rewrite your applications
<clemens3>
rails tried this shit several times on me, and out it went..
c0ncealed has quit [Read error: Connection reset by peer]
<dminuoso>
clemens3: Historical garbage can render technologies useless.
workmad3 has joined #ruby
<clemens3>
ruby 2 is a fine language
mtkd has quit [Ping timeout: 260 seconds]
<dminuoso>
Fine if you dont dare to look at other languages, sure.
<clemens3>
if you want to do something new, fine, name it something new... that will come
c0ncealed has joined #ruby
<dminuoso>
clemens3: Let's try this. Can you in one sentence explain to me what exactly `next` does?
<clemens3>
if the language is not stable, your software is not stable either
<dminuoso>
Like, seriously. Try it.
mtkd has joined #ruby
A124 has joined #ruby
<clemens3>
dminuoso: admitted, ruby is not the best to invoke other processes, or java wasnt either
matchaw_ has joined #ruby
<clemens3>
dminuoso: but don't brake my code to invoke external stuff either, come up with a new method, that is fine
<clemens3>
... sorry, thought you talk about backwards '
<dminuoso>
clemens3: Rails has a very simple mechanism for backwards breaking changes.
<clemens3>
you mean next in a loop?
<dminuoso>
They deprecate things _long_ in advance while producing _warnings_ long in advance.
<clemens3>
dminuoso: ah, rails, well, I was very early on board, and I just rewrote a mapper to the old api and am happy since then
orbyt_ has joined #ruby
<dminuoso>
clemens3: But seriously. Lets play this game.
<dminuoso>
Name the exact semantics of the ruby keyword `next`
Mike11 has joined #ruby
<dminuoso>
Without googling or trying it out.
<clemens3>
dminuoso: I am not into playing games
anjen has joined #ruby
<clemens3>
I want stable software
cdg has joined #ruby
eckhardt_ has joined #ruby
<dminuoso>
clemens3: My point is the semantics of Ruby are not defined anywhere.
matchaw has quit [Ping timeout: 240 seconds]
marxarelli has joined #ruby
<clemens3>
dminuoso: I avoid corner cases to avoid surprises
tomphp has joined #ruby
A124 has quit [Ping timeout: 240 seconds]
tomphp has quit [Client Quit]
<clemens3>
dminuoso: have a look of what Linus has to say about this topic, I think Linux is more or less also not defined anywhere..
rikkipitt has quit [Quit: Leaving...]
matchaw_ has quit [Ping timeout: 240 seconds]
<clemens3>
his credo is: do not break userland..
cdg has quit [Remote host closed the connection]
<clemens3>
why? because he is not an ..
cdg has joined #ruby
cdg_ has quit [Ping timeout: 252 seconds]
mcr has quit [Ping timeout: 252 seconds]
tomphp has joined #ruby
<dminuoso>
clemens3: If Ruby had a module system it would be conceivable to have features that you could turn on with a file-by-file basis.
jenrzzz has quit [Ping timeout: 256 seconds]
jim94 has quit [Ping timeout: 260 seconds]
<clemens3>
dminuoso: I don't know about modules.. I just know that a new Ruby should not break my or anybody elses stuff
herbmillerjr has quit [Remote host closed the connection]
herbmillerjr has joined #ruby
<clemens3>
and just considering such an act gives me a creepy feeling
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
<aScottishBoat>
do we know anything about what ruby 3 is bringing? is it expected to break BC?
jottr has joined #ruby
<aScottishBoat>
(fingers crossed that it doesn't)
<aScottishBoat>
I got into ruby right when 1.9 was phasing out, so I never really used it. I never read about how the transition went
<dminuoso>
clemens3: Honestly your comparison with Linux is a bit bad though.
[Butch] has joined #ruby
<dminuoso>
clemens3: Because kernel level APIs change.
tomphp has quit [Client Quit]
<clemens3>
aScottishBoat: I hope now, I did not follow it recently, aparently everything is fine.. I just had heard somethign in the past about making strings immutable and the buddies over in pythonland obviously didnt think BC was very important
<dminuoso>
clemens3: So the direct users of it have to live with things being deprecated and being kicked out.
<clemens3>
dminuoso: I talked userland... if I program an application in Ruby, I consider that Userland too..
<aScottishBoat>
clemens3, making strings immutable by default? wtf?
<clemens3>
if I write a profiler or such, maybe that is different
<dminuoso>
clemens3: Why are we comparing kernel software with userland?
despai has joined #ruby
<clemens3>
aScottishBoat: no panic, I am not the expert
<clemens3>
dminuoso: ruby is a programming language.. quite fundamental software thingy, like an operating system, or api
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<aScottishBoat>
hmm I'm not against the idea if there's a switch that can be turned on, but by default it sounds a bit mad to me.
tomphp has joined #ruby
<clemens3>
aScottishBoat: I think I must read up on what is the latest plan..
<xco>
hi all. i have an image with known width and height. and also a focus point (cordinates). what would be the best way to keep the focus point locked on a specific point on the image even after i resize the image?
<xco>
i currenty store the focus point as image.focus_x = image.focus_x / width.to_f
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
<xco>
where image.focus_x is the x cordinate for the focus point on the image and “width” is the with of the image
<xco>
similar for the y coordinate
cdg has quit [Ping timeout: 256 seconds]
<gizmore|2>
sounds it should work
gizmore|2 is now known as gizmore
aupadhye has quit [Remote host closed the connection]
jottr has quit [Ping timeout: 245 seconds]
schneider has joined #ruby
Serpent7776 has quit [Quit: Leaving]
jenrzzz has quit [Ping timeout: 248 seconds]
drewmcmillan has joined #ruby
despai has quit [Quit: ...]
A124 has joined #ruby
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
apeiros has joined #ruby
darkhanb has joined #ruby
<xco>
yes but it’s not when i resize the image. the focus point goes off
tomphp has joined #ruby
alfiemax has joined #ruby
<havenwood>
xco: It sounds like you're not recalculating the focus point dynamically, and you're not updating the cached version when you change the value.
Nilium has quit [Quit: <kristin> Cower is like... I dunno. sometimes he seems senile and other times he seems like a middle schooler.]
planigan has joined #ruby
k0mpa has quit [Remote host closed the connection]
bmurt has joined #ruby
cdg has joined #ruby
d10n-work has joined #ruby
jottr has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
n008f4g_ has quit [Ping timeout: 240 seconds]
despai has joined #ruby
despai has quit [Client Quit]
jottr has quit [Ping timeout: 256 seconds]
beauby has quit [Ping timeout: 276 seconds]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
<havenwood>
xco: A nice way to say `x > 0` in Ruby 2.3+ is `x.positive?`
* dminuoso
slaps havenwood
ta_ has joined #ruby
<havenwood>
dminuoso.negative?
<dminuoso>
# => true
jottr has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
Nilium has joined #ruby
xco has quit [Quit: xco]
jottr has quit [Ping timeout: 256 seconds]
bmurt has quit [Remote host closed the connection]
bonhoeffer has joined #ruby
<havenwood>
xco: You can: model.focus_x =/ width.to_f
bmurt has joined #ruby
<havenwood>
err, typo
Cavallari has quit [Quit: Cavallari]
<havenwood>
They left, but I meant: /=
xco has joined #ruby
cdg has quit [Ping timeout: 245 seconds]
<havenwood>
fdiv ftw
<xco>
havenwood: yeah i know about #positive? :P
<havenwood>
xco: /=!
jenrzzz has joined #ruby
<havenwood>
xco: glancing at the gist, i don't see where it's going wrong
<havenwood>
xco: What was not as expected? Figure it out?
_aeris_ has quit [Ping timeout: 255 seconds]
<xco>
yeah i think it’s got to do with the canvas the image is drawn on, the focus points are being done related to the size of the canvas on close inspection
_aeris_ has joined #ruby
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
jottr has joined #ruby
A124 has joined #ruby
Guest75842 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
howdoi has quit [Quit: Connection closed for inactivity]
Guest83894 has quit [Ping timeout: 248 seconds]
InfinityFye has left #ruby ["Leaving"]
chat has joined #ruby
chat is now known as Guest60542
dviola has joined #ruby
duderono_ has joined #ruby
jamiejackson has joined #ruby
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
A124 has quit [Ping timeout: 240 seconds]
jottr has quit [Ping timeout: 248 seconds]
despai has joined #ruby
jnollette has quit [Remote host closed the connection]
jottr has joined #ruby
jnollette has joined #ruby
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
ramfjord has joined #ruby
krawchyk has quit [Ping timeout: 252 seconds]
Sina has quit [Quit: Connection closed for inactivity]
<dminuoso>
havenwood: It would be awesome if you could do this
<dminuoso>
[1,2,3].map(&:to_s * &:to_s)
<dminuoso>
Very rubyesque (= unreadable)
<havenwood>
dminuoso: Oh, speaking of scroll-back, they only disable TCO in order to preserve stack trace.
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
<dminuoso>
havenwood: Ah I presumed as much, didnt know for sure though.
<havenwood>
dminuoso: I was just noting the other day that the trace_instruction flag seems to be gone. I wondered if its absence was related to the internal trace changes.
<havenwood>
There has been discussion of enabling it by default.
<havenwood>
Over the years Matz seems to be warming to the idea.
alfiemax has joined #ruby
<havenwood>
dminuoso: until then I have require_relative_with_tco :-P
<dminuoso>
Though it kind of begs the question why one doesn't use -> e { e.to_i.class.to_s }
A124 has joined #ruby
<dminuoso>
or proc{ |e| ... }
eckhardt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ramfjord has quit [Ping timeout: 268 seconds]
jenrzzz has quit [Ping timeout: 248 seconds]
claudiuinberlin has joined #ruby
phaul has quit [Ping timeout: 245 seconds]
jottr has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
eckhardt_ has joined #ruby
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
ramfjord has joined #ruby
A124 has quit [Ping timeout: 260 seconds]
mtkd has quit [Ping timeout: 240 seconds]
jottr has quit [Ping timeout: 260 seconds]
eckhardt_ has quit [Client Quit]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
adlerdias has quit [Quit: adlerdias]
mtkd has joined #ruby
j2k has quit [Quit: Connection closed for inactivity]
tomphp has joined #ruby
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
jottr has joined #ruby
alexday has joined #ruby
<alexday>
hi
<dminuoso>
hi alexday.
janos has joined #ruby
janos is now known as kitsched
<alexday>
I was reading the well grounded ruby book. there is a operator overloading kind of thing. one class inherits from String and has def +@; upcase; end. what does @ signify
krawchyk has quit [Quit: krawchyk]
<dminuoso>
alexday: `unary`
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
despai has joined #ruby
<alexday>
oh. ok.
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
<alexday>
thanks
nowhereman has joined #ruby
<dminuoso>
>> class String; def +@; upcase; end; end; +"foo"
<kspencer>
what would the best way be if I'm trying to bundle a gem and also run a curl command to download 'micro' (a nano-like text editor with gui-editor-like extensibility) for use by the gem
jaruga has quit [Quit: jaruga]
Sauvin has quit [Ping timeout: 252 seconds]
bmurt has joined #ruby
jottr has joined #ruby
<havenwood>
kspencer: Are you assuming folk have Go installed or you're distributing binaries?
conta has quit [Remote host closed the connection]
<kspencer>
i'm distributing the binary from the curl command for micro
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
alfiemax has quit [Ping timeout: 245 seconds]
cdg has joined #ruby
<kspencer>
as I've already gotten permission from the owner of micro to bundle it with it, thankfully
<havenwood>
kspencer: That's ^ a simple example of just using OpenURI from the Ruby stdlib to grab one of the binaries and save it to disk in a simple but memory-consuming fashion.
varesa- has quit [Ping timeout: 248 seconds]
<kspencer>
i'm actually going this route 'https://getmic.ro/' and I'm hoping to make and move the binary to the user's bin directory
<kspencer>
using fileutils
jottr has quit [Ping timeout: 268 seconds]
<havenwood>
kspencer: Ah, so you're just shelling out to the install script?
<havenwood>
kspencer: You could rewrite that script in Ruby easily enough, but shelling out works too.
<kspencer>
I mean I probably could, to be honest, but then the other thing is how to make it run immediately after gem install or bundle install
<havenwood>
kspencer: Usually gems just specify the dependency and don't actually install it.
cdg has quit [Ping timeout: 245 seconds]
d^sh has quit [Ping timeout: 256 seconds]
<havenwood>
kspencer: A rake task might make sense.
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
<kspencer>
so rake install and rake install-micro perhaps?
<kspencer>
or even override the regular install to run them both at the 'same' time
d^sh has joined #ruby
kobain has quit [Ping timeout: 256 seconds]
mostlybadfly has quit [Quit: Connection closed for inactivity]
jottr has joined #ruby
Dimik has joined #ruby
marens has joined #ruby
marens has joined #ruby
marens has quit [Changing host]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
jottr has quit [Ping timeout: 260 seconds]
<kspencer>
hmm I could bundle the micro install script as a executable in the gemspec providing I port it to ruby, that way I have people run x then y, then you're good
cpruitt has quit [Remote host closed the connection]
jottr has joined #ruby
willmichael has quit [Ping timeout: 245 seconds]
cpruitt has joined #ruby
swein has quit [Quit: WeeChat 1.4]
memo1 has joined #ruby
phenom has quit [Ping timeout: 240 seconds]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
swein has joined #ruby
willmichael has joined #ruby
swein has quit [Client Quit]
swein has joined #ruby
Burgestrand has quit [Quit: Closing time!]
drewmcmillan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
willmichael has quit [Read error: Connection reset by peer]
phenom has joined #ruby
cpruitt has quit [Ping timeout: 240 seconds]
varesa_ has joined #ruby
jottr has quit [Ping timeout: 276 seconds]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
karapetyan has joined #ruby
alfiemax has joined #ruby
alfiemax has quit [Remote host closed the connection]
alfiemax has joined #ruby
alfiemax_ has joined #ruby
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
cpruitt has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jottr has joined #ruby
Cavallari has joined #ruby
alfiemax has quit [Ping timeout: 252 seconds]
eckhardt_ has joined #ruby
memo1 has quit [Ping timeout: 240 seconds]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
despai has quit [Quit: ...]
cpruitt has quit [Remote host closed the connection]
willmichael has joined #ruby
cpruitt has joined #ruby
<sonOfRa>
What would be the most idiomatic way to turn a hash of the form { a => b, c => d } into a 2d array of the for [ [a, b], [c, d] ]?
jottr has quit [Ping timeout: 276 seconds]
<dminuoso>
sonOfRa: .to_a.transpose ?
<dminuoso>
¯\_(ツ)_/¯
<dminuoso>
Oh wait.
<dminuoso>
Just #to_a
<dminuoso>
Even more ¯\_(ツ)_/¯
<sonOfRa>
Huh, for some reason I thought that would yield [a,b,c,d]
<sonOfRa>
which is != [ [a,b],[c,d] ]
<dminuoso>
sonOfRa: That.. depends on the language you are in 😂
bonhoeffer has quit [Ping timeout: 260 seconds]
<sonOfRa>
heh
despai has joined #ruby
xco has quit [Quit: xco]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
<al2o3-cr>
if you assign to a variable, you can do use splat
<sonOfRa>
#to_a worked just peachy. No idea why I thought that would yield [a,b,c,d]. Though I guess that with the existence of #flatten it makes sense that #to_a doesn't flatten
<dminuoso>
al2o3-cr: neat, didnt know you could splat hashes =)
Papierkorb has left #ruby ["Konversation terminated!"]
<al2o3-cr>
;)
<dminuoso>
sonOfRa: The only two things that flatten are flatten and flat_map =P
n0m4d1c has joined #ruby
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
jottr has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
xco has joined #ruby
Puffball has quit [Remote host closed the connection]
cpruitt has quit [Remote host closed the connection]
xco has left #ruby [#ruby]
<sonOfRa>
How does one manage to keep up with api internals like this for more than 4 languages? I'm decent with java, c++ and rust these days, but ruby eludes me. Bit of PHP on the side doesn't help
memo1 has joined #ruby
clemens3 has quit [Ping timeout: 248 seconds]
<sonOfRa>
Currently working on an older ruby project at work, and while I understand the code and can probably make most of this work, basic stuff like this I just keep having to google, or ask dumb questions like this on IRC
jottr has quit [Ping timeout: 240 seconds]
<dminuoso>
sonOfRa: Quit Java and C++.
<dminuoso>
Your Rust skills will thank you.
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
* dminuoso
.oO( notice how I didn't talk about Ruby there? )
ramfjord has joined #ruby
<sonOfRa>
dminuoso: heh.
cpruitt has joined #ruby
<sonOfRa>
I could probably quit C++, but I'm too sentimental about java :)
<dminuoso>
sonOfRa: I have one good reason against Java. Fear.. I have two good reasons against Java: Fear, Surprise and ruthless inefficiency, are thre...
bmurt has joined #ruby
jottr has joined #ruby
<dminuoso>
Oh well. Misquoted there sadly.
<sonOfRa>
hehehe
deadnull has joined #ruby
<dminuoso>
sonOfRa: Come to the ML side. We have functions.
<sonOfRa>
Nobody expects the side effect inquisition
<dminuoso>
Haha.
<deadnull>
is there a idiomatic way in ruby to convert a string to a boolean?
<deadnull>
without using eval
<dminuoso>
deadnull: !!
<dminuoso>
>> !!"foo"
<ruby[bot]>
dminuoso: # => /tmp/execpad-9eaf50355abd/source-9eaf50355abd:2: warning: string literal in condition ...check link for more (https://eval.in/963218)
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
<pedahzur>
Hi! Looking for some help using guard in a VM. I read https://github.com/guard/guard/wiki/Command-line-options-for-Guard#running-guard-in-a-vm The instructions there say run `listen -f 127.0.0.1:4000` but the version of listen on which guard depends (">= 2.7", "< 4.0") does not have that option (I am using 3.0.3). Is the doc out of date? Do I not need 127.0.0.1? Is that assumed? Other ideas?
<sonOfRa>
definitely. Why would you even. It *might* make more sense if it had reasonable names, i guess?
jenrzzz has quit [Ping timeout: 256 seconds]
<dminuoso>
sonOfRa: Z is just Zero, S is just Succ
<dminuoso>
Does that help?
<sonOfRa>
Indeed
<sonOfRa>
But why would you write C++ like this
<dminuoso>
sonOfRa: Why would you not?
<dminuoso>
sonOfRa: People have implemented entire turing machines with nothing but templates. :D
<sonOfRa>
Because it's entirely unreadable. It would be readable in haskell :)
<sonOfRa>
dminuoso: yes, and they're all insane
sanscoeur has quit [Read error: Connection reset by peer]
sanscoeu_ has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ldnunes has joined #ruby
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
<lupine>
heh. I first learned ruby via chunky bacon
<baweaver>
Well Grounded might be better then. Eloquent assumes some past knowledge
<lupine>
(_why's poignant guide)
cpruitt has quit [Client Quit]
<lupine>
it got me through the job interview, so all was well :D
<oezgu>
ok
<oezgu>
thanks a lot
<oezgu>
i just ordered the well grounded rubyist
<baweaver>
Given another 8-10m you might start seeing the Lemur book pop up in stores
despai has quit [Quit: ...]
eckhardt_ has joined #ruby
<oezgu>
for half a year now i am struggling with programming languages. always restarting and relearning. i quit almost a thousand times.
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
rwb has quit [Ping timeout: 256 seconds]
<oezgu>
how were your first steps? and can one learn a language without a mentor?
<oezgu>
or be good at programming on one's own so one gets hired one day?
guacamole has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
<lupine>
it's difficult to get started. much easier if you have a project that you really want to do
<miah>
practice, make mistakes, practice, make more mistakes
<Carll>
oezgu: practise, portfolio, perfection
<lupine>
some of my earliest projects were games. something I had a motivation to finish - I wanted to play it!
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
<lupine>
even if it's just reimplementing an existing game, like tetris
despai has joined #ruby
<Carll>
or a simple server monitoring tool, start small, present well.
AgentVenom has quit [Ping timeout: 248 seconds]
<miah>
small is a good recommendation. first projects should have a very small scope.
A124 has joined #ruby
<lupine>
the other thing that really helped me was a couple of books on computer architecture and formal logic. that might not work for everyone, but I found an understanding of what was going on in hardware (or at least, a semantically accurate logical interpretation thereof) incredibly helpful
<lupine>
then I cracked open a copy of delphi and got writing games. even sold a couple in the first few months :D - a simple bingo and blackjack thing
<Carll>
plenty of documentation, podcasts, rss feeds to help you start
<Carll>
and of course this IRC channel
<oezgu>
ok^^
<oezgu>
thanks
<lupine>
I didn't find lists of exercises, like the advent of code, useful when learning how to program
devil_tux has quit [Ping timeout: 252 seconds]
<lupine>
(once you know how to program, they're useful for learning a new language, though)
anjen has quit [Quit: anjen]
<kspencer>
havenwood: I'm actually porting the getmic.ro script to ruby within a gem, and adding a dependency to my other gem for it, then having a post_install_message let the user know, and also putting checks in my own code to check to see if its installed in the correct directory
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 245 seconds]
A124 has quit [Ping timeout: 252 seconds]
deadnull has quit [Quit: Ciao]
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
schneider has quit [Ping timeout: 245 seconds]
ghormoon_ has quit [Ping timeout: 240 seconds]
<oezgu>
lets say i am trying to create a game. how do i design the UI?
<oezgu>
are there special programs written for that purpose in ruby?
<miah>
yes
ghormoon has joined #ruby
<oezgu>
another question, i hope i am not rude to ask multiple questions. do i need to design the front end of a program always with html css and javascript, or can i use ruby to do both front and back end
<WA9ACE>
apeiros remember talking about normalizing schemas a few days ago?
dmitriy_ has joined #ruby
dmitriy_ has quit [Read error: Connection reset by peer]