kaleido

Activity Graph

Page 1 of 2 | Next »

2018-11-16

[09:57:19] kaleido: Remote host closed the connection

2018-11-14

[09:57:11] kaleido: Read error: Connection reset by peer
[15:05:04] kaleido: has joined #ruby
[20:48:54] kaleido: Quit: true story
[20:56:16] kaleido: has joined #ruby
[21:37:52] kaleido: Quit: true story
[21:46:33] kaleido: has joined #ruby

2018-11-12

[14:57:38] kaleido: has joined #ruby
[21:57:05] kaleido: Read error: Connection reset by peer
[22:00:42] kaleido: has joined #ruby

2018-11-11

[18:35:56] kaleido: Quit: My MacBook has gone to sleep. ZZZzzz…
[18:45:11] kaleido: has joined #ruby
[19:47:29] kaleido: Quit: My MacBook has gone to sleep. ZZZzzz…
[21:14:54] kaleido: has joined #ruby
[21:57:10] kaleido: Remote host closed the connection

2018-11-10

[09:57:06] kaleido: Remote host closed the connection
[16:14:00] kaleido: has joined #ruby
[16:32:48] kaleido: Quit: true story
[16:58:36] kaleido: has joined #ruby

2018-11-08

[09:57:08] kaleido: Remote host closed the connection
[14:53:50] kaleido: has joined #ruby

2018-11-07

[22:00:46] kaleido: Ping timeout: 250 seconds
[22:05:59] kaleido: has joined #ruby

2018-11-06

[20:16:44] kaleido: what's the current favorite web micro framework? and sorry if this is off topic.
[20:17:48] kaleido: havenwood thanks, i'll take a look.

2018-11-04

[10:00:57] kaleido: Ping timeout: 252 seconds
[15:36:05] kaleido: has joined #ruby

2018-11-03

[01:31:26] kaleido: has joined #ruby
[14:11:53] kaleido: Quit: true story
[15:08:25] kaleido: has joined #ruby
[15:45:40] kaleido: Read error: Connection reset by peer
[18:28:39] kaleido: has joined #ruby
[18:50:59] kaleido: given a random string "niLF2" how can i separate every character and change lower to upper and upper to lower and combine back to a string?
[18:53:19] kaleido: wow, that's too easy. :( thanks!

2018-11-02

[06:30:25] kaleido: Read error: Connection reset by peer
[14:31:45] kaleido: has joined #ruby
[20:29:29] kaleido: what are you trying to do? send postgres queries to a server hiding behind an ssh tunnel?
[20:29:44] kaleido: sorry, i'm not a pro by any stretch so i can't determine just from reading your paste.
[21:57:01] kaleido: Read error: Connection reset by peer

2018-11-01

[09:57:09] kaleido: Remote host closed the connection
[14:33:58] kaleido: has joined #ruby

2018-10-31

[14:04:58] kaleido: Quit: true story
[14:25:48] kaleido: has joined #ruby
[20:50:17] kaleido: Quit: My MacBook has gone to sleep. ZZZzzz…
[20:50:57] kaleido: has joined #ruby

2018-10-30

[06:16:52] kaleido: Ping timeout: 264 seconds
[14:32:23] kaleido: has joined #ruby
[16:58:11] kaleido: Quit: My MacBook has gone to sleep. ZZZzzz…
[19:56:38] kaleido: has joined #ruby

2018-10-29

[13:31:39] kaleido: has joined #ruby
[21:57:02] kaleido: Remote host closed the connection
[21:58:03] kaleido: has joined #ruby

2018-08-16

2018-08-15

[21:54:51] kaleido: has joined #ruby

2017-05-22

[19:59:07] kaleido: Quit: Lost terminal

2017-05-17

[22:02:58] kaleido: has joined #ruby
[22:08:12] kaleido: i definitely feel the warmth

2016-07-21

[14:20:02] kaleido: has joined #ruby
[16:21:39] kaleido: has left #ruby: ()

2016-07-18

[13:10:36] kaleido: has left #ruby: ()

2016-07-15

