« Back to channel list

#ruby - 28 July 2016

« Back 1 day Forward 1 day »
[00:06:31] hannelita: has joined #ruby
[00:08:24] Es0teric: has joined #ruby
[00:08:54] RegulationD: has joined #ruby
[00:10:02] Torrone: has joined #ruby
[00:13:11] SilverKey: has joined #ruby
[00:16:03] karapetyan: has joined #ruby
[00:16:16] Torrone: has joined #ruby
[00:18:40] zacts: has joined #ruby
[00:18:53] moei: has joined #ruby
[00:22:22] jenrzzz: has joined #ruby
[00:22:22] jenrzzz: has joined #ruby
[00:23:19] charliesome: has joined #ruby
[00:24:01] cyphase: has joined #ruby
[00:24:20] Torrone: has joined #ruby
[00:25:13] slappy16: has joined #ruby
[00:25:20] Dimik--: has joined #ruby
[00:25:51] maloik: has joined #ruby
[00:26:05] helllojesus12: has joined #ruby
[00:27:15] djdarkbeat: has joined #ruby
[00:29:20] spudowiar: what's the simplest way to log all IO in an IO object? (more specifically, a socket)
[00:36:38] macsteps: has joined #ruby
[00:43:39] Ebok: has joined #ruby
[00:43:56] spudowiar: forget it :)
[00:44:03] spudowiar: I used an IRC Gem instead :)
[00:49:16] adl: has joined #ruby
[00:51:35] diegoviola: has joined #ruby
[00:53:45] whathappens: has joined #ruby
[00:53:58] tlarevo: has joined #ruby
[00:56:22] Azure: has joined #ruby
[01:02:53] TheWhip: has joined #ruby
[01:04:18] A_Drone: has joined #ruby
[01:05:03] tlarevo: has joined #ruby
[01:06:25] Guest48905: has joined #ruby
[01:10:20] RegulationD: has joined #ruby
[01:12:58] skweek: has joined #ruby
[01:14:07] madsa: has joined #ruby
[01:17:40] Guest48905: has joined #ruby
[01:20:22] KCmetro: has joined #ruby
[01:22:40] devoid: has joined #ruby
[01:23:08] cibs: has joined #ruby
[01:24:58] cyphase: has joined #ruby
[01:25:30] blackmesa: has joined #ruby
[01:25:51] A_Drone: has joined #ruby
[01:25:54] bmurt: has joined #ruby
[01:27:25] rickmasta: has joined #ruby
[01:31:06] Sdwrage__: has joined #ruby
[01:31:20] dunpeal: has joined #ruby
[01:31:20] macsteps: has joined #ruby
[01:32:16] Mirubiri: has joined #ruby
[01:38:14] Tempesta: has joined #ruby
[01:46:38] Guest48905: has joined #ruby
[01:49:59] A_Drone: has joined #ruby
[01:50:45] nankyokusei: has joined #ruby
[01:50:51] SilverKey: has joined #ruby
[01:52:01] tubuliferous: has joined #ruby
[01:54:52] whathappens: has joined #ruby
[01:55:30] picg: has joined #ruby
[01:55:37] yoongkang: has joined #ruby
[01:55:38] picg: has left #ruby: ()
[01:55:59] Guest38: has joined #ruby
[01:57:56] A_Drone: has joined #ruby
[01:57:58] yfeldblum: has joined #ruby
[01:59:10] gregf: has joined #ruby
[01:59:10] killerkamel: has joined #ruby
[01:59:29] gregf: has joined #ruby
[02:05:54] tlarevo: has joined #ruby
[02:09:11] JimK12: has joined #ruby
[02:09:48] kobain: has joined #ruby
[02:10:02] JimK12: has left #ruby: ()
[02:14:23] jenrzzz: has joined #ruby
[02:15:15] A_Drone_: has joined #ruby
[02:15:58] mattwashere: has joined #ruby
[02:19:33] A_Drone: has joined #ruby
[02:25:47] JimK12: has joined #ruby
[02:27:53] mattwashere: has joined #ruby
[02:28:35] blackmesa: has joined #ruby
[02:31:30] gix: has joined #ruby
[02:37:20] A5101: has joined #ruby
[02:37:53] JimK12: has left #ruby: ()
[02:38:08] elifoster: has joined #ruby
[02:39:42] iooner: has joined #ruby
[02:39:58] tlarevo: has joined #ruby
[02:40:15] shiver: has joined #ruby
[02:44:56] openstruct: has joined #ruby
[02:46:06] devoid: has joined #ruby
[02:46:55] nanoz: has joined #ruby
[02:48:04] byteflame: has joined #ruby
[02:48:44] gix-: has joined #ruby
[02:49:54] crystal77: has joined #ruby
[02:51:07] A_Drone: has joined #ruby
[02:55:49] whathappens: has joined #ruby
[02:56:52] yoongkang: has joined #ruby
[03:01:47] TheWhip: has joined #ruby
[03:02:15] hannelita: has joined #ruby
[03:06:43] sumobob: has joined #ruby
[03:08:13] madsa: has joined #ruby
[03:08:15] slackbotgz: has joined #ruby
[03:08:24] SilverKey: has joined #ruby
[03:10:03] RegulationD: has joined #ruby
[03:10:27] braincrash: has joined #ruby
[03:12:14] bb010g: has joined #ruby
[03:15:11] koooge: has joined #ruby
[03:20:55] k3rn31: has joined #ruby
[03:24:48] gix: has joined #ruby
[03:25:00] spudowiar: what's a good IRC library for Ruby?
[03:25:06] spudowiar: note, not a bot framework
[03:25:40] dionysus69: has joined #ruby
[03:29:49] astrobun_: has joined #ruby
[03:30:03] Radar: spudowiar: https://github.com/radar/summer Even though the description says it's a bot framework, it's more just the barebones of connecting a programmable client to an IRC server.
[03:30:08] Radar: spudowiar: I use it to run the helpa bot.
[03:30:16] spudowiar: hmm, let me see
[03:31:23] chipotle: has joined #ruby
[03:31:34] blackmesa: has joined #ruby
[03:33:17] dunpeal: has joined #ruby
[03:33:20] spudowiar: hmm, doesn't work for me :/
[03:33:52] pawnbox: has joined #ruby
[03:35:05] astrobun_: has joined #ruby
[03:36:31] Radar: please define "doesn't work"
[03:37:09] spudowiar: not as in is broken, as in the workflow doesn't fit for my project
[03:37:16] spudowiar: haven't tested it
[03:40:14] Radar: Can you explain a bit more about what you want?
[03:40:17] A_Drone: has joined #ruby
[03:40:29] spudowiar: not really, it's a private project ATM
[03:41:00] spudowiar: it's fine, I'm just gonna mess around with cinch for now
[03:41:15] spudowiar: it tries to be too clever but I want to get my PoC working soon
[03:42:18] zacts: has joined #ruby
[03:43:28] tubuliferous: has joined #ruby
[03:45:35] [huypn12]: has joined #ruby
[03:47:00] zacts: has joined #ruby
[03:47:15] spudowiar: Fuck it, I'm using Python :)
[03:47:23] spudowiar: ACTION gets booed off the stage
[03:49:06] Radar: Ok, best of luck spudowiar
[03:49:31] Radar: I mean it. Whatever tool you want to use for the job.
[03:49:33] jishankai: has joined #ruby
[03:51:33] nankyokusei: has joined #ruby
[03:51:43] spudowiar: nope, I'm back to Ruby :P
[03:51:49] spudowiar: This is a rollercoaster :)
[03:52:47] _djbkd: has joined #ruby
[03:53:50] nerium: has joined #ruby
[03:55:49] Coldblackice: has joined #ruby
[03:56:33] whathappens: has joined #ruby
[03:56:38] hannelita: has joined #ruby
[03:57:23] charliesome: has joined #ruby
[03:57:53] yoongkang: has joined #ruby
[03:58:29] howdoi: has joined #ruby
[04:01:48] yokel: has joined #ruby
[04:01:51] genpaku: has joined #ruby
[04:03:26] jaguarmagenta: has joined #ruby
[04:03:49] qguv: has joined #ruby
[04:05:36] TheWhip: has joined #ruby
[04:07:09] pontiki: has joined #ruby
[04:09:25] pawnbox: has joined #ruby
[04:10:02] tmtwd: has joined #ruby
[04:11:21] Silthias1: has joined #ruby
[04:12:41] last_staff: has joined #ruby
[04:17:36] openstruct: has joined #ruby
[04:18:16] zotherstupidguy: has joined #ruby
[04:19:45] qguv: has joined #ruby
[04:21:49] dionysus69: has joined #ruby
[04:25:28] ghr: has joined #ruby
[04:26:22] tubuliferous: has joined #ruby
[04:28:07] chouhoulis: has joined #ruby
[04:28:59] TheWhip: has joined #ruby
[04:31:38] dminuoso: has joined #ruby
[04:32:47] jishankai: has joined #ruby
[04:34:34] blackmesa: has joined #ruby
[04:38:21] k3rn31: has joined #ruby
[04:39:21] spudowiar: how do I wait for a value in one thread and pass it over in the other?
[04:41:02] matled-: has joined #ruby
[04:43:22] mark[oz]: has joined #ruby
[04:45:07] spudowiar: got it, Thread#Queue :)
[04:48:17] dminuoso: has joined #ruby
[04:49:13] jaguarma_: has joined #ruby
[04:50:00] craysiii: has joined #ruby
[04:50:33] hannelita: has joined #ruby
[04:54:21] haxrbyte: has joined #ruby
[04:55:07] A_Drone: has joined #ruby
[04:55:20] conta: has joined #ruby
[04:57:38] whathappens: has joined #ruby
[04:59:46] iMadper: has joined #ruby
[05:04:04] govg: has joined #ruby
[05:09:52] agent_white: has joined #ruby
[05:10:53] RegulationD: has joined #ruby
[05:11:27] aupadhye: has joined #ruby
[05:11:56] strigonLeader: has joined #ruby
[05:11:58] hogetaro_: has joined #ruby
[05:12:56] Cohedrin: has joined #ruby
[05:20:49] zacts: has joined #ruby
[05:20:59] TomyLobo: has joined #ruby
[05:21:02] hahuang61: has joined #ruby
[05:21:09] dionysus69: has joined #ruby
[05:21:38] duncannz: has joined #ruby
[05:22:51] Es0teric: has joined #ruby
[05:23:21] LoneHerm_: has joined #ruby
[05:23:34] watersoul: has joined #ruby
[05:23:52] craigp: has joined #ruby
[05:28:51] watersoul: has joined #ruby
[05:28:54] jackjackdripper: has joined #ruby
[05:29:44] helllojesus12: has joined #ruby
[05:29:52] craysiii: has joined #ruby
[05:31:36] A_Drone: has joined #ruby
[05:31:41] adl: has joined #ruby
[05:32:10] Nuck: has joined #ruby
[05:33:12] Guest32754: has joined #ruby
[05:34:06] watersoul: has joined #ruby
[05:35:37] Mia: has joined #ruby
[05:37:18] Macaveli: has joined #ruby
[05:37:36] blackmesa: has joined #ruby
[05:39:30] watersoul: has joined #ruby
[05:40:05] dionysus69: has joined #ruby
[05:42:33] raeoks: has joined #ruby
[05:44:34] TheWhip_: has joined #ruby
[05:44:50] hannelita: has joined #ruby
[05:44:57] watersoul: has joined #ruby
[05:46:40] A_Drone: has joined #ruby
[05:46:44] yfeldblum: has joined #ruby
[05:47:30] yfeldblum: has joined #ruby
[05:49:23] last_staff: has joined #ruby
[05:49:58] watersoul: has joined #ruby
[05:50:03] mark[oz]: has joined #ruby
[05:52:35] nankyokusei: has joined #ruby
[05:53:20] Madplatypus: has joined #ruby
[05:55:22] A_Drone: has joined #ruby
[05:57:13] skade: has joined #ruby
[05:58:14] Allaman__: has joined #ruby
[05:58:38] mark[oz]: has joined #ruby
[05:58:38] whathappens: has joined #ruby
[06:00:12] minotep: has joined #ruby
[06:02:34] yardenbar: has joined #ruby
[06:07:05] killerkamel: has joined #ruby
[06:09:26] LoneHermit: has joined #ruby
[06:10:18] aupadhye: has joined #ruby
[06:10:30] A_Drone: has joined #ruby
[06:11:07] _djbkd: has joined #ruby
[06:14:00] Moosashi: has joined #ruby
[06:14:44] spudowiar: has joined #ruby
[06:20:27] govg: has joined #ruby
[06:26:08] DoubleMalt: has joined #ruby
[06:27:16] solars: has joined #ruby
[06:27:35] nadir: has joined #ruby
[06:28:08] firstdayonthejob: has joined #ruby
[06:29:26] conta: has joined #ruby
[06:34:32] A_Drone: has joined #ruby
[06:38:03] nobitanobi: has joined #ruby
[06:38:54] A_Drone: has joined #ruby
[06:39:55] Dimik--: has joined #ruby
[06:40:39] blackmesa: has joined #ruby
[06:42:00] Hyuk: has joined #ruby
[06:43:08] pawnbox: has joined #ruby
[06:46:33] Ropeney: has joined #ruby
[06:49:17] adl: has joined #ruby
[06:50:01] ramfjord: has joined #ruby
[06:51:23] nobitanobi: has joined #ruby
[06:52:55] tlarevo: has joined #ruby
[06:54:16] hahuang61: has joined #ruby
[06:54:55] A_Drone: has joined #ruby
[06:55:40] tildes: has joined #ruby
[06:57:15] aganov: has joined #ruby
[06:57:44] helllojesus12: has joined #ruby
[06:59:09] tlarevo: has joined #ruby
[06:59:42] whathappens: has joined #ruby
[07:00:11] nobitano_: has joined #ruby
[07:02:22] Torrone: has joined #ruby
[07:05:58] dunpeal: has joined #ruby
[07:06:34] TomyWork: has joined #ruby
[07:06:35] atomx: has joined #ruby
[07:09:24] pawnbox: has joined #ruby
[07:10:34] A_Drone: has joined #ruby
[07:11:46] RegulationD: has joined #ruby
[07:14:01] lxsameer: has joined #ruby
[07:15:59] haxrbyte: has joined #ruby
[07:16:40] dionysus69: has joined #ruby
[07:17:31] yeticry: has joined #ruby
[07:18:18] charliesome: has joined #ruby
[07:20:31] tlarevo_: has joined #ruby
[07:20:37] mrgrieves: has joined #ruby
[07:21:18] anisha: has joined #ruby
[07:21:22] Spami: has joined #ruby
[07:23:28] antgel: has joined #ruby
[07:28:48] andikr: has joined #ruby
[07:29:07] haxrbyte: has joined #ruby
[07:29:50] tmtwd: has joined #ruby
[07:33:03] hannelita: has joined #ruby
[07:37:34] cyphase: has joined #ruby
[07:37:51] antgel: has joined #ruby
[07:42:58] skade: has joined #ruby
[07:43:40] blackmesa: has joined #ruby
[07:46:42] jaguarmagenta: has joined #ruby
[07:52:56] adl: has joined #ruby
[07:53:27] nankyokusei: has joined #ruby
[07:53:43] mikecmpbll: has joined #ruby
[07:55:22] charliesome: has joined #ruby
[07:57:02] dminuoso: has joined #ruby
[07:57:21] der-landgraf: has joined #ruby
[07:57:37] ur5us: has joined #ruby
[07:59:19] marr: has joined #ruby
[08:00:29] whathappens: has joined #ruby
[08:00:56] der-land1: has joined #ruby
[08:01:06] pmyjavec: has joined #ruby
[08:01:16] mloy: has left #ruby: ()
[08:01:45] jackjackdripper: has joined #ruby
[08:04:50] mark_66: has joined #ruby
[08:09:37] Silthias: has joined #ruby
[08:10:06] nobitanobi: has joined #ruby
[08:10:09] tlarevo: has joined #ruby
[08:10:10] killerkamel: has joined #ruby
[08:10:16] czerasz: has joined #ruby
[08:10:32] hipertracker: has joined #ruby
[08:12:46] tlarevo__: has joined #ruby
[08:14:06] hutch34_: has joined #ruby
[08:19:58] blackmesa: has joined #ruby
[08:21:24] toretore: has joined #ruby
[08:22:25] platzhirsch: has joined #ruby
[08:22:28] antgel: has joined #ruby
[08:23:54] A_Drone: has joined #ruby
[08:24:45] helllojesus12: has joined #ruby
[08:27:01] hannelita: has joined #ruby
[08:29:42] pawnbox: has joined #ruby
[08:34:44] A124: has joined #ruby
[08:34:47] blaxter: has joined #ruby
[08:36:43] jaruga___: has joined #ruby
[08:38:37] jackjackdripper1: has joined #ruby
[08:39:39] blandflakes: has joined #ruby
[08:40:14] xue: has joined #ruby
[08:40:42] teclator: has joined #ruby
[08:42:00] karapetyan: has joined #ruby
[08:42:05] the_drow: has joined #ruby
[08:46:58] strigonLeader: has joined #ruby
[08:48:44] antgel: has joined #ruby
[08:49:22] pawnbox: has joined #ruby
[08:50:02] TheWhip: has joined #ruby
[08:51:34] astrobunny: has joined #ruby
[08:52:20] workmad3: has joined #ruby
[08:56:09] whathappens: has joined #ruby
[08:56:18] hahuang61: has joined #ruby
[08:56:50] govg: has joined #ruby
[08:58:59] tlarevo: has joined #ruby
[08:59:47] yoongkang: has joined #ruby
[09:02:33] senayar: has joined #ruby
[09:04:42] rafadc: has joined #ruby
[09:07:53] dunpeal: has joined #ruby
[09:08:12] c0mrad3: has joined #ruby
[09:08:33] dionysus69: has joined #ruby
[09:08:57] polll: has joined #ruby
[09:09:47] pandaant: has joined #ruby
[09:12:35] RegulationD: has joined #ruby
[09:14:55] [huypn12]: has joined #ruby
[09:17:08] A_Drone: has joined #ruby
[09:18:35] ereslibre_laptop: has joined #ruby
[09:21:16] hannelita: has joined #ruby
[09:28:10] Ropeney: has joined #ruby
[09:28:32] dionysus69: has joined #ruby
[09:32:20] chilversc: has joined #ruby
[09:32:50] charliesome: has joined #ruby
[09:33:22] yoongkang: has joined #ruby
[09:33:58] giz|work: has joined #ruby
[09:34:31] jaguarmagenta: has joined #ruby
[09:35:20] charliesome: has joined #ruby
[09:39:05] adl: has joined #ruby
[09:40:03] chilversc: I'm trying to run an example rails site, but when I run bundle install the json gem failes to compile with; error: macro "rb_str_new" requires 2 arguments, but only 1 give; VALUE result = rb_str_new(FUFFER_PAIR(fb));
[09:40:54] Rasi: has joined #ruby
[09:41:16] Sashimi: has joined #ruby
[09:41:17] spudowiar: has joined #ruby
[09:42:25] ruby[bot]: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
[09:44:31] hipertracker: has joined #ruby
[09:46:45] yoongkang: has joined #ruby
[09:47:17] hk238: has joined #ruby
[09:48:49] yfeldblum: has joined #ruby
[09:49:20] chilversc: it's not specifically a rails problem though, since I get the error when I run gem install json -v '1.8.1' as well?
[09:51:41] nerium: has joined #ruby
[09:52:56] tildes: has joined #ruby
[09:54:06] nankyokusei: has joined #ruby
[09:56:07] alfiemax: has joined #ruby
[09:58:27] gix: has joined #ruby
[10:04:43] dn`: has joined #ruby
[10:06:02] yoongkang: has joined #ruby
[10:06:36] gix: has joined #ruby
[10:06:42] teclator: has joined #ruby
[10:06:49] Guest48905: has joined #ruby
[10:08:04] blackmesa: has joined #ruby
[10:08:37] c355E3B: has joined #ruby
[10:09:18] minotep: has joined #ruby
[10:10:55] killerkamel: has joined #ruby
[10:15:15] hannelita: has joined #ruby
[10:16:47] pawnbox: has joined #ruby
[10:20:31] rickmasta: has joined #ruby
[10:21:29] openstruct: has joined #ruby
[10:21:57] hwcomcn: has joined #ruby
[10:26:16] jenrzzz: has joined #ruby
[10:26:26] banisterfiend: has joined #ruby
[10:27:09] Hyuk: has joined #ruby
[10:27:54] tAn: has joined #ruby
[10:28:04] charliesome: has joined #ruby
[10:32:14] anisha_: has joined #ruby
[10:36:04] rodfersou: has joined #ruby
[10:36:15] sdothum: has joined #ruby
[10:37:42] freerobby: has joined #ruby
[10:40:07] A_Drone: has joined #ruby
[10:40:56] freerobby: has joined #ruby
[10:42:26] freerobby: has joined #ruby
[10:42:37] pawnbox: has joined #ruby
[10:43:13] ICantCook: has joined #ruby
[10:43:41] charliesome: has joined #ruby
[10:47:11] Xiti: has joined #ruby
[10:47:15] banisterfiend: has joined #ruby
[10:48:00] k3rn31: has joined #ruby
[10:48:38] jaguarmagenta: has joined #ruby
[10:50:27] k3rn31_: has joined #ruby
[10:50:54] banisterfiend: has joined #ruby
[10:51:32] Tachikomas: has joined #ruby
[10:51:44] charliesome: has joined #ruby
[10:53:25] ltd: has joined #ruby
[10:53:30] KCmetro: has joined #ruby
[10:55:02] anisha: has joined #ruby
[10:57:02] hahuang61: has joined #ruby
[11:02:05] teclator: has joined #ruby
[11:02:28] d0lph1n98: has joined #ruby
[11:02:30] kavanagh: has joined #ruby
[11:02:51] whathappens: has joined #ruby
[11:04:20] leitz: has joined #ruby
[11:07:41] blackmesa: has joined #ruby
[11:07:46] A_Drone: has joined #ruby
[11:09:23] hannelita: has joined #ruby
[11:09:43] dunpeal: has joined #ruby
[11:13:26] RegulationD: has joined #ruby
[11:14:32] A_Drone: has joined #ruby
[11:15:56] Macaveli: has joined #ruby
[11:15:59] Silthias: has left #ruby: ()
[11:16:03] marr: has joined #ruby
[11:16:36] Silthias1: has joined #ruby
[11:17:14] maucar: has joined #ruby
[11:17:43] JeanCarloMachado: has joined #ruby
[11:17:48] aryaching: has joined #ruby
[11:18:15] blackgoat: has joined #ruby
[11:18:38] cibs: has joined #ruby
[11:19:26] Ishido: has joined #ruby
[11:21:49] helllojesus12: has joined #ruby
[11:24:42] ldnunes: has joined #ruby
[11:24:45] tvw: has joined #ruby
[11:25:39] tlarevo: has joined #ruby
[11:27:47] jenrzzz: has joined #ruby
[11:31:24] uuuu: has joined #ruby
[11:33:49] spudowiar: has joined #ruby
[11:35:04] charliesome: has joined #ruby
[11:36:31] jaruga____: has joined #ruby
[11:37:42] skade: has joined #ruby
[11:37:43] JeanCarloMachado: has joined #ruby
[11:37:47] dionysus69: has joined #ruby
[11:38:08] Hanmac: has joined #ruby
[11:41:45] dennisvennink: has joined #ruby
[11:43:49] teclator: has joined #ruby
[11:45:51] jaruga___: has joined #ruby
[11:52:21] killerkamel: has joined #ruby
[11:53:23] hannelita: has joined #ruby
[11:54:56] nankyokusei: has joined #ruby
[11:57:50] TheWhip: has joined #ruby
[11:57:54] JohnBat26: has joined #ruby
[12:05:30] rafadc: has joined #ruby
[12:05:48] KCmetro: has joined #ruby
[12:06:13] Vingador: has joined #ruby
[12:07:18] _main_: has joined #ruby
[12:08:29] synthroid: has joined #ruby
[12:09:23] helllojesus12: has joined #ruby
[12:09:58] uuuu: has left #ruby: ()
[12:10:34] jaruga____: has joined #ruby
[12:10:34] nobitanobi: has joined #ruby
[12:14:30] hutch34_: has joined #ruby
[12:15:48] AgentVenom: has joined #ruby
[12:16:24] nobitanobi: has joined #ruby
[12:23:32] blackmesa: has joined #ruby
[12:27:27] tlarevo: has joined #ruby
[12:28:04] hannelita: has joined #ruby
[12:29:39] Kedare: has joined #ruby
[12:32:12] sdwrage: has joined #ruby
[12:34:00] ffgghhj: has joined #ruby
[12:34:39] tlarevo: has joined #ruby
[12:35:39] blackmesa: has joined #ruby
[12:36:37] Torrone: has joined #ruby
[12:39:17] freerobby: has joined #ruby
[12:40:19] flying: has joined #ruby
[12:42:01] KCmetro: has joined #ruby
[12:43:57] deadnull: has joined #ruby
[12:45:01] nando293921: has joined #ruby
[12:45:37] helllojesus12: has joined #ruby
[12:46:33] dunpeal: has joined #ruby
[12:47:03] KCmetro: has joined #ruby
[12:49:23] jaguarmagenta: has joined #ruby
[12:51:23] yoongkang: has joined #ruby
[12:56:00] ur5us: has joined #ruby
[12:56:19] hipertracker: has joined #ruby
[12:57:48] hahuang61: has joined #ruby
[12:57:59] dunpeal: has joined #ruby
[12:59:55] teclator: has joined #ruby
[13:01:23] romain_t: has joined #ruby
[13:01:34] chip_: has joined #ruby
[13:02:12] nobitanobi: has joined #ruby
[13:04:32] whathappens: has joined #ruby
[13:04:37] Vingador_: has joined #ruby
[13:05:42] astrobunny: has joined #ruby
[13:07:39] ramortegui: has joined #ruby
[13:08:03] nobitanobi: has joined #ruby
[13:09:00] flashpoint9: has joined #ruby
[13:09:27] AndyBotwin: has joined #ruby
[13:11:32] fmcgeough: has joined #ruby
[13:11:39] ur5us: has joined #ruby
[13:14:19] RegulationD: has joined #ruby
[13:14:24] byteflame: has joined #ruby
[13:15:12] adl: has joined #ruby
[13:19:24] nettoweb: has joined #ruby
[13:19:46] Xiti: has joined #ruby
[13:20:26] malconis: has joined #ruby
[13:22:19] alfiemax: has joined #ruby
[13:23:15] srtufano: has joined #ruby
[13:23:18] flying: has left #ruby: ()
[13:24:38] glcx: has joined #ruby
[13:24:38] glcx: has joined #ruby
[13:25:01] hannelita: has joined #ruby
[13:25:11] malconis: has joined #ruby
[13:25:53] tmtwd: has joined #ruby
[13:27:47] tubuliferous: has joined #ruby
[13:29:10] macsteps: has joined #ruby
[13:29:42] craigp_: has joined #ruby
[13:30:29] roamingdog: has joined #ruby
[13:30:40] nerium: has joined #ruby
[13:33:09] mark_66: has joined #ruby
[13:33:33] bad_ip: has joined #ruby
[13:33:48] l4v2: has joined #ruby
[13:35:15] xue: has joined #ruby
[13:37:49] strigonLeader: has joined #ruby
[13:37:53] spectrum: has joined #ruby
[13:38:20] durub: has joined #ruby
[13:38:24] ChiefAlexander: has joined #ruby
[13:38:33] durub: has left #ruby: ()
[13:39:52] hutch34_: has joined #ruby
[13:40:40] Torrone: has joined #ruby
[13:41:04] mattwashere: has joined #ruby
[13:41:31] nerium: has joined #ruby
[13:42:44] ChiefAlexander: has joined #ruby
[13:42:48] kloeri: has joined #ruby
[13:44:09] nobitanobi: has joined #ruby
[13:44:48] teclator: has joined #ruby
[13:48:08] uuuu: has joined #ruby
[13:48:48] rickmasta: has joined #ruby
[13:50:13] ruby[bot]: You can find a list of recommended books at http://ruby-community.com/pages/links
[13:51:49] madsa: has joined #ruby
[13:51:58] nerium: has joined #ruby
[13:53:15] blandflakes: has joined #ruby
[13:53:42] uuuu: has left #ruby: ()
[13:54:44] blackmesa: has joined #ruby
[13:55:55] nankyokusei: has joined #ruby
[13:57:30] killerkamel: has joined #ruby
[13:59:20] swills: has joined #ruby
[14:02:39] kobain: has joined #ruby
[14:02:54] nerium: has joined #ruby
[14:03:21] chouhoulis: has joined #ruby
[14:05:39] whathappens: has joined #ruby
[14:06:14] Vingador: has joined #ruby
[14:08:16] pickandmix_: has joined #ruby
[14:09:57] jhack: has joined #ruby
[14:11:17] harfangk: has joined #ruby
[14:11:25] G: has joined #ruby
[14:13:22] nerium: has joined #ruby
[14:14:44] helllojesus12: has joined #ruby
[14:15:13] RegulationD: has joined #ruby
[14:18:11] KaliLinuxGR: has joined #ruby
[14:20:46] macsteps: has joined #ruby
[14:21:16] etehtsea: has joined #ruby
[14:21:30] axl_: has joined #ruby
[14:22:27] synthroid: has joined #ruby
[14:24:02] nerium: has joined #ruby
[14:24:12] KaliLinuxGR: has joined #ruby
[14:26:02] bkxd: has joined #ruby
[14:26:44] JakFrist: has joined #ruby
[14:27:22] aganov: has joined #ruby
[14:29:08] freeman1337: has joined #ruby
[14:29:46] freerobby: has joined #ruby
[14:30:31] freerobby1: has joined #ruby
[14:31:12] ChiefAlexander: has joined #ruby
[14:33:17] OTORelic: has joined #ruby
[14:34:35] blandflakes: has joined #ruby
[14:34:36] cibs: has joined #ruby
[14:37:41] nerium: has joined #ruby
[14:37:47] anisha: has joined #ruby
[14:39:01] mtkd: has joined #ruby
[14:39:55] Vingador_: has joined #ruby
[14:41:47] Wildfyr: has joined #ruby
[14:41:47] Wildfyr: has joined #ruby
[14:45:16] rippa: has joined #ruby
[14:45:28] pickandmix_: has joined #ruby
[14:46:15] minimalism: has joined #ruby
[14:47:57] polishdub: has joined #ruby
[14:48:03] nerium: has joined #ruby
[14:48:22] Torrone: has joined #ruby
[14:49:00] dminuoso: has joined #ruby
[14:50:12] bad_ip: has joined #ruby
[14:50:12] jaguarmagenta: has joined #ruby
[14:50:53] nibalsnarf: has joined #ruby
[14:52:29] nibalsnarf: I'm trying to run appium using ruby, I installed the appium_lib gem but it won't load it (LoadError) when ran from rb file. When I try "require 'appium_lib' " in irb it loads up fine. the same line doesn't work in the script
[14:52:46] karapetyan: has joined #ruby
[14:52:49] toretore: gist your code nibalsnarf
[14:53:04] nibalsnarf: will do, one moment
[14:54:00] yoongkang: has joined #ruby
[14:55:26] GodFather: has joined #ruby
[14:56:03] al2o3-cr: has joined #ruby
[14:56:22] nibalsnarf: toretore: https://gist.github.com/anonymous/301360acba00d0ff00ff0973d7b0c5b9
[14:57:46] blackmesa: has joined #ruby
[14:58:31] hahuang61: has joined #ruby
[14:58:59] nerium: has joined #ruby
[14:59:42] toretore: nibalsnarf: what is the error? add it to the gist?
[15:00:20] synthroid: has joined #ruby
[15:01:18] kavanagh: has joined #ruby
[15:02:41] Tekneek: has joined #ruby
[15:03:05] spudowiar: has joined #ruby
[15:03:06] nibalsnarf: toretore: "Cannot load such file -- appium_lib (loadError)" env.rb:17:in 'require' env.rb:in '<top (required)>'
[15:03:41] toretore: how are you running it?
[15:03:42] machinewar: has joined #ruby
[15:04:04] toretore: add the entire stacktrace to the gist
[15:04:14] machinewar: does rake have command line flags?
[15:04:18] machinewar: i.e. rake something -e
[15:04:30] machinewar: I'm writing a rake task with custom arguments via flags, but looks like some might be reserved?
[15:04:30] ljarvis: basically no
[15:04:33] nibalsnarf: Okay one moment
[15:04:50] machinewar: i.e. if I use -e i get weird rake error, but with any other flags it works
[15:05:39] ljarvis: machinewar: you'd generally use env vars or pass params into ARGV, you *could* parse everything after `--` though if you wanted, but you'd have to do it manually
[15:05:58] ljarvis: rake isn't good at that sort of thing (and i guess it's not meant to be)
[15:05:58] sdothum: has joined #ruby
[15:06:04] machinewar: ljarvis: okay thanks, I was using option_parser to parse them
[15:06:55] ljarvis: I think rake modifies ARGV after it's stripped it's own params out
[15:08:23] cdg: has joined #ruby
[15:08:41] RegulationD: has joined #ruby
[15:09:09] jeremyhall: has joined #ruby
[15:09:20] nibalsnarf: toretore: here you go https://gist.github.com/anonymous/9433fbe608a64ef6afa9c01914f790b0 Sorry it took a while
[15:09:50] toretore: ?gist-usage nibalsnarf - for future reference
[15:09:50] ruby[bot]: nibalsnarf: https://github.com/radar/guides/blob/master/using-gist.markdown
[15:09:52] nerium: has joined #ruby
[15:10:17] toretore: how are you running this?
[15:11:34] helllojesus12: has joined #ruby
[15:11:49] nibalsnarf: I'm using cucumber, and running it through normal osx terminal with the cucumber command
[15:12:28] Es0teric: has joined #ruby
[15:12:29] bad_ip: has joined #ruby
[15:12:35] ljarvis: using cucumber is where you're going wrong
[15:12:40] adl: has joined #ruby
[15:13:10] nibalsnarf: ljarvis: what's wrong with cucumber?
[15:13:30] sdothum: has joined #ruby
[15:13:42] ljarvis: i don't want to discourage you so that discussion is probably for another date, though one might quip "what's right with it?"
[15:13:55] yoongkang: has joined #ruby
[15:14:08] devoid: has joined #ruby
[15:14:20] toretore: cucumber is additional complexity you don't need, and a source of confusion and errors when you don't understand it and have experience with it
[15:14:35] toretore: as is every dependency you add to your project
[15:14:57] nibalsnarf: I've used cucumber for web automation, I'm just not familair with using it in combination with appium
[15:15:37] nibalsnarf: web testing automation*
[15:15:45] toretore: ok, so now add env.rb to the gist
[15:16:00] Torrone: has joined #ruby
[15:16:13] nibalsnarf: the code in the gist is the env.rb file in it's entirity
[15:16:47] toretore: what does "the cucumber command" mean exactly?
[15:17:21] toretore: do you run `cucumber`? `bundle exec cucumber`? do you se a ruby versioning system?
[15:17:58] nibalsnarf: after navigating to the correct folder you can run all the testcases by typing "cucumber" into the terminal. You can also specify specific tests with additional commands
[15:18:10] toretore: is this something you got somewhere else?
[15:18:41] The_Phoenix: has joined #ruby
[15:18:46] TheHodge: has joined #ruby
[15:18:50] nibalsnarf: what? cucumber? or the method to run it?
[15:18:53] ljarvis: also does `ruby -rubygems -rappium_lib` work
[15:19:06] toretore: did you write this code yourself?
[15:19:18] The_Phoenix: has joined #ruby
[15:19:25] govg: has joined #ruby
[15:19:55] nibalsnarf: No, I've had a previous project with mobile test automation but that was on another computer, I re-used the code as a template
[15:20:17] nibalsnarf: On the other computer the old code still runs
[15:20:28] toretore: you have a lot of hairballs in there, so it's difficult to understand what's going on
[15:20:46] The_Phoenix: has joined #ruby
[15:21:10] Torrone: has joined #ruby
[15:21:16] nibalsnarf: yeah I know, there's a lot of useless stuff like the outputting of the current directory, sorry about that
[15:21:33] toretore: no i mean your dependencies
[15:22:08] toretore: LapisLazuli, Appium, Cucumber god knows what else
[15:22:11] The_Phoenix: has joined #ruby
[15:22:12] macsteps: has joined #ruby
[15:22:20] toretore: this is the source of your problems
[15:22:32] toretore: and why it's difficult to understand what goes wrong
[15:22:42] nibalsnarf: oh but i actually use all of those, those are not remnants of the old project
[15:22:56] toretore: yes, but do you need them?
[15:23:03] seventy: has joined #ruby
[15:23:55] toretore: it's practically impossible for us to try to figure out what goes wrong in your app because of all the complexity that we don't know anything about
[15:25:16] Torrone_: has joined #ruby
[15:26:23] nibalsnarf: I understand, I was hoping it was a simple issue with me overlooking something stupid
[15:26:25] ljarvis: so does `ruby -rubygems -rappium_lib` work
[15:26:27] kavanagh: has joined #ruby
[15:26:32] nibalsnarf: I'll fiddle around some more, thanks a lot for your help
[15:26:36] roamingdog: has joined #ruby
[15:26:55] ljarvis: er with -e ''
[15:28:18] last_staff: has joined #ruby
[15:28:35] unbxpg: has joined #ruby
[15:28:52] jenrzzz: has joined #ruby
[15:28:52] jenrzzz: has joined #ruby
[15:30:13] sdothum: has joined #ruby
[15:30:43] SilverKey: has joined #ruby
[15:30:46] axl_: has left #ruby: ()
[15:31:03] chosen1x: has joined #ruby
[15:31:04] synthroid: has joined #ruby
[15:32:06] Torrone_: has joined #ruby
[15:33:22] szarubin: has joined #ruby
[15:33:34] rcvalle: has joined #ruby
[15:33:51] sdothum: has joined #ruby
[15:35:54] macsteps: has joined #ruby
[15:37:14] Torrone_1: has joined #ruby
[15:37:24] mwlang: has joined #ruby
[15:41:28] dionysus69: has joined #ruby
[15:41:49] ChiefAlexander: has joined #ruby
[15:42:01] newbism: has joined #ruby
[15:42:41] AndrewIsHere: has joined #ruby
[15:43:40] nanoz: has joined #ruby
[15:44:54] etehtsea: has joined #ruby
[15:45:12] hutch34_: has joined #ruby
[15:45:13] torandu: has joined #ruby
[15:46:34] newbism: Anyone know how I can use Faraday::Request::TokenAuthentication with HER? I'm trying this: https://gist.github.com/brylor/f0cb1f73fbf7755b20adaca24bdb3b96 but my token ends up being: Authorization: Token token="{:token=>\"32323"\"}"
[15:47:02] Guest48905: has joined #ruby
[15:48:55] ljarvis: c.use Faraday::Request::TokenAuthentication, "320932222222"
[15:49:02] Duracell: has joined #ruby
[15:50:24] Torrone_1: has joined #ruby
[15:50:43] Spami: has joined #ruby
[15:51:48] chouhoulis: has joined #ruby
[15:53:13] nettoweb: has joined #ruby
[15:53:18] Duracell: New here. How active is this place usually?
[15:54:33] nerium: has joined #ruby
[15:54:34] spiette: has joined #ruby
[15:55:04] Gasher: has joined #ruby
[15:55:34] Derperperd: has joined #ruby
[15:55:37] c_nick: has joined #ruby
[15:55:49] spiette: has joined #ruby
[15:56:41] blandflakes: has joined #ruby
[15:56:46] nankyokusei: has joined #ruby
[15:57:02] kegster: has joined #ruby
[15:57:35] kegster: hello. is there a way to create an object like... "foo = {}" but then to dynamically add an array like "foo.myArray = []"
[15:57:46] c_nick: i want to represent the scientific number "2e-0003" as "2e-003", i tried 0.0e but that evaluates to 2e-03
[15:58:30] toretore: kegster: for what purpose?
[15:58:49] kegster: i basically just want to collect data into an object and then JSON it and send it off
[15:59:03] c_nick: kegster: foo is a dictionary u can create a key "myArray" and then assign it an array
[15:59:53] mikecmpbll: has joined #ruby
[15:59:55] skade: has joined #ruby
[15:59:57] Torrone_1: has joined #ruby
[15:59:59] kegster: how can i do that? i don't know much about ruby BUT i have to write short scripts using an API that i'm already familiar with
[16:00:24] fmcgeough: has joined #ruby
[16:00:33] kegster: i tried to do some searching but it showed me how to create classes, etc, but i'm not looking for all that lol
[16:00:45] blackmesa: has joined #ruby
[16:00:53] ljarvis: http://ruby-doc.org/core-2.2.0/Hash.html
[16:01:14] toretore: kegster: it would be more helpful if you explained what you're trying to do instead
[16:01:34] nerium: has joined #ruby
[16:01:38] kegster: toretore, i'm looping through items and wanting to capture data from each item into a variable
[16:01:48] toretore: do you have any code to gist?
[16:02:13] toretore: we can't be very helpful without knowing the context
[16:02:28] kegster: toretore, https://gist.github.com/kegster/ac6106fd72323481e1379d5224ee23ab
[16:02:34] kegster: understand :D
[16:03:15] kegster: ljarvis, was that to me?
[16:03:26] kegster: i just saw your link
[16:03:53] kegster: ljarvis, i see what you mean now. not sure how i missed your link heh
[16:04:18] ljarvis: Duracell: as demonstrated, usually quite active
[16:04:31] toretore: kegster: so you simply want to access har_output[:current_markups] ?
[16:04:52] alfiemax: has joined #ruby
[16:05:41] kegster: toretore, well i want to manipulate har_output on the fly
[16:05:52] toretore: define manipulate
[16:06:06] kegster: add and remove things to it
[16:06:45] kegster: right now i need har_output[:current_markups] as an array, but i may want to add to it later. like maybe :some_other_data
[16:07:01] kegster: i think i'm getting the hang of it though. i just wasn't used to ruby "shorthand" perhaps ---
[16:07:04] kegster: not sure if it's shorthand
[16:07:08] kegster: the Hash thing looks like it helps
[16:07:22] toretore: you already have a hash
[16:07:40] toretore: the avlues of which can also be a hash
[16:07:42] whathappens: has joined #ruby
[16:08:22] Guest43291: has joined #ruby
[16:08:40] kegster: yeah i think i wasn't aware of what a 'hash' was lol
[16:10:29] norc: has joined #ruby
[16:12:23] Guest43291: can ruby https://n0where.net/python-remote-access-tool-ares/ ???
[16:12:33] nerium: has joined #ruby
[16:12:52] kegster: toretore, how can i create har_output[:someVar] but whre someVar is an actual var>
[16:13:25] toretore: you are asking the wrong question again
[16:13:47] toretore: describe the actual problem instead
[16:14:29] SilverKey: has joined #ruby
[16:17:14] conta: has joined #ruby
[16:18:07] KCmetro: has joined #ruby
[16:19:27] davedev24: has joined #ruby
[16:23:06] kegster: i would like to create a hash with a key that is a variable, not the actual "word' given -- for example current_markups -- what if that was a variable and not just the string current_markup
[16:23:11] kegster: not sure if that's better lol
[16:23:43] griffindy: has joined #ruby
[16:24:32] toretore: that is not the problem you're solving, that's what you think the solution is
[16:27:04] ramfjord: has joined #ruby
[16:27:11] snebel: has joined #ruby
[16:27:26] TomyLobo: has joined #ruby
[16:27:50] snebel: Hi here, finding contradictory information on google.. are all data types/datastructures in ruby pass bt reference versus pass by value ?
[16:27:57] snebel: sorry if this is a silly topic..
[16:28:09] cschneid_: has joined #ruby
[16:28:52] snebel: my tests seems to point to the by reference..
[16:29:26] toretore: a variable's value is the reference to an object
[16:30:20] snebel: so strictly by value by effectively by reference..
[16:30:25] SCHAAP137: has joined #ruby
[16:30:30] snebel: but effectiveyl by reference..
[16:30:47] snebel: for all data types and data structures
[16:30:49] jenrzzz: has joined #ruby
[16:31:10] snebel: yeah that makes sense
[16:31:38] skade: has joined #ruby
[16:31:41] toretore: you never see the reference. you always get the object it refers to, but when you set a variable you set the reference
[16:31:55] c_nick: i want to represent the scientific number "2e-0003" as "2e-003", i tried 0.0e but that evaluates to 2e-03
[16:32:58] al2o3-cr: has joined #ruby
[16:33:59] rickmasta: has joined #ruby
[16:39:54] rafadc: has joined #ruby
[16:40:02] tomchapin: has joined #ruby
[16:41:22] dennisvennink: has joined #ruby
[16:43:10] mtkd: has joined #ruby
[16:43:21] Macaveli: has joined #ruby
[16:43:50] dunpeal: has joined #ruby
[16:43:50] hutch34_: has joined #ruby
[16:45:34] Cohedrin: has joined #ruby
[16:46:09] al2o3-cr: has joined #ruby
[16:47:03] KCmetro: has joined #ruby
[16:47:15] whathappens: has joined #ruby
[16:47:50] chouhoulis: has joined #ruby
[16:48:48] Alayde: has joined #ruby
[16:50:00] snebel: thanks toretore :-)
[16:50:23] soLucien: has joined #ruby
[16:50:35] soLucien: is any Ruby windows user here?
[16:50:49] soLucien: i have a question about interop-ing Ruby with PowerShell
[16:50:57] jaguarmagenta: has joined #ruby
[16:51:15] soLucien: i want to import a module in the ruby session for an application , and do it only ONCE
[16:51:20] mattwashere: has joined #ruby
[16:51:32] soLucien: so that any subsequent calls to functions defined in the module will be known
[16:51:51] soLucien: when i execute `Start-TheServer`
[16:52:09] vuoto: has joined #ruby
[16:52:32] soLucien: for example , it will know it's supposed to execute my-powershell-module\Start-TheServer because it was already imported
[16:53:15] zacstewart: has joined #ruby
[16:54:52] et09: has joined #ruby
[16:55:02] et09: is there a way to do Hash#select where it separates it into two hashes, matching and not matching?
[16:55:17] madsa: has joined #ruby
[16:55:18] apeiros: #partition, but that'll give you 2 arrays
[16:55:19] al2o3-cr: et09: groub_by
[16:55:27] craigp_: has joined #ruby
[16:55:45] apeiros: (so: partition + Array#to_h)
[16:55:47] Torrone_1: has joined #ruby
[16:56:10] rickmasta: has joined #ruby
[16:56:18] jackjackdripper: has joined #ruby
[16:56:42] slackbotgz: has joined #ruby
[16:56:43] mattwildig: has joined #ruby
[16:56:53] et09: they both give arrays -_-
[16:57:22] blackmesa: has joined #ruby
[16:57:24] Silthias: has joined #ruby
[16:57:34] et09: >> {a: 2, b: 3, c: 4}.group_by {|k,v| v % 2 == 0}.map{|k,v| v.to_h}
[16:57:35] ruby[bot]: et09: # => [{:a=>2, :c=>4}, {:b=>3}] (https://eval.in/613556)
[16:57:37] et09: i guess that's ok
[16:58:06] apeiros: .partition { … }.map(&:to_h)
[16:58:54] Torrone_: has joined #ruby
[16:59:16] hahuang61: has joined #ruby
[17:00:01] craigp: has joined #ruby
[17:01:06] jaruga___: has joined #ruby
[17:02:02] Torrone_: has joined #ruby
[17:02:16] rgiscard: has joined #ruby
[17:02:22] al2o3-cr: yep, partition make much more sense to use in the scenario
[17:03:11] craysiii: has joined #ruby
[17:05:03] shinnya: has joined #ruby
[17:06:09] craysiii: has joined #ruby
[17:06:36] Coldblackice: has joined #ruby
[17:07:09] tjohnson: has joined #ruby
[17:07:56] JakFrist: has joined #ruby
[17:08:37] KCmetro: has joined #ruby
[17:08:44] tomchapin: has joined #ruby
[17:09:01] synthroid: has joined #ruby
[17:10:39] tvw: has joined #ruby
[17:12:17] agent_white: has joined #ruby
[17:12:19] KCmetro_: has joined #ruby
[17:13:58] sepp2k: has joined #ruby
[17:14:15] nfsnobody: has joined #ruby
[17:14:53] firstdayonthejob: has joined #ruby
[17:14:56] nando293921: has joined #ruby
[17:14:58] flashpoint9: has joined #ruby
[17:15:24] flak: has joined #ruby
[17:16:48] RegulationD: has joined #ruby
[17:16:55] flashpoint9: has joined #ruby
[17:17:40] KCmetro: has joined #ruby
[17:24:52] freerobby: has joined #ruby
[17:28:42] killerkamel: has joined #ruby
[17:28:58] _djbkd: has joined #ruby
[17:29:33] aep-shoutlet: has joined #ruby
[17:29:54] marsjaninzmarsa: has joined #ruby
[17:30:09] pawnbox: has joined #ruby
[17:30:54] BrianBoyko: has joined #ruby
[17:31:03] SilverKey: has joined #ruby
[17:31:42] BrianBoyko: Howdy. Quick question before I hit Google: What's the best way to do a key-value list (i.e., like a javascript object) in Ruby? Should I define a class, or is there a dictionary, or what?
[17:31:43] tao_: has joined #ruby
[17:31:58] sneakers: has joined #ruby
[17:32:20] BrianBoyko: Specifically, I'd like to know the Ruby equiv. of {foo: "foo", bar: "bar", baz: "baz"} I'd also like to iterate through the property keys...
[17:32:29] ec0: has joined #ruby
[17:33:32] toretore: >> {foo: "foo", bar: "bar", baz: "baz"}
[17:33:33] ruby[bot]: toretore: # => {:foo=>"foo", :bar=>"bar", :baz=>"baz"} (https://eval.in/613557)
[17:33:34] Papierkorb: brianboyko: We call that a Hash. Your syntax already constructs a Hash.
[17:34:15] Papierkorb: brianboyko: only the keys? the_hash.keys.each{|key| ..} Or do you mean each key-value pair? the_hash.each{|key, value| ..}
[17:35:03] Papierkorb: brianboyko: The docs give a short overview on how they're used http://ruby-doc.org/core-2.3.0/Hash.html
[17:35:07] _djbkd: has joined #ruby
[17:35:11] BrianBoyko: Thanks Papierkorb, that was exactly what I was looking for!
[17:35:35] skade: has joined #ruby
[17:39:30] marxarelli: has joined #ruby
[17:41:51] bweston92: Using rspec - How can I assert a variable to be an instance of a class? When I do "expect(msg_factory.from_hash(valid_message)).to be be_an_instance_of(Messaging::Message)" I get "-(be an instance of Messaging::Message)\n+#<Messaging::Message:0x0055944c7fa518>"
[17:42:40] baweaver: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers/type-matchers
[17:42:47] Papierkorb: bweston92: expect("hello").to be_a String
[17:44:39] sdwrage: has joined #ruby
[17:44:43] tAn: has joined #ruby
[17:45:05] RubyRonin: has joined #ruby
[17:45:16] RubyRonin: greetings all
[17:45:26] havenwood: RubyRonin: hi
[17:45:33] RubyRonin: in ruby is it possible to perform a slice while mapping info into an array
[17:45:36] RubyRonin: let me put it this way
[17:47:17] Torrone_1: has joined #ruby
[17:48:14] RubyRonin: https://gist.github.com/anonymous/ea24ca4fb03b58988b3d11721235352d
[17:48:39] benlieb: has joined #ruby
[17:49:11] RubyRonin: will that work?
[17:49:24] RubyRonin: havenwood: ?
[17:49:25] nando293921: has joined #ruby
[17:51:09] mattwashere: has joined #ruby
[17:53:15] sagax: has joined #ruby
[17:53:19] havenwood: RubyRonin: if you're not using the index then there's no need for #each_with_index
[17:53:20] havenwood: RubyRonin: consider #map
[17:53:49] havenwood: >> Tip = Struct.new(:title); tips = [Tip.new('click'), Tip.new('blink')]; tips.map { |tip| tip.title.slice(0..1) << '..' } # RubyRonin
[17:53:50] ruby[bot]: havenwood: # => ["cl..", "bl.."] (https://eval.in/613560)
[17:54:59] havenwood: RubyRonin: But instead of `<<` consider using interpolation like: "#{tip.title.slice(0..1)}.."
[17:55:16] Papierkorb: or just "#{tip.title[0..1]}..."
[17:55:23] gigetoo: has joined #ruby
[17:55:27] Uranio: has joined #ruby
[17:55:40] RubyRonin: will the current method work? or do I have to use interpolation?
[17:55:49] havenwood: Papierkorb: yeah, I prefer that too
[17:56:23] Papierkorb: RubyRonin: << will 'stop working' most likely with Ruby3, while the inerpolation will continue to work
[17:56:49] havenwood: >> Tip = Struct.new(:title); tip = Tip.new('oo'); tip.title << 'ps'; tip.title # RubyRonin
[17:56:50] ruby[bot]: havenwood: # => "oops" (https://eval.in/613561)
[17:56:58] baweaver: Papierkorb: Immutable strings?
[17:57:00] bweston92: Papierkorb - thanks it worked :)
[17:57:09] Papierkorb: baweaver: yes
[17:57:14] pawnbox: has joined #ruby
[17:57:39] nankyokusei: has joined #ruby
[17:57:44] Papierkorb: baweaver: Not mentioning that you can already have that behaviour with 2.3 :)
[17:57:54] Silthias1: has joined #ruby
[17:58:10] baweaver: I tend to avoid state change by default
[17:58:21] havenwood: Then you'll be able to use the + prefix for unfrozen: +'whee' << '!!'
[17:58:39] Rodya_: has joined #ruby
[17:58:49] havenwood: baweaver: here here!
[17:59:36] max1: has joined #ruby
[17:59:47] morfeen: has joined #ruby
[18:00:01] diegoviola: has joined #ruby
[18:00:04] hipertracker: has joined #ruby
[18:01:48] chipotle: has joined #ruby
[18:02:34] spider-mario: has joined #ruby
[18:03:08] whathappens: has joined #ruby
[18:03:22] zacstewart: has joined #ruby
[18:07:26] fmcgeough: has joined #ruby
[18:08:43] lxsameer: has joined #ruby
[18:10:27] hahuang65: has joined #ruby
[18:11:03] dunpeal: I have a Hash of the form {String: Integer}. How do I reorder the hash (or get an Array of keys) by the size of Integer?
[18:11:37] RegulationD: has joined #ruby
[18:13:20] Dimik: has joined #ruby
[18:13:56] Spami: has joined #ruby
[18:14:55] ChiefAlexander: has joined #ruby
[18:15:19] eam: >> {"a": 7, "b": 2, "c": 10}.sort {|a,b| a.last <=> b.last }
[18:15:20] ruby[bot]: eam: # => [[:b, 2], [:a, 7], [:c, 10]] (https://eval.in/613565)
[18:15:43] weaksauce: has joined #ruby
[18:15:47] rickmasta: has joined #ruby
[18:16:01] eam: more generally: iterate the key/val pairs and sort by value
[18:17:19] havenwood: >> {"a": 7, "b": 2, "c": 10}.sort_by(&:last).to_h
[18:17:20] havenwood: and a #to_h for good measure
[18:17:20] ruby[bot]: havenwood: # => {:b=>2, :a=>7, :c=>10} (https://eval.in/613567)
[18:17:33] Guest48905: has joined #ruby
[18:17:40] eam: oh right, hashes maintain insert order now
[18:17:49] havenwood: sort_by { |_, v| v }.to_h
[18:18:38] Vingador: has joined #ruby
[18:19:58] matp: has joined #ruby
[18:23:22] zacstewart: has joined #ruby
[18:23:44] blackmesa: has joined #ruby
[18:24:01] Alayde: has left #ruby: ("WeeChat 1.1.1")
[18:25:29] marxarelli: has joined #ruby
[18:26:45] chouhoul_: has joined #ruby
[18:26:53] symm-: has joined #ruby
[18:28:51] zeroDi: has joined #ruby
[18:29:42] k3rn31: has joined #ruby
[18:34:58] vuoto: has joined #ruby
[18:35:28] devoid: has joined #ruby
[18:35:44] sdothum: has joined #ruby
[18:35:57] vuoto: has joined #ruby
[18:36:41] postmodern: has joined #ruby
[18:38:14] pawnbox: has joined #ruby
[18:39:45] hipertracker: has joined #ruby
[18:39:48] chouhoulis: has joined #ruby
[18:41:03] skade: has joined #ruby
[18:41:03] hutch34_: has joined #ruby
[18:41:47] freeman1337: has joined #ruby
[18:42:34] flashpoint9: has joined #ruby
[18:42:56] chip_: has joined #ruby
[18:45:54] last_staff: has joined #ruby
[18:48:31] zacts: has joined #ruby
[18:49:25] hipertracker: has joined #ruby
[18:51:43] jaguarmagenta: has joined #ruby
[18:52:11] dunpeal: has joined #ruby
[18:52:18] nando293921: has joined #ruby
[18:53:05] rodferso1: has joined #ruby
[18:54:09] pawnbox: has joined #ruby
[18:54:09] KaliLinuxGR: has joined #ruby
[18:55:40] dunpeal: eam, havenwood: thanks
[18:56:25] Silthias: has joined #ruby
[18:56:41] [Butch]: has joined #ruby
[18:56:51] millerti: has joined #ruby
[18:57:41] zacts_raincity: has joined #ruby
[18:58:37] madsa_: has joined #ruby
[18:59:01] shadeslayer: has joined #ruby
[19:00:02] hahuang61: has joined #ruby
[19:00:27] agent_white: Afternoon folks
[19:00:29] zacts: has joined #ruby
[19:00:32] whathappens: has joined #ruby
[19:01:30] whathappens: has joined #ruby
[19:01:48] Spami: has joined #ruby
[19:02:28] voiter: has joined #ruby
[19:02:47] chouhoul_: has joined #ruby
[19:03:24] freerobby: has joined #ruby
[19:03:36] chouhoul_: has joined #ruby
[19:04:43] newbism: Help http://stackoverflow.com/questions/38644576/faraday-tokenauthentication
[19:05:36] kirun: has joined #ruby
[19:07:50] skade: has joined #ruby
[19:08:58] blackmesa: has joined #ruby
[19:09:23] Sammichmaker: has joined #ruby
[19:09:37] Torrone_1: has joined #ruby
[19:10:31] spudowiar: has joined #ruby
[19:10:48] plukevdh: has joined #ruby
[19:12:21] Kyle__: has joined #ruby
[19:12:26] jenrzzz: has joined #ruby
[19:16:00] dopamean_: has joined #ruby
[19:18:10] drbrain: newbism: I guess this line is the problem: c.use Faraday::Request::TokenAuthentication, :token => "9234bca04b2b9aaceab919770528af13a92447ff"
[19:18:24] drbrain: it should probably be : c.use Faraday::Request::TokenAuthentication, "9234bca04b2b9aaceab919770528af13a92447ff"
[19:18:39] Kyle__: Has anyone here used tdb? Or have any other suggestions for a mulit-open traditional (key-value) database?
[19:19:06] jaruga___: has joined #ruby
[19:21:18] zacts|pi: has joined #ruby
[19:23:29] newbism: drbrain: that gives me Authorization: Token token="9234bca04b2b9aaceab919770528af13a92447ff"
[19:23:38] tycoon177: has left #ruby: ()
[19:23:49] newbism: getting closer
[19:24:05] newbism: drbrain: needing Authorization: Token 9234bca04b2b9aaceab919770528af13a92447ff
[19:24:08] BTRE: has joined #ruby
[19:27:42] KCmetro: has joined #ruby
[19:30:28] tomchapin: has joined #ruby
[19:31:11] Papierkorb: cnk: Same here. Though, I'd be happy to allow self-hosted pastebins. I guess a blacklist would quickly build itself, and after the first phase, not much unexpected stuff will happen. Also, assuming that a newcomer is a horrible person, troll, whatever, is unfair and far from "being nice". All I want is decent enough syntax highlighting, and no annoying ads (Though I use adblockers). I'd like to make clear though, in the rule, that posting
[19:31:13] Papierkorb: screenshots of source code, shell output, etc. is "not acceptable"
[19:33:42] drbrain: newbism: you'll probably need to dig into faraday, then, I don't know it well
[19:34:00] elifoster: has joined #ruby
[19:34:02] KCmetro: has joined #ruby
[19:34:28] cevett: has joined #ruby
[19:35:55] KCmetro: has joined #ruby
[19:38:33] chouhoulis: has joined #ruby
[19:40:49] jenrzzz: has joined #ruby
[19:41:23] dunpeal: I have an 2-D Array [[1, 2], [3, 4]]. Can I somehow unpack it in such a way that I can do: arr.each {|a ,b| # a will be 1 then 3, b will be 2 then 4.
[19:41:39] newbism: I DID IT AHHHHH!
[19:41:43] newbism: thanks drbrain
[19:41:58] newbism: had the totally wrong class ... should be c.use Faraday::Request::Authorization, 'Token', "9234bca04b2b9aaceab919770528af13a92447ff"
[19:42:16] bluOxigen: has joined #ruby
[19:42:28] conta1: has joined #ruby
[19:42:41] adaedra: dunpeal: did you try just like that?
[19:43:15] mtkd: has joined #ruby
[19:43:37] al2o3-cr: dunpeal: arr.transpose.each { |a, b| ... }
[19:44:06] adaedra: https://eval.in/613590
[19:44:10] adaedra: dunpeal: ^
[19:44:11] al2o3-cr: not with it today
[19:44:11] dunpeal: that actuall works, yeah
[19:44:43] Spami: has joined #ruby
[19:45:41] adaedra: ACTION transposes al2o3-cr 
[19:46:23] mattwashere: has joined #ruby
[19:46:25] airdisa: has joined #ruby
[19:48:02] yardenbar: has joined #ruby
[19:48:08] roamingdog: has joined #ruby
[19:49:13] Spami_: has joined #ruby
[19:49:18] Dysp: has joined #ruby
[19:50:13] pawnbox: has joined #ruby
[19:50:54] Dysp: Hi there. When running a test I am parsing a file with RubyXL and I am returned what I expect. Everything succeeds. It's wonderful. But I am getting sooo many exceptions in the test; is this simply the gem that is bad?
[19:51:10] workmad3: has joined #ruby
[19:51:22] Dysp: Exception `NameError' at C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/rubyXL-3.3.21/lib/rubyXL/objects/ooxml_object.rb:16 - uninitialized class variable @@ooxml_attributes in RubyXL::CT_ObjectStyleDefaults
[19:51:27] Dysp: example.. Goes on and on.
[19:51:34] Dysp: But it does return what I expect and it does work.
[19:52:45] nankyokusei: has joined #ruby
[19:53:00] ecnalyr: has joined #ruby
[19:54:26] dagda1_: has joined #ruby
[19:54:38] karapetyan: has joined #ruby
[19:56:05] Spami: has joined #ruby
[19:57:54] roamingdog: has joined #ruby
[19:59:54] Rodya_: has joined #ruby
[20:00:26] chouhoul_: has joined #ruby
[20:02:58] skade: has joined #ruby
[20:03:06] jenrzzz_: has joined #ruby
[20:04:06] Rodya_: has joined #ruby
[20:07:32] chipotle: has joined #ruby
[20:07:57] jhack: has joined #ruby
[20:08:34] bluOxigen: has joined #ruby
[20:09:05] SilverKey: has joined #ruby
[20:09:45] mattwashere: has joined #ruby
[20:12:20] Spami_: has joined #ruby
[20:13:41] hotpancakes: has joined #ruby
[20:13:42] zacts_raincity: has joined #ruby
[20:14:35] Es0teric: has joined #ruby
[20:14:44] jetpackjoe: has joined #ruby
[20:15:00] binaryplease1: has joined #ruby
[20:16:56] Spami: has joined #ruby
[20:17:33] xpitr: hm is it normal that setting a variable inside erubis template is essentially a memory leak? it will never be removed from what i can tell
[20:18:09] Aria22: has joined #ruby
[20:18:14] chouhoulis: has joined #ruby
[20:18:34] Rodya_: has joined #ruby
[20:19:08] Spami_: has joined #ruby
[20:19:16] dionysus69: has joined #ruby
[20:20:08] replay: has joined #ruby
[20:20:38] xall: has joined #ruby
[20:21:20] Rodya_: has joined #ruby
[20:22:03] l4v2: has joined #ruby
[20:22:16] zacts_raincity: ruby rocks! (pun intended)
[20:22:40] cdg: has joined #ruby
[20:23:04] Spami: has joined #ruby
[20:23:18] cdg: has joined #ruby
[20:24:59] mattwashere: has joined #ruby
[20:25:08] jenrzzz: has joined #ruby
[20:25:08] jenrzzz: has joined #ruby
[20:26:52] mattwash_: has joined #ruby
[20:26:53] Coldblackice: has joined #ruby
[20:30:00] zacts: has joined #ruby
[20:30:31] hipertracker: has joined #ruby
[20:30:42] zacts|pi: has joined #ruby
[20:31:26] devoid: has joined #ruby
[20:31:54] Silthias: has joined #ruby
[20:33:05] hotpanca_: has joined #ruby
[20:33:40] zacts_raincity: has joined #ruby
[20:34:45] zacts: has joined #ruby
[20:35:06] roamingdog: has joined #ruby
[20:36:33] zacts_: has joined #ruby
[20:36:35] minotep: has joined #ruby
[20:37:04] dionysus69: has joined #ruby
[20:37:08] zacts|pi: has joined #ruby
[20:37:48] JakFrist: has joined #ruby
[20:38:15] zacts__: has joined #ruby
[20:39:02] zacts|pi: has joined #ruby
[20:39:09] hammond: has left #ruby: ()
[20:39:17] dionysus69: has joined #ruby
[20:40:36] dionysus69: has joined #ruby
[20:41:53] zacts: has joined #ruby
[20:44:21] Xiti: has joined #ruby
[20:44:23] hotpancakes: has joined #ruby
[20:44:29] davedev24: has joined #ruby
[20:44:32] AndrewIsHere: has joined #ruby
[20:44:41] MrBusiness3: has joined #ruby
[20:45:31] JakFrist: has joined #ruby
[20:46:11] p0p0pr37_: has joined #ruby
[20:47:06] roamingdog: has joined #ruby
[20:48:48] last_staff: has joined #ruby
[20:50:08] postmodern: has joined #ruby
[20:50:12] roamingdog: has joined #ruby
[20:50:28] NightMonkey: has joined #ruby
[20:51:26] rafadc: has joined #ruby
[20:53:23] wrkrcoop: has joined #ruby
[20:53:26] wrkrcoop: anyone use apigee? my company does and im wondering what is the main benefit of apigee? why not just let ppl hit our aws servers?
[20:53:44] ChiefAlexander: has joined #ruby
[20:55:14] _djbkd: has joined #ruby
[20:59:12] drbrain: wrkrcoop: as I understand it's part CDN part WAF
[20:59:27] drbrain: well, s/D/
[20:59:31] mattwashere: has joined #ruby
[20:59:31] wrkrcoop: drbrain: waf?
[20:59:38] drbrain: Web Application Firewall
[20:59:38] dionysus69: has joined #ruby
[21:00:08] wrkrcoop: how does it act as a firewall?
[21:00:08] ur5us: has joined #ruby
[21:00:29] drbrain: if it's the same one that I looked into some years ago it can look at incoming requests and make sure they're well-formed
[21:00:40] FernandoBasso: has joined #ruby
[21:00:46] hahuang61: has joined #ruby
[21:01:56] wrkrcoop: drbrain: oh interesting
[21:02:08] jenrzzz: has joined #ruby
[21:02:08] jenrzzz: has joined #ruby
[21:03:03] mattwash_: has joined #ruby
[21:04:23] drbrain: wrkrcoop: I got distracted by something else before really diving into what it could do
[21:04:31] drbrain: or how terrible setting it up through the UI seemed to be
[21:05:55] dagda1: has joined #ruby
[21:06:03] rafadc: has joined #ruby
[21:06:34] blackmesa: has joined #ruby
[21:07:18] OlegWock: has joined #ruby
[21:07:39] Guest48905: has joined #ruby
[21:08:36] roamingdog: has joined #ruby
[21:10:02] duderonomy: has joined #ruby
[21:11:05] hotpancakes: has joined #ruby
[21:11:13] crystal77: has joined #ruby
[21:12:14] soLucien: has joined #ruby
[21:12:40] Silthias1: has joined #ruby
[21:13:59] flashpoint9: has joined #ruby
[21:14:01] kavanagh: has joined #ruby
[21:15:30] Madplatypus: has joined #ruby
[21:15:41] brianpWins: has joined #ruby
[21:18:45] baweaver: The idea is that if they have direct access instead of having to route a point of presence, a DDoS is far easier
[21:19:35] baweaver: has left #ruby: ("Textual IRC Client: www.textualapp.com")
[21:19:42] baweaver: has joined #ruby
[21:19:58] baweaver: Akami is the name I hear a lot on it
[21:20:08] adaoraul: has joined #ruby
[21:20:25] drbrain: it seemed like a good CDN (*cough* like Fastly *cough) would be a better choice
[21:22:44] macsteps: has joined #ruby
[21:22:56] baweaver: When you end up at our scale, Point of Presence systems are necessary.
[21:23:04] baweaver: as well as CDNs
[21:23:16] baweaver: DDoS's are no fun
[21:24:47] baweaver: the main reason is that if your data sources or authentication systems are publicly accessible you're hosed.
[21:25:19] drbrain: need a secure connection from CDN to origin servers
[21:25:47] drbrain: since the CDN keeps you from getting DDoSed by regular traffic
[21:26:03] last_staff: has joined #ruby
[21:26:10] nando293921: has joined #ruby
[21:26:37] OlegWock: has left #ruby: ("Leaving")
[21:27:07] Guest48905: has joined #ruby
[21:28:25] flashpoint9: has joined #ruby
[21:29:26] kegster: so this may be an odd question, but i'm running ruby scripts via an API through a console that doesn't allow including 3rd party modules, etc. If i pass the "data" var and log it, i get "{ itemGuid: 'ab659529-f163-4256-b269-5070412fe2d2' }" --- but I have tried data[:itemGuid] and data.itemGuid but get undefined each time. any ideas?
[21:31:15] kegster: i didn't think you could do data['itemGuid']
[21:31:19] kegster: backto the docs for me haha
[21:32:55] byteflame: has joined #ruby
[21:33:46] jdawgaz: has joined #ruby
[21:33:57] adaedra: 'itemGuid' and :itemGuid are two different values
[21:34:13] adaedra: but in your sample, I'd have gone for :itemGuid
[21:35:05] djbkd_: has joined #ruby
[21:36:30] byteflame: has joined #ruby
[21:37:29] xall: has joined #ruby
[21:37:36] byteflame: has joined #ruby
[21:39:00] byteflame: has joined #ruby
[21:39:03] strigonLeader: has joined #ruby
[21:39:13] byteflame: has joined #ruby
[21:40:33] drbrain: I wonder how the serialize that output
[21:40:39] drbrain: it's not json and it's not inspect
[21:42:10] karapetyan: has joined #ruby
[21:42:21] byteflame: has joined #ruby
[21:43:46] kavanagh: has joined #ruby
[21:43:59] byteflame: has joined #ruby
[21:46:06] Rodya_: has joined #ruby
[21:49:03] pandaant: has joined #ruby
[21:49:11] zeroDi: has joined #ruby
[21:51:13] der-landgraf: has joined #ruby
[21:53:05] Torkable: has joined #ruby
[21:53:36] nankyokusei: has joined #ruby
[21:53:48] Torkable: im trying to add a delete route and I can't get it to provide the id
[21:54:13] Silthias: has joined #ruby
[21:54:14] Torkable: DELETE /todo_lists/:todo_list_id/todo_items/:id(.:format) todo_items#destroy
[21:54:18] Torkable: so I have the route
[21:54:21] astrobunny: has joined #ruby
[21:54:50] Torkable: and I have DELETE /todo_lists/:todo_list_id/todo_items/:id(.:format) todo_items#destroy
[21:55:01] spudowiar: has joined #ruby
[21:55:21] hotpancakes: has joined #ruby
[21:56:25] Torkable: <% link_to "Delete", @todo_items, :method => :delete, :id => todo_item %>
[21:56:33] Torkable: and when I click the delete button
[21:56:44] Torkable: No route matches [DELETE] "/todo_lists/2/todo_items"
[21:56:57] Torkable: so it looks like its missing the id at the end
[21:57:26] Torkable: how do get that item id on there
[21:58:31] apeiros: ?rails Torkable
[21:58:31] ruby[bot]: Torkable: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
[21:59:49] wrkrcoop: thanks drbrain
[21:59:50] yfeldblum: has joined #ruby
[22:01:25] karapetyan: has joined #ruby
[22:01:48] hotpancakes: has joined #ruby
[22:01:56] Silthias: has joined #ruby
[22:01:57] nankyokusei: has joined #ruby
[22:04:50] Torkable: this is view
[22:04:50] Torkable: http://pastebin.com/mFdV6y1i
[22:04:51] ruby[bot]: Torkable: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/2c05207f3a3570f17c16c869ec107b16
[22:04:51] ruby[bot]: Torkable: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
[22:05:18] Torkable: when I click delete I get error
[22:05:28] Torkable: No route matches [DELETE] "/todo_lists/2/todo_items"
[22:05:29] wrkrcoop: has joined #ruby
[22:05:36] Torkable: so its missing the id needed at the end
[22:05:48] Torkable: oops wrong room
[22:05:52] ule: Hello guys
[22:06:09] ule: foo = [a, b, c, d]
[22:06:16] ule: using foo.last I can get `d`
[22:06:21] ule: how can I get `c` ?
[22:06:44] ule: my hero
[22:06:51] ule: I was trying foo.last(2)
[22:09:54] Derperperd: has joined #ruby
[22:10:40] whathappens: has joined #ruby
[22:11:17] flashpoint9: has joined #ruby
[22:12:41] mostlybadfly: has joined #ruby
[22:13:43] tubuliferous: has joined #ruby
[22:15:46] jdawgaz: has joined #ruby
[22:16:47] ule: thanks! it worked
[22:18:36] Rodya_: has joined #ruby
[22:19:01] hotpancakes: has joined #ruby
[22:26:56] kegster: drbrain, yeah data['itemGuid'] is what i had to use lol. i barely started ruby not long ago, but barely use it. i just use it briefly to interact and extend an api. it's basic usage, however when i learned [:foo] i just figured ['foo'] didn't work with ruby lmao. crazy.
[22:27:17] kegster: what's the technical difference between doing 'foo' or :foo ?
[22:27:46] adaoraul: 'foo' is a string and :foo is a symbol
[22:28:29] adaoraul: try 'foo' == :foo and you will see
[22:28:51] drbrain: kegster: what's strange is this:
[22:29:10] drbrain: >> { 'itemGuid' => 'some value' }.inspect
[22:29:11] ruby[bot]: drbrain: # => "{\"itemGuid\"=>\"some value\"}" (https://eval.in/613647)
[22:29:22] drbrain: ↑ ruby prints a hash-arrow (=>)
[22:29:44] kegster: being new to ruby, how is that strange in ruby eyes?
[22:30:07] tomchapin: has joined #ruby
[22:30:13] drbrain: the output you logged was { itemGuid: 'ab659529-f163-4256-b269-5070412fe2d2' }
[22:30:29] drbrain: which isn't a form of serialization that ruby uses by default
[22:30:41] drbrain: somebody wrote custom code to output ↑
[22:31:21] tAn: has joined #ruby
[22:32:17] sdothum: has joined #ruby
[22:36:41] kegster: yeah it was sent from the API so who knows
[22:36:46] kegster: i see why the confusion now.
[22:36:50] macsteps: has joined #ruby
[22:36:54] kegster: it was more of a "i had to guess" heh
[22:37:16] kegster: is there a reason to use data['foo'] versus data[:foo] ?
[22:37:39] kegster: data['foo'] = 'kegster' vs. data[:foo] = 'kegster
[22:37:43] kegster: why have both? heh
[22:38:15] adaoraul: because you have 2 different keys in the Hash
[22:38:22] xpitr: symbols are better for this. but json or yaml will decode to 'foo' not :foo usually
[22:39:14] Regulati_: has joined #ruby
[22:40:12] xpitr: JSON.load(JSON.dump({:foo => :bar}))
[22:40:28] chipotle_: has joined #ruby
[22:41:12] flashpoint9: has joined #ruby
[22:45:57] mattwashere: has joined #ruby
[22:47:40] nettoweb: has joined #ruby
[22:49:35] yfeldblum: has joined #ruby
[22:52:47] mattwashere: has joined #ruby
[22:53:58] drbrain: if you're going to send your hashes to other programs just use strings
[22:56:02] weemsledeux: has joined #ruby
[22:57:22] yfeldblum: has joined #ruby
[23:00:02] flashpoint9: has joined #ruby
[23:00:23] kenichi: >> YAML.load(":foo: bar")
[23:00:24] ruby[bot]: kenichi: # => uninitialized constant YAML (NameError) ...check link for more (https://eval.in/613649)
[23:00:30] kenichi: >> require 'yaml'; YAML.load(":foo: bar")
[23:00:32] ruby[bot]: kenichi: # => {:foo=>"bar"} (https://eval.in/613650)
[23:01:12] Duracell: has joined #ruby
[23:01:33] hahuang61: has joined #ruby
[23:02:31] spudowiar: has joined #ruby
[23:03:41] ur5us: has joined #ruby
[23:03:45] rafadc: has joined #ruby
[23:05:19] jackjackdripper1: has joined #ruby
[23:05:26] nfk: has joined #ruby
[23:08:55] rafadc: has joined #ruby
[23:10:07] zacts: has joined #ruby
[23:11:04] mattwildig: has joined #ruby
[23:15:46] mattwashere: has joined #ruby
[23:19:23] etetz: has joined #ruby
[23:20:35] zacts: has joined #ruby
[23:29:57] symm-: has joined #ruby
[23:30:51] der-landgraf: has joined #ruby
[23:31:42] ruby[bot]: -b *!*@unaffiliated/b4rbz$#ruby-banned
[23:32:42] tomchapin: has joined #ruby
[23:32:46] skade: has joined #ruby
[23:35:52] Coldblackice_: has joined #ruby
[23:37:06] SilverKey: has joined #ruby
[23:41:43] whathappens: has joined #ruby
[23:42:36] preyalone: has joined #ruby
[23:43:08] flashpoint9: has joined #ruby
[23:46:13] wrkrcoop: has joined #ruby
[23:52:59] hipertracker: has joined #ruby
[23:54:07] Rodya_: has joined #ruby
[23:56:41] xall: has joined #ruby
[23:56:55] Guest48905: has joined #ruby