apeiros changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.3.1; 2.2.5; 2.1.10: https://www.ruby-lang.org || Paste >3 lines of text on https://gist.github.com || Rails questions? Ask on #RubyOnRails || logs @ https://irclog.whitequark.org/ruby/
whathapp_ has joined #ruby
cloaked1 has joined #ruby
whathappens has quit [Read error: Connection reset by peer]
rcvalle has quit [Quit: rcvalle]
nando293921 has joined #ruby
jaguarmagenta has joined #ruby
cloaked1 has quit [Client Quit]
h1fuelcell has quit [Remote host closed the connection]
ramfjord_ has joined #ruby
jaguarmagenta has quit [Ping timeout: 264 seconds]
ramfjord has quit [Ping timeout: 244 seconds]
SCHAAP137 has quit [Ping timeout: 272 seconds]
aswen has joined #ruby
cloaked1 has joined #ruby
aswen has quit [Client Quit]
aswen has joined #ruby
wldcordeiro has joined #ruby
Akuma has quit [Quit: So long sukkas!]
x0f has quit [Ping timeout: 256 seconds]
raldu has joined #ruby
marxarelli is now known as marxarelli|afk
ruby_ has quit []
cloaked1 has quit [Quit: cloaked1]
raldu has quit [Changing host]
raldu has joined #ruby
TinkerTyper has quit [Quit: ZNC - http://znc.in]
fmcgeough has quit [Quit: fmcgeough]
TinkerTyper has joined #ruby
hahuang62 has quit [Ping timeout: 265 seconds]
arescorpio has joined #ruby
x0f has joined #ruby
zeroDi has quit [Quit: WeeChat 1.5]
Torkable has quit [Ping timeout: 272 seconds]
SCHAAP137 has joined #ruby
abernstein has joined #ruby
mikeiniowa has joined #ruby
<baweaver> Anyone know why Set doesn't have a JSON serializer method?
<baweaver> class Set; def to_json(_) to_a.to_json end end
pawnbox has joined #ruby
twalla has joined #ruby
whathapp_ has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 264 seconds]
nankyokusei has joined #ruby
FINbit has quit [Ping timeout: 244 seconds]
twalla has quit [Ping timeout: 272 seconds]
Qommand0r has quit [Quit: WeeChat 1.6]
TPug has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nankyokusei has quit [Ping timeout: 252 seconds]
elenatanasoiu has joined #ruby
pawnbox has quit [Ping timeout: 272 seconds]
Devalo has joined #ruby
elenatanasoiu has quit [Ping timeout: 265 seconds]
sneakers has quit [Ping timeout: 252 seconds]
aswen has quit [Quit: WeeChat 1.5]
wpostma has quit [Quit: This computer has gone to sleep]
elvin has joined #ruby
Devalo has quit [Ping timeout: 256 seconds]
nitric has quit [Quit: sleep]
Rickmasta has joined #ruby
ramfjord_ has quit [Ping timeout: 264 seconds]
marxarelli|afk is now known as marxarelli
prawnzy has joined #ruby
duncannz has joined #ruby
wpostma has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
luong has joined #ruby
marxarelli is now known as marxarelli|afk
BTRE has quit [Quit: Leaving]
marxarelli|afk has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
luong has quit [Client Quit]
SCHAAP137 has quit [Remote host closed the connection]
wpostma has quit [Quit: This computer has gone to sleep]
wpostma has joined #ruby
boogeyman has quit [Quit: bb]
face has quit [Ping timeout: 244 seconds]
Bellthoven has quit []
charliesome has joined #ruby
lifted has quit [Quit: lifted]
wpostma has quit [Quit: This computer has gone to sleep]
lifted has joined #ruby
wpostma has joined #ruby
wpostma has quit [Client Quit]
shinnya has quit [Ping timeout: 244 seconds]
h1fuelcell has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
h1fuelcell has quit [Remote host closed the connection]
Bellthoven has joined #ruby
ruby785 has joined #ruby
capitainIsh has quit [Ping timeout: 265 seconds]
RTFM[away] has joined #ruby
boogeyman has joined #ruby
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
TPug has joined #ruby
pawnbox has joined #ruby
tmtwd has joined #ruby
blandflakes has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nettoweb has joined #ruby
toretore has joined #ruby
<ruby785> I'm currently trying to implement insertion sort in Ruby - it works fine, but anytime I have it compare numbers of two different lengths - like 2 and 78, it won't recognize that 78 is larger than 2, and keep it in place. Thus the rest of my array is sorted except for where the 2 is.
pawnbox has quit [Ping timeout: 252 seconds]
cyphase has quit [Ping timeout: 252 seconds]
CloCkWeRX has joined #ruby
blackmesa has quit [Ping timeout: 272 seconds]
ruby785 has quit [Ping timeout: 240 seconds]
rodfersou has joined #ruby
Channel6 has joined #ruby
lifted has quit [Quit: lifted]
cdg has joined #ruby
Snowy has quit [Remote host closed the connection]
Snowy has joined #ruby
elenatanasoiu has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
Snowy has quit [Ping timeout: 256 seconds]
pwnd_nsfw has quit [Read error: Connection reset by peer]
pwnd_nsfw has joined #ruby
rakm has joined #ruby
elenatanasoiu has quit [Ping timeout: 256 seconds]
TPug has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nettoweb has quit [Ping timeout: 252 seconds]
ur5us has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
Bellthoven has quit []
pawnbox has joined #ruby
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
cyphase has joined #ruby
gnufied has joined #ruby
pawnbox has quit [Ping timeout: 264 seconds]
TPug has joined #ruby
JeanCarloMachado has quit [Ping timeout: 256 seconds]
<rakm> anyone know any ruby libs to parse a python setup.py file ?
duderonomy has joined #ruby
cyphase has quit [Ping timeout: 252 seconds]
brianpWins_ has joined #ruby
dtscode has joined #ruby
optiz0r has quit [Ping timeout: 272 seconds]
inteq has joined #ruby
pragmaticus has quit [Ping timeout: 264 seconds]
rodfersou has quit [Quit: leaving]
zukin has joined #ruby
brianpWins has quit [Ping timeout: 264 seconds]
brianpWins_ is now known as brianpWins
hiro_ has quit [Ping timeout: 240 seconds]
cyphase has joined #ruby
TPug has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jaguarmagenta has joined #ruby
Coldblackice has joined #ruby
Coldblackice has quit [Max SendQ exceeded]
TPug has joined #ruby
babblebre has quit [Quit: Connection closed for inactivity]
cyphase has quit [Ping timeout: 265 seconds]
|ifei5g00d has joined #ruby
blandflakes has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
pwnd_nsfw has quit [Read error: Connection reset by peer]
jaguarmagenta has quit [Ping timeout: 272 seconds]
pwnd_nsfw has joined #ruby
ichkv has joined #ruby
duncannz has quit [Ping timeout: 256 seconds]
|ifei5good has joined #ruby
blackmesa has joined #ruby
|ifei5g00d has quit [Ping timeout: 272 seconds]
johnmilton has quit [Ping timeout: 264 seconds]
jaguarmagenta has joined #ruby
TPug has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
duderonomy has quit [Ping timeout: 272 seconds]
luong has joined #ruby
inteq has quit [Read error: Connection reset by peer]
h1fuelcell has joined #ruby
inteq has joined #ruby
eljimbo has joined #ruby
TPug has joined #ruby
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
eljimmy has quit [Ping timeout: 264 seconds]
blackmesa has quit [Ping timeout: 264 seconds]
h1fuelcell has quit [Ping timeout: 272 seconds]
FINbit has joined #ruby
duncannz has joined #ruby
blandflakes has joined #ruby
nankyokusei has joined #ruby
johnmilton has joined #ruby
blandflakes has quit [Client Quit]
FINbit has quit [Ping timeout: 256 seconds]
x0f has quit [Ping timeout: 256 seconds]
eljimmy has joined #ruby
TPug has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nankyokusei has quit [Ping timeout: 244 seconds]
x0f has joined #ruby
bovis has joined #ruby
eljimbo has quit [Quit: This computer has gone to sleep]
eljimbo has joined #ruby
eljimbo has quit [Read error: Connection reset by peer]
pawnbox has joined #ruby
TPug has joined #ruby
harai has quit [Ping timeout: 252 seconds]
GodFather has quit [Ping timeout: 265 seconds]
<bovis> Is it considered good practice to call global constants from a separate class, such as Environment::FILENAME, when referencing those values in a working class? I'm new, so the syntax seems bloated, perhaps bc of the ALL CAPS, but trying other options such as using a module to store the globals seems to have its headaches.
pawnbox has quit [Ping timeout: 265 seconds]
zatherz_ has quit [Ping timeout: 264 seconds]
<toretore> bovis: what's your use case?
BTRE has joined #ruby
Immune has joined #ruby
<bovis> toretore: a simple first project, you can see the Environment example in my first class listed there: https://github.com/bovis/taskmanager/blob/master/task_manager.rb
<bovis> toretore: it passes values such as a filename, file directory, and date and time to other classes
<bovis> at the moment, they're only used for writing/reading external files; I haven't found other use cases for globals yet
<toretore> you should pass these into the classes where they're needed
<toretore> not reach outside the class to fetch them
mhoogkamer has joined #ruby
jhack has quit []
eljimbo has joined #ruby
<bovis> toretore: which is what I'm doing with the Environment::etc calls...
<toretore> no
<toretore> Operations is reaching outside itself into Environment
jaguarmagenta has quit [Remote host closed the connection]
<bovis> right
<toretore> global state is almost never the right answer
<toretore> Operations.new(taskfile: '/path/to/file')
<bovis> toretore: once, I fooled with inheritance for those values, but that doesn't solve them being globals, and it takes up the only space I'm allowed (no multiple inheritance)
<bovis> ok
hahuang62 has joined #ruby
<toretore> no, inheritance is not going to do you any good in this case
crankharder has quit [Ping timeout: 272 seconds]
aries_liuxueyang has quit [Quit: No Ping reply in 180 seconds.]
<bovis> toretore: I'd like to avoid having to change the 'path/to/file' in all cases where that would be listed... my tasklist file alone is mentioned ~5 times
<bovis> and this is a small program
aries_liuxueyang has joined #ruby
<toretore> that doesn't have anything to do with how Operations gets to know about it
<toretore> what language are you coming from?
<bovis> I have only a basic grasp of C otherwise
<toretore> ok. do you understand how classes, instances and their state works?
BTRE has quit [Remote host closed the connection]
<bovis> classes hold methods and are supposed to contain methods that pertain to specific ideas, such as my Operations containing methods that complete user-defined tasks
<bovis> instances allow you to access the methods in classes, so like instance=Operations.new gives me access to my add, list, etc. methods
<bovis> instance.add
<bovis> and I can pass values to add, though my program doens't support that yet
<bovis> I don't know about state
Madplatypus has quit [Quit: Connection closed for inactivity]
<toretore> without state, there is no point in creating instances
<toretore> that's the way you're using classes right now, and you might as well just use top-level methods
TPug has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<matthewd> A class ties a set of methods to a set of related data (the instance state -- what you might put in a struct in C)
<bovis> toretore, matthewd: you're talking about initializing variables, attr_reader and so on?
JoshS has joined #ruby
<bovis> toretore, matthewd: it's clear I don't use those in the program yet
<toretore> bovis: for now, just remove all the class statements surrounding your methods and constants and use them directly
<toretore> they serve no purpose
<matthewd> bovis: Well I'm not sure how to answer a question about good practice if the only acceptable answers involve the things you're already doing :/
<toretore> later, when you learn more about them, you can refactor
A_Drone has joined #ruby
<bovis> toretore: the program looked before like you described, with just methods that performed various tasks
<bovis> toretore: I used the classes to hopefully give it some categorization
<bovis> apparently incorrectly
<matthewd> If you're not up to that point yet, that's fine... but the answer to your question remains: no, this is not good practice [and perhaps a later chapter will move you further in that direction]
<toretore> bovis: the point is that classes aren't just things you can use to lump a bunch of methods together
braincrash has quit [Quit: bye bye]
<bovis> toretore: I'm just making headaches for myself by putting more blocks in my way to getting to the variables/data I need?
<toretore> if you want to use classes properly, you'll have to read up on how they work, how instances store state
<matthewd> And perhaps further: if you're working through a book and it's introducing things piecemeal (as it necessarily must do, of course), it's probably not worth worrying too much about whether your first few rounds look elegant -- you're not working with a full set of tools yet, so things are going to feel clunkier
<toretore> you are until you understand what it is you're working with
<bovis> matthewd: I only commented on the clunkiness of its because it felt awkward to do what I was doing, and sometimes the awkward move can be the wrong one
<matthewd> bovis: Yep, that's fair
TPug has joined #ruby
<matthewd> So is your current objective to include a class, per the comments up the top?
<bovis> matthewd, toretore: I feel like the program works OK with a bunch of methods defined and eliminating the classes; it worked that way before what you can see with the classes involved
<bovis> matthewd, toretore: my objective is to take this program and hopefully change it according to the chapters in the well-grounded rubyist as various topics arise
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<matthewd> Right. But is "use a class" a current objective?
<bovis> matthewd: as you pointed out, it can be piecemeal; this obviously is causing me some confusion and perhaps moving me out of my scope regarding what the program demands at this point
<bovis> matthewd: yes; however incorrect that may be, it's why I've tried to include them
<matthewd> Okay, cool. Let's look for a good class to include :)
<matthewd> Classes represent things; they're nouns, and their methods are verbs that act upon the instance.
armyriad has quit [Read error: Connection reset by peer]
<matthewd> (so, not just a grouping of related functions)
watersoul has quit [Ping timeout: 265 seconds]
<bovis> matthewd: then perhaps listing the nouns would be a good start?
<matthewd> Yup
armyriad has joined #ruby
<matthewd> Particularly, the ones who might reasonably be asked to do the things we want to do
<matthewd> e.g., I would venture that a TaskList might be a good candidate on which to call #add
<matthewd> Note it's no longer a 'global' add method -- it's "add a thing to this particular task list"
astrobunny has joined #ruby
Channel6 has quit [Ping timeout: 272 seconds]
<bovis> matthewd: Tasklist in that fashion would also include the remove and update methods, right? Though maybe I should remove list, which isn't a task to perform on the list itself; it's more of a user curiousity.
<matthewd> Right.
Channel6 has joined #ruby
<matthewd> For this round, I think list is okay on there
watersoul has joined #ruby
pawnbox has joined #ruby
etehtsea has joined #ruby
<matthewd> Ultimately, you'll generally want to separate UI concerns like talking to the user from the things that manipulate your domain objects -- so add would live in two halves, for example. And at that point, maybe list only lives in the UI.
blackmesa has joined #ruby
cdg_ has joined #ruby
<bovis> matthewd: (As an aside: Is it fine for some of my methods to live outside of classes?)
<bovis> I feel like I got myself into trouble trying to put them somewhere. But maybe I just didn't have the "classes as nouns" concept in the right place?
<matthewd> For now, definitely. As they coalesce together and more shared state becomes visible, most will normally end up in classes... or in modules.
<toretore> bovis: as you get better at creating classes, none of your methods will be outside of a class, but there is no harm in doing so in the beginning
<bovis> toretore: ok
cdg has quit [Ping timeout: 256 seconds]
braincrash has joined #ruby
<bovis> matthewd, toretore: Other nouns I see are the files themselves. Maybe the user.
<bovis> ..and maybe permissions?
pawnbox has quit [Ping timeout: 256 seconds]
<bovis> But Entrance as a class doesn't do anything useful.
twalla has joined #ruby
<toretore> you are on to something with Entrance, but maybe it should be something like Application or CommandParser
cdg_ has quit [Remote host closed the connection]
<toretore> i.e. a loop that asks for input from the user and executes the desired action
Devalo has joined #ruby
<matthewd> UserInterface#run, perhaps
blackmesa has quit [Ping timeout: 265 seconds]
rakm has joined #ruby
<matthewd> And the other kind-of important one would be Task :)
<bovis> toretore: Are you saying that it would be better for the hypothetical CommandParser simply because it can execute an action? This is opposite of what my Entrance does, where it just leads the user in a blind way. The benefit with the change being that CommandParser invites itself to similar user actions, whereas now I have a vague blob.
elvin has quit [Quit: Textual IRC Client: www.textualapp.com]
<bovis> matthewd: Task is a vague term. What would you put inside it?
TPug has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<matthewd> A name and date, apparently
dviola has quit [Quit: WeeChat 1.5]
<matthewd> If this is a Task Manager, it seems to need some Tasks to manage
ur5us has joined #ruby
dtscode has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
duderonomy has joined #ruby
Devalo has quit [Ping timeout: 256 seconds]
toretore has quit [Ping timeout: 244 seconds]
etehtsea has quit [Quit: Textual IRC Client: www.textualapp.com]
<bovis> matthewd: The Task class wouldn't be like the TaskList we mentioned earlier, which included add, delete?
<matthewd> Right. So far, it seems to have some data fields, but maybe no behaviour unto itself.
igniting has quit [Ping timeout: 256 seconds]
nettoweb has joined #ruby
JoshS has quit [Read error: Connection reset by peer]
jshjsh has joined #ruby
<matthewd> It probably knows how to format its fields into a string, ready to be written to a file, though
jshjsh is now known as JoshS
<bovis> matthewd: TaskList#add would have to call Task for the name of a task and its date to be written to a file?
tuxaddicted has quit [Ping timeout: 252 seconds]
<bovis> Why not cram all that into TaskList#add?
<matthewd> TaskList#add would construct a Task, then write it to a file
chrisgopher has joined #ruby
<matthewd> Separation of responsibilities -- keeps each chunk of code to a manageable size. The TaskList is busy knowing how to read and write files... it doesn't need to worry about how best to format a Task.
nettoweb has quit [Ping timeout: 252 seconds]
gix has quit [Ping timeout: 252 seconds]
optiz0r has joined #ruby
chrisgopher has quit [Client Quit]
chrisgopher has joined #ruby
<chrisgopher> hello
<havenwood> chrisgopher: welcome
<bovis> matthewd: I guess then I'm confused about how I get information from Task to TaskList
nettoweb has joined #ruby
<matthewd> You can leave it for now, I'm probably running too far ahead. Small steps.
<bovis> matthewd: TaskList#add calls something like Task.name to grab the name of the user's desired task to add?
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<bovis> ok
SteenJobs has joined #ruby
tuxaddicted has joined #ruby
fuzzyhorns has quit [Read error: Connection reset by peer]
fuzzyhorns has joined #ruby
gix has joined #ruby
<bovis> matthewd, toretore: Anything else to add before I go dismantle some things?
A_Drone has quit [Remote host closed the connection]
A_Drone has joined #ruby
dtscode has joined #ruby
twalla has quit [Ping timeout: 272 seconds]
<matthewd> I don't think so. I guess don't try to add too many classes at once -- so, not necessarily for all the nouns we found. But as you look at where to put methods, that's when I'd look to the noun list to see which one should "do" that thing.
A_Drone has quit [Remote host closed the connection]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
A_Drone has joined #ruby
<bovis> matthewd, toretore: thanks for the help
arescorpio has quit [Quit: Leaving.]
<matthewd> You're welcome :)
chrisgopher has quit [Remote host closed the connection]
Asher has quit [Quit: Leaving.]
chrisgopher has joined #ruby
Asher has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
elenatanasoiu has joined #ruby
chrisgopher has quit [Client Quit]
ChiefAlexander has joined #ruby
dtscode is now known as crouchingtigerhi
crouchingtigerhi is now known as hidtsden
pawnbox has joined #ruby
elenatanasoiu has quit [Ping timeout: 264 seconds]
ChiefAlexander has quit [Client Quit]
A_Drone has quit [Ping timeout: 265 seconds]
gnufied has quit [Ping timeout: 256 seconds]
pawnbox has quit [Ping timeout: 244 seconds]
ur5us_ has joined #ruby
ur5us has quit [Read error: Connection reset by peer]
craigp_ has quit [Ping timeout: 272 seconds]
twalla has joined #ruby
A_Drone has joined #ruby
ZeroTresBR has joined #ruby
twalla has quit [Ping timeout: 244 seconds]
aries_liuxueyang has quit [Ping timeout: 252 seconds]
A_Drone has quit [Remote host closed the connection]
nettoweb has joined #ruby
tuxaddicted has quit [Ping timeout: 265 seconds]
ur5us has joined #ruby
ur5us_ has quit [Ping timeout: 264 seconds]
tuxaddicted has joined #ruby
RTFM[away] has quit [Ping timeout: 244 seconds]
chrisgopher has joined #ruby
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Rickmasta has joined #ruby
circ-user-wbVbG has joined #ruby
djbkd has joined #ruby
kobain has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
circ-user-wbVbG has quit [Remote host closed the connection]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
jaguarmagenta has joined #ruby
A_Drone has joined #ruby
skweek has quit [Ping timeout: 265 seconds]
eizua has joined #ruby
blackmesa has joined #ruby
eizua has quit [Client Quit]
pawnbox has joined #ruby
A_Drone has quit [Ping timeout: 265 seconds]
FINbit has joined #ruby
blackmesa has quit [Ping timeout: 264 seconds]
Madplatypus has joined #ruby
pawnbox has quit [Ping timeout: 252 seconds]
Jameser has joined #ruby
nankyokusei has joined #ruby
chrisgopher has quit []
bluOxigen has joined #ruby
FINbit has quit [Ping timeout: 272 seconds]
nankyokusei has quit [Ping timeout: 272 seconds]
chrisgopher has joined #ruby
ur5us has quit [Ping timeout: 265 seconds]
tonini has joined #ruby
ur5us has joined #ruby
igniting has joined #ruby
ramfjord has joined #ruby
minimalism has quit [Quit: minimalism]
twalla has joined #ruby
Ropeney has joined #ruby
aupadhye has joined #ruby
jaequery has joined #ruby
ZeroTresBR has quit [Remote host closed the connection]
Xiti` has joined #ruby
Xiti` has quit [Remote host closed the connection]
skweek has joined #ruby
Xiti has quit [Ping timeout: 265 seconds]
eizua has joined #ruby
rsampaio_ has joined #ruby
samof76 has joined #ruby
auzty has joined #ruby
_sfiguser has quit [Ping timeout: 264 seconds]
Xiti has joined #ruby
<bovis> matthewd: are you still around?
<matthewd> Yep
<matthewd> How's it looking?
<bovis> I think it's much better. Can I ask what you think and maybe ask for something I can improve on tomorrow? https://github.com/bovis/taskmanager/blob/master/task_manager.rb
<baweaver> https://coderpad.io/PZHPTN42 - bovis / matthewd this might be easier to go through
<baweaver> not sure if you can have more than two people though
<bovis> thanks
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<matthewd> Looks like not
Channel6 has quit [Quit: Leaving]
<baweaver> Hm
<baweaver> Know of another one?
<baweaver> http://collabedit.com/7pj2t - that might do it
<bovis> baweaver: thanks, the kobra is working; join if you like; it's a party
chrisgopher has quit []
ejnahc has quit [Read error: Connection reset by peer]
ejnahc has joined #ruby
eizua has quit [Quit: Leaving]
_sfiguser has joined #ruby
blackgoat has quit [Ping timeout: 272 seconds]
SteenJobs has joined #ruby
samof76 has quit [Ping timeout: 272 seconds]
A_Drone has joined #ruby
eizua has joined #ruby
eizua has quit [Client Quit]
SteenJobs has quit [Quit: SteenJobs]
eizua has joined #ruby
eizua has quit [Client Quit]
samof76 has joined #ruby
ur5us has quit [Ping timeout: 272 seconds]
sandelius has joined #ruby
nando293921 has quit [Ping timeout: 244 seconds]
blackmesa has joined #ruby
mhoogkamer has quit [Ping timeout: 265 seconds]
charliesome has joined #ruby
vitd has joined #ruby
xentity1x has joined #ruby
charliesome has quit [Client Quit]
blackmesa has quit [Ping timeout: 265 seconds]
A_Drone has quit [Remote host closed the connection]
charliesome has joined #ruby
A_Drone has joined #ruby
tmtwd has quit [Ping timeout: 256 seconds]
tuxaddicted has quit [Ping timeout: 252 seconds]
A_Drone has quit [Remote host closed the connection]
zatherz_ has joined #ruby
A_Drone has joined #ruby
Devalo has joined #ruby
yardenbar has joined #ruby
A_Drone has quit [Remote host closed the connection]
A_Drone has joined #ruby
A_Drone has quit [Remote host closed the connection]
mark_66 has joined #ruby
tuxaddicted has joined #ruby
vitd has quit [Ping timeout: 252 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
elenatanasoiu has joined #ruby
pwnd_nsfw` has joined #ruby
Devalo has quit [Remote host closed the connection]
tuxaddicted has quit [Ping timeout: 265 seconds]
A_Drone has joined #ruby
pwnd_nsfw has quit [Ping timeout: 256 seconds]
elenatanasoiu has quit [Ping timeout: 244 seconds]
A_Drone has quit [Remote host closed the connection]
A_Drone has joined #ruby
sandelius has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sandelius has joined #ruby
last_staff has joined #ruby
charliesome has joined #ruby
bovis has quit [Quit: leaving]
tuxaddicted has joined #ruby
A_Drone has quit [Remote host closed the connection]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dminuoso has joined #ruby
luong has quit [Quit: Leaving]
eljimbo has quit [Quit: This computer has gone to sleep]
pawnbox has joined #ruby
A_Drone has joined #ruby
tmtwd has joined #ruby
tuxaddicted has quit [Ping timeout: 244 seconds]
eizua has joined #ruby
tuxaddicted has joined #ruby
eizua has quit [Client Quit]
eizua has joined #ruby
ARCADIVS has joined #ruby
skweek has quit [Ping timeout: 256 seconds]
Silthias has joined #ruby
beawesomeinstead has quit [Ping timeout: 252 seconds]
zatherz_ has quit [Read error: Connection reset by peer]
nadir has quit [Ping timeout: 265 seconds]
ichkv has quit [Remote host closed the connection]
zacts has quit [Ping timeout: 252 seconds]
yardenbar has quit [Ping timeout: 256 seconds]
f0rpaxe has quit [Ping timeout: 265 seconds]
beawesomeinstead has joined #ruby
f0rpaxe has joined #ruby
poikon has quit [Ping timeout: 265 seconds]
nadir has joined #ruby
duderonomy has joined #ruby
poikon has joined #ruby
blackmesa has joined #ruby
dminuoso has quit [Ping timeout: 264 seconds]
dminuoso has joined #ruby
FINbit has joined #ruby
blingring has quit [Quit: WeeChat 1.3]
blingrang has joined #ruby
blingrang has quit [Changing host]
blingrang has joined #ruby
yaewa has joined #ruby
ramfjord has quit [Ping timeout: 244 seconds]
moei has quit [Ping timeout: 264 seconds]
amclain has quit [Quit: Leaving]
Ishido has joined #ruby
A_Drone has quit [Remote host closed the connection]
twalla has quit [Ping timeout: 252 seconds]
nankyokusei has joined #ruby
blackmesa has quit [Ping timeout: 244 seconds]
yardenbar has joined #ruby
FINbit has quit [Ping timeout: 264 seconds]
DoubleMalt has joined #ruby
wingwalker has joined #ruby
nankyokusei has quit [Ping timeout: 256 seconds]
zacts has joined #ruby
rsampaio_ has quit [Ping timeout: 265 seconds]
yardenbar has quit [Ping timeout: 252 seconds]
x0f has quit [Ping timeout: 256 seconds]
x0f has joined #ruby
blackgoat has joined #ruby
harai has joined #ruby
conta has joined #ruby
DoubleMalt has quit [Ping timeout: 256 seconds]
djbkd has quit [Quit: My people need me...]
f0rpaxe has quit [Read error: Connection reset by peer]
poikon has quit [Ping timeout: 265 seconds]
tmtwd has quit [Ping timeout: 272 seconds]
dminuoso has quit [Remote host closed the connection]
segy has quit [Ping timeout: 264 seconds]
nadir has quit [Ping timeout: 264 seconds]
beawesomeinstead has quit [Ping timeout: 244 seconds]
ta_ has quit [Remote host closed the connection]
poikon has joined #ruby
nadir has joined #ruby
f0rpaxe has joined #ruby
beawesomeinstead has joined #ruby
aganov has joined #ruby
h1fuelcell has joined #ruby
boogeyman has quit [Quit: bb]
jcao219 has quit [Remote host closed the connection]
submitnine has joined #ruby
c0mrad3 has joined #ruby
sander has joined #ruby
naftilos76 has joined #ruby
Snickers has joined #ruby
andikr has joined #ruby
AlphaAtom has joined #ruby
dminuoso has joined #ruby
sandelius has quit [Quit: Textual IRC Client: www.textualapp.com]
anisha has joined #ruby
Guest12204 has joined #ruby
boogeyman has joined #ruby
hakunin has quit []
aufi has joined #ruby
h1fuelcell has quit [Ping timeout: 272 seconds]
djbkd has joined #ruby
yardenbar has joined #ruby
TomyWork has joined #ruby
chrisgopher has joined #ruby
alexherbo2 has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Guest12204 has quit [Ping timeout: 240 seconds]
Immune has quit [Ping timeout: 264 seconds]
Silthias has quit [Ping timeout: 252 seconds]
jidar_ has joined #ruby
jidar has quit [Read error: Connection reset by peer]
watersoul has quit [Ping timeout: 256 seconds]
jidar_ is now known as jidar
cyphactor has quit [Quit: ZNC - 1.6.0 - http://znc.in]
grh has joined #ruby
craigp_ has joined #ruby
biberu has joined #ruby
watersoul has joined #ruby
a1fa has quit [Ping timeout: 265 seconds]
segy has joined #ruby
a1fa has joined #ruby
Silthias has joined #ruby
craigp_ has quit [Quit: WeeChat 1.5]
craigp has joined #ruby
blackmesa has joined #ruby
charliesome has joined #ruby
SesMan has joined #ruby
BTRE has joined #ruby
sp_ has joined #ruby
ta_ has joined #ruby
antgel has joined #ruby
blackmesa has quit [Ping timeout: 264 seconds]
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ARCADIVS has quit [Quit: ARCADIVS]
rakm has joined #ruby
ARCADIVS has joined #ruby
blackmesa has joined #ruby
sp_ has quit [Ping timeout: 264 seconds]
sp_ has joined #ruby
pawnbox has quit [Remote host closed the connection]
Qommand0r has joined #ruby
rakm has quit [Ping timeout: 244 seconds]
<baweaver> Cannot for the live of me think of the name of this: Integer('string'). Was it a method defined on Kernel?
<baweaver> Aha, found it
<baweaver> nevermind
jenrzzz has quit [Ping timeout: 252 seconds]
submitnine has quit [Read error: Connection reset by peer]
yaewa has quit [Quit: Leaving...]
moei has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros> >> method(:Integer).owner # @baweaver
<ruby[bot]> apeiros: # => Kernel (https://eval.in/656129)
<baweaver> I realized halfway through typing
<baweaver> I just had some.... interesting ideas
<baweaver> mainly around deep hash path traversal
<baweaver> because that's a pain
cjbischof_ has quit [Ping timeout: 252 seconds]
<dminuoso> Method names can start with a capital letter? TIL..
cjbischo_ has joined #ruby
<ljarvis> yeah it's one of a few annoying things about ruby for me
<apeiros> method names can be any valid symbol
<apeiros> though some of them you can't call with a bareword
<dminuoso> apeiros: If you look it that way, it makes sense..
mvxlr has joined #ruby
<dminuoso> yeah, such as keywords.
<apeiros> >> class X; define_method(:"") do "weee" end end; X.new.send(:"")
<ruby[bot]> apeiros: # => "weee" (https://eval.in/656130)
<ljarvis> pfh define_method doesn't count c'mon
<dminuoso> >> def if(); end
<ruby[bot]> dminuoso: # => :if (https://eval.in/656131)
<dminuoso> Such as that I guess. :)
<apeiros> there, method with an empty name :)
rajdesai has joined #ruby
<dminuoso> Well, not empty in the sense that :"" is also a symbol :P
<dminuoso> But I get what you mean
jenrzzz has joined #ruby
<apeiros> [] is an array, yet it's an empty array.
<apeiros> the same way :"" is an empty symbol, and "" is an empty string
<apeiros> I'd say the wording is correct
<dminuoso> apeiros: Im not sure a "symbol" can be empty. The question of whether something is emtpy makes only sense for something that is a collection of things.
<ljarvis> the biggest thing to me is still that i'd prefer parens required a first class methods
<dminuoso> apeiros: a string is a collection of characters, so the notion of "emptiness" makes sense
<dminuoso> but a symbol is basically just an internal numer
<dminuoso> *number
<ljarvis> elixir is almost the perfect language for me, and it's also missing this
<ljarvis> it's no coincidence my toy language *everything* is a function
ctp has joined #ruby
blaxter has joined #ruby
<dminuoso> sounds functional.
mvxlr has quit [Client Quit]
<dminuoso> I should get into Haskell development.
<baweaver> I'm doing bad things to hashes again
charliesome has joined #ruby
<apeiros> dminuoso: and an array is internally a pointer + a counter. it can still be empty.
Burgestrand has joined #ruby
mvxlr has joined #ruby
<dminuoso> apeiros: Im not talking about "how its implemented" but rather "what it is"
<dminuoso> apeiros: I mean what is a symbol to you?
<dminuoso> it's definitely not a string.
<apeiros> dminuoso: I agree with you that it is a number. but that's an implementation detail.
<apeiros> the exhibited and observed behaviour is that of an identifier, which is stringlike.
<apeiros> and that's what it is used for too
<apeiros> "I call the method with the name 'foo'"
<apeiros> not "I call the method with the number 12314"
<dminuoso> apeiros: I don't think an "identifier can be empty"
<dminuoso> apeiros: the string representation for the identifier can be.
<apeiros> I disagree.
<dminuoso> Mmm
<apeiros> it's identifier is the empty identifier. makes sense to me.
<dminuoso> 09:54 < apeiros> dminuoso: I agree with you that it is a number. but that's an implementation detail.
<dminuoso> apeiros: symbols are ruby internals exposed to the user
<apeiros> I know
<apeiros> its internals for naming things. not numbering.
<apeiros> it does associate a number with the name for performance reasons. i.e. implementation detail.
<ljarvis> :/
<apeiros> of course from the runtime's PoV, it's more a number with a string than a string with a number. but again, as said, that's now how as you're using it as a programmer
<ljarvis> this is not fun party talk
<apeiros> ljarvis: fun party talk is over in #ruby-offtopic :)
<ljarvis> no no it can be fun in here too
<dminuoso> apeiros: You make a valid point there. It's purely a matter of perspective I guess.
<apeiros> can tell you about my "friend ships" which go to "party" with my neighbours in stellaris :D
djbkd has quit [Remote host closed the connection]
<ljarvis> but this, this pedant talk isn't
<ljarvis> ha
Qommand0r has quit [Ping timeout: 256 seconds]
<apeiros> dminuoso: I think we can savely stop at "we disagree" ;-)
<matthewd> > SyntaxError: compile error: empty symbol literal
<matthewd> Oh, for simpler times
<apeiros> matthewd: when was that last? 1.8?
* apeiros remembers
<matthewd> Yeah
<apeiros> weren't arbitrary binary symbols valid back then?
<apeiros> 18>> :"\xff"
<ruby[bot]> apeiros: # => :"\377" (https://eval.in/656135)
<apeiros> >> :"\xff"
<matthewd> I just went and checked.. partly because I didn't remember it was now valid :P
<ruby[bot]> apeiros: # => /tmp/execpad-0d1fbf881b47/source-0d1fbf881b47: invalid encoding symbol (EncodingError) (https://eval.in/656136)
xentity1x has quit [Ping timeout: 256 seconds]
matti has quit [Quit: Reconnecting]
matti has joined #ruby
matti has joined #ruby
matti has quit [Changing host]
<apeiros> now any valid utf-8 byte sequence is a valid symbol
<apeiros> back then any non-empty byte sequence was valid iirc
<matthewd> encodings schmencodings
<apeiros> "what's a character?" :)
<dminuoso> apeiros: a byte.
<dminuoso> There you go!
chrisgopher has quit [Ping timeout: 264 seconds]
<apeiros> you're one of the "32 bits is a byte" guys? :D
Ropeney has quit [Ping timeout: 256 seconds]
<dminuoso> apeiros: Actually
<dminuoso> apeiros:
<apeiros> (just for those too young to know - bytes didn't always have 8 bits)
<dminuoso> apeiros: I just found an architecture supporting C/C++ with 23 bit pointers.
<matthewd> 18>> ?\377
<ruby[bot]> matthewd: # => 255 (https://eval.in/656137)
<matthewd> Seems legit
<apeiros> dminuoso: what's the purpose of that? enable embedding the pointers in other structures?
eizua has quit [Quit: Leaving]
rajdesai has quit [Remote host closed the connection]
rajdesai has joined #ruby
<dminuoso> apeiros: Byte size is 16 bits, and pointers are usually 24 bits. However, they separate data and function pointers - function pointers always have the MSB at 0, giving you only 23 bits to work with at maximum.
c355e3b has quit [Quit: Connection closed for inactivity]
h1fuelcell has joined #ruby
<apeiros> I see
<dminuoso> apeiros: Its a strange architecture where you have data sizes of 16, 23, 24, 32 and 40 bits.
<dminuoso> A DSP of course.
<apeiros> and does it align to 3 byte boundaries?
<dminuoso> I dont know about alignment requirements. Those are implementation details behind the compiler.
<apeiros> ah well, DSPs are usually about "as compact as possible", no?
<dminuoso> apeiros: DSPs are domain specific packages! :P
<dminuoso> As such all their strangeness comes from solving specific problems.
<apeiros> yes, and usually "as fast as possible" and/or "with as little memory as possible", otherwise a CPU would do :)
<dminuoso> Yeah
<dminuoso> btw :)
elastix has joined #ruby
<apeiros> 7bits is the difference between small and large :D
<apeiros> well, it is 7 orders of magnitudes more
h1fuelcell has quit [Ping timeout: 256 seconds]
armyriad has quit [Ping timeout: 256 seconds]
harold_ has joined #ruby
Qommand0r has joined #ruby
wingwalker has quit [Ping timeout: 264 seconds]
nofxx has quit [Remote host closed the connection]
harold_ has quit [Client Quit]
armyriad has joined #ruby
ur5us has joined #ruby
Dimik has quit [Ping timeout: 252 seconds]
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
sp_ has quit [Ping timeout: 265 seconds]
salut has joined #ruby
tvw has joined #ruby
gingray has joined #ruby
ARCADIVS has quit [Quit: ARCADIVS]
tomphp has joined #ruby
ARCADIVS has joined #ruby
samof76 has quit [Ping timeout: 265 seconds]
bsrd has joined #ruby
Chair has joined #ruby
h1d has joined #ruby
h1d has quit [Client Quit]
pawnbox has joined #ruby
elenatanasoiu has joined #ruby
twalla has joined #ruby
CloCkWeRX has quit [Quit: Leaving.]
wingwalker has joined #ruby
pawnbox has quit [Ping timeout: 264 seconds]
Oclair has quit [Quit: Bye Bye]
Oclair has joined #ruby
nankyokusei has joined #ruby
twalla has quit [Ping timeout: 272 seconds]
ctp has quit [Ping timeout: 244 seconds]
nankyokusei has quit [Ping timeout: 256 seconds]
TvL2386 has joined #ruby
pawnbox has joined #ruby
mvxlr has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
senayar has joined #ruby
senayar has joined #ruby
senayar has quit [Changing host]
workmad3 has joined #ruby
soulisson has joined #ruby
jsrn_ has joined #ruby
nikivi has joined #ruby
<soulisson> Hi, sorry to bother you, I have been trying to make sense of that for 3 days now. I would be really greatful if someone could help me. What's the difference about a "function" and "a function definition"?
<dminuoso> soulisson: Honestly?
<soulisson> dminuoso, yes
nikivi has quit [Client Quit]
<dminuoso> soulisson: Ask the author of the book who uses those terms to decribe two different things.
<dminuoso> Because apparently you seem to be hunting for something very spceific.
<hanmac> it depends on the language ... in others like C(++) it would probably make more sense than ruby
<dminuoso> Especially the question of "what a function is"
<dminuoso> In C++ a function is a type, nothing more.
<dminuoso> The function declaration declares the type, and the definition defines the type.
gingray_ has joined #ruby
gingray has quit [Ping timeout: 264 seconds]
rajdesai has quit [Remote host closed the connection]
rajdesai has joined #ruby
gingray_ has quit [Ping timeout: 264 seconds]
<dminuoso> It seems the same thing holds true for C. A function is just a type.
blackgoat has quit [Ping timeout: 272 seconds]
oakeem has joined #ruby
tvw has quit [Remote host closed the connection]
rajdesai has quit [Ping timeout: 252 seconds]
FINbit has joined #ruby
boogibugs has joined #ruby
<boogibugs> Hi trying to search for a whitelist of ips ranges for rubygems.org so we can allow our fw to access when doing gem installs from clients. web search hasn't really given any good ides.
Snickers has quit [Read error: Connection reset by peer]
samof76 has joined #ruby
erlingur_ has joined #ruby
marr has joined #ruby
<apeiros> boogibugs: should be just https, i.e. 443
<canton7> ip range, I think, not port range
<apeiros> ah
<apeiros> I guess the main problem there would be mirrors?
<canton7> nslookup gives a set of 4 ips. Those appear to belond to a CDN called fastly, which has these assigned ips: https://api.fastly.com/public-ip-list
<canton7> not sure whether everything goes through the CDN, or whether other requests are made to the origin
<matti> apeiros: :)
DoubleMalt has joined #ruby
Hyuk has joined #ruby
boogeyman has quit [Quit: bb]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
emilkarl has joined #ruby
elenatanasoiu has quit [Ping timeout: 264 seconds]
<boogibugs> canton7, yep that's the issue like you said using nslookup because our fw is ip based we cant just give the first ip we see there...or if they change or route you somewhere else when you run `gem install .....`
Hyuk has quit [Quit: Textual IRC Client: www.textualapp.com]
Snowy has joined #ruby
Snowy has quit [Remote host closed the connection]
Snowy has joined #ruby
duncannz has quit [Remote host closed the connection]
oakeem has quit [Quit: Page closed]
soulisson has left #ruby ["Leaving"]
h1fuelcell has joined #ruby
Naz has quit [Ping timeout: 252 seconds]
hidtsden has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
saneax-_-|AFK is now known as saneax
Moeh has joined #ruby
cjbischo_ has quit [Ping timeout: 244 seconds]
boogeyman has joined #ruby
Moeh_ has joined #ruby
wingwalker has quit [Quit: Leaving]
Moeh has quit [Ping timeout: 252 seconds]
ferr has joined #ruby
zacstewart has quit [Ping timeout: 264 seconds]
cjbischof_ has joined #ruby
astrobunny has quit [Remote host closed the connection]
postmodern has quit [Quit: Leaving]
dionysus69 has joined #ruby
anisha has quit [Quit: This computer has gone to sleep]
bsrd has quit [Quit: WeeChat 1.5]
devil_tux has quit [Quit: Lost terminal]
tvw has joined #ruby
rajdesai has joined #ruby
gingray has joined #ruby
nadir has quit [Ping timeout: 272 seconds]
pawnbox has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 256 seconds]
pwnd_nsfw has joined #ruby
pawnbox has joined #ruby
harfangk has joined #ruby
nadir has joined #ruby
koooge has quit [Quit: Leaving...]
pwnd_nsfw` has quit [Ping timeout: 272 seconds]
rajdesai has quit [Remote host closed the connection]
rajdesai has joined #ruby
<zukin> !help
<ruby[bot]> zukin: You can find a list of my commands on http://ruby-community.com/ruboto/commands and my factoids on http://ruby-community.com/ruboto/facts
<helpa> I need somebody! !help. Not just anybody. !help. You know I need someone. !help
k200 has joined #ruby
elenatanasoiu has joined #ruby
rajdesai has quit [Ping timeout: 272 seconds]
<k200> is it a good way to do var = function(a) || function(b) where i want it to assign b in case a is null?
<atmosx> I have a unit test failing: https://gist.github.com/atmosx/8b1954c37c0c1ded2e9cfa422115a4fe - any ideas? it's minitest + rack-test.
cjbischof_ has quit [Ping timeout: 272 seconds]
haxrbyte has joined #ruby
nh_cham has joined #ruby
nh_cham has left #ruby [#ruby]
nh_cham has joined #ruby
haxrbyte has quit [Client Quit]
boogeyman has quit [Remote host closed the connection]
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
twalla has joined #ruby
mvxlr has joined #ruby
k200 has quit [Ping timeout: 264 seconds]
ur5us has quit [Ping timeout: 244 seconds]
twalla has quit [Ping timeout: 272 seconds]
nankyokusei has joined #ruby
koooge has joined #ruby
AlphaAtom has quit [Read error: Connection reset by peer]
Qommand0r has quit [Quit: WeeChat 1.6]
nankyokusei has quit [Ping timeout: 265 seconds]
AlphaAtom has joined #ruby
emilkarl has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ljarvis> k200: no, that's not how that code works
k200 has joined #ruby
cjbischof_ has joined #ruby
Madplatypus has quit [Quit: Connection closed for inactivity]
tvw has quit [Read error: Connection reset by peer]
tvw has joined #ruby
<dminuoso> k200: Also Ruby has no NULL. Are you talking about nil perhaps?
<dminuoso> atmosx: Is this a Rails application?
<k200> dminuoso: i have object.column where this column contais a json hash. now, both of them can be nill. hence i want to check if both exists. i wanted to use try here. but doing object.try(:column["key"]) does not work
<atmosx> dminuoso: no it's Sinatra MVC, I'm building an API
tvw has quit [Client Quit]
<ljarvis> k200: object.&.column.to_h["key"]
<ljarvis> - .
<k200> no i got it.
<k200> object.column.try(:[], 'key')
<ljarvis> try is a code smell
<k200> why?
zacstewart has joined #ruby
<ljarvis> because foo.try(:omg_i_dont_exist) will return nil, so you either want try! or Ruby 2.2's &. operator
<dminuoso> ljarvis: How is &. better than .try though?
antgel has quit [Ping timeout: 252 seconds]
<ljarvis> anyway, you dont need try here, just default to object.column being a hash if it's otherwise nil
<ljarvis> dminuoso: because it'll raise if the method doesn't exist
<dminuoso> ljarvis: Ah. At any rate, it was added in 2.3
<ljarvis> try() is awful, try!() is ok, and like &.
<ljarvis> right sorry 2.3
<k200> ljarvis: whats wrong in it returing ni?
<k200> nil
<ljarvis> if you don't see a problem with that then i guess it doesn't matter
<k200> ljarvis: i am doing if (try) else (something) so if that try gives nil it will execute that else block no?
<ljarvis> k200: the issue is that if you did a typo for the method name you actually want, you may never know about it
<ljarvis> k200: yes, the problem is about the method name being incorrect
M-manveru has quit [Remote host closed the connection]
bascht has quit [Remote host closed the connection]
davix has quit [Read error: Connection reset by peer]
cpfeilschifter[m has quit [Write error: Connection reset by peer]
<ljarvis> try() doesn't just check against nil
fladson[m] has quit [Read error: Connection reset by peer]
<ljarvis> it catches incorrect method calls
<k200> ok
<ljarvis> so, try! will avoid that issue
zacstewart has quit [Ping timeout: 244 seconds]
<ljarvis> and better yet, so will &. which is pure ruby
<k200> ljarvis: so i have to just do object.column.try!(:[], 'key') is that right?
<ljarvis> k200: yes that would work, but it's not very nice looking is it
<ljarvis> k200: what is object in this code? a model instance?
<k200> yes
<ljarvis> and 'column' is an actual column or a method name?
<k200> column.
harai has quit [Ping timeout: 252 seconds]
<ljarvis> what db type is it?
<k200> text
<k200> no wait
<ljarvis> hstore or json perhaps?
<k200> no. its just text.
<ljarvis> do you serialize it?
<k200> and the actual value is google map api resurt.
<k200> yes.
<k200> yes we serialize.
<ljarvis> right, I would probably have something like `def column; super || {}; end`, so column never returns nil
<ljarvis> then you can remove the try altogether
Gasher has joined #ruby
<ljarvis> or some kind of google map api null object if necessary
<k200> ljarvis: but i want it to rutern nil. that means it do not have data. hence execute else block and fethc data from google and store.
<ljarvis> heh ok
raeoks has joined #ruby
rodfersou has joined #ruby
sonikspin has joined #ruby
davix has joined #ruby
ocbtec has joined #ruby
bsrd has joined #ruby
maloik has quit [Remote host closed the connection]
cpfeilschifter[m has joined #ruby
bascht has joined #ruby
M-shine has joined #ruby
M-mistake has joined #ruby
M-manveru has joined #ruby
fladson[m] has joined #ruby
maloik has joined #ruby
workmad3 has quit [Ping timeout: 256 seconds]
k200 has quit [Quit: leaving]
bsrd has quit [Client Quit]
face has joined #ruby
bsrd has joined #ruby
workmad3 has joined #ruby
ken_barber has quit [Ping timeout: 272 seconds]
kent\n has quit [Quit: No Ping reply in 180 seconds.]
Qommand0r has joined #ruby
ken_barber has joined #ruby
zukin has quit [Quit: leaving]
pragmaticus has joined #ruby
kent\n has joined #ruby
JeanCarloMachado has joined #ruby
Naz has joined #ruby
spk has quit [Ping timeout: 272 seconds]
samof76 has quit [Ping timeout: 272 seconds]
pawnbox has quit [Remote host closed the connection]
spk has joined #ruby
pawnbox has joined #ruby
mitsuhiko has quit [Read error: Connection reset by peer]
nh_cham has quit [Quit: AtomicIRC: The nuclear option.]
mitsuhiko has joined #ruby
auzty has quit [Quit: Leaving]
Wizznt has joined #ruby
pawnbox has quit [Ping timeout: 256 seconds]
ldnunes has joined #ruby
Guest76247 has quit [Read error: Connection reset by peer]
nettoweb has joined #ruby
nuck has joined #ruby
nuck is now known as Guest29767
AckZ has quit []
JeanCarloMachado has quit [Ping timeout: 244 seconds]
chouhoulis has joined #ruby
eizua has joined #ruby
leitz has joined #ruby
samof76 has joined #ruby
emilkarl has joined #ruby
johnmilton has quit [Remote host closed the connection]
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
JeanCarloMachado has joined #ruby
grh has quit [Ping timeout: 244 seconds]
sdothum has joined #ruby
DoubleMalt has quit [Ping timeout: 256 seconds]
h1fuelcell has quit [Remote host closed the connection]
jeffreylevesque has quit [Ping timeout: 272 seconds]
c355e3b has joined #ruby
anisha has joined #ruby
anisha has quit [Read error: Connection reset by peer]
dionysus69 has quit [Ping timeout: 264 seconds]
SteenJobs has joined #ruby
tonini has quit [Quit: Connection closed for inactivity]
workmad3 has quit [Ping timeout: 272 seconds]
leitz has quit [Quit: Nappy time]
grh has joined #ruby
dionysus69 has joined #ruby
h1fuelcell has joined #ruby
barajasfab has quit [Ping timeout: 272 seconds]
DoubleMalt has joined #ruby
jaguarmagenta has quit [Remote host closed the connection]
gnufied has joined #ruby
nettoweb has joined #ruby
murilo has joined #ruby
h1fuelcell has quit [Client Quit]
User458764 has joined #ruby
jaguarmagenta has joined #ruby
antgel has joined #ruby
mark_66 has quit [Remote host closed the connection]
synthroid has joined #ruby
fusmu has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
User458764 has quit [Remote host closed the connection]
johnmilton has joined #ruby
platzhirsch has joined #ruby
pawnbox has joined #ruby
jaguarmagenta has quit [Ping timeout: 256 seconds]
ARCADIVS has quit [Quit: ARCADIVS]
blackgoat has joined #ruby
inteq has quit []
User458764 has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
brendan- has joined #ruby
pawnbox has quit [Ping timeout: 252 seconds]
pawnbox has joined #ruby
barajasfab has joined #ruby
tyang has joined #ruby
babblebre has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
bruce_lee has quit [Ping timeout: 265 seconds]
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
bruce_lee has joined #ruby
User458764 has quit [Ping timeout: 252 seconds]
SteenJobs has joined #ruby
zacstewart has joined #ruby
sander has quit [Quit: Leaving]
samof76 has quit [Ping timeout: 265 seconds]
User458764 has joined #ruby
Snowy has quit [Remote host closed the connection]
nankyokusei has joined #ruby
CloCkWeRX has joined #ruby
jeffreylevesque has joined #ruby
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nankyokusei has quit [Ping timeout: 264 seconds]
User458764 has quit [Ping timeout: 265 seconds]
poikon has quit [Read error: Connection reset by peer]
Snowy has joined #ruby
nadir has quit [Ping timeout: 252 seconds]
beawesomeinstead has quit [Read error: Connection reset by peer]
chadhs has joined #ruby
gizless has joined #ruby
gizmore has quit [Ping timeout: 264 seconds]
poikon has joined #ruby
beawesomeinstead has joined #ruby
Burgestrand has joined #ruby
Junaos has quit [Read error: Network is unreachable]
nadir has joined #ruby
DaniG2k has joined #ruby
flashpoint9 has joined #ruby
aupadhye has quit [Quit: Leaving]
grh has quit [Ping timeout: 264 seconds]
GodFather has joined #ruby
raeoks has quit [Quit: Textual IRC Client: www.textualapp.com]
GodFather has quit [Remote host closed the connection]
devil_tux has joined #ruby
RTFM[away] has joined #ruby
gnufied has quit [Quit: Leaving]
gnufied has joined #ruby
pwnd_nsfw` has joined #ruby
_sfiguser has quit [Ping timeout: 252 seconds]
pwnd_nsfw has quit [Ping timeout: 256 seconds]
grh has joined #ruby
WebDawg is now known as neoweb
<ljarvis> >> require "etc"; Etc.nprocessors
<ruby[bot]> ljarvis: # => 1 (https://eval.in/656402)
fivmo has joined #ruby
aswen has joined #ruby
chouhoulis has quit [Remote host closed the connection]
Tempesta has quit [Quit: AdiIRC is updating to v2.6 Beta Build (2016/10/05) 32 Bit]
lidenbrock has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
mark_66 has joined #ruby
_sfiguser has joined #ruby
mhoogkamer has joined #ruby
<_sfiguser> hello all i'm doing a matching of a regex and i did, b = time.scan(/(\d\d):(\d\d):(\d\d)(AM|PM)/) but i get as result an array of array... the result is this [["02", "06", "05", "PM"]] which is correct but i don't want to store it in an array of array...just in an array... how do i do this ? is there a smarter way ? or i should flatten ?
workmad3 has joined #ruby
tk__ has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
blackwind_123 has quit [Ping timeout: 272 seconds]
<elomatreb> _sfiguser: flatten should work, but it if you're parsing a timestamp, there are better options than regexes: https://ruby-doc.org/stdlib-2.3.1/libdoc/time/rdoc/Time.html#method-c-strptime
<ineb> _sfiguser: scan returns all matches, if you just want the first match, use .match
blackwind_123 has joined #ruby
Silthias has quit [Ping timeout: 252 seconds]
SteenJobs has quit [Quit: peaceee]
Tempesta has joined #ruby
DaniG2k has quit [Quit: leaving]
GodFather has joined #ruby
skweek has joined #ruby
mark_66 has quit [Quit: Leaving.]
Robtop__ has joined #ruby
blackmesa has quit [Ping timeout: 252 seconds]
dionysus69 has quit [Ping timeout: 256 seconds]
gingray has quit [Ping timeout: 272 seconds]
pwnd_nsfw` has quit [Ping timeout: 256 seconds]
anisha has joined #ruby
fivmo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mark_66 has joined #ruby
bsrd has quit [Quit: WeeChat 1.5]
<ljarvis> or use Time.parse
fivmo has joined #ruby
<ljarvis> maybe you dont want the actual time I guess
<ljarvis> o, i missed a message
mark_66 has left #ruby [#ruby]
<ljarvis> excuse my lag, m'lady
fivmo has quit [Client Quit]
malconis has joined #ruby
dviola has joined #ruby
<_sfiguser> ineb, no it's an exercise... but how do match things and store in an array ?
<_sfiguser> what is the smartest way ?
sdwrage has joined #ruby
<elomatreb> _sfiguser: Could you show something like a gist with example input and exactly how you want your Array to look?
<ljarvis> >> "12:15:35pm".match(/(\d{2}):(\d{2}):(\d{2})([ap]m)/i).captures
<ruby[bot]> ljarvis: # => ["12", "15", "35", "pm"] (https://eval.in/656455)
M-mistake has quit [Quit: node-irc says goodbye]
LastWhisper____ has joined #ruby
<ljarvis> >> "12:15:35pm".scan(/\d{2}|[ap]m/)
<ruby[bot]> ljarvis: # => ["12", "15", "35", "pm"] (https://eval.in/656456)
<Papierkorb> >> require 'time'; Time.parse "12:15:35pm"
<ljarvis> <insert 100 other ways to do it>
<ljarvis> strptime > Time.parse
<elomatreb> Heuristic time parsers are a nightmare if you have multiple timezones
<Papierkorb> yea but I don't feel like looking up the characters needed
Moeh_ has quit [Ping timeout: 252 seconds]
chouhoulis has joined #ruby
<ljarvis> ?strftime
<ruby[bot]> ljarvis: I don't know anything about strftime
be_______ has joined #ruby
<elomatreb> Store your dates in a predefined, standardized format (*cough* ISO8601) whereever possible
platzhirsch has quit [Quit: WeeChat 1.4]
<ljarvis> !fact add strftime %Y = 2016, %y = 16, %m = 01-12, %B = January, %b = Jan, %d = 01..31, %H = 00..23, %P = AM/PM, %M - 00..59, %S = 00..59
<ruby[bot]> ljarvis: I will remember that strftime is %Y = 2016, %y = 16, %m = 01-12, %B = January, %b = Jan, %d = 01..31, %H = 00..23, %P = AM/PM, %M - 00..59, %S = 00..59
<ljarvis> the important ones anyway
<elomatreb> ljarvis: Timezone? :P
<elomatreb> As in, %Z and %z
<ruby[bot]> ljarvis: I stand corrected that strftime is %Y = 2016, %y = 16, %m = 01-12, %B = January, %b = Jan, %d = 01..31, %H = 00..23, %P = AM/PM, %M - 00..59, %S = 00..59, %z = +0900
<ljarvis> !fact edit strftime %Y = 2016, %y = 16, %m = 01-12, %B = January, %b = Jan, %d = 01..31, %H = 00..23, %P = AM/PM, %M - 00..59, %S = 00..59, %z = +0900
<ljarvis> !fact edit strftime http://strftime.net
<ruby[bot]> ljarvis: I stand corrected that strftime is http://strftime.net
<ljarvis> :|
<Papierkorb> in that case, just link to #strftime in the docs
<ljarvis> nou
<Papierkorb> wouldn't be bothered to use that page there
<ljarvis> !fact edit strftime %Y = 2016, %y = 16, %m = 01-12, %B = January, %b = Jan, %d = 01..31, %H = 00..23, %P = AM/PM, %M - 00..59, %S = 00..59, %z = +0900
<ruby[bot]> ljarvis: I stand corrected that strftime is %Y = 2016, %y = 16, %m = 01-12, %B = January, %b = Jan, %d = 01..31, %H = 00..23, %P = AM/PM, %M - 00..59, %S = 00..59, %z = +0900
<ljarvis> back to work
blackmesa has joined #ruby
|ifei5g00d has joined #ruby
<elomatreb> Re: heuristic date parsers: PHP's strtotime https://secure.php.net/manual/en/function.strtotime.php
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
|ifei5good has quit [Ping timeout: 264 seconds]
ChiefAlexander has joined #ruby
TvL2386 has quit [Remote host closed the connection]
bmurt has joined #ruby
a7d7p has joined #ruby
haylon has joined #ruby
Silthias has joined #ruby
blackmesa has quit [Ping timeout: 265 seconds]
<haylon> has anyone else been having issues with gem v2.5.1 not verifying SSL recently?
tristanp has quit []
<a7d7p> Learning Ruby… with Unix’s “ls -la” … I’d like to know what the different info returned is (in columns). I’m only finding basic explanations on the web. Anyone have a suggestion?
jaequery has joined #ruby
<ljarvis> a7d7p: man ls
tristanp has joined #ruby
<ljarvis> file mode, number of links, owner name, group name, number of bytes in the file, abbreviated month, day-of-month file was last modified, hour file last modified, minute file last modified, and the pathname
AlexRussia_ has quit [Ping timeout: 252 seconds]
last_staff has quit [Quit: last_staff]
grh has quit [Ping timeout: 264 seconds]
<haylon> of course, this SSL issues seems to be affecting just Windows versions of Ruby.
<a7d7p> @lgarvis … does “wheel” mean anything to you? :-)
<haylon> fun.
<haylon> a7d7p: its the sort of Admin group on *nix systems
<ljarvis> a7d7p: yes, did you ask Google?
fmcgeough has joined #ruby
<ljarvis> the first result returns https://en.wikipedia.org/wiki/Wheel_(Unix_term)
anisha has quit [Quit: This computer has gone to sleep]
dionysus69 has joined #ruby
fmcgeough has quit [Read error: Connection reset by peer]
fmcgeough has joined #ruby
Yonk has quit [Read error: Connection reset by peer]
waxxy has joined #ruby
Yonk has joined #ruby
jaguarmagenta has joined #ruby
xemehc has joined #ruby
xemehc has left #ruby [#ruby]
symm- has joined #ruby
fusmu has quit [Ping timeout: 264 seconds]
<a7d7p> ljarvis: thank you. And thx for the Google sugg. I thought it was specific to me… (doh).
nikivi has joined #ruby
jaguarmagenta has quit [Ping timeout: 252 seconds]
hurikhan|Work has joined #ruby
blackgoat has quit [Quit: WeeChat 1.5]
gregf_ has joined #ruby
nikivi has quit [Quit: irc]
yqt has joined #ruby
CloCkWeRX has quit [Quit: Leaving.]
tk__ has quit [Quit: ばいばい]
Junaos has joined #ruby
synthroid has quit [Remote host closed the connection]
symm- has quit [Ping timeout: 265 seconds]
govg has joined #ruby
frozengeek has joined #ruby
yardenbar has quit [Ping timeout: 264 seconds]
nikivi has joined #ruby
brendan- has joined #ruby
elenatanasoiu has quit [Ping timeout: 252 seconds]
nikivi has quit [Client Quit]
bsrd has joined #ruby
elenatanasoiu has joined #ruby
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
twalla has joined #ruby
jaguarmagenta has joined #ruby
emilkarl has quit [Remote host closed the connection]
roamingdog has joined #ruby
jaguarmagenta has quit [Remote host closed the connection]
<eam> group wheel named after the wheel of cheese which sustained Ken, Dennis and Rob as they hacked on the first version of unix at at&t
patarr has joined #ruby
babblebre has quit [Quit: Connection closed for inactivity]
hiyosi has joined #ruby
ta_ has quit [Remote host closed the connection]
vondruch has quit [Ping timeout: 252 seconds]
twalla has quit [Ping timeout: 244 seconds]
minimalism has joined #ruby
nankyokusei has joined #ruby
shinnya has joined #ruby
dminuoso has quit [Ping timeout: 265 seconds]
lucasb_ has joined #ruby
hiyosi has quit [Quit: Textual IRC Client: www.textualapp.com]
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
tyang has quit [Ping timeout: 264 seconds]
synthroid has joined #ruby
nankyokusei has quit [Ping timeout: 264 seconds]
nobitanobi has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
RippyDippy has joined #ruby
<RippyDippy> Hey guys. Pretty new to ruby. I wrote a quick sort but I'm afraid it has a very C-smell. Could I get some tips?
balazs has joined #ruby
twalla has joined #ruby
<waxxy> @RippyDippy Googling for the #each method and the Enumerable module should be interesting :)
dminuoso has joined #ruby
bkxd has joined #ruby
aswen has quit [Quit: WeeChat 1.5]
lifted has joined #ruby
gigetoo has quit [Ping timeout: 244 seconds]
gigetoo has joined #ruby
frankiee_ has quit [Ping timeout: 244 seconds]
<RippyDippy> waxxy: But doesn't each start from the begining each time?
dionysus69 has quit [Ping timeout: 252 seconds]
<canton7> yeah, I was thinking the only bits you might be able to change are the whiles on lines 7 and 10
<waxxy> @RippyDippy Not if you take the appropriate slice of the array. In ruby you can use array indeces such as 13..80
<dminuoso> waxxy: thats a range index, not an array index.
yardenbar has joined #ruby
<canton7> slicing the arrays would create a ton of new arrays though, which 1) would make things more complex, and 2) would be hugely inefficient
tyang has joined #ruby
rodfersou is now known as rodfersou|lunch
blasius has joined #ruby
brendan- has joined #ruby
<waxxy> true, but I don't think the goal here is the most efficient quick sort implementation ever
<canton7> it does make the indexing harder though
<canton7> as, at the end of the day, you've got to return a single sorted array, which means your swaps have to be done to one single array
<canton7> so if you start creating sub-arrays, you've got indexes for those subarrays, and you have to translate those back to indexes on the original array
<canton7> I can't see any way that that will do anything other than make life more compex...
eljimbo has joined #ruby
bkxd has quit [Ping timeout: 252 seconds]
nettoweb has joined #ruby
Eleeleth has quit [Ping timeout: 244 seconds]
kmckelvin has quit [Ping timeout: 244 seconds]
lifted has quit [Quit: lifted]
wldcordeiro has quit [Ping timeout: 252 seconds]
HashNuke has quit [Ping timeout: 265 seconds]
cardoni has quit [Ping timeout: 265 seconds]
edorf has quit [Ping timeout: 265 seconds]
bestie has quit [Ping timeout: 265 seconds]
quoboo has quit [Ping timeout: 265 seconds]
Tony-St4rk has quit [Ping timeout: 272 seconds]
wsmoak has quit [Ping timeout: 272 seconds]
darthvorik has quit [Ping timeout: 265 seconds]
podman has quit [Ping timeout: 265 seconds]
rippa has joined #ruby
ggherdov has quit [Ping timeout: 244 seconds]
daxroc has quit [Ping timeout: 244 seconds]
spiette has joined #ruby
tfitts has quit [Ping timeout: 244 seconds]
Jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
discopatrick has quit [Ping timeout: 272 seconds]
zipkid has quit [Ping timeout: 272 seconds]
meinside has quit [Ping timeout: 272 seconds]
kireevco_ has quit [Ping timeout: 272 seconds]
jxf has quit [Ping timeout: 256 seconds]
rann has quit [Ping timeout: 265 seconds]
sent-hil has quit [Ping timeout: 240 seconds]
c355e3b has quit [Ping timeout: 256 seconds]
aganov has quit [Quit: Leaving]
<lucasb_> pivot = ary.shift
jmcc____________ has quit [Ping timeout: 265 seconds]
jlyndon has quit [Ping timeout: 265 seconds]
peteretep has quit [Ping timeout: 265 seconds]
mjc_ has quit [Ping timeout: 265 seconds]
caw has quit [Write error: Connection reset by peer]
twodayslate has quit [Write error: Connection reset by peer]
pmarreck has quit [Remote host closed the connection]
machty has quit [Write error: Connection reset by peer]
JackMc has quit [Write error: Connection reset by peer]
zero7 has quit [Remote host closed the connection]
aarongodin has quit [Write error: Connection reset by peer]
im0b has quit [Write error: Connection reset by peer]
jabreity has quit [Remote host closed the connection]
joaomdmoura__ has quit [Remote host closed the connection]
iamdevnul has quit [Read error: Connection reset by peer]
Lloyd has quit [Write error: Connection reset by peer]
andersh has quit [Write error: Connection reset by peer]
shelling__ has quit [Write error: Connection reset by peer]
imanc has quit [Remote host closed the connection]
lancetw has quit [Remote host closed the connection]
AndyWojo has quit [Read error: Connection reset by peer]
yo61 has quit [Remote host closed the connection]
mrsolo has quit [Write error: Connection reset by peer]
bove has quit [Read error: Connection reset by peer]
sp_ has joined #ruby
<lucasb_> smaller, greater = ary.partition {|x| x <= pivot }
hiasinho has quit [Ping timeout: 272 seconds]
boxrick1 has quit [Ping timeout: 272 seconds]
<lucasb_> smaller + [pivot] + greater
<lucasb_> would this qualify as a quicksort?
<lucasb_> oops, I forgot to recurse into smaller and greater. but you get the idea :)
nettoweb has quit [Ping timeout: 265 seconds]
<RippyDippy> canton7: If you dont support slicing, what do you suggest?
bsrd has quit [Quit: WeeChat 1.5]
<canton7> tbh, I'm not sure I'd change that code
ghostlight has quit [Ping timeout: 244 seconds]
murilo has quit [Quit: murilo]
yardenbar has quit [Ping timeout: 272 seconds]
twalla has quit [Ping timeout: 265 seconds]
craigp has quit [Ping timeout: 264 seconds]
ghostlight has joined #ruby
igniting has quit [Quit: Ex-Chat]
frankiee_ has joined #ruby
gregf_ has quit [Quit: Page closed]
pmarreck has joined #ruby
aarongodin has joined #ruby
im0b has joined #ruby
grh has joined #ruby
nettoweb has joined #ruby
roamingd_ has joined #ruby
roamingdog has quit [Read error: Connection reset by peer]
cpruitt has joined #ruby
<RippyDippy> canton7: Sweet ...
<RippyDippy> Thanks!
zero7 has joined #ruby
roamingd_ has quit [Remote host closed the connection]
roamingdog has joined #ruby
dminuoso has quit [Remote host closed the connection]
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
shelling__ has joined #ruby
roamingdog has quit [Remote host closed the connection]
abernstein has quit [Quit: abernstein]
twodayslate has joined #ruby
roamingdog has joined #ruby
Kero has quit [Quit: Lost terminal]
roamingdog has quit [Remote host closed the connection]
jenrzzz has joined #ruby
twalla has joined #ruby
wldcordeiro has joined #ruby
machty has joined #ruby
yo61 has joined #ruby
aryaching has joined #ruby
lifted has joined #ruby
bove has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
DoubleMalt has quit [Ping timeout: 264 seconds]
twalla has quit [Ping timeout: 252 seconds]
lifted has quit [Client Quit]
Immune has joined #ruby
mrsolo has joined #ruby
lancetw has joined #ruby
lifted has joined #ruby
conta has quit [Ping timeout: 244 seconds]
AlexJakeGreen has joined #ruby
podman has joined #ruby
synthroid has quit [Remote host closed the connection]
meinside has joined #ruby
imanc has joined #ruby
Eleeleth has joined #ruby
lifted has quit [Client Quit]
wsmoak has joined #ruby
HashNuke has joined #ruby
blaxter has quit [Quit: foo]
sp_ has quit [Ping timeout: 265 seconds]
zipkid has joined #ruby
thoolihan has joined #ruby
lifted has joined #ruby
sent-hil has joined #ruby
lifted has quit [Client Quit]
kmckelvin has joined #ruby
caw has joined #ruby
Devalo has joined #ruby
Tony-St4rk has joined #ruby
Oclairi has joined #ruby
saneax is now known as saneax-_-|AFK
erlingur_ has quit [Quit: WeeChat 1.5]
jlyndon has joined #ruby
bestie has joined #ruby
iamdevnul has joined #ruby
Oclair has quit [Ping timeout: 252 seconds]
twalla has joined #ruby
JackMc has joined #ruby
Lloyd has joined #ruby
Devalo has quit [Ping timeout: 256 seconds]
cjbischo_ has joined #ruby
darthvorik has joined #ruby
edorf has joined #ruby
cjbischof_ has quit [Ping timeout: 256 seconds]
cardoni has joined #ruby
quoboo has joined #ruby
joaomdmoura__ has joined #ruby
Xeago has quit [Ping timeout: 252 seconds]
hiasinho has joined #ruby
mjc_ has joined #ruby
tfitts has joined #ruby
gingray has joined #ruby
jabreity has joined #ruby
discopatrick has joined #ruby
boxrick1 has joined #ruby
jxf has joined #ruby
rann has joined #ruby
c355e3b has joined #ruby
daxroc has joined #ruby
kireevco_ has joined #ruby
andersh has joined #ruby
wugy has quit []
flashpoint9 has quit [Remote host closed the connection]
Xeago has joined #ruby
nattan has joined #ruby
Coldblackice has joined #ruby
<nattan> hi there
peteretep has joined #ruby
jmcc____________ has joined #ruby
<nattan> i recently started learning ruby and i am confused between class instance variables , instance variables , class variables . i google about it but i didnt get any clarity on those. any help would be appreciated.
<Zarthus> do you understand scopes?
ggherdov has joined #ruby
<nattan> yes , i do
zemmihates has joined #ruby
synthroid has joined #ruby
<Zarthus> roughly speaking, the difference between them is where you can (and cannot) access or modify them from
<Zarthus> I think the most common one seen in production is class instance variables (one @)
<hanmac> nattan: if you have a ParentClass A and the ChildClasses B and C. if you have @@class_var defined in A, and set it in B to "x" then its in C "x" too. (all classes share the same class variable)
<nattan> ok
<hanmac> the difference if it would be a class instance variable, in that case its only set for B, not for A or C
harai has joined #ruby
<nattan> i know that class instance variable is belong to a specific class . so how do u define them?
AndyWojo has joined #ruby
govg has quit [Ping timeout: 244 seconds]
Wizznt has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
Wizznt has joined #ruby
nattan_ has joined #ruby
<nattan_> hi there
nattan has quit [Quit: Page closed]
sp_ has joined #ruby
nattan_ has quit [Client Quit]
govg has joined #ruby
amclain has joined #ruby
chouhoulis has quit [Ping timeout: 272 seconds]
A124 has quit [Quit: '']
pwnd_nsfw` has joined #ruby
flashpoint9 has joined #ruby
mvxlr has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
A124 has joined #ruby
Robtop__ has quit [Ping timeout: 256 seconds]
antgel has quit [Ping timeout: 265 seconds]
lifted has joined #ruby
sepp2k has joined #ruby
lifted has quit [Client Quit]
agnostic has joined #ruby
jsrn_ has quit [Quit: Leaving]
jaequery has joined #ruby
tdy has quit [Ping timeout: 252 seconds]
mvxlr has joined #ruby
anisha has joined #ruby
duderonomy has quit [Ping timeout: 256 seconds]
Chair has quit [Ping timeout: 256 seconds]
RippyDippy has quit [Ping timeout: 264 seconds]
jaiks has joined #ruby
behemot has joined #ruby
elastix has quit [Quit: elastix]
roamingdog has joined #ruby
tdy has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
rodfersou|lunch is now known as rodfersou
Immune has quit [Ping timeout: 264 seconds]
aufi has quit [Quit: Leaving]
xentity1x has joined #ruby
nh_cham has joined #ruby
DoubleMalt has joined #ruby
SesMan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sp_ has quit [Ping timeout: 244 seconds]
ferr has quit [Quit: WeeChat 1.5]
AlexJakeGreen has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 252 seconds]
yqt has quit [Ping timeout: 265 seconds]
SCHAAP137 has joined #ruby
govg has quit [Ping timeout: 272 seconds]
<pragmatism> test
blackmesa has joined #ruby
<ljarvis> test failed
abernstein has joined #ruby
govg has joined #ruby
jaguarmagenta has joined #ruby
kang0 has joined #ruby
bluOxigen has quit [Ping timeout: 256 seconds]
andikr has quit [Remote host closed the connection]
LastWhisper____ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
axisys has joined #ruby
bluOxigen has joined #ruby
Devalo has joined #ruby
Devalo has quit [Remote host closed the connection]
Devalo has joined #ruby
BackEndCoder_ has quit [Quit: https://github.com/BackEndCoder]
minimalism has quit [Ping timeout: 244 seconds]
nankyokusei has joined #ruby
jaguarmagenta has quit [Ping timeout: 272 seconds]
ace05 has quit [Remote host closed the connection]
conta has joined #ruby
ace05 has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kang0 has left #ruby ["AndroIRC"]
<pragmatism> Weak.
<pragmatism> ATF
cchadwicka1 has joined #ruby
moneylotion has quit [Ping timeout: 260 seconds]
roamingdog has quit [Ping timeout: 256 seconds]
tyang has quit [Ping timeout: 264 seconds]
maokomioko has joined #ruby
nankyokusei has quit [Ping timeout: 264 seconds]
sp_ has joined #ruby
cschneid_ has joined #ruby
maokomioko has quit [Client Quit]
spudowiar has joined #ruby
nitric has joined #ruby
minimalism has joined #ruby
moneylotion has joined #ruby
agnostic has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
aryaching has quit [Ping timeout: 272 seconds]
lifted has joined #ruby
nettoweb has quit [Ping timeout: 252 seconds]
aryaching has joined #ruby
mtkd has quit [Ping timeout: 252 seconds]
TPug has joined #ruby
Renich has joined #ruby
rippa has quit [Ping timeout: 252 seconds]
mtkd has joined #ruby
a7d7p_ has joined #ruby
a7d7p has quit [Ping timeout: 264 seconds]
a7d7p_ is now known as a7d7p
nettoweb has joined #ruby
camm has joined #ruby
ddffg has joined #ruby
<camm> Is there a Test::Unit::Assertions library for ruby version 2.3.0? I can't find the documentation for it. I only found the documentation for Ruby 2.10 (http://ruby-doc.org/stdlib-2.1.0/libdoc/test/unit/rdoc/Test/Unit/Assertions.html)
crankharder has joined #ruby
Pumukel has joined #ruby
<matthewd> camm: You probably want minitest
last_staff has joined #ruby
fuzzyhorns has quit [Quit: Leaving.]
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fuzzyhorns has joined #ruby
<camm> Thanks matthewd
salut has quit [Quit: salut]
User458764 has joined #ruby
tercenya has quit [Remote host closed the connection]
tercenya has joined #ruby
lifted has quit [Quit: lifted]
tenderlove has quit [Read error: Connection reset by peer]
last_staff has quit [Quit: last_staff]
senayar has quit [Ping timeout: 265 seconds]
_whitelogger_ has joined #ruby
nzst has joined #ruby
saneax-_-|AFK has quit [Ping timeout: 272 seconds]
jokester has joined #ruby
SCHAAP137 has joined #ruby
rcvalle has joined #ruby
jswe has joined #ruby
_whitelogger has quit [Remote host closed the connection]
ace05 has quit [Read error: Connection reset by peer]
ace05 has joined #ruby
blackwind_123 has quit [Ping timeout: 264 seconds]
moneylotion has joined #ruby
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
catbusters has joined #ruby
Madplatypus has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
frozengeek has quit [Quit: frozengeek]
fuzzyhorns has quit [Read error: Connection reset by peer]
fuzzyhorns1 has joined #ruby
saneax-_-|AFK has joined #ruby
Snowy has quit [Remote host closed the connection]
Snowy has joined #ruby
pawnbox has quit [Remote host closed the connection]
phaza has quit []
pawnbox has joined #ruby
tuxaddicted has quit [Ping timeout: 265 seconds]
jenrzzz has quit [Ping timeout: 264 seconds]
nitric has quit [Read error: Connection reset by peer]
flashpoint9 has quit [Remote host closed the connection]
rippa has joined #ruby
DoubleMalt has quit [Ping timeout: 256 seconds]
anisha has quit [Quit: This computer has gone to sleep]
sp_ has quit [Ping timeout: 265 seconds]
a7d7p has quit [Quit: a7d7p]
synthroid has quit [Remote host closed the connection]
camm has joined #ruby
Snowy has quit [Ping timeout: 252 seconds]
gheegh has joined #ruby
craigp has quit [Ping timeout: 265 seconds]
cdg has joined #ruby
hurikhan|Work has quit [Remote host closed the connection]
nitric has joined #ruby
synthroid has joined #ruby
govg has quit [Ping timeout: 252 seconds]
last_staff has joined #ruby
RippyDippy has joined #ruby
tercenya has quit [Remote host closed the connection]
tercenya has joined #ruby
nettoweb has quit [Quit: Textual IRC Client: www.textualapp.com]
harai has quit [Ping timeout: 265 seconds]
DoubleMalt has joined #ruby
chouhoulis has joined #ruby
blackwind_123 has joined #ruby
SeepingN has joined #ruby
TomyWork has quit [Ping timeout: 240 seconds]
a7d7p has joined #ruby
govg has joined #ruby
babblebre has joined #ruby
zekriad has quit [Quit: Textual IRC Client: www.textualapp.com]
PhishPho1 has quit [Ping timeout: 240 seconds]
Joufflu has joined #ruby
hahuang65 has joined #ruby
anisha has joined #ruby
<gheegh> only minorly related to ruby.. regex question in ruby.. Should be simple.. but doesn't seem to be working: https://gist.github.com/wflanagan/b5be55207dad624e20d9ca2963e140b2
frozengeek has joined #ruby
sneakers has joined #ruby
<gheegh> basically i've got a string of key=value pairs.. but some of the values have whiteapace in their keys, so I need to match the = then backout the key values from the values.
A124 has quit [Quit: '']
zemmihates has quit [Quit: Connection closed for inactivity]
nettoweb has joined #ruby
peteykun has joined #ruby
DoubleMalt has quit [Ping timeout: 252 seconds]
hahuang62 has quit [Ping timeout: 256 seconds]
<eam> gheegh: keys don't have whitespace?
<gheegh> keys do not have whitespace
<gheegh> the person that wrote the logging.. got that part right. .:-)
<eam> don't regex. Split on '=', then remove the last word from each element except the first and last
<matthewd> gheegh: Are there '=' in values?
<gheegh> there might be.. but i'm not worried about a few busted logs.. proabably a 1 in 1 million situation
postmodern has joined #ruby
<gheegh> eam: good idea.
<SeepingN> is the data fixable? ;)
<SeepingN> the text message should be quoted
roamingdog has joined #ruby
<gheegh> yeah.. i'll go into their logging, and quote out the message
<gheegh> but in the interium.. trying to get the ELK stack logs to not be basica strings..
<gheegh> no point in having a ELK log solution, if there are no fields in it..
<gheegh> :-)
sp_ has joined #ruby
chouhoulis has quit [Remote host closed the connection]
<sonOfRa> Does setting an object to nil force it being garbage collected? I'm investigating a strange double-free error in a native binding
Joufflu has quit [Read error: Connection reset by peer]
siaw23 has joined #ruby
chouhoulis has joined #ruby
Joufflu has joined #ruby
elenatanasoiu has quit [Ping timeout: 256 seconds]
<matthewd> gheegh: /(\w+)=(.*?)(?=$|\s+\w+=)/
<gheegh> matthewd: Awesome!
<gheegh> totally works.
dionysus69 has joined #ruby
<gheegh> thanks.
cschneid_ has quit [Remote host closed the connection]
<matthewd> sonOfRa: Not until the GC runs (and even then, not strictly guaranteed)
<SeepingN> /(\w+=.+) \w+=/ take $1. then grab last pair separately. ..?
craigp has joined #ruby
<sonOfRa> matthewd, alright, that seems like a step in the right direction, then
<siaw23> i wrote a simple scraper to get content from a web. however i want to have it done in a way so that it copies formatting, like bold, italics, colours etc along with the text so i can put it in a word document. is this possible? if yes, i could use some guidelines: https://gist.github.com/siaw23/3925bff1d1fe437ead78d0c445b6ab4b
GodFather has quit [Ping timeout: 256 seconds]
mhoogkamer has quit [Ping timeout: 256 seconds]
<SeepingN> probably best to use some sort of html parsing library
<siaw23> i’m using Nokogiri
<siaw23> it’s copying just raw text
Devalo has joined #ruby
mvxlr has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
catphish has joined #ruby
<catphish> i'm looking at OpenSSL::PKey::PKey#sign, and this method seems to expect both a digest algorithm and some data, does anyone know if one can sign raw data without first hashing it?
pwnd_nsfw` has quit [Read error: Connection reset by peer]
skweek has quit [Ping timeout: 252 seconds]
pwnd_nsfw` has joined #ruby
<catphish> perhaps the hashing is an integral part of the signing process
synthroid has quit [Remote host closed the connection]
PhishPho1 has joined #ruby
<matthewd> catphish: Pretty much all signing systems work by signing a digest of the data, AFAIK
ramfjord has joined #ruby
claudiuinberlin has joined #ruby
<catphish> i assumed it was 2 separate operations (hashing then signing)
<catphish> but it seems they're quite closely tied together
<matthewd> The signature has to include the information of how it was hashed, for a verifier to be able to do the same
redpants has joined #ruby
tyang has joined #ruby
conta has quit [Ping timeout: 252 seconds]
machinewar has joined #ruby
flashpoint9 has joined #ruby
roamingdog has quit [Remote host closed the connection]
claudiuinberlin has quit [Client Quit]
roamingdog has joined #ruby
cchadwicka1 has quit [Read error: Connection reset by peer]
Devalo has quit [Remote host closed the connection]
roamingdog has quit [Remote host closed the connection]
dionysus70 has joined #ruby
roamingdog has joined #ruby
<machinewar> can I set instance_variables on instance via extending a module or no?
<machinewar> I pretty much want to have a class method so I can do class Thing mappable key: :value, where the instance will get @key = :value
cchadwicka has joined #ruby
dionysus69 has quit [Ping timeout: 265 seconds]
dionysus70 is now known as dionysus69
siaw23 has left #ruby [#ruby]
<machinewar> would proabably have to prepend and use initialize
nh_cham has quit [Ping timeout: 264 seconds]
frozengeek has quit [Quit: frozengeek]
cdg has quit [Remote host closed the connection]
cchadwicka1 has joined #ruby
cchadwicka1 has quit [Read error: Connection reset by peer]
cchadwicka has quit [Ping timeout: 265 seconds]
cchadwicka has joined #ruby
cchadwicka has quit [Read error: Connection reset by peer]
chouhoul_ has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
cchadwicka has joined #ruby
Gar-Bob has joined #ruby
conta has joined #ruby
nettoweb has quit [Ping timeout: 265 seconds]
matp has quit [Quit: ZZzzzZz...]
chouhoulis has quit [Ping timeout: 252 seconds]
whathappens has joined #ruby
nettoweb has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
cchadwicka1 has joined #ruby
matp has joined #ruby
cchadwicka has quit [Ping timeout: 252 seconds]
DoubleMalt has joined #ruby
nullwork has quit [Ping timeout: 252 seconds]
Immune has joined #ruby
govg has quit [Ping timeout: 265 seconds]
Dimik has joined #ruby
grh has quit [Ping timeout: 256 seconds]
hahuang65 has quit [Ping timeout: 265 seconds]
<_sfiguser> hello all i'm using TK with ruby, is there a way to let a label take the background of another label ?
<_sfiguser> since i have an image set as label
<_sfiguser> and this other label should just be a text
tyang has quit [Read error: Connection reset by peer]
marxarelli has joined #ruby
nullwork has joined #ruby
Silthias has quit [Ping timeout: 252 seconds]
frozengeek has joined #ruby
jaguarmagenta has joined #ruby
Silthias has joined #ruby
Devalo has joined #ruby
Joufflu_ has joined #ruby
Robtop__ has joined #ruby
tyang has joined #ruby
leksster has joined #ruby
nzst has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
grh has joined #ruby
eljimmy has quit [Read error: Connection reset by peer]
pwnd_nsfw` has quit [Ping timeout: 272 seconds]
Joufflu has quit [Ping timeout: 272 seconds]
frozengeek has quit [Client Quit]
Devalo has quit [Ping timeout: 244 seconds]
jaguarmagenta has quit [Ping timeout: 244 seconds]
duderonomy has joined #ruby
nankyokusei has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
abernstein_ has joined #ruby
machinewar has quit []
User458764 has joined #ruby
User458764 has quit [Client Quit]
RippyDippy has quit [Ping timeout: 256 seconds]
roamingdog has quit [Read error: Connection reset by peer]
roamingd_ has joined #ruby
roamingd_ has quit [Remote host closed the connection]
abernstein has quit [Ping timeout: 265 seconds]
abernstein_ is now known as abernstein
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
vdamewood has joined #ruby
roamingdog has joined #ruby
djbkd has joined #ruby
nankyokusei has quit [Ping timeout: 244 seconds]
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
spudowiar has quit [Quit: Leaving.]
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
saneax-_-|AFK has quit [Ping timeout: 272 seconds]
chocoelho has joined #ruby
chouhoul_ has quit [Remote host closed the connection]
chocoelho has left #ruby [#ruby]
ruby_ has joined #ruby
fuzzyhorns1 has quit [Ping timeout: 265 seconds]
Gar-Bob has quit [Quit: Textual IRC Client: www.textualapp.com]
saneax-_-|AFK has joined #ruby
eizua has quit [Quit: Leaving]
Gar-Bob has joined #ruby
Gar-Bob has quit [Client Quit]
frozengeek has joined #ruby
frozengeek has quit [Remote host closed the connection]
<atmosx> Are ordered tests considered poor/weak?
<pragmatism> atmosx yes.
<pragmatism> Means you have a problem somewhere.
<pragmatism> (typically)
<pragmatism> There are always edge cases.
<atmosx> pragmatism: so, when I want to test the 'delete' api function, how should I go about? Have a single test to create and delete a user?
yuung has joined #ruby
<pragmatism> Yup!
<atmosx> great thanks
<pragmatism> np
lxsameer has joined #ruby
behemot has quit [Quit: leaving]
synthroid has joined #ruby
marxarelli has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ur5us has joined #ruby
DoubleMalt has quit [Ping timeout: 252 seconds]
TPug has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ur5us has quit [Read error: Connection reset by peer]
ur5us_ has joined #ruby
[Butch] has joined #ruby
Naz has quit [Ping timeout: 244 seconds]
workmad3 has quit [Ping timeout: 265 seconds]
TPug has joined #ruby
_whitelogger has joined #ruby
shmuli has joined #ruby
ur5us_ has quit [Read error: Connection reset by peer]
kirun has joined #ruby
ur5us has joined #ruby
Joufflu__ has joined #ruby
jokester has quit [Ping timeout: 265 seconds]
_whitelogger_ has quit [Remote host closed the connection]
chouhoulis has joined #ruby
tomphp has joined #ruby
jokester has joined #ruby
RegulationD has quit []
whathappens has quit [Ping timeout: 256 seconds]
Joufflu_ has quit [Ping timeout: 272 seconds]
pokalyis has joined #ruby
marxarelli has joined #ruby
cschneid_ has joined #ruby
Alayde has joined #ruby
johnmilton has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
TPug has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yqt has joined #ruby
craigp has quit [Ping timeout: 244 seconds]
yuung has quit [Quit: leaving]
vdamewood has left #ruby ["Life beckons."]
blackmes1 has joined #ruby
banisterfiend has joined #ruby
blackmesa has quit [Ping timeout: 252 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
synthroid has quit [Remote host closed the connection]
pokalyis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yqt has quit [Ping timeout: 256 seconds]
hahuang65 has joined #ruby
pokalyis has joined #ruby
ponga has quit [Quit: Connection closed for inactivity]
Snowy has joined #ruby
RippyDippy has joined #ruby
camm has left #ruby [#ruby]
gusrub_ has joined #ruby
s2013 has joined #ruby
NTrash has joined #ruby
haylon has quit [Quit: Leaving]
Silthias has quit [Ping timeout: 252 seconds]
hahuang65 has quit [Ping timeout: 244 seconds]
pokalyis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
RippyDippy has quit [Ping timeout: 265 seconds]
conta has quit [Ping timeout: 265 seconds]
gusrub_ has quit [Remote host closed the connection]
Silthias has joined #ruby
guardian has joined #ruby
gusrub_ has joined #ruby
vuoto has joined #ruby
elenatanasoiu has joined #ruby
sdwrage has quit [Quit: Leaving]
<guardian> hello, I'm a ruby beginner. Apparently I can't use a oneliner to define a nested module "module Foo::Bar" -- is there an idiomatic to avoid too much indentation caused by nesting then?
magellanicloud has joined #ruby
DoubleMalt has joined #ruby
<Papierkorb> guardian: you can use that, but Foo has to exist prior
<havenwood> guardian: You shouldn't need to indent too often. If you wanted you could `module Foo; end` then: module Foo::Bar
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
yannj has joined #ruby
TPug has joined #ruby
<guardian> ok thanks
<guardian> gonna try that
johnmilton has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
isan32 has joined #ruby
ta_ has joined #ruby
guest58673 has joined #ruby
<guardian> is there a way to disambiguate when 2 different gems extend the String class with the same method?
<matthewd> No; one overwrites the other
roamingdog has joined #ruby
Snowy has quit [Read error: Connection reset by peer]
Snowy has joined #ruby
RippyDippy has joined #ruby
jackjackdripper has joined #ruby
<havenwood> guardian: Take a look at refinements: https://docs.ruby-lang.org/en/2.3.0/syntax/refinements_rdoc.html
craigp has joined #ruby
JoshS has quit [Quit: Leaving]
<lucasb_> hmm, can I require one gem. make an alias with a different name of the offending method, and then require the other gem?
yannj has quit [Ping timeout: 264 seconds]
ta_ has quit [Ping timeout: 265 seconds]
loechel has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
blackwind_123 has quit [Ping timeout: 252 seconds]
RippyDippy has quit [Ping timeout: 272 seconds]
chouhoul_ has joined #ruby
vuoto has quit [Remote host closed the connection]
Renich_ has joined #ruby
TPug has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Pumukel has quit [Ping timeout: 252 seconds]
blackwind_123 has joined #ruby
chouhoulis has quit [Ping timeout: 256 seconds]
Renich has quit [Ping timeout: 265 seconds]
<_sfiguser> where can i learn TDD in ruby ?
<guardian> havenwood: this is going to be fun :( I'm not the author of said gems
<havenwood> _sfiguser: Maybe start with the Ruby Koans.
Renich_ has quit [Ping timeout: 244 seconds]
<havenwood> guardian: What two gems monkey patch the same core class?
Renich has joined #ruby
guest58673 has quit [Quit: Bye]
<guardian> asciidoctor and stringex
<guardian> opened an issue in both, we'll see how dust settles
SCHAAP137 has quit [Ping timeout: 256 seconds]
babblebre has quit [Quit: Connection closed for inactivity]
dionysus69 has quit [Ping timeout: 264 seconds]
flashpoint9 has quit [Remote host closed the connection]
TPug has joined #ruby
djbkd has quit [Remote host closed the connection]
Renich_ has joined #ruby
Renich has quit [Ping timeout: 244 seconds]
FINbit has joined #ruby
Silthias has quit [Ping timeout: 252 seconds]
<pragmatism> _sfiguser read! Source code, RSpec book, testing framework documentation.
<pragmatism> I recommend you start with Minitest
whathappens has joined #ruby
isan32 has quit [Quit: leaving]
blackgoat has joined #ruby
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
Silthias has joined #ruby
guest58673 has joined #ruby
roamingdog has quit [Ping timeout: 256 seconds]
dionysus69 has joined #ruby
nullwork is now known as nullniverse
Alayde has left #ruby ["WeeChat 1.1.1"]
dionysus69 has quit [Remote host closed the connection]
Gasher has quit [Ping timeout: 244 seconds]
guest58673 has quit [Remote host closed the connection]
ocbtec has quit [Quit: leaving]
synthroid has joined #ruby
whathappens has quit [Ping timeout: 265 seconds]
SCHAAP137 has joined #ruby
loechel has quit []
RTFM[away] has quit [Quit: Leaving]
RTFM[away] has joined #ruby
Renich_ has quit [Ping timeout: 256 seconds]
<pragmatism> railstutorial.org is good too for learning basic TDD. It's in Rails, but definitely applicable to Ruby alone.
yqt has joined #ruby
mahlon_ is now known as mahlon
FINbit has quit [Ping timeout: 272 seconds]
Joufflu__ has quit [Read error: Connection reset by peer]
FINbit has joined #ruby
tyang has quit [Ping timeout: 264 seconds]
fmcgeough has quit [Quit: fmcgeough]
<postmodern> what would be a good method name for something that coercers/transforms parsed JSON back into Ruby objects (ex: Time.parse'ing a JSON time string)
TPug has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zacts has quit [Ping timeout: 252 seconds]
Silthias has quit [Ping timeout: 272 seconds]
Silthias has joined #ruby
flashpoint9 has joined #ruby
<matthewd> postmodern: JSON.rce(hash) ? ;)
<postmodern> matthewd, this would be explicit for each model I'm loading back from JSON
<matthewd> Ahh, okay
helpa has quit [Remote host closed the connection]
n8o has quit [Excess Flood]
helpa has joined #ruby
<pragmatism> rce = recoerce?
n8o has joined #ruby
babblebre has joined #ruby
<matthewd> rce = remote code execution [vulnerability]
prawnzy has quit [Ping timeout: 252 seconds]
rakm has quit [Ping timeout: 265 seconds]
babblebre has quit [Changing host]
babblebre has joined #ruby
n8o has quit [Remote host closed the connection]
n8o has joined #ruby
chouhoulis has joined #ruby
rakm has joined #ruby
ta_ has joined #ruby
<hanmac> xD
bkxd has joined #ruby
DoubleMalt has quit [Ping timeout: 264 seconds]
jaguarmagenta has joined #ruby
chouhoul_ has quit [Ping timeout: 265 seconds]
ronin has joined #ruby
ronin has left #ruby [#ruby]
FINbit has quit [Ping timeout: 272 seconds]
chouhoulis has quit [Remote host closed the connection]
ronin has joined #ruby
hahuang65 has joined #ruby
TPug has joined #ruby
whathappens has joined #ruby
chouhoulis has joined #ruby
jaguarmagenta has quit [Ping timeout: 264 seconds]
whathappens has quit [Read error: Connection reset by peer]
whathappens has joined #ruby
RippyDippy has joined #ruby
marxarelli has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tdy has quit [Ping timeout: 264 seconds]
duderonomy has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nankyokusei has quit []
pawnbox has quit [Remote host closed the connection]
duderonomy has quit [Client Quit]
roamingdog has joined #ruby
y2mq37 has joined #ruby
RippyDippy has quit [Ping timeout: 265 seconds]
whathappens has quit [Read error: Connection reset by peer]
roamingdog has quit [Client Quit]
whathappens has joined #ruby
mistergibson_ has joined #ruby
mistergibson_ has quit [Remote host closed the connection]
mistergibson has quit [Quit: Leaving]
AlphaAtom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ruby_ has quit []
nankyokusei has joined #ruby
KillerFox has joined #ruby
bkxd has quit [Ping timeout: 256 seconds]
NTrash has quit [Quit: Konversation terminated!]
jackjackdripper has quit [Quit: Leaving.]
jackjackdripper has joined #ruby
NTrash has joined #ruby
AnarchyAo has joined #ruby
jeffreylevesque has quit [Ping timeout: 256 seconds]
Silthias has quit [Ping timeout: 265 seconds]
barajasfab has quit [Ping timeout: 256 seconds]
Silthias has joined #ruby
cyphase has joined #ruby
pawnbox has joined #ruby
jaiks has quit [Ping timeout: 264 seconds]
djbkd has joined #ruby
moneylotion has quit [Read error: Connection reset by peer]
forgot has joined #ruby
xrlabs has joined #ruby
JeanCarloMachado has quit [Ping timeout: 272 seconds]
tomphp has joined #ruby
et09 has joined #ruby
<et09> is it bad to use "attr" as a variable name? i have it in like a hundred places, didn't seem to cause a problem but i guess it's a built in keyword (along with attr_accessible etc.)
TPug has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
synthroid has quit []
vF3hNGxc47h8 has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
pawnbox has quit [Ping timeout: 256 seconds]
Silthias has quit [Ping timeout: 244 seconds]
Silthias has joined #ruby
craigp has quit [Ping timeout: 256 seconds]
TPug has joined #ruby
benjwadams has joined #ruby
blackmesa has joined #ruby
JeanCarloMachado has joined #ruby
SuperLag has quit [Quit: leaving]
<benjwadams> Hi, usually a Python guy here. How can I install libraries system-wide with `gem` or similar? right now it appears i need to `require "rubygems"` before i import other libraries and i can't refactor the libraries
whathappens has quit [Read error: Connection reset by peer]
sp_ has quit [Ping timeout: 272 seconds]
blackmes1 has quit [Ping timeout: 244 seconds]
<gusrub_> benjwadams: what do you mean system wide, so that all users can require them?
whathappens has joined #ruby
ronin has quit [Quit: Page closed]
elenatanasoiu has quit [Ping timeout: 264 seconds]
<benjwadams> gusrub_: so that i can for example run irb and say `require 'somelib'` and it won't throw an exception
flopsec has joined #ruby
SuperLag has joined #ruby
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
duderonomy has joined #ruby
bkxd has joined #ruby
axisys has quit [Quit: leaving]
nankyokusei has quit []
shmuli has quit [Remote host closed the connection]
zipace has joined #ruby
blackmesa has quit [Client Quit]
craigp has joined #ruby
axisys has joined #ruby
_sfiguser has quit [Ping timeout: 264 seconds]
<gusrub_> benjwadams: do you want to do that on a server or just your local machine? It depends on how you have ruby installed (by package manager, rvm, rbenv etc.)
symm- has joined #ruby
<benjwadams> I have to maintain a Windows box
nankyokusei has joined #ruby
<benjwadams> It was via some installer (rubyinstaller). gem and ruby paths are working
<catphish> rather a specific question, i'm encrypting a block of data with AES-256-ECB, and the output is larger than the input, is this normal? i was expecting everything to be the same length http://paste.codebasehq.com/pastes/gaxokxyq5m2g6div10
frozengeek has joined #ruby
gnufied has quit [Quit: Leaving]
craigp has quit [Ping timeout: 244 seconds]
DarthGandalf has quit [Remote host closed the connection]
barajasfab has joined #ruby
DarthGandalf has joined #ruby
ixti has joined #ruby
vF3hNGxc47h8 has quit [Ping timeout: 252 seconds]
bsrd has joined #ruby
bsrd has quit [Client Quit]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
grh has quit [Ping timeout: 265 seconds]
chadhs has quit [Quit: Textual IRC Client: www.textualapp.com]
<gusrub_> benjwadams: how are you running IRB?
_sfiguser has joined #ruby
biberu has quit []
ldnunes has quit [Quit: Leaving]
et09 has quit [Quit: leaving]
nankyokusei has quit [Remote host closed the connection]
nankyokusei has joined #ruby
nankyokusei has quit [Read error: Connection reset by peer]
pawnbox has joined #ruby
nankyokusei has joined #ruby
patarr has quit [Ping timeout: 256 seconds]
hahuang65 has quit [Ping timeout: 244 seconds]
harai has joined #ruby
rodfersou is now known as rodfersou|dinner
shmuli has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
moneylotion has joined #ruby
eljimbo has quit [Read error: Connection reset by peer]
pawnbox has quit [Ping timeout: 252 seconds]
elenatanasoiu has joined #ruby
a7d7p has quit [Quit: a7d7p]
arashb has joined #ruby
sp_ has joined #ruby
nankyokusei has quit [Remote host closed the connection]
whathappens has quit [Read error: Connection reset by peer]
whathappens has joined #ruby
RTFM[away] has quit [Ping timeout: 265 seconds]
gfvcastro has joined #ruby
whathappens has quit [Read error: Connection reset by peer]
whathappens has joined #ruby
charliesome has joined #ruby
arashb has quit [Ping timeout: 256 seconds]
last_staff has quit [Quit: last_staff]
last_staff has joined #ruby
abernstein has quit [Quit: abernstein]
last_staff has quit [Client Quit]
eljimmy has joined #ruby
anisha has quit [Quit: This computer has gone to sleep]
anisha has joined #ruby
naftilos76 has quit [Quit: Αποχώρησε]
gingray has quit [Ping timeout: 265 seconds]
prawnzy has joined #ruby
Snowy has quit [Remote host closed the connection]
whathappens has quit [Read error: Connection reset by peer]
Snowy has joined #ruby
whathappens has joined #ruby
marxarelli has joined #ruby
Snowy has quit [Ping timeout: 264 seconds]
prawnzy has quit [Ping timeout: 256 seconds]
elastix has joined #ruby
workmad3 has joined #ruby
tdy has joined #ruby
raeoks has joined #ruby
benjwadams has quit [Quit: WeeChat 1.4]
<SeepingN> ugh. I'm in Net:SSH exec hell
<SeepingN> apparently ssh.exec!("Somecommand") runs bash -c "Somecommand" in the shell, which means Somecommand shows up twice in ps. And of course the script I'm trying to start looks for exactly that and bails out. :(
gfvcastro has quit [Ping timeout: 244 seconds]
<SeepingN> Anyone have any fancy ideas on how to keet it from starting a subshell or hiding that fact from ps?
<SebastianThorn> how do you copy files in ruby? you use FileUtils.cp_r ?
<SebastianThorn> does not seem to work good
<soahccc> SebastianThorn: why not?
<SebastianThorn> i get this: ruby/2.3.0/fileutils.rb:1387:in `copy': unknown file type: base/* (RuntimeError)
<matthewd> SeepingN: ssh.exec!("SomeCom\"\"mand") might work?
<soahccc> SeepingN: I don't really know what you mean. If you execute a shell in a shell you end up with two processes?
<SebastianThorn> but if i run the command with :verbose => true, and after it jumpes out, i run that command, it works just fine
<SebastianThorn> the command that FileUtils echos is: cp -r base/* export_rb/aaa_2016-10-06_23.53.43/.
<SeepingN> My command that I'm sending to ssh.exec! is: "source /etc/profile; #{command}"
<SeepingN> command shows up twice in ps because it starts as: bash -c source /etc/profile; command
<soahccc> SebastianThorn: I'm pretty certain that you have to give it actual file names (no globbing) and do you need -r?
<matthewd> SeepingN: If you're relying on 'source', you clearly depend on the fact it's running a shell
<SeepingN> command is a ruby script, so that loads another process: ruby /path/to/command
<matthewd> SeepingN: Would exec solve your probem?
SCHAAP137 has quit [Ping timeout: 272 seconds]
<matthewd> "source /etc/profile; exec #{command}"
<SebastianThorn> soahccc: the base-folder contains 3 files and one other folder, that i wish to copy
<SeepingN> worth a shot. seems like it hangs up tho
whathappens has quit [Read error: Connection reset by peer]
bsrd has joined #ruby
whathappens has joined #ruby
<soahccc> SebastianThorn: I think you have to iterate over a list and give it actual filenames. The example in the docs uses Dir.glob as first argument
bsrd has quit [Client Quit]
whathappens has quit [Read error: Connection reset by peer]
<SeepingN> well shit, that did start it. Looks like ssh.exec is going to wait for it to run. back to trying to put that in background, which didn't work before. but it wasn't working anyway!
<SebastianThorn> ok, guess ill just`backtick it :P
<SebastianThorn> `echo "fun times!"`
whathappens has joined #ruby
<SeepingN> so what does the shell "exec" do differently?
<bougyman> exec replaces the current running process with whatever you exec
zukin has joined #ruby
<bougyman> oh, ssh.exec, sorry
<bougyman> I should have read the context.
<matthewd> bougyman: No, you were right. The context was in fact shell-exec-in-ssh.exec :)
<bougyman> gotcha
<matthewd> SeepingN: .. which is going to complicate things if you want to background it (and it's not self-daemonizing)
AnarchyAo has quit [Excess Flood]
leksster has quit [Quit: Leaving]
<SeepingN> well there's 2 execs. I'm EXECuting a command over the ruby ssh connection. And also passing a bash "exec" in there to avoid the command showing up twice in `ps` and the command bailing becaue it thinks it's running twice
<SeepingN> well this is something at least. thanks.
<matthewd> SeepingN: I assume you can't just fix the process to be less.. wrong
jenrzzz_ has joined #ruby
<matthewd> "Does this word appear anywhere in `ps` output" isn't the most fine-tuned anti-concurrency mechanism
<SeepingN> no, it's already in place on thousdands of devices. So I'm stuck with how it detects 2 copies running. I can change the call itself, and the ruby code which implements it, though that affects other things people may try to run so I can't hack it to far
<SeepingN> no. it's quite horrible
<SeepingN> but already implemented and in the real world :(
duncannz has joined #ruby
<SeepingN> bbiab, thanks for the tips so far!
anisha has quit [Quit: This computer has gone to sleep]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
JeanCarloMachado has quit [Ping timeout: 252 seconds]
ramfjord has quit [Ping timeout: 252 seconds]
jenrzzz has quit [Ping timeout: 256 seconds]
ramfjord has joined #ruby
elastix has quit [Quit: elastix]
claw has quit [Ping timeout: 244 seconds]
abernstein has joined #ruby
frozengeek has quit [Quit: frozengeek]
ChiefAlexander has quit [Remote host closed the connection]
SCHAAP137 has joined #ruby
TPug has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shmuli has quit [Remote host closed the connection]
craigp has joined #ruby
jenrzzz_ has quit [Ping timeout: 265 seconds]
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banisterfiend has joined #ruby
shmuli has joined #ruby
craigp has quit [Ping timeout: 244 seconds]
jenrzzz has joined #ruby
claw has joined #ruby
mtkd has quit [Ping timeout: 244 seconds]
c0mrad3 has quit [Quit: Connection closed for inactivity]
mtkd has joined #ruby
ruby_ has joined #ruby
whathappens has quit [Read error: Connection reset by peer]
whathappens has joined #ruby
kirun has quit [Quit: Konversation terminated!]
ruby_ has quit [Client Quit]
babblebre has quit [Quit: Connection closed for inactivity]
harai has quit [Ping timeout: 256 seconds]
AnarchyAo has joined #ruby
jaguarmagenta has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
<SeepingN> So now I'm back to my old problem that I don't think is fixable in this context. the above "command" is a script to upgrade the device (embedded linux box). when it finishes upgrading it reboots and of course the ssh connection drops. But not in the best way, it seems. My ruby net:ssh connection doesn't realize the device has gone away and just sits there waiting for the command to finish. what a PITA!
abernstein has quit [Quit: abernstein]
TPug has joined #ruby
coolboy has joined #ruby
jaguarmagenta has quit [Ping timeout: 264 seconds]
chouhoulis has quit [Ping timeout: 265 seconds]
<soahccc> SeepingN: indeed. doesn't the remote close the connection on a reboot?
lucasb_ has quit [Quit: leaving]
jenrzzz has quit [Ping timeout: 272 seconds]
jackjackdripper has joined #ruby
jenrzzz has joined #ruby
sp_ has quit [Ping timeout: 264 seconds]
twalla has quit [Ping timeout: 252 seconds]
hahuang65 has joined #ruby
[Butch] has quit [Quit: I'm out . . .]
xentity1x has quit [Ping timeout: 272 seconds]
postmodern has quit [Quit: Leaving]
jenrzzz has quit [Ping timeout: 265 seconds]
blackwind_123 has quit [Ping timeout: 264 seconds]
nofxx has joined #ruby
nofxx has joined #ruby
nofxx has quit [Changing host]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
blackwind_123 has joined #ruby
charliesome has joined #ruby
magellanicloud has quit [Quit: Leaving]
NTrash has quit [Quit: Konversation terminated!]
JeanCarloMachado has joined #ruby
Madplatypus has quit [Quit: Connection closed for inactivity]
icarus has joined #ruby
jenrzzz has joined #ruby
cschneid_ has quit [Remote host closed the connection]
sumobob has joined #ruby
pawnbox has joined #ruby
Devalo has joined #ruby
Silthias1 has joined #ruby
AnarchyAo has quit [Ping timeout: 252 seconds]
Silthias has quit [Ping timeout: 272 seconds]
workmad3 has quit [Ping timeout: 252 seconds]
pawnbox has quit [Ping timeout: 256 seconds]
jenrzzz has quit [Ping timeout: 265 seconds]
Devalo has quit [Ping timeout: 272 seconds]
saneax-_-|AFK is now known as saneax
tdy has quit [Ping timeout: 264 seconds]
lxsameer has quit [Quit: WeeChat 1.5]
dhk has joined #ruby
whathappens has quit [Read error: Connection reset by peer]
ur5us has quit [Remote host closed the connection]
marxarelli is now known as marxarelli|afk
whathappens has joined #ruby
ur5us has joined #ruby
elenatanasoiu has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
ur5us has quit [Ping timeout: 264 seconds]
<pragmatism> SSH yes, maybe not SSL.
<pragmatism> Oh sry, misread.
yqt has quit [Ping timeout: 272 seconds]
<SeepingN> soahccc: Supposedly, but however it's doing it, it isn't ... "nice"
<pragmatism> SeepingN Could you have the process that ruby is calling on the remote side kick off a script that waits 5 and then reboots when Ruby DCs?
<SeepingN> well the exec worked to solve the problem of the script "seeing itself twice" and bailing, but I've changed this particular upgrade command to run via a modified ssh which passes our fancy password automatically. From there it's a normal command-line ssh call, which properly responds to "nohup command.rb &" and deosn't stick around for the Cold Shoulder Hangup
barajasfab has quit [Quit: Ex-Chat]
<SeepingN> well the reboot is after an upgrade has finished which can take 5 minutes or 50, depending on what has to be done
<SeepingN> plus the remote device is very ... "light". Some commands aren't there (no 'at'), and no man pages either
Batholith has quit [Ping timeout: 250 seconds]
raldu has quit [Ping timeout: 264 seconds]
<SeepingN> "at" probably would have solved my problem immediately if it were available
nankyokusei has joined #ruby
<pragmatism> Ohh, that stinks.
raldu has joined #ruby
Batholith has joined #ruby
catphish has left #ruby ["Leaving"]
frozengeek has joined #ruby
flashpoint9 has joined #ruby
elenatanasoiu has joined #ruby
marxarelli|afk is now known as marxarelli
nankyokusei has quit [Ping timeout: 256 seconds]
flashpoint9 has quit [Remote host closed the connection]
abernstein has joined #ruby
flashpoint9 has joined #ruby
raldu has quit [Ping timeout: 264 seconds]
raldu has joined #ruby
x0f has quit [Ping timeout: 252 seconds]
Immune has quit [Ping timeout: 264 seconds]
elenatanasoiu has quit [Ping timeout: 244 seconds]
shmuli has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 272 seconds]
gusrub_ is now known as gusrub
kobain has joined #ruby
Immune has joined #ruby
bkxd has quit [Ping timeout: 252 seconds]
ghr has joined #ruby
moneylotion has quit [Read error: Connection reset by peer]
bkxd has joined #ruby
pawnbox has joined #ruby
dhk_ has joined #ruby
pragmaticus has quit [Ping timeout: 265 seconds]
sp_ has joined #ruby
pawnbox has quit [Ping timeout: 256 seconds]
dhk has quit [Ping timeout: 244 seconds]
ur5us has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
jackjackdripper has joined #ruby
nikivi has joined #ruby
sp_ has quit [Ping timeout: 265 seconds]
moneylotion has joined #ruby
nikivi has quit [Client Quit]
rodfersou|dinner has quit [Quit: leaving]
elenatanasoiu has joined #ruby
marr has quit [Ping timeout: 265 seconds]
jzigmund has quit [Ping timeout: 244 seconds]
<kaspergrubbe> oops
elenatanasoiu has quit [Ping timeout: 264 seconds]