[13:56:18] kaleido: regex is expensive anyways, isnt it?
[13:58:55] kaleido: interesting. its still painful to look at :)
[15:28:30] kaleido: req.content_type = 'application/json'
[15:28:34] kaleido: something like that?
[15:29:38] kaleido: or maybe req['Cookie'] = "long random string"
[18:49:42] kaleido: >> a = b ; b = a ; p a + b
[18:59:10] kaleido: pry makes me smile inside

2016-07-04

[18:16:41] kaleido: has joined #ruby

2016-06-08

[14:35:28] kaleido: has left #ruby: ()

2016-06-02

[17:10:46] kaleido: very carefully?

2016-05-30

[14:03:18] kaleido: has joined #ruby
[14:03:18] kaleido: Changing host

2016-05-23

[23:08:01] kaleido: ive noticed it usually done the latter

2016-05-20

[06:28:31] kaleido: Ping timeout: 276 seconds
[06:29:40] kaleido: has joined #ruby

2016-05-17

[00:06:24] kaleido: rubybot bein rude this evening
[20:48:11] kaleido: Remote host closed the connection
[20:57:12] kaleido: has joined #ruby

2016-05-15

[14:49:32] kaleido: a symbol is always the same in any context, correct?
[20:58:32] kaleido: sinatra is based on rack. cant you look at req.referer?
[20:59:40] kaleido: request.env['REMOTE_ADDR'] also might do the trick
[21:02:04] kaleido: id be stumped to i spose. i would have thought request.referer would have done it :/
[21:13:20] kaleido: rack makes it so easy
[21:13:36] kaleido: well, easier
[21:13:48] kaleido: i still fight with the same kinds of things

2016-05-10

[22:25:46] kaleido: graft: im sorta dumb but im guessing because hashes are superior to arrays in all ways :P

2016-05-06

[17:06:40] kaleido: Quit: leaving
[17:09:58] kaleido: has joined #ruby

2016-05-05

[14:49:15] kaleido: server_ip.each { |k, v| code = Hash["name" => "#{k}", "address" => "#{v}"] }
[14:49:25] kaleido: is it valid to append .to_json after the last }
[14:55:48] kaleido: so do i want
[14:55:50] kaleido: nodes = server_ip.each { |k, v| code = Hash["name" => "#{k}", "address" => "#{v}"] }.to_json
[14:55:56] kaleido: nodes = server_ip.each { |k, v| code = Hash["name" => "#{k}", "address" => "#{v}"] }
[14:55:59] kaleido: nodes.to_json
[14:56:07] kaleido: or am i still way off?
[14:59:36] kaleido: so code will only hold one name/address pairs? i need to end up with a hash that holds everything coming from the original hash
[15:02:06] kaleido: im working with Hash#each, does that make a difference?
[15:04:53] kaleido: smathy: indeed. gotta love irb :) thanks.
[15:06:24] kaleido: hmm, how to do this

2016-05-04

[17:58:06] kaleido: has joined #ruby
[18:00:24] kaleido: x = 5 and i want to create server 1 - server5 based on whatever value x has
[18:00:36] kaleido: im a noob but im also drawing a blank but it seems like it should be very simple
[18:04:51] kaleido: staring at sublime text with a blank expression on my face, honestly. im trying to do this while on a series of conf calls
[18:06:19] kaleido: no, i promise im not cheating. i dont even do this for more than a hobby
[18:08:06] kaleido: im trying to write a very basic webpage that will generate tmsh commands for an f5
[18:08:42] kaleido: could i (1..x).each do |yay|
[18:14:53] kaleido: servers = [] ; servers.push("server" + yay) ?
[18:16:13] kaleido: servers = [] ; servers.push("server" + yay.to_s) ?
[18:16:32] kaleido: or i have to do .to_s before the push?
[18:17:16] kaleido: do i have to create the empty array first or will a push create it?
[18:18:17] kaleido: gotcha, but i need to create it outside of the block, or ill blow it away with every iteration
[18:20:16] kaleido: servers = [] ; x = 5 ; (1..x).each do |yay| { yay.to_s ; server = "server" + yay ; servers.push("server")
[18:20:59] kaleido: ok, got it
[18:21:36] kaleido: right, cause its a variable now
[18:27:54] kaleido: apeiros: maybe https://gist.github.com/ekaleido/5759671945167ca674ae703dc1327425
[18:28:21] kaleido: i changed names but its essentially the same
[18:55:07] kaleido: apeiros: thank you very much again
[20:15:54] kaleido: is there a simple/elegant way to take a value from one array and make it the key, and a value from a second array and make it the value in a hash? the values will have the same index
[20:17:23] kaleido: baweaver: thanks :)
[20:18:50] kaleido: thank you, i will

