mary5030_ has quit [Remote host closed the connection]
zambini has quit [Quit: Leaving.]
AckZ has quit [Ping timeout: 240 seconds]
c355e3b has quit [Ping timeout: 240 seconds]
mary5030 has joined #ruby
namxam has joined #ruby
lianj has joined #ruby
lianj has quit [Changing host]
lianj has joined #ruby
Azulinho has quit [Ping timeout: 276 seconds]
LoneHerm_ has quit [Remote host closed the connection]
LoneHermit has joined #ruby
cmckee has quit [Quit: cmckee]
v0n has joined #ruby
El3ktra has joined #ruby
Insti has quit [Ping timeout: 240 seconds]
AckZ has joined #ruby
Insti has joined #ruby
Insti has quit [Changing host]
Insti has joined #ruby
c355e3b has joined #ruby
LoneHermit has quit [Remote host closed the connection]
nerium has quit [Ping timeout: 240 seconds]
nerium_ is now known as nerium
blandflakes has joined #ruby
lost has joined #ruby
asccigcc has quit [Quit: asccigcc]
william3 has joined #ruby
weemsledeux has joined #ruby
namxam has quit [Remote host closed the connection]
<lost>
Wondering if anyone is able to help understand this, also be a rails mentor in the future please message will pay as per hourly basis :)
tuelz has quit [Ping timeout: 276 seconds]
mary5030 has quit [Ping timeout: 276 seconds]
dudedudeman has quit [Quit: dudedudeman]
ur5us has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
asccigcc has joined #ruby
grill has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
william3 has quit [Ping timeout: 245 seconds]
musicnode has joined #ruby
kies^ has joined #ruby
blackmes1 has quit [Quit: WeeChat 1.4]
blackmesa has joined #ruby
FernandoBasso has quit [Quit: Leaving]
andchar has quit [Quit: WeeChat 1.3]
BlkDynmt has quit [Quit: BlkDynmt]
sandstrom has quit [Read error: Connection reset by peer]
namxam has joined #ruby
tuelz has joined #ruby
yoongkang has quit [Remote host closed the connection]
sandstrom has joined #ruby
robbyoconnor has quit [Ping timeout: 250 seconds]
asccigcc has quit [Quit: asccigcc]
unreal_ has joined #ruby
freerobby has quit [Quit: Leaving.]
BlkDynmt has joined #ruby
namxam has quit [Remote host closed the connection]
unreal has quit [Ping timeout: 250 seconds]
tvw has quit [Ping timeout: 245 seconds]
kies^ has quit [Ping timeout: 240 seconds]
devbug has quit [Ping timeout: 250 seconds]
baweaver has joined #ruby
freerobby has joined #ruby
decoponio has quit [Quit: Leaving...]
machinewar has joined #ruby
<machinewar>
when is attr_accessor actually called? when you instantiate an object?
TomPeed has joined #ruby
akkmaxon has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
<volty>
everything gets called as soon as it's read
karapetyan has joined #ruby
robbyoconnor has joined #ruby
akkmaxon has left #ruby [#ruby]
<volty>
class defines a class, def defines a method, attr_accessor is a method call
<machinewar>
when does it get read?
holman has quit [Quit: holman]
<machinewar>
when I load the file?
<volty>
yes
<machinewar>
volty: thanks
<volty>
yw
LoneHerm_ has joined #ruby
goodroot has joined #ruby
akkmaxon has joined #ruby
TomPeed is now known as justbleed
griffindy has joined #ruby
firstdayonthejob has quit [Ping timeout: 240 seconds]
ThomaSs_ has quit [Ping timeout: 256 seconds]
codezomb has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
<codezomb>
trying to use Resolv::DNS and getresources in my system. However, it doesn't seem to resolve anything. Would there be any system level dependency that I could possibly be missing?
<codezomb>
nslookup exists, and can resolve the addresses
<codezomb>
drbrain right, I know it should resolve. It resolves in my plain vm. However, trying it within a docker container (alpine linux) I get an empty result set. I assumed I could be missing some system dependency.
namxam has joined #ruby
<drbrain>
what's in your /etc/resolv.conf?
<codezomb>
if nslookup works, I would assume this should work :/
akkmaxon has quit [Quit: akkmaxon]
ramfjord_ has quit [Ping timeout: 272 seconds]
<codezomb>
drbrain `nameserver 10.0.2.3`, which is my docker host. This host can also resolve.
<codezomb>
from a system level it all resolves
joonty has joined #ruby
<drbrain>
what about: Resolv::DNS.open(nameserver: %w[8.8.8.8]) { |dns| dns.getresources('google.com', Resolv::DNS::Resource::IN::MX) }
volty has quit [Quit: Konversation terminated!]
<codezomb>
yeah, I just changed my resolv.conf to 8.8.8.8, and it seems to work...
<codezomb>
0.o
<drbrain>
I've heard of mysterious DNS issues with VMs in general
<codezomb>
back to flipping tables I suppose (╯°□°)╯︵ ┻━┻
<jimmtt>
there are times where, even if a language has these kinds of convenient iterators, you want to loop with an index because the position is significant to the operations you're doing on the elements
<Ox0dea>
jimmtt: And in that case we have #each_with_index. :)
ruk` has joined #ruby
<Ox0dea>
And, well, #with_index for the general case.
<Ox0dea>
>> [1,2,3].map.with_index { |element, i| element * i }
gruz0 has quit [Quit: This computer has gone to sleep]
sandstrom has quit [Quit: My computer has gone to sleep.]
yoongkang has joined #ruby
symm-_ has joined #ruby
symm- has quit [Ping timeout: 250 seconds]
<kent\n>
yeah. I'm not say so much that you shouldn't be accessing array indexes, just usually if you're doing things and getting the wrong results, there's a /chance/ there's already a better way to do what you're doing.
<jimmtt>
but I think the likelihood of encountering bad array indexing is orthogonal to whether or not it should throw an exception
<jimmtt>
unless it's a performance concern
<jimmtt>
well I don't think it would be a performance concern
sandstrom has joined #ruby
skcin7 has joined #ruby
<kent\n>
I would still agree that does-not-exist-but-fetched-anyway would probably be useful if it did throw an exception, but there's a lot of things in Ruby that "could" be useful and "could" give more strict behaviour with exceptions that some people would very much dislike and would break existing (valid) code
blackgoat_ has quit [Ping timeout: 240 seconds]
tuelz has joined #ruby
ruk` has quit [Read error: Connection reset by peer]
<Ox0dea>
>> [42].fetch 1 rescue $! # jimmtt
<ruby[bot]>
Ox0dea: # => #<IndexError: index 1 outside of array bounds: -1...1> (https://eval.in/510067)
<kent\n>
for instance, given that: x = []; x[5] = 1; p x[1] # returns nil, and does not throw an exception despite the fact you never set x[1], then maybe it doesn't matter that x[6] returns nil
<Ox0dea>
Just use #fetch everywhere instead of #[].
<Ox0dea>
Arrays *have* to be contiguous, but that doesn't mean they have to appear to be infinitely long.
nuck is now known as Guest8935
<kent\n>
Its different, sure, but depending on how you use the array, it might not matter. If your interface treats "nil" and "no such index" the same way, then having the latter react the same as the former is fine.
duckpuppy has quit [Ping timeout: 240 seconds]
<kent\n>
Would it be /good/ design? Can't say for sure.
<Ox0dea>
It's just the tradeoff Ruby makes.
<Ox0dea>
Easy > simple is the game.
<jimmtt>
cool, Ox0dea
william3 has joined #ruby
tuelz has quit [Ping timeout: 265 seconds]
<Ox0dea>
jimmtt: Same interface for Hash, for reference.
<kent\n>
anyway, simple only exists as a concept if you want to achieve very little ;). Most the time "simple" is "A lot of complexity hiding behind an easy interface", so its simple as long as you don't look too hard :)
<Ox0dea>
Bollocks.
<Ox0dea>
Lisp is simple, and they used to write entire operating systems therein.
kalopsian has joined #ruby
<jimmtt>
well C is also relatively simple
<kent\n>
But its not exactly "simple" to achieve anything you desire in lisp. But I will agree that this is probably me seeing different interpretations of the words than you :)
<Ox0dea>
kent\n: No, it *is* simple; it's just *hard*.
<kent\n>
Yeah. I do understand what you mean. I just don't see "lisp code" and think "this is simple".
<Ox0dea>
...
ponga has quit []
<jimmtt>
there are different domains to be simple or not in
freerobby has quit [Quit: Leaving.]
<Ox0dea>
We're obviously talking about programming languages?
<jimmtt>
yes, in the context of programming languages
<Radar>
?popcorn
<ruby[bot]>
It's popcorn time!
joast has joined #ruby
<jimmtt>
it seems like ruby's main website says to just install it with the package manager but I get an old version that way and don't see any explicit newer versions in apt-cache search
<jimmtt>
guess I'm going to have to either find a deb of it or compile it
<kent\n>
Its too easy to conflate simple/easy for me. Like if somebody says "it has a simple interface", that also tends to imply "its easy to use", but I see that as "simplicity is hiding the complexity" quite frequently.
<jimmtt>
apt-get is outdated now?
<kent\n>
Ox0dea: but anyway, ILY dude(ette)? , don't hate me :p
phantummm has quit [Ping timeout: 276 seconds]
RobertBirnie has joined #ruby
<Ox0dea>
kent\n: Nah, we're cool. You just need some learnin's. :)
sandstrom has quit [Quit: My computer has gone to sleep.]
<Ox0dea>
I do hope you find the time to watch that someday.
<Ox0dea>
tl;dr: complexity == entanglement of pieces, simplicity == harmony of ideas.
skcin7 has quit [Max SendQ exceeded]
Antiarc has quit [Ping timeout: 260 seconds]
<Ox0dea>
Entangling pieces makes things look easy at the surface; harmonizing disparate ideas is hard.
sandstrom has joined #ruby
skcin7 has joined #ruby
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
slawrence00 has joined #ruby
tomchapin has joined #ruby
zambini has quit [Quit: Leaving.]
<kent\n>
great. I see more reasons to goad people into calling me a nazi in my future :D
<Ox0dea>
I'm afraid I don't follow.
<kent\n>
I'm going to nit pick about this one day and tempt somebody calling me a grammar nazi :(
skcin7 has quit [Max SendQ exceeded]
<Ox0dea>
It's not even a grammatical distinction; they're completely distinct notions.
<kent\n>
I know. Sadly, "Grammar Nazi" is itself an overloaded term that includes spelling, punctuation, and use of the wrong word for a concept :D
skcin7 has joined #ruby
IrishGringo has quit [Ping timeout: 245 seconds]
baweaver has joined #ruby
<kent\n>
the irony^WJuxtaposition of that last one is a beautiful thing.
chouhoulis has quit [Remote host closed the connection]
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mfb2 has joined #ruby
PlasmaStar has quit [Ping timeout: 240 seconds]
<Ox0dea>
Related: "nazi" is a common noun in that phrase. You should only capitalize the word in reference to the political party. ^_^
zacstewart has quit [Ping timeout: 240 seconds]
<kent\n>
:D
<Ox0dea>
Consider Ruby's switch statement semantics: case equality lets you write complex branching logic with embarrassing ease, but if you unrolled one of any moderate size to its essential components, it would look spaghetti as fuck.
<kent\n>
can confirm. I recently attempted to do similarly without perl5.10+'s switch structure. Realised it was a dumb mess and I rewrote it using a dispatch table :P
baweaver has quit [Ping timeout: 260 seconds]
mfb2 has quit [Ping timeout: 250 seconds]
<kent\n>
sometimes when you think you want conditions, you really want polymorphism of some description.
<Ox0dea>
It's all goto at the bottom. :)
<kent\n>
Yeah. Just making the code "nice" is the hard part :D
<Ox0dea>
In Ruby? Surely you jest.
blandflakes has joined #ruby
houhoulis has joined #ruby
<kent\n>
Nah. You can write a mess easily in any language without thinking.
<Ox0dea>
It is many things, to include a todo app written in Sinatra.
<aaron_>
hello :)
Antiarc has joined #ruby
<Ox0dea>
But yes, that's the roflcopter floating over all.
<kent\n>
If I had some time to spare I'm sure I could work out what that says. But ETOOMUCHEFFORT
kalopsian has quit [Ping timeout: 264 seconds]
kies^ has joined #ruby
<kent\n>
Usually the first pass I make at every solution is garbage, and I have to sit down and refactor it till I'm happy with it.
sandstrom has quit [Quit: My computer has gone to sleep.]
<Ox0dea>
Someone really needs more Rich Hickey in his life. :)
<Ox0dea>
His philosophy is "needs more hammock time".
<kent\n>
I do appreciate the amount of time spent sleeping improving problem solving, but that doesn't actually help me not write bad code.
<Ox0dea>
Er, I didn't mean to imply that you should use sleep as a thinking tool.
<Ox0dea>
Genuinely thinking about the problem you want to solve before touching a keyboard *will* help you not write bad code.
sandstrom has joined #ruby
<kent\n>
Oh I do, for weeks, easily. But that's usually about the higher level concepts and interface, not implementation details. Problems in implementation I don't seem to be able to work out "which is the best way to do this" until I try a few things.
jbrhbr has quit [Quit: Leaving.]
<Ox0dea>
Sounds contradictory, but okay.
<kent\n>
Because I have to see how it looks in order to know if its any good.
idefine has quit [Read error: Connection reset by peer]
<kent\n>
Its cool to flesh out an idea in your head first, but it doesn't always work when you put it in to practice, because the brain is a spongy piece of meatware with bugs.
<Ox0dea>
Neurophagy is frowned upon, mind.
howdoi has quit [Quit: Connection closed for inactivity]
<aaron_>
hey guys :) I'm just curious how I could get started learning ruby. I've had some programming experience in the past, but nowadays I'm just a front-end web guy.
kalopsian has joined #ruby
<Ox0dea>
aaron_: What does that mean?
idefine has joined #ruby
<jimmtt>
I've always found the best way to learn languages is to just start using htem
oetjenj has quit [Ping timeout: 240 seconds]
zzz_ has joined #ruby
<jimmtt>
maybe use ruby to solve some projecteuler problems
<Radar>
aaron_: Do you have Ruby installed on your machine?
<aaron_>
Yeah I managed to install Ruby and Rails on my machine, easier with linux than windows :P
<Radar>
Ox0dea: I think those install instructions are a blight :P
<Radar>
Well-Grounded and Koans are on par with each other imo
<jimmtt>
Radar, trying to build ruby like this keeps failing on the rdoc step. I tried prefacing the installation command with RUBY_CONFIGURE_OPTS=--disable-install-doc as a post I found suggested but that didn't help
<Radar>
Well-Grounded will explain it better.
<Radar>
?gist jimmtt
<ruby[bot]>
jimmtt: https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
<Radar>
jimmtt: The complete output please
<Ox0dea>
Radar: Those are really bad. I didn't know those were there. :<
baweaver has joined #ruby
<Ox0dea>
jimmtt: make install-nodoc
joonty has quit [Ping timeout: 264 seconds]
<Radar>
Ox0dea: I'm of a mind to "fork" the book, replace the install instructions with mine, bump the Ruby versions and leave the rest untouched.
<jimmtt>
make install -nodoc?
<Ox0dea>
No.
<jimmtt>
it said there was no rule for install-nodoc
<jimmtt>
I always end up having to take the sudo's out of these guides because I just do them as root
SCHAAP137 has quit [Remote host closed the connection]
PlasmaStar has quit [Ping timeout: 264 seconds]
mjuszczak has joined #ruby
<jimmtt>
guide said to install libmysqlclient-dev before installing the mysql12 gem so that the native extensions won't fail to compile but they still fail to compile lol
<Ox0dea>
¯\_(ツ)_/¯
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
diegoviola has quit [Quit: GTK+ is a acronym]
PlasmaStar has joined #ruby
nodejunkie has joined #ruby
arooni_______ has left #ruby ["Leaving"]
paradisaeidae has quit [Quit: ChatZilla 0.9.92 [Firefox 44.0/20160123151951]]
mjuszczak has quit [Ping timeout: 264 seconds]
_seanc_ has joined #ruby
ebit has joined #ruby
<ebit>
would it be possible to create a local users using ruby
aarontak has joined #ruby
mfb2 has joined #ruby
wheresmyjetpack has quit [Ping timeout: 250 seconds]
joonty has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
arup_r has quit [Ping timeout: 240 seconds]
dextertzu has quit [Ping timeout: 245 seconds]
chouhoulis has quit [Ping timeout: 240 seconds]
darkf has joined #ruby
pawnbox has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
dlitvak has quit [Ping timeout: 260 seconds]
hahuang65 has joined #ruby
sandstrom has joined #ruby
lxsameer has joined #ruby
lyoshajapan has quit [Remote host closed the connection]
pawnbox has quit [Ping timeout: 264 seconds]
astrobun_ has quit [Remote host closed the connection]
dlitvak has joined #ruby
<wolffles>
hey Ox0dea you there?
rmrrn has joined #ruby
rmrrn has quit [Changing host]
rmrrn has joined #ruby
yoongkang has joined #ruby
at46 has joined #ruby
astrobun_ has joined #ruby
astrobu__ has joined #ruby
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
at46 has quit [Ping timeout: 265 seconds]
joonty has joined #ruby
astrobun_ has quit [Ping timeout: 265 seconds]
stannard has joined #ruby
dlitvak has quit [Remote host closed the connection]
jottr has joined #ruby
arup_r has joined #ruby
centrx has quit [Remote host closed the connection]
sandstrom has quit [Quit: My computer has gone to sleep.]
joonty has quit [Ping timeout: 265 seconds]
stannard has quit [Ping timeout: 276 seconds]
sandstrom has joined #ruby
weemsledeux has joined #ruby
jottr has quit [Ping timeout: 260 seconds]
astrobu__ has quit [Remote host closed the connection]
hahuang65 has quit [Ping timeout: 240 seconds]
Waheedi has quit [Quit: Waheedi]
aspire has joined #ruby
PedramT has joined #ruby
aspire has quit [Client Quit]
astrobun_ has joined #ruby
yfeldblum has joined #ruby
pawnbox has joined #ruby
juddey has joined #ruby
moeabdol has quit [Ping timeout: 276 seconds]
sandstrom has quit [Quit: My computer has gone to sleep.]
pawnbox has quit [Ping timeout: 276 seconds]
Channel6 has quit [Quit: Leaving]
mrsolo_ has joined #ruby
sandstrom has joined #ruby
pawnbox has joined #ruby
x77686d has quit [Quit: x77686d]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
ebit has quit [Ping timeout: 240 seconds]
skcin7 has joined #ruby
lyoshajapan has joined #ruby
Abrin has quit [Ping timeout: 276 seconds]
zapata has quit [Quit: WeeChat 1.3]
giftmusic has joined #ruby
Coldblackice has joined #ruby
futilegames has joined #ruby
zapata has joined #ruby
yaewa has quit [Quit: Leaving...]
x77686d has joined #ruby
zambini has joined #ruby
moei has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
tomchapin has joined #ruby
sandstrom has joined #ruby
mrsolo_ has quit [Quit: This computer has gone to sleep]
chouhoulis has joined #ruby
zast has quit [Remote host closed the connection]
davedev2_ has quit []
chouhoulis has quit [Ping timeout: 265 seconds]
karapetyan has joined #ruby
aryaching has joined #ruby
giftmusic has quit [Quit: later]
william3 has joined #ruby
speakingcode has quit [Ping timeout: 264 seconds]
sandstrom has quit [Quit: My computer has gone to sleep.]
at46 has joined #ruby
william3 has quit [Ping timeout: 245 seconds]
speakingcode has joined #ruby
sandstrom has joined #ruby
<Ebok>
If I have an array of Integers, and I need to join every pair of them into an array... ex: [0,0,1,0,1,1] => [[0,0],[0,1],[1,1]] Does anyone have any suggestions?
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
zambini has quit [Quit: Leaving.]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
at46 has joined #ruby
tomchapin has joined #ruby
william3 has quit [Ping timeout: 245 seconds]
astrobu__ has quit [Remote host closed the connection]
wolffles has quit [Quit: wolffles]
idefine has quit [Remote host closed the connection]
<triangles>
sup zacts
<triangles>
how you doin
at46 has quit [Ping timeout: 265 seconds]
piotrj_ has quit [Ping timeout: 250 seconds]
jottr has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
chussenot has joined #ruby
<zacts>
I'm doin' alright
<zacts>
=)
<zacts>
I'm just reading this pragmatic book on Ruby2 cli apps
mdw has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
skade has joined #ruby
bigkevmcd has quit [Quit: Outta here...]
<shevy>
Ebok I forget .each_slice too, all the time
<shevy>
the name is so hard to remember
sandstrom has joined #ruby
wolffles has joined #ruby
jottr has quit [Ping timeout: 276 seconds]
akkmaxon has joined #ruby
<Ebok>
I'll have to stop forgetting that one though. Its the answer to almost every single simple boardgame question I run into.
<Ebok>
lol
jgt1 has joined #ruby
<Ebok>
At least the last three, discounting my test-driven Ruby Tree learning.
<Ebok>
experiment-driven* is probably more accurate
william3 has joined #ruby
zacstewart has quit [Ping timeout: 256 seconds]
idefine has joined #ruby
william3 has quit [Ping timeout: 245 seconds]
zacstewart has joined #ruby
yoongkang has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
idefine has quit [Ping timeout: 276 seconds]
robbyoconnor has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby
visudo has quit [Quit: visudo]
firstdayonthejob has joined #ruby
<shevy>
I am trying to trick my brain into thinking that it is called .chunk
<shevy>
then I can use this as "how to make an array split into separate chunks of equal size
sandstrom has quit [Quit: My computer has gone to sleep.]
Nawn has joined #ruby
william3 has joined #ruby
sandstrom has joined #ruby
<apeiros>
better learn the word slice ;-)
<apeiros>
how can I slice an array into equal sized slices
Nawn has quit [Client Quit]
Trynemjoel has joined #ruby
<shevy>
yeah
lxsameer has quit [Ping timeout: 256 seconds]
nofxx has quit [Ping timeout: 250 seconds]
juddey has quit [Ping timeout: 272 seconds]
futilegames has quit [Quit: futilegames]
lxsameer has joined #ruby
oetjenj has joined #ruby
devbug has quit [Read error: Connection reset by peer]
Macaveli has joined #ruby
webus has joined #ruby
Nawn has joined #ruby
codecop has joined #ruby
lyoshajapan has joined #ruby
Nawn has left #ruby [#ruby]
Nawn has joined #ruby
Nawn has left #ruby [#ruby]
drptbl has joined #ruby
zacstewart has quit [Ping timeout: 256 seconds]
Tempesta has quit [Quit: See ya!]
PedramT has joined #ruby
lyoshajapan has quit [Remote host closed the connection]
lyoshajapan has joined #ruby
zacstewart has joined #ruby
futilegames has joined #ruby
aryaching has quit [Read error: No route to host]
yoongkang has joined #ruby
chussenot has quit [Quit: chussenot]
barhum2013 has quit [Quit: barhum2013]
barhum2013 has joined #ruby
BaroMeter has joined #ruby
lyoshajapan has quit [Remote host closed the connection]
chouhoulis has joined #ruby
chussenot has joined #ruby
futilegames has quit [Client Quit]
juddey has joined #ruby
marr has joined #ruby
drptbl has quit [Quit: My MAC has gone to sleep. zZz..]
Trynemjoel has quit [Ping timeout: 250 seconds]
aryaching has joined #ruby
The_Phoenix has joined #ruby
LoneHerm_ has joined #ruby
chouhoulis has quit [Ping timeout: 260 seconds]
Trynemjoel has joined #ruby
wolffles has quit [Quit: wolffles]
mauricio has joined #ruby
drptbl has joined #ruby
<zacts>
apparently the etymology of the word 'splice' means to bring things together, I think historically
<zacts>
oh slice
* zacts
is sleepy just a bit
skade_ has joined #ruby
* zacts
is a sleepy word nerd
skade has quit [Ping timeout: 240 seconds]
LoneHerm_ has quit [Ping timeout: 250 seconds]
Ishido has joined #ruby
Dimik has quit [Ping timeout: 245 seconds]
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
juddey has quit [Ping timeout: 245 seconds]
aryaching has quit [Ping timeout: 276 seconds]
at46 has joined #ruby
piotrj has joined #ruby
aryaching has joined #ruby
robbyoconnor has quit [Quit: Konversation terminated!]
robbyoconnor has joined #ruby
robbyoconnor has quit [Read error: Connection reset by peer]
skade_ has quit [Quit: Computer has gone to sleep.]
jgt1 has quit [Quit: WeeChat 1.3]
at46 has quit [Ping timeout: 265 seconds]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Macaveli has joined #ruby
drptbl has quit [Quit: My MAC has gone to sleep. zZz..]
al2o3-cr has joined #ruby
jottr has joined #ruby
gbgdev_ has joined #ruby
<shevy>
lol
<shevy>
see!
ramfjord has joined #ruby
robbyoconnor has joined #ruby
william3 has quit [Remote host closed the connection]
<shevy>
in genetics, splicing is used to put exons (transcribed from a gene) together, which was a term borrowed from earlier movie-makers splicing their movies/film on those big weird circular things together... like you know, old cinemas
william3 has joined #ruby
jottr has quit [Ping timeout: 265 seconds]
tenderlove has quit [Ping timeout: 240 seconds]
william3 has quit [Remote host closed the connection]
rdark has joined #ruby
lyoshajapan has joined #ruby
drptbl has joined #ruby
FernandoBasso has joined #ruby
DoubleMalt has joined #ruby
jbrhbr has joined #ruby
william3 has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
arup_r has joined #ruby
PedramT has quit [Ping timeout: 240 seconds]
PedramT has joined #ruby
Cohedrin has joined #ruby
baweaver has joined #ruby
skade has joined #ruby
zeroDivisible has joined #ruby
toretore has quit [Ping timeout: 240 seconds]
lyoshajapan has quit [Ping timeout: 276 seconds]
domgetter has joined #ruby
The_Phoenix has quit [Quit: Leaving.]
baweaver has quit [Ping timeout: 250 seconds]
Ishido has quit [Remote host closed the connection]
sftrabbit has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
Snowy has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
Ishido has joined #ruby
karapetyan has joined #ruby
Support_ has joined #ruby
CloCkWeRX has joined #ruby
Support_ has quit [Excess Flood]
d10n-work has quit [Quit: Connection closed for inactivity]
Support_ has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
Mon_Ouie has joined #ruby
sandstrom has joined #ruby
codecop has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
codecop has joined #ruby
jbrhbr has quit [Quit: Leaving.]
mfb2 has joined #ruby
Druid has joined #ruby
PedramT has quit [Remote host closed the connection]
Druid has left #ruby ["Quit message"]
PedramT has joined #ruby
PedramT has quit [Remote host closed the connection]
PedramT has joined #ruby
<shevy>
anyone happens to know how perl or python call a similar operation on an Array? e. g. .each_slice()
mfb2 has quit [Ping timeout: 276 seconds]
chouhoulis has joined #ruby
tenderlove has joined #ruby
duckpuppy has joined #ruby
zacstewart has quit [Ping timeout: 256 seconds]
zacstewart has joined #ruby
gbgdev_ has quit [Remote host closed the connection]
chouhoulis has quit [Ping timeout: 276 seconds]
sepp2k has joined #ruby
dextertzu has quit [Ping timeout: 250 seconds]
duckpuppy has quit [Ping timeout: 240 seconds]
sandstrom has quit [Quit: My computer has gone to sleep.]
dextertzu has joined #ruby
william3 has quit [Remote host closed the connection]
<shevy>
ok a ruby question now
<shevy>
this url provides a text file attachment - in the browser, I can click on save and it will be saved:
Ebok has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has quit [Ping timeout: 240 seconds]
rippa has joined #ruby
piotrj has quit [Remote host closed the connection]
lyoshajapan has joined #ruby
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
piotrj has joined #ruby
blackgoat_ has joined #ruby
pawnbox has joined #ruby
Arnvald has joined #ruby
lyoshajapan has quit [Ping timeout: 276 seconds]
karapetyan has joined #ruby
htmldrum has joined #ruby
Pupeno has quit [Remote host closed the connection]
LoneHerm_ has joined #ruby
ht__ has quit [Quit: Konversation terminated!]
treaki_ has quit [Ping timeout: 240 seconds]
Pupeno has joined #ruby
firstdayonthejob has joined #ruby
htmldrum has quit [Ping timeout: 250 seconds]
LoneHerm_ has quit [Ping timeout: 265 seconds]
tomphp has joined #ruby
gruz0 has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
chouhoulis has joined #ruby
ferr has joined #ruby
whiteline has quit [Ping timeout: 240 seconds]
duckpuppy has joined #ruby
tomphp has quit [Client Quit]
drptbl has joined #ruby
idefine has joined #ruby
houhoulis has quit [Remote host closed the connection]
william3 has joined #ruby
ccaffeini has quit [Remote host closed the connection]
ht__ has joined #ruby
PedramT has joined #ruby
chouhoulis has quit [Ping timeout: 265 seconds]
pdoherty has joined #ruby
zacstewart has quit [Ping timeout: 276 seconds]
darkxploit has quit [Ping timeout: 245 seconds]
jottr has joined #ruby
william3 has quit [Ping timeout: 245 seconds]
idefine has quit [Ping timeout: 240 seconds]
duckpuppy has quit [Ping timeout: 276 seconds]
Tempesta has joined #ruby
PedramT_ has joined #ruby
PedramT has quit [Ping timeout: 260 seconds]
Arnvald has quit []
ht__ has quit [Quit: Konversation terminated!]
zacstewart has joined #ruby
The_Phoenix has joined #ruby
ccaffeini has joined #ruby
PedramT_ has quit [Ping timeout: 264 seconds]
SCHAAP137 has quit [Remote host closed the connection]
at46 has joined #ruby
dextertzu has quit [Read error: Connection reset by peer]
stannard has joined #ruby
darkxploit has joined #ruby
at46 has quit [Ping timeout: 265 seconds]
Ebok has joined #ruby
stannard has quit [Ping timeout: 264 seconds]
yoongkang has quit [Remote host closed the connection]
sftrabbit has quit [Quit: sftrabbit]
bkxd has joined #ruby
sftrabbit has joined #ruby
sftrabbit has quit [Client Quit]
yoongkang has joined #ruby
namxam has joined #ruby
mjuszczak has joined #ruby
karapetyan has quit [Remote host closed the connection]
dextertzu has joined #ruby
chris2 has quit [Ping timeout: 240 seconds]
ht__ has joined #ruby
syk has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ccaffeini has quit [Ping timeout: 250 seconds]
Pupeno has quit [Remote host closed the connection]
Pupeno has joined #ruby
lipoqil has joined #ruby
ht__ has quit [Client Quit]
william3 has joined #ruby
ccaffeini has joined #ruby
CloCkWeRX1 has joined #ruby
CloCkWeRX1 has quit [Client Quit]
CloCkWeRX has quit [Quit: Leaving.]
CloCkWeRX2 has joined #ruby
sftrabbit has joined #ruby
krz has joined #ruby
syk has joined #ruby
bkxd has quit [Ping timeout: 256 seconds]
yoongkang has quit [Remote host closed the connection]
ht__ has joined #ruby
aryaching has quit [Read error: No route to host]
william3 has quit [Ping timeout: 245 seconds]
yoongkang has joined #ruby
chris2 has joined #ruby
arup_r has quit []
tomphp has joined #ruby
zapata has quit [Ping timeout: 240 seconds]
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
symm- has quit [Quit: Leaving...]
bkxd has joined #ruby
fumk has quit [Remote host closed the connection]
fumk has joined #ruby
namxam has quit [Remote host closed the connection]
kalopsian has joined #ruby
fumk has quit [Remote host closed the connection]
aryaching has joined #ruby
karapetyan has joined #ruby
LoneHermit has joined #ruby
newbie22 has joined #ruby
zapata has joined #ruby
fumk has joined #ruby
Pupeno has quit [Quit: Leaving...]
barhum2013 has quit [Quit: barhum2013]
LoneHermit has quit [Ping timeout: 240 seconds]
drptbl has quit [Quit: My MAC has gone to sleep. zZz..]
pdoherty has quit [Ping timeout: 240 seconds]
despai has joined #ruby
chouhoulis has joined #ruby
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ht__ has quit [Quit: Konversation terminated!]
william3 has joined #ruby
chouhoulis has quit [Ping timeout: 250 seconds]
namxam has joined #ruby
tomphp has joined #ruby
drptbl has joined #ruby
futilegames has joined #ruby
william3 has quit [Ping timeout: 245 seconds]
newbie22 has quit [Quit: Leaving]
jottr has quit [Read error: Connection reset by peer]
lxsameer has quit [Quit: Leaving]
jottr has joined #ruby
ht__ has joined #ruby
namxam has quit [Ping timeout: 264 seconds]
Sirithcam has joined #ruby
chussenot has quit [Quit: chussenot]
FernandoBasso has quit [Quit: Leaving]
piotrj has quit [Remote host closed the connection]
piotrj has joined #ruby
at46 has joined #ruby
shredding has joined #ruby
harushimo has joined #ruby
at46 has quit [Ping timeout: 265 seconds]
<harushimo>
i'm doing an gem install of jekyll from the gem repo. I get an error saying I need to have developments tools installed. Does ruby 2.3 have a seperate development tool package?
cjbischof_ has joined #ruby
aryaching has quit [Read error: Connection reset by peer]
lucasb has joined #ruby
DoubleMalt has joined #ruby
blackgoat_ has quit [Quit: WeeChat 1.3]
cjbischof_ has quit [Client Quit]
k13nox has quit [Remote host closed the connection]
pwnd_nsfw` is now known as pwnd_nsfw
despai has quit [Quit: This computer has gone to sleep]
chussenot has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
sdothum has joined #ruby
UtkarshRay has quit [Quit: Leaving]
baweaver has joined #ruby
Sirithcam has quit [Quit: Leaving]
<jhass>
no but debian/ubuntu usually does
<jhass>
however I don't think 2.3 is packaged up there?
bkxd has quit [Ping timeout: 250 seconds]
decoponio has joined #ruby
<jhass>
harushimo: got some more context?
fumk has quit [Remote host closed the connection]
baweaver has quit [Ping timeout: 250 seconds]
<harushimo>
i'm sending a gist right now
mjuszczak has quit []
I has joined #ruby
I is now known as Guest63628
al2o3-cr has quit [Ping timeout: 250 seconds]
<nickjj>
does anyone know if the redirect addon for jekyll supports subdomains? the jekyll channel is pretty dead and it's not something i can personally test atm
karapetyan has quit [Remote host closed the connection]
<harushimo>
I posted the question there too
<harushimo>
this seems its an ruby problem
karapetyan has joined #ruby
fumk has joined #ruby
<harushimo>
its checking for development tools
<harushimo>
does 2.3 come with some development tools
<jhass>
harushimo: given it fails during installing the ffi gem I'd bet on libffi-dev, libffi-devel or whatever the package is called on your distribution
<harushimo>
or is that package specific?
shredding has quit [Ping timeout: 240 seconds]
<jhass>
if that doesn't help we gotta see the log files mentioned
<ruby[bot]>
Voyage: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
ramfjord has joined #ruby
<Voyage>
pwnd_nsfw, ok, where is gemfile?
chouhoulis has joined #ruby
elifoster has joined #ruby
newbie22 has joined #ruby
<pwnd_nsfw>
in the root directory of the app....
tape88 has quit [Client Quit]
<pwnd_nsfw>
you'll have to install mysql first
<pwnd_nsfw>
and I will not be holding hands anymore
<pwnd_nsfw>
there's documentation for all of this
moeabdol has quit [Ping timeout: 250 seconds]
FernandoBasso has joined #ruby
william3 has joined #ruby
<kbni>
hey pwnd_nsfw - I don't suppose you could hold my hand just a little? I'm just trying to figure out what the correct term for a method used within a class definition is
<Voyage>
pwnd_nsfw, I am going to type this one the first line of Gemfile gem "mysql2", " ~> 0.3.11"
<newbie22>
*: does anyone know how to zip files from you PC directly to a thumb drive ?? in windows ??
<shevy>
newbie22 this is #ruby
mdw has quit [Quit: Sleeping Zzzzz]
<pwnd_nsfw>
kbni, the super's method in a subclass?
<newbie22>
shevy: I know that,,
<kbni>
pwnd_nsfw, yes
chouhoulis has quit [Ping timeout: 265 seconds]
<pwnd_nsfw>
and overloaded method, iirc
<kbni>
It's only referenced during the creation of the class though
<pwnd_nsfw>
or well, are you just using the method
<Ox0dea>
Er, yeah... that's what's happening in the snippet I posted as well.
tomchapin has joined #ruby
lyoshajapan has joined #ruby
jery has left #ruby [#ruby]
tomchapin has quit [Client Quit]
idefine has joined #ruby
Senecea has joined #ruby
idefine_ has joined #ruby
Senecea has quit [Client Quit]
Senecea has joined #ruby
futilegames has quit [Quit: futilegames]
IrishGringo has joined #ruby
at46 has quit [Ping timeout: 265 seconds]
piotrj has quit [Remote host closed the connection]
lyoshajapan has quit [Ping timeout: 240 seconds]
loechel has joined #ruby
solars has quit [Ping timeout: 240 seconds]
tomchapin has joined #ruby
piotrj has joined #ruby
tomchapin has quit [Client Quit]
idefine has quit [Ping timeout: 264 seconds]
treaki has quit [Ping timeout: 240 seconds]
m1dnight_ has quit [Ping timeout: 250 seconds]
blackmesa has joined #ruby
IrishGringo has quit [Read error: Connection reset by peer]
tomchapin has joined #ruby
<Ox0dea>
I feel like, given `Enumerator.new { |y| y << 1 << 2 << fail << 3 }`, there must be some way to get `[1, 2, <something, ideally nothing>, 3]` out of it, but I just can't get there. :<
wheresmyjetpack has joined #ruby
idefine_ has quit [Remote host closed the connection]
praveen has quit []
<Ox0dea>
I thought doing the enumeration in a "sandbox" Thread and sending it back as appropriate might do, but that's plainly not gonna fly.
<Ox0dea>
Still weird that the enumeration works the first time, though.
atmosx has joined #ruby
karapetyan has joined #ruby
mdw has quit [Quit: Sleeping Zzzzz]
moss is now known as m00s3
<lucasb>
if you just yield once, and call #next once, it doesn't even raise that 'fiber called across threads'; so I guess the Enumerator maybe caches the first value somehow.
moss has joined #ruby
tuelz1 has joined #ruby
m00s3 has quit [Quit: brb]
uri_ has joined #ruby
barhum2013 has quit [Quit: barhum2013]
uri_ has quit [Client Quit]
<Ox0dea>
>> fc = -> { ObjectSpace.each_object(Fiber).count }; e = Enumerator.new { |y| y << 42 }; [fc[], e.next, fc[]]
<Ox0dea>
Enumerators don't have an underlying Fiber until you begin the enumeration.
codecop has joined #ruby
<swein>
exit
swein has quit [Quit: leaving]
<Ox0dea>
That's got something to do with it, to be sure, but it still feels like something's wrong here.
Rodya_ has joined #ruby
tuelz1 has quit [Ping timeout: 250 seconds]
tuelz1 has joined #ruby
symm-_ has quit [Ping timeout: 250 seconds]
ConsciousGamer has joined #ruby
solars has joined #ruby
m1dnight_ has joined #ruby
IrishGringo has joined #ruby
govg has quit [Ping timeout: 245 seconds]
mfb2 has joined #ruby
symm- has joined #ruby
sandstro_ has quit [Quit: My computer has gone to sleep.]
<shevy>
something is wrong here!
sandstrom has joined #ruby
Puffball has quit [Remote host closed the connection]
tuelz1 has quit [Ping timeout: 256 seconds]
dlitvak has joined #ruby
mfb2 has quit [Ping timeout: 240 seconds]
Puffball has joined #ruby
govg has joined #ruby
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
wheresmyjetpack is now known as youch
The_Phoenix has quit [Quit: Leaving.]
sepp2k has quit [Read error: Connection reset by peer]
<User458764>
Hello, I want to store configuration values how do I do? Do I create a class with Singleton module?
mdw has joined #ruby
yoongkang has joined #ruby
earfin has joined #ruby
fl0b has quit [Ping timeout: 240 seconds]
Puffball has quit [Remote host closed the connection]
william3 has joined #ruby
stannard has joined #ruby
Puffball has joined #ruby
youch has quit [Remote host closed the connection]
<Ox0dea>
User458764: What's being configured?
youch has joined #ruby
tdsmith has joined #ruby
barhum2013 has joined #ruby
<User458764>
Ox0dea It's only keys and values like PWD=/home
yoongkang has quit [Ping timeout: 245 seconds]
Senecea is now known as Seneca
<Ox0dea>
User458764: So it's a one-time thing?
dlitvak has quit [Ping timeout: 276 seconds]
<User458764>
Ox0dea it is not store in a database if it is what you mean
<Ox0dea>
User458764: No, I mean, are there multiple instances of YourThing that might need to be configured?
<User458764>
Ox0dea no multiple instances that I why I speak about Singleton
at46_ has joined #ruby
william3 has quit [Ping timeout: 245 seconds]
<Ox0dea>
> multiple
<Ox0dea>
> Singleton
pawnbox_ has quit [Remote host closed the connection]
dlitvak has joined #ruby
<tdsmith>
I'm running into a problem using bundler; I have gem 'docile' in my Gemfile, bundle check says it's installed, but require 'docile' is failing in my script when I run it with `bundle exec ruby sketch.rb` -- https://gist.github.com/tdsmith/1e359036944c2546e9e9
sandstrom has quit [Quit: My computer has gone to sleep.]
<Ox0dea>
It's a Tripleton.
<Ox0dea>
tdsmith: Looks like it could be a version mismatch.
sandstrom has joined #ruby
<User458764>
Ox0dea ok :) thanks for the snippet it seems to be what I am looking for
<Ox0dea>
Huzzah!
yqt has joined #ruby
youch has quit [Remote host closed the connection]
krobzaur has quit [Ping timeout: 256 seconds]
DoubleMalt has quit [Remote host closed the connection]
juddey has joined #ruby
<tdsmith>
Ox0dea: I think it shouldn't be; Gemfile.lock mentions docile 1.1.5 and bundle list shows 1.1.5; docile doesn't show up in `gem list` since I passed `--path .bundle` to bundle install
<tdsmith>
heh; `bundle exec gem list` fails the same way ("could not find docile-1.1.5")
chouhoulis has joined #ruby
<Ox0dea>
¯\_(ツ)_/¯
<tdsmith>
yeah, same
<tdsmith>
thanks for looking
mrsolo_ has quit [Quit: This computer has gone to sleep]
barhum2013 has quit [Quit: barhum2013]
visudo has quit [Quit: visudo]
DoubleMalt has joined #ruby
pawnbox has joined #ruby
mrsolo_ has joined #ruby
IrishGringo has quit [Ping timeout: 245 seconds]
dlitvak has quit [Remote host closed the connection]
chouhoulis has quit [Ping timeout: 265 seconds]
dain has joined #ruby
newbie22 has joined #ruby
Biopandemic has quit [Remote host closed the connection]
karapetyan has quit [Remote host closed the connection]
Burgestrand has joined #ruby
Biopandemic has joined #ruby
pawnbox has quit [Ping timeout: 240 seconds]
Biopandemic has quit [Remote host closed the connection]
<tdsmith>
oh, got it, my bundle was from the wrong ruby
djbkd has joined #ruby
dlitvak has joined #ruby
karapetyan has joined #ruby
<Ox0dea>
A version mismatch of the highest order. :P
<tdsmith>
quite!
phantummm has quit [Ping timeout: 260 seconds]
dain has quit [Quit: Leaving.]
at46_ has quit [Remote host closed the connection]
noodle has quit [Quit: /quit]
sandstrom has quit [Quit: My computer has gone to sleep.]
Biopandemic has joined #ruby
sandstrom has joined #ruby
visudo has joined #ruby
ddv has quit [Quit: *poof*]
earfin has quit []
ramfjord has joined #ruby
dlitvak has quit [Remote host closed the connection]
symm- has quit [Ping timeout: 256 seconds]
noodle has joined #ruby
Rodya_ has quit [Remote host closed the connection]
Seneca has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
symm- has joined #ruby
grill has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
barhum2013 has joined #ruby
visudo has quit [Client Quit]
fedexo has joined #ruby
ddv has joined #ruby
barhum2013 has quit [Client Quit]
bluOxigen has joined #ruby
idefine has joined #ruby
mrsolo_ has quit [Quit: This computer has gone to sleep]
centrx has joined #ruby
sivam has joined #ruby
mrsolo_ has joined #ruby
zast has joined #ruby
tomphp has joined #ruby
barhum2013 has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
sandstrom has quit [Quit: My computer has gone to sleep.]
idefine has quit [Ping timeout: 250 seconds]
bkxd has joined #ruby
ta_ has quit [Read error: Connection reset by peer]
sandstrom has joined #ruby
barhum2013 has quit [Quit: barhum2013]
solars has quit [Ping timeout: 240 seconds]
doublemalt_ has joined #ruby
idefine has joined #ruby
cats has quit [Quit: hissconnecting]
cats has joined #ruby
piotrj has quit [Remote host closed the connection]
radgeRayden has joined #ruby
bkxd has quit [Ping timeout: 260 seconds]
tuelz1 has joined #ruby
DoubleMalt has quit [Ping timeout: 250 seconds]
at46_ has joined #ruby
lxsameer has quit [Quit: Leaving]
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
suckdick has joined #ruby
IrishGringo has joined #ruby
domgetter has joined #ruby
cats has quit [Client Quit]
cats has joined #ruby
cats has quit [Remote host closed the connection]
idefine has quit [Remote host closed the connection]
arup_r has quit []
mrsolo_ has quit [Quit: This computer has gone to sleep]
pawnbox has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
Ebok has joined #ruby
Senecea has joined #ruby
Rodya_ has joined #ruby
weemsledeux has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
yoongkang has joined #ruby
kirun_ has joined #ruby
pawnbox has quit [Ping timeout: 264 seconds]
sandstrom has joined #ruby
tape88 has joined #ruby
william3 has joined #ruby
kirun has quit [Ping timeout: 245 seconds]
yoongkang has quit [Ping timeout: 240 seconds]
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Xiti has quit [Quit: Xiti]
william3 has quit [Ping timeout: 245 seconds]
Guest70518 has left #ruby ["Leaving"]
despai has joined #ruby
suckdick has quit [Remote host closed the connection]
s00pcan has quit [Remote host closed the connection]
sivam has quit [Quit: Leaving.]
s00pcan has joined #ruby
orca_ has joined #ruby
bkxd has joined #ruby
glcx has joined #ruby
glcx has joined #ruby
pdoherty has joined #ruby
despai has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Jackneill has quit [Ping timeout: 245 seconds]
ferr has joined #ruby
rodfersou has quit [Quit: leaving]
bkxd has quit [Ping timeout: 240 seconds]
Xeago has joined #ruby
s00pcan has quit [Remote host closed the connection]
despai has joined #ruby
s00pcan has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
s00pcan has quit [Read error: No route to host]
s00pcan has joined #ruby
dlitvak has quit [Ping timeout: 260 seconds]
sandstrom has joined #ruby
sivam has joined #ruby
s00pcan has quit [Remote host closed the connection]
paolog has joined #ruby
Seneca has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Rodya_ has quit [Remote host closed the connection]
mjuszczak has joined #ruby
mjuszczak has quit [Max SendQ exceeded]
s00pcan has joined #ruby
mjuszczak has joined #ruby
s00pcan has quit [Remote host closed the connection]
zeroDivisible has quit [Quit: WeeChat 1.3]
s00pcan has joined #ruby
arooni_______ has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dlitvak has joined #ruby
arooni_______ has left #ruby [#ruby]
ferr has quit [Quit: WeeChat 1.3]
s00pcan has quit [Remote host closed the connection]
s00pcan has joined #ruby
yoongkang has joined #ruby
ledestin has joined #ruby
william3 has joined #ruby
pilne has joined #ruby
sgambino has joined #ruby
yoongkang has quit [Ping timeout: 250 seconds]
codecop has quit [Remote host closed the connection]
william3 has quit [Ping timeout: 245 seconds]
phantummm has quit [Ping timeout: 256 seconds]
sandstrom has quit [Quit: My computer has gone to sleep.]
orca_ has left #ruby ["Leaving"]
mdw has quit [Quit: Sleeping Zzzzz]
sivam has quit [Quit: Leaving.]
sandstrom has joined #ruby
ebbflowgo has joined #ruby
despai has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
_Aviio has joined #ruby
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<_Aviio>
Hi all
chouhoulis has joined #ruby
mdw has joined #ruby
llua has left #ruby [#ruby]
<shevy>
yo Aviio with an underscore
<_Aviio>
Im edgy you see
<shevy>
not if Darmani appends a _ to his nick!
<shevy>
then you two could join nicks
<Darmani>
shevy - war
<Darmani>
wat*
<_Aviio>
im... lost
despai has joined #ruby
<shevy>
Darmani yeah you always wanna go to war
dcunit3d has quit [Ping timeout: 272 seconds]
<shevy>
you did the same some time ago
<shevy>
war war warrrr
djbkd has quit [Remote host closed the connection]
<Darmani>
shevy - lmao it's the fucking keyboard xD
<shevy>
_Aviio well! Darmani_ + _Aviio is Darmani__Aviio
<Canar>
war. war never changes
<shevy>
sounds italian
<Darmani>
Canar - You play fallout
<_Aviio>
Quick question - I just learned about hashes in ruby, is it acceptable to pass a hash into a function?
<Darmani>
my nigga
djbkd has joined #ruby
<shevy>
<ddv> how fun is this channel on a saturday night?
<shevy>
see ddv - the channel is a lot of fun on caturday
dlitvak_ has joined #ruby
<_Aviio>
Darmani: Who DOESNT play fallout?
<shevy>
_Aviio yeah, it is used a lot
<Darmani>
tru.
<shevy>
typically like:
<shevy>
def method(options)
<shevy>
where options is a hash
ledestin has joined #ruby
<Canar>
i play fallout, i don't play skyrim 2112
<shevy>
and then inside the method, people can check for what instructions were give
william3 has joined #ruby
<shevy>
method(use_colours: true)
chouhoulis has quit [Ping timeout: 250 seconds]
<_Aviio>
shevy: cool, ive done it a little bit differently though, ive basically done XML > hash and im passing that hash into a method so I dont have to keep using xpath
griffindy has quit [Read error: Connection reset by peer]
<shevy>
as long as you have a hash it'll be fine
<kaleido>
xml is the devil :(
<shevy>
XML scares me
<_Aviio>
kaleido: you want to see the devil? look up JXML
<Darmani>
the devil lmao
pdoherty has quit [Ping timeout: 240 seconds]
dlitvak has quit [Ping timeout: 265 seconds]
<_Aviio>
coming from a .net background, everyone loves themselves a bit of XML
djbkd has quit [Ping timeout: 240 seconds]
Senecea has joined #ruby
Rodya_ has joined #ruby
pawnbox has joined #ruby
<william3>
What's .net like to use?
sandstrom has quit [Quit: My computer has gone to sleep.]
duncannz has joined #ruby
<william3>
I've heard stories of 'avoid it like the plague' but I try to keep objective
j4cknewt has joined #ruby
<_Aviio>
It was the first language I developed in professionally, so im quite biased, but I do quite enjoy it
sandstrom has joined #ruby
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Ox0dea>
What's great about it?
<Darmani>
Ox0dea<33
<Ox0dea>
Darumaka-san!
<Darmani>
not kun? T_T
pawnbox has quit [Ping timeout: 250 seconds]
despai has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<_Aviio>
Ox0dea: I ask myself this on a daily basis, theres probably not one reason that I think its good, its just the ecosystem that I have the most experience in
j4cknewt has quit [Remote host closed the connection]
darkf has quit [Quit: Leaving]
j4cknewt has joined #ruby
despai has joined #ruby
djbkd has joined #ruby
newbie22 has joined #ruby
at46_ has joined #ruby
nfk has joined #ruby
framling has joined #ruby
<baweaver>
.NET isn't bad
pandaant has quit [Remote host closed the connection]
<baweaver>
note: I only know a handful of C# from College
sp4rrow has joined #ruby
<baweaver>
and had to work in Java professionally for about half a year before I quit and ran
newbie22 has quit [Quit: Leaving]
<Ox0dea>
Good news, everyone: a monadic transformer is the same everywhere.
<baweaver>
C# never inspired that level of pure disgust in me
edulix has joined #ruby
<_Aviio>
C# will never hurt you like java does <3
Guest75297 has quit [Remote host closed the connection]
The_Phoenix has quit [Quit: Leaving.]
<baweaver>
Scala, on the other hand, is everything Java should have been.
<baweaver>
a tinge overkill in places though.
uri_ has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
<_Aviio>
Hmm.. time to research testing in Ruby
Xeago has quit [Remote host closed the connection]
<_Aviio>
Really wish i had started this application with TDD in mind
ddv has quit [Quit: *poof*]
<_Aviio>
Test::Unit still the preferred unit testing framework?
at46_ has joined #ruby
<_Aviio>
or are there others I should look into?
sandstrom has joined #ruby
<shevy>
baweaver mono is bad? I have no idea, never really used it or C# but I was wondering if one could write things on linux, to also work on windows... and not have to use java haha
<baweaver>
It was a pun
uri_ has quit [Client Quit]
<shevy>
(I did C# hello world example though if that counts)
<baweaver>
_Aviio: Minitest and RSpec are fairly popular on the DSL type side
<_Aviio>
baweaver: Thanks, ive heard those ones being thrown around on the ruby rogues podcast I think
tuelz1 has joined #ruby
<baweaver>
just remember that pure TDD isn't used exclusively
<baweaver>
what I tend to do myself:
<baweaver>
If I know what I'm writing and how it should work, I TDD
n_blownapart has joined #ruby
<baweaver>
If I have no clue how it would work, I tend to develop in the REPL first and write tests after I get a good idea of the interface
solars has joined #ruby
<baweaver>
A few of the RRs are on here from time to time.
<_Aviio>
baweaver: kind of the same thought process here, although im learning ruby as I develop and trying to apply C# principles to my development.. its working so far
<baweaver>
Eloquent Ruby will help to get an idea of how Ruby people write Ruby
<Darmani>
Can someone please explain to me the difference between a web server & a web client?
<baweaver>
what is a Server
karapetyan has quit [Remote host closed the connection]
<baweaver>
at a restaraunt?
<william3>
:)
<Darmani>
war
<Darmani>
WAT
<baweaver>
restaurant*
<Darmani>
At a restaurant?
<baweaver>
Someone who serves you food after you, the Client, requests it
<baweaver>
replace food with data / images / etc and there you go
<_Aviio>
baweaver: thanks for that, ill have a look at it, have you read Practical Object-Oriented Design In Ruby by Sandi Metz? been looking at getting that out
<Darmani>
_Aviio - The great and powerful WINDOWS lol
<Darmani>
Papierkorb - Get requests... o.o
<Papierkorb>
Darmani: That almost implements itself, the most complex part is having a nice API/Architecture and security like directory traversal detection etc.
dlitvak has quit [Remote host closed the connection]
<Darmani>
Papierkorb - I want to work my way up to that. But I need to start with the basic's.
radgeRayden_ has joined #ruby
<_Aviio>
Darmani: Ok, so start with security
<passcod>
start with GET requests
<Papierkorb>
Darmani: HTTP/1.0 GET *is* basic. Sure, HTTP in its entirety *is* complex, but you barely need to support anything to get a meaningful output in your webbrowser
<_Aviio>
Darmani: Only requests on port 80 and 443 should be allowed
<Voyage>
nevermind
<baweaver>
Voyage: I'm crap for Apache help, but you'll probably have better luck on an apache channel
phantummm has joined #ruby
<Papierkorb>
Darmani: HTTP/1.1 is already much more complex (MUSTs, SHOULDs, quirks and more quirks)
<Voyage>
baweaver, working. just need the default password of redmine
<Darmani>
Papierkorb - You've written many of these haven't you?
<Papierkorb>
Darmani: Yeah, wrote a HTTP/1.1 server in C++/Qt, with WebSockets support and stuff.
<Papierkorb>
Fun times.
<Papierkorb>
But jesus
<Papierkorb>
I never ever want to write that again
<baweaver>
I don't envy you
piotrj has quit [Remote host closed the connection]
<Darmani>
lmao
naim has quit [Quit: Connection closed for inactivity]
pawnbox has joined #ruby
yoongkang has quit [Ping timeout: 264 seconds]
<baweaver>
anyways, need to get some other stuff done this weekend, I'll be back about later today.
<Voyage>
baweaver, well, nevermind that either
* Darmani
waves to baweaver
<_Aviio>
bb
<Papierkorb>
baweaver: I think of it as a valuable lesson in writing and especially architecturing server software.
radgeRayden has quit [Ping timeout: 265 seconds]
<baweaver>
valuable things have great cost I find
dcunit3d has quit [Ping timeout: 276 seconds]
<Darmani>
baweaver - Isn't that the truth.
phantummm has quit [Ping timeout: 264 seconds]
nettoweb has joined #ruby
pawnbox has quit [Ping timeout: 260 seconds]
dlitvak has joined #ruby
nettoweb has quit [Max SendQ exceeded]
nettoweb has joined #ruby
sakix has joined #ruby
Xeago has quit [Remote host closed the connection]
chouhoulis has joined #ruby
shadowfirebird has quit [Ping timeout: 265 seconds]
dlitvak has quit [Remote host closed the connection]