<gizmore>
you get that No ports are being checked error?
alfiemax has joined #ruby
jenrzzz has quit [Ping timeout: 248 seconds]
jnollette has quit [Ping timeout: 255 seconds]
bmurt has joined #ruby
alfiemax has quit [Ping timeout: 264 seconds]
jnollette has joined #ruby
MikasiCoyote has quit [Read error: Connection reset by peer]
jyaworski has joined #ruby
x77686d has joined #ruby
jyaworski has quit [Ping timeout: 240 seconds]
muffiny has joined #ruby
nitric_ has quit [Ping timeout: 264 seconds]
RougeR has quit [Ping timeout: 248 seconds]
Yzguy has quit [Quit: Zzz...]
ta_ has joined #ruby
eckhardt_ has joined #ruby
random_auroras has joined #ruby
<random_auroras>
In Gemfiles, what does %r!^(stuff1|stuff2)!i do? I presume it's a regex, but can other important details are there? (Is ^ part of Ruby syntax or is it the regex start-of-line?
<random_auroras>
For some reason, I'm having trouble getting jekyll 'index.html' to be included from a gem plugin.
<random_auroras>
Theme, that is.
<havenwood>
I guess %r{} is popular.
sarmiena_ has quit [Quit: sarmiena_]
sarmiena_ has joined #ruby
sarmiena_ has quit [Client Quit]
jaequery has joined #ruby
cyberg has quit [Quit: Leaving]
gix- has quit [Ping timeout: 260 seconds]
<random_auroras>
-_- I think I've been struggling with something Jekyll doesn't do by design.
x77686d has quit [Quit: x77686d]
gix has joined #ruby
gix has quit [Client Quit]
gix has joined #ruby
dinfuehr_ has quit [Ping timeout: 264 seconds]
arescorpio has joined #ruby
mroutis has quit [Ping timeout: 264 seconds]
dinfuehr has joined #ruby
chocoelho has quit [Quit: Konversation terminated!]
jyaworski has joined #ruby
marxarelli|afk has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<random_auroras>
Well, thanks people.
jyaworski has quit [Ping timeout: 248 seconds]
kurko_ has joined #ruby
jyaworski has joined #ruby
rwb has quit [Ping timeout: 268 seconds]
white_lilies has quit [Ping timeout: 260 seconds]
ramfjord has quit [Ping timeout: 260 seconds]
Yzguy has joined #ruby
random_auroras has left #ruby ["WeeChat 1.6"]
rivalomega has quit []
Yzguy has quit [Client Quit]
kapil___ has joined #ruby
Yzguy has joined #ruby
alfiemax has joined #ruby
alfiemax has quit [Ping timeout: 240 seconds]
jyaworski has quit [Ping timeout: 248 seconds]
jyaworski has joined #ruby
x77686d has joined #ruby
white_lilies has joined #ruby
jyaworski has quit [Ping timeout: 260 seconds]
jready has joined #ruby
jready has quit [Remote host closed the connection]
jready has joined #ruby
gnufied has quit [Quit: Leaving]
lystra_ has quit [Read error: Connection reset by peer]
x77686d has quit [Quit: x77686d]
lystra_ has joined #ruby
alfiemax has joined #ruby
Dimik has quit [Ping timeout: 240 seconds]
jready has quit [Ping timeout: 255 seconds]
alfiemax_ has joined #ruby
<Vashy>
hi all, I'm trying to capture the output of airmon-ng, I tried something like: IO.popen(`airmon-ng wlan0`) but that doesn't work (or at least not as I expected)
<Vashy>
basically the output of airmon-ng is constantly changing
<Vashy>
sorry airodump-ng is what I'm trying to get the output for
<Vashy>
does anyone know how to capture that kind of output?
alfiemax has quit [Ping timeout: 260 seconds]
jready has joined #ruby
muffiny has quit [Quit: Connection closed for inactivity]
jready has quit [Remote host closed the connection]
ResidentBiscuit has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AJA4350 has quit [Quit: AJA4350]
alfiemax_ has quit [Remote host closed the connection]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
x77686d has joined #ruby
x77686d has quit [Client Quit]
ta_ has joined #ruby
alfiemax has joined #ruby
<garyserj>
I can't figure out how to get my ruby program to see a file uploaded from a form. I am using sinatra. I have a form with action and method and <input type="file" /> and <input type="submit" /> And when I click submit it goes to that route in sinatra, I wrote "posted#{params}" so I could view the params thinking maybe the file might be there but it isn't. I can't see where the file is sent
<garyserj>
or how to access it. I tried adding enctype="multipart/form-data" as an attribute to the opening form tag, but it didn't help.
kurko_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ResidentBiscuit has quit [Remote host closed the connection]
jready has joined #ruby
ta_ has quit [Ping timeout: 268 seconds]
orbyt_ has joined #ruby
jyaworski has joined #ruby
jeffreylevesque has quit [Read error: Connection reset by peer]
tomphp has joined #ruby
Matthew1 has joined #ruby
jyaworski has quit [Ping timeout: 256 seconds]
rikai has quit [Ping timeout: 265 seconds]
rikai has joined #ruby
tomphp has quit [Ping timeout: 240 seconds]
white_lilies has quit [Ping timeout: 240 seconds]
jyaworski has joined #ruby
gix- has joined #ruby
gix has quit [Disconnected by services]
marxarelli has joined #ruby
vasilakisfil has quit [Ping timeout: 260 seconds]
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
<garyserj>
weaksauce: i get an error from that code, but my params is blank as mentioned so that is probably why i get an error. the q is why is my params blank
jyaworski has quit [Ping timeout: 264 seconds]
chouhoulis has quit [Ping timeout: 256 seconds]
mrBen2k2k2k has quit [Read error: Connection reset by peer]
jyaworski has joined #ruby
Psybur has quit [Ping timeout: 240 seconds]
devyn has quit [Ping timeout: 256 seconds]
vasilakisfil has joined #ruby
devyn has joined #ruby
jyaworski has quit [Ping timeout: 248 seconds]
jready has quit []
sarmiena_ has joined #ruby
ta_ has joined #ruby
jyaworski has joined #ruby
nadir has joined #ruby
jyaworski has quit [Ping timeout: 256 seconds]
vasilakisfil has quit [Ping timeout: 248 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
biberu has joined #ruby
n008f4g_ has joined #ruby
ur5us has quit [Remote host closed the connection]
sarmiena_ has quit [Quit: sarmiena_]
x77686d has joined #ruby
Matthew1 has quit [Remote host closed the connection]
dr3w_ has quit [Read error: Connection reset by peer]
jyaworski has quit [Ping timeout: 240 seconds]
dr3w_ has joined #ruby
ldepandis has joined #ruby
ryzokuken has joined #ruby
amar has joined #ruby
marxarelli has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jyaworski has joined #ruby
amar has quit [Ping timeout: 248 seconds]
ta_ has quit [Remote host closed the connection]
gregoryja has quit [Read error: Connection reset by peer]
Yzguy has quit [Quit: Zzz...]
amelliaa has joined #ruby
jyaworski has quit [Ping timeout: 240 seconds]
Guest88543 has quit [Ping timeout: 268 seconds]
baweaver is now known as baweaver_away
amelliaa has quit [Quit: -]
phaul has joined #ruby
amar has joined #ruby
troys has quit [Quit: Bye]
marxarelli has joined #ruby
twe4ked has quit [Ping timeout: 276 seconds]
ta_ has joined #ruby
twe4ked has joined #ruby
alex`` has quit [Read error: Connection reset by peer]
<garyserj>
I know in sinatra i can do e.g. haml :blahpage but what if I want to do a symbol with a variable name .. I can't get these to work haml :#{filename} or haml(:#{filename})
<apeiros>
don't overcomplicate symbols. they are values, just like strings or integers. they have no special relation with variables.
<garyserj>
in my code I don't know the name of the file
<garyserj>
the name of the file is a string stored in filename
tomphp has joined #ruby
<phaul>
&ri String#to_sym
<apeiros>
derpy is off :(
<apeiros>
adaedra seems to be off too
<phaul>
oh, :(
<garyserj>
i find some results on google that relate to to_sym that i will try, thanks
tomphp has quit [Client Quit]
<apeiros>
garyserj: just use the `ri` command in your shell or ruby-doc.org
<apeiros>
google is a *terrible* replacement for language docs.
suukim has joined #ruby
dionysus69 has joined #ruby
jyaworski has joined #ruby
jyaworski has quit [Ping timeout: 260 seconds]
ta_ has quit [Remote host closed the connection]
ta_ has joined #ruby
marius has quit [Quit: baj]
marius has joined #ruby
blackmesa has joined #ruby
conta has joined #ruby
marius has quit [Quit: baj]
marius has joined #ruby
dionysus69 has quit [Read error: Connection reset by peer]
dionysus69 has joined #ruby
ta_ has quit [Remote host closed the connection]
amar has quit [Remote host closed the connection]
amar has joined #ruby
ujjain has joined #ruby
amar has quit [Ping timeout: 260 seconds]
marxarelli has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tomphp has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
clemens3_ has joined #ruby
jyaworski has joined #ruby
gustavn64 has joined #ruby
<gustavn64>
I haven't used Ruby for a very long time now. What's the canonical way to install it? I'm using Windows 10 so I can use "Ubuntu on Windows"
<gustavn64>
Is there any good guide about this kind of stuff? Kind of like that guide for Python (I forgot its name)
ryzokuken has quit [Remote host closed the connection]
ta_ has joined #ruby
<jokester>
if you are familiar with linux, WSL (linux on windows stuff) may be the faster way to go
<gustavn64>
jokester: Yeah, I have that installed.
jyaworski has quit [Ping timeout: 268 seconds]
Matthew1 has joined #ruby
<livcd>
gustavn64: rvm? docker?
<gustavn64>
livcd: Alright, I'll use RVM. Is it recommended to install that through APT?
<gustavn64>
or, I don't even know if it's there
<livcd>
I would decide first what's the use case
amar has joined #ruby
amar has quit [Ping timeout: 248 seconds]
amar has joined #ruby
amar has quit [Remote host closed the connection]
amar has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dhollin3 has joined #ruby
dhollinger has quit [Ping timeout: 260 seconds]
ByronJohnson has quit [Ping timeout: 264 seconds]
ByronJohnson has joined #ruby
amar has quit [Ping timeout: 248 seconds]
darix has quit [Remote host closed the connection]
Mike11 has joined #ruby
tomphp has joined #ruby
saTchymoto has joined #ruby
<saTchymoto>
test
minimalism has quit [Quit: minimalism]
venmx has joined #ruby
<Radar>
did someone say something?
ur5us has joined #ruby
deathwishdave has joined #ruby
jyaworski has joined #ruby
x77686d has quit [Quit: x77686d]
ipe has joined #ruby
alex`` has joined #ruby
jyaworski has quit [Ping timeout: 240 seconds]
schneider- has joined #ruby
weaksauce has quit [Ping timeout: 256 seconds]
ur5us has quit [Read error: Connection reset by peer]
karapetyan has joined #ruby
ellcs has joined #ruby
karapetyan has quit [Read error: Connection reset by peer]
kapil___ has quit [Quit: Connection closed for inactivity]
dr3w_ has quit [Read error: Connection reset by peer]
leitz has joined #ruby
x77686d has joined #ruby
schneider- has joined #ruby
dr3w_ has joined #ruby
jyaworski has quit [Ping timeout: 260 seconds]
<Matthew1>
lol
karapetyan has joined #ruby
schneider- has quit [Ping timeout: 248 seconds]
x77686d has quit [Quit: x77686d]
ellcs has quit [Ping timeout: 240 seconds]
tvw has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Matthew1 has quit [Remote host closed the connection]
gustavn64 has quit [Read error: Connection reset by peer]
AJA4350 has joined #ruby
darix has joined #ruby
<leitz>
Newb question. If "my_method" takes a file and returns a line from the file, should the exception handling be in the method or in whatever calls it? Method will get called several times in varieous ways.
GodFather_ has quit [Read error: Connection reset by peer]
GodFather_ has joined #ruby
<apeiros>
leitz: if your exception handling is in the method, what will the method do about the exception?
nickjj has joined #ruby
<leitz>
apeiros, my_method woudl return nil, and let the caller deal with it. That's the theory, anyway.
<leitz>
When I did it before the method was failing but I had covered the exception so well I missed the failure.
<apeiros>
so the method doesn't really deal with it anyway - but that's the point of exception handling: dealing with it.
workmad3 has quit [Quit: Lost terminal]
<apeiros>
in other words: if you can't actually do anything about an exception, then don't handle it. let it propagate up to a point where you *can* do something meaningful about it.
tomphp has joined #ruby
<leitz>
Ah. So the caller has to decide to put in a different value, raise the exception higher, or whatever?
<apeiros>
caller obeys the same rule - if it can't do any meaningful thing about an exception, it shouldn't even rescue and just let it propagate.
<apeiros>
so the thing you as a programmer have to think about is: where can you do something meaningful about which exception? and then place the exception handling there.
<leitz>
I'm bouncing between reading "Refactoring (Ruby edition)" and "Growing opbject oriented software guided by tests".
<apeiros>
yeah, from a glance I'd say I'd check on program startup whether all expected files exist and are readable and abort there with a user-friendly message
<apeiros>
and in get_random_line_from_file I'd just crash hard
<leitz>
While my code may be Apprentice level I'd like it to be well documented, clean, and tested Apprentice level. :)
RougeR has joined #ruby
RougeR has joined #ruby
kapil___ has joined #ruby
<leitz>
Not sure "all exepected files" is the right path as there are several files that don't get called, depending on the options chosen.
<leitz>
This is the character generation thing I've been working on for a while.
<apeiros>
leitz: does that matter? i.e., even if a file is not used in one invocation, is it reasonable to have an installation of your program where one of the files is missing?
ur5us has quit [Ping timeout: 264 seconds]
<apeiros>
yes, I'm aware. travelers iirc
howdoi has quit [Quit: Connection closed for inactivity]
<leitz>
Traveller, yup.
* leitz
is thinking about "does it matter"...
<apeiros>
I'm not talking about reading all files. just ensuring they're there and readable. i.e. `all_files = ["array", "with", "all", "paths"]; all_files.all? { |path| File.readable?(path) }`
<leitz>
Understood. Your question hits on another big issue that I need to learn; "program building". The code I have has grown bit by bit and pretty much only works on my machine.
<leitz>
I understand the idea of Modules as mixins but I'm not really understanding Modules as transportable code.
jinie has joined #ruby
<leitz>
Building a gem by reading a line from a book is one thing, setting up your gem to work in a totally clean environment is another.
<leitz>
Setting up the gem to make sense to a real programmer is something else, too.
<apeiros>
the "mixin" aspect is the "transportable" (IMO rather "reusable") code part…
<apeiros>
i.e. you can mix it into multiple classes and all use the same methods.
<apeiros>
Enumerable being a prominent example of reusing code
saTchymoto has quit [Ping timeout: 276 seconds]
saTchymoto has joined #ruby
dr3w_ has joined #ruby
conta has quit [Ping timeout: 248 seconds]
Puffball has quit [Remote host closed the connection]
silviu has joined #ruby
<leitz>
Ah, various dogs and cats fed. Back to Ruby....
<leitz>
I've seen Modules and Classes in Modules, which confused me.
<apeiros>
are files and folders in folders confusing too?
<leitz>
I've also seen the lib directory of a gem just hold a reference to other files elsewhere.
<apeiros>
(or directories, if you prefer that term)
<leitz>
I don't understand the levels of indirection and encapsulation. Module as mixin, but multimple levels of "mixin", to include classes?
<leitz>
Or is there a different use for Module?
<apeiros>
you're confusing unrelated things
<apeiros>
you can mix in a module.
<leitz>
Not surprised.
<apeiros>
you can use a module to namespace things.
<apeiros>
the two things are not related.
<leitz>
Ah, that makes sense.
<apeiros>
(or barely related)
<apeiros>
namespace things -> nest modules/classes within modules/classes. works almost exactly the same as nesting files/directories in directories. it's mostly organizational.
<apeiros>
::Foo and ::Bar::Foo are two different constants. e.g. you could have YourProject::Array which is not the same as Array.
<leitz>
Seeing a second use of Module as "Namespace" explains it. I understand the concept but most of my coding has been pretty small stuff so far.
silviu has quit [Remote host closed the connection]
<darix>
leitz: too much documentation. you should remove some.
<leitz>
Hey darix.
<leitz>
Too late! I'm now at an overwhelming 6.50%!
conta has joined #ruby
FunkyChunky has quit [Quit: Leaving]
conta has quit [Ping timeout: 240 seconds]
schneider- has quit [Ping timeout: 240 seconds]
conta has joined #ruby
blackmesa has quit [Quit: WeeChat 2.1]
rfoust has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alt155 has quit [Ping timeout: 240 seconds]
karapetyan has quit [Ping timeout: 256 seconds]
karapetyan has joined #ruby
ogres has joined #ruby
karapetyan has quit [Remote host closed the connection]
jcalla has joined #ruby
bmurt has joined #ruby
bmurt has quit [Client Quit]
<dcvetkovic>
hi guys, I have searched the Ruby docs and Googled the matter as well... I am looking for a loop construct that would something along the lines of do...while... but which would have that one more extra iteration
clemens3 has joined #ruby
clemens3_ has quit [Ping timeout: 260 seconds]
DTZUZO has quit [Ping timeout: 240 seconds]
c0ncealed1 has quit [Remote host closed the connection]
<havenwood>
dcvetkovic: Technically you can begin/while, but it seems hard to read to me so I'd loop/break.
<havenwood>
>> n = 0; begin; n += 1; puts n; end while n < 4 # dcvetkovic
<dcvetkovic>
havenwood: yeah, I kinda did similiar, but I dislike the < :) I'd rather have = so its clear to humans
<havenwood>
dcvetkovic: Assignment instead of less-than?
<apeiros>
dcvetkovic: what problem are you trying to solve with that loop?
bmurt has joined #ruby
<apeiros>
asking since ruby often has proper methods to do stuff
<dcvetkovic>
havenwood, I meant ==... actually I used .zero?
unshadow has joined #ruby
<dcvetkovic>
apeiros, simply obtain a start date, end date, and iterate through them. I calculate the difference between in days, and loop through number of days decrementing with each loop. Issue is I want both the end and start date to be processed. If I use .zero? it stops short of end date (or start date, depending how you iterate)
<leitz>
Any good examples of excluding direcotries in ".rdoc_exclude"? What I'm finding isn't helping.
<apeiros>
dcvetkovic: (start_date..end_date).each do |date| process(date)
<leitz>
Ah...that might work...
kurko_ has joined #ruby
<apeiros>
dcvetkovic: requires start_ and end_date to be instances of Date, not Time
<dcvetkovic>
apeiros, wow, thats deadly :)
<havenwood>
and a good example of Ruby having a proper method to do stuff!
<apeiros>
actually… I prefer start_date.upto(end_date) do |date| …
DTZUZO has joined #ruby
<apeiros>
end_date.downto(start_date) do |date| works too
<apeiros>
if you want the reverse order
<havenwood>
apeiros: I like that too. I always thought it was odd that Ranges can't decrement.
<apeiros>
yeah, (bigger..lower).each and (lower..bigger).reverse_each would both be nice.
<havenwood>
An aside, but endless Range in Ruby 2.6!: Date.today..
<leitz>
Some places use Ruby in other places besides their Rails "department".
<zod_>
I made a terminal application when I studied for my qualifications. But now that I'm seeking employment, all the jobs are only rails... so far
dr3w_ has joined #ruby
<leitz>
Absent Rails I think Ruby has a negative % market shere. There are some jobs, just not a lot.
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<apeiros>
I'd say after rails/webdev, the biggest ruby job market is in devops, i.e. chef, puppet etc.
<havenwood>
zod_: Are you looking remotely or in a particular location or willing to relocate?
tomphp has joined #ruby
tomphp has quit [Client Quit]
<leitz>
My theory, and I wouldn't put a lot of stock in this, is that I code more in Ruby. Coding is what makes me a better coder, and I work on general coding skills (tests, documents, refactoring). So I'm using Ruby to become a better programmer first, and occasionally look for a job in it.
<havenwood>
zod_: It seems a lot of companies here in San Francisco have a bunch of internal tooling in Ruby.
tomphp has joined #ruby
rfoust has joined #ruby
jaequery has joined #ruby
tomphp has quit [Client Quit]
<havenwood>
Square included!
<leitz>
zod_, you'll soon discover havenwood is one of the people to listen to. :)
<leitz>
Listen to apeiros too, but I think he's in Europe. So it depends on where you are.
tomphp has joined #ruby
tomphp has quit [Client Quit]
tomphp has joined #ruby
akahn has joined #ruby
tomphp has quit [Client Quit]
tomphp has joined #ruby
tomphp has quit [Client Quit]
tomphp has joined #ruby
tomphp has quit [Client Quit]
<zod_>
Yes I'm in Berlin. I can't relocate though. I would love to work remotely, but I think I need more experience before that would be realistic.
<zod_>
The thing is, if my options are so limited, I'm wondering whether to invest more time learning another language, because even though I love ruby, ...I need a job!
<leitz>
Hehe...jobs are nice to have.
<zod_>
I wouldn't give up on ruby. But there are only so many hours in the day and I'm deciding how to invest my time
schneider- has joined #ruby
<leitz>
I don't know the market or culture of Berlin, so can't give you specific advice. What I will say is my usual; figure out what area of programming you prefer (OS, systems, web, database, whatever), and try the languages best for that domain.
<apeiros>
zod_: I took a rails job because it allows me to use ruby. I found it an acceptable "price" to pay.
<leitz>
Learn the one that encourages you to code more.
akahn has left #ruby [#ruby]
<leitz>
The more you code the better you'll be and the better you will be able to find "the" job. Doing a language you love makes the improvement cycle faster.
<zod_>
thanks guys for the advice ;)
stairmast0r has quit [Quit: bye]
jrafanie has joined #ruby
stairmast0r has joined #ruby
jsrn_ has quit [Ping timeout: 260 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
unshadow has quit [Quit: leaving]
Pisuke has quit [Ping timeout: 248 seconds]
coderphive has joined #ruby
nowhere_man has quit [Remote host closed the connection]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pilne has quit [Quit: Leaving]
nowhere_man has joined #ruby
ta_ has quit [Remote host closed the connection]
chouhoulis has joined #ruby
dionysus69 has quit [Ping timeout: 264 seconds]
amar has joined #ruby
amar has quit [Remote host closed the connection]
govg has quit [Ping timeout: 264 seconds]
guille-moe has joined #ruby
n0m4d1c has quit [Remote host closed the connection]
<leitz>
haylon, I just read the first few chapters of "Effective Testing with RSpec3", It uses a simple web app (sinatra, sequel, json) to show the concepts.
govg has joined #ruby
guille-moe has quit [Ping timeout: 248 seconds]
govg has quit [Ping timeout: 248 seconds]
<haylon>
Ahh, nice Thank you leitz
<haylon>
I might pull the trigger and buy it
amar has joined #ruby
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
cyberg has joined #ruby
n008f4g_ has quit [Ping timeout: 264 seconds]
alfiemax has joined #ruby
amar has quit [Ping timeout: 264 seconds]
saTchymoto has quit []
n008f4g_ has joined #ruby
saTchymoto has joined #ruby
saTchymoto has quit [Client Quit]
cschneid_ has joined #ruby
alt155 has joined #ruby
chocoelho has joined #ruby
n008f4g_ has quit [Ping timeout: 276 seconds]
ghoti has quit [Ping timeout: 264 seconds]
govg has joined #ruby
szulak has quit [Remote host closed the connection]
tomphp has joined #ruby
mattp__ has joined #ruby
tomphp has quit [Client Quit]
Asher has quit [Ping timeout: 255 seconds]
mattp_ has quit [Ping timeout: 268 seconds]
samort7 has joined #ruby
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tomphp has joined #ruby
synthroid has quit [Remote host closed the connection]
ciscam has quit [Ping timeout: 240 seconds]
ipe has quit [Ping timeout: 260 seconds]
ciscam has joined #ruby
ipe has joined #ruby
Phage has quit [Ping timeout: 265 seconds]
balo has quit [Ping timeout: 240 seconds]
drale2k_ has joined #ruby
synthroid has joined #ruby
badeball has quit [Remote host closed the connection]
suukim has quit [Quit: Konversation terminated!]
Mon_Ouie has quit [Ping timeout: 248 seconds]
Mon_Ouie has joined #ruby
Kilobyte22 has quit [Quit: ZNC - 1.6.0 - http://znc.in]
ruby[bot] has quit [Ping timeout: 256 seconds]
Kilo`byte has joined #ruby
ruby[bot] has joined #ruby
balo has joined #ruby
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drale2k_ has joined #ruby
ta_ has joined #ruby
badeball has joined #ruby
Phage has joined #ruby
Phage has joined #ruby
Phage has quit [Changing host]
jottr has joined #ruby
ta_ has quit [Remote host closed the connection]
ta_ has joined #ruby
Asher has joined #ruby
karapetyan has joined #ruby
chocoelho has quit [Quit: Konversation terminated!]
ryzokuken has quit [Remote host closed the connection]
<mli>
i literally have this > phx-dash01.hq.phxlabs.net:80 and still spits out that error
n13z has joined #ruby
lucas has quit [Ping timeout: 256 seconds]
greveritt has joined #ruby
nadir has joined #ruby
<havenwood>
mli: Wouldn't it not be empty if you have it one port?
<havenwood>
*gave it
greveritt has quit [Client Quit]
<havenwood>
mli: It seems you have one port, and you're doing the error unless you have no ports.
greveritt has joined #ruby
<mli>
well i havent shown you yet what it looks like when i have the ports in there
<mli>
just a moment
<havenwood>
Oh, I read that backwards. Error if zero ports.
<greveritt>
Hi everyone. If I specify :TLSv1 when creating an SSLContext, does that force the use of TLS 1.0? I have to integrate with a very old third-party service using Faraday.
hlmjr has quit [Remote host closed the connection]
psychicist__ has joined #ruby
Morrolan has quit [Quit: Goodbye]
donofrio has joined #ruby
conta has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 260 seconds]
bmurt has joined #ruby
jyaworski has quit [Ping timeout: 265 seconds]
chouhoulis has quit []
jordanm has quit [Ping timeout: 255 seconds]
chouhoulis has joined #ruby
weaksauce has joined #ruby
SeepingN has joined #ruby
alfiemax has joined #ruby
jottr has joined #ruby
n13z has quit [Ping timeout: 268 seconds]
jottr has quit [Client Quit]
sauvin has quit [Remote host closed the connection]
alfiemax has quit [Ping timeout: 240 seconds]
n13z has joined #ruby
alfiemax has joined #ruby
jottr has joined #ruby
nnm- has joined #ruby
x77686d has joined #ruby
GodFather_ has quit [Quit: Ex-Chat]
GodFather_ has joined #ruby
jottr has quit [Client Quit]
Morrolan has joined #ruby
nnm has quit [Ping timeout: 268 seconds]
alfiemax has quit [Ping timeout: 248 seconds]
eblip is now known as eb0t
ogres has quit [Quit: Connection closed for inactivity]
cthulchu has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
elcontrastador has joined #ruby
r3m has joined #ruby
Psybur has quit [Quit: Leaving]
jaequery has joined #ruby
jottr has joined #ruby
karapetyan has quit [Remote host closed the connection]
cthulchu_ has joined #ruby
szulak has quit [Ping timeout: 255 seconds]
venmx has quit [Remote host closed the connection]
cthu| has joined #ruby
cthulchu has quit [Ping timeout: 260 seconds]
dr3w_ has joined #ruby
rfoust has quit [Ping timeout: 265 seconds]
cthulchu_ has quit [Ping timeout: 248 seconds]
drale2k_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Mike11 has joined #ruby
havenwood has quit [Remote host closed the connection]
warrshrike has joined #ruby
<warrshrike>
hey
<warrshrike>
how to efficiently rotate a singly linked list by k places in ruby
ldepandis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<warrshrike>
most solutions i see are either swapping the values (as opposed to actual nodes) or just making a circle, taking new head, and breaking the circle.
marxarelli has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kenichi has joined #ruby
Rapture has joined #ruby
havenwood has joined #ruby
havenwood has quit [Changing host]
havenwood has joined #ruby
jsrn has joined #ruby
jordanm has joined #ruby
<cagomez>
what's the difference between hash['foo'] and hash["foo"]?
<warrshrike>
nothing
<cagomez>
I get nil in the former, but can fetch the attribute in the latter
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<z64>
'foo' and "foo" are string literals with the same exact value
synthroid has quit [Remote host closed the connection]