2016-04-23

[16:03:37] kaleido: has joined #ruby
[20:01:06] kaleido: has left #ruby: ()

2016-04-22

[15:02:15] kaleido: Ping timeout: 246 seconds

2016-04-21

[00:39:26] kaleido: Ping timeout: 252 seconds
[00:40:50] kaleido: has joined #ruby
[01:32:28] kaleido: has joined #ruby
[01:32:28] kaleido: Changing host
[01:41:43] kaleido: hard quaestion to answer when youre so specific, can you be ore vague?
[02:06:22] kaleido: is node even 50% js anymore?
[15:19:59] kaleido: C# and java make baby jesus cry
[15:20:15] kaleido: .NET was used by the nazis in 1939
[17:08:33] kaleido: Remote host closed the connection
[17:26:12] kaleido: has joined #ruby

2016-04-20

[18:13:28] kaleido: has joined #ruby

2016-04-02

[21:13:37] kaleido: has joined #ruby
[21:13:41] kaleido: has left #ruby: ()

2016-03-10

[00:49:05] kaleido: Ping timeout: 248 seconds
[15:59:40] kaleido: has joined #ruby
[15:59:40] kaleido: Changing host
[16:44:14] kaleido: Remote host closed the connection
[17:57:22] kaleido: has joined #ruby
[17:57:42] kaleido: has left #ruby: ()

2016-03-09

[15:23:46] kaleido: Remote host closed the connection
[15:37:32] kaleido: has joined #ruby

2016-03-08

[18:40:26] kaleido: yuung: #rubyonrails
[18:40:31] kaleido: they will have better answers

2016-03-06

[18:00:02] kaleido: ill second that
[18:00:10] kaleido: its very poignant

2016-03-01

[19:09:31] kaleido: openstruct: they want you
[19:10:22] kaleido: you callin him pure magic?

2016-02-29

[20:19:07] kaleido: >> a ="b" ; b = a ; puts a + b
[20:19:17] kaleido: im so good at this
[20:22:02] kaleido: Ox0dea: i am. im a bit more knowledgable than what i had rubybot do, but im definitely a noob

2016-02-28

[19:08:25] kaleido: i find it helps to try to reverse someones ruby as well

2016-02-27

[22:19:20] kaleido: has joined #ruby
[22:19:20] kaleido: Changing host

2016-02-25

[21:05:52] kaleido: Quit: leaving
[21:09:01] kaleido: has joined #ruby
[22:14:00] kaleido: shevy: you know you prefer perl and php
[23:13:24] kaleido: >> nil.type

2016-02-24

[13:10:56] kaleido: has joined #ruby
[16:45:38] kaleido: >> a = "b" ; b = a ; puts a + b
[16:45:52] kaleido: i call shenanigans!

2016-02-23

[20:47:37] kaleido: Ping timeout: 244 seconds

2016-02-22

[15:09:11] kaleido: keep it simple stupid :D
[18:46:29] kaleido: what would a "pop" do?
[18:59:47] kaleido: athix: european or african?

2016-02-21

[23:08:03] kaleido: >> this = ["test"]
[23:08:14] kaleido: now you can call this[0]
[23:08:24] kaleido: suppose i could ask irb
[23:09:00] kaleido: 2.2.4 :003 > this[0] => "test"

2016-02-20

[17:42:30] kaleido: has joined #ruby
[18:29:04] kaleido: unfortunately, its also eugene, oregon
[18:31:09] kaleido: pipework: im just bein facetious, i dont have any particular problem with oregon
[18:31:16] kaleido: little liberal for my liking, but to each his own
[18:36:07] kaleido: day = [day0, day1, day2, day3, day4, day5, day6, day7]
[18:36:11] kaleido: or something similar?
[18:37:23] kaleido: youd have to put each day into ""
[18:37:47] kaleido: >> day = ["day0", "day1", "day2", "day3", "day4", "day5", "day6", "day7"] ; day[1]
[18:47:56] kaleido: dn5: glad my limited knowledge of ruby could help

