« Back to channel list

#ruby - 25 March 2017

« Back 1 day Forward 1 day »
[00:00:59] JeanCarloMachado: has joined #ruby
[00:03:15] bmurt: has joined #ruby
[00:06:19] blackmesa: has joined #ruby
[00:06:50] olivier__: has joined #ruby
[00:07:15] olivier__: has joined #ruby
[00:07:54] cagomez: has joined #ruby
[00:07:59] zenguy_pc: has joined #ruby
[00:08:15] olivier__: has joined #ruby
[00:10:15] olivier__: has joined #ruby
[00:10:19] cagomez: has joined #ruby
[00:11:15] olivier__: has joined #ruby
[00:12:42] brent__: has joined #ruby
[00:13:40] AndBobsYourUncle: has joined #ruby
[00:16:05] __Yiota: has joined #ruby
[00:17:52] knight33: has joined #ruby
[00:20:50] tvw: has joined #ruby
[00:24:53] Axsuul: has joined #ruby
[00:32:08] nachoman: has joined #ruby
[00:34:17] jenrzzz: has joined #ruby
[00:35:37] gnufied: has joined #ruby
[00:37:48] aaooki: has joined #ruby
[00:37:48] charliesome: has joined #ruby
[00:38:08] brent__: has joined #ruby
[00:42:12] olivier__: has joined #ruby
[00:42:19] rakm: has joined #ruby
[00:43:50] SteenJobs: has joined #ruby
[00:44:39] armyriad: has joined #ruby
[00:45:56] ledestin: has joined #ruby
[00:50:00] Kallis: has joined #ruby
[00:56:51] naprimer_2: has joined #ruby
[00:59:11] Jameser: has joined #ruby
[01:05:24] arescorpio: has joined #ruby
[01:05:55] jenrzzz: has joined #ruby
[01:05:55] jenrzzz: has joined #ruby
[01:11:55] hutch34_: has joined #ruby
[01:15:32] __Yiota: has joined #ruby
[01:16:39] rhyselsmore: has joined #ruby
[01:19:18] Verity: has joined #ruby
[01:21:43] enterprisey: has joined #ruby
[01:26:29] Beverage: has joined #ruby
[01:26:52] electrostat: has joined #ruby
[01:28:45] joneshf-laptop: has joined #ruby
[01:30:56] cyphase: has joined #ruby
[01:34:18] __Yiota: has joined #ruby
[01:37:54] electrostat: has joined #ruby
[01:42:52] cagomez: has joined #ruby
[01:44:19] thadtheman: has joined #ruby
[01:44:52] SteenJobs: has joined #ruby
[01:46:21] rhyselsmore: has joined #ruby
[01:47:13] duckpupp1: has joined #ruby
[01:47:32] Jameser: has joined #ruby
[01:49:12] SteenJobs_: has joined #ruby
[01:59:42] tenderlove: has joined #ruby
[02:02:43] Pumukel: has joined #ruby
[02:04:52] nobitanobi: has joined #ruby
[02:16:12] nobitanobi: has joined #ruby
[02:17:30] d^sh: has joined #ruby
[02:23:41] roflmyeggo: has joined #ruby
[02:34:33] JoshS: has joined #ruby
[02:35:14] olivier__: has joined #ruby
[02:42:32] hutch34_: has joined #ruby
[02:44:48] pwnd_nsfw: has joined #ruby
[02:47:17] duckpupp1: has joined #ruby
[02:56:51] davorb: has joined #ruby
[03:02:19] patarr: has joined #ruby
[03:04:55] milardovich: has joined #ruby
[03:05:06] libastral: has joined #ruby
[03:12:55] tenderlove: has joined #ruby
[03:19:38] optiz0r: has joined #ruby
[03:20:14] milardovich: has joined #ruby
[03:29:28] cyphase: has joined #ruby
[03:30:23] spicerack: has joined #ruby
[03:36:37] Verity: matthewd, this is so strange
[03:37:05] Verity: if I exit after a puts
[03:37:08] Verity: the output is different
[03:38:41] matthewd: Different how?
[03:39:22] allisio: Truncated, presumably.
[03:39:37] Verity: yes, there is output beyond whgat I even told it to print
[03:39:41] Verity: if I dont exit
[03:40:16] Verity: or am I seeing it again... hmm
[03:40:18] Verity: what on earth
[03:40:20] matthewd: Code and output, please
[03:40:23] Verity: still wroking this out
[03:40:34] latino31: has joined #ruby
[03:41:33] Verity: I have some idea whats happening now, brb
[03:43:14] gusrub: has joined #ruby
[03:43:28] SeepingN: has joined #ruby
[03:44:36] astronavt: has joined #ruby
[03:48:45] jair: has joined #ruby
[03:49:28] jair: hello all I downloaded this script that suppose to help download videos on my oreilly account. https://github.com/jasonirwin/oreilly-downloader
[03:51:05] jair: however when I run the .rb script using rubby I get an error: http://paste.debian.net/924264/
[03:51:10] Verity: I guess I need one more hint, matthewd =\
[03:51:16] Verity: I'm getting insanely stressed
[03:51:29] jair: any hint or feedback is appreciated.
[03:51:31] Verity: there are things happening I dont understand, either
[03:51:44] adam12: jair: You need the mechanize gem. `gem install mechanize`
[03:52:02] adam12: You might need to use gem2.3, looking at your ruby binary name.
[03:52:05] jair: adam12: ohh thanks, let me give it a try
[03:52:19] matthewd: Verity: `p SOH`, at the top of the loop
[03:52:23] jair: I actually run the ruby2.3 command
[03:52:34] jair: adam12: let me give it a try
[03:52:40] Verity: I did notice the var isnt seeming to reset
[03:52:44] Verity: or what I think of as that
[03:52:48] Verity: let me try this p SOH
[03:52:57] Verity: I put in puts evcerr other line
[03:53:44] Verity: I dont get it
[03:53:49] ubhymyvq: has joined #ruby
[03:53:50] pwfsuz: has joined #ruby
[03:53:50] ubhymyvq: ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ naprimer_2: FRIDAY NIGHT CHAT PARTY GOING ON NOW AT A NEW TOR IRC quicktalkeh676te.onion/6697 ▄▄▄▄▄▄▄▄▄▄▄▄▄▄
[03:53:50] ubhymyvq: has left #ruby: ()
[03:53:51] pwfsuz: ACTION ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ SeepingN: FRIDAY NIGHT CHAT PARTY GOING ON NOW AT A NEW TOR IRC quicktalkeh676te.onion/6697 ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
[03:53:51] ubhymyvq: has joined #ruby
[03:53:52] Verity: over a certain lenght it starts doubling them up
[03:53:52] pwfsuz: ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ joneshf-laptop: FRIDAY NIGHT CHAT PARTY GOING ON NOW AT A NEW TOR IRC quicktalkeh676te.onion/6697 ▄▄▄▄▄▄▄▄▄▄
[03:53:53] nkhyh: has joined #ruby
[03:53:53] iastm: has joined #ruby
[03:53:54] pwfsuz: ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ tenderlove: FRIDAY NIGHT CHAT PARTY GOING ON NOW AT A NEW TOR IRC quicktalkeh676te.onion/6697 ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
[03:53:54] nkhyh: ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ d^sh: FRIDAY NIGHT CHAT PARTY GOING ON NOW AT A NEW TOR IRC quicktalkeh676te.onion/6697 ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
[03:53:54] pwfsuz: ACTION ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ astronavt: FRIDAY NIGHT CHAT PARTY GOING ON NOW AT A NEW TOR IRC quicktalkeh676te.onion/6697 ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
[03:53:55] ihkji: has joined #ruby
[03:53:55] agueh: has joined #ruby
[03:53:55] rxrwaz: has joined #ruby
[03:53:55] tlptvbl: has joined #ruby
[03:53:55] dyxokcko: has joined #ruby
[03:53:55] Verity: and when I print one packe,t it looks like 2
[03:53:56] tlptvbl: ACTION ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ lheaded: FRIDAY NIGHT CHAT PARTY GOING ON NOW AT A NEW TOR IRC quicktalkeh676te.onion/6697 ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
[03:53:56] tlptvbl: ▄▄▄▄▄▄▄▄▄▄▄▄▄ thadtheman: FRIDAY NIGHT CHAT PARTY GOING ON NOW AT A NEW TOR IRC quicktalkeh676te.onion/6697 ▄▄▄▄▄▄▄▄▄▄▄
[03:53:57] kmtxka: has left #ruby: ()
[03:53:58] hzsctx: has joined #ruby
[03:53:58] yvmpfgk: has joined #ruby
[03:53:58] bvibfd: has joined #ruby
[03:53:59] tlptvbl: has left #ruby: ()
[03:53:59] mdebnuur: has left #ruby: ()
[03:53:59] ouoifnat: has left #ruby: ()
[03:54:00] euqtc: has joined #ruby
[03:54:00] mrtimcpe: has joined #ruby
[03:54:00] qmfaf: has joined #ruby
[03:54:00] pkjnrkd: has joined #ruby
[03:54:00] ruymavp: has joined #ruby
[03:54:00] raztudir: has joined #ruby
[03:54:00] bllcivk: has joined #ruby
[03:54:00] kmtxka: has joined #ruby
[03:54:02] mdebnuur: has joined #ruby
[03:54:03] ouoifnat: has joined #ruby
[03:54:03] tlptvbl: has joined #ruby
[03:54:03] hmayr: has joined #ruby
[03:54:03] qwzzcv: has joined #ruby
[03:54:03] mdebnuur: has left #ruby: ()
[03:54:03] bllcivk: has left #ruby: ()
[03:54:05] gkrnjezh: has joined #ruby
[03:54:05] lzquiqjo: has joined #ruby
[03:54:05] ptuaxu: has joined #ruby
[03:54:05] bzyyuhma: has joined #ruby
[03:54:05] jharoq: has joined #ruby
[03:54:05] ygmmyow: has joined #ruby
[03:54:05] bhozzd: has joined #ruby
[03:54:05] korfzn: has joined #ruby
[03:54:05] cfzgx: has joined #ruby
[03:54:06] mdebnuur: has joined #ruby
[03:54:06] ouoifnat: has left #ruby: ()
[03:54:06] qnuxoh: has joined #ruby
[03:54:06] mdebnuur: has left #ruby: ()
[03:54:07] bvibfd: has left #ruby: ()
[03:54:07] qnuxoh: has left #ruby: ()
[03:54:07] bllcivk: has joined #ruby
[03:54:07] bllcivk: has left #ruby: ()
[03:54:08] frmqmx: ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ pwnd_nsfw: FRIDAY NIGHT CHAT PARTY GOING ON NOW AT A NEW TOR IRC quicktalkeh676te.onion/6697 ▄▄▄▄▄▄▄▄▄▄▄▄▄
[03:54:08] ommhz: ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ naprimer_2: FRIDAY NIGHT CHAT PARTY GOING ON NOW AT A NEW TOR IRC quicktalkeh676te.onion/6697 ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
[03:54:08] bvibfd: has joined #ruby
[03:54:08] lniqpiah: ▄▄▄▄▄▄▄▄▄▄▄ avrelaun: FRIDAY NIGHT CHAT PARTY GOING ON NOW AT A NEW TOR IRC quicktalkeh676te.onion/6697 ▄▄▄▄▄▄▄▄▄▄▄▄
[03:54:08] bllcivk: has joined #ruby
[03:54:08] kghhtfp: ▄▄▄▄▄▄▄▄▄▄▄▄ avrelaun: FRIDAY NIGHT CHAT PARTY GOING ON NOW AT A NEW TOR IRC quicktalkeh676te.onion/6697 ▄▄▄▄▄▄▄▄▄▄▄
[03:54:08] frmqmx: ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ davorb: FRIDAY NIGHT CHAT PARTY GOING ON NOW AT A NEW TOR IRC quicktalkeh676te.onion/6697 ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
[03:54:08] nodou: ACTION ▄▄▄▄▄▄▄▄▄▄▄▄▄ cyphase: FRIDAY NIGHT CHAT PARTY GOING ON NOW AT A NEW TOR IRC quicktalkeh676te.onion/6697 ▄▄▄▄▄▄▄▄▄▄▄▄▄
[03:54:08] kdiiikiu: has joined #ruby
[03:54:08] popim: ▄▄▄▄▄▄▄▄▄▄▄▄ ubhymyvq: FRIDAY NIGHT CHAT PARTY GOING ON NOW AT A NEW TOR IRC quicktalkeh676te.onion/6697 ▄▄▄▄▄▄▄▄▄▄▄▄▄
[03:54:09] bllcivk: has left #ruby: ()
[03:54:09] qnuxoh: has joined #ruby
[03:54:10] jexgw: has joined #ruby
[03:54:10] hnxkw: has joined #ruby
[03:54:10] qfcpke: has joined #ruby
[03:54:10] czkxnd: has joined #ruby
[03:54:10] opvbdlzu: has joined #ruby
[03:54:10] cousnb: has joined #ruby
[03:54:10] jhmvuok: has joined #ruby
[03:54:10] uhojcrt: has joined #ruby
[03:54:11] khlernai: has left #ruby: ()
[03:54:11] khlernai: has joined #ruby
[03:54:11] qwzzcv: has left #ruby: ()
[03:54:11] jharoq: has left #ruby: ()
[03:54:11] popim: has left #ruby: ()
[03:54:11] bzyyuhma: has left #ruby: ()
[03:54:11] ruymavp: has left #ruby: ()
[03:54:14] vondruch: has joined #ruby
[03:54:19] ylmzknfl: has left #ruby: ()
[03:54:19] psyjydi: has joined #ruby
[03:54:19] mrtimcpe: has left #ruby: ()
[03:54:19] mrtimcpe: has joined #ruby
[03:54:19] owahva: has left #ruby: ()
[03:54:19] owahva: has joined #ruby
[03:54:19] ruymavp: has joined #ruby
[03:54:19] ruymavp: has left #ruby: ()
[03:54:19] ruymavp: has joined #ruby
[03:54:20] jharoq: has joined #ruby
[03:54:20] popim: has joined #ruby
[03:54:20] azkxbwk: has left #ruby: ()
[03:54:20] lniqpiah: has left #ruby: ()
[03:54:20] lniqpiah: has joined #ruby
[03:54:20] bllcivk: has joined #ruby
[03:54:20] bllcivk: has left #ruby: ()
[03:54:20] bzyyuhma: has joined #ruby
[03:54:20] tzwedul: has joined #ruby
[03:54:20] korfzn: has left #ruby: ()
[03:54:21] ygmmyow: has left #ruby: ()
[03:54:21] qwzzcv: has joined #ruby
[03:54:21] igetfvr: has joined #ruby
[03:54:21] opvbdlzu: has left #ruby: ()
[03:54:21] ptuaxu: has left #ruby: ()
[03:54:21] korfzn: has joined #ruby
[03:54:22] jexgw: has left #ruby: ()
[03:54:22] qfcpke: ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ korfzn: FRIDAY NIGHT CHAT PARTY GOING ON NOW AT A NEW TOR IRC quicktalkeh676te.onion/6697 ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
[03:54:22] czkxnd: has left #ruby: ()
[03:54:22] czkxnd: has joined #ruby
[03:54:22] opvbdlzu: has joined #ruby
[03:54:22] jhmvuok: has left #ruby: ()
[03:54:22] uhojcrt: has left #ruby: ()
[03:54:22] ygmmyow: has joined #ruby
[03:54:22] jexgw: has joined #ruby
[03:54:22] qfcpke: has left #ruby: ()
[03:54:23] cousnb: has left #ruby: ()
[03:54:23] jhmvuok: has joined #ruby
[03:54:23] jhmvuok: ACTION ▄▄▄▄▄▄▄▄▄▄▄ hmayr: FRIDAY NIGHT CHAT PARTY GOING ON NOW AT A NEW TOR IRC quicktalkeh676te.onion/6697 ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
[03:54:23] xlxhgbvx: ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ Yonk_: FRIDAY NIGHT CHAT PARTY GOING ON NOW AT A NEW TOR IRC quicktalkeh676te.onion/6697 ▄▄▄▄▄▄▄▄▄▄▄▄▄▄
[03:54:23] Verity: does this sort of thing happen here often?
[03:54:23] gujsdd: has joined #ruby
[03:54:23] cousnb: has joined #ruby
[03:54:23] uhojcrt: has joined #ruby
[03:54:23] gboalhj: has left #ruby: ()
[03:54:24] aydqwoxd: has joined #ruby
[03:54:24] qfcpke: has joined #ruby
[03:54:24] czkxnd: has left #ruby: ()
[03:54:24] hqqxw: has left #ruby: ()
[03:54:24] xlxhgbvx: has left #ruby: ()
[03:54:24] gboalhj: has joined #ruby
[03:54:25] xxwgoe: has joined #ruby
[03:54:25] qhxyaft: has joined #ruby
[03:54:25] czkxnd: has joined #ruby
[03:54:26] jexgw: has left #ruby: ()
[03:54:26] hqqxw: has joined #ruby
[03:54:26] xlxhgbvx: has joined #ruby
[03:54:26] xfhmwmu: has left #ruby: ()
[03:54:26] zzwpkbb: has joined #ruby
[03:54:26] nwkmez: has joined #ruby
[03:54:26] fnouhus: has joined #ruby
[03:54:28] tzeghnen: has left #ruby: ()
[03:54:28] iabhka: has left #ruby: ()
[03:54:28] xxwgoe: has left #ruby: ()
[03:54:28] tzeghnen: has joined #ruby
[03:54:29] yxsplpuv: has joined #ruby
[03:54:29] jvpci: has joined #ruby
[03:54:29] xxwgoe: has joined #ruby
[03:54:29] bhjnhl: has left #ruby: ()
[03:54:29] nwkmez: has left #ruby: ()
[03:54:30] iabhka: has joined #ruby
[03:54:30] yxsplpuv: has left #ruby: ()
[03:54:31] jvpci: has left #ruby: ()
[03:54:31] nwkmez: has joined #ruby
[03:54:31] xcpxon: has left #ruby: ()
[03:54:31] bhjnhl: has joined #ruby
[03:54:31] yxsplpuv: has joined #ruby
[03:54:31] jvpci: has joined #ruby
[03:54:31] xcpxon: has joined #ruby
[03:54:32] owvjzds: has joined #ruby
[03:54:32] mkukx: has joined #ruby
[03:54:32] nwkmez: has left #ruby: ()
[03:54:33] yxsplpuv: ▄▄▄▄▄▄▄▄▄▄▄ vondruch: FRIDAY NIGHT CHAT PARTY GOING ON NOW AT A NEW TOR IRC quicktalkeh676te.onion/6697 ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
[03:54:33] cdbxg: has left #ruby: ()
[03:54:33] gtafl: ACTION ▄▄▄▄▄▄▄▄▄▄ Beverage: FRIDAY NIGHT CHAT PARTY GOING ON NOW AT A NEW TOR IRC quicktalkeh676te.onion/6697 ▄▄▄▄▄▄▄▄▄▄▄
[03:54:34] yxsplpuv: ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ thadtheman: FRIDAY NIGHT CHAT PARTY GOING ON NOW AT A NEW TOR IRC quicktalkeh676te.onion/6697 ▄▄▄▄▄▄▄▄▄▄
[03:54:34] xveko: ACTION ▄▄▄▄▄▄▄▄▄▄▄ enterprisey: FRIDAY NIGHT CHAT PARTY GOING ON NOW AT A NEW TOR IRC quicktalkeh676te.onion/6697 ▄▄▄▄▄▄▄▄▄▄▄▄
[03:54:34] nwkmez: has joined #ruby
[03:54:34] cdbxg: has joined #ruby
[03:54:35] cucylu: has joined #ruby
[03:54:35] llcoefm: has joined #ruby
[03:54:35] rwsnhxl: has joined #ruby
[03:54:35] ngselhwc: has joined #ruby
[03:54:35] caaiacg: has joined #ruby
[03:54:35] mmufafma: has joined #ruby
[03:54:35] ocvuhsnm: has joined #ruby
[03:54:35] qapigbq: has joined #ruby
[03:54:35] pxddv: has left #ruby: ()
[03:54:36] bhjnhl: has left #ruby: ()
[03:54:36] llcoefm: has left #ruby: ()
[03:54:36] yxsplpuv: has left #ruby: ()
[03:54:36] nwkmez: has left #ruby: ()
[03:54:36] elomatreb: Verity: Not normally, not anymore at least
[03:54:37] llcoefm: has joined #ruby
[03:54:37] isbflf: has joined #ruby
[03:54:37] pxddv: has joined #ruby
[03:54:37] bhjnhl: has joined #ruby
[03:54:37] mkukx: has left #ruby: ()
[03:54:38] rwsnhxl: has left #ruby: ()
[03:54:38] llcoefm: has left #ruby: ()
[03:54:38] aatznmzf: has joined #ruby
[03:54:38] xveko: has left #ruby: ()
[03:54:38] mkukx: has joined #ruby
[03:54:38] rwsnhxl: has joined #ruby
[03:54:39] zibtwwq: has joined #ruby
[03:54:39] fuheentt: has left #ruby: ()
[03:54:39] nwkmez: has joined #ruby
[03:54:39] xcpxon: has left #ruby: ()
[03:54:39] bhjnhl: has left #ruby: ()
[03:54:40] fuheentt: has joined #ruby
[03:54:40] xveko: has joined #ruby
[03:54:40] pxddv: has left #ruby: ()
[03:54:40] jfwnlxc: has left #ruby: ()
[03:54:40] qjatjld: has joined #ruby
[03:54:41] mmufafma: has left #ruby: ()
[03:54:41] aatznmzf: has left #ruby: ()
[03:54:41] tbggjvp: has left #ruby: ()
[03:54:41] xcpxon: has joined #ruby
[03:54:41] bhjnhl: has joined #ruby
[03:54:41] jfwnlxc: has joined #ruby
[03:54:42] btuigdxz: has left #ruby: ()
[03:54:42] mmufafma: has joined #ruby
[03:54:42] pxddv: has joined #ruby
[03:54:42] jfwnlxc: has left #ruby: ()
[03:54:43] ngselhwc: has left #ruby: ()
[03:54:43] tbggjvp: has joined #ruby
[03:54:43] jfwnlxc: has joined #ruby
[03:54:43] cucylu: has left #ruby: ()
[03:54:43] mupvbcyj: has left #ruby: ()
[03:54:43] ngselhwc: has joined #ruby
[03:54:44] ngselhwc: has left #ruby: ()
[03:54:44] zwjoxz: has joined #ruby
[03:54:44] gtafl: has left #ruby: ()
[03:54:44] mupvbcyj: has joined #ruby
[03:54:44] qapigbq: has left #ruby: ()
[03:54:45] vhtyaz: has joined #ruby
[03:54:45] yltap: has joined #ruby
[03:54:45] ywcfv: has joined #ruby
[03:54:45] cucylu: has joined #ruby
[03:54:45] zwjoxz: ▄▄▄▄▄▄▄▄▄▄▄▄▄▄ sneakerhax: FRIDAY NIGHT CHAT PARTY GOING ON NOW AT A NEW TOR IRC quicktalkeh676te.onion/6697 ▄▄▄▄▄▄▄▄▄▄▄▄▄▄
[03:54:45] uhiegq: has left #ruby: ()
[03:54:45] pxddv: ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ joneshf-laptop: FRIDAY NIGHT CHAT PARTY GOING ON NOW AT A NEW TOR IRC quicktalkeh676te.onion/6697 ▄▄▄▄▄▄▄▄▄▄
[03:54:45] gtafl: has joined #ruby
[03:54:46] vhtyaz: has left #ruby: ()
[03:54:46] djhmlog: has joined #ruby
[03:54:46] zuviqm: has left #ruby: ()
[03:54:46] jfwnlxc: ACTION ▄▄▄▄▄▄▄▄▄▄▄▄ naprimer_2: FRIDAY NIGHT CHAT PARTY GOING ON NOW AT A NEW TOR IRC quicktalkeh676te.onion/6697 ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
[03:54:46] vhtyaz: has joined #ruby
[03:54:46] uhiegq: has joined #ruby
[03:54:46] ngselhwc: has joined #ruby
[03:54:47] sjndgovp: has joined #ruby
[03:54:47] fuheentt: has left #ruby: ()
[03:54:48] ohyvhjz: has left #ruby: ()
[03:54:48] fuheentt: has joined #ruby
[03:54:49] vhtyaz: has left #ruby: ()
[03:54:49] zuviqm: has joined #ruby
[03:54:50] jgazjjv: has joined #ruby
[03:54:50] dpfdpvbs: has joined #ruby
[03:54:50] xjxxl: has left #ruby: ()
[03:54:50] qapigbq: has joined #ruby
[03:54:50] mupvbcyj: has left #ruby: ()
[03:54:50] yltap: has left #ruby: ()
[03:54:51] elomatreb: Mute joins/parts
[03:54:51] cwzpv: has joined #ruby
[03:54:51] ohyvhjz: has joined #ruby
[03:54:51] qjatjld: has left #ruby: ()
[03:54:52] cwzpv: has left #ruby: ()
[03:54:52] xjxxl: has joined #ruby
[03:54:52] zuviqm: has left #ruby: ()
[03:54:53] qjatjld: has joined #ruby
[03:54:53] cwzpv: has joined #ruby
[03:54:53] avwgfqr: has left #ruby: ()
[03:54:53] ublimam: has left #ruby: ()
[03:54:54] cwzpv: has left #ruby: ()
[03:54:54] jgazjjv: has left #ruby: ()
[03:54:54] pcyihpxb: has joined #ruby
[03:54:54] fereywap: has joined #ruby
[03:54:54] mupvbcyj: has joined #ruby
[03:54:54] qapigbq: has left #ruby: ()
[03:54:55] iueqgba: has joined #ruby
[03:54:55] zuviqm: has joined #ruby
[03:54:55] yltap: has joined #ruby
[03:54:55] uhiegq: has left #ruby: ()
[03:54:55] uhiegq: has joined #ruby
[03:54:55] ofuett: has left #ruby: ()
[03:54:55] cckpst: has joined #ruby
[03:54:55] djhmlog: has left #ruby: ()
[03:54:56] bnhpqsko: has joined #ruby
[03:54:56] yfcra: has joined #ruby
[03:54:56] aujbsgxq: has joined #ruby
[03:54:56] qfujogxu: has joined #ruby
[03:54:56] djhmlog: has joined #ruby
[03:54:56] ofuett: has joined #ruby
[03:54:56] uacigjz: has left #ruby: ()
[03:54:57] mfhjw: has left #ruby: ()
[03:54:57] djhmlog: has left #ruby: ()
[03:54:57] zbinolan: ACTION ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ axsuul: FRIDAY NIGHT CHAT PARTY GOING ON NOW AT A NEW TOR IRC quicktalkeh676te.onion/6697 ▄▄▄▄▄▄▄▄▄▄▄
[03:54:57] qfujogxu: ▄▄▄▄▄▄▄▄▄▄▄ fereywap: FRIDAY NIGHT CHAT PARTY GOING ON NOW AT A NEW TOR IRC quicktalkeh676te.onion/6697 ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
[03:54:58] qfujogxu: ACTION ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ tenderlove: FRIDAY NIGHT CHAT PARTY GOING ON NOW AT A NEW TOR IRC quicktalkeh676te.onion/6697 ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
[03:54:58] cckpst: has left #ruby: ()
[03:54:58] uacigjz: has joined #ruby
[03:54:58] mfhjw: has joined #ruby
[03:54:58] lutqzx: has left #ruby: ()
[03:54:58] pcyihpxb: ▄▄▄▄▄▄▄▄▄▄▄▄▄▄ zacts: FRIDAY NIGHT CHAT PARTY GOING ON NOW AT A NEW TOR IRC quicktalkeh676te.onion/6697 ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
[03:54:59] yfcra: has left #ruby: ()
[03:54:59] djhmlog: has joined #ruby
[03:54:59] djhmlog: ▄▄▄▄▄▄▄▄▄▄ tercenya: FRIDAY NIGHT CHAT PARTY GOING ON NOW AT A NEW TOR IRC quicktalkeh676te.onion/6697 ▄▄▄▄▄▄▄▄▄▄▄
[03:54:59] btakgzv: ACTION ▄▄▄▄▄▄▄▄▄▄▄▄▄▄ astronavt: FRIDAY NIGHT CHAT PARTY GOING ON NOW AT A NEW TOR IRC quicktalkeh676te.onion/6697 ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
[03:54:59] yfcra: has joined #ruby
[03:55:00] ozphgw: has joined #ruby
[03:55:00] lutqzx: has joined #ruby
[03:55:01] sobyzk: has joined #ruby
[03:55:01] pcyihpxb: has left #ruby: ()
[03:55:01] pcyihpxb: has joined #ruby
[03:55:01] ozphgw: has left #ruby: ()
[03:55:02] kajfg: has joined #ruby
[03:55:02] btakgzv: has left #ruby: ()
[03:55:03] ozphgw: has joined #ruby
[03:55:03] fereywap: has left #ruby: ()
[03:55:04] fereywap: has joined #ruby
[03:55:04] btakgzv: has joined #ruby
[03:55:05] oylfse: has joined #ruby
[03:55:05] gzwahq: has joined #ruby
[03:55:06] gzwahq: has left #ruby: ()
[03:55:06] eequga: has left #ruby: ()
[03:55:07] gzwahq: has joined #ruby
[03:55:08] eequga: has joined #ruby
[03:55:09] sonqasyo: has joined #ruby
[03:55:10] pyixeza: has joined #ruby
[03:55:10] ikekd: has joined #ruby
[03:55:10] fbqsvh: has joined #ruby
[03:55:10] pokje: has joined #ruby
[03:55:10] bjrucl: has joined #ruby
[03:55:10] qlynlnp: has joined #ruby
[03:55:10] cuwpn: has joined #ruby
[03:55:10] teyrolvj: has left #ruby: ()
[03:55:10] zjcbi: has left #ruby: ()
[03:55:11] abgloco: has left #ruby: ()
[03:55:11] qjatjld: has left #ruby: ()
[03:55:11] pyixeza: has left #ruby: ()
[03:55:11] bjrucl: ACTION ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ milardovich: FRIDAY NIGHT CHAT PARTY GOING ON NOW AT A NEW TOR IRC quicktalkeh676te.onion/6697 ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
[03:55:11] gzwahq: ACTION ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ emerson: FRIDAY NIGHT CHAT PARTY GOING ON NOW AT A NEW TOR IRC quicktalkeh676te.onion/6697 ▄▄▄▄▄▄▄▄▄▄▄▄▄▄
[03:55:11] oycpjio: has left #ruby: ()
[03:55:11] qjatjld: has joined #ruby
[03:55:11] kwcrwssy: ACTION ▄▄▄▄▄▄▄▄▄▄▄▄ cyphase: FRIDAY NIGHT CHAT PARTY GOING ON NOW AT A NEW TOR IRC quicktalkeh676te.onion/6697 ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
[03:55:11] qlynlnp: has left #ruby: ()
[03:55:11] pyixeza: has joined #ruby
[03:55:12] eequga: ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ahrs: FRIDAY NIGHT CHAT PARTY GOING ON NOW AT A NEW TOR IRC quicktalkeh676te.onion/6697 ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
[03:55:12] cmxhxqa: has left #ruby: ()
[03:55:12] zjcbi: has joined #ruby
[03:55:12] qjatjld: ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ milardovich: FRIDAY NIGHT CHAT PARTY GOING ON NOW AT A NEW TOR IRC quicktalkeh676te.onion/6697 ▄▄▄▄▄▄▄▄▄▄
[03:55:12] uexdohfb: has joined #ruby
[03:55:12] pokje: has left #ruby: ()
[03:55:13] kwcrwssy: has left #ruby: ()
[03:55:13] teyrolvj: has joined #ruby
[03:55:13] cmxhxqa: has joined #ruby
[03:55:13] oycpjio: has joined #ruby
[03:55:13] abgloco: has joined #ruby
[03:55:13] pyixeza: has left #ruby: ()
[03:55:14] eequga: has left #ruby: ()
[03:55:14] pokje: has joined #ruby
[03:55:14] cuwpn: has left #ruby: ()
[03:55:14] kwcrwssy: has joined #ruby
[03:55:14] eequga: has joined #ruby
[03:55:15] cuwpn: has joined #ruby
[03:55:15] kwcrwssy: has left #ruby: ()
[03:55:15] ikekd: has left #ruby: ()
[03:55:15] hcfav: has joined #ruby
[03:55:16] pyixeza: has joined #ruby
[03:55:16] qaphy: has left #ruby: ()
[03:55:16] mmect: has left #ruby: ()
[03:55:16] ikekd: has joined #ruby
[03:55:17] SeepingN: has left #ruby: ("The system is going down for reboot NOW!")
[03:55:17] kwcrwssy: has joined #ruby
[03:55:17] lorife: has left #ruby: ()
[03:55:18] pokje: has left #ruby: ()
[03:55:18] nqxbb: has joined #ruby
[03:55:18] qaphy: has joined #ruby
[03:55:18] eequga: has left #ruby: ()
[03:55:18] mxeuqkye: has left #ruby: ()
[03:55:18] lorife: has joined #ruby
[03:55:19] rthedrh: has left #ruby: ()
[03:55:19] qtuxa: has left #ruby: ()
[03:55:20] ikekd: has left #ruby: ()
[03:55:20] qtuxa: has joined #ruby
[03:55:20] pokje: has joined #ruby
[03:55:20] rthedrh: has joined #ruby
[03:55:20] ammlabkp: has left #ruby: ()
[03:55:20] eequga: has joined #ruby
[03:55:21] qtuxa: has left #ruby: ()
[03:55:21] uapyt: has left #ruby: ()
[03:55:22] ikekd: has joined #ruby
[03:55:22] qtuxa: has joined #ruby
[03:55:22] qtuxa: has left #ruby: ()
[03:55:22] ammlabkp: has joined #ruby
[03:55:22] pxrnisq: has left #ruby: ()
[03:55:22] enterprisey: jesus, where the heck are the chops
[03:55:23] ikekd: ▄▄▄▄▄▄▄▄▄▄▄▄▄ astronavt: FRIDAY NIGHT CHAT PARTY GOING ON NOW AT A NEW TOR IRC quicktalkeh676te.onion/6697 ▄▄▄▄▄▄▄▄▄▄▄▄▄
[03:55:23] rthedrh: ACTION ▄▄▄▄▄▄▄▄▄▄ ikekd: FRIDAY NIGHT CHAT PARTY GOING ON NOW AT A NEW TOR IRC quicktalkeh676te.onion/6697 ▄▄▄▄▄▄▄▄▄▄▄▄
[03:55:23] ammlabkp: has left #ruby: ()
[03:55:23] cuwpn: ACTION ▄▄▄▄▄▄▄▄▄▄▄▄ naprimer_2: FRIDAY NIGHT CHAT PARTY GOING ON NOW AT A NEW TOR IRC quicktalkeh676te.onion/6697 ▄▄▄▄▄▄▄▄▄▄▄▄▄
[03:55:23] fotiwmf: ▄▄▄▄▄▄▄▄▄▄▄▄▄▄ lheaded: FRIDAY NIGHT CHAT PARTY GOING ON NOW AT A NEW TOR IRC quicktalkeh676te.onion/6697 ▄▄▄▄▄▄▄▄▄▄▄
[03:55:23] fotiwmf: ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ armyriad: FRIDAY NIGHT CHAT PARTY GOING ON NOW AT A NEW TOR IRC quicktalkeh676te.onion/6697 ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
[03:55:24] ikekd: ACTION ▄▄▄▄▄▄▄▄▄▄▄▄▄▄ optiz0r: FRIDAY NIGHT CHAT PARTY GOING ON NOW AT A NEW TOR IRC quicktalkeh676te.onion/6697 ▄▄▄▄▄▄▄▄▄▄
[03:55:24] qtuxa: has joined #ruby
[03:55:24] uapyt: has joined #ruby
[03:55:27] qtuxa: has left #ruby: ()
[03:55:27] grswd: has left #ruby: ()
[03:55:28] vhjrjeii: has left #ruby: ()
[03:55:30] vhjrjeii: has joined #ruby
[03:55:30] grswd: has joined #ruby
[03:55:33] ruby[bot]: adam12: ops currently in #ruby: adaedra, aredridel, havenwood, Radar, apeiros, banisterfiend, baweaver, helpa, jhass, ljarvis, matthewd, miah, ruby[bot] and zzak
[03:55:49] Verity: its finally over
[03:55:56] enterprisey: I like how the stalkword apparently stopped the script
[03:56:13] vicrvc: ▄▄▄▄▄▄▄▄▄▄▄ kqhnszw: FRIDAY NIGHT CHAT PARTY GOING ON NOW AT A NEW TOR IRC quicktalkeh676te.onion/6697 ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
[03:56:13] vicrvc: has left #ruby: ()
[03:56:15] vicrvc: has joined #ruby
[03:56:37] Verity: I dont even understand I see 4 lijnes output from that one p SOH
[03:56:41] houhoulis: has joined #ruby
[03:56:42] vicrvc: ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ arescorpio: FRIDAY NIGHT CHAT PARTY GOING ON NOW AT A NEW TOR IRC quicktalkeh676te.onion/6697 ▄▄▄▄▄▄▄▄▄▄▄
[03:56:47] Verity: it looks like the var is just changed
[03:56:56] vicrvc: ▄▄▄▄▄▄▄▄▄▄▄▄ axsuul: FRIDAY NIGHT CHAT PARTY GOING ON NOW AT A NEW TOR IRC quicktalkeh676te.onion/6697 ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
[03:56:56] Verity: I thought packet = SOH should be making a fresh packet
[03:56:57] vicrvc: ACTION ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ pwnd_nsfw: FRIDAY NIGHT CHAT PARTY GOING ON NOW AT A NEW TOR IRC quicktalkeh676te.onion/6697 ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
[03:57:54] tfyzygub: has left #ruby: ()
[03:57:55] tfyzygub: has joined #ruby
[03:57:55] tfyzygub: has left #ruby: ()
[03:58:14] jair: adam12: getting a new required message: http://paste.debian.net/924265/
[03:58:22] elomatreb: Verity: I don't know your script, but that's just an assignment
[03:58:26] jair: adam12: I guess I need to find that file...
[03:58:33] adam12: jair: That might be a separate gem, OR
[03:58:40] adam12: jair: That script is ancient and could be busted.
[03:58:54] elomatreb: Install mechanize-progressbar just like you installed the other gem
[03:59:09] matthewd: Verity: Fresh from what?
[03:59:30] jair: adam12: I will try installing this: ruby-progressbar
[03:59:48] matthewd: >> a = "hello"; b = a; a << " world"; [a, b]
[03:59:49] ruby[bot]: matthewd: # => ["hello world", "hello world"] (https://eval.in/761011)
[03:59:52] elomatreb: jair: It's literally called "mechanize-progressbar"
[03:59:57] adam12: jair: That's the wrong one. Install mechanize-progressbar as mentioned.
[04:00:20] jair: adam12: no such a file in my linux mint repos
[04:00:21] Verity: I dont get it
[04:00:26] Verity: when I added constants it broke ?
[04:00:27] Verity: could that be it
[04:00:33] adam12: jair: gem2.3 install mechanize-progressbar
[04:00:38] elomatreb: Oh, you're trying to install gems from OS repos?
[04:00:57] jair: I did not use gem2.3 as installer I was using apt-get
[04:00:58] bocaneri: has joined #ruby
[04:01:02] jair: make sense
[04:01:03] matthewd: jair: That script has a Gemfile; it lists the gems required
[04:01:18] houhoulis: has joined #ruby
[04:01:18] jair: understand, let me use that utility instead
[04:01:36] matthewd: (and if you're happy with gem installation instead of apt-get, can be automatically read & executed by bundler)
[04:01:43] matthewd: Verity: Yes
[04:02:12] houhoulis: has joined #ruby
[04:02:16] matthewd: Verity: You have a constant which initially contains "\001", but you're then mutating that string
[04:02:30] matthewd: Verity: It's a constant reference to an object; the object itself (the string) is mutable
[04:03:32] bocaneri: has joined #ruby
[04:03:39] astronavt: has anyone ever tried integrating Homebrew into a ruby script?
[04:03:42] jair: matthewd: nice
[04:04:04] astronavt: like, using its Ruby api
[04:04:10] astronavt: instead of the CLI
[04:05:48] astronavt: has joined #ruby
[04:06:45] matthewd: Verity: The object exists apart from the name/variable(s) that reference it
[04:07:18] matthewd: Verity: a = []; a << 1; a << 2; b = a # there's still only one array, with two elements
[04:07:43] matthewd: Verity: a << 3; b << 4; a == [1, 2, 3, 4] && b == [1, 2, 3, 4]
[04:07:45] jair: I guess there is something wrong with the access the script run this time fine: http://paste.debian.net/924266/
[04:09:14] elomatreb: jair: The script seems to be reallly old, I'm neither sure it'll work with Ruby 2.3 nor with recent versions of the required gems
[04:10:30] jair: elomatreb: understand
[04:10:38] jair: elomatreb: thank you very much
[04:10:47] matthewd: The Gemfile specifies it wants mechanize 2.0
[04:11:05] jair: I tried... I guess I will need to download manually, thank god I have another monitor
[04:11:08] jair: in my desk
[04:11:30] matthewd: Verity: Talk to me.. which part is unclear? Am I helping?
[04:12:57] hutch34_: has joined #ruby
[04:16:51] armyriad: has joined #ruby
[04:16:52] allisio: Huh. Looks like MRI doesn't optimize `<<=`.
[04:17:09] allisio: Granted, it shouldn't be expected to save fools from themselves, but it would've been interesting to find that they'd bothered to in that case.
[04:18:44] nobitanobi: has joined #ruby
[04:19:42] gix: has joined #ruby
[04:20:44] agent_white: has joined #ruby
[04:21:52] __Yiota: has joined #ruby
[04:23:34] Channel6: has joined #ruby
[04:23:40] blackwind_123: has joined #ruby
[04:38:17] duckpupp1: has joined #ruby
[04:46:10] claw: has joined #ruby
[04:54:57] enterprisey: has joined #ruby
[04:55:58] IRCFrEAK: has joined #ruby
[04:58:06] IRCFrEAK: has left #ruby: ()
[04:59:40] _IRCFrEAK: has joined #ruby
[05:00:10] _IRCFrEAK: has left #ruby: ()
[05:02:43] patarr: has joined #ruby
[05:07:36] Pumukel: has joined #ruby
[05:11:53] harfangk: has joined #ruby
[05:13:46] hutch34_: has joined #ruby
[05:23:08] Tau: has joined #ruby
[05:31:51] JDeen: has joined #ruby
[05:32:18] JDeen: Hi... I am trying out VS Code with Ruby-Debug-IDE. It wokred fine with a Rails 5 Ruby 2.4 app I had but with the Rails 4 app I am getting an error like this: http://stackoverflow.com/questions/43012447/error-running-ruby-debug-ide-with-rails-4-app
[05:32:25] JDeen: any one experienced this kind of an error
[05:32:43] JDeen: any suggestions are highly appreciated
[05:33:13] charliesome: has joined #ruby
[05:36:39] jgnagy: has joined #ruby
[05:54:28] muelleme_: has joined #ruby
[06:01:56] yourname1: has joined #ruby
[06:02:37] tAn: has joined #ruby
[06:07:50] bkxd: has joined #ruby
[06:12:25] cyphase: has joined #ruby
[06:14:47] hutch34_: has joined #ruby
[06:26:04] cyphase: has joined #ruby
[06:38:52] cyphase: has joined #ruby
[06:43:17] jamesaxl: has joined #ruby
[06:47:39] d00n: has joined #ruby
[06:48:34] thadtheman: has joined #ruby
[06:49:34] d00n: has left #ruby: ()
[06:53:41] nofxxxx: has joined #ruby
[06:54:25] charliesome: has joined #ruby
[06:56:05] cyphase: has joined #ruby
[06:57:04] jgnagy: has joined #ruby
[06:57:28] davorb: has joined #ruby
[07:03:35] patarr: has joined #ruby
[07:04:13] jdm: has joined #ruby
[07:04:41] jgnagy_: has joined #ruby
[07:10:41] rahul_bajaj: has joined #ruby
[07:11:51] rhyselsmore: has joined #ruby
[07:13:10] rippa: has joined #ruby
[07:15:09] ddffg: has joined #ruby
[07:15:37] hutch34_: has joined #ruby
[07:19:29] aredridel: has joined #ruby
[07:22:38] qguv: has joined #ruby
[07:24:48] cyphase: has joined #ruby
[07:25:25] igniting: has joined #ruby
[07:30:10] dionysus69: has joined #ruby
[07:36:56] renchan: has joined #ruby
[07:39:34] brent__: has joined #ruby
[07:42:10] thadtheman: has joined #ruby
[07:43:09] zapata: has joined #ruby
[07:44:11] jdm: has joined #ruby
[07:46:43] aryaching: has joined #ruby
[07:47:55] blur3d: has joined #ruby
[07:48:22] dagda1: has joined #ruby
[07:59:44] vuoto: has joined #ruby
[08:02:11] igniting: has joined #ruby
[08:07:15] SeepingN: has joined #ruby
[08:08:41] JeanCarloMachado: has joined #ruby
[08:08:43] thadtheman: has joined #ruby
[08:12:50] yurikoles: has joined #ruby
[08:16:20] hutch34_: has joined #ruby
[08:18:43] User458764: has joined #ruby
[08:19:14] User458764: has joined #ruby
[08:20:16] nobitanobi: has joined #ruby
[08:20:24] cfec0b8d: has joined #ruby
[08:25:34] jane_booty_doe: has joined #ruby
[08:26:03] helpa: has joined #ruby
[08:27:22] ydnpft: has joined #ruby
[08:32:48] Gabemo: has joined #ruby
[08:39:41] Pumukel: has joined #ruby
[08:46:24] coatezy: has joined #ruby
[08:55:19] lxsameer: has joined #ruby
[09:01:19] faelkle: has joined #ruby
[09:02:02] tvw: has joined #ruby
[09:02:53] pulkit4tech: has joined #ruby
[09:04:33] patarr: has joined #ruby
[09:08:49] JeanCarloMachado: has joined #ruby
[09:10:46] dionysus69: has joined #ruby
[09:11:32] muelleme_: has joined #ruby
[09:13:31] patarr: has joined #ruby
[09:17:07] hutch34_: has joined #ruby
[09:17:33] blackmesa: has joined #ruby
[09:18:07] montanonic: has joined #ruby
[09:25:23] xenops: has joined #ruby
[09:26:16] zenguy_pc: has joined #ruby
[09:27:55] cagomez: has joined #ruby
[09:37:40] pandaant: has joined #ruby
[09:39:47] nobitanobi: has joined #ruby
[09:43:27] Jackneill: has joined #ruby
[09:55:19] tvw: has joined #ruby
[10:02:29] teddysmoker: has joined #ruby
[10:04:29] spicerack: has joined #ruby
[10:07:09] Guest47800: has joined #ruby
[10:09:18] yurikoles: has joined #ruby
[10:12:34] leitz: has joined #ruby
[10:13:23] leitz: Is Mechanize still the best way to script a login to a website? I'm trying to save data from a forum.
[10:13:30] maattdd: has joined #ruby
[10:17:01] dionysus69: has joined #ruby
[10:17:52] hutch34_: has joined #ruby
[10:20:18] DoubleMalt: has joined #ruby
[10:21:19] nobitanobi: has joined #ruby
[10:24:45] kent\n: has joined #ruby
[10:29:34] armyriad: has joined #ruby
[10:33:44] voloyev: has joined #ruby
[10:37:07] voloyev: has joined #ruby
[10:38:51] armyriad: has joined #ruby
[10:39:19] muelleme_: has joined #ruby
[10:39:23] inersha: has joined #ruby
[10:40:44] inersha: Is it possible to run a ruby script that will change the directory of the terminal that ran the script? For example, I just want to `cd ~/folder`, and then exit, so my terminal is now in the new folder.
[10:41:44] inersha: I don't know how to do this, because it seems that ruby runs in a sub-process, so when it exits the terminal goes back to its original folder.
[10:45:13] _whitelogger: has joined #ruby
[10:48:31] User458764: has joined #ruby
[10:57:02] davorb: has joined #ruby
[11:02:39] psychicist__: has joined #ruby
[11:03:38] DoubleMalt: has joined #ruby
[11:04:43] madrat_: has joined #ruby
[11:06:57] banisterfiend: has joined #ruby
[11:06:59] vuoto: has joined #ruby
[11:09:37] psychicist__: has joined #ruby
[11:18:42] igniting: has joined #ruby
[11:19:04] hutch34_: has joined #ruby
[11:19:07] vuoto: has joined #ruby
[11:25:19] yurikoles_: has joined #ruby
[11:27:55] esObe__: has joined #ruby
[11:30:35] sepp2k: has joined #ruby
[11:38:05] charliesome: has joined #ruby
[11:40:06] Verity: has joined #ruby
[11:41:11] brent__: has joined #ruby
[11:42:19] Verity: 1. create a new packet consisting of only empty header 2. read 8 bytes in (total now 9 bytes)(if not enough byres available, PAD! 3. append crc byte. 4. add packet to list of packets
[11:42:51] Verity: so multiple vars can refer to the same object
[11:43:27] Verity: matthewd, I fell asleep last night. I'm reading through what you said now
[11:48:45] __Yiota: has joined #ruby
[11:55:13] Verity: kI dont know
[11:55:16] Verity: this isnt productive
[11:55:25] Verity: I'm just wasting a bunch of time guessing and looking at it
[11:55:27] Verity: reading it over and over
[11:55:30] Verity: trying different things
[11:55:42] Verity: there is something fundamental about ruby I'm not understadning coming from C++
[11:55:45] Verity: or my logic sucks
[11:57:16] JeanCarloMachado: has joined #ruby
[11:57:36] Verity: I dont even know why it worked fine before and doesnt now
[11:58:09] Verity: debugging this one error is taking more time than it took to write it all in the first place
[11:58:20] Verity: ill never get this time back
[11:58:46] Verity: its not maing a fresh packet each tgime at packet = SOH
[11:58:48] Verity: and I have no idea why.
[11:59:06] Verity: this is such an incredibnle waste of time
[12:01:05] yurikoles: has joined #ruby
[12:02:05] Verity: this has to be ruby specific
[12:03:06] j416: hopefully you are learning from it and so the time spent makes you a better developer :)
[12:05:08] Verity: I'm just getting frustrated and guessing now
[12:05:15] Verity: I should have asked again for help sooner
[12:05:20] Verity: its making me angry at ruby
[12:05:23] Verity: (the language)
[12:05:32] Verity: this is my first ruby program
[12:05:39] Verity: it worked so well at first and I felt magic and love
[12:05:43] Verity: now I feel anger and despair
[12:06:09] Verity: I feel like I could write this again in a few minutes in C++ yet sit here all day and never figure out why its not working in ruby
[12:06:22] Verity: I chose ruby to save time
[12:06:27] Verity: and to learn a new lanigugae
[12:06:36] psychicist__: has joined #ruby
[12:09:40] yurikoles: has joined #ruby
[12:11:33] cagomez: has joined #ruby
[12:12:33] __Yiota: has joined #ruby
[12:13:26] HoierM: has joined #ruby
[12:15:01] leitz: When frustrated, I usually take a break and try to mentally reframe the problem. It sounds like you're working on a deep technical issue and learning a new language at the same time.
[12:18:27] yurikoles: has joined #ruby
[12:18:41] Verity: wtf is going on here
[12:18:42] Verity: "in `gets': No such file or directory @ rb_sysopen - -s (Errno::ENOENT)"
[12:18:52] Verity: zero search results
[12:19:44] neuraload: has joined #ruby
[12:19:52] hutch34_: has joined #ruby
[12:21:39] Verity: starting to wonder if my code is even wrong
[12:23:53] Verity: is this a bug?
[12:24:06] Verity: ACTION rages
[12:25:30] knight33: has joined #ruby
[12:25:58] Verity: I had to put $stdin.gets
[12:26:00] Verity: what the actual fuk
[12:26:12] Verity: now I have no idea if my code is evenw rong
[12:26:17] Verity: or if my ruby is all screwed up
[12:28:19] kirun: has joined #ruby
[12:31:31] nobitanobi: has joined #ruby
[12:32:58] tomphp: has joined #ruby
[12:33:08] blackwind_123: has joined #ruby
[12:43:05] duckpupp1: has joined #ruby
[12:47:12] leito: has joined #ruby
[12:51:30] blackmesa: has joined #ruby
[12:57:34] k3rn31: has joined #ruby
[12:59:20] despai: has joined #ruby
[13:01:25] blackmesa: has joined #ruby
[13:01:53] Verity: I'm having some fun with irb and reading docs and trying stuff
[13:01:57] Verity: but nothing I've tested fixes it
[13:02:13] Verity: I'm moving ashead to the serial code since thats not giving me trouble
[13:02:22] nadir: has joined #ruby
[13:05:45] thadtheman: has joined #ruby
[13:09:29] Lord_of_Life: has joined #ruby
[13:14:02] jhack: has joined #ruby
[13:20:31] muelleme_: has joined #ruby
[13:20:36] hutch34_: has joined #ruby
[13:21:06] Azure: has joined #ruby
[13:22:35] toretore: has joined #ruby
[13:22:49] Verity: matthewd, ?
[13:23:08] ahrs: has joined #ruby
[13:23:40] sepp2k1: has joined #ruby
[13:25:48] Azure: has joined #ruby
[13:26:58] User458764: has joined #ruby
[13:27:00] Verity: https://gist.github.com/anonymous/f78dfd9d41b3efd141d086457d19eeb3
[13:27:06] Verity: I no longer have any damn clue wtf is happening int his block
[13:27:10] Verity: why imn getting end errors
[13:27:13] Verity: I'm 100% lost.
[13:27:28] Verity: It's also no getting better, it's getting worse.
[13:28:16] maloik: has joined #ruby
[13:32:03] neuraload: has joined #ruby
[13:34:20] dar123: has joined #ruby
[13:35:07] Azure: has joined #ruby
[13:35:21] toretore: Verity: gist the whole file
[13:36:31] Verity: toretore, https://gist.github.com/anonymous/b1187b67b8fad4a9811134e392dbc109
[13:37:02] Verity: my end balance is screwed up and I have no idea why, and I'm not creating a new packet each time, howhow. Even using .clear didnt work
[13:38:24] __Yiota: has joined #ruby
[13:39:06] Verity: I can't even type now its fried my brain
[13:40:25] toretore: the way to debug this is to make sure the data is what it should be at each step
[13:40:58] toretore: i.e. add a bunch of `p packet` between the lines
[13:41:14] Verity: I did that for over an hour hehe
[13:41:18] Verity: I put in dozens of puts
[13:41:28] Verity: there is something VERY fundamental I'm just not getting
[13:41:33] Verity: and I'm not sure I will ever figure this out
[13:41:36] Verity: I just keep breaking it worse
[13:41:44] Verity: now I have errors about my end keyword
[13:41:49] Verity: so my blocks arent eve nbalanced anymore
[13:41:53] Verity: I'm literally just guessing
[13:41:57] Verity: I tried half of the methods in string class
[13:42:04] Verity: just seeing if they could somehow solve it
[13:42:08] Verity: just praying
[13:42:11] Verity: but no go
[13:42:22] Verity: matthewd, knows my mistake
[13:42:33] despai: has joined #ruby
[13:42:34] Verity: I should have just asked for solution
[13:42:40] Verity: I've wasted hours now trying to debug it
[13:42:46] Verity: and this is such a small part of the real program
[13:42:54] Verity: the state machine for processing vbytes is where I need to be spending my time
[13:43:12] Verity: not fighting with somne nuance in ruby causing things to happen diofferentl than I would expect
[13:43:27] Verity: I thought ruby was supposoed to stay out of my way, let me think about the problem and not the code
[13:43:30] Verity: what the hell is going on
[13:43:34] daum: has joined #ruby
[13:43:36] leitz: This small part is real programming.
[13:43:50] Verity: no it makes no sense
[13:43:51] toretore: look at the indentation on lines 29-30
[13:43:54] Verity: it worked before
[13:44:00] Verity: I dont even know what I changed
[13:44:06] Verity: it worked perfeflyt yhe first time I wrote the program
[13:44:10] Verity: then it broke from the constants
[13:44:12] Verity: so stupid
[13:44:17] Verity: then I couldnt evne put it back
[13:44:21] Verity: because I habe no fucking clue whats goijng on
[13:44:32] daum: hi guys i just installed redmine and had bundler install everything into the vendor file, it looks like rake on my system though is at 11.2.2 versus the versoin in redmine which is 12.0.0 i can see the gem in the vendor folder but how do i run that version of rake rather than the one that is installed on the system?
[13:44:39] leitz: You have no backup of the original file?
[13:44:45] bkxd: has joined #ruby
[13:44:55] Verity: toretore, I did that for 20 mins
[13:44:57] leitz: Programming Lesson #0.
[13:44:58] Verity: no ide what its supposed to be
[13:45:09] toretore: Verity: do you want help debugging it or do you just want to complain?
[13:45:10] Verity: I was adding and deleting ends
[13:45:13] Verity: I'm literally just guessing
[13:45:20] Verity: so the help would need to be lower level, is what I meant
[13:45:27] Verity: this level of help is too complicated for me to benefit from
[13:45:35] Verity: indents dont even matter here
[13:45:38] Verity: thats python I thought
[13:45:55] Verity: I spend a good 154 mins just putting and deleting end
[13:45:57] Verity: hoping it would work
[13:46:14] toretore: if you're going to write ruby you have to understand its syntax
[13:46:21] Verity: I did the ruby in 20 mins
[13:46:23] Verity: I checked the docs
[13:46:27] leitz: Verity, toretore asked a valid question. Is your response the one you want to give?
[13:46:49] Verity: its all pointless really
[13:46:51] Verity: I dont have time for games
[13:46:55] Verity: if you know whats wrong please tell me
[13:46:58] Verity: this isnt helping, trying to guess
[13:47:01] Verity: I thought it would
[13:47:08] Verity: thats why I asked matthewd for a hint instead of a soltuuioin
[13:47:11] Verity: but all it did was make me rage
[13:47:15] Verity: its ruining ruby for me now
[13:47:24] Verity: I've been at this sin ce yesterday morning
[13:47:26] Verity: its way too long for one problem
[13:47:27] leitz: http://bengtwendel.com/your-teacup-is-full-empty-your-cup/
[13:48:44] despai: has joined #ruby
[13:48:57] Verity: not helpful
[13:49:01] Verity: I'll just keep guessing
[13:49:21] Verity: thew worst part here is
[13:49:24] Verity: im sure its some simple error
[13:49:27] Verity: but its a sick game not to tell me
[13:49:33] Verity: I see whatgs going on
[13:50:09] leitz: We have told you what's wrong. Perhaps the problem isn't your code?
[13:50:24] Verity: I must have missed that
[13:50:31] Verity: so the problem ISNT my code
[13:50:33] Verity: that was my fear
[13:50:36] Verity: its a corrupt ruby installation
[13:50:41] Verity: that would explain why gets wasnt working either
[13:50:49] Verity: I will reinstall
[13:50:51] Verity: try to get it reight this time
[13:51:00] Verity: its probably because I chose the 3.3 version 64 bit
[13:51:01] Verity: it warned not to
[13:51:07] Verity: thats why im getting bizarre errors
[13:51:12] Verity: like gets not exisitng
[13:51:20] Verity: definitely not normal^
[13:51:49] Verity: wish someone told me sooner
[13:51:51] Verity: I wasted so much time
[13:51:57] Verity: this explains why it runs differently under linux too
[13:51:59] Verity: the identical code
[13:52:13] Verity: (I'm on windows)
[13:52:16] toretore: how about you stop whining and start answering our questions
[13:52:24] Verity: how about I put a bullet into this fucking pc
[13:52:39] toretore: maybe you should call your therapist
[13:52:56] leitz: Verity, the problem is your approach to code, not your code. Until you fix yoru approach, your code will only work by chance.
[13:53:11] Verity: the problem is ruby, nothing like this has ever happened in C++
[13:53:14] Verity: which I've been using over a year
[13:53:26] leitz: By chance it worked at first, and now by chance it doesn't.
[13:54:03] toretore: the problem is you're missing an end between line 29 and 30
[13:54:11] leitz: I had the same problems in several languages until I started to treat my coding process as a tool.
[13:54:11] Verity: it broke when I changed my naming conventions of variables I think
[13:54:15] Verity: due to someones suggestion here
[13:54:19] michele: has joined #ruby
[13:54:24] Verity: thats the best I can remember of when it last worked
[13:54:41] Verity: toretore, I alrewady deleted the end I hads there
[13:54:50] Verity: ive deleted and put end there a dozen times on that line
[13:55:04] leitz: toretore, "ffs"?
[13:55:07] Verity: doesnt help my damn editor doesnt show which they match
[13:55:10] Verity: for fucks sake = ffs
[13:55:19] leitz: "Friends for Seconds"?
[13:57:09] michele: I have installed two gems because I want to run two different ruby scripts that requires them (not at the same time). However, these two libraries require a third gem in (apparently) a different version: `raise_if_conflicts': Unable to activate library1-1.19.1, because dependency-of-library1-2.0.1 conflicts with dependency-of-library2 (~> 1.8) -- is there a way to resolve this conflicting behavior ?
[13:57:12] Verity: how the hell does the do and the until have their own end
[13:57:47] _aeris_: has joined #ruby
[13:58:41] leitz: michele, I'm a newbie so when someone better chimes in, listen to them. The first question is, can you install the latest version of the thrid library so that it works for both?
[13:59:08] michele: leitz no, apparently library2 requires dependency-of-library2 ~> 1.8
[13:59:11] pwnd_nsfw: has joined #ruby
[13:59:22] toretore: michele: you should use real names, not made up ones
[13:59:40] toretore: michele: are you using bundler?
[13:59:45] michele: no toretore
[13:59:48] michele: `raise_if_conflicts': Unable to activate rspotify-1.19.1, because rest-client-2.0.1 conflicts with rest-client (~> 1.8) (Gem::ConflictError)
[13:59:50] leitz: michele, I wonder what happens if you change the requires to 1.8 or higher.
[14:00:00] toretore: you should consider using bundler
[14:00:00] michele: toretore the second library is omdb
[14:00:19] michele: toretore do I have to create a Gemfile in every directory of the two scripts?
[14:00:48] toretore: in each directory yes
[14:01:18] michele: toretore do you have a starting link where i can learn more about using bundler and my setup?
[14:01:56] michele: e.g. toretore , if I create a Gemfile do I have to remove all my "require" at the top of my .rb script?
[14:02:13] toretore: tbh i don't use bundler much so i'm not sure
[14:02:35] elomatreb: No, the Gemfile lists what gems you want and can be used to install them all at once. You still need to require them
[14:02:42] mikecmpbll: has joined #ruby
[14:03:56] Verity: what is convention for function names
[14:04:19] toretore: michael_mbp: if you actually do have a versioning conflict, meaning two different versions are required in the same program, then that's hard to solve
[14:04:25] michele: elomatreb will it help with my problem of two libraries requiring another library in conflicting versions?
[14:04:41] michele: toretore no, it's a different program
[14:04:49] leitz: michele, can you install a pre-2.0 version of rest-client? That should work for both libraries.
[14:04:52] toretore: how are you getting conflicts then?
[14:05:16] leitz: I thing gem can let you specify versions to install.
[14:05:29] toretore: michele: what are the scripts?
[14:06:04] elomatreb: Verity: https://github.com/bbatsov/ruby-style-guide#snake-case-symbols-methods-vars (The whole thing is pretty much the accepted standard)
[14:06:21] toretore: michele: the error messages makes it sound like something is actually trying to require two conflicting versions in the same program
[14:06:33] leitz: ACTION is known for using old versions...
[14:07:33] michele: leitz brilliant. you're right
[14:08:34] toretore: versioning should be part of a programming language such that in each place where you require its functionality you specify a specific version, allowing more than one version to be imported in the same program
[14:11:46] blackmesa: has joined #ruby
[14:12:10] Verity: how do i know if I shoud use a class
[14:12:53] ncthom91: has joined #ruby
[14:13:47] leitz: Verity, once you have the basics working without a class you'll have the option to use one if it makes sense. Adding a class before the basics work compounds complexity.
[14:14:26] Verity: that was my fear, I'll wait
[14:14:50] leitz: That's what I normally do, anyway. I'm easily confused.
[14:15:32] bitrauser: has joined #ruby
[14:19:04] Verity: yeah I have no clue wtf is going on
[14:19:19] Verity: (I'm back to my original problem)
[14:19:37] Verity: loop 22 isnt doing what I think it is
[14:19:45] Verity: well its not doing what I need it to, I should say
[14:19:48] Verity: I can see whaty it is doing
[14:20:03] Verity: it should be SO simple, wtf
[14:20:08] Verity: this is the SIMPLE part
[14:20:11] Verity: the hard part is the state machine
[14:20:15] Verity: so being stuck now = not good
[14:20:35] Verity: 1. create a new packet consisting of only empty header 2. read 8 bytes in (total now 9 bytes)(if not enough byres available, PAD! 3. append crc byte. 4. add packet to list of packets
[14:20:40] leitz: On the contrary, being stuck on the simple, and learning how to fix it, prepares you for the complex.
[14:20:42] Verity: my problem statement I wrote up
[14:20:59] Verity: I'm fighting with ruby itself I feel like, right now
[14:21:01] Verity: not my own logic
[14:21:08] leitz: Disagree.
[14:21:11] Verity: my logic seems ok (maybe its not) but ruby doesnt seem to be exectuing it
[14:21:22] hutch34_: has joined #ruby
[14:21:30] marr: has joined #ruby
[14:21:37] Verity: leitz, unless you know whats wrong thats really not helpful
[14:21:46] Verity: why I don't end up with an array of 10 byte packets
[14:21:57] Verity: like I did beforee i startted changing the way my vars were capitalized///named
[14:21:59] Verity: then it all broke
[14:22:07] Verity: I didnt even change the actual logic... unless it happened by accident
[14:22:14] Verity: thats why this feels like RUBY and not a code issue
[14:22:23] pulkit4tech: has joined #ruby
[14:22:25] Verity: it woked perferctly when I drafted it up
[14:22:53] toretore: Verity: do you actually want us to help you with this?
[14:22:57] j416: Verity: compare what you have now to the working state and see if you spot an error?
[14:23:08] Verity: the working version is long gone sadly
[14:23:33] Verity: toretore, is it a game?
[14:23:35] Verity: or do you know hats wrong
[14:23:37] Verity: because as I said
[14:23:43] Verity: I'ver been stuck on one block of code for 14 hours
[14:23:46] j416: I always try to keep working versions until the thing is done; helps in this situation. Maybe next time :)
[14:24:01] Verity: its getting reallyh old
[14:24:06] Verity: and now, sadly
[14:24:09] Verity: its ruining my ruby experience
[14:24:15] Verity: I'm desperate to fix it just to save that
[14:24:17] Verity: because I want to LIKE ruby
[14:24:19] toretore: Verity: i'm asking a simple question. you're not answering it. you're starting to trigger the troll detector
[14:24:19] Verity: but this isnt helping
[14:24:27] Verity: toretore, you're trolling me right now
[14:24:30] Verity: matthewd, knows the answer
[14:24:34] Verity: hje would just say it if he were here
[14:24:36] Verity: why play games?
[14:24:42] j416: Verity: what he probably means is you're ranting a lot about things not working without any info
[14:24:50] j416: Verity: the signal-to-noise ratio is pretty bad right now.
[14:24:59] Verity: I disagree
[14:25:09] Verity: nobody here knows the solutiuon
[14:25:09] j416: if you want help, present a concrete problem
[14:25:10] Verity: thats ok.
[14:25:13] Verity: I'll wait for someone who does
[14:25:13] leitz: Verity, you've been giving us an uninterrupted frustrated stream of consciousness and ignoring attempts to help. How is that adult behavior?
[14:25:21] Verity: if you dont know why even reply?
[14:25:25] Verity: thats not helpful, ppl
[14:25:32] Verity: THAT is what is trolling
[14:25:35] Verity: pretending you know if you dont
[14:25:38] j416: Verity: what is the problem you are experiencing?
[14:25:39] Verity: or making me guess
[14:26:00] Verity: j416, I just posted this, but here it is again: 1. create a new packet consisting of only empty header 2. read 8 bytes in (total now 9 bytes)(if not enough byres available, PAD! 3. append crc byte. 4. add packet to list of packets
[14:26:06] Verity: thats not what happens, it keeps adding to the packet
[14:26:13] Verity: it worked as I expected when i first wrote it
[14:26:21] Verity: I don';t know what changed. its a complete mystery
[14:26:25] toretore: Verity: i told you exactly what the syntax error was, and you still ignored it and continued spewing bs
[14:26:32] Verity: toretore, that was for the end statmeent
[14:26:34] Verity: I fixed that a LONG time ago
[14:26:39] Verity: this is about the packet generation loop
[14:26:40] j416: Verity: what is "it"? can you show the code that is not working?
[14:26:56] Verity: j416, https://gist.github.com/anonymous/a1a8e400e1cd2a6289049835328d11eb
[14:27:07] Verity: line 22 loop
[14:27:15] Verity: when I first wrote it, made my 10 byte packets from the file
[14:27:24] Verity: then someone said I should do something with how I named my vars, I did
[14:27:29] Verity: and then it all broke and I can't fix it again
[14:27:33] faraco: has joined #ruby
[14:27:36] michele: has left #ruby: ("Textual IRC Client: www.textualapp.com")
[14:27:42] Verity: I've now been trying since yesterday morning, I've done nothing else since then
[14:27:43] j416: Verity: writing a unit test for things like this can help a lot sometimes
[14:27:46] Verity: 1 meal per day + sleep
[14:28:00] Verity: I skipped all classes yesterday
[14:28:03] Verity: because I couldnt stop trying to fix it
[14:28:05] Verity: this is getting bad
[14:28:11] toretore: Verity: if you want help, stop ranting, answer our questions and follow our instructions
[14:28:21] Verity: toretore, no ty
[14:28:24] DLSteve: has joined #ruby
[14:28:25] Verity: not from ytou
[14:28:28] j416: Verity: I don't care how much you slept or what you had or didn't have for lunch; keep focus on the issue please
[14:28:51] Verity: j416, that was for toretore
[14:28:55] Verity: to stop his trolling
[14:29:01] Verity: ty for taking a look at my code, j416
[14:29:08] toretore: i now consider you to be a troll and will stop engaging
[14:29:13] Verity: thank you
[14:29:21] t-recx: has joined #ruby
[14:29:30] Verity: since the fix is a single line and you're not saying it you werent helping nayway toretore, ust confusing a newbie further
[14:29:40] Verity: not a good intro to the community, or helpful for someone wrtiting their first rb program
[14:29:48] j416: Verity: do remember you are broadcasting to 853 people, not just toretore
[14:29:53] j416: well, 852
[14:29:54] Verity: I want it known
[14:30:09] j416: we got the message.
[14:30:12] j416: don't worry
[14:31:08] Mon_Ouie: has joined #ruby
[14:31:09] Verity: open a file, until the end of file, make a packet with SOH, read 8 bytes, append crc, append packet to list
[14:31:11] Verity: when end of file reached, done
[14:31:18] ahrs: has joined #ruby
[14:31:39] Verity: I'm not convinced my ruby install inst corrupt
[14:31:43] Verity: I'm going to try that now
[14:32:11] Verity: as gets wasnt working properly who knows what else could be messed up
[14:32:25] Verity: not one person has indicated a mistake in that block of code yet either, other than matthewd who is afk sadly
[14:32:39] Verity: so the one person who knows whats wrong.. is gone :)
[14:32:45] Verity: I'll have to check back later if I still cant get it
[14:33:10] j416: so you have a description of what is wrong, but you have not understood it?
[14:33:19] Verity: no I asked him not to tell me
[14:33:23] Verity: stupid of me
[14:33:26] Verity: I asked for a hint instead
[14:33:43] leitz: Well, that was funny! Put a "-" where a "=" was supposed to go. Took me a bit to see it.
[14:33:49] Verity: his hint was to look at packet = SOH
[14:34:04] Verity: I can see with puts its continuing to build th epacket beyond 10 bytes
[14:34:09] Verity: and its NOT a fresh packet each time through the loop
[14:34:13] Verity: but due to ruby specific things I have no idea why
[14:34:18] Verity: or why it worked before, but not now
[14:34:33] Verity: it feels like a giant mystery
[14:34:44] Verity: in c++ I would throw some bps, open some containers, start stepping through
[14:34:50] Verity: I even tried with gets and puts to do similar here
[14:35:35] Verity: I chose ruby to write this faster than I could in C++, this singular issue that I would likely never make a mistake about again if someone would just tell me what I did wrong --- is causing this to take far LONGER than with C++
[14:36:36] DoubleMalt: has joined #ruby
[14:36:40] faraco: I just came in here, but do you got any code or snipper you having issues on?
[14:36:53] Verity: https://gist.github.com/anonymous/a1a8e400e1cd2a6289049835328d11eb
[14:37:01] Verity: it should build 10 byte packets and add them to the list
[14:37:06] Verity: instead its making weird packets that are too big
[14:37:16] Xiti: has joined #ruby
[14:37:17] Verity: and other things I can't explain or even put into words are happening
[14:37:33] Verity: I'm sure its some fundamental misunderstanding on my parts of how variables work in rb
[14:38:18] j416: my ruby is quite rusty at this point so I can't spot what the error is; I'm sorry. More importantly perhaps; I don't know what the error is (what is the expected behaviour?)
[14:38:24] Mon_Ouie: String#<< modifies a string in place, '=' never performs an implicit copy in Ruby
[14:38:36] Verity: j416, it should build 10 byte packets from the file
[14:38:41] Verity: for each time through the loop, it should:
[14:38:58] Verity: 1. add SOH character 2. read 8 bytes 3. pad if not enough bytes in file 4. append crc 5. append packet to list
[14:39:13] nofxxxx: Verity, hm...not sure but, utf8 ?
[14:39:17] j416: sorry, missed this; you wrote it earlier
[14:39:17] Verity: instead, I get stuff like [1, 97, 97, 97, 97, 97, 32, 98, 98, 191, 98, 98, 98, 32, 99, 99, 99, 99, 65, 99, 32, 100, 100, 100, 100, 100, 13, 13, 10, 101, 101, 101, 101, 101, 32, 102, 244] the third time through
[14:39:32] Verity: packet isnt being reset
[14:39:37] Verity: and at the end of the loop I tried packet.clear
[14:39:41] Verity: then it was just empty packets.
[14:39:52] Verity: so I'm totally stumped now
[14:40:03] Verity: especially considering it worked before and I don't know what I did to break it
[14:40:07] Verity: an argument for vc, for sure.
[14:40:24] Mon_Ouie: Look at the value of SOH before and after each packet is generated
[14:40:42] j416: ah, naturally
[14:40:45] Verity: thats related to what matthewd was saying
[14:40:50] j416: SOH is not constant
[14:40:52] Verity: that SOH is just a const referance
[14:40:58] Verity: but what it references inst constant
[14:41:01] Verity: (this makes no sense)
[14:41:07] Verity: coming from C++
[14:41:20] Verity: a const var cant be changed in C++... but here?
[14:41:36] Verity: let me try inspecting soh
[14:42:09] knight33: has joined #ruby
[14:42:14] Mon_Ouie: It's like a 'std::string * const' variable, instead of a 'const std::string *' variable
[14:43:09] j416: Verity: http://pastebin.com/fMsz0bWS
[14:43:10] latino31: has joined #ruby
[14:43:11] ruby[bot]: j416: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/e5124f3d0382d69d6e7bbcbb4c733699
[14:43:12] ruby[bot]: j416: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
[14:43:24] j416: be that way then, bot
[14:44:16] Verity: its just making packet another name for the string pointed to by SOH
[14:44:19] olivier__: has joined #ruby
[14:44:21] Verity: thats not good
[14:44:47] Verity: so it IS a ruby problem
[14:44:54] Verity: let me see if I can fix this
[14:45:09] bkxd: has joined #ruby
[14:45:20] vuoto: has joined #ruby
[14:46:15] Verity: (I think) testing more now
[14:47:25] j416: out of curiosity, what made you pick Ruby for this task? processing bytes like this seems like an easy problem for something faster and more low-level?
[14:47:48] Verity: I wanted to learn ruby, for a long time
[14:47:54] j416: ah I see.
[14:47:54] Verity: and the professor said we could use any language this time
[14:48:00] Verity: and I don't like C# much, which is what we have been using
[14:48:21] Verity: seemed like a good opportunity to learn ruby, and I was also hoping it would be less code for the same thing
[14:48:49] Verity: and indeed, if not for this one stupid issue, I could have done in 20 mins with ruby what the rest of the class did in 3 hours with C# gui apps
[14:49:03] Verity: mine is cli, we have the choice this time
[14:50:47] j416: sounds sane
[14:50:58] faraco: much much saner.
[14:51:07] j416: and you learnt something
[14:51:21] Verity: yes, the more languages the better :)
[14:51:32] Verity: (to a point, it seems)
[14:51:41] Verity: ty for the help
[14:51:44] j416: > using right right tool for the task
[14:52:11] j416: > isolating to find errors
[14:52:17] j416: > tests are useful
[14:53:55] zeddan: has joined #ruby
[14:54:06] Verity: does anyone here use an IDE?
[14:54:17] Verity: like rubymine, something with sytnax highliguthing, debugger, etc
[14:54:18] leitz: IDE == "vi"
[14:54:32] Verity: I used notepad for this ={P
[14:54:40] Verity: trying vscode now
[14:54:49] Verity: its got highlighting at lease but completion would be nice
[14:54:53] faraco: nope. I use vim, since to me, IDE and dynamic languages is horrifying.
[14:54:59] leitz: It can highlight commands. However, it's not what a lot of folks use. I'm not advanced enough to need Eclipse, etc.
[14:55:01] Verity: I have to admit I've been spoiled by qt-creator, codelite, etc
[14:55:21] j416: I use vim for everything, Atom or Sublime are nice too. I've heard good things about VSCode.
[14:56:10] faraco: VSCode is good too. It's like Atom, but somehow or somewhat slightly more responsive. In the end, they both use Chromium.
[14:56:15] Verity: vscode is nice yeah
[14:56:19] Verity: lightweight nice features
[14:56:21] Verity: maybe thats my answer
[14:56:29] Verity: looks like it has some syntax plugins and a debugger
[14:56:31] j416: Verity: you might also benefit from learning Git; speaking of being able to get back to earlier states of your project (before you broke it)
[14:56:56] Verity: git add .; git commit -m "test" git push -u origin master
[14:56:58] Verity: something liejk that?
[14:57:01] leitz: ACTION breaks stuff on a regular basis
[14:57:05] Verity: I used to know a few, I'll look into it again
[14:57:17] Verity: although, it still doesnt explain why my code broke
[14:57:19] Verity: actually yes it does
[14:57:21] j416: Verity: you don't necessarily need a remote, but yes, something like that.
[14:57:23] Verity: its because I added the constants
[14:57:39] davorb: has joined #ruby
[14:58:48] faraco: do you guys find IDE (ignoring capable and powerful editor like Vim and Emacs, etc) and dynamic languages, really integrates with each other well?
[14:59:15] rikkipitt: has joined #ruby
[14:59:29] leitz: faraco, I find myself a slow learner and do best as close to the language as possible.
[14:59:42] Verity: I'm so spoiled by IDE
[14:59:54] Pumukel: has joined #ruby
[14:59:58] Verity: like in qt-creator... hover mouse over a container and a popup appears with its contents
[15:00:07] Verity: that would be great in ruby, I would have fixed this faster I'm sure
[15:00:14] Verity: and possibly without even needing help
[15:00:25] faraco: I'm trying to use this IDE (just for curiosity) - padre.perlide.org/ . I bet it's like Geany + syntax highlighting, just a better file manager and syncing.
[15:00:40] mrwn: has joined #ruby
[15:00:44] j416: I used to use an IDE all the time; I found it useful in debugging and refactoring. Writing proper tests and having nice editor plugins completely replaces an IDE for me.
[15:01:05] j416: I almost never feel the need for step-debugging.
[15:01:24] j416: when tests aren't enough, print-debugging is enough.
[15:02:10] leitz: I started doing smaller functions which makes stepping manually easier.
[15:02:27] Verity: I just threw a gets in and used it to single step
[15:02:38] Verity: it didnt help me fix this last issue though, but only because I wasnt looking at SOH
[15:02:41] Verity: I was looking at packet
[15:02:54] Verity: not reaalizing they were the samwe thing after the first tirm thru loop
[15:02:59] j416: pry is quite useful in debugging ruby
[15:03:04] Verity: gets also doesnt work for me
[15:03:05] Verity: which is odd.
[15:03:15] j416: http://pryrepl.org/
[15:03:19] houhoulis: has joined #ruby
[15:03:25] Verity: I have to put $stdin.gets
[15:03:34] Verity: I tried to use pry but it didnt work, I'll try uit again
[15:03:35] danguita: has joined #ruby
[15:03:49] j416: throw in a `require "pry"; binding.pry` anywhere in your code and it'll stop there and fire up a repl, allowing you to inspect stuff
[15:04:16] j416: require 'pry' I mean
[15:06:46] leitz: Question from earlier, is "Mechanize" still the go to tool for logging into a web based forum via script?
[15:07:20] Verity: I rejoiced too early
[15:07:22] Verity: its still broken =)
[15:08:16] Verity: packet.clear is a no goo
[15:08:20] Verity: packet = "" no problem
[15:08:38] Verity: I thought packet.clear sets packet to ""
[15:09:09] Mon_Ouie: Kernel#gets and $stdin.gets are different when you have command line arguments
[15:09:21] Verity: ah, that explains it
[15:09:26] Mon_Ouie: Kernel#gets implicitly opens the file in ARGV[0] and reads from it
[15:09:30] SteenJobs: has joined #ruby
[15:09:53] Mon_Ouie: Again, "" creates a new string an packet.clear modifies an existing string
[15:10:26] leitz: Also, note that it usually takes 20 hours of good practice, +/-, to overcome the "I hate this" bit of learning anything new.
[15:11:11] Verity: I dont get it
[15:11:12] Verity: Makes string empty.
[15:11:26] Verity: packet is a string, how is packet = "" and packet.clear different
[15:11:41] Mon_Ouie: packet is a variable. It holds a reference to a string.
[15:11:54] Mon_Ouie: 'packet = ""' makes the variable packet refer to a different string
[15:11:55] Verity: I dont get it
[15:12:02] Verity: let me try it
[15:12:15] Mon_Ouie: packet.clear modifies the string which packet already references
[15:12:30] Verity: its a pointer?
[15:12:33] Verity: not a variable
[15:12:34] olivier__: has joined #ruby
[15:13:18] Verity: I thionk I see the issue
[15:13:26] Verity: packet.clear unbinds packet from any string?
[15:13:36] Verity: making it a floating, useless identifier?
[15:13:50] Verity: whereas packet = "" changes the string packet points to
[15:13:52] Mon_Ouie: No, that would be something like 'packet = nil'
[15:14:03] Verity: then I have no idea whats going on
[15:14:03] Mon_Ouie: that second statement is correct though
[15:14:07] Verity: and the tutorials didnt make this clear
[15:14:10] Verity: especially the 20 minute one
[15:14:12] Verity: not good.
[15:14:18] Verity: why would theyleave this out
[15:14:23] Verity: seems crticial to understanding ruby
[15:14:24] Mon_Ouie: >> a = "some_string"; b = a; b.clear; a
[15:14:25] ruby[bot]: Mon_Ouie: # => "" (https://eval.in/761205)
[15:14:35] Mon_Ouie: ^ in this example, a and b both refer to the same object
[15:14:49] Verity: >> a = "hello"
[15:14:49] ruby[bot]: Verity: # => "hello" (https://eval.in/761206)
[15:14:51] Mon_Ouie: Therefore, 'b.clear' and 'a.clear' have the same effect
[15:15:44] Verity: >> a = "hello"; puts a; a.clear; puts a;
[15:15:45] ruby[bot]: Verity: # => hello ...check link for more (https://eval.in/761207)
[15:16:19] Verity: >> a = "hello"; puts a; a = nil; puts a;
[15:16:20] ruby[bot]: Verity: # => hello ...check link for more (https://eval.in/761208)
[15:16:25] Mon_Ouie: Try using 'p object' (short for puts object.inspect) for debug printing, to make the contents of each object clearer
[15:16:44] Verity: >> a = "hello"; p a; a.clear; p a;
[15:16:45] ruby[bot]: Verity: # => "hello" ...check link for more (https://eval.in/761209)
[15:17:06] Verity: more confused than ever
[15:17:11] Verity: maybe I should buy the book
[15:17:37] daum: has joined #ruby
[15:18:21] j416: Verity: strings are mutable in Ruby; that's the point.
[15:21:15] snickers: has joined #ruby
[15:21:56] rikkipitt: has joined #ruby
[15:22:05] hutch34_: has joined #ruby
[15:22:22] n1ce: has joined #ruby
[15:25:18] faraco: is there an equivalent of - perl -F: -e in ruby?
[15:26:12] allisio: Yeah, it's `ruby -F: -e`.
[15:30:01] johnzorn: has joined #ruby
[15:34:20] Verity: where is this 194 coming from, =\
[15:34:45] Verity: packet << Digest::CRC8.hexdigest(packet).hex
[15:34:53] Verity: Digest::CRC8.hexdigest(packet).hex ==== 194
[15:35:09] Verity: sorry, its 167
[15:35:17] Verity: 187, actually
[15:35:23] Verity: Digest::CRC8.hexdigest(packet).hex ==== 187
[15:35:30] Verity: but packet << Digest::CRC8.hexdigest(packet).hex
[15:35:35] Verity: adds 194 AND 187 to the string
[15:35:38] Verity: what on earth???
[15:36:12] Verity: ive done puts Digest::CRC8.hexdigest(packet).hex and its 167, the crc
[15:36:22] Verity: I don't understand where this extra number is coming from
[15:36:45] j416: what's ====
[15:36:56] Verity: just showing thats the vlaue
[15:37:06] Verity: of a puts output
[15:37:52] Verity: so, the crc result is 167
[15:37:56] Verity: packet is 1 HELLO CRC
[15:38:01] Verity: this is the actual output though
[15:38:02] Verity: [1, 104, 101, 108, 108, 111, 194, 187]
[15:38:04] Channel6: has joined #ruby
[15:38:08] Verity: where did that 194 come from????
[15:38:13] Verity: is this part of the "surprise" of ruby
[15:39:18] Verity: 194 302 C2 11000010 Â &#194; &Acirc; Latin capital letter A with circumflex
[15:41:50] Verity: it has nothing to do with the crc
[15:41:56] Verity: now this is just absurd.
[15:42:21] Verity: nvm, iut has everything to do with it.
[15:44:06] Verity: my whole saturday wasting away
[15:44:10] Verity: never get this time back
[15:44:12] Verity: gone forever
[15:46:34] kons: has joined #ruby
[15:47:48] dionysus69: I get this error :| `require': cannot load such file -- net/http/post/multipart (LoadError)
[15:49:08] cats: has joined #ruby
[15:49:11] allisio: dionysus69: You need the multipart-post Gem.
[15:49:30] dionysus69: I am new to file sending/upload
[15:49:43] dionysus69: how does than rails upload file?
[15:51:56] jhack_: has joined #ruby
[15:52:01] rikkipitt: has joined #ruby
[15:52:01] JohnDoe2: has joined #ruby
[15:52:07] JohnDoe2: has left #ruby: ()
[15:53:46] olivier__: has joined #ruby
[15:54:41] z3uS: has joined #ruby
[15:57:20] kobain: has joined #ruby
[15:57:40] Verity: where the hell is this 194 coming form
[15:57:43] Verity: it has somnething to do with conversions
[15:57:57] Verity: but .hex returnds 187
[15:57:58] Verity: the single value
[15:58:04] Verity: sand when I shift it into the packet
[15:58:09] Verity: now 194 appears OMGF
[15:58:17] Verity: noen of this happened the first time
[15:58:33] Verity: I could solve this by manually removing thay byte
[15:58:35] Verity: but not a good solution
[15:59:09] hutch34_: has joined #ruby
[16:00:22] sonne: has joined #ruby
[16:02:03] vuoto: has joined #ruby
[16:06:56] hays: has joined #ruby
[16:06:56] hays: has joined #ruby
[16:07:07] roflmyeggo: has joined #ruby
[16:08:24] DoubleMalt: has joined #ruby
[16:09:24] User458764: has joined #ruby
[16:12:01] vuoto: has joined #ruby
[16:14:06] Verity: going to walk away for a while
[16:14:38] ddffg: incontinence of verity
[16:15:34] Verity: you have a fix for me, ddffg ?
[16:16:11] nowhere_man: has joined #ruby
[16:16:23] lacrymology: has joined #ruby
[16:16:42] ResidentBiscuit: has joined #ruby
[16:17:10] vuoto: has joined #ruby
[16:17:18] n1ce: has left #ruby: ("Leaving")
[16:26:23] banisterfiend: has joined #ruby
[16:26:39] Pumukel: has joined #ruby
[16:27:20] Limix: has joined #ruby
[16:28:38] Pumukel: has joined #ruby
[16:28:39] ddffg: google has
[16:29:25] Pumukel: has joined #ruby
[16:32:59] nobitanobi: has joined #ruby
[16:40:59] _sfiguser: has joined #ruby
[16:45:33] nadir: has joined #ruby
[16:46:21] bkxd: has joined #ruby
[16:49:24] duckpupp1: has joined #ruby
[16:50:58] thadtheman: has joined #ruby
[16:51:35] marsjaninzmarsa: has joined #ruby
[16:51:45] renchan: has joined #ruby
[16:54:14] ahrs: has joined #ruby
[16:55:57] zeddan: has joined #ruby
[16:58:14] davorb: has joined #ruby
[17:00:25] shinnya: has joined #ruby
[17:00:55] montanonic: has joined #ruby
[17:04:11] hahuang61: has joined #ruby
[17:09:28] enterprisey: has joined #ruby
[17:12:14] dionysus69: has joined #ruby
[17:13:20] hutch34_: has joined #ruby
[17:26:04] knight33: has joined #ruby
[17:26:59] MrBusiness: has joined #ruby
[17:29:27] enterprisey: has joined #ruby
[17:32:56] Pumukel: has joined #ruby
[17:36:48] sepp2k: has joined #ruby
[17:38:26] vuoto: has joined #ruby
[17:41:41] houhoulis: has joined #ruby
[17:46:26] User458764: has joined #ruby
[17:51:55] vuoto: has joined #ruby
[17:51:58] blackmesa: has joined #ruby
[17:54:25] pilne: has joined #ruby
[17:56:45] marcdel: has joined #ruby
[17:59:03] agent_white: has joined #ruby
[18:10:18] davix: has joined #ruby
[18:14:17] blackmesa: has joined #ruby
[18:14:29] lxsameer: has joined #ruby
[18:15:28] hutch34_: has joined #ruby
[18:16:45] ThatsNotJack: has joined #ruby
[18:17:30] skweek: has joined #ruby
[18:20:37] pwnd_nsfw`: has joined #ruby
[18:27:46] _aeris_: has joined #ruby
[18:40:44] User458764: has joined #ruby
[18:43:41] knight33: has joined #ruby
[18:46:44] bkxd: has joined #ruby
[18:48:30] futilegames: has joined #ruby
[18:49:46] jhack: has joined #ruby
[18:49:46] jhack: has joined #ruby
[18:50:24] duckpupp1: has joined #ruby
[18:57:38] zeddan: has joined #ruby
[18:57:47] davorb: has joined #ruby
[19:02:44] roflmyeggo: has joined #ruby
[19:03:10] ujjain: has joined #ruby
[19:03:10] ujjain: has joined #ruby
[19:03:34] workmad3: has joined #ruby
[19:06:41] __Yiota: has joined #ruby
[19:10:51] genq: has joined #ruby
[19:12:53] A124: has joined #ruby
[19:16:37] hutch34_: has joined #ruby
[19:17:27] dionysus69: has joined #ruby
[19:18:18] choke: has joined #ruby
[19:18:47] dionysus69: has joined #ruby
[19:24:06] jdm: has joined #ruby
[19:24:29] vyirc: has joined #ruby
[19:32:14] Silthias: has joined #ruby
[19:32:40] ujjain: has joined #ruby
[19:32:40] ujjain: has joined #ruby
[19:32:53] vyirc: i have made some code that permits running ruby on irc.
[19:33:05] vyirc: i wish i could bring it here to show you, its really interesting.
[19:33:10] vyirc: do you guys permit?
[19:36:28] Pumukel: has joined #ruby
[19:37:38] adaedra: It's not really a testing channel
[19:38:31] adaedra: Furthermore, before running a bot that can execute arbitrary code on your machine on a public place, you should be 250% sure no one can do evil things
[19:39:49] danielpclark: has joined #ruby
[19:41:55] cfec0b8d: has joined #ruby
[19:42:25] __Yiota: has joined #ruby
[19:44:49] futilegames: has joined #ruby
[19:46:36] vyirc: adaedra this is a nice bot.
[19:46:45] vyirc: adaedra it may be useful here.
[19:46:56] vyirc: adaedra it permts one to drop multiple lines and have code executed.
[19:47:15] vyirc: adaedra i'm suggesting you guys to use it here. is there some op with whom i can talk?
[19:47:48] t-recx: has joined #ruby
[19:47:57] psychicist__: has joined #ruby
[19:48:37] tvw: has joined #ruby
[19:49:33] __Yiota: has joined #ruby
[19:50:50] pwnd_nsfw: has joined #ruby
[19:52:26] choke: has joined #ruby
[19:54:09] patarr: has joined #ruby
[19:56:35] __Yiota: has joined #ruby
[19:56:39] Hanmac: adaedra: specailly in this channel you need 300% sure it cant do bad shit ;P
[19:57:33] ameliabot: has joined #ruby
[19:58:32] vyirc: puts 'foo' * 10
[19:58:38] ameliabot: foofoofoofoofoofoofoofoofoofoo
[19:58:44] vyirc: henmac thats the bot i told of.
[19:59:21] jdm: has joined #ruby
[20:01:10] choke: has joined #ruby
[20:01:51] mikeiniowa: has joined #ruby
[20:04:04] vuoto: has joined #ruby
[20:06:11] __Yiota: has joined #ruby
[20:16:56] hutch34_: has joined #ruby
[20:18:24] olivier__: has joined #ruby
[20:18:47] olivier__: has joined #ruby
[20:19:45] rikkipitt: has joined #ruby
[20:22:10] Xeago: has joined #ruby
[20:22:27] Fernando-Basso: has joined #ruby
[20:26:08] blackmesa: has joined #ruby
[20:27:08] ameliabot: Disallowed system call: SYS_pipe
[20:27:59] baweaver: File.open('test.txt', 'w') { |f| f.puts "blocked?" }
[20:28:15] vyirc: puts ':P'
[20:28:19] vyirc: puts ':D'
[20:28:44] zeddan: has joined #ruby
[20:28:47] baweaver: puts File.readlines('test.txt')
[20:29:06] baweaver: yeah, that's going to end badly
[20:29:21] baweaver: just blocking syscalls won't stop some more.... interesting things
[20:29:43] vyirc: def answer
[20:29:48] vyirc: puts 'true'
[20:30:29] baweaver: FileUtils.chmod 0777, 'test.txt'
[20:30:32] ameliabot: : uninitialized constant FileUtils (NameError)
[20:31:10] ujjain: has joined #ruby
[20:31:10] ujjain: has joined #ruby
[20:31:27] baweaver: require 'fileutils'; FileUtils.chmod 0777, 'test.txt'
[20:32:41] baweaver: File.stat("test.txt").executable?
[20:32:53] baweaver: puts File.stat("test.txt").executable?
[20:33:10] baweaver: so it's at least disallowing that
[20:33:28] jhack: has joined #ruby
[20:33:41] baweaver: require 'fileutils'; puts FileUtils.chmod 0777, 'test.txt'
[20:33:44] ameliabot: t.rb:1: warning: parenthesize argument(s) for future version test.txt
[20:34:16] dagda1: has joined #ruby
[20:34:23] baweaver: require 'fileutils'; puts FileUtils.chmod(0777, 'test.txt')
[20:34:34] nobitanobi: has joined #ruby
[20:34:38] baweaver: puts File.stat("test.txt").executable?
[20:34:40] actionh4nk: has joined #ruby
[20:34:44] ddffg: kill flooders
[20:37:08] Fernando-Basso: has joined #ruby
[20:37:24] baweaver: ACTION shrugs
[20:37:54] naprimer_2: has joined #ruby
[20:39:53] muelleme_: has joined #ruby
[20:44:45] rizonz: how can I check if a parameter has starts with eth ? like it's eth0 or eth0:0 ?
[20:44:58] rizonz: I need some if interface.name == 'eth*'
[20:45:38] rizonz: aha include
[20:45:49] wnd: String#start_with?
[20:45:50] rizonz: can't I do some start with ?
[20:45:51] havenwood: rizonz: #start_with?
[20:46:09] skweek: has joined #ruby
[20:46:26] havenwood: >> ''.methods.grep /start/ # rizonz
[20:46:28] ruby[bot]: havenwood: # => [:start_with?] (https://eval.in/761329)
[20:46:30] ameliabot: Paste #761329 - eval.in
[20:47:07] rizonz: havenwood: yeah I need it in a puppet erb
[20:47:27] rizonz: if my_string.include? "cde"
[20:47:30] bkxd: has joined #ruby
[20:47:35] rizonz: something like it ?
[20:47:54] ruby[bot]: +bbbb tau!*@*$#ruby-banned vyirc!*@*$#ruby-banned ameliabot!*@*$#ruby-banned *!*@189.1.48.246$#ruby-banned
[20:47:54] ruby[bot]: ruby[bot] kicked vyirc: offense, see http://ruby-community.com/pages/user_rules
[20:47:54] ruby[bot]: ruby[bot] kicked ameliabot: offense, see http://ruby-community.com/pages/user_rules
[20:47:56] ruby[bot]: -b *!*@unaffiliated/noganoo$#ruby-banned
[20:49:06] havenwood: >> 'rizonz'.start_with? 'z'
[20:49:07] ruby[bot]: havenwood: # => false (https://eval.in/761330)
[20:49:24] thadtheman: has joined #ruby
[20:49:26] ruby[bot]: -bbbb tau!*@*$#ruby-banned vyirc!*@*$#ruby-banned ameliabot!*@*$#ruby-banned *!*@189.1.48.246$#ruby-banned
[20:50:46] rizonz: havenwood: thanks
[20:50:49] rizonz: want a hug now ?
[20:51:07] duckpupp1: has joined #ruby
[20:51:41] ujjain: has joined #ruby
[20:51:41] ujjain: has joined #ruby
[20:52:04] naprimer_2: has joined #ruby
[20:54:00] jane_booty_doe: has joined #ruby
[20:54:22] mbertul: has joined #ruby
[21:05:21] pwnd_nsfw`: has joined #ruby
[21:09:05] olivier__: has joined #ruby
[21:10:30] rizonz: havenwood: let's say it starts with rizonz and I need to filter everything else behind rizonz and assign it to a new var ?
[21:13:57] CloCkWeRX: has joined #ruby
[21:14:48] toretore: rizonz: gist your code
[21:15:07] toretore: then explain what you're trying to do
[21:15:09] ruby[bot]: it seems like you are asking for a specific solution to a problem, instead of asking about your problem. This often leads to bad solutions and increases frustration for you and those trying to help you. More: http://meta.stackexchange.com/a/66378
[21:16:24] leito: has joined #ruby
[21:17:37] rizonz: toretore: http://pastebin.com/PDLaJY6r
[21:17:37] ruby[bot]: rizonz: as I told you already, please use https://gist.github.com
[21:17:41] rizonz: oh sorry indeed
[21:18:13] rizonz: bad thing is you cannot register there anymore
[21:19:13] rizonz: toretore: https://gist.github.com/Yamakasi/ef16125d817ebbbc6590142c203e7bcc
[21:20:05] toretore: define "print 0"
[21:21:11] toretore: >> 'eth0'.match(/eth(\d)/)[1]
[21:21:12] ruby[bot]: toretore: # => "0" (https://eval.in/761338)
[21:22:23] toretore: >> 'lo'.match(/eth(\d)/)
[21:22:24] ruby[bot]: toretore: # => nil (https://eval.in/761339)
[21:23:00] toretore: >> if nil; 'yes'; else; 'no'; end
[21:23:01] ruby[bot]: toretore: # => "no" (https://eval.in/761340)
[21:25:16] rizonz: ok, me checks
[21:26:15] rizonz: toretore: but 55 outputs 5
[21:26:27] rizonz: so only first part, is that array 1 ?
[21:26:32] agent_white: has joined #ruby
[21:28:48] brent__: has joined #ruby
[21:28:49] dar123: has joined #ruby
[21:31:14] blackmesa: has joined #ruby
[21:32:58] olivier__: has joined #ruby
[21:33:16] cydrobolt: has joined #ruby
[21:33:16] cydrobolt: has joined #ruby
[21:42:47] xtsee: has joined #ruby
[21:45:05] zeddan: has joined #ruby
[21:49:48] dar123: has joined #ruby
[21:54:24] olivier__: has joined #ruby
[21:59:47] waterdrop: has joined #ruby
[22:00:16] waterdrop: I'm getting undefined local variable or method 'sh' for FileUtils:Module
[22:00:28] waterdrop: Any idea why? Google seems to say that sh is a method in FileUtils
[22:02:58] Lord_of_Life: has joined #ruby
[22:06:36] Mon_Ouie: &ri FileUtils#sh
[22:06:37] `derpy: No results
[22:06:48] Mon_Ouie: ^ doesn't look like it is
[22:07:44] waterdrop: nvm, it's an instance method
[22:08:07] Radar: From where?
[22:08:23] waterdrop: http://apidock.com/ruby/FileUtils
[22:09:14] despai: has joined #ruby
[22:09:25] waterdrop: er, is that out of date?
[22:09:53] waterdrop: Class.new.extend(FileUtils).sh is not working for me either
[22:10:16] Mon_Ouie: show source on that page shows that it comes from Rake
[22:11:51] Mon_Ouie: Also it says "Ruby latest stable (v1_9_3_392)", but Ruby 2.4 is out
[22:12:27] psychicist__: has joined #ruby
[22:14:42] bkxd: has joined #ruby
[22:15:36] Radar: interesting.
[22:17:12] kristofferR: has joined #ruby
[22:17:17] _djbkd: has joined #ruby
[22:19:04] hutch34_: has joined #ruby
[22:19:28] pwnd_nsfw: has joined #ruby
[22:27:02] olivier__: has joined #ruby
[22:31:38] ujjain: has joined #ruby
[22:31:38] ujjain: has joined #ruby
[22:36:07] RenatoSilva: has joined #ruby
[22:36:47] govg: has joined #ruby
[22:39:26] Pumukel: has joined #ruby
[22:42:01] marcdel: has joined #ruby
[22:45:38] snickers: has joined #ruby
[22:51:52] duckpupp1: has joined #ruby
[22:53:56] carbonage: has joined #ruby
[22:55:34] muelleme_: has joined #ruby
[22:58:01] minimalism: has joined #ruby
[22:58:20] davorb: has joined #ruby
[23:01:01] Verity: has joined #ruby
[23:01:11] Verity: ddffg: no it didnt
[23:01:15] Verity: how do you answer for this?
[23:01:37] Verity: (for your crimes)
[23:08:50] whiteline: has joined #ruby
[23:10:45] zeddan: has joined #ruby
[23:12:15] ddffg: are you from moon?
[23:15:06] ddffg: fu** dumb noob
[23:16:26] ddffg: has left #ruby: ("Leaving")
[23:16:57] muelleme_: has joined #ruby
[23:17:36] JeanCarloMachado: has joined #ruby
[23:18:05] ddggf: has joined #ruby
[23:18:06] eblip: has joined #ruby
[23:19:43] hutch34_: has joined #ruby
[23:22:45] ddffgg: has joined #ruby
[23:30:01] lightheaded: has joined #ruby
[23:38:53] muelleme_: has joined #ruby
[23:39:58] despai: has joined #ruby
[23:42:37] cyphase: has joined #ruby
[23:45:16] houhoulis: has joined #ruby
[23:45:19] baweaver: !rude ddffg quit being rude
[23:45:19] ruby[bot]: baweaver: Could not process command, usage: !rude nick [channel]
[23:45:26] baweaver: !rude ddffg
[23:45:26] ruby[bot]: +qq ddffg!*@* *!*@86.57.137.73
[23:54:25] bkxd: has joined #ruby
[23:56:02] spicerack: has joined #ruby
[23:59:40] muelleme_: has joined #ruby