2016-02-14

[18:10:06] kaleido: ACTION codes

2016-02-13

[18:42:51] kaleido: docker is awesome
[18:45:42] kaleido: if i develop a mutant ability i hope its being able to do whatever i want
[22:46:26] kaleido: Changing host
[22:46:27] kaleido: has joined #ruby

2016-02-06

[22:59:28] kaleido: its the unsolved mystery of programming :(

2016-02-04

[22:33:27] kaleido: for the noobs, define mutable

2016-01-30

[00:43:29] kaleido: Quit: Textual IRC Client: www.textualapp.com
[00:52:24] kaleido: has joined #ruby
[01:04:00] kaleido: *.net *.split
[01:19:24] kaleido: has joined #ruby
[01:55:12] kaleido: because a[2] doesnt exist
[01:56:33] kaleido: mmm, .each
[16:20:48] kaleido: wherever you put it?
[21:43:49] kaleido: xml is the devil :(
[23:10:45] kaleido: Ping timeout: 240 seconds

2016-01-29

[15:13:46] kaleido: has joined #ruby
[15:14:27] kaleido: if i needed to authenticate a website's login against a tacacs server, what would be te best gem? or something built in?
[15:23:23] kaleido: thats what i found as well but its not exactly what i need
[15:23:32] kaleido: thinking of dumbing it down
[17:08:07] kaleido: Quit: Textual IRC Client: www.textualapp.com
[22:32:55] kaleido: has joined #ruby
[22:43:57] kaleido: anyone use bcrypt?
[22:44:08] kaleido: im a noob and struggling with how to check if a password is correct

2016-01-27

[14:05:52] kaleido: Quit: My Mac has gone to sleep. ZZZzzz???
[15:47:04] kaleido: has joined #ruby
[16:06:19] kaleido: nothing really works in english. its a pretty terrible language
[20:53:30] kaleido: Quit: Textual IRC Client: www.textualapp.com

2016-01-26

[14:54:25] kaleido: has joined #ruby

2016-01-25

[15:08:41] kaleido: has joined #ruby
[16:39:48] kaleido: is there a decent tacacs client gem? just needed for authentication.
[21:04:13] kaleido: Quit: Textual IRC Client: www.textualapp.com

2016-01-24

[22:07:04] kaleido: has joined #ruby
[22:07:43] kaleido: ive got a small sinatra app where im submitting values that will eventually be executed via net-ssh gem, but i need to schedule when it is executed
[22:07:54] kaleido: is there a scheduling gem or something built-in im not aware of?
[22:09:09] kaleido: sidekiq by mperham on github?
[22:26:05] kaleido: Ping timeout: 260 seconds

2016-01-04

[15:52:16] kaleido: has joined #ruby
[16:21:18] kaleido: has left #ruby: ("Textual IRC Client: www.textualapp.com")

2015-12-30

[15:23:03] kaleido: has joined #ruby
[22:44:14] kaleido: Quit: Textual IRC Client: www.textualapp.com

2015-12-29

[15:07:46] kaleido: has joined #ruby
[17:19:06] kaleido: Read error: Connection reset by peer
[18:58:03] kaleido: has joined #ruby
[20:54:11] kaleido: zacts, its a web framework
[21:31:37] kaleido: rackup config.ru i think
[21:31:48] kaleido: i prefer cuba but its very similar to roda
[21:41:27] kaleido: isomorphismes, i am not sure
[21:41:54] kaleido: adaedra, theyre similar mostly in how simple they are
[21:41:59] kaleido: not that sinatra is complicated
[21:43:33] kaleido: cuba just assumes the location of your layouts, etc, unless you specify differently
[21:44:00] kaleido: adaedra, the 3 are pretty similar in my opinion. i dont recall why i landed on cuba.
[22:49:54] kaleido: Quit: Textual IRC Client: www.textualapp.com